# Latest

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

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

**Page:** 279

---

## [Sequentially adding lines with plot! ending up in overwriting](https://discourse.julialang.org/t/sequentially-adding-lines-with-plot-ending-up-in-overwriting/122520)

<div class="topic-metadata">

**Author:** [@miguelborrero](https://discourse.julialang.org/u/miguelborrero)\
**Replies:** 2\
**Last updated:** [November 12, 2024, 2:20pm UTC](https://discourse.julialang.org/t/sequentially-adding-lines-with-plot-ending-up-in-overwriting/122520 "2024-11-12T14:20:29Z")

</div>

Hi there, quick question: is there a reason why this function does not produce a single plot with the various lines desired? I get a plot with the last line only and my understanding is that this should not happen. func…

---

## [How to unvectorize a vector to use it as an argument of a function](https://discourse.julialang.org/t/how-to-unvectorize-a-vector-to-use-it-as-an-argument-of-a-function/122441)

<div class="topic-metadata">

**Author:** [@Wooheon](https://discourse.julialang.org/u/Wooheon)\
**Replies:** 4\
**Last updated:** [November 12, 2024, 2:05pm UTC](https://discourse.julialang.org/t/how-to-unvectorize-a-vector-to-use-it-as-an-argument-of-a-function/122441 "2024-11-12T14:05:04Z")

</div>

Hello. I am trying to use a vector output of some function as an input of another function. For example, if ϕₛₑᵣᵢₑₛ₄ is a function that has 17 inputs and coef is a vector of 15 elements, I want to write down ϕₛₑᵣᵢₑₛ₄(c…

---

## [Julia v1.10.7 testing period](https://discourse.julialang.org/t/julia-v1-10-7-testing-period/122546)

<div class="topic-metadata">

**Author:** [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Replies:** 0\
**Last updated:** [November 12, 2024, 1:52pm UTC](https://discourse.julialang.org/t/julia-v1-10-7-testing-period/122546 "2024-11-12T13:52:39Z")

</div>

The release-1.10 branch on the Julia repository now contains the set of commits we’re planning to tag as v1.10.7. The list of commits included since v1.10.6 is available here . As a patch release, it should be non-breaki…

---

## [How to (efficiently) filter a file/stream on-the-fly?](https://discourse.julialang.org/t/how-to-efficiently-filter-a-file-stream-on-the-fly/122457)

<div class="topic-metadata">

**Author:** [@Abhro](https://discourse.julialang.org/u/Abhro)\
**Replies:** 6\
**Last updated:** [November 12, 2024, 12:12pm UTC](https://discourse.julialang.org/t/how-to-efficiently-filter-a-file-stream-on-the-fly/122457 "2024-11-12T12:12:53Z")

</div>

I have a fixed-width output file from a Fortran program, in a well-defined matrix format, except for the occasional lines which I can regard as comments. I would like to pass the file to something like DelimitedFiles.rea…

---

## [Warning secondorder ADtype in optimization.jl](https://discourse.julialang.org/t/warning-secondorder-adtype-in-optimization-jl/122539)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 3\
**Last updated:** [November 12, 2024, 10:27am UTC](https://discourse.julialang.org/t/warning-secondorder-adtype-in-optimization-jl/122539 "2024-11-12T10:27:52Z")

</div>

Hi, I’m trying to replicate the example from Optim.jl · Optimization.jl, i.e. I’m running using Optimization, OptimizationOptimJL function RunTest() rosenbrock(x, p) = (p\[1\] - x\[1\])^2 + p\[2\] \* (x\[2\] - x\[1\]^2)^2 …

---

## [How to use the REPL to speed up modular development by dynamically replacing function definitions](https://discourse.julialang.org/t/how-to-use-the-repl-to-speed-up-modular-development-by-dynamically-replacing-function-definitions/122326)

<div class="topic-metadata">

**Author:** [@world-peace](https://discourse.julialang.org/u/world-peace)\
**Replies:** 26\
**Last updated:** [November 12, 2024, 9:22am UTC](https://discourse.julialang.org/t/how-to-use-the-repl-to-speed-up-modular-development-by-dynamically-replacing-function-definitions/122326 "2024-11-12T09:22:37Z")

</div>

I have a question about workflows in Julia, or alternatively, some aspects of how the REPL can be used. Allow me to start by describing how I am currently constrained. I recognized that what I am about to describe will…

---

## [Why is it Convention to Repeat Function Signatures in Docstrings](https://discourse.julialang.org/t/why-is-it-convention-to-repeat-function-signatures-in-docstrings/122245)

<div class="topic-metadata">

**Author:** [@mlouis9](https://discourse.julialang.org/u/mlouis9)\
**Replies:** 11\
**Last updated:** [November 10, 2024, 6:30pm UTC](https://discourse.julialang.org/t/why-is-it-convention-to-repeat-function-signatures-in-docstrings/122245 "2024-11-10T18:30:27Z")

</div>

I’m very new to Julia, but the only official guidance on Julia docstring conventions I’ve been able to find suggests repeating the function signature in the docstring. This seems kind of redundant and hard to maintain (i…

---

## [\[ANN\] DotCall.jl OOP-like dot notation](https://discourse.julialang.org/t/ann-dotcall-jl-oop-like-dot-notation/122402)

<div class="topic-metadata">

**Author:** [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Replies:** 10\
**Last updated:** [November 12, 2024, 7:54am UTC](https://discourse.julialang.org/t/ann-dotcall-jl-oop-like-dot-notation/122402 "2024-11-12T07:54:25Z")

</div>

DotCall.jl lets you call methods as x.f() rather than f(x). It was registered a few weeks ago. This is an old (2 or 3 years) package, with a new, more descriptive name. And a couple of minor fixes. \[EDIT: simplified ex…

---

## [Undefined behaviour of ccall](https://discourse.julialang.org/t/undefined-behaviour-of-ccall/122496)

<div class="topic-metadata">

**Author:** [@kmiernik](https://discourse.julialang.org/u/kmiernik)\
**Replies:** 6\
**Last updated:** [November 12, 2024, 6:17am UTC](https://discourse.julialang.org/t/undefined-behaviour-of-ccall/122496 "2024-11-12T06:17:21Z")

</div>

I have been using my julia wrapper for some c-library called fasterac (for use with digital electronics (https://faster.in2p3.fr/). It has been working fine, and I processed many TB of data with it. With Julia 1.11 (and …

---

## [Would this work for safer Julia code?](https://discourse.julialang.org/t/would-this-work-for-safer-julia-code/122523)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 0\
**Last updated:** [November 12, 2024, 6:14am UTC](https://discourse.julialang.org/t/would-this-work-for-safer-julia-code/122523 "2024-11-12T06:14:18Z")

</div>

There have been many complaints regarding Julia safety. I’ve been thinking about this and my solution proposal is with more multiple dispatch. Basically, you will generate the proof of correctness of an algorithm given a…

---

## [Compile FastDifferentiation derivatives one time only](https://discourse.julialang.org/t/compile-fastdifferentiation-derivatives-one-time-only/121816)

<div class="topic-metadata">

**Author:** [@KeitaNakamura](https://discourse.julialang.org/u/KeitaNakamura)\
**Replies:** 27\
**Last updated:** [November 12, 2024, 6:09am UTC](https://discourse.julialang.org/t/compile-fastdifferentiation-derivatives-one-time-only/121816 "2024-11-12T06:09:09Z")

</div>

Hi @brianguenter, I’m currently using FastDifferentiation.jl, and I must say, the package is fantastic—it’s incredibly fast. Thank you very much for sharing this! I have a question regarding the differentiation processe…

---

## [\[ANN\] Webviews.jl - a tiny library for creating web-based desktop GUIs](https://discourse.julialang.org/t/ann-webviews-jl-a-tiny-library-for-creating-web-based-desktop-guis/91406)

<div class="topic-metadata">

**Author:** [@sunoru](https://discourse.julialang.org/u/sunoru)\
**Replies:** 5\
**Last updated:** [November 12, 2024, 3:28am UTC](https://discourse.julialang.org/t/ann-webviews-jl-a-tiny-library-for-creating-web-based-desktop-guis/91406 "2024-11-12T03:28:59Z")

</div>

Hi there, I’d like to share with you Webviews.jl, a Julia implementation of webview for creating web-based desktop GUIs. Hope you find it interesting and useful. Its usage is very simple: # Julia v1.8+ on Windows/macO…

---

## [A shortcut to Bresenham's algo?](https://discourse.julialang.org/t/a-shortcut-to-bresenhams-algo/122451)

<div class="topic-metadata">

**Author:** [@rveltz](https://discourse.julialang.org/u/rveltz)\
**Replies:** 8\
**Last updated:** [November 11, 2024, 10:59pm UTC](https://discourse.julialang.org/t/a-shortcut-to-bresenhams-algo/122451 "2024-11-11T22:59:16Z")

</div>

Hi, I have a set mycurves of broken lines in 3d. I have a grid specified by 3 ranges rx,ry,rz. For each curve in mycurve, I want to tag the cells in the grid by which the curve passes. Hence, the cells hold the value 0 …

---

## [How to get the a and b coefficients out of the DSP digital filter function?](https://discourse.julialang.org/t/how-to-get-the-a-and-b-coefficients-out-of-the-dsp-digital-filter-function/122516)

<div class="topic-metadata">

**Author:** [@Nine\_Cycles](https://discourse.julialang.org/u/Nine_Cycles)\
**Replies:** 2\
**Last updated:** [November 11, 2024, 10:15pm UTC](https://discourse.julialang.org/t/how-to-get-the-a-and-b-coefficients-out-of-the-dsp-digital-filter-function/122516 "2024-11-11T22:15:47Z")

</div>

Hello, i want to get the a and b coefficients of a digital Butterworth filter in Julia. I have to iteratively compute the results for live-sound purpose, so I cannot use a filter() function. Here is where my code is at …

---

## [Change colorbar position and decimal points in the legend (Plots.jl with gr)](https://discourse.julialang.org/t/change-colorbar-position-and-decimal-points-in-the-legend-plots-jl-with-gr/122471)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 1\
**Last updated:** [November 11, 2024, 9:23pm UTC](https://discourse.julialang.org/t/change-colorbar-position-and-decimal-points-in-the-legend-plots-jl-with-gr/122471 "2024-11-11T21:23:16Z")

</div>

Hi all, I’m trying to create a heatmap using Plots.jl with the following: heatmap( p1\_range, p2\_range, log\_sse\_grid', c=:viridis, xlabel=xlabel, ylabel=ylabel, …

---

## [NeuralPDE.jl slow with integro diff. equations](https://discourse.julialang.org/t/neuralpde-jl-slow-with-integro-diff-equations/122511)

<div class="topic-metadata">

**Author:** [@nico](https://discourse.julialang.org/u/nico)\
**Replies:** 3\
**Last updated:** [November 11, 2024, 8:42pm UTC](https://discourse.julialang.org/t/neuralpde-jl-slow-with-integro-diff-equations/122511 "2024-11-11T20:42:40Z")

</div>

Is there a reason why with integro-differential equations NeuralPDE.jl becomes very slow? Is there a better way to deal with integrals than with, e.g., Ii = Symbolics.Integral(t in DomainSets.ClosedInterval(0, t)) ?

---

## [Huge RAM usage with JumpProcesses.jl](https://discourse.julialang.org/t/huge-ram-usage-with-jumpprocesses-jl/122428)

<div class="topic-metadata">

**Author:** [@hhindley](https://discourse.julialang.org/u/hhindley)\
**Replies:** 13\
**Last updated:** [November 11, 2024, 8:18pm UTC](https://discourse.julialang.org/t/huge-ram-usage-with-jumpprocesses-jl/122428 "2024-11-11T20:18:22Z")

</div>

I am running a stochastic model using JumpProcesses.jl. The lowest consistent memory usage I can achieve is between 8-16GB with simulations that take 10-20seconds. I would assume for such an time efficient simulation the…

---

## [How to run a simple agent-based model via abmplot()](https://discourse.julialang.org/t/how-to-run-a-simple-agent-based-model-via-abmplot/122476)

<div class="topic-metadata">

**Author:** [@pogikano](https://discourse.julialang.org/u/pogikano)\
**Replies:** 0\
**Last updated:** [November 11, 2024, 12:24am UTC](https://discourse.julialang.org/t/how-to-run-a-simple-agent-based-model-via-abmplot/122476 "2024-11-11T00:24:25Z")

</div>

This simple model in continuous space starts with one dead (immobile) object and 500 live (moving ) ones. If a live object gets close to a dead one, it dies. The result should be a growing pattern. The control panel show…

---

## [How to simplify complicated expression further?](https://discourse.julialang.org/t/how-to-simplify-complicated-expression-further/122110)

<div class="topic-metadata">

**Author:** [@aligurbu](https://discourse.julialang.org/u/aligurbu)\
**Replies:** 6\
**Last updated:** [November 11, 2024, 5:45pm UTC](https://discourse.julialang.org/t/how-to-simplify-complicated-expression-further/122110 "2024-11-11T17:45:17Z")

</div>

Hello everyone, I am using Pluto and Symbolics.jl for symbolic computations and encountered a challenge in simplifying results. Here’s the code I am working with: solutions = symbolic\_linear\_solve(\[L1 ~ 0, L2 ~ 0, L3 ~…

---

## [Create DataFrame from data in DataFrameRow](https://discourse.julialang.org/t/create-dataframe-from-data-in-dataframerow/122431)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 7\
**Last updated:** [November 11, 2024, 4:44pm UTC](https://discourse.julialang.org/t/create-dataframe-from-data-in-dataframerow/122431 "2024-11-11T16:44:18Z")

</div>

I’m stuck on this data transformation. I have a DataFrameRow that I looked up from another table. julia\> using DataFramesMeta julia\> dfrow = DataFrame( "Carbon Min. (%)" =\> 0.1, "Carbon Max. (%)" …

---

## [The Julia shell doesn't have an environment variable $SHELL?](https://discourse.julialang.org/t/the-julia-shell-doesnt-have-an-environment-variable-shell/122498)

<div class="topic-metadata">

**Author:** [@world-peace](https://discourse.julialang.org/u/world-peace)\
**Replies:** 3\
**Last updated:** [November 11, 2024, 2:57pm UTC](https://discourse.julialang.org/t/the-julia-shell-doesnt-have-an-environment-variable-shell/122498 "2024-11-11T14:57:20Z")

</div>

What is the Julia shell? It doesn’t appear to have an environment variable $SHELL. Normally most (Linux) shells define this environment variable to tell the user that the current shell is a Bash shell or /bin/sh shell, …

---

## [MethodError: no method matching getindex](https://discourse.julialang.org/t/methoderror-no-method-matching-getindex/22496)

<div class="topic-metadata">

**Author:** [@Aquaman](https://discourse.julialang.org/u/Aquaman)\
**Replies:** 10\
**Last updated:** [November 11, 2024, 2:34pm UTC](https://discourse.julialang.org/t/methoderror-no-method-matching-getindex/22496 "2024-11-11T14:34:21Z")

</div>

Dear All, I’m trying to call a function(.jl) in a folder. terminal reported a bug: "MethodError: no method matching getindex" Attached text you find the test code: function testc(Nx,Ny,c0) NxNy = Nx\*Ny ccc=zeros(Nx…

---

## [IOError when using Distributed](https://discourse.julialang.org/t/ioerror-when-using-distributed/122495)

<div class="topic-metadata">

**Author:** [@Miroboru](https://discourse.julialang.org/u/Miroboru)\
**Replies:** 0\
**Last updated:** [November 11, 2024, 2:14pm UTC](https://discourse.julialang.org/t/ioerror-when-using-distributed/122495 "2024-11-11T14:14:27Z")

</div>

I have an old script that I have been using for a while, and which relies heavily on Distributed. Recently (I guess after Julia 1.11.1) my script is crashing with the following output from every node: Worker 55 terminat…

---

## [New Course: Intro to ML in Julia by MIT PhD](https://discourse.julialang.org/t/new-course-intro-to-ml-in-julia-by-mit-phd/122491)

<div class="topic-metadata">

**Author:** [@thesreedath](https://discourse.julialang.org/u/thesreedath)\
**Replies:** 2\
**Last updated:** [November 11, 2024, 10:19am UTC](https://discourse.julialang.org/t/new-course-intro-to-ml-in-julia-by-mit-phd/122491 "2024-11-11T10:19:42Z")

</div>

“Introduction to Machine Learning in Julia: New course launch” In 2022, I completed my PhD from MIT in experimental Electrical and Mechanical Engineering. While much of my research was hands-on, I discovered the unique …

---

## [Nested\_nlsolve in RadauIIa7 issue](https://discourse.julialang.org/t/nested-nlsolve-in-radauiia7-issue/122485)

<div class="topic-metadata">

**Author:** [@Maysam\_Gholampour](https://discourse.julialang.org/u/Maysam_Gholampour)\
**Replies:** 2\
**Last updated:** [November 11, 2024, 12:00pm UTC](https://discourse.julialang.org/t/nested-nlsolve-in-radauiia7-issue/122485 "2024-11-11T12:00:11Z")

</div>

Dear All, I have developed a package for a heat exchanger. Once BoundaryValueDiffeq V5.10.0 was released, I used it to solve my problem, which is a two-point boundary value problem (BVP). Today, I unexpectedly updated m…

---

## [Is there a way to get "headings" in comments to show up in VSCode outline?](https://discourse.julialang.org/t/is-there-a-way-to-get-headings-in-comments-to-show-up-in-vscode-outline/122460)

<div class="topic-metadata">

**Author:** [@marius311](https://discourse.julialang.org/u/marius311)\
**Replies:** 2\
**Last updated:** [November 11, 2024, 10:42am UTC](https://discourse.julialang.org/t/is-there-a-way-to-get-headings-in-comments-to-show-up-in-vscode-outline/122460 "2024-11-11T10:42:31Z")

</div>

This isn’t Julia-specific per-se but Julia’s VSCode plugin certainly makes this use-case much more common so it seems like asking here might give the best chance of finding someone who could have an idea. Anyway, I’m us…

---

## [Change the default global environment path (Julia on HPC)](https://discourse.julialang.org/t/change-the-default-global-environment-path-julia-on-hpc/122472)

<div class="topic-metadata">

**Author:** [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Replies:** 6\
**Last updated:** [November 11, 2024, 10:38am UTC](https://discourse.julialang.org/t/change-the-default-global-environment-path-julia-on-hpc/122472 "2024-11-11T10:38:40Z")

</div>

A little bit of background: I am currently working on a solution to set up Julia for grid computing where heterogeneous clusters are used (I am aware of GitHub - JuliaParallel/JUHPC: HPC setup for juliaup, julia and HPC…

---

## [Wrong rank of this simple matrix](https://discourse.julialang.org/t/wrong-rank-of-this-simple-matrix/122477)

<div class="topic-metadata">

**Author:** [@singularity](https://discourse.julialang.org/u/singularity)\
**Replies:** 2\
**Last updated:** [November 11, 2024, 9:16am UTC](https://discourse.julialang.org/t/wrong-rank-of-this-simple-matrix/122477 "2024-11-11T09:16:11Z")

</div>

Hi. I am using Julia 1.10.4. I am using the LinearAlgebra package to compute rank, nullspace, et cetera for matrices. My code is unexpectedly throwing some errors and it turns out it seems to be calculating matrix rank i…

---

## [Autodiff with Zygote: issues with setting seeds](https://discourse.julialang.org/t/autodiff-with-zygote-issues-with-setting-seeds/121957)

<div class="topic-metadata">

**Author:** [@weltenbummler](https://discourse.julialang.org/u/weltenbummler)\
**Replies:** 9\
**Last updated:** [November 11, 2024, 9:08am UTC](https://discourse.julialang.org/t/autodiff-with-zygote-issues-with-setting-seeds/121957 "2024-11-11T09:08:34Z")

</div>

Hello all, I would like to differentiate a function with fixed seed but obtain a “can’t differentiate foreign call” error when using Zygote. Any advise would be appreciated. The following is a minimal working example …

---

## [CUDA.jl version compatible with CUDA driver 10.1](https://discourse.julialang.org/t/cuda-jl-version-compatible-with-cuda-driver-10-1/122444)

<div class="topic-metadata">

**Author:** [@photor](https://discourse.julialang.org/u/photor)\
**Replies:** 3\
**Last updated:** [November 11, 2024, 7:48am UTC](https://discourse.julialang.org/t/cuda-jl-version-compatible-with-cuda-driver-10-1/122444 "2024-11-11T07:48:25Z")

</div>

The CUDA driver on my new computer is restricted to version 10.1 due to some reason, which is incompatible with the newest CUDA.jl (requiring CUDA driver version \>= 10.2). Is an older version of CUDA.jl compatible? If so…

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

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