# Latest

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

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

**Page:** 79

---

## [\[ANN\] CompetingClocks.jl 0.2.0 - Simulation Sampling with Likelihoods](https://discourse.julialang.org/t/ann-competingclocks-jl-0-2-0-simulation-sampling-with-likelihoods/134228)

<div class="topic-metadata">

**Author:** [@adolgert](https://discourse.julialang.org/u/adolgert)\
**Replies:** 0\
**Last updated:** [November 29, 2025, 10:00pm UTC](https://discourse.julialang.org/t/ann-competingclocks-jl-0-2-0-simulation-sampling-with-likelihoods/134228 "2025-11-29T22:00:11Z")

</div>

Overview CompetingClocks.jl is a sampling engine, not a simulation framework. It answers: what fires next, when, and how likely is it? Plug it into any simulation—agent-based models, queueing systems, chemical kinetics—w…

---

## [Adventures in using Julia for real-time device communication](https://discourse.julialang.org/t/adventures-in-using-julia-for-real-time-device-communication/134218)

<div class="topic-metadata">

**Author:** [@mj2984](https://discourse.julialang.org/u/mj2984)\
**Replies:** 6\
**Last updated:** [November 29, 2025, 7:47pm UTC](https://discourse.julialang.org/t/adventures-in-using-julia-for-real-time-device-communication/134218 "2025-11-29T19:47:48Z")

</div>

Hi everyone, I’m looking to use Julia for communicating wirelessly with ESP32 boards with a user-friendly and performant API. I felt it would be nice to make a thread on this topic to document the progress which I belie…

---

## [LSU lecture on techniques for improving the performance of matrix multiplication in C++](https://discourse.julialang.org/t/lsu-lecture-on-techniques-for-improving-the-performance-of-matrix-multiplication-in-c/134045)

<div class="topic-metadata">

**Author:** [@xiaoxi](https://discourse.julialang.org/u/xiaoxi)\
**Replies:** 2\
**Last updated:** [November 29, 2025, 7:05pm UTC](https://discourse.julialang.org/t/lsu-lecture-on-techniques-for-improving-the-performance-of-matrix-multiplication-in-c/134045 "2025-11-29T19:05:18Z")

</div>

Louisiana State University is uploading lectures on “Parallel C++ for Scientific Applications” to YouTube. Among other things, there is a lecture on how to improve the performance of matrix multiplication by taking advan…

---

## [Reading from empty dictionary isn't thread-safe](https://discourse.julialang.org/t/reading-from-empty-dictionary-isnt-thread-safe/134189)

<div class="topic-metadata">

**Author:** [@Fabian\_Matesa](https://discourse.julialang.org/u/Fabian_Matesa)\
**Replies:** 6\
**Last updated:** [November 29, 2025, 3:09pm UTC](https://discourse.julialang.org/t/reading-from-empty-dictionary-isnt-thread-safe/134189 "2025-11-29T15:09:02Z")

</div>

As the title suggests, trying to call get! on an empty dictionary in multiple threads concurrently will cause an error to be thrown. Example: dd = Dict() Threads.@threads for i in 1:1000 get!(dd, i, 2) end The issu…

---

## [Submit your JuliaCon 2026 Minisymposium now!](https://discourse.julialang.org/t/submit-your-juliacon-2026-minisymposium-now/134215)

<div class="topic-metadata">

**Author:** [@vchuravy](https://discourse.julialang.org/u/vchuravy)\
**Replies:** 0\
**Last updated:** [November 29, 2025, 2:38pm UTC](https://discourse.julialang.org/t/submit-your-juliacon-2026-minisymposium-now/134215 "2025-11-29T14:38:39Z")

</div>

The JuliaCon 2026 Minisymposium CfP closes on December 2nd 2025 20:00 (CET). We are looking for as many ideas and proposals for Minisymposia as possible, we really want to be a conference of minisymposia from every field…

---

## [How to write a master-subproblem iterative algorithm asynchronously?](https://discourse.julialang.org/t/how-to-write-a-master-subproblem-iterative-algorithm-asynchronously/131853)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 36\
**Last updated:** [November 29, 2025, 12:03pm UTC](https://discourse.julialang.org/t/how-to-write-a-master-subproblem-iterative-algorithm-asynchronously/131853 "2025-11-29T12:03:10Z")

</div>

My question is inspired by an optimization problem, e.g. the famous Benders decomposition. But I’ll introduce it here in an abstract easily-comprehended fashion. Settings of the problem :blue\_circle: On one hand, there …

---

## [Relation between BLAS.get\_num\_threads() and SLURM\_CPUS\_PER\_TASK](https://discourse.julialang.org/t/relation-between-blas-get-num-threads-and-slurm-cpus-per-task/134199)

<div class="topic-metadata">

**Author:** [@mancolric](https://discourse.julialang.org/u/mancolric)\
**Replies:** 2\
**Last updated:** [November 29, 2025, 11:58am UTC](https://discourse.julialang.org/t/relation-between-blas-get-num-threads-and-slurm-cpus-per-task/134199 "2025-11-29T11:58:36Z")

</div>

I am running the script MWE.jl using LinearAlgebra display(BLAS.get\_num\_threads()) via SLURM command srun --nodes=1 --ntasks-per-node=1 --cpus-per-task=6 --mem=1G julia MWE.jl As far as I know, for SLURM the CPUs ar…

---

## [New on Forem: “StaticCompiler - Generating small binaries"](https://discourse.julialang.org/t/new-on-forem-staticcompiler-generating-small-binaries/130464)

<div class="topic-metadata">

**Author:** [@oheil](https://discourse.julialang.org/u/oheil)\
**Replies:** 9\
**Last updated:** [November 29, 2025, 8:53am UTC](https://discourse.julialang.org/t/new-on-forem-staticcompiler-generating-small-binaries/130464 "2025-11-29T08:53:37Z")

</div>

@Thomas008 shares some valuable experiences of using StaticCompiler to generate binaries out from Julia code: Thanks for sharing this!

---

## [Mock.jl - mocking any function without annotations](https://discourse.julialang.org/t/mock-jl-mocking-any-function-without-annotations/133918)

<div class="topic-metadata">

**Author:** [@tz-lom](https://discourse.julialang.org/u/tz-lom)\
**Replies:** 4\
**Last updated:** [November 29, 2025, 1:43am UTC](https://discourse.julialang.org/t/mock-jl-mocking-any-function-without-annotations/133918 "2025-11-29T01:43:49Z")

</div>

I could not find a package that would allow to temporary override function implementation, so I’ve made one: Mock.jl. I’ve checked other packages before, here what I could find: Closest to the concept would be Pretend.…

---

## [AutoMerge was successful 4 days ago - still not merged to main](https://discourse.julialang.org/t/automerge-was-successful-4-days-ago-still-not-merged-to-main/134202)

<div class="topic-metadata">

**Author:** [@Bourbon8464](https://discourse.julialang.org/u/Bourbon8464)\
**Replies:** 3\
**Last updated:** [November 28, 2025, 9:55pm UTC](https://discourse.julialang.org/t/automerge-was-successful-4-days-ago-still-not-merged-to-main/134202 "2025-11-28T21:55:22Z")

</div>

Hi, I have passed all the merge guidelines and yet my package hasn’t been able to be merged into the main repository. I am confused and not too sure on what to do at the moment. Any help would be greatly appreciated. N…

---

## [Is there a way to determine whether code is toplevel?](https://discourse.julialang.org/t/is-there-a-way-to-determine-whether-code-is-toplevel/39939)

<div class="topic-metadata">

**Author:** [@marius311](https://discourse.julialang.org/u/marius311)\
**Replies:** 3\
**Last updated:** [November 28, 2025, 3:08pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-determine-whether-code-is-toplevel/39939 "2025-11-28T15:08:56Z")

</div>

I’m looking for a hypothetical @istoplevel, presumably a macro, which could work like this: module Foo @istoplevel() # true end julia\> @istoplevel() # true function foo() @istoplevel() # false end Does anything l…

---

## [Multi-threading Heisenbug: code is faster when profiled](https://discourse.julialang.org/t/multi-threading-heisenbug-code-is-faster-when-profiled/133805)

<div class="topic-metadata">

**Author:** [@jlbosse](https://discourse.julialang.org/u/jlbosse)\
**Replies:** 5\
**Last updated:** [November 28, 2025, 2:01pm UTC](https://discourse.julialang.org/t/multi-threading-heisenbug-code-is-faster-when-profiled/133805 "2025-11-28T14:01:26Z")

</div>

I have some trivially parallelizable for loops that I wanted to speed up using multi-threading, namely using Folds.jls Folds.foreach(). I started julia with julia -t 8 to get one interactive thread and 8 worker threads a…

---

## [Type Stabled Jacobian of a Hessian](https://discourse.julialang.org/t/type-stabled-jacobian-of-a-hessian/134148)

<div class="topic-metadata">

**Author:** [@JPCAM](https://discourse.julialang.org/u/JPCAM)\
**Replies:** 3\
**Last updated:** [November 28, 2025, 11:41am UTC](https://discourse.julialang.org/t/type-stabled-jacobian-of-a-hessian/134148 "2025-11-28T11:41:28Z")

</div>

I’ve run into a type-stability issue when trying to compute third-order derivatives with ForwardDiff. I have a potential function that takes a vector as input. Computing the Hessian with ForwardDiff.hessian works well a…

---

## [Best way to model a piecewise linearization for \`f(x) = x^0.8\` on \`\[0, 1e5\]\` with PiecewiseLinearOpt.jl?](https://discourse.julialang.org/t/best-way-to-model-a-piecewise-linearization-for-f-x-x-0-8-on-0-1e5-with-piecewiselinearopt-jl/131963)

<div class="topic-metadata">

**Author:** [@karei](https://discourse.julialang.org/u/karei)\
**Replies:** 3\
**Last updated:** [November 28, 2025, 10:39am UTC](https://discourse.julialang.org/t/best-way-to-model-a-piecewise-linearization-for-f-x-x-0-8-on-0-1e5-with-piecewiselinearopt-jl/131963 "2025-11-28T10:39:13Z")

</div>

Hi all, I have an optimization model where I need to replace a concave cost term f(x) = x^{0.8} for x \\in \[0, 10^5\] with a piecewise linear (PWL) form in JuMP. The model is a minimization, and I’m considering using Pie…

---

## [Can binaries made with juliac --trim open files or read input?](https://discourse.julialang.org/t/can-binaries-made-with-juliac-trim-open-files-or-read-input/133059)

<div class="topic-metadata">

**Author:** [@LeePhillips](https://discourse.julialang.org/u/LeePhillips)\
**Replies:** 5\
**Last updated:** [November 28, 2025, 6:51am UTC](https://discourse.julialang.org/t/can-binaries-made-with-juliac-trim-open-files-or-read-input/133059 "2025-11-28T06:51:57Z")

</div>

That’s my question. Does anyone have a working example of a program that compiles under v1.12 using juliac --trim=safe etc. that either opens and reads from a file or reads input from the terminal?

---

## [DiffOpt / JuMP: zero gradient for variable fixed by equality constraint](https://discourse.julialang.org/t/diffopt-jump-zero-gradient-for-variable-fixed-by-equality-constraint/134041)

<div class="topic-metadata">

**Author:** [@yeomoon](https://discourse.julialang.org/u/yeomoon)\
**Replies:** 12\
**Last updated:** [November 28, 2025, 5:36am UTC](https://discourse.julialang.org/t/diffopt-jump-zero-gradient-for-variable-fixed-by-equality-constraint/134041 "2025-11-28T05:36:03Z")

</div>

Hi all, I’m trying to train a neural network that is followed by a differentiable optimization layer in Julia. Conceptually it’s: Flux NN → Economic Dispatch layer (ED layer) → Loss The ED layer is implemented as a …

---

## [How to use partial derivate in my code?](https://discourse.julialang.org/t/how-to-use-partial-derivate-in-my-code/134176)

<div class="topic-metadata">

**Author:** [@Mr.Fool](https://discourse.julialang.org/u/Mr.Fool)\
**Replies:** 3\
**Last updated:** [November 28, 2025, 4:47am UTC](https://discourse.julialang.org/t/how-to-use-partial-derivate-in-my-code/134176 "2025-11-28T04:47:01Z")

</div>

I want to use the partial marked red in the figure to write my own code. The code I want to write is like figure below. But an error occurred. How can I achieve my code? Thank you for your answer.

---

## [L-moment package?](https://discourse.julialang.org/t/l-moment-package/54536)

<div class="topic-metadata">

**Author:** [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Replies:** 1\
**Last updated:** [November 28, 2025, 2:00am UTC](https://discourse.julialang.org/t/l-moment-package/54536 "2025-11-28T02:00:13Z")

</div>

hello, I wonder if L-moment related summary statistics are available in any Julia package? thanks.

---

## [AI-generated enhancements and examples for StaticCompiler.jl](https://discourse.julialang.org/t/ai-generated-enhancements-and-examples-for-staticcompiler-jl/134054)

<div class="topic-metadata">

**Author:** [@joelreymont](https://discourse.julialang.org/u/joelreymont)\
**Replies:** 33\
**Last updated:** [November 28, 2025, 12:04am UTC](https://discourse.julialang.org/t/ai-generated-enhancements-and-examples-for-staticcompiler-jl/134054 "2025-11-28T00:04:44Z")

</div>

I updated StaticCompiler.jl to provide extensive analysis and generate standalone binaries using Julia 1.12. Some mods to GPUCompiler.jl were required. This blog post provides a detailed guide to using the above. Plea…

---

## [Float to int](https://discourse.julialang.org/t/float-to-int/44417)

<div class="topic-metadata">

**Author:** [@Fuad\_Sami](https://discourse.julialang.org/u/Fuad_Sami)\
**Replies:** 13\
**Last updated:** [November 27, 2025, 10:51pm UTC](https://discourse.julialang.org/t/float-to-int/44417 "2025-11-27T22:51:33Z")

</div>

hi all if i have array c = \[1.0, 2.0, 2.0, 1.0\] and i want to convert it to Int in this way c = \[1,2,2,1\] i tried some thing like that for i in count i = Int64(i) println(i) # the output her is 1 then 2 =\> …

---

## [Confused with composite type constructors](https://discourse.julialang.org/t/confused-with-composite-type-constructors/134172)

<div class="topic-metadata">

**Author:** [@RCh](https://discourse.julialang.org/u/RCh)\
**Replies:** 13\
**Last updated:** [November 27, 2025, 10:43pm UTC](https://discourse.julialang.org/t/confused-with-composite-type-constructors/134172 "2025-11-27T22:43:46Z")

</div>

Hello, I am new to Julia, I would like to understand language more deeply, so I have several question: (I am using 1.12.x version) First of all, where can I find some BNF like definition? Another question, I tried to …

---

## [\[ANN\] Manifolds.jl: Manifolds in Julia](https://discourse.julialang.org/t/ann-manifolds-jl-manifolds-in-julia/36691)

<div class="topic-metadata">

**Author:** [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Replies:** 12\
**Last updated:** [November 27, 2025, 6:23pm UTC](https://discourse.julialang.org/t/ann-manifolds-jl-manifolds-in-julia/36691 "2025-11-27T18:23:28Z")

</div>

The Manifolds.jl package provides a library of Riemannian manifolds that are implemented based on the ManifoldsBase.jl interface. The package provides further: an efficient power manifold working on arrays (including h…

---

## [PlutoSlides.jl — Beamer-style presentations for Pluto notebooks](https://discourse.julialang.org/t/plutoslides-jl-beamer-style-presentations-for-pluto-notebooks/133655)

<div class="topic-metadata">

**Author:** [@dmetivie](https://discourse.julialang.org/u/dmetivie)\
**Replies:** 7\
**Last updated:** [November 27, 2025, 5:53pm UTC](https://discourse.julialang.org/t/plutoslides-jl-beamer-style-presentations-for-pluto-notebooks/133655 "2025-11-27T17:53:50Z")

</div>

PlutoSlides.jl — Beamer-style presentations for Pluto notebooks Repository: https://github.com/dmetivie/PlutoSlides.jl I’m happy to share PlutoSlides.jl, a package that brings Beamer-like slide formatting to Pluto.jl no…

---

## [Is there a package for numerical continuation analysis?](https://discourse.julialang.org/t/is-there-a-package-for-numerical-continuation-analysis/134161)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 2\
**Last updated:** [November 27, 2025, 12:43pm UTC](https://discourse.julialang.org/t/is-there-a-package-for-numerical-continuation-analysis/134161 "2025-11-27T12:43:41Z")

</div>

Is there a package in Julia similar to the package GitHub - auto-07p/auto-07p: AUTO is a publicly available software for continuation and bifurcation problems in ordinary differential equations originally written in 1980…

---

## [Meshgrid function in Julia](https://discourse.julialang.org/t/meshgrid-function-in-julia/48679)

<div class="topic-metadata">

**Author:** [@Hrishikesh\_Das](https://discourse.julialang.org/u/Hrishikesh_Das)\
**Replies:** 35\
**Last updated:** [November 27, 2025, 11:05am UTC](https://discourse.julialang.org/t/meshgrid-function-in-julia/48679 "2025-11-27T11:05:15Z")

</div>

hello everyone I am new to Julia. Earlier I was using Matlab but now I have started to work in Julia. I would like to know is there any similar function available in julia like Meshgrid which is available in matlab. Plea…

---

## [Makie Texture Atlas Caching](https://discourse.julialang.org/t/makie-texture-atlas-caching/134131)

<div class="topic-metadata">

**Author:** [@Chrysoberyl](https://discourse.julialang.org/u/Chrysoberyl)\
**Replies:** 3\
**Last updated:** [November 27, 2025, 9:39am UTC](https://discourse.julialang.org/t/makie-texture-atlas-caching/134131 "2025-11-27T09:39:12Z")

</div>

When using Makie offline, I got this warning: Warning: downloading texture atlas failed, need to re-create from scratch. exception = RequestError: Could not resolve host: github.com while requesting https://github.com/M…

---

## [What to do since CSR matrixes are not in Sparse Arrays?](https://discourse.julialang.org/t/what-to-do-since-csr-matrixes-are-not-in-sparse-arrays/53991)

<div class="topic-metadata">

**Author:** [@andfranklin](https://discourse.julialang.org/u/andfranklin)\
**Replies:** 9\
**Last updated:** [November 27, 2025, 9:26am UTC](https://discourse.julialang.org/t/what-to-do-since-csr-matrixes-are-not-in-sparse-arrays/53991 "2025-11-27T09:26:36Z")

</div>

Viral B. Shah discussed (in 2015!) why CSR matrixes were not included in Sparse Arrays: link. The justification makes sense, but I now find myself wishing there was an easy way to access CSR sparse array. I just want to…

---

## [ModelingToolkit fails to precompile on Julia 1.12 (UndefVarError: ODESystem not defined in ModelingToolkit)](https://discourse.julialang.org/t/modelingtoolkit-fails-to-precompile-on-julia-1-12-undefvarerror-odesystem-not-defined-in-modelingtoolkit/134133)

<div class="topic-metadata">

**Author:** [@junmorenodi99](https://discourse.julialang.org/u/junmorenodi99)\
**Replies:** 11\
**Last updated:** [November 27, 2025, 7:56am UTC](https://discourse.julialang.org/t/modelingtoolkit-fails-to-precompile-on-julia-1-12-undefvarerror-odesystem-not-defined-in-modelingtoolkit/134133 "2025-11-27T07:56:46Z")

</div>

Hi everyone, I’m having trouble with ModelingToolkit precompilation on Julia 1.12 on Windows, and I can’t figure out what’s triggering it. In my project I’m just adding some libraries (including ModelingToolkit) : usi…

---

## [CTRL+C based interrupt doesn't work in VSCode](https://discourse.julialang.org/t/ctrl-c-based-interrupt-doesnt-work-in-vscode/134023)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 4\
**Last updated:** [November 27, 2025, 5:03am UTC](https://discourse.julialang.org/t/ctrl-c-based-interrupt-doesnt-work-in-vscode/134023 "2025-11-27T05:03:40Z")

</div>

Hello, if I run a long simulation (example below) in VSCode, CTRL+C interrupt works (or doesn’t) depending on how I have started calling the main simulation function: If I have mylongsimulation() (the function call) in …

---

## [\[weakdeps\] + \[sources\] in Project.toml](https://discourse.julialang.org/t/weakdeps-sources-in-project-toml/134152)

<div class="topic-metadata">

**Author:** [@ggebbie](https://discourse.julialang.org/u/ggebbie)\
**Replies:** 4\
**Last updated:** [November 27, 2025, 1:53am UTC](https://discourse.julialang.org/t/weakdeps-sources-in-project-toml/134152 "2025-11-27T01:53:54Z")

</div>

Is it allowed to have a weak dependency that is not registered and therefore listed under \[sources\] in Project.toml in Julia 1.12? When I add a \[weakdeps\] section to my Project.toml (because I want these packages to onl…

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

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