# Latest

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

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

**Page:** 226

---

## [Distributed fails to create command on ssh connection to remote worker](https://discourse.julialang.org/t/distributed-fails-to-create-command-on-ssh-connection-to-remote-worker/114704)

<div class="topic-metadata">

**Author:** [@Teodor\_Tchalakov](https://discourse.julialang.org/u/Teodor_Tchalakov)\
**Replies:** 1\
**Last updated:** [February 5, 2025, 10:08am UTC](https://discourse.julialang.org/t/distributed-fails-to-create-command-on-ssh-connection-to-remote-worker/114704 "2025-02-05T10:08:40Z")

</div>

When adding remote workers through an ssh connection using Distributed.jl, the SSH Manager is able to connect but for some reason a command over ssh gets improperly formatted and setting up the remote workers fails. The …

---

## [Can't Pkg.add probably due to bug](https://discourse.julialang.org/t/cant-pkg-add-probably-due-to-bug/125544)

<div class="topic-metadata">

**Author:** [@Andres\_Legarra](https://discourse.julialang.org/u/Andres_Legarra)\
**Replies:** 5\
**Last updated:** [February 5, 2025, 9:05am UTC](https://discourse.julialang.org/t/cant-pkg-add-probably-due-to-bug/125544 "2025-02-05T09:05:57Z")

</div>

Hi we use julia version 1.6.1 in a server (of which I am not root) and all went smoothly for months. Now we can not install packages any longer, instead we get julia\> using Pkg; Pkg.add("Optim") Updating registry…

---

## [Sublim-julia](https://discourse.julialang.org/t/sublim-julia/125564)

<div class="topic-metadata">

**Author:** [@Science\_Magus](https://discourse.julialang.org/u/Science_Magus)\
**Replies:** 2\
**Last updated:** [February 5, 2025, 8:49am UTC](https://discourse.julialang.org/t/sublim-julia/125564 "2025-02-05T08:49:45Z")

</div>

Hello every one I need the path way of julia languag ein ubuntu 24, for running the julia code. Thank you very much

---

## [What does Yao.Measure do with argument operator?](https://discourse.julialang.org/t/what-does-yao-measure-do-with-argument-operator/125546)

<div class="topic-metadata">

**Author:** [@yao\_novice](https://discourse.julialang.org/u/yao_novice)\
**Replies:** 2\
**Last updated:** [February 5, 2025, 6:49am UTC](https://discourse.julialang.org/t/what-does-yao-measure-do-with-argument-operator/125546 "2025-02-05T06:49:46Z")

</div>

I experiment with Yao.jl and I am puzzled with the ‘Measure’-blocks ‘operator’ argument. I assumed that the input state would end up with an eigenstate of the operator-matrix - but this seems not to be true. Here is my …

---

## [\[ANN\] QuadraticKalman.jl - Quadratic State-Space Filtering](https://discourse.julialang.org/t/ann-quadratickalman-jl-quadratic-state-space-filtering/125538)

<div class="topic-metadata">

**Author:** [@dleather](https://discourse.julialang.org/u/dleather)\
**Replies:** 4\
**Last updated:** [February 5, 2025, 5:08am UTC](https://discourse.julialang.org/t/ann-quadratickalman-jl-quadratic-state-space-filtering/125538 "2025-02-05T05:08:13Z")

</div>

\[ANN\] QuadraticKalman.jl: Kalman Filtering for Quadratic State-Space Models I’m excited to announce the first release (and my first package) of QuadraticKalman.jl, a Julia package that implements Kalman filtering and smo…

---

## [Senior Software Developer at OPeNDAP](https://discourse.julialang.org/t/senior-software-developer-at-opendap/125561)

<div class="topic-metadata">

**Author:** [@ArikaV](https://discourse.julialang.org/u/ArikaV)\
**Replies:** 0\
**Last updated:** [February 5, 2025, 1:07am UTC](https://discourse.julialang.org/t/senior-software-developer-at-opendap/125561 "2025-02-05T01:07:22Z")

</div>

We’re looking for a Senior Software Developer who is passionate about working on open source solutions for scientific data access. OPeNDAP is hiring a Software Developer for a NASA contract to help develop systems that …

---

## [Exception: EXCEPTION\_ACCESS\_VIOLATION](https://discourse.julialang.org/t/exception-exception-access-violation/125545)

<div class="topic-metadata">

**Author:** [@hssn15](https://discourse.julialang.org/u/hssn15)\
**Replies:** 3\
**Last updated:** [February 4, 2025, 11:43pm UTC](https://discourse.julialang.org/t/exception-exception-access-violation/125545 "2025-02-04T23:43:25Z")

</div>

Hi, I am really struggling with this problem. Sometimes it happens some times it doesn’t. Could anyone give some advice ? Please submit a bug report with steps to reproduce this fault, and any error messages that follow…

---

## [Elegant way of exclusive indexing](https://discourse.julialang.org/t/elegant-way-of-exclusive-indexing/76894)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 41\
**Last updated:** [February 26, 2022, 4:34pm UTC](https://discourse.julialang.org/t/elegant-way-of-exclusive-indexing/76894 "2022-02-26T16:34:17Z")

</div>

In R, you can index all elements except for the second, by negative indexing: myvector\[-2\]. This is especially usefull if you want to make two complete subsets of a vector: set1 = myvector\[inds\] set2 = myvector\[-inds\] W…

---

## [How to use Pardiso with single-precision matrices](https://discourse.julialang.org/t/how-to-use-pardiso-with-single-precision-matrices/125520)

<div class="topic-metadata">

**Author:** [@RayleighLord](https://discourse.julialang.org/u/RayleighLord)\
**Replies:** 5\
**Last updated:** [February 4, 2025, 9:06pm UTC](https://discourse.julialang.org/t/how-to-use-pardiso-with-single-precision-matrices/125520 "2025-02-04T21:06:44Z")

</div>

I would like to ask if it is possible to run Pardiso from the LinearSolve library using single precision matrices. I am running using SparseArrays, LinearSolve, MKL, Pardiso prob = LinearProblem(A, b) sol = LinearSolve.…

---

## [Best practice for constraints with initial condition "exception"](https://discourse.julialang.org/t/best-practice-for-constraints-with-initial-condition-exception/125522)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [February 4, 2025, 7:42pm UTC](https://discourse.julialang.org/t/best-practice-for-constraints-with-initial-condition-exception/125522 "2025-02-04T19:42:02Z")

</div>

While translating the DICE model from GAMS code to JuMP I come up with situations where I have different constraints for initial values and following ones. This for exampe works: @constraint(m, mres0, RES0\[1\] == res00)…

---

## [Computing ODE sensitivities with sparse Jacobians in solver](https://discourse.julialang.org/t/computing-ode-sensitivities-with-sparse-jacobians-in-solver/125536)

<div class="topic-metadata">

**Author:** [@Neodym](https://discourse.julialang.org/u/Neodym)\
**Replies:** 3\
**Last updated:** [February 4, 2025, 6:31pm UTC](https://discourse.julialang.org/t/computing-ode-sensitivities-with-sparse-jacobians-in-solver/125536 "2025-02-04T18:31:17Z")

</div>

Hey there, I’m trying to compute the derivatives of a function involving an ODE solution. This works if I use dense Jacobians in the ODE solver. However, the Jacobian is actually sparse (PDE discretization, stiff) and …

---

## [Resuming a run by writing and reading back LP file](https://discourse.julialang.org/t/resuming-a-run-by-writing-and-reading-back-lp-file/125449)

<div class="topic-metadata">

**Author:** [@saikrishna-nadella](https://discourse.julialang.org/u/saikrishna-nadella)\
**Replies:** 5\
**Last updated:** [February 4, 2025, 6:10pm UTC](https://discourse.julialang.org/t/resuming-a-run-by-writing-and-reading-back-lp-file/125449 "2025-02-04T18:10:26Z")

</div>

I am implementing bender’s decomposition using JuMP in Julia. Feasibility cuts are added to the master problem continuously until the subproblem is feasible for the candidate solution of master problem. The run takes too…

---

## [Check if vector lies between two vectors element-wise, allocation free](https://discourse.julialang.org/t/check-if-vector-lies-between-two-vectors-element-wise-allocation-free/125537)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 2\
**Last updated:** [February 4, 2025, 5:10pm UTC](https://discourse.julialang.org/t/check-if-vector-lies-between-two-vectors-element-wise-allocation-free/125537 "2025-02-04T17:10:56Z")

</div>

I found some time to profile my code with the intention of reducing memory use and number of allocations. A quick check revealed that the function check\_inequalities was the main culprit for the allocations: in my bigger…

---

## [Compare dataframes regardless of column order](https://discourse.julialang.org/t/compare-dataframes-regardless-of-column-order/125491)

<div class="topic-metadata">

**Author:** [@fran94](https://discourse.julialang.org/u/fran94)\
**Replies:** 8\
**Last updated:** [February 4, 2025, 2:42pm UTC](https://discourse.julialang.org/t/compare-dataframes-regardless-of-column-order/125491 "2025-02-04T14:42:17Z")

</div>

Hi! I’m probably doing something wrong but I cannot seem to find an easy solution to this. Imagine I have a dataframe (e.g. the Palmer penguins data) and I convert it from wide to tidy format: using PalmerPenguins, Dat…

---

## [Running code in repl whenever file is saved](https://discourse.julialang.org/t/running-code-in-repl-whenever-file-is-saved/125523)

<div class="topic-metadata">

**Author:** [@aris](https://discourse.julialang.org/u/aris)\
**Replies:** 9\
**Last updated:** [February 4, 2025, 2:39pm UTC](https://discourse.julialang.org/t/running-code-in-repl-whenever-file-is-saved/125523 "2025-02-04T14:39:08Z")

</div>

Hello everyone. I’m aware or Revise.jl 's capabilities when it comes to editing code and having the changes immediately reflected in the repl. I was wondering whether there would be a straightforward way to actually ru…

---

## [FFTW scales pretty well (some @btime benchmarks)](https://discourse.julialang.org/t/fftw-scales-pretty-well-some-btime-benchmarks/28341)

<div class="topic-metadata">

**Author:** [@xzackli](https://discourse.julialang.org/u/xzackli)\
**Replies:** 1\
**Last updated:** [February 4, 2025, 2:30pm UTC](https://discourse.julialang.org/t/fftw-scales-pretty-well-some-btime-benchmarks/28341 "2025-02-04T14:30:43Z")

</div>

I was misled into thinking that FFTW scales poorly in parallel after reading this discourse thread, so I wanted to post some numbers for someone trying to do fast FFTs in the future. My use case requires repeatedly perfo…

---

## [PDFIO pdPageExtractText](https://discourse.julialang.org/t/pdfio-pdpageextracttext/35781)

<div class="topic-metadata">

**Author:** [@BMval](https://discourse.julialang.org/u/BMval)\
**Replies:** 3\
**Last updated:** [February 4, 2025, 12:30pm UTC](https://discourse.julialang.org/t/pdfio-pdpageextracttext/35781 "2025-02-04T12:30:04Z")

</div>

Does anybody work with PDFIO.jl? I need to extract text from pdf, due to limiting of my knowledge, I don’t understand how to use the method to save text to string, which is printing to REPL. doc = pdDocOpen("test.pdf"…

---

## [How to make Pluto.jl load all rows of a DataFrame](https://discourse.julialang.org/t/how-to-make-pluto-jl-load-all-rows-of-a-dataframe/125461)

<div class="topic-metadata">

**Author:** [@Abhro](https://discourse.julialang.org/u/Abhro)\
**Replies:** 5\
**Last updated:** [February 4, 2025, 11:46am UTC](https://discourse.julialang.org/t/how-to-make-pluto-jl-load-all-rows-of-a-dataframe/125461 "2025-02-04T11:46:47Z")

</div>

I have a DataFrame with ~100 rows. How do I make the DataFrame be displayed with all of its rows within Pluto.jl? The default view is this: What I’d like is this: where all elements are visible within a little sc…

---

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

<div class="topic-metadata">

**Author:** [@azoviktor](https://discourse.julialang.org/u/azoviktor)\
**Replies:** 3\
**Last updated:** [February 4, 2025, 11:23am UTC](https://discourse.julialang.org/t/parametric-constructors/125526 "2025-02-04T11:23:19Z")

</div>

I have a parametric type struct MyStruct{T \<: Real, S} x::T y::S end and I have an outer constructor like MyStruct{S}(x, y) where {S} = MyStruct{typeof(x), S}(x, y) If I run julia\> MyStruct{Float32}(2.0, 3.0…

---

## [PyCall deprecation warning - getindex o.x vs o\[x\] where x is a julia variable](https://discourse.julialang.org/t/pycall-deprecation-warning-getindex-o-x-vs-o-x-where-x-is-a-julia-variable/125495)

<div class="topic-metadata">

**Author:** [@bernhard](https://discourse.julialang.org/u/bernhard)\
**Replies:** 4\
**Last updated:** [February 4, 2025, 10:53am UTC](https://discourse.julialang.org/t/pycall-deprecation-warning-getindex-o-x-vs-o-x-where-x-is-a-julia-variable/125495 "2025-02-04T10:53:49Z")

</div>

All I get the following deprecation warning Warning: \`getindex(o::PyObject, s::AbstractString)\` is deprecated in favor of dot overloading (\`getproperty\`) so elements should now be accessed as e.g. \`o."s"\` instead of \`…

---

## [PerThread / Threads.threadid() desired API](https://discourse.julialang.org/t/perthread-threads-threadid-desired-api/125494)

<div class="topic-metadata">

**Author:** [@foobar\_lv2](https://discourse.julialang.org/u/foobar_lv2)\
**Replies:** 1\
**Last updated:** [February 3, 2025, 11:46pm UTC](https://discourse.julialang.org/t/perthread-threads-threadid-desired-api/125494 "2025-02-03T23:46:47Z")

</div>

After looking at https://github.com/JuliaLang/julia/pull/55793 and the Threads.threadid() mess, it looks to me like PerThread / PerTask don’t really cut the cake. PerTask was possible before, but has the disadvantage th…

---

## [BVProblem with solver RadauIIa5: Two incompatible array sizes to boundary condition function](https://discourse.julialang.org/t/bvproblem-with-solver-radauiia5-two-incompatible-array-sizes-to-boundary-condition-function/125509)

<div class="topic-metadata">

**Author:** [@P0p5](https://discourse.julialang.org/u/P0p5)\
**Replies:** 1\
**Last updated:** [February 4, 2025, 8:19am UTC](https://discourse.julialang.org/t/bvproblem-with-solver-radauiia5-two-incompatible-array-sizes-to-boundary-condition-function/125509 "2025-02-04T08:19:43Z")

</div>

When I run the simple MWE posted below containing BVProblem which specifies solver RadauIIa5 (notice the lower-case “a5”!) , it throws an error complaining that the two arrays provided by the solver to my boundary-condit…

---

## [BVProblem with solver RadauIIa5: a very simple MWE yields all-zero results (?)](https://discourse.julialang.org/t/bvproblem-with-solver-radauiia5-a-very-simple-mwe-yields-all-zero-results/125510)

<div class="topic-metadata">

**Author:** [@P0p5](https://discourse.julialang.org/u/P0p5)\
**Replies:** 3\
**Last updated:** [February 4, 2025, 7:16am UTC](https://discourse.julialang.org/t/bvproblem-with-solver-radauiia5-a-very-simple-mwe-yields-all-zero-results/125510 "2025-02-04T07:16:20Z")

</div>

When I run the very simple MWE posted below containing BVProblem which specifies solver RadauIIa5, it runs with a return code “Unstable”, and produces unexpected all-zero results. In view of the simplicity of this probl…

---

## [Pen-Down in Agents.jl](https://discourse.julialang.org/t/pen-down-in-agents-jl/125516)

<div class="topic-metadata">

**Author:** [@NebulaComplex](https://discourse.julialang.org/u/NebulaComplex)\
**Replies:** 1\
**Last updated:** [February 4, 2025, 6:59am UTC](https://discourse.julialang.org/t/pen-down-in-agents-jl/125516 "2025-02-04T06:59:00Z")

</div>

In NetLogo you can easily get a turtle to draw it’s path in continuous space with the pen-down command, how can I do this in Agents.jl - specifically in an interactive GUI? This code successfully adds a button to toggle …

---

## [Julia for HPC Minisymposium at JuliaCon 2025 Call for Submissions](https://discourse.julialang.org/t/julia-for-hpc-minisymposium-at-juliacon-2025-call-for-submissions/124859)

<div class="topic-metadata">

**Author:** [@luraess](https://discourse.julialang.org/u/luraess)\
**Replies:** 1\
**Last updated:** [February 4, 2025, 5:25am UTC](https://discourse.julialang.org/t/julia-for-hpc-minisymposium-at-juliacon-2025-call-for-submissions/124859 "2025-02-04T05:25:25Z")

</div>

The Julia for High-Performance Computing (HPC) mini-symposium is one of the main events of the year for the Julia for HPC community, bringing together HPC and Julia experts to present and discuss recent advances that mak…

---

## [Why the plotCurve3D didn't show up while the code finished running?](https://discourse.julialang.org/t/why-the-plotcurve3d-didnt-show-up-while-the-code-finished-running/125476)

<div class="topic-metadata">

**Author:** [@LarkyJulia](https://discourse.julialang.org/u/LarkyJulia)\
**Replies:** 4\
**Last updated:** [February 4, 2025, 3:06am UTC](https://discourse.julialang.org/t/why-the-plotcurve3d-didnt-show-up-while-the-code-finished-running/125476 "2025-02-04T03:06:39Z")

</div>

The following code ran and successfully showed “OK2”, but the graph didn’t show up. Why? using Plots using NURBS using PlotlyJS using StaticArrays P0 = SVector(0.0 , 1.0, 0.0) P1 = SVector(0.25, 1.0, 0.0) P2 = SVector(…

---

## [Order of initial values for set\_start\_value in JuMP/Ipopt models](https://discourse.julialang.org/t/order-of-initial-values-for-set-start-value-in-jump-ipopt-models/125511)

<div class="topic-metadata">

**Author:** [@askvorts](https://discourse.julialang.org/u/askvorts)\
**Replies:** 2\
**Last updated:** [February 4, 2025, 12:55am UTC](https://discourse.julialang.org/t/order-of-initial-values-for-set-start-value-in-jump-ipopt-models/125511 "2025-02-04T00:55:35Z")

</div>

I am optimizing a model in Jump with IPOPT. The model has T x 6 variables: a1\_t, a2\_t...a6\_t with t = 1...T When defining initial values using the function, set\_start\_value.(all\_variables(model), initial\_values) The ex…

---

## [Forwarding a macro that returns a variable?](https://discourse.julialang.org/t/forwarding-a-macro-that-returns-a-variable/125508)

<div class="topic-metadata">

**Author:** [@brunompacheco](https://discourse.julialang.org/u/brunompacheco)\
**Replies:** 5\
**Last updated:** [February 4, 2025, 12:19am UTC](https://discourse.julialang.org/t/forwarding-a-macro-that-returns-a-variable/125508 "2025-02-04T00:19:42Z")

</div>

I am trying to forward the @variable macro from JuMP, so that instead of passing a model to it, I pass my custom struct that has a model as a field. I was able to do it when the new macro is declared locally: using JuMP…

---

## [ODE solver for BVProblem never calls the provided function for boundary conditions](https://discourse.julialang.org/t/ode-solver-for-bvproblem-never-calls-the-provided-function-for-boundary-conditions/125447)

<div class="topic-metadata">

**Author:** [@P0p5](https://discourse.julialang.org/u/P0p5)\
**Replies:** 46\
**Last updated:** [February 4, 2025, 12:12am UTC](https://discourse.julialang.org/t/ode-solver-for-bvproblem-never-calls-the-provided-function-for-boundary-conditions/125447 "2025-02-04T00:12:39Z")

</div>

My experience with BVProblem is becoming kaftaesque. I hope I’m just missing something. My previous discourse 125374 on another aspect of the problem did not produce a solution. So I investigated further, simplifying …

---

## [Zig Like Interfaces for Julia](https://discourse.julialang.org/t/zig-like-interfaces-for-julia/125085)

<div class="topic-metadata">

**Author:** [@cshen](https://discourse.julialang.org/u/cshen)\
**Replies:** 3\
**Last updated:** [February 3, 2025, 10:26pm UTC](https://discourse.julialang.org/t/zig-like-interfaces-for-julia/125085 "2025-02-03T22:26:24Z")

</div>

I’ve recently come across how Zig handles interfaces. The gist is that Zig doesn’t have syntax sugar for interfaces and instead opts for manually managing the vtable. I got curious and started playing with the idea, and…

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

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