# Latest

**URL:** https://discourse.julialang.org/latest.md?page=193

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 194

---

## [\[ANN\] Bayesian Online Changepoint Detection implementation (BOCD.jl)](https://discourse.julialang.org/t/ann-bayesian-online-changepoint-detection-implementation-bocd-jl/127515)

<div class="topic-metadata">

**Author:** [@PedroPizarro](https://discourse.julialang.org/u/PedroPizarro)\
**Replies:** 0\
**Last updated:** [March 30, 2025, 3:02pm UTC](https://discourse.julialang.org/t/ann-bayesian-online-changepoint-detection-implementation-bocd-jl/127515 "2025-03-30T15:02:55Z")

</div>

As part of my MSc studies, I developed the BOCD.jl, a Julia implementation of the Bayesian Online Changepoint Detection (BOCD) algorithm, based on the Adams & MacKay’s 2007 paper, “Bayesian Online Changepoint Detection”. …

---

## [Issue with setting multiline text in textarea / Blink.jl](https://discourse.julialang.org/t/issue-with-setting-multiline-text-in-textarea-blink-jl/127512)

<div class="topic-metadata">

**Author:** [@Eben60](https://discourse.julialang.org/u/Eben60)\
**Replies:** 0\
**Last updated:** [March 30, 2025, 1:04pm UTC](https://discourse.julialang.org/t/issue-with-setting-multiline-text-in-textarea-blink-jl/127512 "2025-03-30T13:04:03Z")

</div>

In my package PackageMaker.jl , I’m implementing saving/recalling configurations. The package uses Blink.jl to create GUI. Some of the inputs are intended to take an array of strings, and implemented as multiline textar…

---

## [Juliac on Windows](https://discourse.julialang.org/t/juliac-on-windows/127502)

<div class="topic-metadata">

**Author:** [@Ininterrompue](https://discourse.julialang.org/u/Ininterrompue)\
**Replies:** 1\
**Last updated:** [March 30, 2025, 6:52am UTC](https://discourse.julialang.org/t/juliac-on-windows/127502 "2025-03-30T06:52:38Z")

</div>

I’m trying to use juliac with --trim on Windows 11. Copying the code for reference: module HelloWorld Base.@ccallable function main()::Cint println(Core.stdout, "Hello world") return 0 end end Powershell inpu…

---

## [Julia image display on Mac goes dark](https://discourse.julialang.org/t/julia-image-display-on-mac-goes-dark/127436)

<div class="topic-metadata">

**Author:** [@rmfritz](https://discourse.julialang.org/u/rmfritz)\
**Replies:** 10\
**Last updated:** [March 30, 2025, 1:46am UTC](https://discourse.julialang.org/t/julia-image-display-on-mac-goes-dark/127436 "2025-03-30T01:46:59Z")

</div>

I’m working with some images in Julia, and I’m running into a problem; the images, when displayed from the Julia command line with ImageView, or within a Jupyter notebook, are much much darker than when they are display…

---

## [Bifurcation kit](https://discourse.julialang.org/t/bifurcation-kit/127498)

<div class="topic-metadata">

**Author:** [@mohan\_kumar](https://discourse.julialang.org/u/mohan_kumar)\
**Replies:** 1\
**Last updated:** [March 29, 2025, 11:44pm UTC](https://discourse.julialang.org/t/bifurcation-kit/127498 "2025-03-29T23:44:57Z")

</div>

Hello everyone, I am a new user of Julia. I am currently using bifurcation kit to solve the simple circle equation such as : x^2 + y^2 = 1 and perform continuation and trace a complete circle with x as my variable and…

---

## [Preventing test error behavior](https://discourse.julialang.org/t/preventing-test-error-behavior/127460)

<div class="topic-metadata">

**Author:** [@Marco\_Antoniotti](https://discourse.julialang.org/u/Marco_Antoniotti)\
**Replies:** 6\
**Last updated:** [March 29, 2025, 8:50pm UTC](https://discourse.julialang.org/t/preventing-test-error-behavior/127460 "2025-03-29T20:50:33Z")

</div>

Hi Question about Test and its use; this is my setup. I have a runtests.jl file containing @test’s and @testset’s. I load it from the shell (don’t ask; that’s what I need and want). $ julia -e 'include(sometests/runt…

---

## [Exact reproducibility of mixed Julia/Python project](https://discourse.julialang.org/t/exact-reproducibility-of-mixed-julia-python-project/127491)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 2\
**Last updated:** [March 29, 2025, 8:46pm UTC](https://discourse.julialang.org/t/exact-reproducibility-of-mixed-julia-python-project/127491 "2025-03-29T20:46:24Z")

</div>

What’s a smooth workflow to achieve exact reproducibility in a mixed Julia/Python project (not library), with either Julia or Python as the host language? I’d like to specify, i.e. lock, the versions of all the following…

---

## [Symbolic random variables and distributions](https://discourse.julialang.org/t/symbolic-random-variables-and-distributions/125348)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 5\
**Last updated:** [March 29, 2025, 8:31pm UTC](https://discourse.julialang.org/t/symbolic-random-variables-and-distributions/125348 "2025-03-29T20:31:31Z")

</div>

Hi, I’m not sure how to phrase this question, so please bear with me: I’ve written a function f which takes an input x and returns a vector \[p\_1(x),...,p\_K(x)\], which correspond to the first K orthogonal polynomials cor…

---

## [Solving First Order Differential Equations with Julia](https://discourse.julialang.org/t/solving-first-order-differential-equations-with-julia/127485)

<div class="topic-metadata">

**Author:** [@ghoshr](https://discourse.julialang.org/u/ghoshr)\
**Replies:** 2\
**Last updated:** [March 29, 2025, 5:11pm UTC](https://discourse.julialang.org/t/solving-first-order-differential-equations-with-julia/127485 "2025-03-29T17:11:46Z")

</div>

Solving First Order Differential Equations with Julia I wrote a full tutorial on solving first order ODEs in Julia using the DifferentialEquations.jl package. It provides a gentle introduction to Differential Equations i…

---

## [Cuda kernel help](https://discourse.julialang.org/t/cuda-kernel-help/127488)

<div class="topic-metadata">

**Author:** [@yolhan\_mannes](https://discourse.julialang.org/u/yolhan_mannes)\
**Replies:** 2\
**Last updated:** [March 29, 2025, 4:23pm UTC](https://discourse.julialang.org/t/cuda-kernel-help/127488 "2025-03-29T16:23:52Z")

</div>

Hello, I’m somewhat new to kernel programing and I stuggle understanding why the two kernels bellow don’t do the same thing using CUDA f(x,y) = x+y function mykernel!(out,space) ig = blockIdx().x jg = blockIdx…

---

## [The Prospero Challenge](https://discourse.julialang.org/t/the-prospero-challenge/127342)

<div class="topic-metadata">

**Author:** [@maxfreu](https://discourse.julialang.org/u/maxfreu)\
**Replies:** 17\
**Last updated:** [March 29, 2025, 1:24pm UTC](https://discourse.julialang.org/t/the-prospero-challenge/127342 "2025-03-29T13:24:26Z")

</div>

I just found the “Prospero Challenge” on hackernews and thought it’s a really nice toy example to write a parser and to analyze compile times. Maybe it’s even possible to compile the entire document, the parent repo also…

---

## [Naming conventions for property/method/variable overlaps](https://discourse.julialang.org/t/naming-conventions-for-property-method-variable-overlaps/127474)

<div class="topic-metadata">

**Author:** [@tobydriscoll](https://discourse.julialang.org/u/tobydriscoll)\
**Replies:** 5\
**Last updated:** [March 29, 2025, 12:25pm UTC](https://discourse.julialang.org/t/naming-conventions-for-property-method-variable-overlaps/127474 "2025-03-29T12:25:29Z")

</div>

Let’s suppose I have an object that has cooties. Potentially I may have all of the following at one place or another: A struct with a property called cooties. An access method called cooties(let’s limit ourselves to ge…

---

## [Is Julia good for game development?](https://discourse.julialang.org/t/is-julia-good-for-game-development/73804)

<div class="topic-metadata">

**Author:** [@junux](https://discourse.julialang.org/u/junux)\
**Replies:** 20\
**Last updated:** [October 3, 2022, 10:58am UTC](https://discourse.julialang.org/t/is-julia-good-for-game-development/73804 "2022-10-03T10:58:21Z")

</div>

Hi there I want to develop server based games via Julia. It’s going to be awesome if you write about your honest experience and opinion. julia\_is\_ideal = readline() parse(bool, julia\_is\_ideal) if julia\_is\_ideal == 1 …

---

## [\`Optimization.LBFGS\` fails to converge while \`Optim.NelderMead()\` works](https://discourse.julialang.org/t/optimization-lbfgs-fails-to-converge-while-optim-neldermead-works/121016)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 11\
**Last updated:** [March 29, 2025, 2:42am UTC](https://discourse.julialang.org/t/optimization-lbfgs-fails-to-converge-while-optim-neldermead-works/121016 "2025-03-29T02:42:36Z")

</div>

Reproducer: MWE.converge.jl · GitHub

---

## [Adding a dimension with derived units in Unitful](https://discourse.julialang.org/t/adding-a-dimension-with-derived-units-in-unitful/127476)

<div class="topic-metadata">

**Author:** [@mjmat](https://discourse.julialang.org/u/mjmat)\
**Replies:** 0\
**Last updated:** [March 28, 2025, 11:39pm UTC](https://discourse.julialang.org/t/adding-a-dimension-with-derived-units-in-unitful/127476 "2025-03-28T23:39:29Z")

</div>

Hello, I am trying to add a dimension to Unitful. I can do that, and I can create (and use) a refunit, but I can’t seem to be able to create derived units. In the code below, the commented line in the module (trying to…

---

## [Gurobi LP solver's cut-off behavior---an example](https://discourse.julialang.org/t/gurobi-lp-solvers-cut-off-behavior-an-example/127454)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 6\
**Last updated:** [March 28, 2025, 11:05pm UTC](https://discourse.julialang.org/t/gurobi-lp-solvers-cut-off-behavior-an-example/127454 "2025-03-28T23:05:03Z")

</div>

I find an interesting example about Gurobi’s LP solver. There are 2 linear constraints in my LP, named fixed and cut. The outcomes for the following 2 schemes are different: Add Both constraints, and solve only once A…

---

## [Matrix multiplication with Duals](https://discourse.julialang.org/t/matrix-multiplication-with-duals/127453)

<div class="topic-metadata">

**Author:** [@Luis\_Calderon](https://discourse.julialang.org/u/Luis_Calderon)\
**Replies:** 12\
**Last updated:** [March 28, 2025, 10:01pm UTC](https://discourse.julialang.org/t/matrix-multiplication-with-duals/127453 "2025-03-28T22:01:47Z")

</div>

I was wondering if I could make this function faster. XC\_dual would come in as a Dual with 10-100 Partials. Here is the MWE: using LinearAlgebra, Random, ForwardDiff, Test, BenchmarkTools # Set a seed for reproducibilit…

---

## [How to Maintain Consistent Julia Package Versions Across a Team - Julia & ModelingToolkit Versioning Issues – Best Practices?](https://discourse.julialang.org/t/how-to-maintain-consistent-julia-package-versions-across-a-team-julia-modelingtoolkit-versioning-issues-best-practices/127445)

<div class="topic-metadata">

**Author:** [@Niyas\_Navas](https://discourse.julialang.org/u/Niyas_Navas)\
**Replies:** 9\
**Last updated:** [March 28, 2025, 9:33pm UTC](https://discourse.julialang.org/t/how-to-maintain-consistent-julia-package-versions-across-a-team-julia-modelingtoolkit-versioning-issues-best-practices/127445 "2025-03-28T21:33:14Z")

</div>

Hello everyone, Our team has been working with Julia and ModelingToolkit.jl for a project, and after updating to the latest versions, we are facing issues. We are seeking guidance on: How to enforce specific package v…

---

## [How does autocompletion work in pkg mode?](https://discourse.julialang.org/t/how-does-autocompletion-work-in-pkg-mode/127435)

<div class="topic-metadata">

**Author:** [@matthias314](https://discourse.julialang.org/u/matthias314)\
**Replies:** 6\
**Last updated:** [March 28, 2025, 9:29pm UTC](https://discourse.julialang.org/t/how-does-autocompletion-work-in-pkg-mode/127435 "2025-03-28T21:29:18Z")

</div>

I’m confused by the autocompletion in REPL package manager mode: If I type pkg\> add Static then this completed (in gray) to “add StaticArrays”. However, if I hit TAB, then the completion disappears, presumably because …

---

## [Repeat and reshape vector into a matrix](https://discourse.julialang.org/t/repeat-and-reshape-vector-into-a-matrix/127451)

<div class="topic-metadata">

**Author:** [@Ju\_ska](https://discourse.julialang.org/u/Ju_ska)\
**Replies:** 9\
**Last updated:** [March 28, 2025, 9:13pm UTC](https://discourse.julialang.org/t/repeat-and-reshape-vector-into-a-matrix/127451 "2025-03-28T21:13:31Z")

</div>

Hi, this is a Python code I’m translating in Julia: import numpy as np val = \[1,2,3,4,5,6\] val\_length = len(val) rpt = 3 np.repeat(val, rpt).reshape((val\_length, rpt)) It gives: \>\>\> val = \[1,2,3,4,5,6\] \>\>\> val\_leng…

---

## [Parametric structures and Inner constructors that don't depend on the types](https://discourse.julialang.org/t/parametric-structures-and-inner-constructors-that-dont-depend-on-the-types/127459)

<div class="topic-metadata">

**Author:** [@Maucejo](https://discourse.julialang.org/u/Maucejo)\
**Replies:** 2\
**Last updated:** [March 28, 2025, 5:24pm UTC](https://discourse.julialang.org/t/parametric-structures-and-inner-constructors-that-dont-depend-on-the-types/127459 "2025-03-28T17:24:05Z")

</div>

Hi all, I apologize for the title which is not clear at all, but I don’t know how to properly express my need concisely. I currently try to define a parametric struct for which the inner constructor doesn’t depend on th…

---

## [Elimination of duplicate atomic loads (more of an llvm question)](https://discourse.julialang.org/t/elimination-of-duplicate-atomic-loads-more-of-an-llvm-question/125652)

<div class="topic-metadata">

**Author:** [@foobar\_lv2](https://discourse.julialang.org/u/foobar_lv2)\
**Replies:** 18\
**Last updated:** [March 28, 2025, 4:18pm UTC](https://discourse.julialang.org/t/elimination-of-duplicate-atomic-loads-more-of-an-llvm-question/125652 "2025-03-28T16:18:27Z")

</div>

I am wondering about why llvm doesn’t optimize the following: julia\> mutable struct A @atomic x::Int end julia\> f(a) = (@atomic :acquire a.x) + (@atomic :acquire a.x); julia\> @code\_llvm f(A(1)) ; Functio…

---

## [Why is multiple dispatch a feature?](https://discourse.julialang.org/t/why-is-multiple-dispatch-a-feature/31101)

<div class="topic-metadata">

**Author:** [@Sayod](https://discourse.julialang.org/u/Sayod)\
**Replies:** 33\
**Last updated:** [August 23, 2020, 6:10am UTC](https://discourse.julialang.org/t/why-is-multiple-dispatch-a-feature/31101 "2020-08-23T06:10:23Z")

</div>

Multiple Dispatch is prominently advertised as one of the main selling points of Julia. But I am not even sure if I would consider it a feature at all. So maybe I don’t quite understand it yet. My background: I am a Mat…

---

## [Blog post on the “IJKLM model” with AlgebraicJulia tools](https://discourse.julialang.org/t/blog-post-on-the-ijklm-model-with-algebraicjulia-tools/121562)

<div class="topic-metadata">

**Author:** [@slwu89](https://discourse.julialang.org/u/slwu89)\
**Replies:** 1\
**Last updated:** [March 27, 2025, 2:52pm UTC](https://discourse.julialang.org/t/blog-post-on-the-ijklm-model-with-algebraicjulia-tools/121562 "2025-03-27T14:52:10Z")

</div>

Hi all, I recently wrote a blog post at the AlgebraicJulia blog: JuMP-ing with AlgebraicJulia I: The IJKLM model – AlgebraicJulia blog, which explores how to use some of the tools in the AlgebraicJulia ecosystem to addr…

---

## [How can a script determine the latest Julia version and latest pre-release in CI?](https://discourse.julialang.org/t/how-can-a-script-determine-the-latest-julia-version-and-latest-pre-release-in-ci/127446)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 5\
**Last updated:** [March 28, 2025, 4:04pm UTC](https://discourse.julialang.org/t/how-can-a-script-determine-the-latest-julia-version-and-latest-pre-release-in-ci/127446 "2025-03-28T16:04:08Z")

</div>

How can I determine: the latest stable Julia version the latest Julia release the latest Julia pre-release on github? I can do: ufechner@ufryzen:~$ juliaup list | grep release release 1.11.4+0.x64.linu…

---

## [Optimize loss calculation on gpu](https://discourse.julialang.org/t/optimize-loss-calculation-on-gpu/127458)

<div class="topic-metadata">

**Author:** [@Fabrice\_Rosay](https://discourse.julialang.org/u/Fabrice_Rosay)\
**Replies:** 0\
**Last updated:** [March 28, 2025, 2:41pm UTC](https://discourse.julialang.org/t/optimize-loss-calculation-on-gpu/127458 "2025-03-28T14:41:24Z")

</div>

Is there anything i can do to speed up this loss calculation ? (Trajectory Balanced loss for Flow Network from \[2310.02779\] Expected flow networks in stochastic environments and two-player zero-sum games) function gpu\_t…

---

## [@brownian vector?](https://discourse.julialang.org/t/brownian-vector/97728)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 6\
**Last updated:** [March 28, 2025, 11:35am UTC](https://discourse.julialang.org/t/brownian-vector/97728 "2025-03-28T11:35:08Z")

</div>

is there a way to create a vector of brownian variables with @brownian, much like one can create vectors of regular variables with @variables? @variables x(t)\[1:N\] y(t)\[1:N\] # works @brownian beta # works @brownian …

---

## [Heston SDE exact methods](https://discourse.julialang.org/t/heston-sde-exact-methods/127196)

<div class="topic-metadata">

**Author:** [@aleCombi](https://discourse.julialang.org/u/aleCombi)\
**Replies:** 5\
**Last updated:** [March 28, 2025, 10:31am UTC](https://discourse.julialang.org/t/heston-sde-exact-methods/127196 "2025-03-28T10:31:04Z")

</div>

I am new to DifferentialEquations.jl and I tried out some SDE simulations with EM. I implemented an exact simulation of Heston SV model using the paper of Broadie and Kaya (https://www.researchgate.net/publication/22024…

---

## [PyCall import local package](https://discourse.julialang.org/t/pycall-import-local-package/127440)

<div class="topic-metadata">

**Author:** [@larstz](https://discourse.julialang.org/u/larstz)\
**Replies:** 0\
**Last updated:** [March 28, 2025, 9:16am UTC](https://discourse.julialang.org/t/pycall-import-local-package/127440 "2025-03-28T09:16:01Z")

</div>

Hi everyone, I’m having trouble importing a local Python package using PyCall in Julia. I have a working Python environment where I’ve successfully installed my local package with the command: pip install local\_package…

---

## [How to isolate & report non-deterministic bug](https://discourse.julialang.org/t/how-to-isolate-report-non-deterministic-bug/127176)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 16\
**Last updated:** [March 28, 2025, 8:12am UTC](https://discourse.julialang.org/t/how-to-isolate-report-non-deterministic-bug/127176 "2025-03-28T08:12:20Z")

</div>

I have a large (15k LOC) calculation that works fine in 1.10.9 but gives an error in 1.11.4 (nothing else changed, not even the manifest). I isolated the function where this happens and I can reproduce it (within my cod…

[Previous page](https://discourse.julialang.org/latest.md?page=192)

[Next page](https://discourse.julialang.org/latest.md?page=194)
