# Latest

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

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

**Page:** 377

---

## [Tolerance in using JuMP optimizer](https://discourse.julialang.org/t/tolerance-in-using-jump-optimizer/116143)

<div class="topic-metadata">

**Author:** [@gustave\_Robichon](https://discourse.julialang.org/u/gustave_Robichon)\
**Replies:** 2\
**Last updated:** [June 25, 2024, 9:14am UTC](https://discourse.julialang.org/t/tolerance-in-using-jump-optimizer/116143 "2024-06-25T09:14:15Z")

</div>

Hello :slight\_smile: I am using JuMP, and a solver named Hypatia. I want to change the tol\_inconsistent (the tolerance to numerical imprecision) to 1e-12. I found on the web that I should use this : julia \> MOI.set(mo…

---

## [Is it possible to pipe into \`julia\` command without it exiting immediately after](https://discourse.julialang.org/t/is-it-possible-to-pipe-into-julia-command-without-it-exiting-immediately-after/116302)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 3\
**Last updated:** [June 27, 2024, 1:11pm UTC](https://discourse.julialang.org/t/is-it-possible-to-pipe-into-julia-command-without-it-exiting-immediately-after/116302 "2024-06-27T13:11:39Z")

</div>

hi there, I am wondering whether there is a flag which prevents julia from closing like echo 'println("my initial command which I would like to show up")' | julia should ideally result in something like julia\> printl…

---

## [Best Practices to Use Global States in Julia?](https://discourse.julialang.org/t/best-practices-to-use-global-states-in-julia/116283)

<div class="topic-metadata">

**Author:** [@Jake\_W\_Liu](https://discourse.julialang.org/u/Jake_W_Liu)\
**Replies:** 6\
**Last updated:** [June 27, 2024, 1:11pm UTC](https://discourse.julialang.org/t/best-practices-to-use-global-states-in-julia/116283 "2024-06-27T13:11:29Z")

</div>

Hi everyone! I’m trying to define some global states inside my module, but am also concerned about how to elevate the performance… I have done some research on this, some suggests that to use a struct to pack the state…

---

## [Julia within obsidian notes](https://discourse.julialang.org/t/julia-within-obsidian-notes/102465)

<div class="topic-metadata">

**Author:** [@Matthew\_Pocock](https://discourse.julialang.org/u/Matthew_Pocock)\
**Replies:** 7\
**Last updated:** [June 27, 2024, 10:16am UTC](https://discourse.julialang.org/t/julia-within-obsidian-notes/102465 "2024-06-27T10:16:47Z")

</div>

Hi. I’m using Obsidian (https://obsidian.md/) to take notes, and wanted to include some Julia code within my notes. What I really want is some way to treat a particular obsidian markdown file like a julia workbook. In pa…

---

## [Using anonymous and or symbols to create dynamic variable names?](https://discourse.julialang.org/t/using-anonymous-and-or-symbols-to-create-dynamic-variable-names/83095)

<div class="topic-metadata">

**Author:** [@Ryan\_Vogt1](https://discourse.julialang.org/u/Ryan_Vogt1)\
**Replies:** 7\
**Last updated:** [June 27, 2024, 8:53am UTC](https://discourse.julialang.org/t/using-anonymous-and-or-symbols-to-create-dynamic-variable-names/83095 "2024-06-27T08:53:48Z")

</div>

Howdy, so I asked a question on stack overflow:julia - Define several JuMP variables names in loop based on iteration - Stack Overflow , and Oscar replied. I thought a bit more, and remember this board, and thought I’d s…

---

## [Draw rectangle on GLMakie fig](https://discourse.julialang.org/t/draw-rectangle-on-glmakie-fig/116226)

<div class="topic-metadata">

**Author:** [@sajjad\_khan](https://discourse.julialang.org/u/sajjad_khan)\
**Replies:** 2\
**Last updated:** [June 27, 2024, 8:29am UTC](https://discourse.julialang.org/t/draw-rectangle-on-glmakie-fig/116226 "2024-06-27T08:29:27Z")

</div>

Hi, I want to interactively draw rectangle on the GLMakie figure using mouse’s left button (by pressing and dragging the mouse). However, GLMakie only zooms in when I press and drag the mouse. How can I draw rectangle, t…

---

## [Julia REPL in VS code does not display properly](https://discourse.julialang.org/t/julia-repl-in-vs-code-does-not-display-properly/116290)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 0\
**Last updated:** [June 27, 2024, 5:36am UTC](https://discourse.julialang.org/t/julia-repl-in-vs-code-does-not-display-properly/116290 "2024-06-27T05:36:36Z")

</div>

I remember it can display properly some time ago, but don’t know when it can’t unless I enlarge the font to very big using Ctrl + + (but it can display well without doing so before).

---

## [Voice Coding](https://discourse.julialang.org/t/voice-coding/80513)

<div class="topic-metadata">

**Author:** [@chelseas](https://discourse.julialang.org/u/chelseas)\
**Replies:** 3\
**Last updated:** [June 27, 2024, 4:49am UTC](https://discourse.julialang.org/t/voice-coding/80513 "2024-06-27T04:49:23Z")

</div>

is there a language specific module for julia for this software https://dictation-toolbox.github.io/dictation-toolbox.org/voicecoding.html I have started using talon for writing but I’d like to use talon for coding t…

---

## [Managing \`julia\` versions using \`pixi\`](https://discourse.julialang.org/t/managing-julia-versions-using-pixi/116165)

<div class="topic-metadata">

**Author:** [@kdheepak](https://discourse.julialang.org/u/kdheepak)\
**Replies:** 15\
**Last updated:** [June 27, 2024, 2:10am UTC](https://discourse.julialang.org/t/managing-julia-versions-using-pixi/116165 "2024-06-27T02:10:45Z")

</div>

A https://prefix.dev core developer (github.com/wolfv) added a julia-forge channel on julia-forge - prefix.dev | prefix.dev. This should make it easier to manage per project Julia versions without juliaup. Here’s a scre…

---

## [JuliaSimCompiler + symbolic arrays?](https://discourse.julialang.org/t/juliasimcompiler-symbolic-arrays/116161)

<div class="topic-metadata">

**Author:** [@ctessum](https://discourse.julialang.org/u/ctessum)\
**Replies:** 2\
**Last updated:** [June 27, 2024, 12:53am UTC](https://discourse.julialang.org/t/juliasimcompiler-symbolic-arrays/116161 "2024-06-27T00:53:27Z")

</div>

Hello! Is JuliaSimCompiler currently meant to work with arrays? I would like to create a symbolic model that does the same thing a bunch of different times (eventually with different data inputs). I am aware of Ensemble…

---

## [How to save algorithm iteration result when using JuMP](https://discourse.julialang.org/t/how-to-save-algorithm-iteration-result-when-using-jump/115684)

<div class="topic-metadata">

**Author:** [@Xuekui\_wang](https://discourse.julialang.org/u/Xuekui_wang)\
**Replies:** 6\
**Last updated:** [June 27, 2024, 12:35am UTC](https://discourse.julialang.org/t/how-to-save-algorithm-iteration-result-when-using-jump/115684 "2024-06-27T00:35:53Z")

</div>

When using Ipopt in JuMP，it will print these information on console, I want to know how to get these info, for example, save these data as a vector or dict. thanks. '' iter objective inf\_pr inf\_du lg(mu) ||d||…

---

## [Julia v1.11.0-rc1 is now available](https://discourse.julialang.org/t/julia-v1-11-0-rc1-is-now-available/116278)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 0\
**Last updated:** [June 26, 2024, 11:14pm UTC](https://discourse.julialang.org/t/julia-v1-11-0-rc1-is-now-available/116278 "2024-06-26T23:14:10Z")

</div>

The Julia developers are pleased to announce that the first release candidate for Julia v1.11.0 is now available. You can download binaries using JuliaUp or from https://julialang.org/downloads/ in the “upcoming release”…

---

## [Struggle at large scale problem of nlp using ipopt](https://discourse.julialang.org/t/struggle-at-large-scale-problem-of-nlp-using-ipopt/116240)

<div class="topic-metadata">

**Author:** [@Chi\_Jan](https://discourse.julialang.org/u/Chi_Jan)\
**Replies:** 10\
**Last updated:** [June 26, 2024, 10:47pm UTC](https://discourse.julialang.org/t/struggle-at-large-scale-problem-of-nlp-using-ipopt/116240 "2024-06-26T22:47:57Z")

</div>

hi there, I have a non-linear problem where the decision variable is a matrix of dimensions m \* n \* k. The constraints may also be somewhat complex. When I set m to a small subset of the dataset, e.g., 10, the program se…

---

## [User defined gradient in JuMP with Ipopt: gradient with user data](https://discourse.julialang.org/t/user-defined-gradient-in-jump-with-ipopt-gradient-with-user-data/116236)

<div class="topic-metadata">

**Author:** [@vict\_riag](https://discourse.julialang.org/u/vict_riag)\
**Replies:** 3\
**Last updated:** [June 26, 2024, 10:15pm UTC](https://discourse.julialang.org/t/user-defined-gradient-in-jump-with-ipopt-gradient-with-user-data/116236 "2024-06-26T22:15:56Z")

</div>

Hello, I have been trying to register a gradient in JuMP that includes user data. I think the issue is with how I have formulated the gradient and fed it into JuMP, but I am not sure how to use the @expression or @param…

---

## [Markdown rendering in ArgParse.jl](https://discourse.julialang.org/t/markdown-rendering-in-argparse-jl/115871)

<div class="topic-metadata">

**Author:** [@maxkapur](https://discourse.julialang.org/u/maxkapur)\
**Replies:** 2\
**Last updated:** [June 26, 2024, 9:13pm UTC](https://discourse.julialang.org/t/markdown-rendering-in-argparse-jl/115871 "2024-06-26T21:13:16Z")

</div>

Julia lets you include some Markdown syntax in docstrings, and renders it with nice colors in the terminal, e.g. in interactive help: Is it possible to achieve the same with ArgParse.jl? If you type Markdown into the…

---

## [Problem with ForwardDiff and a custom vector type in OrdinaryDiffEq](https://discourse.julialang.org/t/problem-with-forwarddiff-and-a-custom-vector-type-in-ordinarydiffeq/116260)

<div class="topic-metadata">

**Author:** [@JonasWickman](https://discourse.julialang.org/u/JonasWickman)\
**Replies:** 5\
**Last updated:** [June 26, 2024, 8:07pm UTC](https://discourse.julialang.org/t/problem-with-forwarddiff-and-a-custom-vector-type-in-ordinarydiffeq/116260 "2024-06-26T20:07:58Z")

</div>

I have an ODE system tracking the densities of a number of species. If certain criteria are fulfilled I add more species to the system and run the new slightly bigger ODE system, and repeat this process until certain oth…

---

## [Cannot install BliContractor.jl](https://discourse.julialang.org/t/cannot-install-blicontractor-jl/116251)

<div class="topic-metadata">

**Author:** [@Uranium238](https://discourse.julialang.org/u/Uranium238)\
**Replies:** 1\
**Last updated:** [June 26, 2024, 8:04pm UTC](https://discourse.julialang.org/t/cannot-install-blicontractor-jl/116251 "2024-06-26T20:04:57Z")

</div>

I am trying to install BliContractor.jl , to replace all the tensor contractions in my code that used the @tensor macro with TBLIS. However, when I try to install it using the package manager, I am presented with the fol…

---

## [Senior Software Developer position at OPeNDAP (U.S. based)](https://discourse.julialang.org/t/senior-software-developer-position-at-opendap-u-s-based/116253)

<div class="topic-metadata">

**Author:** [@ArikaV](https://discourse.julialang.org/u/ArikaV)\
**Replies:** 2\
**Last updated:** [June 26, 2024, 8:03pm UTC](https://discourse.julialang.org/t/senior-software-developer-position-at-opendap-u-s-based/116253 "2024-06-26T20:03:52Z")

</div>

Do you thrive on crafting innovative solutions for scientific data access? OPeNDAP is hiring a Senior Software Developer. The Senior Software Developer position is an upper-level role for OPeNDAP. We’re envisioning that…

---

## [Northeastern University: Looking for Research Projects for Student Teams!](https://discourse.julialang.org/t/northeastern-university-looking-for-research-projects-for-student-teams/114880)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 15\
**Last updated:** [June 26, 2024, 5:52pm UTC](https://discourse.julialang.org/t/northeastern-university-looking-for-research-projects-for-student-teams/114880 "2024-06-26T17:52:37Z")

</div>

Hello everyone :wave: I have some very exciting news to share for the Julia Community! After discussion with Northeastern University, I am pleased to share that we have the opportunity to bring in Julia-related project…

---

## [Do a function like relu need a kernel ? When you need to write a GPU kernel rather than "just" using CuArray?](https://discourse.julialang.org/t/do-a-function-like-relu-need-a-kernel-when-you-need-to-write-a-gpu-kernel-rather-than-just-using-cuarray/116265)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 3\
**Last updated:** [June 26, 2024, 4:54pm UTC](https://discourse.julialang.org/t/do-a-function-like-relu-need-a-kernel-when-you-need-to-write-a-gpu-kernel-rather-than-just-using-cuarray/116265 "2024-06-26T16:54:03Z")

</div>

The relu function works elementwise by returning the input that is non-negative, i.e. relu(x) = ifelse.(x .\> 0, x, 0). Does the fact that it works elementwise means I need to write a GPU kernel for it, or I can simply u…

---

## [Preprint on Differentiable Programming for Differential Equations](https://discourse.julialang.org/t/preprint-on-differentiable-programming-for-differential-equations/116272)

<div class="topic-metadata">

**Author:** [@facusapienza](https://discourse.julialang.org/u/facusapienza)\
**Replies:** 0\
**Last updated:** [June 26, 2024, 4:52pm UTC](https://discourse.julialang.org/t/preprint-on-differentiable-programming-for-differential-equations/116272 "2024-06-26T16:52:31Z")

</div>

Hi Julia Community! :warning: We wanted to announce the publication of our recent preprint titled Differentiable Programming for Differential Equations: A Review. Here, we explain how different tools (automatic differen…

---

## [Pretty printing \`AxisArray\` based type alias](https://discourse.julialang.org/t/pretty-printing-axisarray-based-type-alias/116271)

<div class="topic-metadata">

**Author:** [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Replies:** 0\
**Last updated:** [June 26, 2024, 4:50pm UTC](https://discourse.julialang.org/t/pretty-printing-axisarray-based-type-alias/116271 "2024-06-26T16:50:15Z")

</div>

Hi all, I’m currently using AxisArrays to store array-like data, while giving some sense to the dimension names and with type parameters so that my type remains generic enough. This is super practical, but whenever I pri…

---

## [GraphPPL RxInfer Model](https://discourse.julialang.org/t/graphppl-rxinfer-model/114255)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 3\
**Last updated:** [June 26, 2024, 4:44pm UTC](https://discourse.julialang.org/t/graphppl-rxinfer-model/114255 "2024-06-26T16:44:04Z")

</div>

I have tried to extend the example from here to include an unknown parameter theta: @model function rotate\_ssm(y, x0, Q, P) x\_prior ~ MvNormalMeanCovariance(mean(x0), cov(x0)) x\_prev = x\_prior theta ~ Norma…

---

## [LaTeX rendering in the Julia REPL](https://discourse.julialang.org/t/latex-rendering-in-the-julia-repl/43473)

<div class="topic-metadata">

**Author:** [@GeneralPoxter](https://discourse.julialang.org/u/GeneralPoxter)\
**Replies:** 32\
**Last updated:** [June 26, 2024, 4:17pm UTC](https://discourse.julialang.org/t/latex-rendering-in-the-julia-repl/43473 "2024-06-26T16:17:52Z")

</div>

I watched the Latexify demonstration at JuliaCon here. It seems from the video that simply entering something like latexify("x/y") into the terminal will result in output that looks like proper LaTeX. However, when I t…

---

## [CI error: Path to conda environment is not valid](https://discourse.julialang.org/t/ci-error-path-to-conda-environment-is-not-valid/116264)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [June 26, 2024, 4:05pm UTC](https://discourse.julialang.org/t/ci-error-path-to-conda-environment-is-not-valid/116264 "2024-06-26T16:05:59Z")

</div>

Today my integration tests fail with: Run julia-actions/julia-runtest@v1 Run echo "JULIA\_PKG\_SERVER\_REGISTRY\_PREFERENCE=${JULIA\_PKG\_SERVER\_REGISTRY\_PREFERENCE:-eager}" \>\> ${GITHUB\_ENV} Run # The Julia command that will …

---

## [Does MixedModels assume a normal distribution on coefficient estimates?](https://discourse.julialang.org/t/does-mixedmodels-assume-a-normal-distribution-on-coefficient-estimates/116152)

<div class="topic-metadata">

**Author:** [@ergative](https://discourse.julialang.org/u/ergative)\
**Replies:** 1\
**Last updated:** [June 26, 2024, 3:44pm UTC](https://discourse.julialang.org/t/does-mixedmodels-assume-a-normal-distribution-on-coefficient-estimates/116152 "2024-06-26T15:44:10Z")

</div>

Hi–new to Julia here, sorry if this has been answered. I came over from lme4 in R-land, where you get p-values from lmers from the lmerTest package, which uses the Satterthwaite method for estimating degrees of freedom a…

---

## [Specify build version of JLL package](https://discourse.julialang.org/t/specify-build-version-of-jll-package/116185)

<div class="topic-metadata">

**Author:** [@ludvigak](https://discourse.julialang.org/u/ludvigak)\
**Replies:** 4\
**Last updated:** [June 26, 2024, 3:15pm UTC](https://discourse.julialang.org/t/specify-build-version-of-jll-package/116185 "2024-06-26T15:15:48Z")

</div>

If my package has a JLL dependency MyPkg\_jll with version dependency MyPkg\_jll="1.2.3" in the project file, then version v1.2.3+B will be installed, where B is the latest build version. Now, if build\_tarballs.jl of MyPk…

---

## [Accessible Presentations at JuliaCon 2024](https://discourse.julialang.org/t/accessible-presentations-at-juliacon-2024/116263)

<div class="topic-metadata">

**Author:** [@ranjan](https://discourse.julialang.org/u/ranjan)\
**Replies:** 0\
**Last updated:** [June 26, 2024, 2:24pm UTC](https://discourse.julialang.org/t/accessible-presentations-at-juliacon-2024/116263 "2024-06-26T14:24:33Z")

</div>

Hello all, We look forward to welcoming you to JuliaCon 2024 in Eindhoven! Speakers: As you finally prepare your talks, please go through our guidelines for accessible presentations: Accessibility at JuliaCon See you …

---

## [UndefRefError while running code based on "Automatically Discover Missing Physics by embedding Machine Learning into Differential Equations"](https://discourse.julialang.org/t/undefreferror-while-running-code-based-on-automatically-discover-missing-physics-by-embedding-machine-learning-into-differential-equations/116228)

<div class="topic-metadata">

**Author:** [@MINimal-Code](https://discourse.julialang.org/u/MINimal-Code)\
**Replies:** 3\
**Last updated:** [June 26, 2024, 1:15pm UTC](https://discourse.julialang.org/t/undefreferror-while-running-code-based-on-automatically-discover-missing-physics-by-embedding-machine-learning-into-differential-equations/116228 "2024-06-26T13:15:33Z")

</div>

Hi there, first time posting a question on this forum, I hope I’m doing this right. I am currently trying to modify the code posted in the documentation Automatically Discover Missing Physics by Embedding Machine Learni…

---

## [If condition with a vector comparison](https://discourse.julialang.org/t/if-condition-with-a-vector-comparison/116256)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 7\
**Last updated:** [June 26, 2024, 12:53pm UTC](https://discourse.julialang.org/t/if-condition-with-a-vector-comparison/116256 "2024-06-26T12:53:30Z")

</div>

Hello, im trying to make a if condition where I can compare a variable to any value of vector and if it matches to any condition, it counted as true… Example: a = 3 if a == any(\[1, 2, 3, 4\]) # imaginary function any…

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

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