# Latest

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

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

**Page:** 415

---

## [DataFrames :auto argument no longer seems to work](https://discourse.julialang.org/t/dataframes-auto-argument-no-longer-seems-to-work/113920)

<div class="topic-metadata">

**Author:** [@alan](https://discourse.julialang.org/u/alan)\
**Replies:** 7\
**Last updated:** [May 9, 2024, 3:00pm UTC](https://discourse.julialang.org/t/dataframes-auto-argument-no-longer-seems-to-work/113920 "2024-05-09T15:00:25Z")

</div>

Has :auto been removed as an argument to DataFrame? It no longer seems to work: \> DataFrame(\[1 2; 3 4\], :auto) ERROR: MethodError: no method matching DataFrame(::Matrix{Int64}, ::Symbol) Closest candidates are: DataF…

---

## [Isupper is not working](https://discourse.julialang.org/t/isupper-is-not-working/114058)

<div class="topic-metadata">

**Author:** [@Xabo](https://discourse.julialang.org/u/Xabo)\
**Replies:** 3\
**Last updated:** [May 9, 2024, 2:25pm UTC](https://discourse.julialang.org/t/isupper-is-not-working/114058 "2024-05-09T14:25:20Z")

</div>

Just to make sure that the package is installed even though the Unicode package is in the standard library so I don’t need to add it, I write these simple lines and still does not work: julia\> using Pkg julia\> Pkg.add(…

---

## [Setting line length limits in VS Code](https://discourse.julialang.org/t/setting-line-length-limits-in-vs-code/113747)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 6\
**Last updated:** [May 9, 2024, 1:59pm UTC](https://discourse.julialang.org/t/setting-line-length-limits-in-vs-code/113747 "2024-05-09T13:59:11Z")

</div>

Does anyone know how to set a 92 character line length limit or a vertical reference line in VS code?

---

## [Makie, make axes invisible?](https://discourse.julialang.org/t/makie-make-axes-invisible/20796)

<div class="topic-metadata">

**Author:** [@hhaensel](https://discourse.julialang.org/u/hhaensel)\
**Replies:** 14\
**Last updated:** [May 9, 2024, 1:11pm UTC](https://discourse.julialang.org/t/makie-make-axes-invisible/20796 "2024-05-09T13:11:43Z")

</div>

I really enjoy the fastness of Makie! I think it can really become the next generation plotting tool for Julia. Currently I am struggelling with the axis interface. Is there any convenient possibility to make the axes …

---

## [Acceleration of Intel MKL on AMD Ryzen CPU's](https://discourse.julialang.org/t/acceleration-of-intel-mkl-on-amd-ryzen-cpus/31287)

<div class="topic-metadata">

**Author:** [@RoyiAvital](https://discourse.julialang.org/u/RoyiAvital)\
**Replies:** 34\
**Last updated:** [May 9, 2024, 12:07pm UTC](https://discourse.julialang.org/t/acceleration-of-intel-mkl-on-amd-ryzen-cpus/31287 "2024-05-09T12:07:11Z")

</div>

Some of us use Intel MKL with Julia for improved performance. Intel MKL is composed of few code paths for different features of the CPU (SSE2, SSE4, AVX2, AVX512, etc…). One of the issues of MKL is it discriminate non …

---

## [Annual Download Statistics for a given package?](https://discourse.julialang.org/t/annual-download-statistics-for-a-given-package/114050)

<div class="topic-metadata">

**Author:** [@terasakisatoshi](https://discourse.julialang.org/u/terasakisatoshi)\
**Replies:** 0\
**Last updated:** [May 9, 2024, 11:54am UTC](https://discourse.julialang.org/t/annual-download-statistics-for-a-given-package/114050 "2024-05-09T11:54:00Z")

</div>

I am trying to investigate how many people are downloading for a given Julia package. I mean I would like to get data something like below: package\_uuid, year, request\_count \<UUIDExample\>, 2020, 10 \<UUIDExample\>, 2021,…

---

## [Efficient weighted sum for arbitrary data types](https://discourse.julialang.org/t/efficient-weighted-sum-for-arbitrary-data-types/113992)

<div class="topic-metadata">

**Author:** [@baxmittens](https://discourse.julialang.org/u/baxmittens)\
**Replies:** 7\
**Last updated:** [May 9, 2024, 11:26am UTC](https://discourse.julialang.org/t/efficient-weighted-sum-for-arbitrary-data-types/113992 "2024-05-09T11:26:58Z")

</div>

Hello all, I have some old Julia code, e.g., DistributedSparseGrids.jl, written in 2016, which uses in-place math operations on custom data types implemented by proprietary in-place operator functions. The task I alw…

---

## [How to render such interactive 3D scenes/plots in Makie?](https://discourse.julialang.org/t/how-to-render-such-interactive-3d-scenes-plots-in-makie/114037)

<div class="topic-metadata">

**Author:** [@Maddy](https://discourse.julialang.org/u/Maddy)\
**Replies:** 2\
**Last updated:** [May 9, 2024, 11:02am UTC](https://discourse.julialang.org/t/how-to-render-such-interactive-3d-scenes-plots-in-makie/114037 "2024-05-09T11:02:27Z")

</div>

I’m working on this molecule simulation and wanna make a couple of dots move around in 3D. I’ve worked with GLMakie very little (was creating just some basic scenes). In fact, I’ve worked with plots for the first time…

---

## [Colour Bar for heatmap does not render for SVG](https://discourse.julialang.org/t/colour-bar-for-heatmap-does-not-render-for-svg/114039)

<div class="topic-metadata">

**Author:** [@xztt](https://discourse.julialang.org/u/xztt)\
**Replies:** 3\
**Last updated:** [May 9, 2024, 10:04am UTC](https://discourse.julialang.org/t/colour-bar-for-heatmap-does-not-render-for-svg/114039 "2024-05-09T10:04:23Z")

</div>

When rendering a heatmap with a colour bar as a PNG this displays perfectly However when I render as an svg the colour bar goes black. Image and MWE below using CairoMakie a = rand(10,10) f = Figure(); ax = Axis(f…

---

## [Makie - Removing background grid from qplot](https://discourse.julialang.org/t/makie-removing-background-grid-from-qplot/114046)

<div class="topic-metadata">

**Author:** [@alex123](https://discourse.julialang.org/u/alex123)\
**Replies:** 1\
**Last updated:** [May 9, 2024, 9:35am UTC](https://discourse.julialang.org/t/makie-removing-background-grid-from-qplot/114046 "2024-05-09T09:35:46Z")

</div>

Hi, when using the command qplot(green, children =(; selector = siteselector(cells = 1:3), sitecolor = :blue), hide = :hops) I get the following plot: I would like to only have a plain white background, without the…

---

## [Use FiniteDiff.jl in Turing.jl](https://discourse.julialang.org/t/use-finitediff-jl-in-turing-jl/113816)

<div class="topic-metadata">

**Author:** [@mleprovost](https://discourse.julialang.org/u/mleprovost)\
**Replies:** 20\
**Last updated:** [May 9, 2024, 8:44am UTC](https://discourse.julialang.org/t/use-finitediff-jl-in-turing-jl/113816 "2024-05-09T08:44:51Z")

</div>

Hello, I have a user-defined density which does not support automatic differentiation (the function gamma\_inv\_cdf in SpecialFunctions.jl does not support AD). Is there a support for finite difference calculation with F…

---

## [Online talk on optimizations in JIT compilers](https://discourse.julialang.org/t/online-talk-on-optimizations-in-jit-compilers/114043)

<div class="topic-metadata">

**Author:** [@xiaoxi](https://discourse.julialang.org/u/xiaoxi)\
**Replies:** 0\
**Last updated:** [May 9, 2024, 8:31am UTC](https://discourse.julialang.org/t/online-talk-on-optimizations-in-jit-compilers/114043 "2024-05-09T08:31:47Z")

</div>

Next May 18 there will be an online talk about optimization in JIT compilers. I wonder how useful this talk can be to better understand how the Julia compiler works. Title of the talk : Fixing the see-saw: Enabling pre…

---

## [After Update CUDA, CUDA.jl LoadError](https://discourse.julialang.org/t/after-update-cuda-cuda-jl-loaderror/114042)

<div class="topic-metadata">

**Author:** [@albenstein](https://discourse.julialang.org/u/albenstein)\
**Replies:** 0\
**Last updated:** [May 9, 2024, 8:25am UTC](https://discourse.julialang.org/t/after-update-cuda-cuda-jl-loaderror/114042 "2024-05-09T08:25:24Z")

</div>

Hi there all, After update CUDA to 12.4, CUDA.jl gives this error: ERROR: LoadError: UndefVarError: generic\_trimatmul! not defined Stacktrace: \[1\] getproperty(x::Module, f::Symbol) @ Base ./Base.jl:31 \[2\] top-level…

---

## [Why it is possible to use a global variable in a custom function that declares later than the function declaration?](https://discourse.julialang.org/t/why-it-is-possible-to-use-a-global-variable-in-a-custom-function-that-declares-later-than-the-function-declaration/114034)

<div class="topic-metadata">

**Author:** [@Monkiesh](https://discourse.julialang.org/u/Monkiesh)\
**Replies:** 3\
**Last updated:** [May 9, 2024, 8:14am UTC](https://discourse.julialang.org/t/why-it-is-possible-to-use-a-global-variable-in-a-custom-function-that-declares-later-than-the-function-declaration/114034 "2024-05-09T08:14:30Z")

</div>

Hi Julianners, I am new to Julia. Recently, I find it’s weird that I can use a global variable declares later when I am writing a function. Here is an example: function p(a::Int) return a+b end b = 2 c = p(1) @sho…

---

## [Iterative Filter Loop Help:](https://discourse.julialang.org/t/iterative-filter-loop-help/114036)

<div class="topic-metadata">

**Author:** [@GeodeticR](https://discourse.julialang.org/u/GeodeticR)\
**Replies:** 3\
**Last updated:** [May 9, 2024, 7:51am UTC](https://discourse.julialang.org/t/iterative-filter-loop-help/114036 "2024-05-09T07:51:16Z")

</div>

I was able to create a single filter quickly such that every station that matched was collected and written to a file for that particular epoch. This is how I wrote it: # Individual Filter for GPS time series: c\_glob …

---

## [Laplacian for a minimized function](https://discourse.julialang.org/t/laplacian-for-a-minimized-function/103836)

<div class="topic-metadata">

**Author:** [@yosuga](https://discourse.julialang.org/u/yosuga)\
**Replies:** 10\
**Last updated:** [May 9, 2024, 7:36am UTC](https://discourse.julialang.org/t/laplacian-for-a-minimized-function/103836 "2024-05-09T07:36:15Z")

</div>

I’m trying to evaluate the following laplacian(b). using Optim using ForwardDiff function f(a,b) sin(a\[1\])\*(cos(a\[2\]) + cos(b\[1\]+b\[2\])) end function g(b) h(a) = f(a,b) res = optimize(h,zeros(2)) return…

---

## [Efficient Dual Problems in JuMP? Or: Avoiding Symbolic Overheads with Complex Objectives?](https://discourse.julialang.org/t/efficient-dual-problems-in-jump-or-avoiding-symbolic-overheads-with-complex-objectives/113953)

<div class="topic-metadata">

**Author:** [@SebKrantz](https://discourse.julialang.org/u/SebKrantz)\
**Replies:** 12\
**Last updated:** [May 9, 2024, 5:34am UTC](https://discourse.julialang.org/t/efficient-dual-problems-in-jump-or-avoiding-symbolic-overheads-with-complex-objectives/113953 "2024-05-09T05:34:53Z")

</div>

I am developing OptimalTransportNetworks,jl, a Julia library to compute optimal transport networks in spatial equilibirium originally implemented in MATLAB. Having succesfully implemented all model cases in JuMP, I am n…

---

## [\[Call for Maintainers\] JuliaAstro packages: AstroBase.jl, AstroTime.jl, EarthOrientation.jl, ERFA.jl, SPICE.jl](https://discourse.julialang.org/t/call-for-maintainers-juliaastro-packages-astrobase-jl-astrotime-jl-earthorientation-jl-erfa-jl-spice-jl/110402)

<div class="topic-metadata">

**Author:** [@helgee](https://discourse.julialang.org/u/helgee)\
**Replies:** 1\
**Last updated:** [May 9, 2024, 3:31am UTC](https://discourse.julialang.org/t/call-for-maintainers-juliaastro-packages-astrobase-jl-astrotime-jl-earthorientation-jl-erfa-jl-spice-jl/110402 "2024-05-09T03:31:41Z")

</div>

Hi folks, Unfortunately, I have come to the conclusion that due to my current life circumstances I will not be able to give the following JuliaAstro packages the attention that they deserve for the foreseeable future. I…

---

## [BenchmakeProfiles equivalent for some metric where larger is better](https://discourse.julialang.org/t/benchmakeprofiles-equivalent-for-some-metric-where-larger-is-better/114032)

<div class="topic-metadata">

**Author:** [@yhuang](https://discourse.julialang.org/u/yhuang)\
**Replies:** 0\
**Last updated:** [May 9, 2024, 2:15am UTC](https://discourse.julialang.org/t/benchmakeprofiles-equivalent-for-some-metric-where-larger-is-better/114032 "2024-05-09T02:15:41Z")

</div>

BenchmarkProfiles is a great plotting tool for running time/memory usage comparison. I wonder if there is any equivalent to it when the metric I want to look at has the property larger is better. For example, I’m compa…

---

## [Can't start language server with nightly Julia, "Package REPL does not have StyledStrings in its dependencies"](https://discourse.julialang.org/t/cant-start-language-server-with-nightly-julia-package-repl-does-not-have-styledstrings-in-its-dependencies/110071)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 4\
**Last updated:** [May 9, 2024, 1:22am UTC](https://discourse.julialang.org/t/cant-start-language-server-with-nightly-julia-package-repl-does-not-have-styledstrings-in-its-dependencies/110071 "2024-05-09T01:22:15Z")

</div>

Log head: Activating project at \`~/.vscode-oss/extensions/julialang.language-julia-insider-1.7.13-universal/scripts/environments/languageserver/fallback\` \[ Info: Starting the Julia Language Server ERROR: LoadError: Ar…

---

## [Why is this CUDA interpolation kernel scaling poorly?](https://discourse.julialang.org/t/why-is-this-cuda-interpolation-kernel-scaling-poorly/114008)

<div class="topic-metadata">

**Author:** [@leestrobel](https://discourse.julialang.org/u/leestrobel)\
**Replies:** 1\
**Last updated:** [May 8, 2024, 8:10pm UTC](https://discourse.julialang.org/t/why-is-this-cuda-interpolation-kernel-scaling-poorly/114008 "2024-05-08T20:10:10Z")

</div>

I’m quite new to CUDA programming with Julia. I have been trying to write a CUDA kernel for doing a simple 1D interpolation on a uniform logarithmic grid - here is the function: function CUDA\_interpolate!(out,ydata,E) …

---

## [Multiple shooting and multiple options](https://discourse.julialang.org/t/multiple-shooting-and-multiple-options/113659)

<div class="topic-metadata">

**Author:** [@JordiBolibar](https://discourse.julialang.org/u/JordiBolibar)\
**Replies:** 7\
**Last updated:** [May 8, 2024, 10:48pm UTC](https://discourse.julialang.org/t/multiple-shooting-and-multiple-options/113659 "2024-05-08T22:48:09Z")

</div>

I am trying to add multiple shooting to a neural differential equation. After browsing multiple options, I see I have two possibilities: Use DiffEqFlux.jl’s multiple\_shoot Use DiffEqParamEstim.jl’s multiple\_shooting\_ob…

---

## [\[Ann\] NelsonRules.jl: Julia implementation of the Nelson Rules](https://discourse.julialang.org/t/ann-nelsonrules-jl-julia-implementation-of-the-nelson-rules/114030)

<div class="topic-metadata">

**Author:** [@bluesmoon](https://discourse.julialang.org/u/bluesmoon)\
**Replies:** 0\
**Last updated:** [May 8, 2024, 10:25pm UTC](https://discourse.julialang.org/t/ann-nelsonrules-jl-julia-implementation-of-the-nelson-rules/114030 "2024-05-08T22:25:49Z")

</div>

Announcing NelsonRules.jl, a Julia implementation of the Nelson Rules. Nelson rules are a method in process control of determining whether some measured variable is out of control (unpredictable versus consistent). Cod…

---

## [Acausal modeling and Unreal Engine](https://discourse.julialang.org/t/acausal-modeling-and-unreal-engine/111016)

<div class="topic-metadata">

**Author:** [@joelreymont](https://discourse.julialang.org/u/joelreymont)\
**Replies:** 16\
**Last updated:** [May 8, 2024, 9:02pm UTC](https://discourse.julialang.org/t/acausal-modeling-and-unreal-engine/111016 "2024-05-08T21:02:37Z")

</div>

I would like to simulate a quadrocopter using Julia and visualize it in Unreal Engine. I figure ModelingToolkit.jl should let me model the energy consumption of the on-board drone battery and optimize trajectories, etc.…

---

## [Adding julia to webots supported languages](https://discourse.julialang.org/t/adding-julia-to-webots-supported-languages/74419)

<div class="topic-metadata">

**Author:** [@kobied](https://discourse.julialang.org/u/kobied)\
**Replies:** 1\
**Last updated:** [May 8, 2024, 8:39pm UTC](https://discourse.julialang.org/t/adding-julia-to-webots-supported-languages/74419 "2024-05-08T20:39:46Z")

</div>

Hello, as from 2019 webots, which is a robotic simulation sofware, has become open source. Today webots supports C, C++, python and matlab languages. I think that it’ll be greate if Julia will be added to the supporte…

---

## [Changing order of variables and constraints in Highs](https://discourse.julialang.org/t/changing-order-of-variables-and-constraints-in-highs/113959)

<div class="topic-metadata">

**Author:** [@mohammad\_amini](https://discourse.julialang.org/u/mohammad_amini)\
**Replies:** 3\
**Last updated:** [May 8, 2024, 8:27pm UTC](https://discourse.julialang.org/t/changing-order-of-variables-and-constraints-in-highs/113959 "2024-05-08T20:27:20Z")

</div>

Hi. I’m working with JuMP to solve a mathematical optimization problem. I’ve realized that when I use functions like copy(model) or methods to relax models, such as the code snippet below, the order of constraints and v…

---

## [Guidance needed for ODE problem](https://discourse.julialang.org/t/guidance-needed-for-ode-problem/113956)

<div class="topic-metadata">

**Author:** [@BALWWE](https://discourse.julialang.org/u/BALWWE)\
**Replies:** 2\
**Last updated:** [May 8, 2024, 8:22pm UTC](https://discourse.julialang.org/t/guidance-needed-for-ode-problem/113956 "2024-05-08T20:22:48Z")

</div>

to find min time to steer x0=0 to xf=100 for the dynamics x’=y, y’=u-a y-by^2, u= 1, 0, -1, a=b=0.4

---

## [ERROR: LoadError: PCRE JIT error: no more memory](https://discourse.julialang.org/t/error-loaderror-pcre-jit-error-no-more-memory/113859)

<div class="topic-metadata">

**Author:** [@TimG](https://discourse.julialang.org/u/TimG)\
**Replies:** 4\
**Last updated:** [May 8, 2024, 6:58pm UTC](https://discourse.julialang.org/t/error-loaderror-pcre-jit-error-no-more-memory/113859 "2024-05-08T18:58:08Z")

</div>

I’m encountering this error and as far as I can tell it is related to my use of a regular expression. I’m using proprietary commercial data, so can’t easily share. However, I’m trying to read a set of files from a very …

---

## [Odd behavior with closures and let block (inside script)](https://discourse.julialang.org/t/odd-behavior-with-closures-and-let-block-inside-script/114007)

<div class="topic-metadata">

**Author:** [@martin.auer](https://discourse.julialang.org/u/martin.auer)\
**Replies:** 9\
**Last updated:** [May 8, 2024, 4:57pm UTC](https://discourse.julialang.org/t/odd-behavior-with-closures-and-let-block-inside-script/114007 "2024-05-08T16:57:58Z")

</div>

Hi, I try to hide some state in a let block, as in Does Julia Need a C++ style \`static\` keyword? - #4 by antoine-levitt (In particular, I don’t want it in the module scope.) Here are 3 variants of a counter given in s…

---

## [HPC Cafe video](https://discourse.julialang.org/t/hpc-cafe-video/114010)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 0\
**Last updated:** [May 8, 2024, 4:31pm UTC](https://discourse.julialang.org/t/hpc-cafe-video/114010 "2024-05-08T16:31:45Z")

</div>

Marvellous video from @carstenbauer I would save this to show to any HPC types asking about Julia

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

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