# Latest

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

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

**Page:** 504

---

## [Be less aware of when Julia avoids specializing?](https://discourse.julialang.org/t/be-less-aware-of-when-julia-avoids-specializing/109111)

<div class="topic-metadata">

**Author:** [@mikmoore](https://discourse.julialang.org/u/mikmoore)\
**Replies:** 6\
**Last updated:** [January 23, 2024, 4:44am UTC](https://discourse.julialang.org/t/be-less-aware-of-when-julia-avoids-specializing/109111 "2024-01-23T04:44:37Z")

</div>

I count roughly 11 Discourse threads in the past 6 months linking to the near-infamous performance tip regarding when Julia avoids specializing to resolve performance issues. The purpose of this thread is to re-visit thi…

---

## [Performance tips for differential equation RHS](https://discourse.julialang.org/t/performance-tips-for-differential-equation-rhs/108934)

<div class="topic-metadata">

**Author:** [@madeline](https://discourse.julialang.org/u/madeline)\
**Replies:** 22\
**Last updated:** [January 23, 2024, 5:11am UTC](https://discourse.julialang.org/t/performance-tips-for-differential-equation-rhs/108934 "2024-01-23T05:11:55Z")

</div>

Hello, I’ve been working on a project which relies on being able to swiftly solve something like the following system: using DifferentialEquations using StaticArrays using Einsum using Random using Graphs function watt…

---

## [Basic solve with Optim/ NLsolve](https://discourse.julialang.org/t/basic-solve-with-optim-nlsolve/109125)

<div class="topic-metadata">

**Author:** [@jovansam](https://discourse.julialang.org/u/jovansam)\
**Replies:** 1\
**Last updated:** [January 23, 2024, 3:00am UTC](https://discourse.julialang.org/t/basic-solve-with-optim-nlsolve/109125 "2024-01-23T03:00:05Z")

</div>

I have a very simple problem, but a little stomped. Below is a MWE using NLsolve f! = function (dx, x, a, b) # we want to find roots for f dx\[1\] = x\[1\] - a\[1\] dx\[2\] = x\[2\] = a\[2\] b = 5 end a = \[1; 5\] b = 0 g…

---

## [Documenter.jl: no docs found for ... in \`@docs\` block](https://discourse.julialang.org/t/documenter-jl-no-docs-found-for-in-docs-block/109124)

<div class="topic-metadata">

**Author:** [@mpeters2](https://discourse.julialang.org/u/mpeters2)\
**Replies:** 1\
**Last updated:** [January 23, 2024, 1:25am UTC](https://discourse.julialang.org/t/documenter-jl-no-docs-found-for-in-docs-block/109124 "2024-01-23T01:25:56Z")

</div>

I’m utterly baffled. If I use the following code, Documenter.jl successfully finds all of my markdown documentation and populates an html file: '''@autodocs Modules = \[PsychoJL\] Private = false Order = \[:function, :type…

---

## [Concatenate Vector of Vector with differents length](https://discourse.julialang.org/t/concatenate-vector-of-vector-with-differents-length/109071)

<div class="topic-metadata">

**Author:** [@blociss](https://discourse.julialang.org/u/blociss)\
**Replies:** 8\
**Last updated:** [January 22, 2024, 5:37pm UTC](https://discourse.julialang.org/t/concatenate-vector-of-vector-with-differents-length/109071 "2024-01-22T17:37:01Z")

</div>

Consider the following vector: v = \[ (1, \[\[11, 11, 11\], \[12, 12, 12\]\]), (2, \[\[21, 21, 21\]), (3, \[\[31, 31, 31\], \[32, 32, 32\]\]), (4, \[\[41, 41, 41\]), \] I want to get 4-element Vector{Any}: \[\[11, 11, 11\], …

---

## [Error in FastTransforms.jl for cheb2leg](https://discourse.julialang.org/t/error-in-fasttransforms-jl-for-cheb2leg/108995)

<div class="topic-metadata">

**Author:** [@erny123](https://discourse.julialang.org/u/erny123)\
**Replies:** 1\
**Last updated:** [January 22, 2024, 10:20pm UTC](https://discourse.julialang.org/t/error-in-fasttransforms-jl-for-cheb2leg/108995 "2024-01-22T22:20:31Z")

</div>

I’m working with Legendre transforms and according to FastTransforms.jl, one can do a Chebyshev Transform and use the cheb2leg() function to transform from Chebyshev coefficients to Legendre coefficients. I’ve compared …

---

## [Issues with secondary y-axis in Plots.jl](https://discourse.julialang.org/t/issues-with-secondary-y-axis-in-plots-jl/109107)

<div class="topic-metadata">

**Author:** [@aleppersico](https://discourse.julialang.org/u/aleppersico)\
**Replies:** 1\
**Last updated:** [January 22, 2024, 6:40pm UTC](https://discourse.julialang.org/t/issues-with-secondary-y-axis-in-plots-jl/109107 "2024-01-22T18:40:27Z")

</div>

Hello all, :slight\_smile: I am working on a plot with two y-axis. The plot is showing how a quantity is changing over time and I would like to have on the left axis its nominal value and on the right axis the percentage…

---

## [JuliaCon 2024 Scientific Data Minisymposium](https://discourse.julialang.org/t/juliacon-2024-scientific-data-minisymposium/109114)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 0\
**Last updated:** [January 22, 2024, 6:50pm UTC](https://discourse.julialang.org/t/juliacon-2024-scientific-data-minisymposium/109114 "2024-01-22T18:50:52Z")

</div>

At JuliaCon 2024 in Eindhoven, I am organizing a Scientific Data Minisymposium. This follows in the tradition of data focused minisymposia in the past, and I am considering the scope to be a superset of the data symposia…

---

## [Any workaround for this core Julia bug causing spurious \`UndefVarError\`?](https://discourse.julialang.org/t/any-workaround-for-this-core-julia-bug-causing-spurious-undefvarerror/109083)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 0\
**Last updated:** [January 22, 2024, 6:45am UTC](https://discourse.julialang.org/t/any-workaround-for-this-core-julia-bug-causing-spurious-undefvarerror/109083 "2024-01-22T06:45:14Z")

</div>

This script succeeds as expected (run as script or try in a fresh REPL session): f(::Type{\<:Tuple{Vararg{A}}}) where {A} = A struct S end f(Tuple{Vararg{S}}) f(Tuple{Vararg{T}} where {T\<:S}) But if the order of the c…

---

## [Questions regarding bootstrapping the new Array constructors in boot.jl](https://discourse.julialang.org/t/questions-regarding-bootstrapping-the-new-array-constructors-in-boot-jl/109110)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 1\
**Last updated:** [January 22, 2024, 5:16pm UTC](https://discourse.julialang.org/t/questions-regarding-bootstrapping-the-new-array-constructors-in-boot-jl/109110 "2024-01-22T17:16:47Z")

</div>

These are the core constructors for Array on master: The constructor methods that accept the dimensions as a series of Ints (as opposed to a tuple of Ints) come first, and they’re eval-ed into Core. Why the use of e…

---

## [Automatic Differentiation: Second-order partial derivatives w.r.t. different arguments](https://discourse.julialang.org/t/automatic-differentiation-second-order-partial-derivatives-w-r-t-different-arguments/109108)

<div class="topic-metadata">

**Author:** [@Tengrath](https://discourse.julialang.org/u/Tengrath)\
**Replies:** 0\
**Last updated:** [January 22, 2024, 4:13pm UTC](https://discourse.julialang.org/t/automatic-differentiation-second-order-partial-derivatives-w-r-t-different-arguments/109108 "2024-01-22T16:13:27Z")

</div>

I’m interested in calculating second order partial derivatives w.r.t. to different arguments \\partial k\_j \\partial x\_i f. Consider function f(x,k) return @. k \* x^2 end Calculation of second-order derivatives w.r.…

---

## [\[ANN\] PortMidi.jl](https://discourse.julialang.org/t/ann-portmidi-jl/108906)

<div class="topic-metadata">

**Author:** [@SteffenPL](https://discourse.julialang.org/u/SteffenPL)\
**Replies:** 3\
**Last updated:** [January 21, 2024, 8:47am UTC](https://discourse.julialang.org/t/ann-portmidi-jl/108906 "2024-01-21T08:47:25Z")

</div>

PortMidi.jl This is mostly a fun project I did in the last few days to play music with Julia and to learn how to use BinaryBuilder.jl (thanks @giordano for all the corrections of my beginner mistakes). PortMidi.jl is a …

---

## [Call for submissions: Advances in Geostatistical Learning](https://discourse.julialang.org/t/call-for-submissions-advances-in-geostatistical-learning/105947)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 2\
**Last updated:** [January 22, 2024, 2:55pm UTC](https://discourse.julialang.org/t/call-for-submissions-advances-in-geostatistical-learning/105947 "2024-01-22T14:55:39Z")

</div>

Me, @ErickChacon and other colleagues outside the Julia community are co-editing a special issue in the journal Frontiers in Applied Mathematics and Statistics. If you are doing research in geospatial machine learning, c…

---

## [I Created a 2D Platformer With Julia! (Download link) + An Update On JulGame](https://discourse.julialang.org/t/i-created-a-2d-platformer-with-julia-download-link-an-update-on-julgame/108778)

<div class="topic-metadata">

**Author:** [@Kyjor](https://discourse.julialang.org/u/Kyjor)\
**Replies:** 9\
**Last updated:** [January 22, 2024, 2:40pm UTC](https://discourse.julialang.org/t/i-created-a-2d-platformer-with-julia-download-link-an-update-on-julgame/108778 "2024-01-22T14:40:30Z")

</div>

DOWNLOAD LINK (Windows Only): Super Mango - A Game Made with Julia by Kyjor The Platformer is DONE!! Hello everyone, it’s a bit late, but here’s an update on my last post in which I showed that I was creating a 2d pl…

---

## [Help managing legacy registered and local generated packages](https://discourse.julialang.org/t/help-managing-legacy-registered-and-local-generated-packages/109102)

<div class="topic-metadata">

**Author:** [@DrPapa](https://discourse.julialang.org/u/DrPapa)\
**Replies:** 0\
**Last updated:** [January 22, 2024, 2:19pm UTC](https://discourse.julialang.org/t/help-managing-legacy-registered-and-local-generated-packages/109102 "2024-01-22T14:19:09Z")

</div>

My company has an internal message construction protocol similar to ProtoBuffs. Based on a user specified messaging format a tool is used to build native libraries for different languages. Lets call this tool MsgGen. We …

---

## [VScode Julia server fails precompilation](https://discourse.julialang.org/t/vscode-julia-server-fails-precompilation/98865)

<div class="topic-metadata">

**Author:** [@Gravlax](https://discourse.julialang.org/u/Gravlax)\
**Replies:** 25\
**Last updated:** [January 22, 2024, 2:18pm UTC](https://discourse.julialang.org/t/vscode-julia-server-fails-precompilation/98865 "2024-01-22T14:18:59Z")

</div>

Dear all, I’ve tried installing Julia 1.9 on my desktop machine (previously using 1.8 and older ones). I use VScode as editor. It seems that VScode Julia language server cannot handle my new installation as it fails pr…

---

## [Julia code becomes slower on running on supercomputers and does not scale well when parallelizing with Base.Threads](https://discourse.julialang.org/t/julia-code-becomes-slower-on-running-on-supercomputers-and-does-not-scale-well-when-parallelizing-with-base-threads/108439)

<div class="topic-metadata">

**Author:** [@Uranium238](https://discourse.julialang.org/u/Uranium238)\
**Replies:** 73\
**Last updated:** [January 22, 2024, 1:21pm UTC](https://discourse.julialang.org/t/julia-code-becomes-slower-on-running-on-supercomputers-and-does-not-scale-well-when-parallelizing-with-base-threads/108439 "2024-01-22T13:21:22Z")

</div>

This question is a continuation / generalization of my previous question. My end goal is to write a parallelized code where the main time taking part is Matrix multiplication and inversion. As per the advice of @ufechner…

---

## [Unexpected memory allocation](https://discourse.julialang.org/t/unexpected-memory-allocation/109094)

<div class="topic-metadata">

**Author:** [@JonasKoziorek](https://discourse.julialang.org/u/JonasKoziorek)\
**Replies:** 2\
**Last updated:** [January 22, 2024, 12:25pm UTC](https://discourse.julialang.org/t/unexpected-memory-allocation/109094 "2024-01-22T12:25:57Z")

</div>

Hello, I have the following code: using ForwardDiff function logistic(x, p) return p\*x\*(1-x) end function nth\_composite(func, x0, p, n) x = x0 for \_ in 1:n x = func(x, p) end return x end …

---

## [BinaryBuilder.jl can't dlopen because of libopenlibm.so](https://discourse.julialang.org/t/binarybuilder-jl-cant-dlopen-because-of-libopenlibm-so/108486)

<div class="topic-metadata">

**Author:** [@dstahlke](https://discourse.julialang.org/u/dstahlke)\
**Replies:** 8\
**Last updated:** [January 21, 2024, 11:41am UTC](https://discourse.julialang.org/t/binarybuilder-jl-cant-dlopen-because-of-libopenlibm-so/108486 "2024-01-21T11:41:27Z")

</div>

I’m running into trouble while trying to make a wrapper for the Glasgow Subgraph Solver library (C++). I’ve created a CxxWrap wrapper and verified that it works when manually compiled. Now I’m trying to get it to build…

---

## [Making a logo for Copulas.jl](https://discourse.julialang.org/t/making-a-logo-for-copulas-jl/108976)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 34\
**Last updated:** [January 22, 2024, 10:44am UTC](https://discourse.julialang.org/t/making-a-logo-for-copulas-jl/108976 "2024-01-22T10:44:57Z")

</div>

Hey, I am trying to find a pretty logo for Copulas.jl and would like some help to find a good idea & to realize it correctly. Two years ago i had an idea in this thread to simply apply the rank transformation to (a bad …

---

## [Having issues with running NeuralPDE on GPU](https://discourse.julialang.org/t/having-issues-with-running-neuralpde-on-gpu/108581)

<div class="topic-metadata">

**Author:** [@tajimura](https://discourse.julialang.org/u/tajimura)\
**Replies:** 5\
**Last updated:** [January 22, 2024, 9:49am UTC](https://discourse.julialang.org/t/having-issues-with-running-neuralpde-on-gpu/108581 "2024-01-22T09:49:58Z")

</div>

Was trying to train a PINN for NLSE using NeuralPDE. Everything runs fine on CPU, but when I try to move calculations to GPU, I get the following error: ERROR: CuArray only supports element types that are allocated inli…

---

## [Best way to Re-Install Julia on new computer?](https://discourse.julialang.org/t/best-way-to-re-install-julia-on-new-computer/106103)

<div class="topic-metadata">

**Author:** [@CosmoProf](https://discourse.julialang.org/u/CosmoProf)\
**Replies:** 32\
**Last updated:** [January 22, 2024, 7:29am UTC](https://discourse.julialang.org/t/best-way-to-re-install-julia-on-new-computer/106103 "2024-01-22T07:29:07Z")

</div>

Hi, my computer had to be swapped for a new one, and I need to re-install Julia from scratch, making sure that all of my old Julia programs will still run correctly. The first time I installed Julia, I had a litany of p…

---

## [Makie axis tick relabelling, marching cubes algorithm output](https://discourse.julialang.org/t/makie-axis-tick-relabelling-marching-cubes-algorithm-output/109077)

<div class="topic-metadata">

**Author:** [@Mahnoor\_Pop](https://discourse.julialang.org/u/Mahnoor_Pop)\
**Replies:** 2\
**Last updated:** [January 22, 2024, 12:08am UTC](https://discourse.julialang.org/t/makie-axis-tick-relabelling-marching-cubes-algorithm-output/109077 "2024-01-22T00:08:33Z")

</div>

Hi all! I’m plotting a mesh made using MarchingCubes.jl and want to readjust the axis tick labels. Currently, the values just represent how many cubes there are along each dimension (e.g. 0:11 x 0:11 x 0:11), but I want …

---

## [Bayesian Data Analysis Meetup on January 26, 2024 @ 6:30pm](https://discourse.julialang.org/t/bayesian-data-analysis-meetup-on-january-26-2024-6-30pm/108753)

<div class="topic-metadata">

**Author:** [@bparbhu](https://discourse.julialang.org/u/bparbhu)\
**Replies:** 2\
**Last updated:** [January 21, 2024, 11:11pm UTC](https://discourse.julialang.org/t/bayesian-data-analysis-meetup-on-january-26-2024-6-30pm/108753 "2024-01-21T23:11:09Z")

</div>

Hi All, So on Friday January 26th, I’ll be hosting the first Bayesian Data Analysis Meetup for 2024. Our speaker will be Brian Ward from the Flatiron Institute, who will be giving a talk on BridgeStan, the newest in-mem…

---

## [Contourf vs contour plotting time in CairoMakie](https://discourse.julialang.org/t/contourf-vs-contour-plotting-time-in-cairomakie/109074)

<div class="topic-metadata">

**Author:** [@andrew\_burger4](https://discourse.julialang.org/u/andrew_burger4)\
**Replies:** 3\
**Last updated:** [January 21, 2024, 9:53pm UTC](https://discourse.julialang.org/t/contourf-vs-contour-plotting-time-in-cairomakie/109074 "2024-01-21T21:53:26Z")

</div>

Hello, if I run the code below with contourf and contour, I see two different times: 4.5 seconds and 1.5 seconds, respectively. Is this performance hit expected just filling in the contours? plotting() begin using …

---

## [Nested parallel computation (pmap + @distributed)](https://discourse.julialang.org/t/nested-parallel-computation-pmap-distributed/109075)

<div class="topic-metadata">

**Author:** [@structural](https://discourse.julialang.org/u/structural)\
**Replies:** 0\
**Last updated:** [January 21, 2024, 9:28pm UTC](https://discourse.julialang.org/t/nested-parallel-computation-pmap-distributed/109075 "2024-01-21T21:28:46Z")

</div>

I have N datasets (\\text{data}^{}\_1,..., \\text{data}^{}\_{10}). For each dataset I need to solve \\hat{\\theta}^{}\_{d}=\\arg\\min\\limits\_\\theta h(\\theta;\\text{data}^{}\_{d}). I am using pmap to run the optimizations in paralle…

---

## [Transform in DataFrames](https://discourse.julialang.org/t/transform-in-dataframes/109041)

<div class="topic-metadata">

**Author:** [@vsoler](https://discourse.julialang.org/u/vsoler)\
**Replies:** 13\
**Last updated:** [January 21, 2024, 9:15pm UTC](https://discourse.julialang.org/t/transform-in-dataframes/109041 "2024-01-21T21:15:04Z")

</div>

I’m struggling with transformations in DataFrames. To make it simple, let’s start with a very basic transformation. Suppose that I want to add columns :b and :c in the following DataFrame: df = DataFrame(a=repeat(\[1,2\]…

---

## [ADAM crash](https://discourse.julialang.org/t/adam-crash/109040)

<div class="topic-metadata">

**Author:** [@Anders\_Holtsberg](https://discourse.julialang.org/u/Anders_Holtsberg)\
**Replies:** 5\
**Last updated:** [January 21, 2024, 9:04pm UTC](https://discourse.julialang.org/t/adam-crash/109040 "2024-01-21T21:04:39Z")

</div>

I am getting started with Flux and learning machine learning and Julia at the same time. So I had a look at some examples and loading MNIST and running stuff in Jupyter and that works fine for me. I started experimenting…

---

## [\[ANN\] FastLapackInterface.jl v1.0.0: Non-allocating LAPACK factorizations](https://discourse.julialang.org/t/ann-fastlapackinterface-jl-v1-0-0-non-allocating-lapack-factorizations/83354)

<div class="topic-metadata">

**Author:** [@louisponet](https://discourse.julialang.org/u/louisponet)\
**Replies:** 14\
**Last updated:** [January 21, 2024, 6:58pm UTC](https://discourse.julialang.org/t/ann-fastlapackinterface-jl-v1-0-0-non-allocating-lapack-factorizations/83354 "2024-01-21T18:58:44Z")

</div>

The DynareJulia team and I are excited to announce the first major release of FastLapackInterface.jl. The package facilitates the pre-allocation of workspaces to be used with some of the most important LAPACK functions w…

---

## [Julia learning materials, how to make code work?](https://discourse.julialang.org/t/julia-learning-materials-how-to-make-code-work/109059)

<div class="topic-metadata">

**Author:** [@KZiemian](https://discourse.julialang.org/u/KZiemian)\
**Replies:** 12\
**Last updated:** [January 21, 2024, 5:13pm UTC](https://discourse.julialang.org/t/julia-learning-materials-how-to-make-code-work/109059 "2024-01-21T17:13:55Z")

</div>

Maybe I’m too picky and pedantic, but when I work thorough learning materials on any programming language and some code doesn’t work due to some breaking changes I feel frustrated or worse. I believe that I’m not the onl…

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

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