# Latest

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

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

**Page:** 398

---

## [Standardizing syntax?](https://discourse.julialang.org/t/standardizing-syntax/114816)

<div class="topic-metadata">

**Author:** [@MilesCranmer](https://discourse.julialang.org/u/MilesCranmer)\
**Replies:** 32\
**Last updated:** [June 1, 2024, 7:23am UTC](https://discourse.julialang.org/t/standardizing-syntax/114816 "2024-06-01T07:23:57Z")

</div>

They have got one thing right like Mojo in that it looks and feels like Python. It is about time we had something like an ISO standard on syntax.

---

## [Type Inference Inferring Any for function that returns Float64](https://discourse.julialang.org/t/type-inference-inferring-any-for-function-that-returns-float64/115007)

<div class="topic-metadata">

**Author:** [@BenCichos](https://discourse.julialang.org/u/BenCichos)\
**Replies:** 11\
**Last updated:** [June 1, 2024, 6:21am UTC](https://discourse.julialang.org/t/type-inference-inferring-any-for-function-that-returns-float64/115007 "2024-06-01T06:21:45Z")

</div>

Hello everyone, I am currently trying to code an Optical Ray Tracing package in Julia, and while trying to optimise the code for performance I ran into some issues that the function trace that performs the tracing does a…

---

## [Problem of memory usage with MLJ+LightGBM and grid search](https://discourse.julialang.org/t/problem-of-memory-usage-with-mlj-lightgbm-and-grid-search/112147)

<div class="topic-metadata">

**Author:** [@julien\_goo](https://discourse.julialang.org/u/julien_goo)\
**Replies:** 10\
**Last updated:** [June 1, 2024, 4:51am UTC](https://discourse.julialang.org/t/problem-of-memory-usage-with-mlj-lightgbm-and-grid-search/112147 "2024-06-01T04:51:43Z")

</div>

Hi all, We are building an application of ML using MLJ and LightGBM (for the ML part) to perform some forecasts on complex time series (for a quite critical business need, in production with daily use) We have a blocki…

---

## [Visualization of shapefile - Meshes.jl viz! very slow](https://discourse.julialang.org/t/visualization-of-shapefile-meshes-jl-viz-very-slow/114485)

<div class="topic-metadata">

**Author:** [@oscarvdvelde](https://discourse.julialang.org/u/oscarvdvelde)\
**Replies:** 21\
**Last updated:** [June 1, 2024, 2:28am UTC](https://discourse.julialang.org/t/visualization-of-shapefile-meshes-jl-viz-very-slow/114485 "2024-06-01T02:28:27Z")

</div>

Hi. I am switching from using a low resolution GeoJSON file of the entire world (size 23 MB), which was used in the example given by GeoMakie, to a higher resolution shapefile of two countries (using Meshes I merged FRA\_…

---

## [Failure to vectorize 8 Int64 multiplies when 8 Float64 multiplies vectorize](https://discourse.julialang.org/t/failure-to-vectorize-8-int64-multiplies-when-8-float64-multiplies-vectorize/114939)

<div class="topic-metadata">

**Author:** [@brainandforce](https://discourse.julialang.org/u/brainandforce)\
**Replies:** 8\
**Last updated:** [May 31, 2024, 11:52pm UTC](https://discourse.julialang.org/t/failure-to-vectorize-8-int64-multiplies-when-8-float64-multiplies-vectorize/114939 "2024-05-31T23:52:39Z")

</div>

I’ve come across this interesting observation in my package, CliffordNumbers.jl. For context, the multiplication done here is a geometric product (relevant code here) implemented as a grid multiply between blade coeffici…

---

## [Submit a bug report while trying to use DifferentialEquations.jl](https://discourse.julialang.org/t/submit-a-bug-report-while-trying-to-use-differentialequations-jl/115032)

<div class="topic-metadata">

**Author:** [@Jose\_Job\_Flores\_Godo](https://discourse.julialang.org/u/Jose_Job_Flores_Godo)\
**Replies:** 1\
**Last updated:** [May 31, 2024, 8:01pm UTC](https://discourse.julialang.org/t/submit-a-bug-report-while-trying-to-use-differentialequations-jl/115032 "2024-05-31T20:01:36Z")

</div>

Hello: I am newish to Julia and I am trying to use DifferentialEquations.jl. The following code: function difu\_eje!(du,u,p,t) y₁,y₂ = u a₁,a₂,b₁,b₂ = p du\[1\] = -a₁\*y₁ + b₁\*(1-y₁)\*y₂ du\[2\] = -a₂\*y₂ + b₂\*…

---

## [\[RFC/WIP\] DuckDispatch.jl](https://discourse.julialang.org/t/rfc-wip-duckdispatch-jl/114930)

<div class="topic-metadata">

**Author:** [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Replies:** 22\
**Last updated:** [May 31, 2024, 5:18pm UTC](https://discourse.julialang.org/t/rfc-wip-duckdispatch-jl/114930 "2024-05-31T17:18:40Z")

</div>

I’ve been working through an idea for a package, and I’d love your feedback. Tl;Dr: This package allows you to create method dispatches based on the methods defined for a type, not the place the type has in the type l…

---

## [Fresh CUDA and LuxCUDA error ERROR: could not load symbol "cublasLtMatmulDescCreate":](https://discourse.julialang.org/t/fresh-cuda-and-luxcuda-error-error-could-not-load-symbol-cublasltmatmuldesccreate/114401)

<div class="topic-metadata">

**Author:** [@dmetivie](https://discourse.julialang.org/u/dmetivie)\
**Replies:** 14\
**Last updated:** [May 31, 2024, 4:41pm UTC](https://discourse.julialang.org/t/fresh-cuda-and-luxcuda-error-error-could-not-load-symbol-cublasltmatmuldesccreate/114401 "2024-05-31T16:41:22Z")

</div>

From Lux polynomial fitting tutorial I get during the training step ERROR: could not load symbol "cublasLtMatmulDescCreate": The specified procedure could not be found. I did the Cuda.test() and got errors core/nvml …

---

## [Fast Multi-Threaded Array Editing without data races?](https://discourse.julialang.org/t/fast-multi-threaded-array-editing-without-data-races/114863)

<div class="topic-metadata">

**Author:** [@cneverett](https://discourse.julialang.org/u/cneverett)\
**Replies:** 42\
**Last updated:** [May 31, 2024, 3:03pm UTC](https://discourse.julialang.org/t/fast-multi-threaded-array-editing-without-data-races/114863 "2024-05-31T15:03:09Z")

</div>

Hi, I am fairly new to multi-threading in Juila and am having trouble finding the best procedure to avoid data races in an a section of code I am writing. The code uses a monte carlo method to generate values that are t…

---

## [Discontiguous Lexical Scope for Multiply Dispatched Functions](https://discourse.julialang.org/t/discontiguous-lexical-scope-for-multiply-dispatched-functions/114972)

<div class="topic-metadata">

**Author:** [@blabatt](https://discourse.julialang.org/u/blabatt)\
**Replies:** 9\
**Last updated:** [May 31, 2024, 3:31pm UTC](https://discourse.julialang.org/t/discontiguous-lexical-scope-for-multiply-dispatched-functions/114972 "2024-05-31T15:31:51Z")

</div>

I would like to create a closure that binds free variables with respect to a discontiguous “lexical environment” that encapsulates both the disparate method implementations and collective reference to a multiply-dispatch…

---

## [How to open sub-directory of HDF5 file in Julia?](https://discourse.julialang.org/t/how-to-open-sub-directory-of-hdf5-file-in-julia/115010)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 5\
**Last updated:** [May 31, 2024, 3:27pm UTC](https://discourse.julialang.org/t/how-to-open-sub-directory-of-hdf5-file-in-julia/115010 "2024-05-31T15:27:38Z")

</div>

I want to open sub-directory of HDF5 file in Julia? For example- how can i open "Coordinates" folder using HDF5.jl?

---

## [HOWTO: JSON3 read json path value as Custom type or Convert JSON3.Object as Custom type](https://discourse.julialang.org/t/howto-json3-read-json-path-value-as-custom-type-or-convert-json3-object-as-custom-type/115014)

<div class="topic-metadata">

**Author:** [@listenmmm](https://discourse.julialang.org/u/listenmmm)\
**Replies:** 8\
**Last updated:** [May 31, 2024, 3:00pm UTC](https://discourse.julialang.org/t/howto-json3-read-json-path-value-as-custom-type-or-convert-json3-object-as-custom-type/115014 "2024-05-31T15:00:37Z")

</div>

begin struct Book name price tags end StructTypes.StructType(::Type{Book}) = StructTypes.Struct() request\_body\_io = IOBuffer() response\_body\_io = IOBuffer() JSON3.write(request\_body\_io, Book("t…

---

## [Faster Precompiles with Monorepo?](https://discourse.julialang.org/t/faster-precompiles-with-monorepo/114986)

<div class="topic-metadata">

**Author:** [@Satvik](https://discourse.julialang.org/u/Satvik)\
**Replies:** 3\
**Last updated:** [May 31, 2024, 2:03pm UTC](https://discourse.julialang.org/t/faster-precompiles-with-monorepo/114986 "2024-05-31T14:03:40Z")

</div>

At work we have a monorepo with all our Julia code in a place like ~/company/src/, and making any change to the codebase triggers precompilation again whenever I start a new notebook or REPL: julia\> using MyModule Preco…

---

## [Efficient multi-objective LP implementation](https://discourse.julialang.org/t/efficient-multi-objective-lp-implementation/114615)

<div class="topic-metadata">

**Author:** [@PaterPen](https://discourse.julialang.org/u/PaterPen)\
**Replies:** 5\
**Last updated:** [May 31, 2024, 1:22pm UTC](https://discourse.julialang.org/t/efficient-multi-objective-lp-implementation/114615 "2024-05-31T13:22:45Z")

</div>

Hi, I want to solve the following problem (maximum flow with losses): For a graph with source node s and target node t let \\forall v \\notin \\{s,t\\}: \\sum\_{u} f\_{u, v} = \\sum\_u \\alpha\_{v,u} f\_{v, u} where \\alpha\_{v,u} =…

---

## [Extending functions from implicit dependencies](https://discourse.julialang.org/t/extending-functions-from-implicit-dependencies/115002)

<div class="topic-metadata">

**Author:** [@lkdvos](https://discourse.julialang.org/u/lkdvos)\
**Replies:** 3\
**Last updated:** [May 31, 2024, 11:12am UTC](https://discourse.julialang.org/t/extending-functions-from-implicit-dependencies/115002 "2024-05-31T11:12:31Z")

</div>

I am looking for a best-practice for the following case: Say I am the writer of a package Foo.jl, which wants to use the functionality of Bar.jl. I thus add Bar as a dependency to Foo, and start using it. Now Bar suppo…

---

## [@kwdef constructor not available outside of module](https://discourse.julialang.org/t/kwdef-constructor-not-available-outside-of-module/114675)

<div class="topic-metadata">

**Author:** [@veddox](https://discourse.julialang.org/u/veddox)\
**Replies:** 4\
**Last updated:** [May 31, 2024, 8:59am UTC](https://discourse.julialang.org/t/kwdef-constructor-not-available-outside-of-module/114675 "2024-05-31T08:59:00Z")

</div>

Hi everyone, working on an ecological model, I have a macro @species that creates a new struct using @kwdef. In most use cases, this works just fine. However, if I use this macro outside of the module in which it was de…

---

## [Name suggestion for a new forest model?](https://discourse.julialang.org/t/name-suggestion-for-a-new-forest-model/114674)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 15\
**Last updated:** [May 31, 2024, 7:52am UTC](https://discourse.julialang.org/t/name-suggestion-for-a-new-forest-model/114674 "2024-05-31T07:52:48Z")

</div>

As we are upgrading and generalizing a forest sector model, we need to replace an horrible name for our current model, “FFSM”, standing for “French Forest Sector Model”, with somehting more cool. The “concepts” of the …

---

## [How to read Download response body string?](https://discourse.julialang.org/t/how-to-read-download-response-body-string/114996)

<div class="topic-metadata">

**Author:** [@listenmmm](https://discourse.julialang.org/u/listenmmm)\
**Replies:** 1\
**Last updated:** [May 31, 2024, 6:38am UTC](https://discourse.julialang.org/t/how-to-read-download-response-body-string/114996 "2024-05-31T06:38:58Z")

</div>

code using Downloads begin response\_bpdy\_io = IOBuffer() response = request( "https://httpbin.org/ip", method="GET", headers=Dict("accept" =\> "application/json"), verbose=true, output=response\_b…

---

## [Performance optimizations with runtime dispatch](https://discourse.julialang.org/t/performance-optimizations-with-runtime-dispatch/110653)

<div class="topic-metadata">

**Author:** [@aramend](https://discourse.julialang.org/u/aramend)\
**Replies:** 14\
**Last updated:** [May 30, 2024, 8:01pm UTC](https://discourse.julialang.org/t/performance-optimizations-with-runtime-dispatch/110653 "2024-05-30T20:01:06Z")

</div>

I’m working on types that efficiently wrap polish notation and allow for fast evaluation of mathematical expressions. If I run @profview on the following script, I see that most of the time inside fpass! is spent decidin…

---

## [Bug with solvers for stiffness in version 6.80.1 of OrdinaryDiffEq](https://discourse.julialang.org/t/bug-with-solvers-for-stiffness-in-version-6-80-1-of-ordinarydiffeq/114990)

<div class="topic-metadata">

**Author:** [@Alergy](https://discourse.julialang.org/u/Alergy)\
**Replies:** 1\
**Last updated:** [May 31, 2024, 12:12am UTC](https://discourse.julialang.org/t/bug-with-solvers-for-stiffness-in-version-6-80-1-of-ordinarydiffeq/114990 "2024-05-31T00:12:49Z")

</div>

These days I have been using Rosenbrock23() with OrdinaryDiffEq v6.75.0 without any bugs. Recently I upgraded to OrdinaryDiffEq v6.80.1 and it just broke. Here is a MWE: using OrdinaryDiffEq function dudt(du, u, p, t) …

---

## [From zero to a fun Julia project in 4 days?](https://discourse.julialang.org/t/from-zero-to-a-fun-julia-project-in-4-days/114694)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 17\
**Last updated:** [May 30, 2024, 11:46pm UTC](https://discourse.julialang.org/t/from-zero-to-a-fun-julia-project-in-4-days/114694 "2024-05-30T23:46:34Z")

</div>

I’ve been asked to mentor a group of 2-3 students (aged 16+) for a week-long coding camp this summer. The idea is to help them discover computer science through a research-adjacent project, with a public presentation at …

---

## [Issue with using Unicode in symbol names](https://discourse.julialang.org/t/issue-with-using-unicode-in-symbol-names/114942)

<div class="topic-metadata">

**Author:** [@oOosys](https://discourse.julialang.org/u/oOosys)\
**Replies:** 8\
**Last updated:** [May 30, 2024, 10:16pm UTC](https://discourse.julialang.org/t/issue-with-using-unicode-in-symbol-names/114942 "2024-05-30T22:16:00Z")

</div>

julia\> 5 + 5 10 julia\> · = 5 5 julia\> · 5 julia\> · + · ERROR: ParseError: # Error @ REPL\[31\]:1:1 · + · ╙ ── not a unary operator Stacktrace: \[1\] top-level scope @ none:1 julia\>

---

## [Getting bin values from histogram](https://discourse.julialang.org/t/getting-bin-values-from-histogram/114985)

<div class="topic-metadata">

**Author:** [@bsuwal](https://discourse.julialang.org/u/bsuwal)\
**Replies:** 1\
**Last updated:** [May 30, 2024, 9:00pm UTC](https://discourse.julialang.org/t/getting-bin-values-from-histogram/114985 "2024-05-30T21:00:27Z")

</div>

I wish to get the values of the bins in a histogram I make using Plots.jl. For example, if I use the following sample code using Plots data = randn(100) histogram(data, normalize=:probability) I wish to learn what the…

---

## [InteractiveViz - an interactive visualization toolkit for large datasets](https://discourse.julialang.org/t/interactiveviz-an-interactive-visualization-toolkit-for-large-datasets/40878)

<div class="topic-metadata">

**Author:** [@mchitre](https://discourse.julialang.org/u/mchitre)\
**Replies:** 40\
**Last updated:** [May 30, 2024, 8:37pm UTC](https://discourse.julialang.org/t/interactiveviz-an-interactive-visualization-toolkit-for-large-datasets/40878 "2024-05-30T20:37:54Z")

</div>

Announcing InteractiveViz, an interactive visualization toolkit for working with large (even infinite) datasets. Julia already has a rich set of plotting tools in the form of the Plots and Makie ecosystems, and various …

---

## [Documenter.jl build "resource busy or locked" workaround](https://discourse.julialang.org/t/documenter-jl-build-resource-busy-or-locked-workaround/114965)

<div class="topic-metadata">

**Author:** [@maxkapur](https://discourse.julialang.org/u/maxkapur)\
**Replies:** 1\
**Last updated:** [May 30, 2024, 8:22pm UTC](https://discourse.julialang.org/t/documenter-jl-build-resource-busy-or-locked-workaround/114965 "2024-05-30T20:22:40Z")

</div>

After building docs from Documenter.jl for my project in Windows, for some reason there are always two processes cmd.exe and gksqt.exe that remain alive with locks on one of the subdirectories in docs/build/. As a result…

---

## [Agent steps](https://discourse.julialang.org/t/agent-steps/114980)

<div class="topic-metadata">

**Author:** [@Dawit](https://discourse.julialang.org/u/Dawit)\
**Replies:** 0\
**Last updated:** [May 30, 2024, 7:15pm UTC](https://discourse.julialang.org/t/agent-steps/114980 "2024-05-30T19:15:17Z")

</div>

Hi Guys, I am new to julia… I was working on American football simulation and I tried to move agents/players with certain movement… for them to score and reset on the center position. Now i wanted to try… for the ball ca…

---

## [Sublime, terminus on windows: bad unicode](https://discourse.julialang.org/t/sublime-terminus-on-windows-bad-unicode/114979)

<div class="topic-metadata">

**Author:** [@Paul\_Soderlind](https://discourse.julialang.org/u/Paul_Soderlind)\
**Replies:** 0\
**Last updated:** [May 30, 2024, 7:09pm UTC](https://discourse.julialang.org/t/sublime-terminus-on-windows-bad-unicode/114979 "2024-05-30T19:09:36Z")

</div>

With a fairly standard setup, the terminal launched by Terminus (from sublime text) fails to underline when I run printstyled("hello";underline=true). I’ve tried to change the Terminus default to powershell or wt, but w…

---

## [Plot recipe that performs multiple plot calls](https://discourse.julialang.org/t/plot-recipe-that-performs-multiple-plot-calls/114944)

<div class="topic-metadata">

**Author:** [@kirklong](https://discourse.julialang.org/u/kirklong)\
**Replies:** 1\
**Last updated:** [May 30, 2024, 5:44pm UTC](https://discourse.julialang.org/t/plot-recipe-that-performs-multiple-plot-calls/114944 "2024-05-30T17:44:38Z")

</div>

I am trying to define a recipe for a custom type. I have gotten a basic thing to work using the @userplot macro and following some examples, but I want to extend this to allow the recipe to do what would be multiple plot…

---

## [Slow numerical integration of scalar function](https://discourse.julialang.org/t/slow-numerical-integration-of-scalar-function/114976)

<div class="topic-metadata">

**Author:** [@golanor](https://discourse.julialang.org/u/golanor)\
**Replies:** 1\
**Last updated:** [May 30, 2024, 5:16pm UTC](https://discourse.julialang.org/t/slow-numerical-integration-of-scalar-function/114976 "2024-05-30T17:16:24Z")

</div>

Hi, I’m trying to compute a set of integrals, and the integration takes a lot of time and allocates a lot. Is there a way to speed it up? MWE: using Integrals, BenchmarkTools const ω1, ω2 = 33.807, 37.822; const Ω1, …

---

## [Custom prompt and introductory text in REPL](https://discourse.julialang.org/t/custom-prompt-and-introductory-text-in-repl/114943)

<div class="topic-metadata">

**Author:** [@oOosys](https://discourse.julialang.org/u/oOosys)\
**Replies:** 3\
**Last updated:** [May 30, 2024, 5:05pm UTC](https://discourse.julialang.org/t/custom-prompt-and-introductory-text-in-repl/114943 "2024-05-30T17:05:33Z")

</div>

How to customize the REPL prompt and replace the introductory message of the REPL by putting appropriate code into the “startup.jl” script in “~/.julia/config” directory?

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

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