# Latest

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

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

**Page:** 421

---

## [Get external links to work both in REPL and Documenter.jl](https://discourse.julialang.org/t/get-external-links-to-work-both-in-repl-and-documenter-jl/113737)

<div class="topic-metadata">

**Author:** [@araujoms](https://discourse.julialang.org/u/araujoms)\
**Replies:** 0\
**Last updated:** [May 2, 2024, 1:22pm UTC](https://discourse.julialang.org/t/get-external-links-to-work-both-in-repl-and-documenter-jl/113737 "2024-05-02T13:22:50Z")

</div>

I can’t get a decent formatting for external links that work in both at the same time. If I put the bare URL in the docstring, like """ foo(x) Reference: https://arxiv.org/abs/1902.04751 """ I get a clickable link…

---

## [Agent Based Modelling for cellular interaction](https://discourse.julialang.org/t/agent-based-modelling-for-cellular-interaction/113732)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 0\
**Last updated:** [May 2, 2024, 12:06pm UTC](https://discourse.julialang.org/t/agent-based-modelling-for-cellular-interaction/113732 "2024-05-02T12:06:49Z")

</div>

Hello everyone, Im trying to make a simple interaction model for cellular system. Let’s say we have 3 cells of two types A and B and when they come in contact they produce chemical x. Though there is much more I need t…

---

## [GR\_jll not compiling in Julia 1.10.3](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693)

<div class="topic-metadata">

**Author:** [@scheinerman](https://discourse.julialang.org/u/scheinerman)\
**Replies:** 21\
**Last updated:** [May 2, 2024, 11:37am UTC](https://discourse.julialang.org/t/gr-jll-not-compiling-in-julia-1-10-3/113693 "2024-05-02T11:37:47Z")

</div>

I just installed Julia 1.10.3 and GR\_jll is not compiling, so I can’t use Plots. The error message I get is this: ERROR: LoadError: InitError: could not load library "/home/WIN/eschein1/.julia/artifacts/e18a60e84fd8ae…

---

## [Does anyone know why JuliaFormatter uses a 92 character max line length?](https://discourse.julialang.org/t/does-anyone-know-why-juliaformatter-uses-a-92-character-max-line-length/45477)

<div class="topic-metadata">

**Author:** [@andrewjessop](https://discourse.julialang.org/u/andrewjessop)\
**Replies:** 7\
**Last updated:** [August 26, 2020, 12:37pm UTC](https://discourse.julialang.org/t/does-anyone-know-why-juliaformatter-uses-a-92-character-max-line-length/45477 "2020-08-26T12:37:26Z")

</div>

It seems like such a random number, but I was just curious if there was any particular reason for using this many characters? https://domluna.github.io/JuliaFormatter.jl/stable/#JuliaFormatter.jl-1

---

## [Missing \`top-level scope\` when \`eval\`ing](https://discourse.julialang.org/t/missing-top-level-scope-when-eval-ing/113728)

<div class="topic-metadata">

**Author:** [@jules](https://discourse.julialang.org/u/jules)\
**Replies:** 0\
**Last updated:** [May 2, 2024, 10:32am UTC](https://discourse.julialang.org/t/missing-top-level-scope-when-eval-ing/113728 "2024-05-02T10:32:27Z")

</div>

This is on Julia 1.10, note that between frame 6 and 7 of the using Plots stacktrace, there’s no top-level scope. But between the corresponding frames 1 and 3 in the second example, there is one. Both evaled Exprs are co…

---

## [InfiniteOpt: Unable to put expressions with divide operation into objective](https://discourse.julialang.org/t/infiniteopt-unable-to-put-expressions-with-divide-operation-into-objective/113661)

<div class="topic-metadata">

**Author:** [@aruna-ram](https://discourse.julialang.org/u/aruna-ram)\
**Replies:** 7\
**Last updated:** [May 2, 2024, 9:31am UTC](https://discourse.julialang.org/t/infiniteopt-unable-to-put-expressions-with-divide-operation-into-objective/113661 "2024-05-02T09:31:25Z")

</div>

Hi there! I am quite new to Julia and JuMP/InfiniteOpt. I’m trying to solve a time optimal control problem. I have an issue when I incorporate an expression using the divide operator into the objective function. The fol…

---

## [JuliaCon 2024 Schedule is Now Out!](https://discourse.julialang.org/t/juliacon-2024-schedule-is-now-out/113717)

<div class="topic-metadata">

**Author:** [@rayegun](https://discourse.julialang.org/u/rayegun)\
**Replies:** 1\
**Last updated:** [May 2, 2024, 6:39am UTC](https://discourse.julialang.org/t/juliacon-2024-schedule-is-now-out/113717 "2024-05-02T06:39:37Z")

</div>

JuliaCon 2024 Draft Schedule is now out! Head to Schedule on PreTalx , or click here for the rest of the announcement and Important FAQs!

---

## [Rust-like source-file tests](https://discourse.julialang.org/t/rust-like-source-file-tests/113706)

<div class="topic-metadata">

**Author:** [@algunion](https://discourse.julialang.org/u/algunion)\
**Replies:** 7\
**Last updated:** [May 2, 2024, 7:47am UTC](https://discourse.julialang.org/t/rust-like-source-file-tests/113706 "2024-05-02T07:47:52Z")

</div>

I find the idiomatic Rust way of writing tests extremely practical, and I can only imagine that such an approach would add even more value to a language like Julia. Although tools like Copilot can have project-level acc…

---

## [Adding packages to Project.toml file using package URL](https://discourse.julialang.org/t/adding-packages-to-project-toml-file-using-package-url/113643)

<div class="topic-metadata">

**Author:** [@Name1](https://discourse.julialang.org/u/Name1)\
**Replies:** 7\
**Last updated:** [May 2, 2024, 7:45am UTC](https://discourse.julialang.org/t/adding-packages-to-project-toml-file-using-package-url/113643 "2024-05-02T07:45:58Z")

</div>

Hi all, I want to add a dependency (called MyDependency) that I have privately developed to my Project.toml file for my main module (called URLPack) using MyDependency’s URL. When I go to the package manager using the ‘…

---

## [Using Plots and PhysicalConstants gives error](https://discourse.julialang.org/t/using-plots-and-physicalconstants-gives-error/99663)

<div class="topic-metadata">

**Author:** [@ropewe](https://discourse.julialang.org/u/ropewe)\
**Replies:** 1\
**Last updated:** [May 2, 2024, 6:33am UTC](https://discourse.julialang.org/t/using-plots-and-physicalconstants-gives-error/99663 "2024-05-02T06:33:51Z")

</div>

Using Plots and PhysicalConstants together results in an error message: using Plots using PhysicalConstants ┌ Error: Error during package callback │ exception = │ 2-element ExceptionStack: │ invalid redefinit…

---

## [There is no Julia for AMD Epyc, is there?](https://discourse.julialang.org/t/there-is-no-julia-for-amd-epyc-is-there/113713)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 5\
**Last updated:** [May 2, 2024, 4:02am UTC](https://discourse.julialang.org/t/there-is-no-julia-for-amd-epyc-is-there/113713 "2024-05-02T04:02:53Z")

</div>

I would like to run a test on an AMD EPYC 7543 32-Core Processor. I guess unless I want to build Julia myself, I am out of luck?

---

## [Convex Semi-definite Problem](https://discourse.julialang.org/t/convex-semi-definite-problem/113656)

<div class="topic-metadata">

**Author:** [@Julian\_Villaquira](https://discourse.julialang.org/u/Julian_Villaquira)\
**Replies:** 5\
**Last updated:** [May 2, 2024, 1:32am UTC](https://discourse.julialang.org/t/convex-semi-definite-problem/113656 "2024-05-02T01:32:12Z")

</div>

I am trying to solve a convex semi-definite optimization problem, and I don’t know what would be the right approach to implement it in Julia. The problem is the following: min c'x where c and x are vectors in R^n subje…

---

## [Gradient-based optimization when gradient is only a function of y = f(x)](https://discourse.julialang.org/t/gradient-based-optimization-when-gradient-is-only-a-function-of-y-f-x/113674)

<div class="topic-metadata">

**Author:** [@dieg0](https://discourse.julialang.org/u/dieg0)\
**Replies:** 3\
**Last updated:** [May 1, 2024, 8:47pm UTC](https://discourse.julialang.org/t/gradient-based-optimization-when-gradient-is-only-a-function-of-y-f-x/113674 "2024-05-01T20:47:01Z")

</div>

Hi all, I am new to Julia, coming from MATLAB. I am writing some optimization code that tries to find parameters by minimizing the difference between some already computed probabilities (s) and model estimated probabilit…

---

## [\[ANN\] AIHelpMe.jl - AI-Enhanced Coding Assistance for Julia!](https://discourse.julialang.org/t/ann-aihelpme-jl-ai-enhanced-coding-assistance-for-julia/109130)

<div class="topic-metadata">

**Author:** [@svilupp](https://discourse.julialang.org/u/svilupp)\
**Replies:** 5\
**Last updated:** [May 1, 2024, 6:25pm UTC](https://discourse.julialang.org/t/ann-aihelpme-jl-ai-enhanced-coding-assistance-for-julia/109130 "2024-05-01T18:25:55Z")

</div>

Quick Intro :glowing\_star: Discover AIHelpMe, the new Julia package that turns your docstrings into a treasure trove of insights! Why AIHelpMe? :thinking: Bridging the gap between local knowledge and AI smarts, AIHelpMe…

---

## [Efficiently selecting parts of a StaticArray](https://discourse.julialang.org/t/efficiently-selecting-parts-of-a-staticarray/4173)

<div class="topic-metadata">

**Author:** [@DNF](https://discourse.julialang.org/u/DNF)\
**Replies:** 17\
**Last updated:** [May 1, 2024, 5:27pm UTC](https://discourse.julialang.org/t/efficiently-selecting-parts-of-a-staticarray/4173 "2024-05-01T17:27:09Z")

</div>

Is there a convenient and efficient way of slicing StaticArrays, or let’s say, dropping parts of an SArray? julia\> vs = SVector{4}(rand(4)) 4-element SVector{4,Float64}: 0.580171 0.719607 0.651051 0.430415 julia\> v…

---

## [\[CfP\] Parallel Applications Workshop, Alternatives To MPI+X -- Supercomputing 2024](https://discourse.julialang.org/t/cfp-parallel-applications-workshop-alternatives-to-mpi-x-supercomputing-2024/113701)

<div class="topic-metadata">

**Author:** [@csweeney](https://discourse.julialang.org/u/csweeney)\
**Replies:** 0\
**Last updated:** [May 1, 2024, 4:23pm UTC](https://discourse.julialang.org/t/cfp-parallel-applications-workshop-alternatives-to-mpi-x-supercomputing-2024/113701 "2024-05-01T16:23:08Z")

</div>

Call for Papers PAW-ATM 2024: Parallel Applications Workshop, Alternatives To MPI+X Held in conjunction with SC24, Atlanta, GA Submissions deadline: July 24, 2024 Notification to authors: August 30, 2024 Workshop …

---

## [Align boxplot and scatter points in a rainclouds plot (Makie.jl)](https://discourse.julialang.org/t/align-boxplot-and-scatter-points-in-a-rainclouds-plot-makie-jl/113675)

<div class="topic-metadata">

**Author:** [@TheHedgehog2000](https://discourse.julialang.org/u/TheHedgehog2000)\
**Replies:** 6\
**Last updated:** [May 1, 2024, 3:44pm UTC](https://discourse.julialang.org/t/align-boxplot-and-scatter-points-in-a-rainclouds-plot-makie-jl/113675 "2024-05-01T15:44:57Z")

</div>

Pretty specific question: is it possible to align the boxplot and scatter components of a rainclouds plot and have them centered on the xticks with Makie.jl? Basically, I am looking to overlay a boxplot and jitter plot a…

---

## [ArgumentError: First argument to \`@sprintf\` must be a format string](https://discourse.julialang.org/t/argumenterror-first-argument-to-sprintf-must-be-a-format-string/113697)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 4\
**Last updated:** [May 1, 2024, 3:26pm UTC](https://discourse.julialang.org/t/argumenterror-first-argument-to-sprintf-must-be-a-format-string/113697 "2024-05-01T15:26:30Z")

</div>

julia\> using Printf julia\> @sprintf("%.2f", 3.14159) "3.14" julia\> @sprintf("%."\*"3"\*"f", 3.14159) ERROR: ArgumentError: First argument to \`@sprintf\` must be a format string. julia\> format\_str = "%.2f" "%.2f" julia\> …

---

## [Any one up for a newbie?](https://discourse.julialang.org/t/any-one-up-for-a-newbie/113695)

<div class="topic-metadata">

**Author:** [@rich20509](https://discourse.julialang.org/u/rich20509)\
**Replies:** 1\
**Last updated:** [May 1, 2024, 12:50pm UTC](https://discourse.julialang.org/t/any-one-up-for-a-newbie/113695 "2024-05-01T12:50:35Z")

</div>

Hello there, This is my first post after just joining this discussion, so please forgive me and provide kind assistance if I have posted to the wrong subsection. I am new here but a real enthusiast and loving this comm…

---

## [Matrix inversion in ODESystem in ModelingToolkit](https://discourse.julialang.org/t/matrix-inversion-in-odesystem-in-modelingtoolkit/113687)

<div class="topic-metadata">

**Author:** [@rveynde](https://discourse.julialang.org/u/rveynde)\
**Replies:** 1\
**Last updated:** [May 1, 2024, 12:03pm UTC](https://discourse.julialang.org/t/matrix-inversion-in-odesystem-in-modelingtoolkit/113687 "2024-05-01T12:03:00Z")

</div>

Hi all, I’m trying to build an ODESystem in ModelingToolkit, with an equation that uses a matrix inversion. Basically, I initialize a random matrix A of size (industries,industries), and the matrix L of size (industries,…

---

## [Environments - understanding basic use?](https://discourse.julialang.org/t/environments-understanding-basic-use/113689)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 1\
**Last updated:** [May 1, 2024, 10:28am UTC](https://discourse.julialang.org/t/environments-understanding-basic-use/113689 "2024-05-01T10:28:48Z")

</div>

Advice needed – I finally try to learn the basics of Environments (documentation I’ve found seems to cover more complex cases than mine…) Below, I describe my Case, and what we have done so far. I’m interested in feedba…

---

## [Looking for Julia implementations of online clustering algorithms](https://discourse.julialang.org/t/looking-for-julia-implementations-of-online-clustering-algorithms/113649)

<div class="topic-metadata">

**Author:** [@vvbond](https://discourse.julialang.org/u/vvbond)\
**Replies:** 4\
**Last updated:** [May 1, 2024, 10:28am UTC](https://discourse.julialang.org/t/looking-for-julia-implementations-of-online-clustering-algorithms/113649 "2024-05-01T10:28:41Z")

</div>

… to no avail. The use case is quite common: real time clustering of streamed data. I envision a fusion between functionalities of the excellent OnlineStats.jl and Clustering.jl, but so far couldn’t find any ready imp…

---

## [UPDsocket recv without allocations?](https://discourse.julialang.org/t/updsocket-recv-without-allocations/93481)

<div class="topic-metadata">

**Author:** [@nhardy](https://discourse.julialang.org/u/nhardy)\
**Replies:** 3\
**Last updated:** [May 1, 2024, 8:32am UTC](https://discourse.julialang.org/t/updsocket-recv-without-allocations/93481 "2024-05-01T08:32:20Z")

</div>

I have an application where i am receiving / synthesizing data from a number of sources. One source is UDP packets. From what I can find, the only way to receive data from a sock = UDPSocket() is with recv(sock)… which r…

---

## [Using @tensor with sparse tensors of SparseArrayKit.jl](https://discourse.julialang.org/t/using-tensor-with-sparse-tensors-of-sparsearraykit-jl/113686)

<div class="topic-metadata">

**Author:** [@Rodrigue](https://discourse.julialang.org/u/Rodrigue)\
**Replies:** 0\
**Last updated:** [May 1, 2024, 7:53am UTC](https://discourse.julialang.org/t/using-tensor-with-sparse-tensors-of-sparsearraykit-jl/113686 "2024-05-01T07:53:39Z")

</div>

According to the SparseArrayKit.jl documentation, sparse tensors implemented therein are compatible with the @tensor macro from the TensorOperations.jl package. The following simple code function randn\_sparse(T::Type{\<:…

---

## [VSCode debug crash with 1.10.2](https://discourse.julialang.org/t/vscode-debug-crash-with-1-10-2/111501)

<div class="topic-metadata">

**Author:** [@chaojin](https://discourse.julialang.org/u/chaojin)\
**Replies:** 5\
**Last updated:** [May 1, 2024, 6:35am UTC](https://discourse.julialang.org/t/vscode-debug-crash-with-1-10-2/111501 "2024-05-01T06:35:35Z")

</div>

HI, I just upgrade to 1.10.2 and hit crash which is more like VSCode tools crash when I run nd debug my old code. To rule out my code error, I just create a simple test.jl like below println("This is test1") println("T…

---

## [Nested AD with Lux etc](https://discourse.julialang.org/t/nested-ad-with-lux-etc/113573)

<div class="topic-metadata">

**Author:** [@avikpal](https://discourse.julialang.org/u/avikpal)\
**Replies:** 26\
**Last updated:** [May 1, 2024, 6:05am UTC](https://discourse.julialang.org/t/nested-ad-with-lux-etc/113573 "2024-05-01T06:05:44Z")

</div>

Nested AD (Starting v0.5.38) Starting v0.5.38, Lux automatically captures some common possibilities of AD calls inside loss functions on lux layers and converts them into a faster version to do a JVP over gradient (inste…

---

## [Help with Change Point Analysis](https://discourse.julialang.org/t/help-with-change-point-analysis/113677)

<div class="topic-metadata">

**Author:** [@GrudgingDesert1](https://discourse.julialang.org/u/GrudgingDesert1)\
**Replies:** 2\
**Last updated:** [May 1, 2024, 4:36am UTC](https://discourse.julialang.org/t/help-with-change-point-analysis/113677 "2024-05-01T04:36:52Z")

</div>

Hi everyone, new to Julia and Turing.jl here! I have a question about why my change point model will not converge properly. This question was asked before here, but none of the answers there worked either. I am creating…

---

## [How to merge two \`JuMP\` models?](https://discourse.julialang.org/t/how-to-merge-two-jump-models/113646)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 7\
**Last updated:** [May 1, 2024, 3:14am UTC](https://discourse.julialang.org/t/how-to-merge-two-jump-models/113646 "2024-05-01T03:14:59Z")

</div>

For example, there are two JuMP models named M1 and M2: using JuMP M1 = Model() @variable(M1, x \<= 3) @variable(M1, y \<= 3) @objective(M1, Max, x + y) M2 = Model() @variable(M2, x \>= 1) @variable(M2, y \>= 1) @constrai…

---

## [Julia Slurm Cluster Module Command Not Working](https://discourse.julialang.org/t/julia-slurm-cluster-module-command-not-working/113600)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 7\
**Last updated:** [May 1, 2024, 3:13am UTC](https://discourse.julialang.org/t/julia-slurm-cluster-module-command-not-working/113600 "2024-05-01T03:13:11Z")

</div>

Hello, I am experimenting with using Julia as my interpreter for slurm run scripts. But I am having an issue and I am hoping someone has run into this before. For reference, my cluster uses Lmod. As part of my run scri…

---

## [Baron installation issue](https://discourse.julialang.org/t/baron-installation-issue/113603)

<div class="topic-metadata">

**Author:** [@manoj.centura](https://discourse.julialang.org/u/manoj.centura)\
**Replies:** 3\
**Last updated:** [May 1, 2024, 2:09am UTC](https://discourse.julialang.org/t/baron-installation-issue/113603 "2024-05-01T02:09:41Z")

</div>

hi All, i am facing running the issue in BARON. m = Model(BARON.Optimizer) ub = \[2, 2, 1\] @variable(m, 0 ≤ x\[i = 1:3\] ≤ ub\[i\]) @variable(m, y\[1:3\], Bin) @NLconstraints( m, begin 0.8log(x\[2\] + 1) + 0.9…

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

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