# Latest

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

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

**Page:** 992

---

## [How download file with Stipple (Genie)](https://discourse.julialang.org/t/how-download-file-with-stipple-genie/83760)

<div class="topic-metadata">

**Author:** [@Rafael\_Brus](https://discourse.julialang.org/u/Rafael_Brus)\
**Replies:** 0\
**Last updated:** [July 5, 2022, 12:28am UTC](https://discourse.julialang.org/t/how-download-file-with-stipple-genie/83760 "2022-07-05T00:28:05Z")

</div>

Does anyone know how?

---

## [Timing 1.9 WAS (mistaken): Hang on 1.6.6, 1.7.0, julia-1.8.0-beta3 and 1.9](https://discourse.julialang.org/t/timing-1-9-was-mistaken-hang-on-1-6-6-1-7-0-julia-1-8-0-beta3-and-1-9/83752)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 7\
**Last updated:** [July 5, 2022, 12:07am UTC](https://discourse.julialang.org/t/timing-1-9-was-mistaken-hang-on-1-6-6-1-7-0-julia-1-8-0-beta3-and-1-9/83752 "2022-07-05T00:07:58Z")

</div>

EDIT: @rssdev1 it’s obvious, in hindsight, that your test code had 1/4 (for 15 sec.) change of failing! Nothing to do with memory/GC or the new option, which is great! And thanks for fixing the test code now in the PR. W…

---

## [Hard to beat Numba / JAX loop for generating Mandelbrot](https://discourse.julialang.org/t/hard-to-beat-numba-jax-loop-for-generating-mandelbrot/82725)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 61\
**Last updated:** [June 30, 2022, 4:03am UTC](https://discourse.julialang.org/t/hard-to-beat-numba-jax-loop-for-generating-mandelbrot/82725 "2022-06-30T04:03:53Z")

</div>

find the numba code in: mandelbrot-on-all-accelerators.ipynb · GitHub under title “Numba: imperative in a compiled subset of Python”, on my laptop, the numba code reports: In \[30\]: %%timeit ...: run\_numba(2000, 3000…

---

## [LanguageServer.jl does not find my own modules](https://discourse.julialang.org/t/languageserver-jl-does-not-find-my-own-modules/73683)

<div class="topic-metadata">

**Author:** [@jlbosse](https://discourse.julialang.org/u/jlbosse)\
**Replies:** 2\
**Last updated:** [July 4, 2022, 9:06pm UTC](https://discourse.julialang.org/t/languageserver-jl-does-not-find-my-own-modules/73683 "2022-07-04T21:06:28Z")

</div>

I got the LanguageServer.jl mostly working in neovim with neovim/nvim-lspconfig. The only thing that is not working, is that I get a “Missing reference” for all my own modules (i.e. those not in packages installed via Pk…

---

## [Using Graphs to determine parallel order of execution for dependencies](https://discourse.julialang.org/t/using-graphs-to-determine-parallel-order-of-execution-for-dependencies/83757)

<div class="topic-metadata">

**Author:** [@Jon\_Barker](https://discourse.julialang.org/u/Jon_Barker)\
**Replies:** 2\
**Last updated:** [July 4, 2022, 8:32pm UTC](https://discourse.julialang.org/t/using-graphs-to-determine-parallel-order-of-execution-for-dependencies/83757 "2022-07-04T20:32:26Z")

</div>

Hello smart people, I have a list of operations which I want to parallelize the order. To do this, I’m using a graph of dependencies. However I’m stuck at what to do next. I found a nice SO post that explains it well, h…

---

## [Errors when trying to compute hessian of flux neural net and jacobian of jacobian with zygote](https://discourse.julialang.org/t/errors-when-trying-to-compute-hessian-of-flux-neural-net-and-jacobian-of-jacobian-with-zygote/83631)

<div class="topic-metadata">

**Author:** [@dnajera](https://discourse.julialang.org/u/dnajera)\
**Replies:** 1\
**Last updated:** [July 4, 2022, 8:31pm UTC](https://discourse.julialang.org/t/errors-when-trying-to-compute-hessian-of-flux-neural-net-and-jacobian-of-jacobian-with-zygote/83631 "2022-07-04T20:31:11Z")

</div>

Hi, I’m trying to translate some of my code in Jax over to Julia and running into some errors when trying to use Zygote with Flux neural networks. I have two problems: I get an error when trying to compute the Hessian…

---

## [Delay Differential Equations Networks with different delay per edge](https://discourse.julialang.org/t/delay-differential-equations-networks-with-different-delay-per-edge/69787)

<div class="topic-metadata">

**Author:** [@Ger](https://discourse.julialang.org/u/Ger)\
**Replies:** 38\
**Last updated:** [July 4, 2022, 5:28pm UTC](https://discourse.julialang.org/t/delay-differential-equations-networks-with-different-delay-per-edge/69787 "2022-07-04T17:28:11Z")

</div>

Hi everyone! While Julia-evangelizing (as usual) in my research group, in order to encourage them to move to Julia I offered to convert some of their Python codes for solving a network of Kuramoto oscillators with delay …

---

## [JET is unhappy with broadcast assigning a matrix to a submatrix, rooted in \`abstractarray.jl\`](https://discourse.julialang.org/t/jet-is-unhappy-with-broadcast-assigning-a-matrix-to-a-submatrix-rooted-in-abstractarray-jl/83750)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 0\
**Last updated:** [July 4, 2022, 4:34pm UTC](https://discourse.julialang.org/t/jet-is-unhappy-with-broadcast-assigning-a-matrix-to-a-submatrix-rooted-in-abstractarray-jl/83750 "2022-07-04T16:34:13Z")

</div>

This seems like a pretty innocent piece of code but JET reports a possible issue. julia\> function f1(n) # Vectors work fine m = zeros(2n) sub = zeros(n) m\[n+1:2n\] .= sub m …

---

## [Auto-update of Julia (apps) and other languages](https://discourse.julialang.org/t/auto-update-of-julia-apps-and-other-languages/83746)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 0\
**Last updated:** [July 4, 2022, 3:32pm UTC](https://discourse.julialang.org/t/auto-update-of-julia-apps-and-other-languages/83746 "2022-07-04T15:32:24Z")

</div>

I’m aware of juliaup, but I’m thinking, is there a way to auto-update a Julia app (e.g. one made with PackageCompiler.jl)? I was curious what’s available for other languages, e.g. MATLAB we compare too, and Python: htt…

---

## [Correct Way to Compose ReverseDiff and ForwardDiff](https://discourse.julialang.org/t/correct-way-to-compose-reversediff-and-forwarddiff/83708)

<div class="topic-metadata">

**Author:** [@RS-Coop](https://discourse.julialang.org/u/RS-Coop)\
**Replies:** 8\
**Last updated:** [July 4, 2022, 3:22pm UTC](https://discourse.julialang.org/t/correct-way-to-compose-reversediff-and-forwarddiff/83708 "2022-07-04T15:22:45Z")

</div>

I am trying to use ReverseDiff.jl and ForwardDiff.jl as a mixed mode AD approach to computing a Hessian vector product. I am using the following function: import ForwardDiff as fdiff import ReverseDiff as rdiff functio…

---

## [LightGraphs.jl Transition](https://discourse.julialang.org/t/lightgraphs-jl-transition/69526)

<div class="topic-metadata">

**Author:** [@jpfairbanks](https://discourse.julialang.org/u/jpfairbanks)\
**Replies:** 73\
**Last updated:** [July 4, 2022, 12:20pm UTC](https://discourse.julialang.org/t/lightgraphs-jl-transition/69526 "2022-07-04T12:20:39Z")

</div>

Since Jan 21, 2015 @sbromberger has been leading the LightGraphs development to build a correct, flexible, and performant graph analytics toolkit. I joined the project on March 3, 2015 when I needed to isolate the maxima…

---

## [Social Force equations in agents.jl](https://discourse.julialang.org/t/social-force-equations-in-agents-jl/82622)

<div class="topic-metadata">

**Author:** [@Fatima](https://discourse.julialang.org/u/Fatima)\
**Replies:** 2\
**Last updated:** [July 4, 2022, 11:17am UTC](https://discourse.julialang.org/t/social-force-equations-in-agents-jl/82622 "2022-07-04T11:17:24Z")

</div>

Hello, I’m new to agents.jl and am planning on creating an agent based model for an evacuation simulation that integrates the impacts of psychological factors on agent velocity. Does the agents.jl package utilize the soc…

---

## [Retain editable text on saving to PDF, Plots-GR](https://discourse.julialang.org/t/retain-editable-text-on-saving-to-pdf-plots-gr/83609)

<div class="topic-metadata">

**Author:** [@iabraham](https://discourse.julialang.org/u/iabraham)\
**Replies:** 4\
**Last updated:** [July 4, 2022, 11:15am UTC](https://discourse.julialang.org/t/retain-editable-text-on-saving-to-pdf-plots-gr/83609 "2022-07-04T11:15:59Z")

</div>

This was already posted here and I am not sure if cross posting is allowed, but this community seems much more active. I am trying to save some figures I made in Julia (Plots package, GR backend) to PDFs and I love the…

---

## [ANN: SymbolicControlSystems.jl](https://discourse.julialang.org/t/ann-symboliccontrolsystems-jl/83733)

<div class="topic-metadata">

**Author:** [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Replies:** 0\
**Last updated:** [July 4, 2022, 9:09am UTC](https://discourse.julialang.org/t/ann-symboliccontrolsystems-jl/83733 "2022-07-04T09:09:14Z")

</div>

SymbolicControlSystems.jl is a newly registered package in the JuliaControl org that Makes it easier to work with control systems with symbolic coefficients Write C-code for your controller or filter We currently supp…

---

## [How to use findmax!?](https://discourse.julialang.org/t/how-to-use-findmax/83723)

<div class="topic-metadata">

**Author:** [@Raymond](https://discourse.julialang.org/u/Raymond)\
**Replies:** 3\
**Last updated:** [July 4, 2022, 9:03am UTC](https://discourse.julialang.org/t/how-to-use-findmax/83723 "2022-07-04T09:03:21Z")

</div>

Dear all, Can you give me an example of how to use findmax!?

---

## [Mathworks' Matlab vs Python over time](https://discourse.julialang.org/t/mathworks-matlab-vs-python-over-time/83612)

<div class="topic-metadata">

**Author:** [@minetest2048](https://discourse.julialang.org/u/minetest2048)\
**Replies:** 6\
**Last updated:** [July 4, 2022, 9:00am UTC](https://discourse.julialang.org/t/mathworks-matlab-vs-python-over-time/83612 "2022-07-04T09:00:25Z")

</div>

Compare 2019: where they try to bash python as hard as possible with now: where they accept the current reality

---

## [Is it possible to use Julia to speed up for loop against Python?](https://discourse.julialang.org/t/is-it-possible-to-use-julia-to-speed-up-for-loop-against-python/83596)

<div class="topic-metadata">

**Author:** [@UCDuan](https://discourse.julialang.org/u/UCDuan)\
**Replies:** 5\
**Last updated:** [July 4, 2022, 7:00am UTC](https://discourse.julialang.org/t/is-it-possible-to-use-julia-to-speed-up-for-loop-against-python/83596 "2022-07-04T07:00:41Z")

</div>

Hi all, I’m new to Julia and want to do gradient-based optimization with a time-related model. The model is pretty simple and here is a link to the python version: tonic/snow17.py at master · UW-Hydro/tonic · GitHub My…

---

## [How to iterate all block statements in IRCode?](https://discourse.julialang.org/t/how-to-iterate-all-block-statements-in-ircode/83701)

<div class="topic-metadata">

**Author:** [@dfdx](https://discourse.julialang.org/u/dfdx)\
**Replies:** 5\
**Last updated:** [July 4, 2022, 6:29am UTC](https://discourse.julialang.org/t/how-to-iterate-all-block-statements-in-ircode/83701 "2022-07-04T06:29:27Z")

</div>

Say, I have an instance of IRCode like this: 7 1 ─ %1 = Main.bar(\_2)::Tuple{Float64, Float64} │ │ %2 = Base.indexed\_iterate(%1, 1)::PartialStruct(Tuple{Float64, Int64}, Any\[Float…

---

## [Sniffing the return type](https://discourse.julialang.org/t/sniffing-the-return-type/83666)

<div class="topic-metadata">

**Author:** [@NicholasWMRitchie](https://discourse.julialang.org/u/NicholasWMRitchie)\
**Replies:** 38\
**Last updated:** [July 4, 2022, 6:19am UTC](https://discourse.julialang.org/t/sniffing-the-return-type/83666 "2022-07-04T06:19:37Z")

</div>

I’d like to be able to programmatically determine the return type of a closure. The closure is explicitly declared such that it has no arguments and can only possibly return one type. Minimal example: julia\> f() = "Th…

---

## [\[ANN\] A new lightning fast package for data manipulation in pure Julia](https://discourse.julialang.org/t/ann-a-new-lightning-fast-package-for-data-manipulation-in-pure-julia/78197)

<div class="topic-metadata">

**Author:** [@sl-solution](https://discourse.julialang.org/u/sl-solution)\
**Replies:** 94\
**Last updated:** [July 4, 2022, 5:31am UTC](https://discourse.julialang.org/t/ann-a-new-lightning-fast-package-for-data-manipulation-in-pure-julia/78197 "2022-07-04T05:31:40Z")

</div>

I am excited to announce a new package for data manipulation in pure Julia. Introduction InMemoryDatasets.jl is a multi-threaded package for data manipulation and is designed for Julia 1.6+ (64bit OS). The core computat…

---

## [Vectors of vector parameters in Turing.jl?](https://discourse.julialang.org/t/vectors-of-vector-parameters-in-turing-jl/83645)

<div class="topic-metadata">

**Author:** [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Replies:** 2\
**Last updated:** [July 4, 2022, 4:26am UTC](https://discourse.julialang.org/t/vectors-of-vector-parameters-in-turing-jl/83645 "2022-07-04T04:26:28Z")

</div>

I want to run a Bayesian model in which there’s an overall US average behavior, which is the mean for a set of regional behaviors, and that is the mean for all the states in the region… the behavior is defined in terms o…

---

## [Interpreting \`JET\` warnings on a simple \`Polyester\` multithreaded loop](https://discourse.julialang.org/t/interpreting-jet-warnings-on-a-simple-polyester-multithreaded-loop/83681)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 7\
**Last updated:** [July 4, 2022, 3:12am UTC](https://discourse.julialang.org/t/interpreting-jet-warnings-on-a-simple-polyester-multithreaded-loop/83681 "2022-07-04T03:12:23Z")

</div>

Polyester seems to be one of the bigger sources of TTFX in some of my libraries. It is similarly the main source of warnings when using JET. Below is a very simple multi-threaded loop that causes a large number of JET wa…

---

## [Is \* a ternary/quarternary operator in 1.7+, or am I missing something that was there before?](https://discourse.julialang.org/t/is-a-ternary-quarternary-operator-in-1-7-or-am-i-missing-something-that-was-there-before/83714)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 4\
**Last updated:** [July 4, 2022, 2:10am UTC](https://discourse.julialang.org/t/is-a-ternary-quarternary-operator-in-1-7-or-am-i-missing-something-that-was-there-before/83714 "2022-07-04T02:10:34Z")

</div>

So I noticed this bit in matmul.jl # Three-argument \* """ \*(A, B::AbstractMatrix, C) A \* B \* C \* D Chained multiplication of 3 or 4 matrices is done in the most efficient sequence, based on the sizes of the arra…

---

## [Test if Julia is installed](https://discourse.julialang.org/t/test-if-julia-is-installed/83703)

<div class="topic-metadata">

**Author:** [@s3alfisc](https://discourse.julialang.org/u/s3alfisc)\
**Replies:** 4\
**Last updated:** [July 4, 2022, 1:19am UTC](https://discourse.julialang.org/t/test-if-julia-is-installed/83703 "2022-07-04T01:19:11Z")

</div>

Hi all, Is there a simple & OS-independent way to check if Julia is installed? Is it further possible to check ‘on-the-fly’ which Julia version is installed? My use case: I am running tests of an R package against a Ju…

---

## [Linear Algebra Application: Warps and Morphs in Julia](https://discourse.julialang.org/t/linear-algebra-application-warps-and-morphs-in-julia/83716)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 0\
**Last updated:** [July 4, 2022, 12:55am UTC](https://discourse.julialang.org/t/linear-algebra-application-warps-and-morphs-in-julia/83716 "2022-07-04T00:55:09Z")

</div>

Hi all, I am reading Linear Algebra book and I am wondering, is Julia capable of doing warps and morphs? The example is attached (a picture of a projection how someone will get old). Anyone ever done similar thing here…

---

## [Benchmarking Dict against C++ std::unordered\_map](https://discourse.julialang.org/t/benchmarking-dict-against-c-std-unordered-map/83669)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 6\
**Last updated:** [July 3, 2022, 11:27pm UTC](https://discourse.julialang.org/t/benchmarking-dict-against-c-std-unordered-map/83669 "2022-07-03T23:27:12Z")

</div>

I benchmarked Julia’s dictionary insertion and deletion with the following code, function test\_julia\_dict(n::Int64) m = Dict{Int, Int}() for i = 1:n m\[5\*i\] = i end for i = 1:n-1 delete!(m…

---

## [IJulia notebook(detached=true) no longer working: Access to the file was denied](https://discourse.julialang.org/t/ijulia-notebook-detached-true-no-longer-working-access-to-the-file-was-denied/83577)

<div class="topic-metadata">

**Author:** [@mocalvao](https://discourse.julialang.org/u/mocalvao)\
**Replies:** 1\
**Last updated:** [July 3, 2022, 9:41pm UTC](https://discourse.julialang.org/t/ijulia-notebook-detached-true-no-longer-working-access-to-the-file-was-denied/83577 "2022-07-03T21:41:54Z")

</div>

Hi there, I have recently upgraded my Ubuntu release from 21.10 to 22.04. Previously my Julia workflow used to run seamlessly, particularly the launching of IJulia notebooks from within the Julia prompt itself. Now it n…

---

## [Vectorized statistics.jl](https://discourse.julialang.org/t/vectorized-statistics-jl/83506)

<div class="topic-metadata">

**Author:** [@djholiver](https://discourse.julialang.org/u/djholiver)\
**Replies:** 3\
**Last updated:** [July 3, 2022, 7:36pm UTC](https://discourse.julialang.org/t/vectorized-statistics-jl/83506 "2022-07-03T19:36:46Z")

</div>

Hi, I came across VectorizedStatistics.jl but cant see it mentioned in package announcements (although it’s available in the general registry). It appears to be an absolutely incredible leap in performance (for some use…

---

## [Julia call c struct function](https://discourse.julialang.org/t/julia-call-c-struct-function/83699)

<div class="topic-metadata">

**Author:** [@kongdd](https://discourse.julialang.org/u/kongdd)\
**Replies:** 2\
**Last updated:** [July 3, 2022, 7:06pm UTC](https://discourse.julialang.org/t/julia-call-c-struct-function/83699 "2022-07-03T19:06:25Z")

</div>

I need to interface the C language update\_leaf function with Julia. But the current script has memory error. // leaf.c // gcc -shared -fPIC -o leaf.o leaf.c #include \<stdio.h\> /\*\* second solution \*/ typedef struct { …

---

## [How do I annotate datapoints](https://discourse.julialang.org/t/how-do-i-annotate-datapoints/83709)

<div class="topic-metadata">

**Author:** [@Chiem](https://discourse.julialang.org/u/Chiem)\
**Replies:** 3\
**Last updated:** [July 3, 2022, 7:05pm UTC](https://discourse.julialang.org/t/how-do-i-annotate-datapoints/83709 "2022-07-03T19:05:51Z")

</div>

Hello everyone, I have been using the Makie.jl package (more specifically CairoMakie) for the creation of figures for the project I am working on. I am currently creating a scatterplot and would like to annotate my datap…

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

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