# Latest

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

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

**Page:** 765

---

## [Agents.jl : Rabbit Fox Hawk Example only Plot 1 Red and 1 Blue Creature](https://discourse.julialang.org/t/agents-jl-rabbit-fox-hawk-example-only-plot-1-red-and-1-blue-creature/95514)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 0\
**Last updated:** [March 3, 2023, 9:08pm UTC](https://discourse.julialang.org/t/agents-jl-rabbit-fox-hawk-example-only-plot-1-red-and-1-blue-creature/95514 "2023-03-03T21:08:46Z")

</div>

Hi all, why my video / animation of Rabbit Fox Hawk only plot 1 red and then become 1 blue till the end of step? from: https://juliadynamics.github.io/Agents.jl/stable/examples/rabbit\_fox\_hawk/ (it is a very great pa…

---

## [Continuously plot to the same window on the fly](https://discourse.julialang.org/t/continuously-plot-to-the-same-window-on-the-fly/95498)

<div class="topic-metadata">

**Author:** [@linwaytin](https://discourse.julialang.org/u/linwaytin)\
**Replies:** 2\
**Last updated:** [March 3, 2023, 9:08pm UTC](https://discourse.julialang.org/t/continuously-plot-to-the-same-window-on-the-fly/95498 "2023-03-03T21:08:08Z")

</div>

I have for loop which runs some computation. For debugging, I want to see the output “real-time”. One possible way to do that is continuously plotting add points to the same graph. using Gaston plot(something) for iter=…

---

## [Issue with lazy constraints on Xpress](https://discourse.julialang.org/t/issue-with-lazy-constraints-on-xpress/95463)

<div class="topic-metadata">

**Author:** [@Diego](https://discourse.julialang.org/u/Diego)\
**Replies:** 4\
**Last updated:** [March 3, 2023, 8:56pm UTC](https://discourse.julialang.org/t/issue-with-lazy-constraints-on-xpress/95463 "2023-03-03T20:56:05Z")

</div>

Dear community, I am giving a try to Lazy Constraints and can make a very simple case run with Xpress, however, there is not an issue at all with GLPK. Can you please have a look and let us know where the problem is? T…

---

## [Simple performance test of threaded execution](https://discourse.julialang.org/t/simple-performance-test-of-threaded-execution/95473)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 3\
**Last updated:** [March 3, 2023, 8:33pm UTC](https://discourse.julialang.org/t/simple-performance-test-of-threaded-execution/95473 "2023-03-03T20:33:04Z")

</div>

Is there a (ideally, standard) test of threaded performance? I am looking at a puzzle, where two Linux systems give very different scaling of parallel computations with threads. It would be great to figure out which o…

---

## [PGFPlotsX sends 1st plot to browser; subsequent plots to VSCode plot window](https://discourse.julialang.org/t/pgfplotsx-sends-1st-plot-to-browser-subsequent-plots-to-vscode-plot-window/95512)

<div class="topic-metadata">

**Author:** [@JustCurious](https://discourse.julialang.org/u/JustCurious)\
**Replies:** 0\
**Last updated:** [March 3, 2023, 8:10pm UTC](https://discourse.julialang.org/t/pgfplotsx-sends-1st-plot-to-browser-subsequent-plots-to-vscode-plot-window/95512 "2023-03-03T20:10:56Z")

</div>

Just one of many curiosities. x = range(0, 2pi, length = 100) y = sin.(x) using PGFPlotsX @pgf Plot({no\_marks}, Table(x,y))

---

## [Using Parameters.jl with Distributed.jl makes an error](https://discourse.julialang.org/t/using-parameters-jl-with-distributed-jl-makes-an-error/95490)

<div class="topic-metadata">

**Author:** [@Zerosum](https://discourse.julialang.org/u/Zerosum)\
**Replies:** 2\
**Last updated:** [March 3, 2023, 8:09pm UTC](https://discourse.julialang.org/t/using-parameters-jl-with-distributed-jl-makes-an-error/95490 "2023-03-03T20:09:57Z")

</div>

I am using the Distributed package in combination with Parameters. Initially, I simulated a model with 10 parameters, and Parameters were helpful in building the necessary functions. However, now I am trying to run the s…

---

## [Rationale behind excluding some unicode characters from identifiers](https://discourse.julialang.org/t/rationale-behind-excluding-some-unicode-characters-from-identifiers/95509)

<div class="topic-metadata">

**Author:** [@t-bltg](https://discourse.julialang.org/u/t-bltg)\
**Replies:** 10\
**Last updated:** [March 3, 2023, 6:52pm UTC](https://discourse.julialang.org/t/rationale-behind-excluding-some-unicode-characters-from-identifiers/95509 "2023-03-03T18:52:13Z")

</div>

I’m wondering why some Unicode punctuation characters (Open Punctuation Ps, and Close Punctuation Pe) were excluded from variables names (identifiers) in this PR. julia\> ❘u❘ = abs(u) # allowed, e.g. denote an absolute …

---

## [Rayons.jl : shortest optical path in 2D](https://discourse.julialang.org/t/rayons-jl-shortest-optical-path-in-2d/95502)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 0\
**Last updated:** [March 3, 2023, 3:07pm UTC](https://discourse.julialang.org/t/rayons-jl-shortest-optical-path-in-2d/95502 "2023-03-03T15:07:14Z")

</div>

Hi, I have made Rayons.jl public on github (not registered): It was very fun and easy to develop with Julia and I guess that it would have been more difficult to implement efficiently with Python or Matlab (please pro…

---

## [Is this supposed to happen?](https://discourse.julialang.org/t/is-this-supposed-to-happen/95421)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 7\
**Last updated:** [March 3, 2023, 4:05pm UTC](https://discourse.julialang.org/t/is-this-supposed-to-happen/95421 "2023-03-03T16:05:19Z")

</div>

The code bellow produces this weird message: julia\> include("C:\\\\Users\\\\pkonl\\\\Desktop\\\\weird.jl") Threads.nthreads() = 4 …

---

## [LoadError during Pluto precompile in Anaconda](https://discourse.julialang.org/t/loaderror-during-pluto-precompile-in-anaconda/95472)

<div class="topic-metadata">

**Author:** [@Adam\_L\_Lambert](https://discourse.julialang.org/u/Adam_L_Lambert)\
**Replies:** 3\
**Last updated:** [March 3, 2023, 3:31pm UTC](https://discourse.julialang.org/t/loaderror-during-pluto-precompile-in-anaconda/95472 "2023-03-03T15:31:56Z")

</div>

Hi everyone! I just started on a project and the team is using Julia while I primarily use Python (and MATLAB before that). I use Anaconda to manage Python/Jupyter, etc. I installed Julia through conda-forge into a ne…

---

## [Automatic update of the values of a structure](https://discourse.julialang.org/t/automatic-update-of-the-values-of-a-structure/95500)

<div class="topic-metadata">

**Author:** [@fdekerme](https://discourse.julialang.org/u/fdekerme)\
**Replies:** 3\
**Last updated:** [March 3, 2023, 3:16pm UTC](https://discourse.julialang.org/t/automatic-update-of-the-values-of-a-structure/95500 "2023-03-03T15:16:27Z")

</div>

Hello :grin:, I would like to know if it is possible to automatically update the parameters of a strcutre when it is modified. For example, in the following example, the value of b is not updated when a changes: julia\> …

---

## [Best packages to use to recreate a boxplot](https://discourse.julialang.org/t/best-packages-to-use-to-recreate-a-boxplot/95499)

<div class="topic-metadata">

**Author:** [@rakshith95](https://discourse.julialang.org/u/rakshith95)\
**Replies:** 1\
**Last updated:** [March 3, 2023, 2:56pm UTC](https://discourse.julialang.org/t/best-packages-to-use-to-recreate-a-boxplot/95499 "2023-03-03T14:56:31Z")

</div>

Hello, For a paper, I’d like to recreate a boxplot similar to the one below, where, for discrete values of ‘x’, I have ‘y’ data from multiple different sources So far, I see that Makie, StatsPlots, and PlotlyJS, hav…

---

## [Coming to boston on 3/16/23 and would like a suggestion about AirBnb or B & B near center of town](https://discourse.julialang.org/t/coming-to-boston-on-3-16-23-and-would-like-a-suggestion-about-airbnb-or-b-b-near-center-of-town/95474)

<div class="topic-metadata">

**Author:** [@1153dent](https://discourse.julialang.org/u/1153dent)\
**Replies:** 6\
**Last updated:** [March 3, 2023, 2:56pm UTC](https://discourse.julialang.org/t/coming-to-boston-on-3-16-23-and-would-like-a-suggestion-about-airbnb-or-b-b-near-center-of-town/95474 "2023-03-03T14:56:16Z")

</div>

Hi all My wife and I are coming to Boston on 3/16/23 and would like to avoid staying in a hotel. We like b & b but if that’s not on in Boston AirBnb is fine. We’ll be near the downtown area ( MIT) and wonder if anyone …

---

## [Sum or convolution of discrete uniform random variable](https://discourse.julialang.org/t/sum-or-convolution-of-discrete-uniform-random-variable/15426)

<div class="topic-metadata">

**Author:** [@leclere](https://discourse.julialang.org/u/leclere)\
**Replies:** 10\
**Last updated:** [March 3, 2023, 2:22pm UTC](https://discourse.julialang.org/t/sum-or-convolution-of-discrete-uniform-random-variable/15426 "2023-03-03T14:22:14Z")

</div>

Hello, I am interested in the convolution of random independent discrete variables (and in particular uniform discrete random variables). Is there an efficient way of constructing this ? Or should I just write my own co…

---

## [GMT Question: Choropleth Map Does not Show Color](https://discourse.julialang.org/t/gmt-question-choropleth-map-does-not-show-color/95481)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 3\
**Last updated:** [March 3, 2023, 2:14pm UTC](https://discourse.julialang.org/t/gmt-question-choropleth-map-does-not-show-color/95481 "2023-03-03T14:14:41Z")

</div>

Hi all, I am trying tutorial from this: https://www.generic-mapping-tools.org/GMT.jl/dev/gallery/choropleths/choropleth\_cv19/ First of all, it actually needs to have .shx file besides .shp files, but when I try to plo…

---

## [LoopVectorization for sparse matrix operation : @turbo, LoopVectorization.check\_args](https://discourse.julialang.org/t/loopvectorization-for-sparse-matrix-operation-turbo-loopvectorization-check-args/95497)

<div class="topic-metadata">

**Author:** [@whn](https://discourse.julialang.org/u/whn)\
**Replies:** 1\
**Last updated:** [March 3, 2023, 1:38pm UTC](https://discourse.julialang.org/t/loopvectorization-for-sparse-matrix-operation-turbo-loopvectorization-check-args/95497 "2023-03-03T13:38:43Z")

</div>

I’m beginning programming in julia. I’m trying to vectorize a loop that generate V, a vector that describes data of a sparse matrix which support indices are defined by Vector{Int64} I and J. u, K, v are contiguous f64 …

---

## [Animation of a GraphPlots in an Array](https://discourse.julialang.org/t/animation-of-a-graphplots-in-an-array/94793)

<div class="topic-metadata">

**Author:** [@flobe](https://discourse.julialang.org/u/flobe)\
**Replies:** 2\
**Last updated:** [March 3, 2023, 1:37pm UTC](https://discourse.julialang.org/t/animation-of-a-graphplots-in-an-array/94793 "2023-03-03T13:37:34Z")

</div>

Hi all, I have a big simulation loop resulting in a graphplot for each timestep. I store each of those plots in an array. Ultimately, I’d like to animate over all entries in this array. The minimal working example looks…

---

## [Why no \`sin(x::Eigen)\`?](https://discourse.julialang.org/t/why-no-sin-x-eigen/95492)

<div class="topic-metadata">

**Author:** [@jlbosse](https://discourse.julialang.org/u/jlbosse)\
**Replies:** 2\
**Last updated:** [March 3, 2023, 12:06pm UTC](https://discourse.julialang.org/t/why-no-sin-x-eigen/95492 "2023-03-03T12:06:32Z")

</div>

I noticed that LinearAlgebra defines inv(A::Eigen), but only few other functions that that accept Eigen as inputs. It seems like it would be easy and sensible enough to define for f in (:exp, :cis, :log, :sqrt, …

---

## [Error in precompiling packages](https://discourse.julialang.org/t/error-in-precompiling-packages/90837)

<div class="topic-metadata">

**Author:** [@linkz](https://discourse.julialang.org/u/linkz)\
**Replies:** 26\
**Last updated:** [March 3, 2023, 11:27am UTC](https://discourse.julialang.org/t/error-in-precompiling-packages/90837 "2023-03-03T11:27:13Z")

</div>

Hello, trying to run the following code and having issues with package precompilation from an existing Project.toml file on a new machine. Flux is just an example package, there are ~40 more packages which error out but …

---

## [Split vector into N (potentially unequal length) subvectors?](https://discourse.julialang.org/t/split-vector-into-n-potentially-unequal-length-subvectors/73548)

<div class="topic-metadata">

**Author:** [@markmbaum](https://discourse.julialang.org/u/markmbaum)\
**Replies:** 9\
**Last updated:** [March 3, 2023, 9:58am UTC](https://discourse.julialang.org/t/split-vector-into-n-potentially-unequal-length-subvectors/73548 "2023-03-03T09:58:34Z")

</div>

Is there a convenience function for splitting a vector into N subvectors? For example, if you had a length-10 vector and called the function to split it into 3 parts, you would get three vectors back, two with length 3 a…

---

## [SymPy Simplify Problem with a lot of symbols](https://discourse.julialang.org/t/sympy-simplify-problem-with-a-lot-of-symbols/95486)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 2\
**Last updated:** [March 3, 2023, 11:06am UTC](https://discourse.julialang.org/t/sympy-simplify-problem-with-a-lot-of-symbols/95486 "2023-03-03T11:06:10Z")

</div>

Hi all, I just want to know why simplify((a\*x - b)\*(a\*x + b)) can’t become a^{2}x^{2} -b^{2} in Julia? using SymPy @syms x, a, b, c, t, u c = (a^2 - b^2)/(2\*a\*b) d = ((a\*x -b)/(a\*x+b))^c f1(x) = log(d) u = log(x^2 + …

---

## [Saving Primes Number in a range to CSV](https://discourse.julialang.org/t/saving-primes-number-in-a-range-to-csv/95480)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 4\
**Last updated:** [March 3, 2023, 10:55am UTC](https://discourse.julialang.org/t/saving-primes-number-in-a-range-to-csv/95480 "2023-03-03T10:55:13Z")

</div>

Hi all, I want to save all prime numbers in certain range into CSV. But why it does not saved? I am following this forum: using Primes, CSV CSV.write("./out.csv", (p = primes(1,1000000)))

---

## [Package to work with piecewise functions?](https://discourse.julialang.org/t/package-to-work-with-piecewise-functions/95091)

<div class="topic-metadata">

**Author:** [@ffevotte](https://discourse.julialang.org/u/ffevotte)\
**Replies:** 2\
**Last updated:** [March 2, 2023, 4:48pm UTC](https://discourse.julialang.org/t/package-to-work-with-piecewise-functions/95091 "2023-03-02T16:48:22Z")

</div>

Hi, @aerappa and I are looking for a package that would allow us to easily represent and work with (mathematical) functions that are defined in a piecewise manner. To be a bit more specific, assuming we are working with…

---

## [What's in your \`launch.json\` and \`tasks.json\`?](https://discourse.julialang.org/t/whats-in-your-launch-json-and-tasks-json/95445)

<div class="topic-metadata">

**Author:** [@Euhan](https://discourse.julialang.org/u/Euhan)\
**Replies:** 2\
**Last updated:** [March 3, 2023, 9:42am UTC](https://discourse.julialang.org/t/whats-in-your-launch-json-and-tasks-json/95445 "2023-03-03T09:42:35Z")

</div>

I am migrating to VS Code. I have recently installed the package and a few extensions, among them Julia Language Support. I manually set the julia executable to point to juliaup’s “julia” (which just loads the right bina…

---

## [How to make app using PackageCompiler fully offline](https://discourse.julialang.org/t/how-to-make-app-using-packagecompiler-fully-offline/95482)

<div class="topic-metadata">

**Author:** [@minetest2048](https://discourse.julialang.org/u/minetest2048)\
**Replies:** 2\
**Last updated:** [March 3, 2023, 9:35am UTC](https://discourse.julialang.org/t/how-to-make-app-using-packagecompiler-fully-offline/95482 "2023-03-03T09:35:44Z")

</div>

When I run an app using PackageCompiler it somehow downloaded MKL at first startup: byakuya@ifrit-hpc ~/a/bin\> ./acq\_prod Downloaded artifact: MKL Downloaded artifact: MKL My project.toml is this: name = "acq\_pro…

---

## [Returs the value of a variable](https://discourse.julialang.org/t/returs-the-value-of-a-variable/95487)

<div class="topic-metadata">

**Author:** [@Amine](https://discourse.julialang.org/u/Amine)\
**Replies:** 1\
**Last updated:** [March 3, 2023, 9:24am UTC](https://discourse.julialang.org/t/returs-the-value-of-a-variable/95487 "2023-03-03T09:24:12Z")

</div>

Hey guys, I am havijg small trouble with my script if you can help, I have a function that calculates angles and i want to use one of these angles “θtT” as an argument of this same function in the second par of my code …

---

## [Julia and kitty terminal integration](https://discourse.julialang.org/t/julia-and-kitty-terminal-integration/95368)

<div class="topic-metadata">

**Author:** [@HanD](https://discourse.julialang.org/u/HanD)\
**Replies:** 4\
**Last updated:** [March 3, 2023, 8:26am UTC](https://discourse.julialang.org/t/julia-and-kitty-terminal-integration/95368 "2023-03-03T08:26:39Z")

</div>

Hello all! This is not a question, rather sharing a solution I couldn’t find readily available. I recently started using the kitty terminal, and I like it a lot (this is not an official endorsement). One of the many gr…

---

## [User/Console Input (read, readline, input)](https://discourse.julialang.org/t/user-console-input-read-readline-input/15031)

<div class="topic-metadata">

**Author:** [@Debianista](https://discourse.julialang.org/u/Debianista)\
**Replies:** 26\
**Last updated:** [March 3, 2023, 8:13am UTC](https://discourse.julialang.org/t/user-console-input-read-readline-input/15031 "2023-03-03T08:13:08Z")

</div>

Apologies for the newbie question. I’m not a coder, but trying to get a little familiar with Julia. I’ve installed it on my MacBook, along with Juno and Atom. From what I’ve been able to find, I should be able to get i…

---

## [Julia multithreading is running slower than serial, can someone please explain why...?](https://discourse.julialang.org/t/julia-multithreading-is-running-slower-than-serial-can-someone-please-explain-why/95430)

<div class="topic-metadata">

**Author:** [@nethaji8](https://discourse.julialang.org/u/nethaji8)\
**Replies:** 15\
**Last updated:** [March 3, 2023, 8:07am UTC](https://discourse.julialang.org/t/julia-multithreading-is-running-slower-than-serial-can-someone-please-explain-why/95430 "2023-03-03T08:07:32Z")

</div>

I am trying to parallelize an algorithm which looks like this I initialized a vector of vectors(50000\*1000), in the loop I shifted a random element from an odd-numbered vector into an adjacent even vector at a random pl…

---

## [Fastest Julia startup challenge/smallest sysimage](https://discourse.julialang.org/t/fastest-julia-startup-challenge-smallest-sysimage/95389)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 8\
**Last updated:** [March 3, 2023, 6:34am UTC](https://discourse.julialang.org/t/fastest-julia-startup-challenge-smallest-sysimage/95389 "2023-03-03T06:34:44Z")

</div>

@vchuravy or anyone who would like to help in the challenge. sys.so shrinks from 173M to 96M With julia --startup-file=no startup time improves to 77ms from 127ms on my machine That’s 39% faster startup, with a 44…

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

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