# Latest

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

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

**Page:** 327

---

## [Is it a bug or I am doing something wrong?](https://discourse.julialang.org/t/is-it-a-bug-or-i-am-doing-something-wrong/119105)

<div class="topic-metadata">

**Author:** [@hangita101](https://discourse.julialang.org/u/hangita101)\
**Replies:** 5\
**Last updated:** [September 6, 2024, 4:45pm UTC](https://discourse.julialang.org/t/is-it-a-bug-or-i-am-doing-something-wrong/119105 "2024-09-06T16:45:13Z")

</div>

I am going through Julia Documentation and in overflow section i get weird result, julia\> typemax(Int16) 32767 julia\> x=typemax(Int16) 32767 julia\> x+1 327671 julia\> x + 1 327671 julia\> EDIT: I restart my REPL and…

---

## [When to use Tuples instead of Vectors?](https://discourse.julialang.org/t/when-to-use-tuples-instead-of-vectors/119109)

<div class="topic-metadata">

**Author:** [@albertomercurio](https://discourse.julialang.org/u/albertomercurio)\
**Replies:** 16\
**Last updated:** [September 6, 2024, 3:42pm UTC](https://discourse.julialang.org/t/when-to-use-tuples-instead-of-vectors/119109 "2024-09-06T15:42:49Z")

</div>

Hello, I’m developing QuantumToolbox.jl for simulating quantum systems in Julia. Everything is based on the QuantumObject constructor, which is currently defined as follows struct QuantumObject{MT\<:AbstractArray,ObjTyp…

---

## [StructuralIdentifiability: parameters defined as a vector](https://discourse.julialang.org/t/structuralidentifiability-parameters-defined-as-a-vector/119131)

<div class="topic-metadata">

**Author:** [@clem.def](https://discourse.julialang.org/u/clem.def)\
**Replies:** 0\
**Last updated:** [September 6, 2024, 3:12pm UTC](https://discourse.julialang.org/t/structuralidentifiability-parameters-defined-as-a-vector/119131 "2024-09-06T15:12:21Z")

</div>

Hello everyone. I am working on a project determining the structural identifiability of a model. I observed that if I defined the parameters with the shape of a vector, such as k\[1:2\], there is a problem saying it canno…

---

## [Postdoc and PhD positions in mathematical biology and data-driven modelling of biological systems](https://discourse.julialang.org/t/postdoc-and-phd-positions-in-mathematical-biology-and-data-driven-modelling-of-biological-systems/119124)

<div class="topic-metadata">

**Author:** [@twhiscock](https://discourse.julialang.org/u/twhiscock)\
**Replies:** 0\
**Last updated:** [September 6, 2024, 1:30pm UTC](https://discourse.julialang.org/t/postdoc-and-phd-positions-in-mathematical-biology-and-data-driven-modelling-of-biological-systems/119124 "2024-09-06T13:30:43Z")

</div>

The Hiscock lab is hiring! Funded by an ERC Starting Grant, we are looking to recruit people with a strong quantitative background to work on some of the most fundamental problems in developmental biology. We particularl…

---

## [PRECOMPILATION ERROR-CSVReader](https://discourse.julialang.org/t/precompilation-error-csvreader/119121)

<div class="topic-metadata">

**Author:** [@LAURIE\_ALVEY](https://discourse.julialang.org/u/LAURIE_ALVEY)\
**Replies:** 1\
**Last updated:** [September 6, 2024, 1:30pm UTC](https://discourse.julialang.org/t/precompilation-error-csvreader/119121 "2024-09-06T13:30:37Z")

</div>

precompilation error with CSVReader

---

## [Documenter.jl pages aren't being updated](https://discourse.julialang.org/t/documenter-jl-pages-arent-being-updated/119108)

<div class="topic-metadata">

**Author:** [@ilkerarslan](https://discourse.julialang.org/u/ilkerarslan)\
**Replies:** 4\
**Last updated:** [September 6, 2024, 1:09pm UTC](https://discourse.julialang.org/t/documenter-jl-pages-arent-being-updated/119108 "2024-09-06T13:09:42Z")

</div>

Hi everyone. I am writing documentation for the package I am developing. After some point the changes I am making aren’t loaded to github pages stable version altough they are reflected in the /dev/ link. I can see the…

---

## [New Julia machine learning package: NovaML](https://discourse.julialang.org/t/new-julia-machine-learning-package-novaml/119038)

<div class="topic-metadata">

**Author:** [@ilkerarslan](https://discourse.julialang.org/u/ilkerarslan)\
**Replies:** 17\
**Last updated:** [September 6, 2024, 1:05pm UTC](https://discourse.julialang.org/t/new-julia-machine-learning-package-novaml/119038 "2024-09-06T13:05:24Z")

</div>

Hi everyone, Recently I have humbly published a new machine learning package: NovaML. I’ve been using Julia for several years now, and it’s become my go-to language for most of my work. However, I’ve noticed that some …

---

## [Precompilation error. 'LoadError: UndefVarError: \`@printf\` not defined'](https://discourse.julialang.org/t/precompilation-error-loaderror-undefvarerror-printf-not-defined/107043)

<div class="topic-metadata">

**Author:** [@Purvaash](https://discourse.julialang.org/u/Purvaash)\
**Replies:** 4\
**Last updated:** [September 6, 2024, 12:56pm UTC](https://discourse.julialang.org/t/precompilation-error-loaderror-undefvarerror-printf-not-defined/107043 "2024-09-06T12:56:22Z")

</div>

Hi, I am new to Julia and Julia Discourse. I am facing the following error. I am trying to set up an environment that I found in a Git repository. The steps I followed are: git clone 23tn / 23tn-julia · GitLab Opened …

---

## [Add labels to scatter](https://discourse.julialang.org/t/add-labels-to-scatter/119110)

<div class="topic-metadata">

**Author:** [@NaSi](https://discourse.julialang.org/u/NaSi)\
**Replies:** 8\
**Last updated:** [September 6, 2024, 12:33pm UTC](https://discourse.julialang.org/t/add-labels-to-scatter/119110 "2024-09-06T12:33:27Z")

</div>

Hello =) I would like to add labels for each scatter in my code. f = Figure(; size=(500, 400)) ax1 = Axis3(f\[1, 2\], aspect = (1, 1, 1.5), xlabel = "x \[m\]",ylabel = "y \[m\]",zlabel = "z \[m\]", title="t = $…

---

## [Julia code and struct generation](https://discourse.julialang.org/t/julia-code-and-struct-generation/119044)

<div class="topic-metadata">

**Author:** [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Replies:** 12\
**Last updated:** [September 6, 2024, 12:32pm UTC](https://discourse.julialang.org/t/julia-code-and-struct-generation/119044 "2024-09-06T12:32:56Z")

</div>

I would like to generate a bunch of types for each possible file data format. There is a header with a nibble, X, that determines which fields are present. struct A\_X \<: B # X == 0x0 .. 0xF vall:…

---

## [Why operation on return of @views take a long time](https://discourse.julialang.org/t/why-operation-on-return-of-views-take-a-long-time/119088)

<div class="topic-metadata">

**Author:** [@tiZ](https://discourse.julialang.org/u/tiZ)\
**Replies:** 7\
**Last updated:** [September 6, 2024, 12:02pm UTC](https://discourse.julialang.org/t/why-operation-on-return-of-views-take-a-long-time/119088 "2024-09-06T12:02:29Z")

</div>

Hi there, In this scenario, I have a large sparse matrix, and I want to filter out certain rows and columns based on specific conditions, such as: nrow = 10000 ncol = 10000 M = sprand(nrow,ncol,0.0001) rowIdx = rand(Bo…

---

## [Whats going on in kissABC.jl package smc() function](https://discourse.julialang.org/t/whats-going-on-in-kissabc-jl-package-smc-function/119113)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 5\
**Last updated:** [September 6, 2024, 11:57am UTC](https://discourse.julialang.org/t/whats-going-on-in-kissabc-jl-package-smc-function/119113 "2024-09-06T11:57:20Z")

</div>

Hello everyone… Im working with KissABC.jl package smc() function. Based on my reading through source code for same, it doesn’t look like classic smc() algorithm but kind of hybrid algorithm. As there is not much refer…

---

## [How to warp large arrays (Tiff stacks) efficiently?](https://discourse.julialang.org/t/how-to-warp-large-arrays-tiff-stacks-efficiently/119107)

<div class="topic-metadata">

**Author:** [@gltchr](https://discourse.julialang.org/u/gltchr)\
**Replies:** 3\
**Last updated:** [September 6, 2024, 11:24am UTC](https://discourse.julialang.org/t/how-to-warp-large-arrays-tiff-stacks-efficiently/119107 "2024-09-06T11:24:22Z")

</div>

Hello, In order to avoid the XY-problem I will try to provide a context and a desired result first, and only later some particular questions. Context: I don’t have much experience in Julia and (partially in order to f…

---

## [BADCERT\_NOT\_TRUSTED error while updating the Registry?](https://discourse.julialang.org/t/badcert-not-trusted-error-while-updating-the-registry/119040)

<div class="topic-metadata">

**Author:** [@nandoconde](https://discourse.julialang.org/u/nandoconde)\
**Replies:** 27\
**Last updated:** [September 6, 2024, 11:19am UTC](https://discourse.julialang.org/t/badcert-not-trusted-error-while-updating-the-registry/119040 "2024-09-06T11:19:43Z")

</div>

Hello! Can I update the registry in my computer manually? The usual way errors for me. (@v1.11) pkg\> up ┌ Warning: could not download https://pkg.julialang.org/registries │ exception = RequestError: Cert verify faile…

---

## [Warning about https://pkg.julialang.org/registries](https://discourse.julialang.org/t/warning-about-https-pkg-julialang-org-registries/102917)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 3\
**Last updated:** [September 6, 2024, 10:47am UTC](https://discourse.julialang.org/t/warning-about-https-pkg-julialang-org-registries/102917 "2024-09-06T10:47:31Z")

</div>

Would you know what this means and how to fix it? ┌ Warning: could not download https://pkg.julialang.org/registries │ exception = RequestError: Cert verify failed: BADCERT\_NOT\_TRUSTED while requesting https://pkg.jul…

---

## [Package A does not have B in its dependencies error when B is in A's weakdeps](https://discourse.julialang.org/t/package-a-does-not-have-b-in-its-dependencies-error-when-b-is-in-as-weakdeps/113415)

<div class="topic-metadata">

**Author:** [@hdunham](https://discourse.julialang.org/u/hdunham)\
**Replies:** 1\
**Last updated:** [April 24, 2024, 6:42pm UTC](https://discourse.julialang.org/t/package-a-does-not-have-b-in-its-dependencies-error-when-b-is-in-as-weakdeps/113415 "2024-04-24T18:42:28Z")

</div>

I am working on a project that uses packages with extensions (REopt\_API). Since updating from Julia 1.8 to 1.10, when I resolve and precompile my project, I get the following error: ERROR: LoadError: ArgumentError: Pack…

---

## [\[ANN-RFC\] KissABC.jl- Approximate Bayesian Computation](https://discourse.julialang.org/t/ann-rfc-kissabc-jl-approximate-bayesian-computation/40668)

<div class="topic-metadata">

**Author:** [@francesco.alemanno](https://discourse.julialang.org/u/francesco.alemanno)\
**Replies:** 66\
**Last updated:** [September 6, 2024, 10:33am UTC](https://discourse.julialang.org/t/ann-rfc-kissabc-jl-approximate-bayesian-computation/40668 "2024-09-06T10:33:52Z")

</div>

Hi everyone i made a very self-contained package to efficiently perform Approximate Bayesian Computation, this package implements a hybrid MCMC sampler with 3 different affine invariant proposals, solving many of the sho…

---

## [Spatial join with dataframes](https://discourse.julialang.org/t/spatial-join-with-dataframes/93241)

<div class="topic-metadata">

**Author:** [@jade\_mackay](https://discourse.julialang.org/u/jade_mackay)\
**Replies:** 27\
**Last updated:** [September 6, 2024, 7:54am UTC](https://discourse.julialang.org/t/spatial-join-with-dataframes/93241 "2024-09-06T07:54:11Z")

</div>

Hello, Increasingly I find myself needing to join dataframes on Geographic Information System (GIS) objects and it seems no capability exists to do so in the Julia eco-system. Nor does it seem there is much interest (c…

---

## [Method Error with no method matching zero(::Type{SDDP.State{VariableRef}})](https://discourse.julialang.org/t/method-error-with-no-method-matching-zero-type-sddp-state-variableref/119082)

<div class="topic-metadata">

**Author:** [@Millie](https://discourse.julialang.org/u/Millie)\
**Replies:** 2\
**Last updated:** [September 6, 2024, 9:27am UTC](https://discourse.julialang.org/t/method-error-with-no-method-matching-zero-type-sddp-state-variableref/119082 "2024-09-06T09:27:14Z")

</div>

Hi! I have a question about this one error with my code. I was trying to mimic the example in SDDP.jl objective status and include some integer variables. But I got the error: LoadError: MethodError: no method matching z…

---

## [Clever design for basis arrays](https://discourse.julialang.org/t/clever-design-for-basis-arrays/119099)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 3\
**Last updated:** [September 6, 2024, 8:02am UTC](https://discourse.julialang.org/t/clever-design-for-basis-arrays/119099 "2024-09-06T08:02:38Z")

</div>

To compute Jacobians and Hessians in DifferentiationInterface.jl, I need to write a function basis(x::AbstractArray, inds) that computes parts of the standard basis in the appropriate vector space. I would like it to ha…

---

## [Http.jl websocket is not connecting after some time - EOFError: read end of file](https://discourse.julialang.org/t/http-jl-websocket-is-not-connecting-after-some-time-eoferror-read-end-of-file/118964)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 2\
**Last updated:** [September 6, 2024, 7:49am UTC](https://discourse.julialang.org/t/http-jl-websocket-is-not-connecting-after-some-time-eoferror-read-end-of-file/118964 "2024-09-06T07:49:13Z")

</div>

It is really confusing: After letting julia http server run for some time, the websocket won’t connect any longer, giving EOFError: read end of file EOFError: read end of file │ Stacktrace: │ \[1\] (::Base.var"#w…

---

## [A curious bug(?) in VS Code / Symbolic Regression](https://discourse.julialang.org/t/a-curious-bug-in-vs-code-symbolic-regression/119100)

<div class="topic-metadata">

**Author:** [@braamvandyk](https://discourse.julialang.org/u/braamvandyk)\
**Replies:** 0\
**Last updated:** [September 6, 2024, 6:08am UTC](https://discourse.julialang.org/t/a-curious-bug-in-vs-code-symbolic-regression/119100 "2024-09-06T06:08:24Z")

</div>

I have found a curious, but fairly infuriating issue with running SymbolicRegression.jl in VS Code. I’ll log an issue, but would like some wisdom as to where I should log this - with the VS Code add-in, VS Code itself, o…

---

## [Get gradient of user-defined nonlinear operator in JuMP](https://discourse.julialang.org/t/get-gradient-of-user-defined-nonlinear-operator-in-jump/118989)

<div class="topic-metadata">

**Author:** [@ertam98](https://discourse.julialang.org/u/ertam98)\
**Replies:** 3\
**Last updated:** [September 6, 2024, 12:11am UTC](https://discourse.julialang.org/t/get-gradient-of-user-defined-nonlinear-operator-in-jump/118989 "2024-09-06T00:11:02Z")

</div>

Hi, Is it possible to get the gradient from a user-defined nonlinear operator in JuMP? What I would like to do is pass a JuMP model around and be able to query the analytical gradient from the nonlinear operator. A MWE…

---

## [PSA: Use modules for dirty work preparing scripts, debugging, etc](https://discourse.julialang.org/t/psa-use-modules-for-dirty-work-preparing-scripts-debugging-etc/119068)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 3\
**Last updated:** [September 6, 2024, 12:01am UTC](https://discourse.julialang.org/t/psa-use-modules-for-dirty-work-preparing-scripts-debugging-etc/119068 "2024-09-06T00:01:55Z")

</div>

Let’s say I’m preparing a script, e.g. to analyze data in a project. The recommended practice is to put as much code as possible in functions, keeping the global scope clean. But while I’m designing those functions (or d…

---

## [Writing parallel worker output to .out file in slurm to track progress](https://discourse.julialang.org/t/writing-parallel-worker-output-to-out-file-in-slurm-to-track-progress/119092)

<div class="topic-metadata">

**Author:** [@pulk\_jain](https://discourse.julialang.org/u/pulk_jain)\
**Replies:** 0\
**Last updated:** [September 5, 2024, 10:21pm UTC](https://discourse.julialang.org/t/writing-parallel-worker-output-to-out-file-in-slurm-to-track-progress/119092 "2024-09-05T22:21:50Z")

</div>

I am solving an ODE with different initial conditions using EnsembleDistributed on a cluster. I’d like to track the progress of the ensemble calculations. To do that, I wrote the following output and reduction functions: …

---

## [Candlestick Charts with GLMakie](https://discourse.julialang.org/t/candlestick-charts-with-glmakie/119086)

<div class="topic-metadata">

**Author:** [@AUK1939](https://discourse.julialang.org/u/AUK1939)\
**Replies:** 4\
**Last updated:** [September 5, 2024, 10:06pm UTC](https://discourse.julialang.org/t/candlestick-charts-with-glmakie/119086 "2024-09-05T22:06:57Z")

</div>

Hi I’m thinking of moving away from PlotlyJS.jl and trying GLMakie.jl. My end goal is to create a CandleStick chart. First a static example and then have the bars update in realtime. However I’ve noticed that Makie.jl do…

---

## [Benchmarking array closures](https://discourse.julialang.org/t/benchmarking-array-closures/75689)

<div class="topic-metadata">

**Author:** [@lewis](https://discourse.julialang.org/u/lewis)\
**Replies:** 3\
**Last updated:** [September 5, 2024, 6:24pm UTC](https://discourse.julialang.org/t/benchmarking-array-closures/75689 "2024-09-05T18:24:37Z")

</div>

Want to verify that I’ve done this in a way that gives valid results. In the code below dostuff! updates 2 arrays in place. clos! creates a closure that encloses the arrays and accepts arguments for the change factors. …

---

## [Refer to a Task without saving the Task object](https://discourse.julialang.org/t/refer-to-a-task-without-saving-the-task-object/119031)

<div class="topic-metadata">

**Author:** [@BeastyBlacksmith](https://discourse.julialang.org/u/BeastyBlacksmith)\
**Replies:** 2\
**Last updated:** [September 5, 2024, 5:29pm UTC](https://discourse.julialang.org/t/refer-to-a-task-without-saving-the-task-object/119031 "2024-09-05T17:29:54Z")

</div>

As an MWE I have a simple Dash.jl app that incremets a progress bar once you hit start and stops it when hitting a stop button. What I’d like it to do is to start running a task when hitting start and then make some pro…

---

## [Fantasy Premier League (FPL) Optimization](https://discourse.julialang.org/t/fantasy-premier-league-fpl-optimization/119080)

<div class="topic-metadata">

**Author:** [@tross](https://discourse.julialang.org/u/tross)\
**Replies:** 0\
**Last updated:** [September 5, 2024, 4:38pm UTC](https://discourse.julialang.org/t/fantasy-premier-league-fpl-optimization/119080 "2024-09-05T16:38:56Z")

</div>

Hello! I’m excited to share a project I’ve been working on that combines two of my passions: Julia programming and Fantasy Premier League (FPL). I’ve developed JFPL-Optimization, a Julia implementation of an existing Py…

---

## [Can DifferentialEquations.jl solve a system of matrix DAEs expressed in a Mass-Matrix DAE Format with RecursiveArrayTools](https://discourse.julialang.org/t/can-differentialequations-jl-solve-a-system-of-matrix-daes-expressed-in-a-mass-matrix-dae-format-with-recursivearraytools/119071)

<div class="topic-metadata">

**Author:** [@Mouhamed](https://discourse.julialang.org/u/Mouhamed)\
**Replies:** 3\
**Last updated:** [September 5, 2024, 4:16pm UTC](https://discourse.julialang.org/t/can-differentialequations-jl-solve-a-system-of-matrix-daes-expressed-in-a-mass-matrix-dae-format-with-recursivearraytools/119071 "2024-09-05T16:16:45Z")

</div>

Hello, I have this following code : using RecursiveArrayTools using LinearAlgebra using DifferentialEquations # matrix\_3 = \[-1/0.08 0 -0.2/0.08 ; 1/0.3 -1/0.3 0; 0 50/20 -1/20\] matrix\_4 = \[-1/0.08 0 -0.2/0.08 ; 1/0.3 -1…

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

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