# Latest

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

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

**Page:** 228

---

## [Literate.jl, Documenter.jl, GLMakie.jl and GitHub](https://discourse.julialang.org/t/literate-jl-documenter-jl-glmakie-jl-and-github/125386)

<div class="topic-metadata">

**Author:** [@Philippe\_Maincon1](https://discourse.julialang.org/u/Philippe_Maincon1)\
**Replies:** 15\
**Last updated:** [January 31, 2025, 12:51pm UTC](https://discourse.julialang.org/t/literate-jl-documenter-jl-glmakie-jl-and-github/125386 "2025-01-31T12:51:39Z")

</div>

Hi To create the doc of Muscade.jl, I use Literate.jl to run an example, which generates graphics (GLMakie.jl) and \*.md files, that Documenter.jl compiles into \*.html. This all works fine on my computer, but the docume…

---

## [Model building is slow when adding a large number of constraints, but the model necessitates a certain type of refrencing of constraints](https://discourse.julialang.org/t/model-building-is-slow-when-adding-a-large-number-of-constraints-but-the-model-necessitates-a-certain-type-of-refrencing-of-constraints/125424)

<div class="topic-metadata">

**Author:** [@MarkusGabl](https://discourse.julialang.org/u/MarkusGabl)\
**Replies:** 4\
**Last updated:** [February 1, 2025, 4:55am UTC](https://discourse.julialang.org/t/model-building-is-slow-when-adding-a-large-number-of-constraints-but-the-model-necessitates-a-certain-type-of-refrencing-of-constraints/125424 "2025-02-01T04:55:42Z")

</div>

Hi there JuMP-Crew Given a symmetric matrix Q and the all ones matrix E and a set of vectors v\_1,…,v\_n called “Vertex\_Set” and a set of two-tuples of these vectors (or rather their indices) called “Inclusion\_Set”, I wa…

---

## [Experiments trying to use ArgMacros.jl with juliac](https://discourse.julialang.org/t/experiments-trying-to-use-argmacros-jl-with-juliac/125442)

<div class="topic-metadata">

**Author:** [@BenjaminDoran](https://discourse.julialang.org/u/BenjaminDoran)\
**Replies:** 0\
**Last updated:** [February 1, 2025, 1:42am UTC](https://discourse.julialang.org/t/experiments-trying-to-use-argmacros-jl-with-juliac/125442 "2025-02-01T01:42:21Z")

</div>

So, I was playing around with argument parsing in the context of the experimental juliac compilation and trying to use ArgMacros.jl since I have enjoyed its syntax for making CLI scripts in the past. A couple weeks ago …

---

## [Solving MCP with PathSolver with indexing](https://discourse.julialang.org/t/solving-mcp-with-pathsolver-with-indexing/124488)

<div class="topic-metadata">

**Author:** [@jmc](https://discourse.julialang.org/u/jmc)\
**Replies:** 31\
**Last updated:** [January 31, 2025, 7:23pm UTC](https://discourse.julialang.org/t/solving-mcp-with-pathsolver-with-indexing/124488 "2025-01-31T19:23:36Z")

</div>

Hello, I am trying to solve an MCP that requires performing operations across some indices. Here is a MWE: using JuMP using Random using LinearAlgebra using BenchmarkTools using JuMP import PATHSolver PATHSolver.c\_ap…

---

## [Weird behaviour of GC with multithreaded array-access](https://discourse.julialang.org/t/weird-behaviour-of-gc-with-multithreaded-array-access/125433)

<div class="topic-metadata">

**Author:** [@wilhelm](https://discourse.julialang.org/u/wilhelm)\
**Replies:** 2\
**Last updated:** [January 31, 2025, 6:57pm UTC](https://discourse.julialang.org/t/weird-behaviour-of-gc-with-multithreaded-array-access/125433 "2025-01-31T18:57:31Z")

</div>

Hi! I recently worked with some big arrays and used multithreading to access and fill these arrays, but after the calculation it seemed like the GC did not manage to clear the ram used by the “non-main” thread. MWE: f…

---

## [Notice: a subtle footgun: UnionAll type variable order + method static parameter normalization](https://discourse.julialang.org/t/notice-a-subtle-footgun-unionall-type-variable-order-method-static-parameter-normalization/113779)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 2\
**Last updated:** [January 31, 2025, 10:12am UTC](https://discourse.julialang.org/t/notice-a-subtle-footgun-unionall-type-variable-order-method-static-parameter-normalization/113779 "2025-01-31T10:12:47Z")

</div>

Consider this snippet: id(::Type{T}) where {T} = T some\_type{7,Int} == id(some\_type){7,Int} Naively, it seems like the comparison on the second line should return true for any type some\_type, assuming neither type appl…

---

## [Register Array Symbolic Output Indexing](https://discourse.julialang.org/t/register-array-symbolic-output-indexing/125271)

<div class="topic-metadata">

**Author:** [@johnb](https://discourse.julialang.org/u/johnb)\
**Replies:** 3\
**Last updated:** [January 31, 2025, 10:07am UTC](https://discourse.julialang.org/t/register-array-symbolic-output-indexing/125271 "2025-01-31T10:07:11Z")

</div>

I’m looking to use an array function in a ModelingToolkit.jl model through the @register\_array\_symbolic macro, but I’m having trouble figuring out how to use it properly. The following MWE shows what I’m trying to do: u…

---

## [Saving GraphMakie figure](https://discourse.julialang.org/t/saving-graphmakie-figure/125403)

<div class="topic-metadata">

**Author:** [@Hakan\_Kucuk](https://discourse.julialang.org/u/Hakan_Kucuk)\
**Replies:** 2\
**Last updated:** [January 31, 2025, 9:48am UTC](https://discourse.julialang.org/t/saving-graphmakie-figure/125403 "2025-01-31T09:48:18Z")

</div>

I have a question about GraphMakie.jl. I have created a graph using Graphs.jl with Interaction Interface on jupyter notebook and i want to save the figure by protecting interaction. How can i handle that problem?

---

## [Comparing Javascript Temporal with Julia](https://discourse.julialang.org/t/comparing-javascript-temporal-with-julia/125419)

<div class="topic-metadata">

**Author:** [@digital\_carver](https://discourse.julialang.org/u/digital_carver)\
**Replies:** 0\
**Last updated:** [January 31, 2025, 7:37am UTC](https://discourse.julialang.org/t/comparing-javascript-temporal-with-julia/125419 "2025-01-31T07:37:22Z")

</div>

An article about Javascript’s upcoming Temporal API for working with dates and times is trending on Hacker News today. I was curious how it compared with Julia, so I used a small Pluto notebook to test things out and wri…

---

## [Talks vs posters](https://discourse.julialang.org/t/talks-vs-posters/125412)

<div class="topic-metadata">

**Author:** [@ranjan](https://discourse.julialang.org/u/ranjan)\
**Replies:** 0\
**Last updated:** [January 31, 2025, 4:22am UTC](https://discourse.julialang.org/t/talks-vs-posters/125412 "2025-01-31T04:22:39Z")

</div>

Hello all, We’ve gotten some questions on what qualifies for a talk vs a poster after we encouraged package authors to submit a poster about their package. We hope the following points would help clarify on what qualifi…

---

## [JuliaCon 2025 CFP Deadline Extended](https://discourse.julialang.org/t/juliacon-2025-cfp-deadline-extended/125411)

<div class="topic-metadata">

**Author:** [@ranjan](https://discourse.julialang.org/u/ranjan)\
**Replies:** 0\
**Last updated:** [January 31, 2025, 4:12am UTC](https://discourse.julialang.org/t/juliacon-2025-cfp-deadline-extended/125411 "2025-01-31T04:12:46Z")

</div>

Hello all, The JuliaCon 2025 CFP deadline has been extended to Feb 14th 2025, 23:59 (EST). Thank you to all who have submitted thus far, and we look forward to more of your proposals!

---

## [What is the interface for the "initial guess" function as 3rd argument of BVProblem?](https://discourse.julialang.org/t/what-is-the-interface-for-the-initial-guess-function-as-3rd-argument-of-bvproblem/125374)

<div class="topic-metadata">

**Author:** [@P0p5](https://discourse.julialang.org/u/P0p5)\
**Replies:** 2\
**Last updated:** [January 31, 2025, 3:06am UTC](https://discourse.julialang.org/t/what-is-the-interface-for-the-initial-guess-function-as-3rd-argument-of-bvproblem/125374 "2025-01-31T03:06:50Z")

</div>

Hello, I’m coding a solver for a set of three coupled highly nonlinear differential equations. This problem offers a huge complex solution space in which any solver is likely to become lost without reasonable “initial …

---

## [Multivariate polynomial regression of discrete data in L-infinity norm](https://discourse.julialang.org/t/multivariate-polynomial-regression-of-discrete-data-in-l-infinity-norm/125369)

<div class="topic-metadata">

**Author:** [@CeterisPartybus](https://discourse.julialang.org/u/CeterisPartybus)\
**Replies:** 16\
**Last updated:** [January 31, 2025, 1:10am UTC](https://discourse.julialang.org/t/multivariate-polynomial-regression-of-discrete-data-in-l-infinity-norm/125369 "2025-01-31T01:10:55Z")

</div>

Hi everyone, Does anyone know of a Julia package that implements polynomial approximations (preferably Chebyshev polynomials) given data on a multivariate function with a L-infinity norm? Specifically, I have x, f(x) p…

---

## [Extracting dates and values from a string](https://discourse.julialang.org/t/extracting-dates-and-values-from-a-string/125401)

<div class="topic-metadata">

**Author:** [@jovansam](https://discourse.julialang.org/u/jovansam)\
**Replies:** 9\
**Last updated:** [January 30, 2025, 10:02pm UTC](https://discourse.julialang.org/t/extracting-dates-and-values-from-a-string/125401 "2025-01-30T22:02:50Z")

</div>

I would appreciation any guidance. I have the text below and would like to extract all dates and the associated information within “dataX.push()” to end up with for instance: 2023-01-10, 0.0, 0.0, 0.0, 0.0; 2023-01-11, 0…

---

## [Solving a system of multivariate polynomials (or finding extrema)](https://discourse.julialang.org/t/solving-a-system-of-multivariate-polynomials-or-finding-extrema/110451)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 6\
**Last updated:** [January 30, 2025, 9:12pm UTC](https://discourse.julialang.org/t/solving-a-system-of-multivariate-polynomials-or-finding-extrema/110451 "2025-01-30T21:12:45Z")

</div>

I have a multivariate (in practice, 2–5 dimensions) function approximated with Chebyshev polynomials. I would like to find all the local extrema of the approximation. This is equivalent to solving the system obtained fro…

---

## ["Redistribute" makie subplots](https://discourse.julialang.org/t/redistribute-makie-subplots/125402)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 1\
**Last updated:** [January 30, 2025, 9:11pm UTC](https://discourse.julialang.org/t/redistribute-makie-subplots/125402 "2025-01-30T21:11:32Z")

</div>

Say that I have created a Makie figure filling fig = Figure() ax1 = Axis(fig\[1, 1\]; ...) ax2 = Axis(fig\[1, 2\]; ...) ax3 = Axis(fig\[1, 3; ...) ax4 = Axis(fig\[1, 4\]; ...) Where I here have a 1x4 set of plots. Is there a …

---

## [Show @debug log in gitgub actions CI when activated](https://discourse.julialang.org/t/show-debug-log-in-gitgub-actions-ci-when-activated/125240)

<div class="topic-metadata">

**Author:** [@franckgaga](https://discourse.julialang.org/u/franckgaga)\
**Replies:** 1\
**Last updated:** [January 29, 2025, 3:23pm UTC](https://discourse.julialang.org/t/show-debug-log-in-gitgub-actions-ci-when-activated/125240 "2025-01-29T15:23:28Z")

</div>

Github actions allow debug logging that can be enabled here: I want to setup my CI.yml file to also show the @debug message. I added these 3 lines for this: name: CI on: push: branches: - main tags: …

---

## [Generate PDF document showing the equations in a package](https://discourse.julialang.org/t/generate-pdf-document-showing-the-equations-in-a-package/91064)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 2\
**Last updated:** [January 30, 2025, 6:57pm UTC](https://discourse.julialang.org/t/generate-pdf-document-showing-the-equations-in-a-package/91064 "2025-01-30T18:57:04Z")

</div>

I have a small package with equations and tables copied from a book. I want to figure out a way to generate a PDF file rendering all the equations in mathy form. This will serve as a quality control that the equations be…

---

## [Parallel computing doesn't work in my case?](https://discourse.julialang.org/t/parallel-computing-doesnt-work-in-my-case/125395)

<div class="topic-metadata">

**Author:** [@D\_W](https://discourse.julialang.org/u/D_W)\
**Replies:** 4\
**Last updated:** [January 30, 2025, 6:32pm UTC](https://discourse.julialang.org/t/parallel-computing-doesnt-work-in-my-case/125395 "2025-01-30T18:32:44Z")

</div>

I tried both multi-threading and distributed computing. However, it seems that neither improves the performance; the best way is just to use regular for loop. using BenchmarkTools using Distributed addprocs(2 - nprocs()…

---

## [A julia tutorial book (Korean) is published](https://discourse.julialang.org/t/a-julia-tutorial-book-korean-is-published/113716)

<div class="topic-metadata">

**Author:** [@rmsmsgood](https://discourse.julialang.org/u/rmsmsgood)\
**Replies:** 1\
**Last updated:** [January 30, 2025, 6:17pm UTC](https://discourse.julialang.org/t/a-julia-tutorial-book-korean-is-published/113716 "2025-01-30T18:17:08Z")

</div>

Hi, we are two researchers in the field of mathematics and are excited because our book has been published this week (April 30, Tuesday). The title “수리 계산, 통계 분석, 딥러닝, 데이터 시각화를 위한 줄리아 프로그래밍” could be translated as “Ju…

---

## [Latexify functions with specific units Unitful](https://discourse.julialang.org/t/latexify-functions-with-specific-units-unitful/125284)

<div class="topic-metadata">

**Author:** [@eduardovrs](https://discourse.julialang.org/u/eduardovrs)\
**Replies:** 8\
**Last updated:** [January 30, 2025, 5:58pm UTC](https://discourse.julialang.org/t/latexify-functions-with-specific-units-unitful/125284 "2025-01-30T17:58:59Z")

</div>

I am trying to make a Pluto notebook that is easy to compare the functions made in Pluto and the Codes (in this case AISC 360). Also, it should be as easy to use as possible for everyone to use. I want the notebook fuun…

---

## [Gradient not being computed when training NN using Flux](https://discourse.julialang.org/t/gradient-not-being-computed-when-training-nn-using-flux/125368)

<div class="topic-metadata">

**Author:** [@azeredo-e](https://discourse.julialang.org/u/azeredo-e)\
**Replies:** 3\
**Last updated:** [January 30, 2025, 5:07pm UTC](https://discourse.julialang.org/t/gradient-not-being-computed-when-training-nn-using-flux/125368 "2025-01-30T17:07:23Z")

</div>

Hello Everyone, I’m new to Flux and I’m following the course on book.sciml.ai, right now I’m in lesson three, specifically where is discussed modelling Hooke’s Law and the construction of a PINN, and I’m havong trouble t…

---

## [Registering packages not hosted on github](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912)

<div class="topic-metadata">

**Author:** [@AdamWysokinski](https://discourse.julialang.org/u/AdamWysokinski)\
**Replies:** 29\
**Last updated:** [January 30, 2025, 3:24pm UTC](https://discourse.julialang.org/t/registering-packages-not-hosted-on-github/81912 "2025-01-30T15:24:51Z")

</div>

Hi, Is it possible to register a package that is hosted not on GitHub/GitLab (Codeberg in my case)? Regards, Adam

---

## [Unassigned type parameters in \`UnionAll\` of \`Tuple\` do not refer to concrete types in edge cases](https://discourse.julialang.org/t/unassigned-type-parameters-in-unionall-of-tuple-do-not-refer-to-concrete-types-in-edge-cases/125217)

<div class="topic-metadata">

**Author:** [@frankwswang](https://discourse.julialang.org/u/frankwswang)\
**Replies:** 5\
**Last updated:** [January 30, 2025, 8:14am UTC](https://discourse.julialang.org/t/unassigned-type-parameters-in-unionall-of-tuple-do-not-refer-to-concrete-types-in-edge-cases/125217 "2025-01-30T08:14:13Z")

</div>

Consider a simple example where I define a type alias for (non-empty) Tuple: julia\> const MyTuple1{T, N} = Tuple{T, Vararg{T, N}} Tuple{T, Vararg{T, N}} where {T, N} Even when the type parameter T is not assigned, the U…

---

## [Passing an array of tuples to CxxWrap](https://discourse.julialang.org/t/passing-an-array-of-tuples-to-cxxwrap/125392)

<div class="topic-metadata">

**Author:** [@nabla](https://discourse.julialang.org/u/nabla)\
**Replies:** 0\
**Last updated:** [January 30, 2025, 1:49pm UTC](https://discourse.julialang.org/t/passing-an-array-of-tuples-to-cxxwrap/125392 "2025-01-30T13:49:32Z")

</div>

I’d love to pass an array of tuples to some C++ code; say calling myfunction(\[("a",1),("b",2)\]) At the C++ level, I would write a function mod.method("myfunction", \[\](const jlcxx::ArrayRef\<std::tuple\<std::string,int\>\> …

---

## [Turing.jl/MCMC: Chains getting stuck](https://discourse.julialang.org/t/turing-jl-mcmc-chains-getting-stuck/77696)

<div class="topic-metadata">

**Author:** [@jacobusmmsmit](https://discourse.julialang.org/u/jacobusmmsmit)\
**Replies:** 9\
**Last updated:** [January 30, 2025, 12:47pm UTC](https://discourse.julialang.org/t/turing-jl-mcmc-chains-getting-stuck/77696 "2025-01-30T12:47:00Z")

</div>

I want ask for advice or insight as to why my MCMC chains could be stuck even when using HMC on a uni-modal posterior. I’m doing parameter calibration of pedestrian models (systems of non-linear ODEs) using Turing.jl. I…

---

## [Which profile visualizers show type instability](https://discourse.julialang.org/t/which-profile-visualizers-show-type-instability/125376)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 2\
**Last updated:** [January 30, 2025, 12:38pm UTC](https://discourse.julialang.org/t/which-profile-visualizers-show-type-instability/125376 "2025-01-30T12:38:41Z")

</div>

I cannot get ProfileView.jl to work on Wayland because of a shared library incompatibility. I will file a bug report as soon as I isolate the problem, but in the meantime I am looking for a replacement/alternative. Whic…

---

## [Identical samples during mcmc run in Turing.jl with NUTS algorithm](https://discourse.julialang.org/t/identical-samples-during-mcmc-run-in-turing-jl-with-nuts-algorithm/125361)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 0\
**Last updated:** [January 29, 2025, 8:37pm UTC](https://discourse.julialang.org/t/identical-samples-during-mcmc-run-in-turing-jl-with-nuts-algorithm/125361 "2025-01-29T20:37:01Z")

</div>

Hello Everyone, Im running some differential Equation based model for inference using Turing.jl Im running 3 chains in parallel. Following result is with 2000 warmup and 2000 samples. Though Im not sure whats going on …

---

## [Variable from app.jl into script.js](https://discourse.julialang.org/t/variable-from-app-jl-into-script-js/125387)

<div class="topic-metadata">

**Author:** [@ReLoneR](https://discourse.julialang.org/u/ReLoneR)\
**Replies:** 0\
**Last updated:** [January 30, 2025, 12:02pm UTC](https://discourse.julialang.org/t/variable-from-app-jl-into-script-js/125387 "2025-01-30T12:02:23Z")

</div>

Hi, lets say i have an app.jl that have this variables app.jl : ... @app begin @out firstX = \[1, 2, 3, 4, 5\] @out firstY = \[5, 0, 3, -1, 2\] ... @page("/", "public/index\_ui.jl.html", layout = "public/index\_layou…

---

## ["cache misses, incompatible header" when loading library](https://discourse.julialang.org/t/cache-misses-incompatible-header-when-loading-library/125357)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 7\
**Last updated:** [January 30, 2025, 10:16am UTC](https://discourse.julialang.org/t/cache-misses-incompatible-header-when-loading-library/125357 "2025-01-30T10:16:00Z")

</div>

On Julia 11.3, I am getting errors with the above message when loading some libraries, eg using Profile, PProf \[ Info: Precompiling PProf \[e4faabce-9ead-11e9-39d9-4379958e3056\] (cache misses: wrong dep version loaded (2…

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

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