# Latest

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

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

**Page:** 465

---

## [Understanding how KNearestSearch works](https://discourse.julialang.org/t/understanding-how-knearestsearch-works/111294)

<div class="topic-metadata">

**Author:** [@xiaoming](https://discourse.julialang.org/u/xiaoming)\
**Replies:** 5\
**Last updated:** [March 7, 2024, 3:15pm UTC](https://discourse.julialang.org/t/understanding-how-knearestsearch-works/111294 "2024-03-07T15:15:55Z")

</div>

I have a surface in three-dimensional space composed of triangles generated by Meshes.jl. Given a point in space, the function ‘search’ in Meshes.jl can find the closest triangle to this point. I want to know how this di…

---

## [Does activative a project now automatically install dependencies on Julia v1.10?](https://discourse.julialang.org/t/does-activative-a-project-now-automatically-install-dependencies-on-julia-v1-10/111299)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 0\
**Last updated:** [March 7, 2024, 2:07pm UTC](https://discourse.julialang.org/t/does-activative-a-project-now-automatically-install-dependencies-on-julia-v1-10/111299 "2024-03-07T14:07:49Z")

</div>

I have been noticing this recently, which seems new to me.

---

## [Julia in Python, Float64 plots needed](https://discourse.julialang.org/t/julia-in-python-float64-plots-needed/111279)

<div class="topic-metadata">

**Author:** [@Enlil50](https://discourse.julialang.org/u/Enlil50)\
**Replies:** 2\
**Last updated:** [March 7, 2024, 9:29am UTC](https://discourse.julialang.org/t/julia-in-python-float64-plots-needed/111279 "2024-03-07T09:29:37Z")

</div>

I need to create accurate plots and as said in thread GLMakie vs Plots, not enogh precision for axis limits, Makie is not eough, using Float32. Plots neither, as it explicitely says in the REPL that there may be inaccura…

---

## [Citation for Turing.jl](https://discourse.julialang.org/t/citation-for-turing-jl/111288)

<div class="topic-metadata">

**Author:** [@pfarndt](https://discourse.julialang.org/u/pfarndt)\
**Replies:** 1\
**Last updated:** [March 7, 2024, 12:41pm UTC](https://discourse.julialang.org/t/citation-for-turing-jl/111288 "2024-03-07T12:41:29Z")

</div>

In our research we heavily use Turing.jl and ForwardDiff.jl. Without these packages we would not have succeeded. Is there a publication we could cite in an upcoming publication to give some credits?

---

## [Left associative operators with high precedence](https://discourse.julialang.org/t/left-associative-operators-with-high-precedence/110995)

<div class="topic-metadata">

**Author:** [@phyxmeow](https://discourse.julialang.org/u/phyxmeow)\
**Replies:** 2\
**Last updated:** [March 7, 2024, 12:29pm UTC](https://discourse.julialang.org/t/left-associative-operators-with-high-precedence/110995 "2024-03-07T12:29:35Z")

</div>

I would like an operator that has higher precedence than :\*, but is left associative. I found there is no pre-defined symbol has these two properties at the same time. Since I’m working with strings coming from user inpu…

---

## [Problem with simulating SBML Model](https://discourse.julialang.org/t/problem-with-simulating-sbml-model/110942)

<div class="topic-metadata">

**Author:** [@max-de-rooij](https://discourse.julialang.org/u/max-de-rooij)\
**Replies:** 4\
**Last updated:** [March 7, 2024, 12:10pm UTC](https://discourse.julialang.org/t/problem-with-simulating-sbml-model/110942 "2024-03-07T12:10:38Z")

</div>

I am trying to solve an ODE problem from a downloaded SBML file, but I seem to get an error. I used to be able to run this file (although I do not remember the specific versions of each package I used before). My code i…

---

## [GLMakie vs Plots, not enogh precision for axis limits](https://discourse.julialang.org/t/glmakie-vs-plots-not-enogh-precision-for-axis-limits/111249)

<div class="topic-metadata">

**Author:** [@Enlil50](https://discourse.julialang.org/u/Enlil50)\
**Replies:** 5\
**Last updated:** [March 7, 2024, 9:48am UTC](https://discourse.julialang.org/t/glmakie-vs-plots-not-enogh-precision-for-axis-limits/111249 "2024-03-07T09:48:13Z")

</div>

I have ugly data with an ugly code, but I just used scatter in both places. Plots gives this: And, as you can see, the oscillations are in the double order. GLMakie gives this: If you zoom manually all the data b…

---

## [What is the meaning behind Julia lang logo?](https://discourse.julialang.org/t/what-is-the-meaning-behind-julia-lang-logo/59274)

<div class="topic-metadata">

**Author:** [@faustinoaq](https://discourse.julialang.org/u/faustinoaq)\
**Replies:** 11\
**Last updated:** [January 23, 2024, 2:35pm UTC](https://discourse.julialang.org/t/what-is-the-meaning-behind-julia-lang-logo/59274 "2024-01-23T14:35:32Z")

</div>

Hi Julia Comunity! I have tried to search almost everywhere and I can not find what is the meaning of the Julia lang logo. I’ve found the name “Julia” meaning here Why is the name of the language "Julia"? but no mentio…

---

## [MethodOfLines & functions in BCs](https://discourse.julialang.org/t/methodoflines-functions-in-bcs/111260)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 1\
**Last updated:** [March 7, 2024, 8:45am UTC](https://discourse.julialang.org/t/methodoflines-functions-in-bcs/111260 "2024-03-07T08:45:07Z")

</div>

I’m trying to implement a distributed model using MethodOfLines with: 3 PDEs + a number of AEs within the volume a number of Boundary conditions In the boundary conditions, some flows depend on valve signals, e.g., as…

---

## [PSA: GitHub may have automatically disabled CompatHelper on your repository after 60 days of inactivity](https://discourse.julialang.org/t/psa-github-may-have-automatically-disabled-compathelper-on-your-repository-after-60-days-of-inactivity/58965)

<div class="topic-metadata">

**Author:** [@dilumaluthge](https://discourse.julialang.org/u/dilumaluthge)\
**Replies:** 2\
**Last updated:** [March 7, 2024, 4:29am UTC](https://discourse.julialang.org/t/psa-github-may-have-automatically-disabled-compathelper-on-your-repository-after-60-days-of-inactivity/58965 "2024-03-07T04:29:12Z")

</div>

GitHub will automatically disable scheduled workflows when there has been no activity on a repository in 60 days. Since CompatHelper is a scheduled workflow, this means that CompatHelper will be automatically disabled. I…

---

## [Is there any plan to create a pybind11-like C++ binding framework for Julia?](https://discourse.julialang.org/t/is-there-any-plan-to-create-a-pybind11-like-c-binding-framework-for-julia/111268)

<div class="topic-metadata">

**Author:** [@Guanglin\_Du](https://discourse.julialang.org/u/Guanglin_Du)\
**Replies:** 3\
**Last updated:** [March 7, 2024, 2:09am UTC](https://discourse.julialang.org/t/is-there-any-plan-to-create-a-pybind11-like-c-binding-framework-for-julia/111268 "2024-03-07T02:09:11Z")

</div>

Hi, there. I just love Julia so much. However, Fortran and C/C++ have been playing a crucial role in scientific computing for decades. Is any Julia guru planning to create a pybind11-like binding framework for Fortran or…

---

## [Why do I get the same parameter after the OptimizationProblem](https://discourse.julialang.org/t/why-do-i-get-the-same-parameter-after-the-optimizationproblem/110243)

<div class="topic-metadata">

**Author:** [@whucsu](https://discourse.julialang.org/u/whucsu)\
**Replies:** 23\
**Last updated:** [March 7, 2024, 1:29am UTC](https://discourse.julialang.org/t/why-do-i-get-the-same-parameter-after-the-optimizationproblem/110243 "2024-03-07T01:29:43Z")

</div>

Dear All, I got some questions when using the DiffEqParamEstim.jl my goal is to get the estimated parameter accroding to the Synthetic Data. but I got the same parameter as to the firtst “guess” parameter. the core …

---

## [Error when using DQCType](https://discourse.julialang.org/t/error-when-using-dqctype/111272)

<div class="topic-metadata">

**Author:** [@Ethan\_Tran](https://discourse.julialang.org/u/Ethan_Tran)\
**Replies:** 0\
**Last updated:** [March 7, 2024, 1:08am UTC](https://discourse.julialang.org/t/error-when-using-dqctype/111272 "2024-03-07T01:08:53Z")

</div>

I tried to solve the example of the package as follows: using DifferentialEquations, Yao, QuantumNLDiffEq # Making the ODEProblem function f(u, p, t) λ, κ = p return -1\*λ\*u\*(κ + tan(λ\*t)) end prob = ODEProblem(f, \[1.0…

---

## [Julia Gurobi 11.0](https://discourse.julialang.org/t/julia-gurobi-11-0/108368)

<div class="topic-metadata">

**Author:** [@Z\_M](https://discourse.julialang.org/u/Z_M)\
**Replies:** 2\
**Last updated:** [January 5, 2024, 3:48am UTC](https://discourse.julialang.org/t/julia-gurobi-11-0/108368 "2024-01-05T03:48:01Z")

</div>

Hi! I want to know if Julia 1.9.2 supports Gurobi 11.0. I used Gurobi 9.5.2. Now I have updated Gurobi to 11.0. I wrote Pkg.add(“Gurobi”) in Julia, but it still uses Gurobi 9.5.2. What should I do? Thanks a lot

---

## [Periodic convolution, equivalent to convolution2d from scipy](https://discourse.julialang.org/t/periodic-convolution-equivalent-to-convolution2d-from-scipy/110191)

<div class="topic-metadata">

**Author:** [@modifiedbear](https://discourse.julialang.org/u/modifiedbear)\
**Replies:** 2\
**Last updated:** [March 6, 2024, 11:43pm UTC](https://discourse.julialang.org/t/periodic-convolution-equivalent-to-convolution2d-from-scipy/110191 "2024-03-06T23:43:16Z")

</div>

Hi! I am new to convolutions. I am looking to implement a convolution with wrapped/toroidal boundaries (i.e. for CircularArrays). # matrix = N x M matrix # smaller\_matrix = some sort of kernel convolve2d(matrix, smaller…

---

## [Slow code with Union and Box](https://discourse.julialang.org/t/slow-code-with-union-and-box/111221)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 17\
**Last updated:** [March 6, 2024, 11:29pm UTC](https://discourse.julialang.org/t/slow-code-with-union-and-box/111221 "2024-03-06T23:29:24Z")

</div>

How can I improve this? I want to keep the Union{A,B,C,D} but make it faster. JET says c is captured and also there is runtime dispatch. abstract type T end struct A \<: T x::Int end struct B \<: T x::Int end struct C \<: …

---

## [Brainstorm ideas for including info from the Modern Julia Workflow website in the VSCode extension](https://discourse.julialang.org/t/brainstorm-ideas-for-including-info-from-the-modern-julia-workflow-website-in-the-vscode-extension/111048)

<div class="topic-metadata">

**Author:** [@xiaoxi](https://discourse.julialang.org/u/xiaoxi)\
**Replies:** 10\
**Last updated:** [March 6, 2024, 10:05pm UTC](https://discourse.julialang.org/t/brainstorm-ideas-for-including-info-from-the-modern-julia-workflow-website-in-the-vscode-extension/111048 "2024-03-06T22:05:55Z")

</div>

The Modern Julia Workflows website offers very valuable information and I wonder how the Julia extension could offer it as well. So, I am opening this thread to discuss ideas for including information from the Modern Jul…

---

## [Stop threads after a certain condition is true](https://discourse.julialang.org/t/stop-threads-after-a-certain-condition-is-true/111062)

<div class="topic-metadata">

**Author:** [@nickk2002](https://discourse.julialang.org/u/nickk2002)\
**Replies:** 19\
**Last updated:** [March 6, 2024, 9:30pm UTC](https://discourse.julialang.org/t/stop-threads-after-a-certain-condition-is-true/111062 "2024-03-06T21:30:52Z")

</div>

I want to to run n threads in parallel and if one of the threads reaches cost 0 I would like to stop all the others. How can I do this? best\_expression, best\_program, program\_cost = nothing, start\_program, Inf64 lk …

---

## [Expose credential methods from LibGit2 in Pkg.jl](https://discourse.julialang.org/t/expose-credential-methods-from-libgit2-in-pkg-jl/111261)

<div class="topic-metadata">

**Author:** [@lklein](https://discourse.julialang.org/u/lklein)\
**Replies:** 0\
**Last updated:** [March 6, 2024, 9:11pm UTC](https://discourse.julialang.org/t/expose-credential-methods-from-libgit2-in-pkg-jl/111261 "2024-03-06T21:11:49Z")

</div>

LibGit2 offers some opportunities to Manage credentials explicitly (SSHCredential and UserPasswordCredential for example). Has there ever been made any effort to expose those to the user of Pkg.jl? Or if not does anyone…

---

## [Question about range operator (":")](https://discourse.julialang.org/t/question-about-range-operator/111247)

<div class="topic-metadata">

**Author:** [@opera\_malenky](https://discourse.julialang.org/u/opera_malenky)\
**Replies:** 7\
**Last updated:** [March 6, 2024, 8:20pm UTC](https://discourse.julialang.org/t/question-about-range-operator/111247 "2024-03-06T20:20:10Z")

</div>

I was testing some code and noticed something that seemed odd to me when trying to use the range operator (“:”). julia\> 1:5 1:5 but julia\> 5:1 5:4 I don’t see anything in the help for : that suggests different behavi…

---

## [Sending nicely formatted DataFrames by email from linux](https://discourse.julialang.org/t/sending-nicely-formatted-dataframes-by-email-from-linux/111254)

<div class="topic-metadata">

**Author:** [@jonjilla](https://discourse.julialang.org/u/jonjilla)\
**Replies:** 3\
**Last updated:** [March 6, 2024, 7:59pm UTC](https://discourse.julialang.org/t/sending-nicely-formatted-dataframes-by-email-from-linux/111254 "2024-03-06T19:59:03Z")

</div>

Hello I would like to be able to send an email with a nicely formatted table in linux. from what I can see, it looks like I need to generate my own HTML to create a table out of a DataFrame. Is there a better way to d…

---

## [Issue with Live Plotting 3D Objects using Meshes.jl, Observables, and GLMakie: Bound Error on Item Removal](https://discourse.julialang.org/t/issue-with-live-plotting-3d-objects-using-meshes-jl-observables-and-glmakie-bound-error-on-item-removal/111253)

<div class="topic-metadata">

**Author:** [@ehsani63](https://discourse.julialang.org/u/ehsani63)\
**Replies:** 3\
**Last updated:** [March 6, 2024, 7:20pm UTC](https://discourse.julialang.org/t/issue-with-live-plotting-3d-objects-using-meshes-jl-observables-and-glmakie-bound-error-on-item-removal/111253 "2024-03-06T19:20:18Z")

</div>

I’ve been exploring the use of Meshes.jl in combination with Observables and GLMakie for live plotting of 3D objects. My goal is to dynamically update a plot by adding or removing 3D objects (like Box or Ball) and visual…

---

## [How to plot a gridworld policy in Makie](https://discourse.julialang.org/t/how-to-plot-a-gridworld-policy-in-makie/111217)

<div class="topic-metadata">

**Author:** [@00krishna](https://discourse.julialang.org/u/00krishna)\
**Replies:** 2\
**Last updated:** [March 6, 2024, 6:16pm UTC](https://discourse.julialang.org/t/how-to-plot-a-gridworld-policy-in-makie/111217 "2024-03-06T18:16:08Z")

</div>

Hey folks. I was looking at a notebook created by the POMDP folks for plotting the Value Iteration policy for a simple Gridworld. I have a copy of the picture below. I was wondering how would I plot something like this …

---

## [Fail to precompile Plots](https://discourse.julialang.org/t/fail-to-precompile-plots/111194)

<div class="topic-metadata">

**Author:** [@ShenXin](https://discourse.julialang.org/u/ShenXin)\
**Replies:** 9\
**Last updated:** [March 6, 2024, 4:44pm UTC](https://discourse.julialang.org/t/fail-to-precompile-plots/111194 "2024-03-06T16:44:13Z")

</div>

Hi, I’m new to Julia. The follwing question fails me to use Plots.jl. I completely have no idea what’s the error. Part of the error is listed below. ERROR: Failed to precompile Plots \[91a5bcdd-55d7-5caf-9e0b-520d859cae…

---

## [VSCode... export Jupyter Notebook as HTML](https://discourse.julialang.org/t/vscode-export-jupyter-notebook-as-html/111199)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 6\
**Last updated:** [March 6, 2024, 4:12pm UTC](https://discourse.julialang.org/t/vscode-export-jupyter-notebook-as-html/111199 "2024-03-06T16:12:03Z")

</div>

In the past, I could export Jupyter Notebooks as HTML in the following way: Click on the dots at the RHS of the notebook menu Choose Export Choose …as HTML This opened the file browser, and one could choos…

---

## [No heatmap interpolation in CairoMakie?](https://discourse.julialang.org/t/no-heatmap-interpolation-in-cairomakie/79662)

<div class="topic-metadata">

**Author:** [@poopsilon](https://discourse.julialang.org/u/poopsilon)\
**Replies:** 3\
**Last updated:** [March 6, 2024, 2:49pm UTC](https://discourse.julialang.org/t/no-heatmap-interpolation-in-cairomakie/79662 "2024-03-06T14:49:26Z")

</div>

I am trying to plot a heatmap with color interpolation, but I can’t seem to do it. I tried do it using the example from the Makie website using CairoMakie xs = range(0, 10, length = 25) ys = range(0, 15, length = 25) z…

---

## [Plotting a histogram of multiple independent univariate dataseries in a 2d heatmap](https://discourse.julialang.org/t/plotting-a-histogram-of-multiple-independent-univariate-dataseries-in-a-2d-heatmap/109840)

<div class="topic-metadata">

**Author:** [@JBH\_84](https://discourse.julialang.org/u/JBH_84)\
**Replies:** 2\
**Last updated:** [March 6, 2024, 2:44pm UTC](https://discourse.julialang.org/t/plotting-a-histogram-of-multiple-independent-univariate-dataseries-in-a-2d-heatmap/109840 "2024-03-06T14:44:52Z")

</div>

I would like to do something similar to the example xs = \[string("x", i) for i = 1:10\] ys = \[string("y", i) for i = 1:4\] z = float((1:4) \* reshape(1:10, 1, :)) \* u"km" heatmap(xs, ys, z, aspect\_ratio=1) however, in my …

---

## [Fail to update Gurobi.jl for using Gurobi 11.0](https://discourse.julialang.org/t/fail-to-update-gurobi-jl-for-using-gurobi-11-0/111225)

<div class="topic-metadata">

**Author:** [@Chunjun](https://discourse.julialang.org/u/Chunjun)\
**Replies:** 3\
**Last updated:** [March 6, 2024, 2:27pm UTC](https://discourse.julialang.org/t/fail-to-update-gurobi-jl-for-using-gurobi-11-0/111225 "2024-03-06T14:27:52Z")

</div>

Hi! I’m working with Julia 1.5.3 and Gurobi 11.0 on Atom. I’ve acquired an academic license for Gurobi 11.0 and installed the Gurobi 11.0. I’ve set the correct environment path for Gurobi and placed the license there as…

---

## [Evaluation of function gives NaN](https://discourse.julialang.org/t/evaluation-of-function-gives-nan/111240)

<div class="topic-metadata">

**Author:** [@Sushrut\_Deshpande](https://discourse.julialang.org/u/Sushrut_Deshpande)\
**Replies:** 10\
**Last updated:** [March 6, 2024, 2:21pm UTC](https://discourse.julialang.org/t/evaluation-of-function-gives-nan/111240 "2024-03-06T14:21:53Z")

</div>

Hello, The division of two functions gives NaN when it is not simplified. Here is an example code using ForwardDiff f(x) = (x-1)^2 df(x) = ForwardDiff.derivative(f,x) val = f(1)/df(1) Mathematically this should be 0 …

---

## [Metal.jl and Flux.jl on M1 chip](https://discourse.julialang.org/t/metal-jl-and-flux-jl-on-m1-chip/96882)

<div class="topic-metadata">

**Author:** [@Jacob\_Cahoon](https://discourse.julialang.org/u/Jacob_Cahoon)\
**Replies:** 2\
**Last updated:** [March 6, 2024, 12:50pm UTC](https://discourse.julialang.org/t/metal-jl-and-flux-jl-on-m1-chip/96882 "2024-03-06T12:50:54Z")

</div>

When my loss function is called in the train!() method, I keep getting this error and I don’t know how to fix it. I can’t use CUDA because I am using an M1 chip. Any ideas? Here’s my full code: include("data\_prep.jl") …

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

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