# Latest

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

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

**Page:** 731

---

## [Task type 'julia-proc'](https://discourse.julialang.org/t/task-type-julia-proc/95400)

<div class="topic-metadata">

**Author:** [@Euhan](https://discourse.julialang.org/u/Euhan)\
**Replies:** 2\
**Last updated:** [April 10, 2023, 2:18am UTC](https://discourse.julialang.org/t/task-type-julia-proc/95400 "2023-04-10T02:18:57Z")

</div>

I’m trying to use vscode with Julia. I’ve got to running a test program (with or without debugging). It seems to work but I get this message: Error: there is no registered task type 'julia-proc'. Did you miss installing…

---

## [Multiple BLISBLAS Threads on Workers](https://discourse.julialang.org/t/multiple-blisblas-threads-on-workers/97269)

<div class="topic-metadata">

**Author:** [@andrew-saydjari](https://discourse.julialang.org/u/andrew-saydjari)\
**Replies:** 3\
**Last updated:** [April 10, 2023, 12:47am UTC](https://discourse.julialang.org/t/multiple-blisblas-threads-on-workers/97269 "2023-04-10T00:47:04Z")

</div>

I am refining a BLAS intensive pipeline and have loved (and gotten a nice speedup from) BLISBLAS.jl. I happen to be running on a cluster with hyperthreading. Currently, I am running using addprocs(SlurmClusterManager()) …

---

## [Making Turing Fast with large numbers of parameters?](https://discourse.julialang.org/t/making-turing-fast-with-large-numbers-of-parameters/69072)

<div class="topic-metadata">

**Author:** [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Replies:** 127\
**Last updated:** [April 9, 2023, 10:26pm UTC](https://discourse.julialang.org/t/making-turing-fast-with-large-numbers-of-parameters/69072 "2023-04-09T22:26:35Z")

</div>

I’ve got a turing model where there are a few parameters for each of a couple hundred objects, plus some structural parameters… so let’s call it close to 500 parameters. I have a friend who has a simpler model (similar …

---

## [VSCode incredibly slow at saving files on windows](https://discourse.julialang.org/t/vscode-incredibly-slow-at-saving-files-on-windows/97286)

<div class="topic-metadata">

**Author:** [@brianguenter](https://discourse.julialang.org/u/brianguenter)\
**Replies:** 0\
**Last updated:** [April 9, 2023, 8:52pm UTC](https://discourse.julialang.org/t/vscode-incredibly-slow-at-saving-files-on-windows/97286 "2023-04-09T20:52:10Z")

</div>

VSCode is taking a long time to format and save files on Windows 11. I’ve configured VSCode to autoformat and save on change of mouse focus, so it is formatting and saving a lot. Format and save time is fast when VSCode…

---

## [Nonlinear optimization in JuMP adding the analytic gradient expression](https://discourse.julialang.org/t/nonlinear-optimization-in-jump-adding-the-analytic-gradient-expression/96867)

<div class="topic-metadata">

**Author:** [@mb96](https://discourse.julialang.org/u/mb96)\
**Replies:** 4\
**Last updated:** [April 9, 2023, 8:50pm UTC](https://discourse.julialang.org/t/nonlinear-optimization-in-jump-adding-the-analytic-gradient-expression/96867 "2023-04-09T20:50:04Z")

</div>

Hi, I am trying to solve a highly dimensional nonlinear optimization problem for which I have a function that maps a vector into a value and a its jacobian. I want to solve the problem providing the gradient but I can no…

---

## [Ann: DataFramesMeta.jl v0.14.0 Release](https://discourse.julialang.org/t/ann-dataframesmeta-jl-v0-14-0-release/97285)

<div class="topic-metadata">

**Author:** [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Replies:** 0\
**Last updated:** [April 9, 2023, 6:50pm UTC](https://discourse.julialang.org/t/ann-dataframesmeta-jl-v0-14-0-release/97285 "2023-04-09T18:50:25Z")

</div>

I am please to announce the 0.14.0 release At the outset, I apologize for the breaking change. Adding new features requires a minor version bump, yet because we are 1.0 this requires a breaking release. This is unfortun…

---

## [Non-standard string literals create global-like objects!?](https://discourse.julialang.org/t/non-standard-string-literals-create-global-like-objects/97283)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 6\
**Last updated:** [April 9, 2023, 6:26pm UTC](https://discourse.julialang.org/t/non-standard-string-literals-create-global-like-objects/97283 "2023-04-09T18:26:31Z")

</div>

I am very confused by the way non-standard string literals work when called inside of other functions. See this example with regex (but it happens with any non-standard string literal): r"a" === r"a" # false Regex("a") …

---

## [Implementation of Bennetin's algorithm for Lyapunov exponents](https://discourse.julialang.org/t/implementation-of-bennetins-algorithm-for-lyapunov-exponents/97207)

<div class="topic-metadata">

**Author:** [@Sh\_166](https://discourse.julialang.org/u/Sh_166)\
**Replies:** 1\
**Last updated:** [April 9, 2023, 5:32pm UTC](https://discourse.julialang.org/t/implementation-of-bennetins-algorithm-for-lyapunov-exponents/97207 "2023-04-09T17:32:56Z")

</div>

I want to calculate the Lyapunov indices for a system - problem is that I can’t get DynamicalSystems.jl to work (described here). Therefore, I decided to do it a much more crude way by writing out the steps myself. Now,…

---

## [How to isolate user](https://discourse.julialang.org/t/how-to-isolate-user/97280)

<div class="topic-metadata">

**Author:** [@andrey2185](https://discourse.julialang.org/u/andrey2185)\
**Replies:** 4\
**Last updated:** [April 9, 2023, 5:25pm UTC](https://discourse.julialang.org/t/how-to-isolate-user/97280 "2023-04-09T17:25:28Z")

</div>

Hello. How to isolate the user? Can I run the REPL in a slave process for a user without them having access to the master process’s data?

---

## [How to replace current module from itself?](https://discourse.julialang.org/t/how-to-replace-current-module-from-itself/97282)

<div class="topic-metadata">

**Author:** [@andrey2185](https://discourse.julialang.org/u/andrey2185)\
**Replies:** 1\
**Last updated:** [April 9, 2023, 5:23pm UTC](https://discourse.julialang.org/t/how-to-replace-current-module-from-itself/97282 "2023-04-09T17:23:31Z")

</div>

Hello, how to replace current module from itself? It is possible? Need use module REPL or enough macro?

---

## [Having trouble using types defined in extension modules?](https://discourse.julialang.org/t/having-trouble-using-types-defined-in-extension-modules/97260)

<div class="topic-metadata">

**Author:** [@marius311](https://discourse.julialang.org/u/marius311)\
**Replies:** 5\
**Last updated:** [April 9, 2023, 3:11pm UTC](https://discourse.julialang.org/t/having-trouble-using-types-defined-in-extension-modules/97260 "2023-04-09T15:11:25Z")

</div>

My setup is on Julia 1.9 I have a package Foo, it has an extension module FooBarExt, and in that I define a type MyFooBarType. Then from another module I want to do: using Foo, Bar foo(::MyFooBarType) = ... But I can’…

---

## [Tweedie distribution / Tweedie GLM](https://discourse.julialang.org/t/tweedie-distribution-tweedie-glm/44091)

<div class="topic-metadata">

**Author:** [@m-a](https://discourse.julialang.org/u/m-a)\
**Replies:** 2\
**Last updated:** [April 9, 2023, 2:15pm UTC](https://discourse.julialang.org/t/tweedie-distribution-tweedie-glm/44091 "2023-04-09T14:15:05Z")

</div>

I’m interested in fitting a GLM via GLM.jl with a Tweedie distribution (Tweedie distribution - Wikipedia), particularly when the domain of the index parameter is not a special case that’s already available. Something lik…

---

## [Can't figure out what is wrong with a simple Turing code](https://discourse.julialang.org/t/cant-figure-out-what-is-wrong-with-a-simple-turing-code/97264)

<div class="topic-metadata">

**Author:** [@StevenSiew](https://discourse.julialang.org/u/StevenSiew)\
**Replies:** 1\
**Last updated:** [April 9, 2023, 1:42pm UTC](https://discourse.julialang.org/t/cant-figure-out-what-is-wrong-with-a-simple-turing-code/97264 "2023-04-09T13:42:06Z")

</div>

This is a simple program running on a clean enviroment but it produces an error message which I could not figure out. using Pkg Pkg.add("Distributions") Pkg.add("Turing") using Distributions using Turing testData = ran…

---

## [AttributeError("module 'geopandas' has no attribute 'plotting'")](https://discourse.julialang.org/t/attributeerror-module-geopandas-has-no-attribute-plotting/97278)

<div class="topic-metadata">

**Author:** [@nirong](https://discourse.julialang.org/u/nirong)\
**Replies:** 2\
**Last updated:** [April 9, 2023, 12:59pm UTC](https://discourse.julialang.org/t/attributeerror-module-geopandas-has-no-attribute-plotting/97278 "2023-04-09T12:59:25Z")

</div>

I had some problems when using geopandas in julia. First, I run the following code to install the package: import Pkg; Pkg.add(“CondaPkg”) using CondaPkg CondaPkg.add(“geopandas”) . See How to install geopandas in ju…

---

## [Base.Chop API rationale](https://discourse.julialang.org/t/base-chop-api-rationale/96473)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 3\
**Last updated:** [April 9, 2023, 1:10pm UTC](https://discourse.julialang.org/t/base-chop-api-rationale/96473 "2023-04-09T13:10:45Z")

</div>

Base.chop chop(s::AbstractString; head::Integer = 0, tail::Integer = 1) Remove the first head and the last tail characters from s. The call chop(s) removes the last character from s. If it is requested to remove more …

---

## [Draw Parametric Equations from dsolve of SymPy with Plots](https://discourse.julialang.org/t/draw-parametric-equations-from-dsolve-of-sympy-with-plots/97270)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 2\
**Last updated:** [April 9, 2023, 12:24pm UTC](https://discourse.julialang.org/t/draw-parametric-equations-from-dsolve-of-sympy-with-plots/97270 "2023-04-09T12:24:12Z")

</div>

Hi all, I want to draw parametric equations of x(t), y(t) but I got errors: LoadError: AssertionError: !(F2 \<: Function || F2 \<: AbstractArray && F2.parameters\[1\] \<: Function) if I try plot(f,g) I got the same erro…

---

## [What is alternative command besides \`print(ivp\_vt)\` to looks like when only typing \`ivp\_vt\` in REPL?](https://discourse.julialang.org/t/what-is-alternative-command-besides-print-ivp-vt-to-looks-like-when-only-typing-ivp-vt-in-repl/97271)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 3\
**Last updated:** [April 9, 2023, 12:38pm UTC](https://discourse.julialang.org/t/what-is-alternative-command-besides-print-ivp-vt-to-looks-like-when-only-typing-ivp-vt-in-repl/97271 "2023-04-09T12:38:20Z")

</div>

This is about aesthetic matter, I want to make print(ivp\_vt) shown like when I type ivp\_vt, but the problem is if I type print(ivp\_vt) there is this bugging Eq at front and the format becomes ugly as well, the fraction…

---

## [Announcement: econometrics notes, and another econometrics.jl](https://discourse.julialang.org/t/announcement-econometrics-notes-and-another-econometrics-jl/5348)

<div class="topic-metadata">

**Author:** [@mcreel](https://discourse.julialang.org/u/mcreel)\
**Replies:** 8\
**Last updated:** [April 9, 2023, 11:20am UTC](https://discourse.julialang.org/t/announcement-econometrics-notes-and-another-econometrics-jl/5348 "2023-04-09T11:20:17Z")

</div>

Another econometrics resource that uses Julia: I am adapting my graduate level teaching notes so that the examples use Julia. These notes are at the first year Ph.D. level, and cover basic topics such as linear regressio…

---

## [Best way to get a vector of BigFloat values drawn from a uniform distribution](https://discourse.julialang.org/t/best-way-to-get-a-vector-of-bigfloat-values-drawn-from-a-uniform-distribution/97256)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 4\
**Last updated:** [April 9, 2023, 10:36am UTC](https://discourse.julialang.org/t/best-way-to-get-a-vector-of-bigfloat-values-drawn-from-a-uniform-distribution/97256 "2023-04-09T10:36:53Z")

</div>

Is there some better and simple way to implement this for BigFloat: function rand\_uniform(lo::F, hi::F, n::Signed) where {F \<: AbstractFloat} ret = Vector{F}(undef, n) dist = Distributions.Uniform(lo, hi) for i ∈ …

---

## [Problem with Genie newapp\_mvc()](https://discourse.julialang.org/t/problem-with-genie-newapp-mvc/96521)

<div class="topic-metadata">

**Author:** [@J\_Braulio\_Ramz\_G](https://discourse.julialang.org/u/J_Braulio_Ramz_G)\
**Replies:** 1\
**Last updated:** [April 8, 2023, 11:38pm UTC](https://discourse.julialang.org/t/problem-with-genie-newapp-mvc/96521 "2023-04-08T23:38:23Z")

</div>

hi, I’m trying to replicate from: GitHub - essenciary/genie-watch-tonight , but I’m getting this: julia\> Genie.newapp\_mvc("Watch tonight") ERROR: UndefVarError: newapp\_mvc not defined Stacktrace: \[1\] getproperty(x::Mod…

---

## [Convert string to JPEG](https://discourse.julialang.org/t/convert-string-to-jpeg/97254)

<div class="topic-metadata">

**Author:** [@cirobr](https://discourse.julialang.org/u/cirobr)\
**Replies:** 4\
**Last updated:** [April 8, 2023, 10:06pm UTC](https://discourse.julialang.org/t/convert-string-to-jpeg/97254 "2023-04-08T22:06:16Z")

</div>

Cheers. I have a string of over 4k characters that apparently is a JPEG image (the source I’ve downloaded says so). I’ve searched the web on how to convert the string to an image, without success. The first 50 character…

---

## [Problem with Metalhead.jl](https://discourse.julialang.org/t/problem-with-metalhead-jl/97259)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [April 8, 2023, 9:00pm UTC](https://discourse.julialang.org/t/problem-with-metalhead-jl/97259 "2023-04-08T21:00:59Z")

</div>

I try to run this code: GPU vs CPU benchmarks with Flux.jl But executing: using Metalhead, Images using Metalhead: trainimgs fails with: julia\> using Metalhead: trainimgs ERROR: UndefVarError: \`trainimgs\` not defined…

---

## [IsIndexed trait](https://discourse.julialang.org/t/isindexed-trait/91741)

<div class="topic-metadata">

**Author:** [@freeman](https://discourse.julialang.org/u/freeman)\
**Replies:** 2\
**Last updated:** [April 8, 2023, 8:35pm UTC](https://discourse.julialang.org/t/isindexed-trait/91741 "2023-04-08T20:35:09Z")

</div>

I’m trying to understand is something like a IsIndexed trait exists already, or not. This trait would be true for all things which: are collections and for each element there is\[1\] one key which has O(1) access. The …

---

## [Listview grouping popup window examples](https://discourse.julialang.org/t/listview-grouping-popup-window-examples/96092)

<div class="topic-metadata">

**Author:** [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Replies:** 5\
**Last updated:** [March 18, 2023, 12:05pm UTC](https://discourse.julialang.org/t/listview-grouping-popup-window-examples/96092 "2023-03-18T12:05:32Z")

</div>

When running a closed-loop menu-driven program, that runs on the REPL and in which different types of data items are loaded, created, deleted, etc., I would like to keep track of them in a grouped listview popup window. …

---

## [Shared axis labels](https://discourse.julialang.org/t/shared-axis-labels/97253)

<div class="topic-metadata">

**Author:** [@KZ-Spectra](https://discourse.julialang.org/u/KZ-Spectra)\
**Replies:** 0\
**Last updated:** [April 8, 2023, 6:59pm UTC](https://discourse.julialang.org/t/shared-axis-labels/97253 "2023-04-08T18:59:21Z")

</div>

I have a surface and contour plot who share the same x and y labels. The surface plot has a z label. In my attempt, the labels on the surface plot are not shown. Why? Plotting code p1 = surface(sol.t, x, z, zlabel="|u|…

---

## [Ignore derivatives in ReverseDiff](https://discourse.julialang.org/t/ignore-derivatives-in-reversediff/97252)

<div class="topic-metadata">

**Author:** [@skrinkle](https://discourse.julialang.org/u/skrinkle)\
**Replies:** 0\
**Last updated:** [April 8, 2023, 5:30pm UTC](https://discourse.julialang.org/t/ignore-derivatives-in-reversediff/97252 "2023-04-08T17:30:26Z")

</div>

I want to exclude some functions in my model code from gradient calculations, using @ignore\_derivatives from ChainRulesCore. It works with Zygote, but not with ReverseDiff. Here’s a MWE. using Zygote, ReverseDiff import…

---

## [Obtain Power Spectrum from Voltage Timeseries](https://discourse.julialang.org/t/obtain-power-spectrum-from-voltage-timeseries/97064)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 7\
**Last updated:** [April 8, 2023, 5:20pm UTC](https://discourse.julialang.org/t/obtain-power-spectrum-from-voltage-timeseries/97064 "2023-04-08T17:20:38Z")

</div>

I want to obtain Power spectrum of the Voltage Timeseries of Vela Pulsar data given in picture below :thinking: How should i implement FFTW ?

---

## [Read data file and create a dictionary from the metadata](https://discourse.julialang.org/t/read-data-file-and-create-a-dictionary-from-the-metadata/97200)

<div class="topic-metadata">

**Author:** [@Austin\_Weber](https://discourse.julialang.org/u/Austin_Weber)\
**Replies:** 14\
**Last updated:** [April 8, 2023, 4:09pm UTC](https://discourse.julialang.org/t/read-data-file-and-create-a-dictionary-from-the-metadata/97200 "2023-04-08T16:09:59Z")

</div>

I have a spectral data file in which the contents are stored like this: #FORMAT : EMSA #VERSION : 1.0 #TITLE : 2023-Apr-06 #NPOINTS : 4096 #NCOLUMNS : 1 #SPECTRUM : 0.00, 0.0 10.00, …

---

## [IntervalRootFinding -- Multithreading causes random errors?](https://discourse.julialang.org/t/intervalrootfinding-multithreading-causes-random-errors/97247)

<div class="topic-metadata">

**Author:** [@Shmuley95](https://discourse.julialang.org/u/Shmuley95)\
**Replies:** 4\
**Last updated:** [April 8, 2023, 3:23pm UTC](https://discourse.julialang.org/t/intervalrootfinding-multithreading-causes-random-errors/97247 "2023-04-08T15:23:51Z")

</div>

I have found some erratic behaviour for the IntervalRootFinding.jl package when using multithreading. Specifically, when using multiple threads, the roots interface will sometimes return either false positives for non-ex…

---

## [Switching users in a Dockerfile to precompile a package](https://discourse.julialang.org/t/switching-users-in-a-dockerfile-to-precompile-a-package/96998)

<div class="topic-metadata">

**Author:** [@SeSodesa](https://discourse.julialang.org/u/SeSodesa)\
**Replies:** 2\
**Last updated:** [April 8, 2023, 1:41pm UTC](https://discourse.julialang.org/t/switching-users-in-a-dockerfile-to-precompile-a-package/96998 "2023-04-08T13:41:19Z")

</div>

I would like to build a Docker image for grading student submissions on the A+ LMS. In addition to the base Debian system, the image would contain two separate Julia projects: /exercise\_project and /tests. The student su…

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

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