# Latest

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

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

**Page:** 556

---

## [Solving multiple ODE concurrently](https://discourse.julialang.org/t/solving-multiple-ode-concurrently/106084)

<div class="topic-metadata">

**Author:** [@sand2](https://discourse.julialang.org/u/sand2)\
**Replies:** 3\
**Last updated:** [November 13, 2023, 5:46pm UTC](https://discourse.julialang.org/t/solving-multiple-ode-concurrently/106084 "2023-11-13T17:46:58Z")

</div>

Hi, I would like to solve several ODE’s with contribution from a neural network concurrently. I have the following (not working) example. using StableRNGs using ComponentArrays using Zygote, Lux, OrdinaryDiffEq, SciML…

---

## [Using Plots in an extension causes precompile warnings and errors](https://discourse.julialang.org/t/using-plots-in-an-extension-causes-precompile-warnings-and-errors/106159)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 1\
**Last updated:** [November 13, 2023, 5:29pm UTC](https://discourse.julialang.org/t/using-plots-in-an-extension-causes-precompile-warnings-and-errors/106159 "2023-11-13T17:29:55Z")

</div>

In my package with multiple modules have some plot functions for some data types that I am trying to move into extensions to remove plots dependency and allow a Makie option as well. The module extensions which are base…

---

## [Performance issue with multithreaded computation with matrix operations at its heart (Threads.@threads vs. BLAS threads)](https://discourse.julialang.org/t/performance-issue-with-multithreaded-computation-with-matrix-operations-at-its-heart-threads-threads-vs-blas-threads/106043)

<div class="topic-metadata">

**Author:** [@HanD](https://discourse.julialang.org/u/HanD)\
**Replies:** 7\
**Last updated:** [November 13, 2023, 5:00pm UTC](https://discourse.julialang.org/t/performance-issue-with-multithreaded-computation-with-matrix-operations-at-its-heart-threads-threads-vs-blas-threads/106043 "2023-11-13T17:00:05Z")

</div>

While trying to speed up a long computation with chunking more threads on it, I ran into an interesting problem. I found several related threads here, but I couldn’t find a convincing answer, nor a solution to my issue. …

---

## [Julia vs Python developer survey](https://discourse.julialang.org/t/julia-vs-python-developer-survey/106152)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 2\
**Last updated:** [November 13, 2023, 4:35pm UTC](https://discourse.julialang.org/t/julia-vs-python-developer-survey/106152 "2023-11-13T16:35:49Z")

</div>

No prizes for Julia developer surveys ? :wink:

---

## [Theta ticks in polar plots (Plots.jl)?](https://discourse.julialang.org/t/theta-ticks-in-polar-plots-plots-jl/106148)

<div class="topic-metadata">

**Author:** [@lsablon](https://discourse.julialang.org/u/lsablon)\
**Replies:** 1\
**Last updated:** [November 13, 2023, 2:43pm UTC](https://discourse.julialang.org/t/theta-ticks-in-polar-plots-plots-jl/106148 "2023-11-13T14:43:34Z")

</div>

Hello, I couldn’t find an answer in the documentation so here I am. Do you know if it is possible to modify the angular ticks (with a formatter, or directly specifying myself some values e.g. 30° will be ‘Monday’ or so…

---

## [Optimizing dynamical system in a network](https://discourse.julialang.org/t/optimizing-dynamical-system-in-a-network/106034)

<div class="topic-metadata">

**Author:** [@VictorSeven](https://discourse.julialang.org/u/VictorSeven)\
**Replies:** 15\
**Last updated:** [November 13, 2023, 1:35pm UTC](https://discourse.julialang.org/t/optimizing-dynamical-system-in-a-network/106034 "2023-11-13T13:35:02Z")

</div>

Hi, I am trying to integrate a simple dynamical system on a network, which is represented by an adjacency matrix. Note that the network in this case is dense and hence I am using the full matrix for it. Initially I wrot…

---

## [Plot a circle with a given radius with Plots.jl](https://discourse.julialang.org/t/plot-a-circle-with-a-given-radius-with-plots-jl/23295)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 20\
**Last updated:** [November 13, 2023, 1:13pm UTC](https://discourse.julialang.org/t/plot-a-circle-with-a-given-radius-with-plots-jl/23295 "2023-11-13T13:13:30Z")

</div>

Hi, I can’t figure out how to plot circles with given radii. I would like the radius to be given as floats with plots units (not integers). I try to play with markersize but the display sizes do not correspond to xy u…

---

## [Speed up data extraction from large json file](https://discourse.julialang.org/t/speed-up-data-extraction-from-large-json-file/106032)

<div class="topic-metadata">

**Author:** [@TimG](https://discourse.julialang.org/u/TimG)\
**Replies:** 11\
**Last updated:** [November 13, 2023, 10:03am UTC](https://discourse.julialang.org/t/speed-up-data-extraction-from-large-json-file/106032 "2023-11-13T10:03:30Z")

</div>

I’ve downloaded a json file from here containing records of nearly 350,000 National Lottery grants to good causes. I’m pretty new to Julia and even newer to json. The structure of the json is like this (as best I can te…

---

## [Issue with vlines + logscale in Makie?](https://discourse.julialang.org/t/issue-with-vlines-logscale-in-makie/106129)

<div class="topic-metadata">

**Author:** [@Noel\_Araujo](https://discourse.julialang.org/u/Noel_Araujo)\
**Replies:** 1\
**Last updated:** [November 13, 2023, 7:47am UTC](https://discourse.julialang.org/t/issue-with-vlines-logscale-in-makie/106129 "2023-11-13T07:47:11Z")

</div>

Hello, I just want to put an xscale in log10, with a vertical line, here a minimal working example. using GLMakie fig = let x = exp10.( range(-8, -2, length=20) ) y = x fig = Figure(fontsize = 25, resoluti…

---

## [Using Julia to connect to local LLMs](https://discourse.julialang.org/t/using-julia-to-connect-to-local-llms/106137)

<div class="topic-metadata">

**Author:** [@rcheruku](https://discourse.julialang.org/u/rcheruku)\
**Replies:** 0\
**Last updated:** [November 13, 2023, 5:48am UTC](https://discourse.julialang.org/t/using-julia-to-connect-to-local-llms/106137 "2023-11-13T05:48:46Z")

</div>

I found very few examples so far, on the web, so created couple of examples: one for Ollama ( you can download supported HF LLMs on to your Mac/Linux and use it ) Here is the example:

---

## [JuMP: User defined functions with vector inputs and outputs](https://discourse.julialang.org/t/jump-user-defined-functions-with-vector-inputs-and-outputs/106025)

<div class="topic-metadata">

**Author:** [@A\_C](https://discourse.julialang.org/u/A_C)\
**Replies:** 5\
**Last updated:** [November 13, 2023, 4:10am UTC](https://discourse.julialang.org/t/jump-user-defined-functions-with-vector-inputs-and-outputs/106025 "2023-11-13T04:10:13Z")

</div>

In the JuMP documentation it is mentioned that functions with vector inputs and outputs require a workaround. However the following example works: MWEusing JuMP import Ipopt mwe = Model(Ipopt.Optimizer) @variable(mwe,…

---

## [How to calculate distance between two points along the LineString provided](https://discourse.julialang.org/t/how-to-calculate-distance-between-two-points-along-the-linestring-provided/106023)

<div class="topic-metadata">

**Author:** [@Chamika\_Kasun](https://discourse.julialang.org/u/Chamika_Kasun)\
**Replies:** 4\
**Last updated:** [November 12, 2023, 11:11pm UTC](https://discourse.julialang.org/t/how-to-calculate-distance-between-two-points-along-the-linestring-provided/106023 "2023-11-12T23:11:11Z")

</div>

I have a line string and two points with me. I need to understand how to calculate the distance between two points along the provided line string. Also, note that in some cases, the provided points can be the same as the…

---

## [Can we bring dynamically typed languages back into trend?](https://discourse.julialang.org/t/can-we-bring-dynamically-typed-languages-back-into-trend/105333)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 74\
**Last updated:** [November 12, 2023, 10:03pm UTC](https://discourse.julialang.org/t/can-we-bring-dynamically-typed-languages-back-into-trend/105333 "2023-11-12T22:03:05Z")

</div>

Julia is known for being a fast dynamic language. However, static typing is now the trend. Performance is not even the major reason for static typing anymore. Meanwhile, I believe in the goodness of generic code and fre…

---

## [Function pointers & signatures](https://discourse.julialang.org/t/function-pointers-signatures/106114)

<div class="topic-metadata">

**Author:** [@f.ij](https://discourse.julialang.org/u/f.ij)\
**Replies:** 3\
**Last updated:** [November 12, 2023, 9:57pm UTC](https://discourse.julialang.org/t/function-pointers-signatures/106114 "2023-11-12T21:57:43Z")

</div>

So afaik, it is accepted function pointers are not needed in Julia since we can pass functions, into other functions, causing the appropriate method to be compiled just in time, so that there shouldn’t be any performance…

---

## [How to properly import a macro inside a begin-end block](https://discourse.julialang.org/t/how-to-properly-import-a-macro-inside-a-begin-end-block/106037)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 6\
**Last updated:** [November 12, 2023, 7:09pm UTC](https://discourse.julialang.org/t/how-to-properly-import-a-macro-inside-a-begin-end-block/106037 "2023-11-12T19:09:42Z")

</div>

Hi there, I am very surprised that the following fails in Julia 1.9 julia\> begin import Crayons: Crayon, @crayon\_str f() = crayon"dark\_gray" end ERROR: UndefVarError: \`@crayon\_str\` not defin…

---

## [Static Arrays Memory & Allocations](https://discourse.julialang.org/t/static-arrays-memory-allocations/106110)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 15\
**Last updated:** [November 12, 2023, 6:56pm UTC](https://discourse.julialang.org/t/static-arrays-memory-allocations/106110 "2023-11-12T18:56:15Z")

</div>

Below two functions function generateLocalMatrixWorks(element::Element) h = element.area Iloc = SVector(element.e1, element.e1, element.e2, element.e2) Jloc = SVector(element.e1, element.e2, element.e1, elemen…

---

## [I think that my logic is correct but I am getting initial value as print, why?](https://discourse.julialang.org/t/i-think-that-my-logic-is-correct-but-i-am-getting-initial-value-as-print-why/106120)

<div class="topic-metadata">

**Author:** [@Mohit](https://discourse.julialang.org/u/Mohit)\
**Replies:** 3\
**Last updated:** [November 12, 2023, 5:17pm UTC](https://discourse.julialang.org/t/i-think-that-my-logic-is-correct-but-i-am-getting-initial-value-as-print-why/106120 "2023-11-12T17:17:52Z")

</div>

What is the reverse complement of GCTAGCT? function pattern\_RC(dna) R\_dna = “” ln = length(dna) for i in ln:-1:1 if dna\[i\] == “A” R\_dna = R\_dna \* “T” elseif dna\[i\]== “T” R\_dna = R\_dna \* “A” elseif dna\[i\]== “G” R…

---

## [Autodiff compatible least squares package](https://discourse.julialang.org/t/autodiff-compatible-least-squares-package/106115)

<div class="topic-metadata">

**Author:** [@RahulManavalan](https://discourse.julialang.org/u/RahulManavalan)\
**Replies:** 1\
**Last updated:** [November 12, 2023, 3:55pm UTC](https://discourse.julialang.org/t/autodiff-compatible-least-squares-package/106115 "2023-11-12T15:55:54Z")

</div>

Greetings. I am searching for a Julia package, that can emulate pinv(A) from LinearAlgebra.jl but has an all Julia implementation to leverage the AD ecosystem to evaluate the gradients with respect to the parameters use…

---

## [Changing axis in polar seasonal plots with Cairomakie](https://discourse.julialang.org/t/changing-axis-in-polar-seasonal-plots-with-cairomakie/106108)

<div class="topic-metadata">

**Author:** [@indymnv](https://discourse.julialang.org/u/indymnv)\
**Replies:** 6\
**Last updated:** [November 12, 2023, 2:01pm UTC](https://discourse.julialang.org/t/changing-axis-in-polar-seasonal-plots-with-cairomakie/106108 "2023-11-12T14:01:43Z")

</div>

I am trying to replicate the seasonal plot with the polar axis from this example, but I couldn’t figure out how to replace the degree axis with months. This is the code: Creating the dataframe link = "https://vincentar…

---

## [Multiple files in GameZero](https://discourse.julialang.org/t/multiple-files-in-gamezero/106109)

<div class="topic-metadata">

**Author:** [@CallError](https://discourse.julialang.org/u/CallError)\
**Replies:** 2\
**Last updated:** [November 12, 2023, 1:42pm UTC](https://discourse.julialang.org/t/multiple-files-in-gamezero/106109 "2023-11-12T13:42:53Z")

</div>

My game project is becoming bigger, so I got to split it different files. But as soon as I use the rungame("filename.fl") command, I am getting an error message for the usage of include. Is there a way to work with mult…

---

## [Is Leaflet.jl still maintained?](https://discourse.julialang.org/t/is-leaflet-jl-still-maintained/106104)

<div class="topic-metadata">

**Author:** [@ConnectedSystems](https://discourse.julialang.org/u/ConnectedSystems)\
**Replies:** 4\
**Last updated:** [November 12, 2023, 8:42am UTC](https://discourse.julialang.org/t/is-leaflet-jl-still-maintained/106104 "2023-11-12T08:42:40Z")

</div>

The last release was in July 2022, and the maintainers seem to have been working on Tyler.jl and other efforts. I’m curious what the best way to create interactive maps is, these days.

---

## [Warm start using Dualization with JuMP and COSMO](https://discourse.julialang.org/t/warm-start-using-dualization-with-jump-and-cosmo/106006)

<div class="topic-metadata">

**Author:** [@akirakyle](https://discourse.julialang.org/u/akirakyle)\
**Replies:** 5\
**Last updated:** [November 12, 2023, 10:25am UTC](https://discourse.julialang.org/t/warm-start-using-dualization-with-jump-and-cosmo/106006 "2023-11-12T10:25:56Z")

</div>

I’m using the same example here as in my previous question about warm starting of HermitianPSDCone: using JuMP, LinearAlgebra, COSMO, Dualization function set\_hermitian\_start(x, start) for j in 1:size(x, 2), i in 1…

---

## [Replacing readstring](https://discourse.julialang.org/t/replacing-readstring/71746)

<div class="topic-metadata">

**Author:** [@Beliavsky](https://discourse.julialang.org/u/Beliavsky)\
**Replies:** 5\
**Last updated:** [November 12, 2023, 9:33am UTC](https://discourse.julialang.org/t/replacing-readstring/71746 "2023-11-12T09:33:32Z")

</div>

Trying to run https://gist.github.com/rafaqz/fede683a3e853f36c9b367471fde2f56 with Julia 1.6.1 fails because of the lines filename = string(ARGS\[1\]) code = readstring(filename) Julia says ERROR: LoadError: UndefVarErr…

---

## [Eindhoven - travel and advice](https://discourse.julialang.org/t/eindhoven-travel-and-advice/106105)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 2\
**Last updated:** [November 12, 2023, 9:05am UTC](https://discourse.julialang.org/t/eindhoven-travel-and-advice/106105 "2023-11-12T09:05:56Z")

</div>

I am very pleased to see Juliacon 2024 is taking place in Eindhoven. I worked there for over a year at ASML. Eindhoven has many high tech companies, and is planned that way. It is branded as Brainport. Travel - the con…

---

## [Why would A \\ b grow with O(n^2)?](https://discourse.julialang.org/t/why-would-a-b-grow-with-o-n-2/106083)

<div class="topic-metadata">

**Author:** [@tawheeler](https://discourse.julialang.org/u/tawheeler)\
**Replies:** 5\
**Last updated:** [November 12, 2023, 8:03am UTC](https://discourse.julialang.org/t/why-would-a-b-grow-with-o-n-2/106083 "2023-11-12T08:03:00Z")

</div>

Hello, I was curious how long it would take my laptop to solve Ax = b for square A as a function of the problem size. I tried to profile it using BenchmarkTools: ns = \[1,2,3,5,7,10,20,30,50,70,100,200,300,500,700,1000,…

---

## [Wrapping LAPACK functions using MKL](https://discourse.julialang.org/t/wrapping-lapack-functions-using-mkl/105997)

<div class="topic-metadata">

**Author:** [@andreasvarga](https://discourse.julialang.org/u/andreasvarga)\
**Replies:** 7\
**Last updated:** [November 12, 2023, 5:30am UTC](https://discourse.julialang.org/t/wrapping-lapack-functions-using-mkl/105997 "2023-11-12T05:30:47Z")

</div>

The following implements a wrapper to the LAPACK functions dlanv2/slanv2: import LinearAlgebra.BLAS.@blasfunc using LinearAlgebra import LinearAlgebra: libblastrampoline, BlasFloat, BlasReal, BlasComplex, BlasInt con…

---

## [Nonlinear reduced chi-square fit with error erstimates and correlation matrix](https://discourse.julialang.org/t/nonlinear-reduced-chi-square-fit-with-error-erstimates-and-correlation-matrix/106024)

<div class="topic-metadata">

**Author:** [@physh](https://discourse.julialang.org/u/physh)\
**Replies:** 2\
**Last updated:** [November 12, 2023, 5:24am UTC](https://discourse.julialang.org/t/nonlinear-reduced-chi-square-fit-with-error-erstimates-and-correlation-matrix/106024 "2023-11-12T05:24:38Z")

</div>

Hi all, I have a nonlinear function function model(params, args) # params define a matrix which is then diagonalized # output are eigenvalues and some function of the eigenvectors return out1, out2 # both outputs out1,…

---

## [ERROR: MethodError: no method matching +(::String, ::Int64)](https://discourse.julialang.org/t/error-methoderror-no-method-matching-string-int64/106096)

<div class="topic-metadata">

**Author:** [@Mohit](https://discourse.julialang.org/u/Mohit)\
**Replies:** 5\
**Last updated:** [November 12, 2023, 1:25am UTC](https://discourse.julialang.org/t/error-methoderror-no-method-matching-string-int64/106096 "2023-11-12T01:25:40Z")

</div>

I am trying to learn bioinformatics with julia and was trying to write very basic script. But i am getting an error, I am sure that I am missing a very simple concept of usage. It will be great help, if someone can exp…

---

## [Matplotlib CondaPkg QT](https://discourse.julialang.org/t/matplotlib-condapkg-qt/106086)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 0\
**Last updated:** [November 11, 2023, 6:49pm UTC](https://discourse.julialang.org/t/matplotlib-condapkg-qt/106086 "2023-11-11T18:49:46Z")

</div>

I would like to use PyPlot with the QT backend. But I am not able to install QT using CondaPkg. Any idea how to do this?

---

## [Widening the element type of an array?](https://discourse.julialang.org/t/widening-the-element-type-of-an-array/106085)

<div class="topic-metadata">

**Author:** [@ffevotte](https://discourse.julialang.org/u/ffevotte)\
**Replies:** 2\
**Last updated:** [November 11, 2023, 6:11pm UTC](https://discourse.julialang.org/t/widening-the-element-type-of-an-array/106085 "2023-11-11T18:11:26Z")

</div>

This may be a rather unusual question but: I’d like to “widen” the element type of a given Array to an abstract type, such that the resulting array contains the same data as the original, but can store values of another …

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

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