# Latest

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

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

**Page:** 186

---

## [Best way for linear regression problem on product features](https://discourse.julialang.org/t/best-way-for-linear-regression-problem-on-product-features/127786)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 28\
**Last updated:** [April 11, 2025, 12:05am UTC](https://discourse.julialang.org/t/best-way-for-linear-regression-problem-on-product-features/127786 "2025-04-11T00:05:49Z")

</div>

Hi, I need to solve the following least-squares problem efficiently, where X and Z denote two matrices of features. I can transform this into a least-squares problem manually by first creating a feature matrix W by takin…

---

## [SDDP: how to use Juniper.jl for optimizer](https://discourse.julialang.org/t/sddp-how-to-use-juniper-jl-for-optimizer/82719)

<div class="topic-metadata">

**Author:** [@chenr86](https://discourse.julialang.org/u/chenr86)\
**Replies:** 7\
**Last updated:** [June 15, 2022, 1:45am UTC](https://discourse.julialang.org/t/sddp-how-to-use-juniper-jl-for-optimizer/82719 "2022-06-15T01:45:21Z")

</div>

Hello, I’m trying to solve MI-NLP problem with SDDP.jl. I would like to use juniper.jl as optimizer: using SDDP using Ipopt using Juniper nl\_solver = optimizer\_with\_attributes(Ipopt.Optimizer, "print\_level"=\>0) minl…

---

## [Keyword arguments reduce performance](https://discourse.julialang.org/t/keyword-arguments-reduce-performance/127224)

<div class="topic-metadata">

**Author:** [@f.ij](https://discourse.julialang.org/u/f.ij)\
**Replies:** 19\
**Last updated:** [April 10, 2025, 7:49pm UTC](https://discourse.julialang.org/t/keyword-arguments-reduce-performance/127224 "2025-04-10T19:49:21Z")

</div>

I’m running a simulation where I’m collecting data from a graph represented by a sparse matrix. I have a pretty simple function that suffers performance loss just by making an Int32 typed variable a keyword argument inst…

---

## [Error using REPL with custom system image](https://discourse.julialang.org/t/error-using-repl-with-custom-system-image/127940)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [April 10, 2025, 6:46pm UTC](https://discourse.julialang.org/t/error-using-repl-with-custom-system-image/127940 "2025-04-10T18:46:18Z")

</div>

If I create a system image for KiteModels.jl this works. But using it fails with the following error: ufechner@framework:~/repos/KiteModels.jl$ jl Found system image! \[ Info: Precompiling REPL \[3fa0cd96-eef1-5676-8a61-b…

---

## [No superscript q in REPL?](https://discourse.julialang.org/t/no-superscript-q-in-repl/127899)

<div class="topic-metadata">

**Author:** [@leespen1](https://discourse.julialang.org/u/leespen1)\
**Replies:** 6\
**Last updated:** [April 10, 2025, 6:22pm UTC](https://discourse.julialang.org/t/no-superscript-q-in-repl/127899 "2025-04-10T18:22:05Z")

</div>

I noticed that every lowercase letter in the English alphabet can be used as a super script, except q. E.g. typing julia\> \\^abcdefghijklmnop and then pressing tab gives julia\> ᵃᵇᶜᵈᵉᶠᵍʰⁱʲᵏˡᵐⁿᵒᵖ I can do the same with …

---

## [Matrix vector multiplication: impact of column major vs row major (M4 Max)](https://discourse.julialang.org/t/matrix-vector-multiplication-impact-of-column-major-vs-row-major-m4-max/127936)

<div class="topic-metadata">

**Author:** [@PetarM](https://discourse.julialang.org/u/PetarM)\
**Replies:** 6\
**Last updated:** [April 10, 2025, 5:19pm UTC](https://discourse.julialang.org/t/matrix-vector-multiplication-impact-of-column-major-vs-row-major-m4-max/127936 "2025-04-10T17:19:31Z")

</div>

Hello! I recently got a Mac Studio M4 Max, and I am having fun exploring its compute capabilities in Julia. In particular, I wanted to see how well it could take advantage of its substantial memory bandwidth (546 GB/s) …

---

## [Double broadcast](https://discourse.julialang.org/t/double-broadcast/127930)

<div class="topic-metadata">

**Author:** [@atteson](https://discourse.julialang.org/u/atteson)\
**Replies:** 4\
**Last updated:** [April 10, 2025, 5:17pm UTC](https://discourse.julialang.org/t/double-broadcast/127930 "2025-04-10T17:17:52Z")

</div>

I frequently find myself wishing to do a double broadcast, e.g.: f = x-\>x+1 (v -\> f.(v)).( \[\[1,2,3\], \[4,5,6\]\]) Is this the most concise way to do it?

---

## [Commercial offers of Julia Computing](https://discourse.julialang.org/t/commercial-offers-of-julia-computing/127914)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 3\
**Last updated:** [April 10, 2025, 5:12pm UTC](https://discourse.julialang.org/t/commercial-offers-of-julia-computing/127914 "2025-04-10T17:12:08Z")

</div>

I asked Julia Computing for an offer for a license for using the package JuliaSimControl.jl locally (for a small startup company). I came to the conclusion that such a license is not offered. This is a pity. For small c…

---

## [Using Debugger.jl with almost all modules in compiled mode](https://discourse.julialang.org/t/using-debugger-jl-with-almost-all-modules-in-compiled-mode/127942)

<div class="topic-metadata">

**Author:** [@bernardofpc](https://discourse.julialang.org/u/bernardofpc)\
**Replies:** 0\
**Last updated:** [April 10, 2025, 5:03pm UTC](https://discourse.julialang.org/t/using-debugger-jl-with-almost-all-modules-in-compiled-mode/127942 "2025-04-10T17:03:26Z")

</div>

I read Debugging extremely slow - #54 by mariusd and it mentions JuliaInterpreter, which is not listed in the Debugger.jl documentation (I have only found the README.md on github). It would be helpful to have this usage…

---

## [\[ANN\] Breakers.jl](https://discourse.julialang.org/t/ann-breakers-jl/127874)

<div class="topic-metadata">

**Author:** [@technocrat](https://discourse.julialang.org/u/technocrat)\
**Replies:** 10\
**Last updated:** [April 10, 2025, 4:44pm UTC](https://discourse.julialang.org/t/ann-breakers-jl/127874 "2025-04-10T16:44:42Z")

</div>

Breakers.jl is a pure Julia partial implementation of the R classInt library, that handles fisher, kmeans, quantile and equal breaks of a vector (potentially containing missing values). This aids in binning continuous da…

---

## [Improve performance in Flux.jl](https://discourse.julialang.org/t/improve-performance-in-flux-jl/127939)

<div class="topic-metadata">

**Author:** [@Wuaphi](https://discourse.julialang.org/u/Wuaphi)\
**Replies:** 0\
**Last updated:** [April 10, 2025, 4:42pm UTC](https://discourse.julialang.org/t/improve-performance-in-flux-jl/127939 "2025-04-10T16:42:33Z")

</div>

I tried to train a LSTM model in Flux.jl, but whatever I do, the gpu usage only reaches about 50%. But I can’t make the batchsize bigger, as the vram is nearly full. I would appreciate any kind of help. module Lstm …

---

## [Enzyme with Const() on a vector throws an error](https://discourse.julialang.org/t/enzyme-with-const-on-a-vector-throws-an-error/121927)

<div class="topic-metadata">

**Author:** [@weltenbummler](https://discourse.julialang.org/u/weltenbummler)\
**Replies:** 20\
**Last updated:** [April 10, 2025, 3:53pm UTC](https://discourse.julialang.org/t/enzyme-with-const-on-a-vector-throws-an-error/121927 "2025-04-10T15:53:55Z")

</div>

Hello all, I would like to autodiff a function where some vector-valued arguments are kept constant. I thought to use Enzyme with the Const() functionality but run into issues when applying Const() to vectors. The fol…

---

## [Dealing with multiple dispatch \`Vararg\`s](https://discourse.julialang.org/t/dealing-with-multiple-dispatch-vararg-s/127935)

<div class="topic-metadata">

**Author:** [@MilesCranmer](https://discourse.julialang.org/u/MilesCranmer)\
**Replies:** 1\
**Last updated:** [April 10, 2025, 3:00pm UTC](https://discourse.julialang.org/t/dealing-with-multiple-dispatch-vararg-s/127935 "2025-04-10T15:00:53Z")

</div>

Say that we have two types: struct A end #= other library =# struct B end #= my library =# Now, let’s assume that in some other library there is a method: foo(x, xs...) = 1 foo(x::A, xs::A...) = 1 I want to over…

---

## [From Named Tuple to Struct](https://discourse.julialang.org/t/from-named-tuple-to-struct/127927)

<div class="topic-metadata">

**Author:** [@Magnus\_Lilledahl](https://discourse.julialang.org/u/Magnus_Lilledahl)\
**Replies:** 2\
**Last updated:** [April 10, 2025, 2:35pm UTC](https://discourse.julialang.org/t/from-named-tuple-to-struct/127927 "2025-04-10T14:35:24Z")

</div>

Say I have a Named Tuple like a = (switch = dataframe1, swatch = dataframe2) and I have some structs struct switch df::DataFrame ...more fields end struct swatch df::DataFrame ...more fields end I want to ite…

---

## [How to register/update my package with some local packages](https://discourse.julialang.org/t/how-to-register-update-my-package-with-some-local-packages/127912)

<div class="topic-metadata">

**Author:** [@chooron](https://discourse.julialang.org/u/chooron)\
**Replies:** 6\
**Last updated:** [April 10, 2025, 2:23pm UTC](https://discourse.julialang.org/t/how-to-register-update-my-package-with-some-local-packages/127912 "2025-04-10T14:23:29Z")

</div>

I’m developing a package (called HydroModels.jl) and when I want to register this package some problems arise The project.toml of the project is as follows: name = "HydroModels" uuid = "7e3cde01-c141-467b-bff6-5350a…

---

## [Hide or collapse text in Pluto](https://discourse.julialang.org/t/hide-or-collapse-text-in-pluto/73814)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 7\
**Last updated:** [April 10, 2025, 1:36pm UTC](https://discourse.julialang.org/t/hide-or-collapse-text-in-pluto/73814 "2025-04-10T13:36:01Z")

</div>

In some cases, it can be useful to hide text (as opposed to markdown) in notebooks when certain details may interrupt the flow of one’s main points. The analog in a static document would be a footnote. Is there a way to …

---

## [Ref{T} vs Base.RefValue{T}](https://discourse.julialang.org/t/ref-t-vs-base-refvalue-t/127886)

<div class="topic-metadata">

**Author:** [@linwaytin](https://discourse.julialang.org/u/linwaytin)\
**Replies:** 20\
**Last updated:** [April 10, 2025, 1:07pm UTC](https://discourse.julialang.org/t/ref-t-vs-base-refvalue-t/127886 "2025-04-10T13:07:07Z")

</div>

Sometimes I want to make a field in a type mutable, and I do like struct S a::Ref{Float64} end This looks similar to the reference type used in ccall like @ccall f(a::Ref{Int})::Cdouble so I always thought it’s good. …

---

## [Why does forward diff yield totally different gradients compared to my manual perturbation](https://discourse.julialang.org/t/why-does-forward-diff-yield-totally-different-gradients-compared-to-my-manual-perturbation/127918)

<div class="topic-metadata">

**Author:** [@Xu\_Shan](https://discourse.julialang.org/u/Xu_Shan)\
**Replies:** 1\
**Last updated:** [April 10, 2025, 12:52pm UTC](https://discourse.julialang.org/t/why-does-forward-diff-yield-totally-different-gradients-compared-to-my-manual-perturbation/127918 "2025-04-10T12:52:29Z")

</div>

Guys, I am trying to use ForwardDiff.jl to calculate the gradients (Jacobians) of the model cost function to parameters (at the values of a “pre-set” local\_optim). I found ForwardDiff.jl yields a totally different Jacobi…

---

## [Start Julia interpreter directly, skipping Juliaup?](https://discourse.julialang.org/t/start-julia-interpreter-directly-skipping-juliaup/127923)

<div class="topic-metadata">

**Author:** [@arjunguha](https://discourse.julialang.org/u/arjunguha)\
**Replies:** 5\
**Last updated:** [April 10, 2025, 12:40pm UTC](https://discourse.julialang.org/t/start-julia-interpreter-directly-skipping-juliaup/127923 "2025-04-10T12:40:51Z")

</div>

I have Julia installed using juliaup. I’ve realized that the julia command forks to the Julia interpreter. Is there a conventional way to go directly to the interpreter? My goal is to launch as fast as possible – I’m ru…

---

## [Satellogic data in pure Julia](https://discourse.julialang.org/t/satellogic-data-in-pure-julia/127909)

<div class="topic-metadata">

**Author:** [@Zgabalj](https://discourse.julialang.org/u/Zgabalj)\
**Replies:** 3\
**Last updated:** [April 10, 2025, 11:41am UTC](https://discourse.julialang.org/t/satellogic-data-in-pure-julia/127909 "2025-04-10T11:41:33Z")

</div>

Mark Litwintschik has a blog (cannot add link) showing how to obtain satellite images from Satellogic using python. How would one start to implement this in Julia? The author uses GDAL and duckdb; both GDAL.jl and Duck…

---

## [Customize the HTML export of Pluto notebooks](https://discourse.julialang.org/t/customize-the-html-export-of-pluto-notebooks/127863)

<div class="topic-metadata">

**Author:** [@goerz](https://discourse.julialang.org/u/goerz)\
**Replies:** 2\
**Last updated:** [April 10, 2025, 9:51am UTC](https://discourse.julialang.org/t/customize-the-html-export-of-pluto-notebooks/127863 "2025-04-10T09:51:20Z")

</div>

The static-export-template makes it easy to set up a repository of Pluto notebooks that automatically get deployed to GitHub pages. This happens via the export\_directory function of PlutoSliderServer. Is there any way t…

---

## [Printing a parseable representation](https://discourse.julialang.org/t/printing-a-parseable-representation/127913)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 0\
**Last updated:** [April 10, 2025, 9:17am UTC](https://discourse.julialang.org/t/printing-a-parseable-representation/127913 "2025-04-10T09:17:44Z")

</div>

I am trying to find a generic way to print a parseable representation of generic objects. By parseable, I mean an string that can be pasted into the Julia REPL and parsed to equal the original value. My main use for this…

---

## [MKL fails to pre compile: missing libiomp5md.dll](https://discourse.julialang.org/t/mkl-fails-to-pre-compile-missing-libiomp5md-dll/106425)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 2\
**Last updated:** [April 10, 2025, 8:26am UTC](https://discourse.julialang.org/t/mkl-fails-to-pre-compile-missing-libiomp5md-dll/106425 "2025-04-10T08:26:55Z")

</div>

As it says: libiomp5md.dll is reported missing. This is on a Windows 11 Surface Pro, Julia 1.9.3. Is this problem known, and if so, what is the solution?

---

## [Error: Missing download info for actions/cache@v1](https://discourse.julialang.org/t/error-missing-download-info-for-actions-cache-v1/127896)

<div class="topic-metadata">

**Author:** [@cstjean](https://discourse.julialang.org/u/cstjean)\
**Replies:** 4\
**Last updated:** [April 10, 2025, 8:06am UTC](https://discourse.julialang.org/t/error-missing-download-info-for-actions-cache-v1/127896 "2025-04-10T08:06:45Z")

</div>

I’m dusting off an old package, and found that CI is failing (presumably misconfigured). Can anyone tell me what’s wrong with my config?

---

## [Regression table star level](https://discourse.julialang.org/t/regression-table-star-level/127904)

<div class="topic-metadata">

**Author:** [@Junhyuk](https://discourse.julialang.org/u/Junhyuk)\
**Replies:** 2\
**Last updated:** [April 10, 2025, 7:34am UTC](https://discourse.julialang.org/t/regression-table-star-level/127904 "2025-04-10T07:34:39Z")

</div>

Hello, I’m new to Julia and currently conducting several IV regressions. I’d like to report the results using the following code: regtable(ivmodel1, ivmodel2, ivmodel3, render = LatexTable(), digits = 5) In economics,…

---

## [Auto skip precompile workload of all \`dev\`ed packages](https://discourse.julialang.org/t/auto-skip-precompile-workload-of-all-dev-ed-packages/127907)

<div class="topic-metadata">

**Author:** [@hexaeder](https://discourse.julialang.org/u/hexaeder)\
**Replies:** 0\
**Last updated:** [April 10, 2025, 6:48am UTC](https://discourse.julialang.org/t/auto-skip-precompile-workload-of-all-dev-ed-packages/127907 "2025-04-10T06:48:08Z")

</div>

Hello, it seems like Julia never caches the precompilation of deved packages. Is that assumption correct? For packages with larger precompile workloads this can be annoying. I know, that I can use Prefereces.jl to opt-…

---

## [Is there a way to use @allowscalar in a heterogeneous manner using KernelAbstractions?](https://discourse.julialang.org/t/is-there-a-way-to-use-allowscalar-in-a-heterogeneous-manner-using-kernelabstractions/127828)

<div class="topic-metadata">

**Author:** [@0samuraiE](https://discourse.julialang.org/u/0samuraiE)\
**Replies:** 3\
**Last updated:** [April 10, 2025, 6:33am UTC](https://discourse.julialang.org/t/is-there-a-way-to-use-allowscalar-in-a-heterogeneous-manner-using-kernelabstractions/127828 "2025-04-10T06:33:57Z")

</div>

Hi all, Is it correct that scalar indexing like Out\[1\] is not allowed with KernelAbstractions.jl alone, and that we need GPUArrays.@allowscalar for this? Should we always use GPUArrays together with KernelAbstractions f…

---

## [Terminate after warning is thrown - global setting](https://discourse.julialang.org/t/terminate-after-warning-is-thrown-global-setting/80368)

<div class="topic-metadata">

**Author:** [@dnldlg](https://discourse.julialang.org/u/dnldlg)\
**Replies:** 6\
**Last updated:** [April 10, 2025, 4:05am UTC](https://discourse.julialang.org/t/terminate-after-warning-is-thrown-global-setting/80368 "2025-04-10T04:05:58Z")

</div>

I want to ensure that my program runs without doing questionable operations. Thus I would like the program to terminate whenever a warning is thrown; i.e. promote a warning to the level of errors. Is there a way to do t…

---

## [Julia prize cryptic crossword](https://discourse.julialang.org/t/julia-prize-cryptic-crossword/126735)

<div class="topic-metadata">

**Author:** [@jgreener64](https://discourse.julialang.org/u/jgreener64)\
**Replies:** 10\
**Last updated:** [April 10, 2025, 12:28am UTC](https://discourse.julialang.org/t/julia-prize-cryptic-crossword/126735 "2025-04-10T00:28:26Z")

</div>

I’m sure there are some in this community who enjoy cryptic crosswords, so I made one with a Julia theme. Solve online: Julia cryptic crossword | Crosshare crossword puzzle PDF: https://crosshare.org/api/pdf/EmPzDZr42j…

---

## [How to have more examples for ModelingToolkit Standard Library?](https://discourse.julialang.org/t/how-to-have-more-examples-for-modelingtoolkit-standard-library/127879)

<div class="topic-metadata">

**Author:** [@Matthew1](https://discourse.julialang.org/u/Matthew1)\
**Replies:** 5\
**Last updated:** [April 9, 2025, 7:40pm UTC](https://discourse.julialang.org/t/how-to-have-more-examples-for-modelingtoolkit-standard-library/127879 "2025-04-09T19:40:25Z")

</div>

It would be really great if there are more examples in the MTSL docs. I see that there are already some great ‘examples’ in the tests. However, most potential users won’t navigate to the tests. Also, if the goal is to re…

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

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