# Latest

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

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

**Page:** 725

---

## [Help me beat Lsoda](https://discourse.julialang.org/t/help-me-beat-lsoda/88236)

<div class="topic-metadata">

**Author:** [@rveltz](https://discourse.julialang.org/u/rveltz)\
**Replies:** 26\
**Last updated:** [April 17, 2023, 4:54pm UTC](https://discourse.julialang.org/t/help-me-beat-lsoda/88236 "2023-04-17T16:54:29Z")

</div>

Hi, I want to simulate a Jump process for biological applications quite precisely and fast. I developped a package PiecewiseDeterministicMarkovProcesses.jl based on DifferentialEquations.jl to simulate these jump proces…

---

## [UUID in Project.toml](https://discourse.julialang.org/t/uuid-in-project-toml/97576)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 2\
**Last updated:** [April 17, 2023, 3:42pm UTC](https://discourse.julialang.org/t/uuid-in-project-toml/97576 "2023-04-17T15:42:59Z")

</div>

In a Project.toml files, the structure is a series of rows containing Module name and UUID. For example: \[deps\] ArgMacros = "dbc42088-9de8-42a0-8ec8-2cd114e1ea3e" BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0" BenchmarkT…

---

## [Passing args before/after jl\_init (from C or Lisp)](https://discourse.julialang.org/t/passing-args-before-after-jl-init-from-c-or-lisp/93322)

<div class="topic-metadata">

**Author:** [@gvanuxem](https://discourse.julialang.org/u/gvanuxem)\
**Replies:** 1\
**Last updated:** [April 17, 2023, 3:07pm UTC](https://discourse.julialang.org/t/passing-args-before-after-jl-init-from-c-or-lisp/93322 "2023-04-17T15:07:29Z")

</div>

Hello, I’m interfacing Julia for a CAS called FriCAS, which is built on top of a Common LISP environment, in my case SBCL. SBCL needs to catch signals for memory management and other things and I wonder how to use the …

---

## [How to "use" a Module in the C language ("using Module")](https://discourse.julialang.org/t/how-to-use-a-module-in-the-c-language-using-module/97578)

<div class="topic-metadata">

**Author:** [@gvanuxem](https://discourse.julialang.org/u/gvanuxem)\
**Replies:** 0\
**Last updated:** [April 17, 2023, 3:17pm UTC](https://discourse.julialang.org/t/how-to-use-a-module-in-the-c-language-using-module/97578 "2023-04-17T15:17:53Z")

</div>

Hello folks, My question is how to load a package in C à la “using Module”? My code for now does nothing. No warning, no error: void jl\_add\_module(char \*module){ jl\_module\_using(jl\_main\_module, jl\_new\_module(jl\_symbo…

---

## [Turing & DifferentialEquations - memory allocation](https://discourse.julialang.org/t/turing-differentialequations-memory-allocation/97570)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 3\
**Last updated:** [April 17, 2023, 2:28pm UTC](https://discourse.julialang.org/t/turing-differentialequations-memory-allocation/97570 "2023-04-17T14:28:42Z")

</div>

I use Turing for MCMC on a simple DAE, and the computation time is in the order of 4.6 hours with apparently extreme memory allocation. My dynamic model has 3 differential equations and 3 linear algebraic equations – wi…

---

## [My Pluto notebook is not Reactive](https://discourse.julialang.org/t/my-pluto-notebook-is-not-reactive/97519)

<div class="topic-metadata">

**Author:** [@CBrauer](https://discourse.julialang.org/u/CBrauer)\
**Replies:** 4\
**Last updated:** [April 17, 2023, 2:23pm UTC](https://discourse.julialang.org/t/my-pluto-notebook-is-not-reactive/97519 "2023-04-17T14:23:03Z")

</div>

Hey Guys, I tried my first attempt at a Pluto Notebook, and I have a concern. But first, here is my environment: I’m running on Windows 11, latest build (version 22H2) Julia 1.8.5 Google Chrome I have put the Notebo…

---

## [Unpack NamedTuple into a function definition](https://discourse.julialang.org/t/unpack-namedtuple-into-a-function-definition/97500)

<div class="topic-metadata">

**Author:** [@cadojo](https://discourse.julialang.org/u/cadojo)\
**Replies:** 3\
**Last updated:** [April 17, 2023, 1:36pm UTC](https://discourse.julialang.org/t/unpack-namedtuple-into-a-function-definition/97500 "2023-04-17T13:36:39Z")

</div>

I am writing a Julia package to implement a REST API, and I have the accepted parameters available as NamedTuple constants. I’d like to have these NamedTuple constants double as the default keyword arguments for a functi…

---

## [Viewing final Franklin website from \_\_site folder](https://discourse.julialang.org/t/viewing-final-franklin-website-from-site-folder/78345)

<div class="topic-metadata">

**Author:** [@jman87](https://discourse.julialang.org/u/jman87)\
**Replies:** 7\
**Last updated:** [April 17, 2023, 1:20pm UTC](https://discourse.julialang.org/t/viewing-final-franklin-website-from-site-folder/78345 "2023-04-17T13:20:51Z")

</div>

Noobie website development question. :blush: I’m experimenting with Franklin and when I do the following commands: julia\> using Franklin julia\> newsite("sandbox\_02", template="sandbox") julia\> serve() I see the follow…

---

## [Plots/GR: \`savefig\` adds transparency to my picture?](https://discourse.julialang.org/t/plots-gr-savefig-adds-transparency-to-my-picture/93511)

<div class="topic-metadata">

**Author:** [@sim](https://discourse.julialang.org/u/sim)\
**Replies:** 7\
**Last updated:** [April 17, 2023, 12:49pm UTC](https://discourse.julialang.org/t/plots-gr-savefig-adds-transparency-to-my-picture/93511 "2023-04-17T12:49:09Z")

</div>

Hi, I have a curious phenomenon here which seemingly appeared from nowhere. I am doing a simple plot (using Plots) and saving it to a file ; but the saved version seems to be transparent. The MWE is using Plots heatmap…

---

## [Svd accelerated with the MKL package, what about schur?](https://discourse.julialang.org/t/svd-accelerated-with-the-mkl-package-what-about-schur/97559)

<div class="topic-metadata">

**Author:** [@13299118606](https://discourse.julialang.org/u/13299118606)\
**Replies:** 3\
**Last updated:** [April 17, 2023, 12:03pm UTC](https://discourse.julialang.org/t/svd-accelerated-with-the-mkl-package-what-about-schur/97559 "2023-04-17T12:03:44Z")

</div>

LinearAlgebra’s svd can be accelerated with the MKL package, what about schur? much slower than matlab In order to avoid the unstable performance of matlab alone, and schur is iterating, it has a better effect on symmet…

---

## [MKL Distributed slower！](https://discourse.julialang.org/t/mkl-distributed-slower/97561)

<div class="topic-metadata">

**Author:** [@13299118606](https://discourse.julialang.org/u/13299118606)\
**Replies:** 2\
**Last updated:** [April 17, 2023, 10:21am UTC](https://discourse.julialang.org/t/mkl-distributed-slower/97561 "2023-04-17T10:21:06Z")

</div>

I am using MKL to accelerate svd, using MKL svd will be 5-10 times faster But it is far from enough in parallel: Add the original svd 1.3s using mkl will change to 0.15s Then parallel each time 0.6s If I declare i…

---

## [Julia Kernel in Anaconda](https://discourse.julialang.org/t/julia-kernel-in-anaconda/97551)

<div class="topic-metadata">

**Author:** [@Chris\_N](https://discourse.julialang.org/u/Chris_N)\
**Replies:** 3\
**Last updated:** [April 17, 2023, 9:51am UTC](https://discourse.julialang.org/t/julia-kernel-in-anaconda/97551 "2023-04-17T09:51:00Z")

</div>

I’m new to Julia but taking a Julia course on Coursera and am working through a tutorial book. I have a Julia 1.6.1 kernel in my Anaconda 3 (Jupyter Notebook version: 6.5.2) and everything worked fine all week (set up 3…

---

## [TagBot cannot see the pull request](https://discourse.julialang.org/t/tagbot-cannot-see-the-pull-request/96091)

<div class="topic-metadata">

**Author:** [@GianlucaMastrantonio](https://discourse.julialang.org/u/GianlucaMastrantonio)\
**Replies:** 1\
**Last updated:** [April 17, 2023, 9:31am UTC](https://discourse.julialang.org/t/tagbot-cannot-see-the-pull-request/96091 "2023-04-17T09:31:38Z")

</div>

Hi. I’m trying to use a TagBot for a package I’m writing (here GitHub - GianlucaMastrantonio/BayesSizeAndShape.jl: Bayesian regression models for size-and-shape data). I registered the new version of my package, but th…

---

## [How to set parallel parameters very easily， use other packages](https://discourse.julialang.org/t/how-to-set-parallel-parameters-very-easily-use-other-packages/97567)

<div class="topic-metadata">

**Author:** [@13299118606](https://discourse.julialang.org/u/13299118606)\
**Replies:** 0\
**Last updated:** [April 17, 2023, 9:09am UTC](https://discourse.julialang.org/t/how-to-set-parallel-parameters-very-easily-use-other-packages/97567 "2023-04-17T09:09:45Z")

</div>

How to set parallel parameters very easily, where the function needs to use other packages. Using LinearAlgebra as an example, I want to set an isparfor parameter and package it into a function: At present, if you want …

---

## [Create Brachistochrone Comparison Animation](https://discourse.julialang.org/t/create-brachistochrone-comparison-animation/97562)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 1\
**Last updated:** [April 17, 2023, 7:20am UTC](https://discourse.julialang.org/t/create-brachistochrone-comparison-animation/97562 "2023-04-17T07:20:20Z")

</div>

Hi all, I want to know how to animate a moving scatter plot / circle form three different lines: Cycloid arc Straight line Steep curve we can plot three different lines. Then how to move the circles from point A to p…

---

## [Nice weird feature on pasting julia\> code](https://discourse.julialang.org/t/nice-weird-feature-on-pasting-julia-code/15020)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 25\
**Last updated:** [April 17, 2023, 5:47am UTC](https://discourse.julialang.org/t/nice-weird-feature-on-pasting-julia-code/15020 "2023-04-17T05:47:23Z")

</div>

on macos and linux, copy julia\> x=2 julia\> x + 1 into the copy-paste buffer. obviously, this should not be pasted into a running REPL, because each line starts with julia\> . except, the REPL is smart enough to recog…

---

## [Checking the Solutions for First Order Differential Equations](https://discourse.julialang.org/t/checking-the-solutions-for-first-order-differential-equations/97304)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 3\
**Last updated:** [April 17, 2023, 5:46am UTC](https://discourse.julialang.org/t/checking-the-solutions-for-first-order-differential-equations/97304 "2023-04-17T05:46:21Z")

</div>

Hi all, I just want to make sure, whether the solution of x(t) and y(t) are correct in t term. If the solutions are incorrect, it is SymPy fault. Because if I put t\>0 I get x(t) \< 0 and I think it should not be possib…

---

## [How to use the 'LsqFit.curve\_fit'?](https://discourse.julialang.org/t/how-to-use-the-lsqfit-curve-fit/97546)

<div class="topic-metadata">

**Author:** [@manu\_han](https://discourse.julialang.org/u/manu_han)\
**Replies:** 0\
**Last updated:** [April 16, 2023, 2:18pm UTC](https://discourse.julialang.org/t/how-to-use-the-lsqfit-curve-fit/97546 "2023-04-16T14:18:59Z")

</div>

To fit the non-linear function with other data, I am trying to use the ‘LsqFit.curve\_fit’ which was introduced by the following link: GitHub - JuliaNLSolvers/LsqFit.jl: Simple curve fitting in Julia here is toy example: …

---

## [Are hasmethod and applicable recommended for defining traits now?](https://discourse.julialang.org/t/are-hasmethod-and-applicable-recommended-for-defining-traits-now/97533)

<div class="topic-metadata">

**Author:** [@zsunberg](https://discourse.julialang.org/u/zsunberg)\
**Replies:** 2\
**Last updated:** [April 17, 2023, 12:21am UTC](https://discourse.julialang.org/t/are-hasmethod-and-applicable-recommended-for-defining-traits-now/97533 "2023-04-17T00:21:58Z")

</div>

If I understand correctly, as of Julia 1.10, according to this PR, it will be possible to statically infer the output of hasmethod and applicable. Previously, things like static\_hasmethod from Tricks.jl seemed to be not …

---

## [Can I (disable or) know somehow that precompilation will not happen at runtime?](https://discourse.julialang.org/t/can-i-disable-or-know-somehow-that-precompilation-will-not-happen-at-runtime/97515)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 2\
**Last updated:** [April 16, 2023, 9:16pm UTC](https://discourse.julialang.org/t/can-i-disable-or-know-somehow-that-precompilation-will-not-happen-at-runtime/97515 "2023-04-16T21:16:14Z")

</div>

I was running: pkg\> test Plots ad somehow my machine got unstable, with OOM, as sometimes hapens with the (parallel) precompilation. I wasn’t expecting at that point. What I had done before was I installed Plots, and …

---

## [Large DAE problem in Julia using DifferentialEquations](https://discourse.julialang.org/t/large-dae-problem-in-julia-using-differentialequations/97555)

<div class="topic-metadata">

**Author:** [@hannemgr](https://discourse.julialang.org/u/hannemgr)\
**Replies:** 2\
**Last updated:** [April 16, 2023, 9:07pm UTC](https://discourse.julialang.org/t/large-dae-problem-in-julia-using-differentialequations/97555 "2023-04-16T21:07:39Z")

</div>

Hi, I am currently working on a project which requires the solution of a large-scale DAE problem (differential algebraic equations). I have tried some example test codes such as Robertson equation which has worked fine …

---

## [Is there a faster way to do a matrix multiplication on a random subset of a matrix?](https://discourse.julialang.org/t/is-there-a-faster-way-to-do-a-matrix-multiplication-on-a-random-subset-of-a-matrix/97549)

<div class="topic-metadata">

**Author:** [@mkoculak](https://discourse.julialang.org/u/mkoculak)\
**Replies:** 5\
**Last updated:** [April 16, 2023, 9:03pm UTC](https://discourse.julialang.org/t/is-there-a-faster-way-to-do-a-matrix-multiplication-on-a-random-subset-of-a-matrix/97549 "2023-04-16T21:03:54Z")

</div>

I have an algorithm that spends almost 2/3 of its time in a function that draws a subset of a matrix and then multiplies that with some weights. Number of selected rows \<\< N rows. I have tried to optimize it by prealloc…

---

## [Why is Julia so great?](https://discourse.julialang.org/t/why-is-julia-so-great/94718)

<div class="topic-metadata">

**Author:** [@marianoarnaiz](https://discourse.julialang.org/u/marianoarnaiz)\
**Replies:** 77\
**Last updated:** [April 16, 2023, 8:57pm UTC](https://discourse.julialang.org/t/why-is-julia-so-great/94718 "2023-04-16T20:57:20Z")

</div>

Hi all. So, I just landed a new postdoc at a very famous institution where no one uses julia hahaha. Every time I bring up that I work in julia and not matlab or python I get weird looks and comments like “Really? isn’…

---

## [Student looking for remote internship/job](https://discourse.julialang.org/t/student-looking-for-remote-internship-job/97350)

<div class="topic-metadata">

**Author:** [@JonasKoziorek](https://discourse.julialang.org/u/JonasKoziorek)\
**Replies:** 3\
**Last updated:** [April 16, 2023, 7:00pm UTC](https://discourse.julialang.org/t/student-looking-for-remote-internship-job/97350 "2023-04-16T19:00:26Z")

</div>

I am looking for remote internship or job. Ideally science related. I am skilled at mathematics and programming at an undergraduate level and have experience with working on a research project. Contact me here or at koz0…

---

## [Convert directed MetaGraphs object to networkX?](https://discourse.julialang.org/t/convert-directed-metagraphs-object-to-networkx/97358)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 1\
**Last updated:** [April 16, 2023, 6:04pm UTC](https://discourse.julialang.org/t/convert-directed-metagraphs-object-to-networkx/97358 "2023-04-16T18:04:37Z")

</div>

I’m trying to export a bunch of edge/node annotations to NetworkX so I can use PyVis. Has anyone tried this?

---

## [\[ANN\] Announcing TinyGibbs.jl](https://discourse.julialang.org/t/ann-announcing-tinygibbs-jl/97543)

<div class="topic-metadata">

**Author:** [@enweg](https://discourse.julialang.org/u/enweg)\
**Replies:** 2\
**Last updated:** [April 16, 2023, 4:20pm UTC](https://discourse.julialang.org/t/ann-announcing-tinygibbs-jl/97543 "2023-04-16T16:20:21Z")

</div>

TinyGibbs.jl came out of my needs for a simple but yet fully functional Gibbs sampler. I basically noticed that most Bayesian sampling in my area of work uses Gibbs sampling and involves statements like: Sample a from p(…

---

## [How to call a shadowed function](https://discourse.julialang.org/t/how-to-call-a-shadowed-function/97547)

<div class="topic-metadata">

**Author:** [@RainerHeintzmann](https://discourse.julialang.org/u/RainerHeintzmann)\
**Replies:** 2\
**Last updated:** [April 16, 2023, 4:05pm UTC](https://discourse.julialang.org/t/how-to-call-a-shadowed-function/97547 "2023-04-16T16:05:54Z")

</div>

On the way of making a package CUDA.jl-compatible, the easiest way to get the Base.display function working without causing trouble, would be to enable @CUDA.allowscalar for just this function. So I thought to simply def…

---

## [Convert Vectors of Numbers and Bases to Two-Dimensional Matrix of Strings](https://discourse.julialang.org/t/convert-vectors-of-numbers-and-bases-to-two-dimensional-matrix-of-strings/97520)

<div class="topic-metadata">

**Author:** [@Cougar](https://discourse.julialang.org/u/Cougar)\
**Replies:** 9\
**Last updated:** [April 16, 2023, 2:39pm UTC](https://discourse.julialang.org/t/convert-vectors-of-numbers-and-bases-to-two-dimensional-matrix-of-strings/97520 "2023-04-16T14:39:40Z")

</div>

Given two Vector{Int64} n and b shown below, I’m looking for a succinct and efficient way to build the 3×3 Matrix{String} described … top row is binary, octal, hexadecimal expansions of 321. middle row is binary, oct…

---

## [Diagonal noise with specified noise process in solve (Ornstein Uhlenbeck)](https://discourse.julialang.org/t/diagonal-noise-with-specified-noise-process-in-solve-ornstein-uhlenbeck/97501)

<div class="topic-metadata">

**Author:** [@nkoch](https://discourse.julialang.org/u/nkoch)\
**Replies:** 3\
**Last updated:** [April 16, 2023, 12:16pm UTC](https://discourse.julialang.org/t/diagonal-noise-with-specified-noise-process-in-solve-ornstein-uhlenbeck/97501 "2023-04-16T12:16:45Z")

</div>

Hello, I am trying to simulate a SDE problem with diagonal noise specifically Orstein Uhlenbeck noise, however I am only able to get scalar noise when specifying the noise process in SDEProblem (i.e. one noise process in…

---

## [Is there a way to return from a function from within a thread?](https://discourse.julialang.org/t/is-there-a-way-to-return-from-a-function-from-within-a-thread/35656)

<div class="topic-metadata">

**Author:** [@anon94023334](https://discourse.julialang.org/u/anon94023334)\
**Replies:** 13\
**Last updated:** [April 16, 2023, 11:52am UTC](https://discourse.julialang.org/t/is-there-a-way-to-return-from-a-function-from-within-a-thread/35656 "2023-04-16T11:52:04Z")

</div>

I have a function that does a @threads loop. There is a condition that gets evaluated inside the loop. If the condition returns false, there’s no point in continuing any of the work; I’d like to just return false: funct…

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

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