# Latest

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

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

**Page:** 516

---

## [Step!() remains strangely unfound if buried inside another method](https://discourse.julialang.org/t/step-remains-strangely-unfound-if-buried-inside-another-method/108316)

<div class="topic-metadata">

**Author:** [@Niall](https://discourse.julialang.org/u/Niall)\
**Replies:** 5\
**Last updated:** [January 8, 2024, 9:16am UTC](https://discourse.julialang.org/t/step-remains-strangely-unfound-if-buried-inside-another-method/108316 "2024-01-08T09:16:42Z")

</div>

Hi. Can anyone please tell me why the call to step!(irg.odes) in the following code generates the error: MethodError: no method matching step!(::DynamicalSystemsBase.CoupledODEs{true, ...? Note that the call to reinit!…

---

## [Iso\_codes tree hash mismatch](https://discourse.julialang.org/t/iso-codes-tree-hash-mismatch/108240)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 5\
**Last updated:** [January 8, 2024, 8:40am UTC](https://discourse.julialang.org/t/iso-codes-tree-hash-mismatch/108240 "2024-01-08T08:40:31Z")

</div>

Anyone else has the problem? Is there a solution?

---

## [Status of WebIO](https://discourse.julialang.org/t/status-of-webio/108478)

<div class="topic-metadata">

**Author:** [@Benoit9](https://discourse.julialang.org/u/Benoit9)\
**Replies:** 2\
**Last updated:** [January 8, 2024, 7:33am UTC](https://discourse.julialang.org/t/status-of-webio/108478 "2024-01-08T07:33:30Z")

</div>

Hello, I was trying to use Interact.jl in the browser, and I ran into an issue with WebIO being incompatible with the latest WebSockets. Now, WebSockets itself does not seem to have been updated for over a year, and I u…

---

## [Nonconvex.jl reproduces the initial vector as the optimized vector](https://discourse.julialang.org/t/nonconvex-jl-reproduces-the-initial-vector-as-the-optimized-vector/107094)

<div class="topic-metadata">

**Author:** [@AP\_profile](https://discourse.julialang.org/u/AP_profile)\
**Replies:** 33\
**Last updated:** [January 8, 2024, 7:14am UTC](https://discourse.julialang.org/t/nonconvex-jl-reproduces-the-initial-vector-as-the-optimized-vector/107094 "2024-01-08T07:14:34Z")

</div>

Hi all, I have been attempting to use Noncovex.jl for an optimization problem, defined as follows: using AbstractDifferentiation using ForwardDiff using Nonconvex Nonconvex.@load NLopt start\_vec = zeros(11) x = start\_…

---

## [Mutating arrays inside function](https://discourse.julialang.org/t/mutating-arrays-inside-function/108431)

<div class="topic-metadata">

**Author:** [@pratikvn](https://discourse.julialang.org/u/pratikvn)\
**Replies:** 13\
**Last updated:** [January 8, 2024, 6:30am UTC](https://discourse.julialang.org/t/mutating-arrays-inside-function/108431 "2024-01-08T06:30:09Z")

</div>

Hello, I am new to Julia and just trying out things and ran into something that I found unintuitive and wanted to understand the canonical way. Basically, I am trying to pass in an array to a function and have the func…

---

## [Parametric methods](https://discourse.julialang.org/t/parametric-methods/108496)

<div class="topic-metadata">

**Author:** [@jiang\_ming\_zhang](https://discourse.julialang.org/u/jiang_ming_zhang)\
**Replies:** 3\
**Last updated:** [January 8, 2024, 4:03am UTC](https://discourse.julialang.org/t/parametric-methods/108496 "2024-01-08T04:03:51Z")

</div>

I have just read the “parametric methods” part of the julia docs: https://docs.julialang.org/en/v1/manual/methods/#Parametric-Methods Is it possible to parametrize the value (but not the type) of arguments of a functio…

---

## [Is it possible to use autodiff on an external program?](https://discourse.julialang.org/t/is-it-possible-to-use-autodiff-on-an-external-program/108475)

<div class="topic-metadata">

**Author:** [@Tetrakai](https://discourse.julialang.org/u/Tetrakai)\
**Replies:** 2\
**Last updated:** [January 8, 2024, 2:50am UTC](https://discourse.julialang.org/t/is-it-possible-to-use-autodiff-on-an-external-program/108475 "2024-01-08T02:50:24Z")

</div>

I have a c++ program I am running from julia that acts as the inner loop of a simulation (actually its a game engine). I’ve been playing with lots of derivative free optimizations, and tried the FiniteDiff package which …

---

## [Adding two integers vs. adding two floating-point numbers](https://discourse.julialang.org/t/adding-two-integers-vs-adding-two-floating-point-numbers/108494)

<div class="topic-metadata">

**Author:** [@jiang\_ming\_zhang](https://discourse.julialang.org/u/jiang_ming_zhang)\
**Replies:** 1\
**Last updated:** [January 8, 2024, 2:45am UTC](https://discourse.julialang.org/t/adding-two-integers-vs-adding-two-floating-point-numbers/108494 "2024-01-08T02:45:39Z")

</div>

According to the julia documents, adding two integers is very different from adding two floating-point numbers, both of which are distinct from adding an integer to a floating-point number. Is adding two integers faste…

---

## [VScode IntelliSense very frustrating](https://discourse.julialang.org/t/vscode-intellisense-very-frustrating/72007)

<div class="topic-metadata">

**Author:** [@Dustin\_Hess](https://discourse.julialang.org/u/Dustin_Hess)\
**Replies:** 13\
**Last updated:** [January 8, 2024, 12:42am UTC](https://discourse.julialang.org/t/vscode-intellisense-very-frustrating/72007 "2024-01-08T00:42:17Z")

</div>

I am long time Juno user. I keep coming back to VScode as that is supposedly where things are going. Everytime I come back the intellisense never works. Half the time when you import namspaces with the using statement th…

---

## [Julia Gender Inclusive Community Hour featuring “Pluto.jl – Accessibility in scientific computing”](https://discourse.julialang.org/t/julia-gender-inclusive-community-hour-featuring-pluto-jl-accessibility-in-scientific-computing/108485)

<div class="topic-metadata">

**Author:** [@Xuan](https://discourse.julialang.org/u/Xuan)\
**Replies:** 0\
**Last updated:** [January 7, 2024, 11:58pm UTC](https://discourse.julialang.org/t/julia-gender-inclusive-community-hour-featuring-pluto-jl-accessibility-in-scientific-computing/108485 "2024-01-07T23:58:22Z")

</div>

Hey everyone, Julia Gender Inclusive is excited to announce our next Community Hour happening Saturday, 13th January at 10AM EST / 4PM CET / 8.30PM IST, featuring Fons van der Plas (@fonsp ), who will talk about Pluto.j…

---

## [Is it safe to pop! a Dict in a loop like this?](https://discourse.julialang.org/t/is-it-safe-to-pop-a-dict-in-a-loop-like-this/108441)

<div class="topic-metadata">

**Author:** [@GHTaarn](https://discourse.julialang.org/u/GHTaarn)\
**Replies:** 15\
**Last updated:** [January 7, 2024, 9:47pm UTC](https://discourse.julialang.org/t/is-it-safe-to-pop-a-dict-in-a-loop-like-this/108441 "2024-01-07T21:47:43Z")

</div>

At the moment, the following code gives the result that I want (i.e. the for loop goes through each key in the dict once): let mydict = Dict(\[i =\> rand() for i in 1:10\]) println(mydict) for k in keys(mydict) …

---

## [Adding standard library packages to manifest file for getting autocompletion is redundant](https://discourse.julialang.org/t/adding-standard-library-packages-to-manifest-file-for-getting-autocompletion-is-redundant/108330)

<div class="topic-metadata">

**Author:** [@GeorgeTheFifth](https://discourse.julialang.org/u/GeorgeTheFifth)\
**Replies:** 7\
**Last updated:** [January 7, 2024, 9:58pm UTC](https://discourse.julialang.org/t/adding-standard-library-packages-to-manifest-file-for-getting-autocompletion-is-redundant/108330 "2024-01-07T21:58:39Z")

</div>

The fact that we have to add the standard library packages to get code autocompletion seems quite redundant! For instance, in Python, when you import something from the standard library, you get the autocompletion on th…

---

## [Decimal commas instead of points](https://discourse.julialang.org/t/decimal-commas-instead-of-points/67446)

<div class="topic-metadata">

**Author:** [@danilo-bc](https://discourse.julialang.org/u/danilo-bc)\
**Replies:** 7\
**Last updated:** [January 7, 2024, 9:05pm UTC](https://discourse.julialang.org/t/decimal-commas-instead-of-points/67446 "2024-01-07T21:05:33Z")

</div>

Does Julia provide a simple way to use decimal commas instead of the standard point? Some countries use that standard and working with local data is sometimes a hassle. For example, importing spreadsheets with percentag…

---

## [Windows users, test my new HDF5\_jll 1.14.3 builds!](https://discourse.julialang.org/t/windows-users-test-my-new-hdf5-jll-1-14-3-builds/108459)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 8\
**Last updated:** [January 7, 2024, 5:55pm UTC](https://discourse.julialang.org/t/windows-users-test-my-new-hdf5-jll-1-14-3-builds/108459 "2024-01-07T17:55:28Z")

</div>

As part of the effort to update the HDF5 libraries to version 1.14.3, I have built a series of test packages for Windows located here: If you run Windows, I would appreciate if you could try running the following short…

---

## [Searching files on disk running 28 times faster in Python than in Julia. What am I doing wrong?](https://discourse.julialang.org/t/searching-files-on-disk-running-28-times-faster-in-python-than-in-julia-what-am-i-doing-wrong/108462)

<div class="topic-metadata">

**Author:** [@Viditagarwal7479](https://discourse.julialang.org/u/Viditagarwal7479)\
**Replies:** 13\
**Last updated:** [January 7, 2024, 5:50pm UTC](https://discourse.julialang.org/t/searching-files-on-disk-running-28-times-faster-in-python-than-in-julia-what-am-i-doing-wrong/108462 "2024-01-07T17:50:58Z")

</div>

The following code goes through whole disk (~12000 files) to get all the files having certain extension. Running the below script takes around 5.034 secs whereas running the similar python code takes just 0.176 secs. us…

---

## [Plots not precompiling on macos apple silicon](https://discourse.julialang.org/t/plots-not-precompiling-on-macos-apple-silicon/108472)

<div class="topic-metadata">

**Author:** [@peteole](https://discourse.julialang.org/u/peteole)\
**Replies:** 2\
**Last updated:** [January 7, 2024, 5:31pm UTC](https://discourse.julialang.org/t/plots-not-precompiling-on-macos-apple-silicon/108472 "2024-01-07T17:31:24Z")

</div>

Hi, recently the plotting library broke down after an update of julia to 1.9.4 using homebrew on macos apple silicon. The precompilation fails: using Plots \[ Info: Precompiling Plots \[91a5bcdd-55d7-5caf-9e0b-520d859cae8…

---

## [I cannot use my gpu despite trying everything](https://discourse.julialang.org/t/i-cannot-use-my-gpu-despite-trying-everything/108365)

<div class="topic-metadata">

**Author:** [@kocak](https://discourse.julialang.org/u/kocak)\
**Replies:** 28\
**Last updated:** [January 7, 2024, 4:55pm UTC](https://discourse.julialang.org/t/i-cannot-use-my-gpu-despite-trying-everything/108365 "2024-01-07T16:55:26Z")

</div>

I get this error (more detailed error on bottom) WARNING: Error while freeing DeviceBuffer(1024 bytes at 0x0000000205003000): CUDA.CuError(code=CUDA.cudaError\_enum(0x000002bc), details=CUDA.Optional{String}(data=nothing…

---

## [Tower hanoi in julia vs java - recursive function](https://discourse.julialang.org/t/tower-hanoi-in-julia-vs-java-recursive-function/108399)

<div class="topic-metadata">

**Author:** [@fab6](https://discourse.julialang.org/u/fab6)\
**Replies:** 14\
**Last updated:** [January 7, 2024, 3:58pm UTC](https://discourse.julialang.org/t/tower-hanoi-in-julia-vs-java-recursive-function/108399 "2024-01-07T15:58:33Z")

</div>

Hi, I am comparing a simple recursive function for the tower of hanoi in julia with java. This is the java code: class hanoi { static void towerOfHanoi(int n, char source, char target, char helper) { i…

---

## [Differential Equations running out of GPU memory](https://discourse.julialang.org/t/differential-equations-running-out-of-gpu-memory/101048)

<div class="topic-metadata">

**Author:** [@Tommy\_Fischer](https://discourse.julialang.org/u/Tommy_Fischer)\
**Replies:** 16\
**Last updated:** [January 7, 2024, 2:53pm UTC](https://discourse.julialang.org/t/differential-equations-running-out-of-gpu-memory/101048 "2024-01-07T14:53:11Z")

</div>

Hi all, I posted earlier about minimising memory usage on gpu modelling a system here. Since then I’ve tidied up my code a bit and have managed to reduce memory usage, but it still runs out of memory when I try to scan o…

---

## [In DataDrivenDiffEq, how to get SINDy results as an array of numeric coefficients?](https://discourse.julialang.org/t/in-datadrivendiffeq-how-to-get-sindy-results-as-an-array-of-numeric-coefficients/108449)

<div class="topic-metadata">

**Author:** [@kmd](https://discourse.julialang.org/u/kmd)\
**Replies:** 1\
**Last updated:** [January 7, 2024, 1:56pm UTC](https://discourse.julialang.org/t/in-datadrivendiffeq-how-to-get-sindy-results-as-an-array-of-numeric-coefficients/108449 "2024-01-07T13:56:08Z")

</div>

Hi, I would like to obtain the result of a SINDy model fitting as an array of coefficients I can convert to Float64. I can do this in PySINDy with the function \`\`model.coefficients()‘’, which will return the weights in…

---

## [Is LinearAlgebra a builtin module of julia?](https://discourse.julialang.org/t/is-linearalgebra-a-builtin-module-of-julia/108452)

<div class="topic-metadata">

**Author:** [@jiang\_ming\_zhang](https://discourse.julialang.org/u/jiang_ming_zhang)\
**Replies:** 5\
**Last updated:** [January 7, 2024, 1:34pm UTC](https://discourse.julialang.org/t/is-linearalgebra-a-builtin-module-of-julia/108452 "2024-01-07T13:34:16Z")

</div>

(@v1.9) pkg\> status Status \`C:\\Users\\jmzhang\\.julia\\environments\\v1.9\\Project.toml\` \[7d9fca2a\] Arpack v0.5.4 \[6e4b80f9\] BenchmarkTools v1.4.0 \[a93c6f00\] DataFrames v1.6.1 ⌃ \[0c46a032\] DifferentialEquations v7.11.0 …

---

## [Compile efficiency and argument-type declearation](https://discourse.julialang.org/t/compile-efficiency-and-argument-type-declearation/108464)

<div class="topic-metadata">

**Author:** [@jiang\_ming\_zhang](https://discourse.julialang.org/u/jiang_ming_zhang)\
**Replies:** 1\
**Last updated:** [January 7, 2024, 1:10pm UTC](https://discourse.julialang.org/t/compile-efficiency-and-argument-type-declearation/108464 "2024-01-07T13:10:16Z")

</div>

Suppose I have a function defined as function f(x,y) return x + y end Here I have no argument-type declearation. Does this mean julia has to generate as many methods as possible for this function in compiling? I…

---

## [How to get type of a column using Tables.Schema from Tables.jl?](https://discourse.julialang.org/t/how-to-get-type-of-a-column-using-tables-schema-from-tables-jl/108432)

<div class="topic-metadata">

**Author:** [@FemtoTrader](https://discourse.julialang.org/u/FemtoTrader)\
**Replies:** 7\
**Last updated:** [January 6, 2024, 11:22pm UTC](https://discourse.julialang.org/t/how-to-get-type-of-a-column-using-tables-schema-from-tables-jl/108432 "2024-01-06T23:22:24Z")

</div>

Hello, I have a TSFrame like so julia\> table 50×5 TSFrame with Date Index Index Open High Low Close Volume Date Float64 Float64 Float64 Float64 Float64 ───────────────────────────────…

---

## [What is the idea of having a builtin function like 'axpy!'?](https://discourse.julialang.org/t/what-is-the-idea-of-having-a-builtin-function-like-axpy/108453)

<div class="topic-metadata">

**Author:** [@jiang\_ming\_zhang](https://discourse.julialang.org/u/jiang_ming_zhang)\
**Replies:** 3\
**Last updated:** [January 7, 2024, 8:43am UTC](https://discourse.julialang.org/t/what-is-the-idea-of-having-a-builtin-function-like-axpy/108453 "2024-01-07T08:43:18Z")

</div>

I am from matlab. I find that there are actually much more builtin functions in julia than in matlab. In julia, we even have a function like ‘axpy!’ It is of course handy to have such a builtin function, although it is …

---

## [Is there round(..., digits=2) in CUDA?](https://discourse.julialang.org/t/is-there-round-digits-2-in-cuda/108450)

<div class="topic-metadata">

**Author:** [@BMval](https://discourse.julialang.org/u/BMval)\
**Replies:** 2\
**Last updated:** [January 7, 2024, 7:51am UTC](https://discourse.julialang.org/t/is-there-round-digits-2-in-cuda/108450 "2024-01-07T07:51:14Z")

</div>

I would like to use the function round(a, digits=2) on the GPU, but it seems that this is not possible. Is there another function for this purpose? Thank you in advance

---

## [\[\`foo\`\](@ref) to auto-link the Julia manual on discourse?](https://discourse.julialang.org/t/foo-ref-to-auto-link-the-julia-manual-on-discourse/107055)

<div class="topic-metadata">

**Author:** [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Replies:** 9\
**Last updated:** [January 7, 2024, 7:43am UTC](https://discourse.julialang.org/t/foo-ref-to-auto-link-the-julia-manual-on-discourse/107055 "2024-01-07T07:43:38Z")

</div>

I find myself linking to the Julia manual a lot when answering questions on Discourse, and it would be nice to make that more convenient. Is there any chance of supporting Documenter.jl style \[\`foo\`\](@ref) links to the …

---

## [Value.(x) with direct mode](https://discourse.julialang.org/t/value-x-with-direct-mode/108428)

<div class="topic-metadata">

**Author:** [@SingingKim](https://discourse.julialang.org/u/SingingKim)\
**Replies:** 2\
**Last updated:** [January 7, 2024, 4:50am UTC](https://discourse.julialang.org/t/value-x-with-direct-mode/108428 "2024-01-07T04:50:57Z")

</div>

I’m trying to reconstruct the optimization problem from the LP file that was generated from some commercial tool that has limited flexibility. I found a few relevant postings here and learned that I have to use the dire…

---

## [ReversedDiff/Zygote with SDE DifferentialEquations fails to compute gradients after a certain number of parameters](https://discourse.julialang.org/t/reverseddiff-zygote-with-sde-differentialequations-fails-to-compute-gradients-after-a-certain-number-of-parameters/108451)

<div class="topic-metadata">

**Author:** [@MatthieuDarcy](https://discourse.julialang.org/u/MatthieuDarcy)\
**Replies:** 2\
**Last updated:** [January 7, 2024, 3:37am UTC](https://discourse.julialang.org/t/reverseddiff-zygote-with-sde-differentialequations-fails-to-compute-gradients-after-a-certain-number-of-parameters/108451 "2024-01-07T03:37:10Z")

</div>

Hello, I’m trying to solve a parameter estimation problem for an SDE. The parameters are a small, one-layer neural network (technically, it’s a random feature model). My parameters are contained in one matrix of size (4…

---

## [Some Fine YouTube Creators Teaching Julia](https://discourse.julialang.org/t/some-fine-youtube-creators-teaching-julia/108357)

<div class="topic-metadata">

**Author:** [@benslinux](https://discourse.julialang.org/u/benslinux)\
**Replies:** 2\
**Last updated:** [January 5, 2024, 7:38pm UTC](https://discourse.julialang.org/t/some-fine-youtube-creators-teaching-julia/108357 "2024-01-05T19:38:21Z")

</div>

I’m relatively new to this forum, but I’ve already learned a great deal from those who have taken the time to answer my questions. I’ve also learned from those outside the immediate community here. I’d like to draw atten…

---

## [Saving control inputs in RigidBodyDynamics](https://discourse.julialang.org/t/saving-control-inputs-in-rigidbodydynamics/108446)

<div class="topic-metadata">

**Author:** [@GlenHenshaw](https://discourse.julialang.org/u/GlenHenshaw)\
**Replies:** 0\
**Last updated:** [January 6, 2024, 10:30pm UTC](https://discourse.julialang.org/t/saving-control-inputs-in-rigidbodydynamics/108446 "2024-01-06T22:30:01Z")

</div>

Is there a generally accepted way to store the control inputs during a simulation in RigidBodyDynamics? ts, qs, vs = simulate(state, 15., control!; Δt = Δt); I’d like to capture what is calculated by control! at each t…

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

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