# Latest

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

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

**Page:** 127

---

## [How to pack jl files into a local module?](https://discourse.julialang.org/t/how-to-pack-jl-files-into-a-local-module/131357)

<div class="topic-metadata">

**Author:** [@Cyan](https://discourse.julialang.org/u/Cyan)\
**Replies:** 3\
**Last updated:** [August 5, 2025, 8:55am UTC](https://discourse.julialang.org/t/how-to-pack-jl-files-into-a-local-module/131357 "2025-08-05T08:55:21Z")

</div>

Hi, all. I have several .jl files. I want to pack them into a local module and install it into my environment via pkg. How can I make it?

---

## [Issue with recreating MTK problems](https://discourse.julialang.org/t/issue-with-recreating-mtk-problems/131344)

<div class="topic-metadata">

**Author:** [@VPBML](https://discourse.julialang.org/u/VPBML)\
**Replies:** 4\
**Last updated:** [August 5, 2025, 8:45am UTC](https://discourse.julialang.org/t/issue-with-recreating-mtk-problems/131344 "2025-08-05T08:45:00Z")

</div>

Hi, I am playing with a simple system consisting of a first-order dynamics and a PI-controller. The goal is to find a good tuning of the controller using optimization, with Integral Square Error as the objective functio…

---

## [Migration of Julia environment to machine without internet access (offline)](https://discourse.julialang.org/t/migration-of-julia-environment-to-machine-without-internet-access-offline/131325)

<div class="topic-metadata">

**Author:** [@fruzti](https://discourse.julialang.org/u/fruzti)\
**Replies:** 3\
**Last updated:** [August 5, 2025, 8:12am UTC](https://discourse.julialang.org/t/migration-of-julia-environment-to-machine-without-internet-access-offline/131325 "2025-08-05T08:12:39Z")

</div>

Hi everyone, I’m trying to migrate a existing Julia environment to a machine without access to internet. I’ve been searching in discourse if there is already a mature solution for doing this, however, I have only found …

---

## [Regex replace by group index](https://discourse.julialang.org/t/regex-replace-by-group-index/131342)

<div class="topic-metadata">

**Author:** [@paiv](https://discourse.julialang.org/u/paiv)\
**Replies:** 5\
**Last updated:** [August 5, 2025, 8:11am UTC](https://discourse.julialang.org/t/regex-replace-by-group-index/131342 "2025-08-05T08:11:59Z")

</div>

When doing string replace with regex, I want to know which capture group matched, so I can perform replacement specific to that group. For example, if matched at word boundary, the letter should be replaced with X, and …

---

## [Broadcast a function returning multiple values](https://discourse.julialang.org/t/broadcast-a-function-returning-multiple-values/131314)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 15\
**Last updated:** [August 5, 2025, 7:49am UTC](https://discourse.julialang.org/t/broadcast-a-function-returning-multiple-values/131314 "2025-08-05T07:49:53Z")

</div>

If I understand it correctly, a function that looks like returning multiple values actually returns a Tuple of the values and therefore the result of broadcasting on the function is an array of the Tuples: function f1(x…

---

## [How to install a dependency when a package extension is loaded?](https://discourse.julialang.org/t/how-to-install-a-dependency-when-a-package-extension-is-loaded/103615)

<div class="topic-metadata">

**Author:** [@Tortar](https://discourse.julialang.org/u/Tortar)\
**Replies:** 4\
**Last updated:** [August 5, 2025, 5:42am UTC](https://discourse.julialang.org/t/how-to-install-a-dependency-when-a-package-extension-is-loaded/103615 "2025-08-05T05:42:47Z")

</div>

Say I have a Project.toml structure as this one: name = "MyPackage" \[deps\] FirstDep = "..." SecondDep = "..." \[weakdeps\] FirstWeakDep = "..." \[extensions\] ExtModule = "FirstWeakDep" \[compat\] julia = "1.9" and I wan…

---

## [Question about Sockets.jl on two versions (julia1.10.5 vs julia1.11.5)](https://discourse.julialang.org/t/question-about-sockets-jl-on-two-versions-julia1-10-5-vs-julia1-11-5/131355)

<div class="topic-metadata">

**Author:** [@Sole](https://discourse.julialang.org/u/Sole)\
**Replies:** 0\
**Last updated:** [August 5, 2025, 4:28am UTC](https://discourse.julialang.org/t/question-about-sockets-jl-on-two-versions-julia1-10-5-vs-julia1-11-5/131355 "2025-08-05T04:28:37Z")

</div>

When I transfer datas between a server and a client using julia1.10.5, Sockets.jl works well, but when I running the same code on julia1.11.5, Sockets.jl gives abnormal results. Here is my code: using Sockets const STA…

---

## [Why doesn't 1//0 throw an error?](https://discourse.julialang.org/t/why-doesnt-1-0-throw-an-error/131354)

<div class="topic-metadata">

**Author:** [@HMegh](https://discourse.julialang.org/u/HMegh)\
**Replies:** 5\
**Last updated:** [August 5, 2025, 4:21am UTC](https://discourse.julialang.org/t/why-doesnt-1-0-throw-an-error/131354 "2025-08-05T04:21:30Z")

</div>

Hi, I have noticed that 1//0 does not throw any errors, which is a bit unexpected. Even more, inv(0//1) is 1//0. On the other hand, 0//0 throws an argument error (understandably). Is this the intended behavior? My cur…

---

## [How to use Lux.apply for a composite model](https://discourse.julialang.org/t/how-to-use-lux-apply-for-a-composite-model/131331)

<div class="topic-metadata">

**Author:** [@imantha](https://discourse.julialang.org/u/imantha)\
**Replies:** 1\
**Last updated:** [August 5, 2025, 12:44am UTC](https://discourse.julialang.org/t/how-to-use-lux-apply-for-a-composite-model/131331 "2025-08-05T00:44:07Z")

</div>

I am following the CVAE tutorial in Lux (Convolutional VAE for MNIST using Reactant | Lux.jl Docs) to construct a VAE . Everything was all good till I came to the loss function which looks like this function loss\_funct…

---

## [\`IOStream\` buffering pitfalls when communicating to a device file](https://discourse.julialang.org/t/iostream-buffering-pitfalls-when-communicating-to-a-device-file/130071)

<div class="topic-metadata">

**Author:** [@Yuan-Ru-Lin](https://discourse.julialang.org/u/Yuan-Ru-Lin)\
**Replies:** 1\
**Last updated:** [August 4, 2025, 9:26pm UTC](https://discourse.julialang.org/t/iostream-buffering-pitfalls-when-communicating-to-a-device-file/130071 "2025-08-04T21:26:32Z")

</div>

I was talking to an ADS1115 ADC over I²C via /dev/i2c-1 on a Raspberry Pi 4. My first attempt was using high-level IOStream APIs like write(io, bytes) and read(io, n), and it worked but only for the first value. Every v…

---

## [Juliacall / PythonCall array conversion crash (now with MWE)](https://discourse.julialang.org/t/juliacall-pythoncall-array-conversion-crash-now-with-mwe/131318)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 5\
**Last updated:** [August 4, 2025, 4:38pm UTC](https://discourse.julialang.org/t/juliacall-pythoncall-array-conversion-crash-now-with-mwe/131318 "2025-08-04T16:38:04Z")

</div>

Here’s the Python code which extracts a tuple of two Julia arrays from the juliacall interface and converts them to numpy arrays. The code is an infinite loop, but crashes sporadically after a few million iterations with…

---

## [Revise not working with module scripts](https://discourse.julialang.org/t/revise-not-working-with-module-scripts/131339)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 1\
**Last updated:** [August 4, 2025, 4:04pm UTC](https://discourse.julialang.org/t/revise-not-working-with-module-scripts/131339 "2025-08-04T16:04:24Z")

</div>

I am trying to compare two versions of a script. I wrapped them in modules so I can compare their intermediate values by name in the REPL, but the values are not updated when I save. Is that expected? Is there a better w…

---

## [A graphical Julia installer for Windows](https://discourse.julialang.org/t/a-graphical-julia-installer-for-windows/128413)

<div class="topic-metadata">

**Author:** [@uwestoehr](https://discourse.julialang.org/u/uwestoehr)\
**Replies:** 48\
**Last updated:** [August 4, 2025, 1:55pm UTC](https://discourse.julialang.org/t/a-graphical-julia-installer-for-windows/128413 "2025-08-04T13:55:40Z")

</div>

As Windows user I need a graphical installer where I can select at least: the Julia version I want to install the install location All larger projects I know provide a graphical installer for Windows and a way to use …

---

## [Reverse rule in Enzyme for an implicit function](https://discourse.julialang.org/t/reverse-rule-in-enzyme-for-an-implicit-function/131327)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 2\
**Last updated:** [August 4, 2025, 1:19pm UTC](https://discourse.julialang.org/t/reverse-rule-in-enzyme-for-an-implicit-function/131327 "2025-08-04T13:19:08Z")

</div>

Suppose H is the cdf of a distribution, A, B are real numbers, and p is defined by p = H(p A + (1 - p) B) This can be implemented simply in Julia as using Roots, Distributions struct Problem{T,S} H::T A::S …

---

## [Revise: MethodError JuliaInterpreter.ExprSplitter](https://discourse.julialang.org/t/revise-methoderror-juliainterpreter-exprsplitter/131309)

<div class="topic-metadata">

**Author:** [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Replies:** 1\
**Last updated:** [August 4, 2025, 1:14pm UTC](https://discourse.julialang.org/t/revise-methoderror-juliainterpreter-exprsplitter/131309 "2025-08-04T13:14:12Z")

</div>

I activate a project and work on it, using Revise. I save an edit in emacs and return to the REPL, and enter 1 and Return, and wait for Revise. Frequently, I get this error: Error: Failed to revise /path/to/edited/fil…

---

## [Dyad vs Dyad](https://discourse.julialang.org/t/dyad-vs-dyad/131330)

<div class="topic-metadata">

**Author:** [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)\
**Replies:** 0\
**Last updated:** [August 4, 2025, 12:15pm UTC](https://discourse.julialang.org/t/dyad-vs-dyad/131330 "2025-08-04T12:15:56Z")

</div>

I have just noticed that besides Dyad, there is also Dyad (https://www.dyad.sh). By the way, both referring to AI. I bet that it will happen frequently that people searching for one will be directed to the other. But per…

---

## [Spherical to cartesian coordinate transformation](https://discourse.julialang.org/t/spherical-to-cartesian-coordinate-transformation/131202)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 1\
**Last updated:** [August 4, 2025, 11:23am UTC](https://discourse.julialang.org/t/spherical-to-cartesian-coordinate-transformation/131202 "2025-08-04T11:23:48Z")

</div>

How to convert spherical coordinates points to Cartesian coordinates points? using Meshes, CoordRefSystems ,GLMakie, LinearAlgebra, Unitful r = Float32\[1.6, 1.754088, 1.9230156, 2.1082115, 2.311243, 2.5338273, 2.77784…

---

## [Mind maps in Julia](https://discourse.julialang.org/t/mind-maps-in-julia/131321)

<div class="topic-metadata">

**Author:** [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Replies:** 4\
**Last updated:** [August 4, 2025, 7:44am UTC](https://discourse.julialang.org/t/mind-maps-in-julia/131321 "2025-08-04T07:44:27Z")

</div>

Is there any work on creating mind maps using Julia? I’ve started using the free version of MindMup, which lets us save and open mind maps on Google Drive. It is user-friendly and also lets users open Freemind maps. Ho…

---

## [A bot to detect code duplication](https://discourse.julialang.org/t/a-bot-to-detect-code-duplication/14154)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 5\
**Last updated:** [August 31, 2018, 4:00pm UTC](https://discourse.julialang.org/t/a-bot-to-detect-code-duplication/14154 "2018-08-31T16:00:28Z")

</div>

This might seem like a naive suggestion (it really is), but wouldn’t it be cool if there was a bot that could scan a list of packages and identify “code duplicity”? The main aim of such a bot would be to detect if multip…

---

## [Finalizer triggers "task switch not allowed" when used under multi-threaded GC](https://discourse.julialang.org/t/finalizer-triggers-task-switch-not-allowed-when-used-under-multi-threaded-gc/131232)

<div class="topic-metadata">

**Author:** [@Cyunkitlau](https://discourse.julialang.org/u/Cyunkitlau)\
**Replies:** 7\
**Last updated:** [August 4, 2025, 4:39am UTC](https://discourse.julialang.org/t/finalizer-triggers-task-switch-not-allowed-when-used-under-multi-threaded-gc/131232 "2025-08-04T04:39:03Z")

</div>

Hi there: I’m working on parameter identification using ModelingToolkit-based ODE models. I construct a symbolic system using ModelingToolkit.jl and build a custom loss function, which is optimized under multithreaded…

---

## [Questions about Simplification and Performance in Symbolics.jl](https://discourse.julialang.org/t/questions-about-simplification-and-performance-in-symbolics-jl/130942)

<div class="topic-metadata">

**Author:** [@Maysam\_Gholampour](https://discourse.julialang.org/u/Maysam_Gholampour)\
**Replies:** 0\
**Last updated:** [July 22, 2025, 1:07pm UTC](https://discourse.julialang.org/t/questions-about-simplification-and-performance-in-symbolics-jl/130942 "2025-07-22T13:07:01Z")

</div>

Dear all, I have two questions regarding the use of Symbolics.jl, particularly around simplification and performance behavior. 1. Mathematical Identity Simplification It seems that Symbolics.jl does not simplify certa…

---

## [Status of Distributed / DistributedNext](https://discourse.julialang.org/t/status-of-distributed-distributednext/131305)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [August 3, 2025, 8:25pm UTC](https://discourse.julialang.org/t/status-of-distributed-distributednext/131305 "2025-08-03T20:25:02Z")

</div>

DistributedNext.jl has the version number 1.0 since the beginning of the year. There have been some improvements to Distributed, too, but they are not yet merged into DistributedNext.jl (see: Distributed fixes by JamesW…

---

## [How To Make Concentric Polar Axes with Custom Band Size in Makie?](https://discourse.julialang.org/t/how-to-make-concentric-polar-axes-with-custom-band-size-in-makie/131137)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 8\
**Last updated:** [August 3, 2025, 6:32pm UTC](https://discourse.julialang.org/t/how-to-make-concentric-polar-axes-with-custom-band-size-in-makie/131137 "2025-08-03T18:32:56Z")

</div>

Hi folks! :waving\_hand: On the part of my ongoing quest: Building a Julia-Powered E-Ink Dashboard: A Dev Log - #11 by TheCedarPrince I would like to make multiple polar axes concentric with custom band widths. Here are…

---

## [Julia + VS Code](https://discourse.julialang.org/t/julia-vs-code/131320)

<div class="topic-metadata">

**Author:** [@Z\_M](https://discourse.julialang.org/u/Z_M)\
**Replies:** 1\
**Last updated:** [August 3, 2025, 5:47pm UTC](https://discourse.julialang.org/t/julia-vs-code/131320 "2025-08-03T17:47:15Z")

</div>

Hi guys! I added the Julia extension in VS Code, but it has the following notification: The Julia language extension crashed. Do you want to send more information about the problem to the development team? Read our pri…

---

## [Juliacall / PythonCall array conversion error](https://discourse.julialang.org/t/juliacall-pythoncall-array-conversion-error/131311)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 0\
**Last updated:** [August 3, 2025, 3:06am UTC](https://discourse.julialang.org/t/juliacall-pythoncall-array-conversion-error/131311 "2025-08-03T03:06:57Z")

</div>

I’m using the Python package juliacall to call my Julia code. I encounter sporadic errors from lines that look like this: import numpy as np from juliacall import Main as jl jl.seval("import mypackage") jl\_mypackage = j…

---

## [Julia autocompletion not working in VSCode](https://discourse.julialang.org/t/julia-autocompletion-not-working-in-vscode/107549)

<div class="topic-metadata">

**Author:** [@Maddy](https://discourse.julialang.org/u/Maddy)\
**Replies:** 16\
**Last updated:** [August 3, 2025, 1:25pm UTC](https://discourse.julialang.org/t/julia-autocompletion-not-working-in-vscode/107549 "2025-08-03T13:25:15Z")

</div>

I returned to programming after a few months. VScode seems to have changed. I can’t use Julia with the autocompletion anymore! Please help!!! look! I checked whether they work for python to make sure the problem is …

---

## [Unstable sha256 sum for Artifact hosted in another Github repo](https://discourse.julialang.org/t/unstable-sha256-sum-for-artifact-hosted-in-another-github-repo/131289)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 9\
**Last updated:** [August 3, 2025, 9:52am UTC](https://discourse.julialang.org/t/unstable-sha256-sum-for-artifact-hosted-in-another-github-repo/131289 "2025-08-03T09:52:58Z")

</div>

Hi, guys. I am trying to setup an Artifact and running into problems with sha256 checksum: every time it tries to download the file the checksum is different. The tarball sits in another Github repository and I referenc…

---

## [JuliaLang and Windows 7](https://discourse.julialang.org/t/julialang-and-windows-7/131140)

<div class="topic-metadata">

**Author:** [@hack3rcon](https://discourse.julialang.org/u/hack3rcon)\
**Replies:** 7\
**Last updated:** [August 3, 2025, 6:42am UTC](https://discourse.julialang.org/t/julialang-and-windows-7/131140 "2025-08-03T06:42:51Z")

</div>

Hello, Can I install the latest version of JuliaLang on Windows 7 x64? Thank you.

---

## [Coloring part of the background with a specific color](https://discourse.julialang.org/t/coloring-part-of-the-background-with-a-specific-color/131312)

<div class="topic-metadata">

**Author:** [@imantha](https://discourse.julialang.org/u/imantha)\
**Replies:** 1\
**Last updated:** [August 3, 2025, 5:43am UTC](https://discourse.julialang.org/t/coloring-part-of-the-background-with-a-specific-color/131312 "2025-08-03T05:43:37Z")

</div>

I am trying to color part of the background in in a plot with a specific color and unsure how to achieve it. In this case I want to color x \< 9 in grey and x\> 9 in orange. Any idea how to do it. This is just adds the …

---

## [Convergence Issues with Controllable Switch and Square Wave using MTK](https://discourse.julialang.org/t/convergence-issues-with-controllable-switch-and-square-wave-using-mtk/131264)

<div class="topic-metadata">

**Author:** [@junmorenodi99](https://discourse.julialang.org/u/junmorenodi99)\
**Replies:** 3\
**Last updated:** [August 3, 2025, 1:13am UTC](https://discourse.julialang.org/t/convergence-issues-with-controllable-switch-and-square-wave-using-mtk/131264 "2025-08-03T01:13:36Z")

</div>

Hi everyone, I am new to the Julia community and I’m interested in the applications of the ModelingToolkit package. In particular, I’m trying to simulate a switching circuit using an External Control Signal and a Cont…

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

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