# Latest

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

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

**Page:** 496

---

## [Fatal Python error when running Julia on mac m1 VS Code](https://discourse.julialang.org/t/fatal-python-error-when-running-julia-on-mac-m1-vs-code/109540)

<div class="topic-metadata">

**Author:** [@Salvator](https://discourse.julialang.org/u/Salvator)\
**Replies:** 9\
**Last updated:** [February 1, 2024, 7:27pm UTC](https://discourse.julialang.org/t/fatal-python-error-when-running-julia-on-mac-m1-vs-code/109540 "2024-02-01T19:27:58Z")

</div>

Hi everyone! I’m kinda used to Julia given some courses on stochastic simulations and I have never got a problem. Now I’m struggling with an error which makes the kernel to crash: I’m running Julia1.6.3 on VS Code and w…

---

## [How to install properly julia](https://discourse.julialang.org/t/how-to-install-properly-julia/109587)

<div class="topic-metadata">

**Author:** [@Sparsetacus](https://discourse.julialang.org/u/Sparsetacus)\
**Replies:** 7\
**Last updated:** [February 1, 2024, 7:00pm UTC](https://discourse.julialang.org/t/how-to-install-properly-julia/109587 "2024-02-01T19:00:40Z")

</div>

Hi all, I have a question on how to install julia on linux : what is the best way between : juliaup with the command curl -fsSL https://install.julialang.org | sh ? Where does this command install julia ? cloning …

---

## [Why does the \`Irrational\` type exist](https://discourse.julialang.org/t/why-does-the-irrational-type-exist/109586)

<div class="topic-metadata">

**Author:** [@Alseidon](https://discourse.julialang.org/u/Alseidon)\
**Replies:** 1\
**Last updated:** [February 1, 2024, 5:56pm UTC](https://discourse.julialang.org/t/why-does-the-irrational-type-exist/109586 "2024-02-01T17:56:32Z")

</div>

I recently stumbled upon an error writing x-\>zeros(typeof(x), (2, 2)), when I applied this to π. I quickly found that this was related to the Irrational type, which seems to be kind of a headache: Zero(π) and one(π) are …

---

## [Computing the Action of the Resolvent Operator (Stationary PDE)](https://discourse.julialang.org/t/computing-the-action-of-the-resolvent-operator-stationary-pde/109585)

<div class="topic-metadata">

**Author:** [@DrPapa](https://discourse.julialang.org/u/DrPapa)\
**Replies:** 0\
**Last updated:** [February 1, 2024, 5:17pm UTC](https://discourse.julialang.org/t/computing-the-action-of-the-resolvent-operator-stationary-pde/109585 "2024-02-01T17:17:09Z")

</div>

I am interested in computing the action of the resolvent operator R\_A = \\left(zI-A\\right)^{-1} at a range of z\\in\\mathbb{C}, where Ag= F\\cdot\\nabla g, and F:\\mathbb{R}^n\\rightarrow\\mathbb{R}^n Neumman boundary con…

---

## [Contour lines on a mesh?](https://discourse.julialang.org/t/contour-lines-on-a-mesh/109528)

<div class="topic-metadata">

**Author:** [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Replies:** 0\
**Last updated:** [January 31, 2024, 5:41pm UTC](https://discourse.julialang.org/t/contour-lines-on-a-mesh/109528 "2024-01-31T17:41:03Z")

</div>

Hi all, would anyone know if there is a way to plot contour lines on a Makie mesh ? Something like contour3d · Makie, but more general. With the application I have contour3d errors on Found duplicate x/y coordinates so…

---

## [How In Literate add a code chunk and do not run it](https://discourse.julialang.org/t/how-in-literate-add-a-code-chunk-and-do-not-run-it/109508)

<div class="topic-metadata">

**Author:** [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Replies:** 4\
**Last updated:** [February 1, 2024, 3:40pm UTC](https://discourse.julialang.org/t/how-in-literate-add-a-code-chunk-and-do-not-run-it/109508 "2024-02-01T15:40:55Z")

</div>

I need something like eval=FALSE from R Markdwon. Currently I have a documentation where chunk of code when run will change my environment producing errors. So I need it to look like a chunk of code but not run. I use …

---

## [Sum Types question](https://discourse.julialang.org/t/sum-types-question/109576)

<div class="topic-metadata">

**Author:** [@Larbino1](https://discourse.julialang.org/u/Larbino1)\
**Replies:** 1\
**Last updated:** [February 1, 2024, 3:29pm UTC](https://discourse.julialang.org/t/sum-types-question/109576 "2024-02-01T15:29:19Z")

</div>

I am considering using sum types for my package, and I have a question about the interface. Say I have a sum type of fruits, Apple Orange, and Pear. I have 3 methods consume(::Apple), consume(::Orange), consume(::Pear). …

---

## [Using unix datetime as String](https://discourse.julialang.org/t/using-unix-datetime-as-string/59994)

<div class="topic-metadata">

**Author:** [@rikh](https://discourse.julialang.org/u/rikh)\
**Replies:** 5\
**Last updated:** [April 25, 2021, 5:42pm UTC](https://discourse.julialang.org/t/using-unix-datetime-as-string/59994 "2021-04-25T17:42:07Z")

</div>

I’m trying to pass a unix datetime to a server but am unsure how to avoid the scientific notation: julia\> using Dates julia\> t = datetime2unix(now()) 1.619369013568e9 julia\> "$t" "1.619369013568e9" Instead, the serve…

---

## [Compute pairwise distances (Distances.jl)](https://discourse.julialang.org/t/compute-pairwise-distances-distances-jl/54297)

<div class="topic-metadata">

**Author:** [@bhaveshshrimali](https://discourse.julialang.org/u/bhaveshshrimali)\
**Replies:** 9\
**Last updated:** [February 1, 2024, 2:38pm UTC](https://discourse.julialang.org/t/compute-pairwise-distances-distances-jl/54297 "2024-02-01T14:38:22Z")

</div>

While trying to port some of my code from Python (NumPy + Numba) to Julia, I noticed that the pairwise distance evaluation is at times slightly slower when using Distances.jl. It is a pretty trivial piece of code that I …

---

## [Keyboard shortcut to reset zoom and pan on a Makie plot](https://discourse.julialang.org/t/keyboard-shortcut-to-reset-zoom-and-pan-on-a-makie-plot/76876)

<div class="topic-metadata">

**Author:** [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Replies:** 6\
**Last updated:** [February 1, 2024, 1:53pm UTC](https://discourse.julialang.org/t/keyboard-shortcut-to-reset-zoom-and-pan-on-a-makie-plot/76876 "2024-02-01T13:53:59Z")

</div>

Is there a keyboard shortcut to reset the zoom and pan on a Makie plot?

---

## [Makie - How to insert an Axis3 into a scene so that zooming on a plot is possible?](https://discourse.julialang.org/t/makie-how-to-insert-an-axis3-into-a-scene-so-that-zooming-on-a-plot-is-possible/78584)

<div class="topic-metadata">

**Author:** [@Bob\_Bass](https://discourse.julialang.org/u/Bob_Bass)\
**Replies:** 8\
**Last updated:** [February 1, 2024, 1:33pm UTC](https://discourse.julialang.org/t/makie-how-to-insert-an-axis3-into-a-scene-so-that-zooming-on-a-plot-is-possible/78584 "2024-02-01T13:33:48Z")

</div>

Hi! I can make a basic scene that lets me pan and zoom the way I want to like so: using GLMakie scene = Scene() cam3d!(scene; rotation\_center=:lookat, projectiontype = :Orthographic, fixed\_axis=:false, zoom\_shift\_look…

---

## [Tools to Analyze Long Julia Compilation Times](https://discourse.julialang.org/t/tools-to-analyze-long-julia-compilation-times/109510)

<div class="topic-metadata">

**Author:** [@Nimrais](https://discourse.julialang.org/u/Nimrais)\
**Replies:** 4\
**Last updated:** [February 1, 2024, 1:17pm UTC](https://discourse.julialang.org/t/tools-to-analyze-long-julia-compilation-times/109510 "2024-02-01T13:17:25Z")

</div>

Could anyone recommend the best tool for analyzing Julia’s compilation process? I’m facing an issue where my code runs quickly, but the compilation time is excessively slow. I’ve looked into generic advice regarding Type…

---

## [Looking for feedback - minimal repo that calls Julia code from Python](https://discourse.julialang.org/t/looking-for-feedback-minimal-repo-that-calls-julia-code-from-python/109571)

<div class="topic-metadata">

**Author:** [@aramend](https://discourse.julialang.org/u/aramend)\
**Replies:** 0\
**Last updated:** [February 1, 2024, 1:09pm UTC](https://discourse.julialang.org/t/looking-for-feedback-minimal-repo-that-calls-julia-code-from-python/109571 "2024-02-01T13:09:44Z")

</div>

Hi all! I have created a minimal repository where a Python API function calls an underlying Julia function and returns the computed result in Python land. If you want to try it, make run should work for you on linux or …

---

## [Warning: Terminal not fully functional with Julia 1.0.5 on Windows](https://discourse.julialang.org/t/warning-terminal-not-fully-functional-with-julia-1-0-5-on-windows/67522)

<div class="topic-metadata">

**Author:** [@martin82](https://discourse.julialang.org/u/martin82)\
**Replies:** 25\
**Last updated:** [September 8, 2021, 7:07pm UTC](https://discourse.julialang.org/t/warning-terminal-not-fully-functional-with-julia-1-0-5-on-windows/67522 "2021-09-08T19:07:11Z")

</div>

Does the repl work?

---

## [Simulation Hackathon Problems](https://discourse.julialang.org/t/simulation-hackathon-problems/109562)

<div class="topic-metadata">

**Author:** [@Fourier](https://discourse.julialang.org/u/Fourier)\
**Replies:** 5\
**Last updated:** [February 1, 2024, 12:10pm UTC](https://discourse.julialang.org/t/simulation-hackathon-problems/109562 "2024-02-01T12:10:54Z")

</div>

I am organizing a 3 day hackathon that focuses on Simulations and nummerical modelling at ETH Zurich. We are still looking for cool and interresting problems, does anyone have an idea?

---

## [LinearAlgebra.inv! not exported, in-place inversion](https://discourse.julialang.org/t/linearalgebra-inv-not-exported-in-place-inversion/109563)

<div class="topic-metadata">

**Author:** [@AdaemmerP](https://discourse.julialang.org/u/AdaemmerP)\
**Replies:** 5\
**Last updated:** [February 1, 2024, 12:00pm UTC](https://discourse.julialang.org/t/linearalgebra-inv-not-exported-in-place-inversion/109563 "2024-02-01T12:00:47Z")

</div>

Why is inv!() not exported from LinearAlgebra? What is the fastest and most efficient way to invert a Matrix? I have to invert (I - A) where I is the identity Matrix. In some cases A may be sparse. Imat = I(10) Imatx =…

---

## [Build julia-debug on a Raspberry Pi](https://discourse.julialang.org/t/build-julia-debug-on-a-raspberry-pi/109556)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 4\
**Last updated:** [February 1, 2024, 12:00pm UTC](https://discourse.julialang.org/t/build-julia-debug-on-a-raspberry-pi/109556 "2024-02-01T12:00:15Z")

</div>

I’m running into sporadic segfaults when using GitHub - JuliaRobotics/AprilTags.jl: Using Apriltags in Julia, and after some (extensive) tinkering with @johanter he wisely suggested I try to run my segfault-causing scrip…

---

## [Development package dependencies](https://discourse.julialang.org/t/development-package-dependencies/109557)

<div class="topic-metadata">

**Author:** [@JoseKling](https://discourse.julialang.org/u/JoseKling)\
**Replies:** 7\
**Last updated:** [February 1, 2024, 11:44am UTC](https://discourse.julialang.org/t/development-package-dependencies/109557 "2024-02-01T11:44:51Z")

</div>

Hello all, I am currently developing a package, we can call it A, that depends on a second package B, which is also under development. In package A’s environment I ran \]dev B to add B as a dependency of A. After that B…

---

## [How do I delete all installed packages on Juliaup (1.10)?](https://discourse.julialang.org/t/how-do-i-delete-all-installed-packages-on-juliaup-1-10/109554)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 2\
**Last updated:** [February 1, 2024, 10:48am UTC](https://discourse.julialang.org/t/how-do-i-delete-all-installed-packages-on-juliaup-1-10/109554 "2024-02-01T10:48:45Z")

</div>

Hello! I am on Windows 10 and wish to delete all packages and start from clean. This includes artifacts etc. The reason I want do so is that I am having issues with updating CUDA.jl, Pkg.update is not working (I am usin…

---

## [How to actually take hessian in Zygote](https://discourse.julialang.org/t/how-to-actually-take-hessian-in-zygote/109531)

<div class="topic-metadata">

**Author:** [@KapilKhanal](https://discourse.julialang.org/u/KapilKhanal)\
**Replies:** 1\
**Last updated:** [February 1, 2024, 9:01am UTC](https://discourse.julialang.org/t/how-to-actually-take-hessian-in-zygote/109531 "2024-02-01T09:01:42Z")

</div>

for a simple function like this, why can’t hessian(((a, b),) -\> a\[1\]\*b\[2\] + a\[2\]\*b\[1\], \[\[2,1\], \[3,4\]\]) It throws BoundsError: attempt to access ForwardDiff.Dual{Nothing, Any, 2} at index \[2\] biut for hessian(((a, b,c…

---

## [Julia 1.10 and Ensemble Summary command error](https://discourse.julialang.org/t/julia-1-10-and-ensemble-summary-command-error/109482)

<div class="topic-metadata">

**Author:** [@Nick1](https://discourse.julialang.org/u/Nick1)\
**Replies:** 5\
**Last updated:** [February 1, 2024, 3:24am UTC](https://discourse.julialang.org/t/julia-1-10-and-ensemble-summary-command-error/109482 "2024-02-01T03:24:09Z")

</div>

I updated to Julia 1.10 and was checking my past codes. Everything works fine, except for the EnsembleSummary function. I get the following error: ERROR: type NamedTuple has no field u The previous Julia version was …

---

## [Can \`startup.jl\` set different startup options for different Julia installations?](https://discourse.julialang.org/t/can-startup-jl-set-different-startup-options-for-different-julia-installations/109507)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 17\
**Last updated:** [February 1, 2024, 3:41am UTC](https://discourse.julialang.org/t/can-startup-jl-set-different-startup-options-for-different-julia-installations/109507 "2024-02-01T03:41:01Z")

</div>

Two different versions of Julia are installed on Linux but there is only one ~/.julia/config/startup.jl. I want to set different startup options for the two versions, can I? And how? Thanks!

---

## [This month in Julia world - 2024-01](https://discourse.julialang.org/t/this-month-in-julia-world-2024-01/109549)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 0\
**Last updated:** [February 1, 2024, 2:50am UTC](https://discourse.julialang.org/t/this-month-in-julia-world-2024-01/109549 "2024-02-01T02:50:10Z")

</div>

A monthly newsletter, mostly on julia internals, digestible for casual observers. A biased, incomplete, editorialized list of what I found interesting this month, with contributions from the community. “Internals” Fora …

---

## [Sparse constraints with COSMO.jl](https://discourse.julialang.org/t/sparse-constraints-with-cosmo-jl/109537)

<div class="topic-metadata">

**Author:** [@fimiller](https://discourse.julialang.org/u/fimiller)\
**Replies:** 3\
**Last updated:** [February 1, 2024, 2:38am UTC](https://discourse.julialang.org/t/sparse-constraints-with-cosmo-jl/109537 "2024-02-01T02:38:48Z")

</div>

I am looking to solve a very large but sparse optimization problem using COSMO.jl. When creating my constraint set COSMO.Constraint(sparse(stack(A\_i\_vecs)), sparsevec(p.B), COSMO.PsdCone) where A = sparse(stack(A\_i\_vec…

---

## [Solving ODEdifferential equations where each time point is in triplicate](https://discourse.julialang.org/t/solving-odedifferential-equations-where-each-time-point-is-in-triplicate/109466)

<div class="topic-metadata">

**Author:** [@adelpinoherrera](https://discourse.julialang.org/u/adelpinoherrera)\
**Replies:** 1\
**Last updated:** [February 1, 2024, 1:54am UTC](https://discourse.julialang.org/t/solving-odedifferential-equations-where-each-time-point-is-in-triplicate/109466 "2024-02-01T01:54:04Z")

</div>

I want to be able to calculate the exponential growth rate of some experimental data collected everyday for 11 days in triplicate. The experimental data can be set up in any way but I have cell counts of every day for 11…

---

## [JuliaCon 2024 Earth and Climate Science Minisymposium](https://discourse.julialang.org/t/juliacon-2024-earth-and-climate-science-minisymposium/109409)

<div class="topic-metadata">

**Author:** [@sgering](https://discourse.julialang.org/u/sgering)\
**Replies:** 1\
**Last updated:** [February 1, 2024, 1:48am UTC](https://discourse.julialang.org/t/juliacon-2024-earth-and-climate-science-minisymposium/109409 "2024-02-01T01:48:36Z")

</div>

Do you use Julia and work in the Earth and climate sciences? If so, join us for the minisymposium on “Earth and climate science in Julia: Power to the user” in Eindhoven (Netherlands) 9-13 July! For more information, see…

---

## [GLMakie Runtime Error](https://discourse.julialang.org/t/glmakie-runtime-error/109543)

<div class="topic-metadata">

**Author:** [@Mahnoor\_Pop](https://discourse.julialang.org/u/Mahnoor_Pop)\
**Replies:** 0\
**Last updated:** [February 1, 2024, 12:38am UTC](https://discourse.julialang.org/t/glmakie-runtime-error/109543 "2024-02-01T00:38:53Z")

</div>

Hi all! I’ve created a program using GLMakie that uses sliders and buttons. Everything works when I run the script, though sometimes it can be a little laggy (I presume because I’m generating a new trajectory for a dynam…

---

## [Optimization.jl interface for Turing models](https://discourse.julialang.org/t/optimization-jl-interface-for-turing-models/107473)

<div class="topic-metadata">

**Author:** [@ElOceanografo](https://discourse.julialang.org/u/ElOceanografo)\
**Replies:** 5\
**Last updated:** [February 1, 2024, 12:06am UTC](https://discourse.julialang.org/t/optimization-jl-interface-for-turing-models/107473 "2024-02-01T00:06:28Z")

</div>

I feel like I’ve seen an example somewhere of how to construct an Optimization.OptimizationFunction from a Turing model, but am not finding it at the moment. Can anyone help me find it? Did I imagine this functionality? …

---

## [JuliaCon 2024 Tickets Are Now Available](https://discourse.julialang.org/t/juliacon-2024-tickets-are-now-available/109532)

<div class="topic-metadata">

**Author:** [@rayegun](https://discourse.julialang.org/u/rayegun)\
**Replies:** 1\
**Last updated:** [January 31, 2024, 11:05pm UTC](https://discourse.julialang.org/t/juliacon-2024-tickets-are-now-available/109532 "2024-01-31T23:05:56Z")

</div>

JuliaCon 2024 Early Bird Tickets are now available! Head to JuliaCon.org for more info, or click here for the rest of the announcement.

---

## [Replacing static arrays for use with Enzyme.jl](https://discourse.julialang.org/t/replacing-static-arrays-for-use-with-enzyme-jl/109278)

<div class="topic-metadata">

**Author:** [@jwalker](https://discourse.julialang.org/u/jwalker)\
**Replies:** 10\
**Last updated:** [January 31, 2024, 11:04pm UTC](https://discourse.julialang.org/t/replacing-static-arrays-for-use-with-enzyme-jl/109278 "2024-01-31T23:04:30Z")

</div>

I’m implementing AD in a code that makes use of types built upon SLArray and SArray, and am trying to understand the best way toward converting things so that the code plays well with Enzyme. From my understanding, to w…

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

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