# Latest

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

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

**Page:** 164

---

## [Send notification my server when computation is done](https://discourse.julialang.org/t/send-notification-my-server-when-computation-is-done/129142)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 8\
**Last updated:** [May 21, 2025, 8:38am UTC](https://discourse.julialang.org/t/send-notification-my-server-when-computation-is-done/129142 "2025-05-21T08:38:17Z")

</div>

I am running a Julia computation on a server that takes days, but the exact amount of time is unpredictable in advance. I would like to be notified when the computation finishes, either correctly or with an error (so I c…

---

## [Unexpected closure behavior](https://discourse.julialang.org/t/unexpected-closure-behavior/129194)

<div class="topic-metadata">

**Author:** [@karei](https://discourse.julialang.org/u/karei)\
**Replies:** 4\
**Last updated:** [May 21, 2025, 7:18am UTC](https://discourse.julialang.org/t/unexpected-closure-behavior/129194 "2025-05-21T07:18:49Z")

</div>

using Logging, Cthulhu const glogger = Ref(ConsoleLogger()) function foo(a::Real, b::Real, c::Real, d::Real) x₁ = b + c + d e = b + c + d if e \>= 0 x₂ = b + c + d x₃ = b + c + d with\_l…

---

## [How to prevent arxiv from hyperlinking Julia package names in abstract metadata?](https://discourse.julialang.org/t/how-to-prevent-arxiv-from-hyperlinking-julia-package-names-in-abstract-metadata/129053)

<div class="topic-metadata">

**Author:** [@leespen1](https://discourse.julialang.org/u/leespen1)\
**Replies:** 16\
**Last updated:** [May 20, 2025, 2:17pm UTC](https://discourse.julialang.org/t/how-to-prevent-arxiv-from-hyperlinking-julia-package-names-in-abstract-metadata/129053 "2025-05-20T14:17:19Z")

</div>

When a Julia package is named in an arxiv abstract, it .jl is interpreted as a web domain, and it attempts to create a hyperlink, which results in the package name not being displayed. See, for example: \[2504.21440\] Qua…

---

## [Solving one based indexing](https://discourse.julialang.org/t/solving-one-based-indexing/96927)

<div class="topic-metadata">

**Author:** [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Replies:** 13\
**Last updated:** [May 21, 2025, 5:17am UTC](https://discourse.julialang.org/t/solving-one-based-indexing/96927 "2025-05-21T05:17:11Z")

</div>

When I introduce julia to new people, they are usually very excited. That is until they find out it uses one based indexing and conclude it is impossible to work with. The OffsetArrays.jl package is an amazing effort to…

---

## [Clarifying the behavior of \`PLOTS\_DEFAULTS\` in Plots.jl](https://discourse.julialang.org/t/clarifying-the-behavior-of-plots-defaults-in-plots-jl/129110)

<div class="topic-metadata">

**Author:** [@shg](https://discourse.julialang.org/u/shg)\
**Replies:** 4\
**Last updated:** [May 21, 2025, 3:06am UTC](https://discourse.julialang.org/t/clarifying-the-behavior-of-plots-defaults-in-plots-jl/129110 "2025-05-21T03:06:39Z")

</div>

I’d like to set some default parameters for plotting using Plots.jl by defining the PLOTS\_DEFAULTS variable in my “startup.jl” . I have questions regarding its behavior: It appears that setting PLOTS\_DEFAULTS successf…

---

## [Does Coluna supports sos2 with gurobi, is there a way to implement its](https://discourse.julialang.org/t/does-coluna-supports-sos2-with-gurobi-is-there-a-way-to-implement-its/129153)

<div class="topic-metadata">

**Author:** [@manoj.centura](https://discourse.julialang.org/u/manoj.centura)\
**Replies:** 3\
**Last updated:** [May 20, 2025, 9:30pm UTC](https://discourse.julialang.org/t/does-coluna-supports-sos2-with-gurobi-is-there-a-way-to-implement-its/129153 "2025-05-20T21:30:51Z")

</div>

coluna = optimizer\_with\_attributes( Coluna.Optimizer, "params" =\> Coluna.Params( solver = Co…

---

## [Jupyter Notebook hangs](https://discourse.julialang.org/t/jupyter-notebook-hangs/129149)

<div class="topic-metadata">

**Author:** [@chelseas](https://discourse.julialang.org/u/chelseas)\
**Replies:** 2\
**Last updated:** [May 20, 2025, 9:14pm UTC](https://discourse.julialang.org/t/jupyter-notebook-hangs/129149 "2025-05-20T21:14:50Z")

</div>

I am finding that jupyter notebooks lately just hang indefinitely. A simple calculation like ‘5+2’ just hangs. Machine: Mac OS Julia: 1.11 release channel IJulia: 1.27.0

---

## [Findfirst and eachline](https://discourse.julialang.org/t/findfirst-and-eachline/129165)

<div class="topic-metadata">

**Author:** [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Replies:** 14\
**Last updated:** [May 20, 2025, 7:55pm UTC](https://discourse.julialang.org/t/findfirst-and-eachline/129165 "2025-05-20T19:55:42Z")

</div>

The following one liner identifies the text file row number where the word “Stack” first appears: findfirst(r -\> contains(r, "Stack"), readlines(file)) However, the following does not, perhaps surprisingly: findfirst(…

---

## [Eigen fails to find eigenvectors](https://discourse.julialang.org/t/eigen-fails-to-find-eigenvectors/129072)

<div class="topic-metadata">

**Author:** [@martinkjlarsson](https://discourse.julialang.org/u/martinkjlarsson)\
**Replies:** 28\
**Last updated:** [May 20, 2025, 3:14pm UTC](https://discourse.julialang.org/t/eigen-fails-to-find-eigenvectors/129072 "2025-05-20T15:14:41Z")

</div>

I am confused. I’m finding the eigenvalues and eigenvectors of a 3x3 matrix, but it seems like eigen does not find all the vectors correctly. julia\> using LinearAlgebra julia\> A = \[1 1 1; 1 1 1; -1 -1 -1\] 3×3 Matrix{In…

---

## [Running batch jobs on cluster](https://discourse.julialang.org/t/running-batch-jobs-on-cluster/129117)

<div class="topic-metadata">

**Author:** [@bulbul](https://discourse.julialang.org/u/bulbul)\
**Replies:** 3\
**Last updated:** [May 20, 2025, 2:04pm UTC](https://discourse.julialang.org/t/running-batch-jobs-on-cluster/129117 "2025-05-20T14:04:16Z")

</div>

I am trying to run a number of instances of a program on a cluster. The job submit script is as follows #!/bin/bash #SBATCH --job-name=open\_array #SBATCH --array=1-96 #SBATCH --nodes=1 #SBATCH --ntasks-per-node=1 #SBATC…

---

## [Creating a module that chooses different files](https://discourse.julialang.org/t/creating-a-module-that-chooses-different-files/129152)

<div class="topic-metadata">

**Author:** [@marianoarnaiz](https://discourse.julialang.org/u/marianoarnaiz)\
**Replies:** 2\
**Last updated:** [May 20, 2025, 12:14pm UTC](https://discourse.julialang.org/t/creating-a-module-that-chooses-different-files/129152 "2025-05-20T12:14:39Z")

</div>

Hi all. I have written a module to process some data. Depending on the computer where it is running I would like to use different files for the plotting. If we are using a normal computer with a screen I would like to u…

---

## [Run only the algebraic part of the solver](https://discourse.julialang.org/t/run-only-the-algebraic-part-of-the-solver/128803)

<div class="topic-metadata">

**Author:** [@Bart\_van\_de\_Lint](https://discourse.julialang.org/u/Bart_van_de_Lint)\
**Replies:** 27\
**Last updated:** [May 20, 2025, 11:39am UTC](https://discourse.julialang.org/t/run-only-the-algebraic-part-of-the-solver/128803 "2025-05-20T11:39:55Z")

</div>

I’m working with a DAE system in ModelingToolkit.jl, and I’d like to run only the algebraic part of the integrator-that is, solve the algebraic constraints for given differential states, without advancing the differentia…

---

## [Does revise work with extensions?](https://discourse.julialang.org/t/does-revise-work-with-extensions/129168)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 0\
**Last updated:** [May 20, 2025, 9:36am UTC](https://discourse.julialang.org/t/does-revise-work-with-extensions/129168 "2025-05-20T09:36:25Z")

</div>

Using it right now, but does not seem to work (which makes everything a pain). is this a known thing? I am working on modifying some plot recepies, you might also be because those are involved that it does not work.

---

## [AdaptiveCpp integration?](https://discourse.julialang.org/t/adaptivecpp-integration/129070)

<div class="topic-metadata">

**Author:** [@Oblomov](https://discourse.julialang.org/u/Oblomov)\
**Replies:** 9\
**Last updated:** [May 20, 2025, 10:34am UTC](https://discourse.julialang.org/t/adaptivecpp-integration/129070 "2025-05-20T10:34:47Z")

</div>

Hi all, I’ve recently started looking at AdaptiveCpp for some of my C++ work, and‌ I’m starting to get a feeling that this would be an excellent fit for Julia’s GPGPU. For those who don’t know, AdaptiveCpp, formerly kn…

---

## [Neovim + Tmux sending a full function to the REPL like VSCode](https://discourse.julialang.org/t/neovim-tmux-sending-a-full-function-to-the-repl-like-vscode/99590)

<div class="topic-metadata">

**Author:** [@indymnv](https://discourse.julialang.org/u/indymnv)\
**Replies:** 6\
**Last updated:** [May 19, 2025, 5:02pm UTC](https://discourse.julialang.org/t/neovim-tmux-sending-a-full-function-to-the-repl-like-vscode/99590 "2025-05-19T17:02:28Z")

</div>

Hi Julians, When I have to write a Julia function and I want to test with the REPL I have to select all the block of code or send parts of this or make sure that there is no blank space between lines to do it at once, b…

---

## [Ragged Tensors with generic GPU code](https://discourse.julialang.org/t/ragged-tensors-with-generic-gpu-code/129134)

<div class="topic-metadata">

**Author:** [@BSchilperoort](https://discourse.julialang.org/u/BSchilperoort)\
**Replies:** 2\
**Last updated:** [May 20, 2025, 10:24am UTC](https://discourse.julialang.org/t/ragged-tensors-with-generic-gpu-code/129134 "2025-05-20T10:24:50Z")

</div>

I am working on porting (parts of) a hydrological model to GPU, to improve performance. This is largely going well because of the KernelAbstractions and AcceleratedKernels packages, which make it quite straightforward to…

---

## [After trying to plot negative values using \`yaxis = :log10\`, all plots breaks down](https://discourse.julialang.org/t/after-trying-to-plot-negative-values-using-yaxis-log10-all-plots-breaks-down/129167)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 4\
**Last updated:** [May 20, 2025, 10:22am UTC](https://discourse.julialang.org/t/after-trying-to-plot-negative-values-using-yaxis-log10-all-plots-breaks-down/129167 "2025-05-20T10:22:19Z")

</div>

Basically, I (by misstake) tried to plot something where the values go negative and I asked for a log scaled y axis. Ofcourse this failed. However, it also meant that all other plots failed. It would be good if this cou…

---

## [Korean Translation Review - Julia User & Developer Survey](https://discourse.julialang.org/t/korean-translation-review-julia-user-developer-survey/129151)

<div class="topic-metadata">

**Author:** [@ahclaster](https://discourse.julialang.org/u/ahclaster)\
**Replies:** 1\
**Last updated:** [May 20, 2025, 7:49am UTC](https://discourse.julialang.org/t/korean-translation-review-julia-user-developer-survey/129151 "2025-05-20T07:49:40Z")

</div>

The annual Julia User & Developer Survey has been translated into 5 languages, including Korean. We are looking for a native speaker of Korean who can review this year’s changes to the survey. If available to help, pleas…

---

## [Can't figure out/resolve what is timing out during WGLMakie button press](https://discourse.julialang.org/t/cant-figure-out-resolve-what-is-timing-out-during-wglmakie-button-press/129055)

<div class="topic-metadata">

**Author:** [@ethansigh](https://discourse.julialang.org/u/ethansigh)\
**Replies:** 1\
**Last updated:** [May 20, 2025, 6:53am UTC](https://discourse.julialang.org/t/cant-figure-out-resolve-what-is-timing-out-during-wglmakie-button-press/129055 "2025-05-20T06:53:31Z")

</div>

I have some code where I pull some data from a mysql database, do some minimal processing on it, and plot it in two different figures. I would include a “minimum code to recreate the issue” but the problem is that I cann…

---

## [PythonCall allocations](https://discourse.julialang.org/t/pythoncall-allocations/128886)

<div class="topic-metadata">

**Author:** [@Refaat\_Ismail](https://discourse.julialang.org/u/Refaat_Ismail)\
**Replies:** 7\
**Last updated:** [May 20, 2025, 6:47am UTC](https://discourse.julialang.org/t/pythoncall-allocations/128886 "2025-05-20T06:47:45Z")

</div>

I am trying to understand how to minimize allocations in PythonCall. Here, I am using stim, a python library, to generate samples (stored in numpy arrays). I have two implementations: function generate\_samples(;circ\_str…

---

## [Unmutated mutable type being corrupted?](https://discourse.julialang.org/t/unmutated-mutable-type-being-corrupted/129161)

<div class="topic-metadata">

**Author:** [@halleysfifthinc](https://discourse.julialang.org/u/halleysfifthinc)\
**Replies:** 4\
**Last updated:** [May 20, 2025, 5:41am UTC](https://discourse.julialang.org/t/unmutated-mutable-type-being-corrupted/129161 "2025-05-20T05:41:27Z")

</div>

MWE of what I think might be an issue in Julia itself: mutable struct Complete head::Union{Nothing,Int} end const null = Complete(nothing) function anydefined\_const(inds, maybes) for i in eachindex(inds) if !…

---

## [Matrix inverse as objective](https://discourse.julialang.org/t/matrix-inverse-as-objective/129162)

<div class="topic-metadata">

**Author:** [@Rick](https://discourse.julialang.org/u/Rick)\
**Replies:** 2\
**Last updated:** [May 20, 2025, 5:51am UTC](https://discourse.julialang.org/t/matrix-inverse-as-objective/129162 "2025-05-20T05:51:58Z")

</div>

Hi everyone, I am trying to solve a semi-definite program with an objective that contains a matrix inverse. More precisely, let a \\geq 0, and A be a positive definite matrix of size d \\times d. \\mathbf{1} below is a ve…

---

## [Constructing SVector with a loop](https://discourse.julialang.org/t/constructing-svector-with-a-loop/15372)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 17\
**Last updated:** [May 20, 2025, 1:21am UTC](https://discourse.julialang.org/t/constructing-svector-with-a-loop/15372 "2025-05-20T01:21:23Z")

</div>

Suppose I want to construct an SVector with known length S and type T, but a loop (with a known number of iterations) would be the most comfortable way of doing it. What is the standard idiom for this in 1.0? My problem…

---

## [Something weird is going on with \`DenseArray\`](https://discourse.julialang.org/t/something-weird-is-going-on-with-densearray/129156)

<div class="topic-metadata">

**Author:** [@akriegman](https://discourse.julialang.org/u/akriegman)\
**Replies:** 3\
**Last updated:** [May 19, 2025, 11:24pm UTC](https://discourse.julialang.org/t/something-weird-is-going-on-with-densearray/129156 "2025-05-19T23:24:22Z")

</div>

From base/boot.jl: # commented-out definitions are implemented in C ... #abstract type AbstractArray{T,N} end #abstract type DenseArray{T,N} \<: AbstractArray{T,N} end ... #mutable struct Array{T,N} \<: DenseArray{T,N…

---

## [IPOPT Watchdog Iterations Tracking](https://discourse.julialang.org/t/ipopt-watchdog-iterations-tracking/129159)

<div class="topic-metadata">

**Author:** [@leespen1](https://discourse.julialang.org/u/leespen1)\
**Replies:** 2\
**Last updated:** [May 19, 2025, 10:17pm UTC](https://discourse.julialang.org/t/ipopt-watchdog-iterations-tracking/129159 "2025-05-19T22:17:28Z")

</div>

In IPOPT.jl, is there any way to obtain the diagnostic information or alpha\_pr? The callback function example given in repo is: function my\_callback( alg\_mod::Cint, iter\_count::Cint, obj\_value::Float64, inf…

---

## [Mapreduce with multiple arguments](https://discourse.julialang.org/t/mapreduce-with-multiple-arguments/129158)

<div class="topic-metadata">

**Author:** [@emmacooper](https://discourse.julialang.org/u/emmacooper)\
**Replies:** 2\
**Last updated:** [May 19, 2025, 9:05pm UTC](https://discourse.julialang.org/t/mapreduce-with-multiple-arguments/129158 "2025-05-19T21:05:38Z")

</div>

A similar question was asked in “Method of Mapreduce with multiple arguments” but my implementation of the solution offered in this post did not seem to work. The problem: I have many TimeArrays (created using TimeSerie…

---

## [How can I stop Symbolics.jl from splitting complex numbers into real and imaginary parts](https://discourse.julialang.org/t/how-can-i-stop-symbolics-jl-from-splitting-complex-numbers-into-real-and-imaginary-parts/129154)

<div class="topic-metadata">

**Author:** [@jaimece](https://discourse.julialang.org/u/jaimece)\
**Replies:** 1\
**Last updated:** [May 19, 2025, 8:25pm UTC](https://discourse.julialang.org/t/how-can-i-stop-symbolics-jl-from-splitting-complex-numbers-into-real-and-imaginary-parts/129154 "2025-05-19T20:25:49Z")

</div>

For some computations it is useful to keep “conj(z)” as it is. For instance: julia\> using Symbolics julia\> @variables z::Complex julia\> z\*conj(z) real(z)^2 + imag(z)^2 Is there a simple way to obtain “z\*conj(z)”? Tha…

---

## [Simplicial decomposition equals dual cutting plane---a toy example](https://discourse.julialang.org/t/simplicial-decomposition-equals-dual-cutting-plane-a-toy-example/129128)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 1\
**Last updated:** [May 19, 2025, 7:36pm UTC](https://discourse.julialang.org/t/simplicial-decomposition-equals-dual-cutting-plane-a-toy-example/129128 "2025-05-19T19:36:28Z")

</div>

Continuing the discussion from Seeking help on Branch and Price: I here furnish a toy example to help us fathoming that doing simplicial decomposition (or, column generation) in the primal space is equivalent to adding …

---

## [\[ANN\] pluto.land – new simple website to share Pluto HTML notebooks](https://discourse.julialang.org/t/ann-pluto-land-new-simple-website-to-share-pluto-html-notebooks/129138)

<div class="topic-metadata">

**Author:** [@fonsp](https://discourse.julialang.org/u/fonsp)\
**Replies:** 5\
**Last updated:** [May 19, 2025, 7:05pm UTC](https://discourse.julialang.org/t/ann-pluto-land-new-simple-website-to-share-pluto-html-notebooks/129138 "2025-05-19T19:05:22Z")

</div>

Hi! :waving\_hand: The Pluto developers made a new website that we are excited to share: Check it out: pluto.land :glowing\_star: pluto.land is a simple simple web service to make it easier to share Pluto HTML exports, r…

---

## [Cloud services for intermittent numerical computing in Julia](https://discourse.julialang.org/t/cloud-services-for-intermittent-numerical-computing-in-julia/128920)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 10\
**Last updated:** [May 19, 2025, 6:13pm UTC](https://discourse.julialang.org/t/cloud-services-for-intermittent-numerical-computing-in-julia/128920 "2025-05-19T18:13:16Z")

</div>

Some of my research projects work like this: prototype a solution in Julia on a laptop/desktop, followed by a computational phase (eg MCMC running on a server for a week), then again analysis of the result on laptop/dest…

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

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