# Latest

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

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

**Page:** 355

---

## [Bug: running code from active editor doesn't work in v1.102.2](https://discourse.julialang.org/t/bug-running-code-from-active-editor-doesnt-work-in-v1-102-2/117490)

<div class="topic-metadata">

**Author:** [@aris](https://discourse.julialang.org/u/aris)\
**Replies:** 2\
**Last updated:** [July 25, 2024, 8:37pm UTC](https://discourse.julialang.org/t/bug-running-code-from-active-editor-doesnt-work-in-v1-102-2/117490 "2024-07-25T20:37:30Z")

</div>

The usual features of clicking ctrl/shift + enter to run current line from editor into the active repl seem to be broken for the latest release of the extension. The “play button” on the top right of the editor doesn’t …

---

## [Indirect dependency "is required but does not seem to be installed" causing failure](https://discourse.julialang.org/t/indirect-dependency-is-required-but-does-not-seem-to-be-installed-causing-failure/117493)

<div class="topic-metadata">

**Author:** [@moble](https://discourse.julialang.org/u/moble)\
**Replies:** 1\
**Last updated:** [July 25, 2024, 8:34pm UTC](https://discourse.julialang.org/t/indirect-dependency-is-required-but-does-not-seem-to-be-installed-causing-failure/117493 "2024-07-25T20:34:07Z")

</div>

A user of a package of mine is having trouble installing the package on a cluster to which I don’t have access. I’ve been working with him to simplify it and use clean environments. (Originally, this came up because he…

---

## [Trouble trying to serialize JuMP Models to .mps, .lp, .rew formats](https://discourse.julialang.org/t/trouble-trying-to-serialize-jump-models-to-mps-lp-rew-formats/117425)

<div class="topic-metadata">

**Author:** [@gangway](https://discourse.julialang.org/u/gangway)\
**Replies:** 3\
**Last updated:** [July 25, 2024, 8:21pm UTC](https://discourse.julialang.org/t/trouble-trying-to-serialize-jump-models-to-mps-lp-rew-formats/117425 "2024-07-25T20:21:17Z")

</div>

I am trying to serialize JuMP Models to .mps, .lp, .rew formats via write\_to\_file method. But I am facing the same error with all three conversion while the .nl conversion is successful: MathOptInterface.UnsupportedCon…

---

## [ANN: pykitemodels, a Python interface for a kite power system simulator](https://discourse.julialang.org/t/ann-pykitemodels-a-python-interface-for-a-kite-power-system-simulator/117491)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 3\
**Last updated:** [July 25, 2024, 7:51pm UTC](https://discourse.julialang.org/t/ann-pykitemodels-a-python-interface-for-a-kite-power-system-simulator/117491 "2024-07-25T19:51:45Z")

</div>

I want to announce pykitemodels, a Python interface for a set of Julia packages, known under the name Julia Kitepower Tools. It mainly wraps KiteModels.jl, just released in version 0.6.1 with support for speed and torque…

---

## [Dynamic parallelism slow in CUDA.jl](https://discourse.julialang.org/t/dynamic-parallelism-slow-in-cuda-jl/117463)

<div class="topic-metadata">

**Author:** [@z-wang](https://discourse.julialang.org/u/z-wang)\
**Replies:** 1\
**Last updated:** [July 25, 2024, 6:09pm UTC](https://discourse.julialang.org/t/dynamic-parallelism-slow-in-cuda-jl/117463 "2024-07-25T18:09:50Z")

</div>

Hi, i’m learning dynamic parallelism in CUDA.jl . Here i have a code which executes a parent kernel concurrently 1000 times, and each parent kernel queues the child kernel N times. My problem is that this code is pretty …

---

## [Vizagrams.jl: New Package for Data Visualization and Diagramming](https://discourse.julialang.org/t/vizagrams-jl-new-package-for-data-visualization-and-diagramming/117192)

<div class="topic-metadata">

**Author:** [@davibarreira](https://discourse.julialang.org/u/davibarreira)\
**Replies:** 3\
**Last updated:** [July 25, 2024, 5:56pm UTC](https://discourse.julialang.org/t/vizagrams-jl-new-package-for-data-visualization-and-diagramming/117192 "2024-07-25T17:56:23Z")

</div>

I’d like to announce a new package called Vizagrams.jl. It takes a new approach to data visualization by fully integrating it with diagramming. Here is quick example of how to draw diagrams: And here is an example …

---

## [A question about parsing (Markdown) string literals](https://discourse.julialang.org/t/a-question-about-parsing-markdown-string-literals/117442)

<div class="topic-metadata">

**Author:** [@mitiemannn](https://discourse.julialang.org/u/mitiemannn)\
**Replies:** 3\
**Last updated:** [July 25, 2024, 4:57pm UTC](https://discourse.julialang.org/t/a-question-about-parsing-markdown-string-literals/117442 "2024-07-25T16:57:22Z")

</div>

Hi everyone, I’ve tried to generate a Markdown.MD object from an computed string and observed something odd (MWE): julia\> using Markdown julia\> md"foo\\ bar" foo bar julia\> md"foo\\\\\\nbar" foo\\\\nbar julia\>…

---

## [Julia has ruined my work experience](https://discourse.julialang.org/t/julia-has-ruined-my-work-experience/116556)

<div class="topic-metadata">

**Author:** [@kapple](https://discourse.julialang.org/u/kapple)\
**Replies:** 70\
**Last updated:** [July 25, 2024, 4:15am UTC](https://discourse.julialang.org/t/julia-has-ruined-my-work-experience/116556 "2024-07-25T04:15:02Z")

</div>

Julia’s syntax for the most part is so satisfying. The community is an intellectual bunch that I learn from via a lot of lurking. And the direction Julia is headed in is quite exciting. I’m inspired by both types of pack…

---

## [After installing Pluto.jl, julia no longer runs, Win10](https://discourse.julialang.org/t/after-installing-pluto-jl-julia-no-longer-runs-win10/117394)

<div class="topic-metadata">

**Author:** [@xenophod](https://discourse.julialang.org/u/xenophod)\
**Replies:** 3\
**Last updated:** [July 25, 2024, 4:01pm UTC](https://discourse.julialang.org/t/after-installing-pluto-jl-julia-no-longer-runs-win10/117394 "2024-07-25T16:01:28Z")

</div>

I’ve installed Julia on Win10 using the command: winget install julia -s msstore Found Julia \[9NJNWW8PVKMN\] Version Unknown I was able to launch the Julia REPL without error. I followed the instructions on Pluto.jl —…

---

## [How long does it take until I can install a new package version?](https://discourse.julialang.org/t/how-long-does-it-take-until-i-can-install-a-new-package-version/117475)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 6\
**Last updated:** [July 25, 2024, 4:02pm UTC](https://discourse.julialang.org/t/how-long-does-it-take-until-i-can-install-a-new-package-version/117475 "2024-07-25T16:02:12Z")

</div>

I updated this package more than an hour ago: But if I try to install it in an empty project I get an outdated version: using Pkg Pkg.add("KitePodModels") installs version 3.2, not version 3.3 How long can it take u…

---

## [Struggling with Gmsh.jl](https://discourse.julialang.org/t/struggling-with-gmsh-jl/117335)

<div class="topic-metadata">

**Author:** [@panos.asproulis](https://discourse.julialang.org/u/panos.asproulis)\
**Replies:** 4\
**Last updated:** [July 25, 2024, 3:28pm UTC](https://discourse.julialang.org/t/struggling-with-gmsh-jl/117335 "2024-07-25T15:28:39Z")

</div>

I am struggling to use the Gmsh.jl API in order to extract some information from a 3D mesh I loaded to my application. There are two simple things I am trying to do. From the mesh I want to find all the mesh faces as …

---

## [Package not appearing on JuliaHub](https://discourse.julialang.org/t/package-not-appearing-on-juliahub/117392)

<div class="topic-metadata">

**Author:** [@JoshuaLampert](https://discourse.julialang.org/u/JoshuaLampert)\
**Replies:** 6\
**Last updated:** [July 25, 2024, 3:07pm UTC](https://discourse.julialang.org/t/package-not-appearing-on-juliahub/117392 "2024-07-25T15:07:39Z")

</div>

I have two packages registered in the General registry, KernelInterpolation.jl and DispersiveShallowWater.jl. When I search for them on JuliaHub, I can see their names in the list, but clicking on them gives me Got a 40…

---

## [Evaluating a polynomial matrix](https://discourse.julialang.org/t/evaluating-a-polynomial-matrix/117472)

<div class="topic-metadata">

**Author:** [@Banan\_alkafri](https://discourse.julialang.org/u/Banan_alkafri)\
**Replies:** 1\
**Last updated:** [July 25, 2024, 2:09pm UTC](https://discourse.julialang.org/t/evaluating-a-polynomial-matrix/117472 "2024-07-25T14:09:23Z")

</div>

Hello, I’m trying to evaluate a polynomial matrix given by sol\[5\] in my code at certain values of x and y which I generated using LinRange. I tried to do it, but I’m getting the indices of sol\[5\] rather that the value o…

---

## [\[Solved\] Solution to differential equation changes with Julia version](https://discourse.julialang.org/t/solved-solution-to-differential-equation-changes-with-julia-version/117466)

<div class="topic-metadata">

**Author:** [@lisapisa](https://discourse.julialang.org/u/lisapisa)\
**Replies:** 7\
**Last updated:** [July 25, 2024, 1:06pm UTC](https://discourse.julialang.org/t/solved-solution-to-differential-equation-changes-with-julia-version/117466 "2024-07-25T13:06:56Z")

</div>

Hey everyone!! I am stuck on trying to replicate some previous results for my thesis right now. For that, I want to generate the solution to a system of differential equations using the OrdinaryDiffEq package. Previou…

---

## [Type Inference of many dynamically created NamedTuples](https://discourse.julialang.org/t/type-inference-of-many-dynamically-created-namedtuples/117464)

<div class="topic-metadata">

**Author:** [@olivierlabayle](https://discourse.julialang.org/u/olivierlabayle)\
**Replies:** 6\
**Last updated:** [July 25, 2024, 12:44pm UTC](https://discourse.julialang.org/t/type-inference-of-many-dynamically-created-namedtuples/117464 "2024-07-25T12:44:18Z")

</div>

Hi, I am facing a compilation bottleneck in my code because I am creating and propagating a large collection of NamedTuples, each with different keys. This seems to cause type inference problems. I have created the fol…

---

## [SELinux and julia](https://discourse.julialang.org/t/selinux-and-julia/117420)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 1\
**Last updated:** [July 25, 2024, 11:41am UTC](https://discourse.julialang.org/t/selinux-and-julia/117420 "2024-07-25T11:41:39Z")

</div>

Hi there, I am building on top of the julia docker and am running the build inside a kubernetes which has SELinux enabled. I am getting the following error during build \> \[10/18\] RUN \<\<'EOT' (#!/usr/bin/env julia...):…

---

## [Task seems to lock but not unlock mutex](https://discourse.julialang.org/t/task-seems-to-lock-but-not-unlock-mutex/117460)

<div class="topic-metadata">

**Author:** [@xor0110](https://discourse.julialang.org/u/xor0110)\
**Replies:** 2\
**Last updated:** [July 25, 2024, 11:05am UTC](https://discourse.julialang.org/t/task-seems-to-lock-but-not-unlock-mutex/117460 "2024-07-25T11:05:11Z")

</div>

If you run this code using Base.Threads # mylock = ReentrantLock() btask = @async while true # global mylock # lock(mylock) print("B\\n") sleep(4/5) # unlock(mylock) end atask = @async while true …

---

## [ContinuousCallback for early termination of ODE fails to trigger](https://discourse.julialang.org/t/continuouscallback-for-early-termination-of-ode-fails-to-trigger/116910)

<div class="topic-metadata">

**Author:** [@apazo](https://discourse.julialang.org/u/apazo)\
**Replies:** 1\
**Last updated:** [July 25, 2024, 11:02am UTC](https://discourse.julialang.org/t/continuouscallback-for-early-termination-of-ode-fails-to-trigger/116910 "2024-07-25T11:02:42Z")

</div>

Hi all, I’m new to Julia, and I’m trying to simulate a simple ODE problem with some callbacks. My model consists of one single equation with two terms, one positive for growth, and one negative for decrease. However, th…

---

## [Julia extension doesn't load InteractiveUtils properly](https://discourse.julialang.org/t/julia-extension-doesnt-load-interactiveutils-properly/117448)

<div class="topic-metadata">

**Author:** [@aerdely](https://discourse.julialang.org/u/aerdely)\
**Replies:** 5\
**Last updated:** [July 25, 2024, 10:15am UTC](https://discourse.julialang.org/t/julia-extension-doesnt-load-interactiveutils-properly/117448 "2024-07-25T10:15:10Z")

</div>

The instruction varinfo() does not work when calling it from code file in VSCode, I had to load manually InteractiveUtils and then execute the function, but the objects global\_err\_handler and is\_disconnected\_exception ar…

---

## [\[GLMakie\] Overlay plots in animated 3D scene?](https://discourse.julialang.org/t/glmakie-overlay-plots-in-animated-3d-scene/116750)

<div class="topic-metadata">

**Author:** [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Replies:** 8\
**Last updated:** [July 25, 2024, 10:08am UTC](https://discourse.julialang.org/t/glmakie-overlay-plots-in-animated-3d-scene/116750 "2024-07-25T10:08:52Z")

</div>

I am now back at an old problem which I abandoned due to lack of time: displaying overlay plots (2D) in an animated 3D scene :wink: I started a GH discussion back then and I got it almost working with the help of Simon …

---

## [How to read a file and initialize tensors with it's values without having it in memory?](https://discourse.julialang.org/t/how-to-read-a-file-and-initialize-tensors-with-its-values-without-having-it-in-memory/117418)

<div class="topic-metadata">

**Author:** [@Uranium238](https://discourse.julialang.org/u/Uranium238)\
**Replies:** 6\
**Last updated:** [July 25, 2024, 9:58am UTC](https://discourse.julialang.org/t/how-to-read-a-file-and-initialize-tensors-with-its-values-without-having-it-in-memory/117418 "2024-07-25T09:58:06Z")

</div>

I have a simple (but possibly enormous) text file which has five columns, the first one has a floating point value and the other four have integer values , it looks like F p q r s where basically I want to write a tens…

---

## [Split keepempty](https://discourse.julialang.org/t/split-keepempty/117453)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 1\
**Last updated:** [July 25, 2024, 4:57am UTC](https://discourse.julialang.org/t/split-keepempty/117453 "2024-07-25T04:57:27Z")

</div>

What does keepempty mean in split? Is there a good example? • keepempty: whether empty fields should be kept in the result. Default is false without a dlm argument, true with a dlm argument. julia\> split("hello;ther…

---

## [LoopVec, Tullio losing to Matrix multiplication](https://discourse.julialang.org/t/loopvec-tullio-losing-to-matrix-multiplication/115798)

<div class="topic-metadata">

**Author:** [@ditfurth](https://discourse.julialang.org/u/ditfurth)\
**Replies:** 9\
**Last updated:** [July 25, 2024, 4:51am UTC](https://discourse.julialang.org/t/loopvec-tullio-losing-to-matrix-multiplication/115798 "2024-07-25T04:51:01Z")

</div>

Hi all, I provide a simple mwe below #MWE using BenchmarkTools, Random, Distributions, Base.Threads, Tullio, LoopVectorization Random.seed!(123) s\_ijt = randn(3000,100)\*0.0005 .+ 0.1 gamma\_empty = zeros(size(s\_ijt,1)…

---

## [PackageCompiler.jl how to specify ARGS for create\_app?](https://discourse.julialang.org/t/packagecompiler-jl-how-to-specify-args-for-create-app/117405)

<div class="topic-metadata">

**Author:** [@pxshen](https://discourse.julialang.org/u/pxshen)\
**Replies:** 2\
**Last updated:** [July 25, 2024, 3:52am UTC](https://discourse.julialang.org/t/packagecompiler-jl-how-to-specify-args-for-create-app/117405 "2024-07-25T03:52:04Z")

</div>

Method type signatures generally depend on command ARGS which get passed to entry point eg julia\_main(). Shouldn’t create\_app let us specify a list of example ARGS that it can execute and compile against?

---

## [Formulation of Equations for Complementarity.jl](https://discourse.julialang.org/t/formulation-of-equations-for-complementarity-jl/117403)

<div class="topic-metadata">

**Author:** [@Alio0712](https://discourse.julialang.org/u/Alio0712)\
**Replies:** 9\
**Last updated:** [July 25, 2024, 12:52am UTC](https://discourse.julialang.org/t/formulation-of-equations-for-complementarity-jl/117403 "2024-07-25T00:52:02Z")

</div>

Dear community. I’m new to Julia and trying to code a Computable General Equilibrium Model. I have a question about Complementarity that I still can’t fully understand from going through various sources on the web. I kn…

---

## [How to test a Solver functionality availability](https://discourse.julialang.org/t/how-to-test-a-solver-functionality-availability/117266)

<div class="topic-metadata">

**Author:** [@K5Julien](https://discourse.julialang.org/u/K5Julien)\
**Replies:** 2\
**Last updated:** [July 24, 2024, 9:41pm UTC](https://discourse.julialang.org/t/how-to-test-a-solver-functionality-availability/117266 "2024-07-24T21:41:46Z")

</div>

In JuMP, depending on the solver, there are some functionalities that are available, and some which are not, see for instance here. How should I test that before creating a Model(optimizer) ? As an example: if optimiz…

---

## [Test if an optimizer supports an attribute?](https://discourse.julialang.org/t/test-if-an-optimizer-supports-an-attribute/117444)

<div class="topic-metadata">

**Author:** [@K5Julien](https://discourse.julialang.org/u/K5Julien)\
**Replies:** 3\
**Last updated:** [July 24, 2024, 9:38pm UTC](https://discourse.julialang.org/t/test-if-an-optimizer-supports-an-attribute/117444 "2024-07-24T21:38:28Z")

</div>

I am trying to test if an optimizer supports the attribute MOI.NumberOfThreads(): m = Model(optimizer) if MOI.supports(MOI.Utilities.CachingOptimizer(MOI.Utilities.Model{Float64}(), MOI.Utilities.AUTOMATIC), MOI…

---

## [Reduce allocation in nested for loops](https://discourse.julialang.org/t/reduce-allocation-in-nested-for-loops/117428)

<div class="topic-metadata">

**Author:** [@EthanN](https://discourse.julialang.org/u/EthanN)\
**Replies:** 2\
**Last updated:** [July 24, 2024, 8:46pm UTC](https://discourse.julialang.org/t/reduce-allocation-in-nested-for-loops/117428 "2024-07-24T20:46:29Z")

</div>

I have a function that calculates the expectation and covariance of random variables on a grid with dimensions (nx, ny, nz). The variables y and z are Markovian, with Qy and Qz being their Markov matrices. Functions f an…

---

## [Common label for multiple legend entries using Plots.jl](https://discourse.julialang.org/t/common-label-for-multiple-legend-entries-using-plots-jl/117412)

<div class="topic-metadata">

**Author:** [@ultrapoci](https://discourse.julialang.org/u/ultrapoci)\
**Replies:** 3\
**Last updated:** [July 24, 2024, 7:27pm UTC](https://discourse.julialang.org/t/common-label-for-multiple-legend-entries-using-plots-jl/117412 "2024-07-24T19:27:19Z")

</div>

I have produced the following plot using Plots.jl, GR backend: Is it possible to have one label for each two lines in the legend? What I mean is, I would like to have a single label “60%-30%” for the red line and the…

---

## [Kronecker.jl - KroneckerSum](https://discourse.julialang.org/t/kronecker-jl-kroneckersum/117440)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 0\
**Last updated:** [July 24, 2024, 7:34pm UTC](https://discourse.julialang.org/t/kronecker-jl-kroneckersum/117440 "2024-07-24T19:34:16Z")

</div>

Hello, Q1. Does the first equation at kroneckersums contain a typo in the second term on the right-hand side (KroneckerSum =\> KroneckerProduct)? Q2. Do (approximate) factorization methods exit for Kronecker sums? Q3. …

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

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