# Latest

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

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

**Page:** 266

---

## [ABM Agents.jl model properties as a nested dictionary](https://discourse.julialang.org/t/abm-agents-jl-model-properties-as-a-nested-dictionary/123110)

<div class="topic-metadata">

**Author:** [@elisadonati23](https://discourse.julialang.org/u/elisadonati23)\
**Replies:** 3\
**Last updated:** [November 29, 2024, 1:22pm UTC](https://discourse.julialang.org/t/abm-agents-jl-model-properties-as-a-nested-dictionary/123110 "2024-11-29T13:22:28Z")

</div>

Dear Julia and the Agents.jl community, I’m currently working on a multispecies agent-based model (ABM) with sardine and anchovy superindividuals, and I’m planning to transition to the multi-agent framework soon. My mod…

---

## [\[ANN\] SymbolicRegression.jl 1.0.0 - Distributed High-Performance Symbolic Regression in Julia](https://discourse.julialang.org/t/ann-symbolicregression-jl-1-0-0-distributed-high-performance-symbolic-regression-in-julia/122791)

<div class="topic-metadata">

**Author:** [@MilesCranmer](https://discourse.julialang.org/u/MilesCranmer)\
**Replies:** 24\
**Last updated:** [November 29, 2024, 12:32pm UTC](https://discourse.julialang.org/t/ann-symbolicregression-jl-1-0-0-distributed-high-performance-symbolic-regression-in-julia/122791 "2024-11-29T12:32:53Z")

</div>

SymbolicRegression.jl SymbolicRegression.jl is a Julia library for discovering symbolic models to solve optimization problems, especially for regression. It is highly optimized and permits multi-node distributed sea…

---

## [Misplaced assignment statement](https://discourse.julialang.org/t/misplaced-assignment-statement/123194)

<div class="topic-metadata">

**Author:** [@engineer-in-a-box](https://discourse.julialang.org/u/engineer-in-a-box)\
**Replies:** 5\
**Last updated:** [November 29, 2024, 11:59am UTC](https://discourse.julialang.org/t/misplaced-assignment-statement/123194 "2024-11-29T11:59:48Z")

</div>

my code is giving me an error: LoadError: syntax: misplaced assignment statement in “\[T = BigInt\]” what does this error mean?

---

## [Julia Distributed can't find ssh key, can't use remote machine](https://discourse.julialang.org/t/julia-distributed-cant-find-ssh-key-cant-use-remote-machine/123240)

<div class="topic-metadata">

**Author:** [@davidbp](https://discourse.julialang.org/u/davidbp)\
**Replies:** 5\
**Last updated:** [November 29, 2024, 11:43am UTC](https://discourse.julialang.org/t/julia-distributed-cant-find-ssh-key-cant-use-remote-machine/123240 "2024-11-29T11:43:44Z")

</div>

Hi all I have the following script 06\_test\_nuc12.jl that seems not to find the private key for the ssh using Distributed procs = addprocs(\["dbp@79.152.67.28:8620", 4\], dir="/home/dbp", exename="/home/dbp/jul…

---

## [Obtaining modern CUDA libraries](https://discourse.julialang.org/t/obtaining-modern-cuda-libraries/123237)

<div class="topic-metadata">

**Author:** [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Replies:** 1\
**Last updated:** [November 29, 2024, 11:16am UTC](https://discourse.julialang.org/t/obtaining-modern-cuda-libraries/123237 "2024-11-29T11:16:36Z")

</div>

For ONNXRunTime.jl GPU support, we need various CUDA libraries. In theory, we only need binaries. In practice, the easiest way to obtain these was to install the following packages: CUDA.jl and CUDNN However CUDNN is…

---

## [Makie mathcal boldface](https://discourse.julialang.org/t/makie-mathcal-boldface/123233)

<div class="topic-metadata">

**Author:** [@clm](https://discourse.julialang.org/u/clm)\
**Replies:** 1\
**Last updated:** [November 29, 2024, 7:04am UTC](https://discourse.julialang.org/t/makie-mathcal-boldface/123233 "2024-11-29T07:04:32Z")

</div>

Hi all, I’m having an issue using calligraphic fonts using LaTeXStrings.jl within Makie. A previous question noted that the default calligraphic fonts didn’t align between LaTeXStrings and their tex file – and this prob…

---

## [How to let a PC run a Julia program automatically every time it is woken up?](https://discourse.julialang.org/t/how-to-let-a-pc-run-a-julia-program-automatically-every-time-it-is-woken-up/123211)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 6\
**Last updated:** [November 29, 2024, 8:08am UTC](https://discourse.julialang.org/t/how-to-let-a-pc-run-a-julia-program-automatically-every-time-it-is-woken-up/123211 "2024-11-29T08:08:54Z")

</div>

I am using a Windows PC. I want the computer to run a Julia program automatically every time it is woken up. I could use Windows’ Task Scheduler to do this, but it wasn’t perfect. That’s because I found that the program …

---

## [Getting to zero allocations in NonlinearSolve.jl](https://discourse.julialang.org/t/getting-to-zero-allocations-in-nonlinearsolve-jl/123123)

<div class="topic-metadata">

**Author:** [@rafaelbailo](https://discourse.julialang.org/u/rafaelbailo)\
**Replies:** 9\
**Last updated:** [November 29, 2024, 6:05am UTC](https://discourse.julialang.org/t/getting-to-zero-allocations-in-nonlinearsolve-jl/123123 "2024-11-29T06:05:30Z")

</div>

I am in the process of migrating some code from NLsolve.jl to NonlinearSolve.jl. I have written a simple Newton-Raphson test, but I cannot get the allocations down to zero; both solve! and reinit! allocate. Can this be i…

---

## [DiffEq Plotting Question](https://discourse.julialang.org/t/diffeq-plotting-question/123228)

<div class="topic-metadata">

**Author:** [@TheLazyFarmer](https://discourse.julialang.org/u/TheLazyFarmer)\
**Replies:** 1\
**Last updated:** [November 29, 2024, 6:04am UTC](https://discourse.julialang.org/t/diffeq-plotting-question/123228 "2024-11-29T06:04:28Z")

</div>

Hello, I have the results of a differential equation I solved with DifferentialEquations.jl. Each of the results of the solution are stored in an (n x n+1) array, as so: 4×5 Matrix{Float64}: -1.0 -1.0 -…

---

## [Vscode workspace cannot show detail julia function](https://discourse.julialang.org/t/vscode-workspace-cannot-show-detail-julia-function/123009)

<div class="topic-metadata">

**Author:** [@Xuekui\_wang](https://discourse.julialang.org/u/Xuekui_wang)\
**Replies:** 1\
**Last updated:** [November 29, 2024, 3:27am UTC](https://discourse.julialang.org/t/vscode-workspace-cannot-show-detail-julia-function/123009 "2024-11-29T03:27:03Z")

</div>

When I updated vscode and julia, the vscode workspace cannot show detail function, I don’t know what’s wrong with the settings. All subfunction show “unknown”, as shown in the diagram

---

## [Correctness bugs](https://discourse.julialang.org/t/correctness-bugs/122855)

<div class="topic-metadata">

**Author:** [@Anil\_Kumar1](https://discourse.julialang.org/u/Anil_Kumar1)\
**Replies:** 8\
**Last updated:** [November 29, 2024, 2:34am UTC](https://discourse.julialang.org/t/correctness-bugs/122855 "2024-11-29T02:34:21Z")

</div>

https://yuri.is/not-julia/ I saw this on Bluesky today. " In my experience, Julia and its packages have the highest rate of serious correctness bugs of any programming system I’ve used, and I started programming with V…

---

## [FFT with @view](https://discourse.julialang.org/t/fft-with-view/123137)

<div class="topic-metadata">

**Author:** [@AshtonSBradley](https://discourse.julialang.org/u/AshtonSBradley)\
**Replies:** 4\
**Last updated:** [November 29, 2024, 2:09am UTC](https://discourse.julialang.org/t/fft-with-view/123137 "2024-11-29T02:09:37Z")

</div>

I want to do fft and want to write the result on a predefined array. However, there is a problem with this when the source and target arrays are both views: using FFTW, LinearAlgebra M = randn(100,100,100) C = @view M\[:…

---

## [Using Catalyst.jl with large reaction networks](https://discourse.julialang.org/t/using-catalyst-jl-with-large-reaction-networks/123061)

<div class="topic-metadata">

**Author:** [@tb877](https://discourse.julialang.org/u/tb877)\
**Replies:** 2\
**Last updated:** [November 29, 2024, 1:27am UTC](https://discourse.julialang.org/t/using-catalyst-jl-with-large-reaction-networks/123061 "2024-11-29T01:27:27Z")

</div>

Hi all, I’m looking into a way to simulate additive integer chemistry, i.e. 1+1→2 1+2→3 1+3→4 ... 2+2→4 2+3→5 2+4→6 ... I’m quite new to Julia, but have noticed that Catalyst.jl lets you define reaction\_network object…

---

## [Staff Scheduling Optimization](https://discourse.julialang.org/t/staff-scheduling-optimization/123230)

<div class="topic-metadata">

**Author:** [@Honcho868](https://discourse.julialang.org/u/Honcho868)\
**Replies:** 7\
**Last updated:** [November 29, 2024, 1:12am UTC](https://discourse.julialang.org/t/staff-scheduling-optimization/123230 "2024-11-29T01:12:57Z")

</div>

So im trying to code the following model from the paper in JuMP to determine optimal number of staff for 3 shifts daily for 7 days a week where staff must work atleast 1 shift per day This is the code: using JuMP using…

---

## [IntervalOptimisation.jl and threads gives lock conflicts](https://discourse.julialang.org/t/intervaloptimisation-jl-and-threads-gives-lock-conflicts/122588)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 10\
**Last updated:** [November 29, 2024, 12:56am UTC](https://discourse.julialang.org/t/intervaloptimisation-jl-and-threads-gives-lock-conflicts/122588 "2024-11-29T00:56:02Z")

</div>

Hi, in a project I’m working on, I need to run many, many small optimizations. I like to do this by using Threads.@threads, which typically cuts down my runtime by a factor 2-4 for the problems I’m looking at. However, w…

---

## [PythonCall just works when I close the REPL after importing OpenSSL\_jll, but I cannot make it work in the same session](https://discourse.julialang.org/t/pythoncall-just-works-when-i-close-the-repl-after-importing-openssl-jll-but-i-cannot-make-it-work-in-the-same-session/123122)

<div class="topic-metadata">

**Author:** [@facusapienza](https://discourse.julialang.org/u/facusapienza)\
**Replies:** 1\
**Last updated:** [November 26, 2024, 10:35pm UTC](https://discourse.julialang.org/t/pythoncall-just-works-when-i-close-the-repl-after-importing-openssl-jll-but-i-cannot-make-it-work-in-the-same-session/123122 "2024-11-26T22:35:18Z")

</div>

Hi all, I am trying to make the following workflow involving PythonCall to work in the same Julia session. I am experiencing some problems with PythonCall and SSL credentials, which thanks to @cjdoris I managed to make …

---

## [Optimization using GLPK](https://discourse.julialang.org/t/optimization-using-glpk/107210)

<div class="topic-metadata">

**Author:** [@doriiido](https://discourse.julialang.org/u/doriiido)\
**Replies:** 15\
**Last updated:** [November 28, 2024, 11:14pm UTC](https://discourse.julialang.org/t/optimization-using-glpk/107210 "2024-11-28T23:14:31Z")

</div>

I am trying to find an optimal number of employees to satisfy a scheduling problem, this is my code: using JuMP using GLPK # Constants and parameters Wjk = \[19 16 22 22 22 22 22; 19 16 22 22 22 22 22; 14 11 16 16 16 16…

---

## [Type stability in closures](https://discourse.julialang.org/t/type-stability-in-closures/123227)

<div class="topic-metadata">

**Author:** [@AntonReinhard](https://discourse.julialang.org/u/AntonReinhard)\
**Replies:** 13\
**Last updated:** [November 28, 2024, 11:00pm UTC](https://discourse.julialang.org/t/type-stability-in-closures/123227 "2024-11-28T23:00:13Z")

</div>

I’m doing a bunch of code generation and came across a strange behaviour involving type stability, closures and variable captures. I reduced the problem to the following example: function f(a, b) \_f = (x, y) -\> begi…

---

## [DataFrames: How to remove rows containing NaNs when there are also missings](https://discourse.julialang.org/t/dataframes-how-to-remove-rows-containing-nans-when-there-are-also-missings/61396)

<div class="topic-metadata">

**Author:** [@florian](https://discourse.julialang.org/u/florian)\
**Replies:** 9\
**Last updated:** [November 28, 2024, 10:01pm UTC](https://discourse.julialang.org/t/dataframes-how-to-remove-rows-containing-nans-when-there-are-also-missings/61396 "2024-11-28T22:01:49Z")

</div>

Assume I have the following DataFrame and want to remove rows containing NaN: df = DataFrame(a=\[NaN, 1.1, NaN, missing, missing\], b=\[1.1, 2, 3, missing, NaN\], c='a':'e'); For just one column I could do something like: …

---

## [Real time plotting on the Raspberry PI 4](https://discourse.julialang.org/t/real-time-plotting-on-the-raspberry-pi-4/123225)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 0\
**Last updated:** [November 28, 2024, 5:00pm UTC](https://discourse.julialang.org/t/real-time-plotting-on-the-raspberry-pi-4/123225 "2024-11-28T17:00:18Z")

</div>

I am looking for a real time plotting capability for the Raspberry PI 4 and/or 5. The PI 4 has a pretty weak graphics capability, limited to Open GL ES 3.1 and Vulkan 1 and the PI 5 with OpenGL ES 3.1 and Vulkan 1.2. I…

---

## [Does Julia cache the code generation or compilation results of \`using SomeModuleName\`?](https://discourse.julialang.org/t/does-julia-cache-the-code-generation-or-compilation-results-of-using-somemodulename/123214)

<div class="topic-metadata">

**Author:** [@world-peace](https://discourse.julialang.org/u/world-peace)\
**Replies:** 1\
**Last updated:** [November 28, 2024, 8:21pm UTC](https://discourse.julialang.org/t/does-julia-cache-the-code-generation-or-compilation-results-of-using-somemodulename/123214 "2024-11-28T20:21:10Z")

</div>

I’m trying to demonstrate the effects of precompilation techniques in Julia. I have written 3 modules and one main.jl file which uses them. Here is my code: $ cat MyModule1.jl module MyModule1 function mysum(v::Abstr…

---

## [Symbolic rewriter rules for symbolic functions](https://discourse.julialang.org/t/symbolic-rewriter-rules-for-symbolic-functions/123131)

<div class="topic-metadata">

**Author:** [@erny123](https://discourse.julialang.org/u/erny123)\
**Replies:** 2\
**Last updated:** [November 28, 2024, 8:13pm UTC](https://discourse.julialang.org/t/symbolic-rewriter-rules-for-symbolic-functions/123131 "2024-11-28T20:13:42Z")

</div>

I have something simple that there seems to be no answer anywhere. I make a symbolic function and none of the re-writing rules work on it. using SymbolicUtils using Symbolics using Latexify using Plots using LaTeXString…

---

## [SCIP constraints](https://discourse.julialang.org/t/scip-constraints/123206)

<div class="topic-metadata">

**Author:** [@Rajender\_Mudigonda](https://discourse.julialang.org/u/Rajender_Mudigonda)\
**Replies:** 2\
**Last updated:** [November 28, 2024, 7:24pm UTC](https://discourse.julialang.org/t/scip-constraints/123206 "2024-11-28T19:24:31Z")

</div>

When using SCIP solver, what is the alternative for compute\_conflict!(model) to identify constraint conflicts?

---

## [Getting different allocations from \`@allocations\` vs \`@timev\`/\`@time\`](https://discourse.julialang.org/t/getting-different-allocations-from-allocations-vs-timev-time/123222)

<div class="topic-metadata">

**Author:** [@sadish-d](https://discourse.julialang.org/u/sadish-d)\
**Replies:** 1\
**Last updated:** [November 28, 2024, 6:55pm UTC](https://discourse.julialang.org/t/getting-different-allocations-from-allocations-vs-timev-time/123222 "2024-11-28T18:55:22Z")

</div>

I have a function f() = Int\[\]. Let’s try and check how much it allocates using @timev (or @time) and @allocations. julia\> @timev f() 0.000002 seconds (1 allocation: 64 bytes) elapsed time (ns): 1667 gc time (ns): …

---

## [Problems with surface](https://discourse.julialang.org/t/problems-with-surface/123226)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 3\
**Last updated:** [November 28, 2024, 6:19pm UTC](https://discourse.julialang.org/t/problems-with-surface/123226 "2024-11-28T18:19:38Z")

</div>

Dear all, I want to plot a simple surface, as in the following command: using Plots gr() xs = collect(0.1:0.05:2.0) ys = collect(0.2:0.1:2.0) X = \[x for x = xs for \_ = ys\] Y = \[y for \_ = xs for y = ys\] Z = ((x, y)-\>be…

---

## [Mutable struct vs Ref in an immutable one?](https://discourse.julialang.org/t/mutable-struct-vs-ref-in-an-immutable-one/92846)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 7\
**Last updated:** [November 28, 2024, 6:04pm UTC](https://discourse.julialang.org/t/mutable-struct-vs-ref-in-an-immutable-one/92846 "2024-11-28T18:04:24Z")

</div>

I want to define a struct where one field is mutable, and one isn’t,. I see two ways to approach this: struct A x :: Int y :: typeof(Ref(1)) end and mutable struct B const x :: Int y :: Int end Wh…

---

## [V1.11 \`SYSTEM: caught exception of type :TypeError while trying to print a failed Task notice; giving up\`](https://discourse.julialang.org/t/v1-11-system-caught-exception-of-type-typeerror-while-trying-to-print-a-failed-task-notice-giving-up/121296)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 3\
**Last updated:** [November 28, 2024, 5:43pm UTC](https://discourse.julialang.org/t/v1-11-system-caught-exception-of-type-typeerror-while-trying-to-print-a-failed-task-notice-giving-up/121296 "2024-11-28T17:43:49Z")

</div>

Today I updated to v1.11 and I get the following error when I go to package mode (@v1.11) pkg\> SYSTEM: caught exception of type :TypeError while trying to print a failed Task notice; giving up This only happens when I …

---

## [BifurcationKit: detecting fold bifurcation](https://discourse.julialang.org/t/bifurcationkit-detecting-fold-bifurcation/123096)

<div class="topic-metadata">

**Author:** [@mmplac14](https://discourse.julialang.org/u/mmplac14)\
**Replies:** 20\
**Last updated:** [November 28, 2024, 5:28pm UTC](https://discourse.julialang.org/t/bifurcationkit-detecting-fold-bifurcation/123096 "2024-11-28T17:28:01Z")

</div>

This post is related to my previous one. I am new to bifurcation analyis and I am working with BifurcationKit to reproduce the bifurcation analysis performed by Grimbert Faugueras on the Jansen-Rit model. Specifically,…

---

## [Documenter.jl site not displaying full set of features from github, the basic static features only without links and content strcuture](https://discourse.julialang.org/t/documenter-jl-site-not-displaying-full-set-of-features-from-github-the-basic-static-features-only-without-links-and-content-strcuture/123117)

<div class="topic-metadata">

**Author:** [@mantzaris](https://discourse.julialang.org/u/mantzaris)\
**Replies:** 1\
**Last updated:** [November 27, 2024, 12:22am UTC](https://discourse.julialang.org/t/documenter-jl-site-not-displaying-full-set-of-features-from-github-the-basic-static-features-only-without-links-and-content-strcuture/123117 "2024-11-27T00:22:37Z")

</div>

I am starting a new repository on Github, https://github.com/mantzaris/BenchmarkDataNLP.jl, and it compiles and the Github actions work etc, but on the site’s deployment: https://mantzaris.github.io/BenchmarkDataNLP.jl/,…

---

## [Ideas for examples to demonstrate precompilation time and runtime performance?](https://discourse.julialang.org/t/ideas-for-examples-to-demonstrate-precompilation-time-and-runtime-performance/123180)

<div class="topic-metadata">

**Author:** [@world-peace](https://discourse.julialang.org/u/world-peace)\
**Replies:** 4\
**Last updated:** [November 28, 2024, 5:19pm UTC](https://discourse.julialang.org/t/ideas-for-examples-to-demonstrate-precompilation-time-and-runtime-performance/123180 "2024-11-28T17:19:41Z")

</div>

I am looking for some ideas for short example codes which can be used to demonstrate how much time it takes for Julia to compile when code is first run vs the time taken for code to execute after it has been run once (an…

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

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