# Latest

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

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

**Page:** 104

---

## [How many task can you create (related to wold age)?](https://discourse.julialang.org/t/how-many-task-can-you-create-related-to-wold-age/132807)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 1\
**Last updated:** [October 1, 2025, 4:57pm UTC](https://discourse.julialang.org/t/how-many-task-can-you-create-related-to-wold-age/132807 "2025-10-01T16:57:41Z")

</div>

\[Possible should be in internals category?\] I see the world age is increased when I create tasks so I ask, and world age is an UInt i.e. 32-bit on 32-bit platforms. Certain language features capture the current task’s…

---

## [How can I find line number of source code for ERROR?](https://discourse.julialang.org/t/how-can-i-find-line-number-of-source-code-for-error/132787)

<div class="topic-metadata">

**Author:** [@psalm1750](https://discourse.julialang.org/u/psalm1750)\
**Replies:** 12\
**Last updated:** [October 1, 2025, 2:18pm UTC](https://discourse.julialang.org/t/how-can-i-find-line-number-of-source-code-for-error/132787 "2025-10-01T14:18:55Z")

</div>

I am writing Julia code for some small project. But it seems that Julia script engine (/usr/bin/julia) does not display the line number for error detection. Althought it shows a line number, it is not the place where t…

---

## [Speeding up N-dimensional integration](https://discourse.julialang.org/t/speeding-up-n-dimensional-integration/132782)

<div class="topic-metadata">

**Author:** [@owiecc](https://discourse.julialang.org/u/owiecc)\
**Replies:** 14\
**Last updated:** [October 1, 2025, 2:17pm UTC](https://discourse.julialang.org/t/speeding-up-n-dimensional-integration/132782 "2025-10-01T14:17:14Z")

</div>

I am struggling to speed up a N-dimensional integration problem. To me it looks that allocations are the problem. I chased as many allocations I could find in the code but I still would like to speed-up the code by at le…

---

## [\`mul\_hi\` in Julia?](https://discourse.julialang.org/t/mul-hi-in-julia/14235)

<div class="topic-metadata">

**Author:** [@fjarri](https://discourse.julialang.org/u/fjarri)\
**Replies:** 19\
**Last updated:** [October 1, 2025, 12:05pm UTC](https://discourse.julialang.org/t/mul-hi-in-julia/14235 "2025-10-01T12:05:09Z")

</div>

Is there some way to get the higher bits of the result of multiplying two integers (of the same type) in Julia? Something that’s usually called mul\_hi or mulhi in assembly languages. Of course, one could implement it by …

---

## [Closure: life of the referred-to object?](https://discourse.julialang.org/t/closure-life-of-the-referred-to-object/132689)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 15\
**Last updated:** [October 1, 2025, 8:28am UTC](https://discourse.julialang.org/t/closure-life-of-the-referred-to-object/132689 "2025-10-01T08:28:52Z")

</div>

I’m not sure whether the object created in a function persists (not GC’ed) when it is referred to in a closure: function ref\_i(ref) function inner(i) ref\[i\] \* 10 end return inner end function get\_func(r) a …

---

## [Non-convergent "weighted" objective function](https://discourse.julialang.org/t/non-convergent-weighted-objective-function/132785)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 16\
**Last updated:** [October 1, 2025, 7:17am UTC](https://discourse.julialang.org/t/non-convergent-weighted-objective-function/132785 "2025-10-01T07:17:44Z")

</div>

I need to find a way to allocate a pool of resources to perform a series of daily services over the course of a month. There are obviously a long series of general (for all resources) and specific (for individual resour…

---

## [HTTP returns an error in Julia 1.11.1](https://discourse.julialang.org/t/http-returns-an-error-in-julia-1-11-1/122312)

<div class="topic-metadata">

**Author:** [@wshobe](https://discourse.julialang.org/u/wshobe)\
**Replies:** 11\
**Last updated:** [October 1, 2025, 4:02am UTC](https://discourse.julialang.org/t/http-returns-an-error-in-julia-1-11-1/122312 "2025-10-01T04:02:07Z")

</div>

I have just updated to Julia 1.11.1 and HTTP is now returning an error, where it worked before the update. Any thoughts would be appreciated. The call is very simple: resp = HTTP.request("GET", "http://httpbin.org/ip")…

---

## [Adding base level when interacting categorical variables](https://discourse.julialang.org/t/adding-base-level-when-interacting-categorical-variables/132796)

<div class="topic-metadata">

**Author:** [@miguelborrero](https://discourse.julialang.org/u/miguelborrero)\
**Replies:** 0\
**Last updated:** [September 30, 2025, 11:00pm UTC](https://discourse.julialang.org/t/adding-base-level-when-interacting-categorical-variables/132796 "2025-09-30T23:00:24Z")

</div>

High level problem: reg from FixedEffectModels seem to ignore contrasts for a categorical variable if I interact this variable with another one. MWE df = DataFrame(y = rand(100), x1 = categorical(rand(1:3, 100)), x2 =…

---

## [Reactant.jl and Lux.jl don't work with Adam optimiser](https://discourse.julialang.org/t/reactant-jl-and-lux-jl-dont-work-with-adam-optimiser/132278)

<div class="topic-metadata">

**Author:** [@flick](https://discourse.julialang.org/u/flick)\
**Replies:** 9\
**Last updated:** [September 30, 2025, 10:54pm UTC](https://discourse.julialang.org/t/reactant-jl-and-lux-jl-dont-work-with-adam-optimiser/132278 "2025-09-30T22:54:14Z")

</div>

I am writing a training program for the VAEAC model, but when I use Optimisers.Adam(lr), I get an error. When I use, for example, Optimisers.Descent(lr), this problem does not occur. Error message: ERROR: MethodError: …

---

## [\[ANN\] \`Undigits.jl\` undoes \`Base.digits\` (not registered)](https://discourse.julialang.org/t/ann-undigits-jl-undoes-base-digits-not-registered/132791)

<div class="topic-metadata">

**Author:** [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Replies:** 2\
**Last updated:** [September 30, 2025, 6:21pm UTC](https://discourse.julialang.org/t/ann-undigits-jl-undoes-base-digits-not-registered/132791 "2025-09-30T18:21:34Z")

</div>

Undigits.jl This package provides undigits, the reverse of digits. julia\> undigits(\[2, 4\]) 42 julia\> undigits(\[2, 4\]; rev=true) 24 julia\> undigits(UInt8, \[1, 0, 1, 1\]; base=2) 0x0d julia\> n = UInt16(17); undigits(ty…

---

## [How do I make a matrix of vectors?](https://discourse.julialang.org/t/how-do-i-make-a-matrix-of-vectors/132765)

<div class="topic-metadata">

**Author:** [@phma](https://discourse.julialang.org/u/phma)\
**Replies:** 6\
**Last updated:** [September 30, 2025, 5:44pm UTC](https://discourse.julialang.org/t/how-do-i-make-a-matrix-of-vectors/132765 "2025-09-30T17:44:08Z")

</div>

I’m cryptanalyzing a hash function I invented. I get a big amount of data which I want to return as a matrix normalize(cd0a) normalize(cd0b) normalize(cd1a) normalize(cd1b) where the two rows represent using the three …

---

## [\[ANN\] InverseGammaFunction.jl (not registered)](https://discourse.julialang.org/t/ann-inversegammafunction-jl-not-registered/132661)

<div class="topic-metadata">

**Author:** [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Replies:** 9\
**Last updated:** [September 30, 2025, 5:40pm UTC](https://discourse.julialang.org/t/ann-inversegammafunction-jl-not-registered/132661 "2025-09-30T17:40:34Z")

</div>

This package provides a function to compute the inverse of the gamma function for positive (real) arguments. It supports both branches. It is a very quick implementation using root finding. I don’t plan to register it. …

---

## [Hacker News: Correctness and composability bugs in the Julia ecosystem (2022)](https://discourse.julialang.org/t/hacker-news-correctness-and-composability-bugs-in-the-julia-ecosystem-2022/132789)

<div class="topic-metadata">

**Author:** [@jbytecode](https://discourse.julialang.org/u/jbytecode)\
**Replies:** 0\
**Last updated:** [September 30, 2025, 5:09pm UTC](https://discourse.julialang.org/t/hacker-news-correctness-and-composability-bugs-in-the-julia-ecosystem-2022/132789 "2025-09-30T17:09:50Z")

</div>

This was the long thread here: which is basically a discussion of This topic is being discussed again on Hacker News: I wanted the folks here to know about it.

---

## [How to implement a FFT based 2D laplacian in SciMLOperators.jl?](https://discourse.julialang.org/t/how-to-implement-a-fft-based-2d-laplacian-in-scimloperators-jl/132143)

<div class="topic-metadata">

**Author:** [@marcsgil](https://discourse.julialang.org/u/marcsgil)\
**Replies:** 1\
**Last updated:** [September 30, 2025, 4:51pm UTC](https://discourse.julialang.org/t/how-to-implement-a-fft-based-2d-laplacian-in-scimloperators-jl/132143 "2025-09-30T16:51:58Z")

</div>

Hello! I was trying to implement a FFT based 2D laplacian in SciMLOperators.jl, but I ran into some trouble. Here is my attempt, which was based in this example in the docs: using SciMLOperators using LinearAlgebra, FF…

---

## [Whitespace effects in x+1](https://discourse.julialang.org/t/whitespace-effects-in-x-1/132783)

<div class="topic-metadata">

**Author:** [@Tigerbyte](https://discourse.julialang.org/u/Tigerbyte)\
**Replies:** 5\
**Last updated:** [September 30, 2025, 4:38pm UTC](https://discourse.julialang.org/t/whitespace-effects-in-x-1/132783 "2025-09-30T16:38:30Z")

</div>

Other than violating WYSIWYG here and there, Julia is awesome. An example of this, to me is when x +1 is broken, but x + 1 works. and x+1 works \[ 1 +x for x in 1:3\] Adding in lots of blanks would be a good rule o…

---

## [Uh, today I had a "post need approval"](https://discourse.julialang.org/t/uh-today-i-had-a-post-need-approval/57364)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 8\
**Last updated:** [September 30, 2025, 2:31pm UTC](https://discourse.julialang.org/t/uh-today-i-had-a-post-need-approval/57364 "2025-09-30T14:31:09Z")

</div>

Wondering what triggered it. It was a normal post with a couple of links to Julia packages. I hope I haven’t lost it :-/

---

## [TPDE: A Fast Adaptable Compiler Back-End Framework](https://discourse.julialang.org/t/tpde-a-fast-adaptable-compiler-back-end-framework/129576)

<div class="topic-metadata">

**Author:** [@xiaoxi](https://discourse.julialang.org/u/xiaoxi)\
**Replies:** 14\
**Last updated:** [September 30, 2025, 1:36pm UTC](https://discourse.julialang.org/t/tpde-a-fast-adaptable-compiler-back-end-framework/129576 "2025-09-30T13:36:11Z")

</div>

Researchers from the Technical University of Munich (TUM) have announced TPDE as a fast and adaptable compiler back-end framework. I wonder if it could be useful to Julia in the future.

---

## [ParseError in comprehension when whitespace removed](https://discourse.julialang.org/t/parseerror-in-comprehension-when-whitespace-removed/132780)

<div class="topic-metadata">

**Author:** [@Tigerbyte](https://discourse.julialang.org/u/Tigerbyte)\
**Replies:** 3\
**Last updated:** [September 30, 2025, 1:02pm UTC](https://discourse.julialang.org/t/parseerror-in-comprehension-when-whitespace-removed/132780 "2025-09-30T13:02:53Z")

</div>

julia\> \[ 2\*x + 6 for x in 1:3\] 3-element Vector{Int64}: 8 10 12 julia\> "above as expected, now take away the blank before the 6" "above as expected, now take away the blank before the 6" julia\> \[ 2\*x +6 for x in 1:…

---

## [Relationship between OptimalControl.jl and ControlSystems.jl](https://discourse.julialang.org/t/relationship-between-optimalcontrol-jl-and-controlsystems-jl/116959)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 5\
**Last updated:** [September 30, 2025, 12:20pm UTC](https://discourse.julialang.org/t/relationship-between-optimalcontrol-jl-and-controlsystems-jl/116959 "2025-09-30T12:20:38Z")

</div>

At JuliaCon 2024 I learned about the package OptimalControl.jl and related. To install them, you need to add a custom registry: pkg\> registry add https://github.com/control-toolbox/ct-registry.git pkg\> add OptimalContr…

---

## [Julia discourse is preventing from posting a link](https://discourse.julialang.org/t/julia-discourse-is-preventing-from-posting-a-link/39061)

<div class="topic-metadata">

**Author:** [@chakravala](https://discourse.julialang.org/u/chakravala)\
**Replies:** 5\
**Last updated:** [September 30, 2025, 6:15am UTC](https://discourse.julialang.org/t/julia-discourse-is-preventing-from-posting-a-link/39061 "2025-09-30T06:15:07Z")

</div>

Looks like the Julia discourse is preventing me from linking to the web page I generated with Franklin.jl on my post in this thread: Deploying a website with Franklin - #8 by tlienart It claims my post is spam if I only…

---

## [Invenia Website Down?](https://discourse.julialang.org/t/invenia-website-down/103230)

<div class="topic-metadata">

**Author:** [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Replies:** 4\
**Last updated:** [September 30, 2025, 2:53am UTC](https://discourse.julialang.org/t/invenia-website-down/103230 "2025-09-30T02:53:34Z")

</div>

I was looking at the JuliaCon job board and clicked on Invenia, but I’m getting “address not found.” The Lever job page is also blank. Am I doing something wrong maybe?

---

## [Thread-safe alternative to \`redirect\_stdio\`?](https://discourse.julialang.org/t/thread-safe-alternative-to-redirect-stdio/132749)

<div class="topic-metadata">

**Author:** [@StevenWhitaker](https://discourse.julialang.org/u/StevenWhitaker)\
**Replies:** 3\
**Last updated:** [September 29, 2025, 10:36pm UTC](https://discourse.julialang.org/t/thread-safe-alternative-to-redirect-stdio/132749 "2025-09-29T22:36:07Z")

</div>

I’m confused at why the following code throws an error. I don’t see any obvious race conditions, especially since each task should have its own Pipe to work with. (I’m assuming Julia’s logging is thread-safe, which I thi…

---

## [Typesetting Julia Code in Latex Documents (Unicode)](https://discourse.julialang.org/t/typesetting-julia-code-in-latex-documents-unicode/10176)

<div class="topic-metadata">

**Author:** [@JonasIsensee](https://discourse.julialang.org/u/JonasIsensee)\
**Replies:** 13\
**Last updated:** [September 29, 2025, 8:50pm UTC](https://discourse.julialang.org/t/typesetting-julia-code-in-latex-documents-unicode/10176 "2025-09-29T20:50:01Z")

</div>

Hey there, I love how I can use Unicode in Julia programming. When trying to write my report about my work I encountered a problem, though. Regular LateX is not compatible with Unicode characters. This is not a problem…

---

## [Problem about solution of Gurobi in Julia in JUMP](https://discourse.julialang.org/t/problem-about-solution-of-gurobi-in-julia-in-jump/130926)

<div class="topic-metadata">

**Author:** [@Z\_M](https://discourse.julialang.org/u/Z_M)\
**Replies:** 5\
**Last updated:** [September 29, 2025, 7:52pm UTC](https://discourse.julialang.org/t/problem-about-solution-of-gurobi-in-julia-in-jump/130926 "2025-09-29T19:52:18Z")

</div>

​Hi guys! I use Gurobi in Julia in JUMP. The model has linear constraints and second-order cone constraints. However, the “termination\_status” is：locally\_solved, sometimes is numerous error. Why and how to solve this p…

---

## [Understanding map/mapslices/eachslice/stack](https://discourse.julialang.org/t/understanding-map-mapslices-eachslice-stack/132744)

<div class="topic-metadata">

**Author:** [@Boris](https://discourse.julialang.org/u/Boris)\
**Replies:** 2\
**Last updated:** [September 29, 2025, 2:22pm UTC](https://discourse.julialang.org/t/understanding-map-mapslices-eachslice-stack/132744 "2025-09-29T14:22:49Z")

</div>

Hi, I’ve been trying to learn to use mapslices and don’t understand the synthax/errors for my use case. Suppose I have # MWE sb = \[true false false; false false false; true true true\] # dimensions (k \\times j) yh = ran…

---

## [Using macros to generate NamedTuples](https://discourse.julialang.org/t/using-macros-to-generate-namedtuples/30947)

<div class="topic-metadata">

**Author:** [@vilim](https://discourse.julialang.org/u/vilim)\
**Replies:** 17\
**Last updated:** [September 29, 2025, 5:28pm UTC](https://discourse.julialang.org/t/using-macros-to-generate-namedtuples/30947 "2025-09-29T17:28:17Z")

</div>

I am a bit confused by using macros to generate expressions. I would like to have a macro to make NamedTuples as follows: a = 1 b = 2 @make\_nt a b which should return an expression that evaluates to NamedTuple{(:a, :b)…

---

## [\[ANN\] LuaNova.jl 🌑: Easy Lua-Julia Integration](https://discourse.julialang.org/t/ann-luanova-jl-easy-lua-julia-integration/132324)

<div class="topic-metadata">

**Author:** [@raphasampaio](https://discourse.julialang.org/u/raphasampaio)\
**Replies:** 4\
**Last updated:** [September 29, 2025, 2:54pm UTC](https://discourse.julialang.org/t/ann-luanova-jl-easy-lua-julia-integration/132324 "2025-09-29T14:54:10Z")

</div>

Hello Julia Community, I’m excited to announce the release of LuaNova.jl (inspired by the new moon, or lua nova in Portuguese), a package that simplifies embedding a Lua interpreter in Julia and exposing Julia functions…

---

## [Removing tick labels but increasing tick size in Plots.jl](https://discourse.julialang.org/t/removing-tick-labels-but-increasing-tick-size-in-plots-jl/132732)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 2\
**Last updated:** [September 29, 2025, 2:18pm UTC](https://discourse.julialang.org/t/removing-tick-labels-but-increasing-tick-size-in-plots-jl/132732 "2025-09-29T14:18:43Z")

</div>

In Plots.jl, is there a way to remove the tick labels (i.e. 0.25, 0.5), but have the tick marks remain? Even better, is there then a way to increase the size of he tick markers?

---

## [Replacing a node in a ComputeGraph (Makie)](https://discourse.julialang.org/t/replacing-a-node-in-a-computegraph-makie/132743)

<div class="topic-metadata">

**Author:** [@rasmushenningsson](https://discourse.julialang.org/u/rasmushenningsson)\
**Replies:** 3\
**Last updated:** [September 29, 2025, 2:05pm UTC](https://discourse.julialang.org/t/replacing-a-node-in-a-computegraph-makie/132743 "2025-09-29T14:05:48Z")

</div>

Is there any way to replace a node in a ComputeGraph? Let’s say I want to replace an input node with a computed value, but I do not want to delete all the dependent nodes and recreate them. Example Given this graph: g…

---

## [Filtering dataframe row by row procedurally?](https://discourse.julialang.org/t/filtering-dataframe-row-by-row-procedurally/132745)

<div class="topic-metadata">

**Author:** [@Quantodeluz](https://discourse.julialang.org/u/Quantodeluz)\
**Replies:** 2\
**Last updated:** [September 29, 2025, 1:29pm UTC](https://discourse.julialang.org/t/filtering-dataframe-row-by-row-procedurally/132745 "2025-09-29T13:29:31Z")

</div>

Suppose i have a dataframe which i want to filter using, let’s say, interquartile range, and i want to do it for each column (so if one element is filtered out it’s whole row is filteed out with it), but i don’t know whi…

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

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