# Latest

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

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

**Page:** 524

---

## [Creating a system image on Raspery Pi 5](https://discourse.julialang.org/t/creating-a-system-image-on-raspery-pi-5/108016)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 2\
**Last updated:** [December 25, 2023, 8:09pm UTC](https://discourse.julialang.org/t/creating-a-system-image-on-raspery-pi-5/108016 "2023-12-25T20:09:23Z")

</div>

I wrote a script to create a system image on the Pi 5 for my current project, see: I am using ModelingToolkit and other libraries that result in a very large system image. This causes some issues, mainly the RAM requ…

---

## [Using mapreduce on GPU with CUDA.jl](https://discourse.julialang.org/t/using-mapreduce-on-gpu-with-cuda-jl/108023)

<div class="topic-metadata">

**Author:** [@huguesmp](https://discourse.julialang.org/u/huguesmp)\
**Replies:** 1\
**Last updated:** [December 25, 2023, 7:50pm UTC](https://discourse.julialang.org/t/using-mapreduce-on-gpu-with-cuda-jl/108023 "2023-12-25T19:50:47Z")

</div>

Hello, I’m trying to get acquainted with GPU programming with CUDA.jl, and to start off I’m trying to stick to Array operations to keep things simple. In this MWE, the GPU version will not compile because of “dynamic f…

---

## [Calling another library from CUDA.jl](https://discourse.julialang.org/t/calling-another-library-from-cuda-jl/107981)

<div class="topic-metadata">

**Author:** [@AshtonSBradley](https://discourse.julialang.org/u/AshtonSBradley)\
**Replies:** 1\
**Last updated:** [December 25, 2023, 7:46pm UTC](https://discourse.julialang.org/t/calling-another-library-from-cuda-jl/107981 "2023-12-25T19:46:09Z")

</div>

Hi all, I want to call another library on the GPU (external to CUDA.jl) and have the rest of the code use the high level CUDA.jl array interface. It this possible to call an external library from CUDA.jl? Any advice g…

---

## [Multi-threading with DataFrames](https://discourse.julialang.org/t/multi-threading-with-dataframes/101859)

<div class="topic-metadata">

**Author:** [@roh\_codeur](https://discourse.julialang.org/u/roh_codeur)\
**Replies:** 33\
**Last updated:** [December 24, 2023, 3:36pm UTC](https://discourse.julialang.org/t/multi-threading-with-dataframes/101859 "2023-12-24T15:36:02Z")

</div>

Hi I am trying to figure out how multi-threading works with data frames. Example 1: using DataFrames, ProgressMeter df = DataFrame(reshape(1:50\_000\_000, :, 25), :auto); df.id1 = repeat(1:10\_000, 200); df.id2 = string…

---

## [Convert String to function name](https://discourse.julialang.org/t/convert-string-to-function-name/1547)

<div class="topic-metadata">

**Author:** [@vics0000](https://discourse.julialang.org/u/vics0000)\
**Replies:** 28\
**Last updated:** [December 25, 2023, 3:41pm UTC](https://discourse.julialang.org/t/convert-string-to-function-name/1547 "2023-12-25T15:41:07Z")

</div>

It is reasonably trivial to create a dataframe of function calls and then use the table to conditionally execute those functions. My question is, can the dataframe be stored to a file and then recovered? When stored to …

---

## [KernelAbstractions Autotuning](https://discourse.julialang.org/t/kernelabstractions-autotuning/108013)

<div class="topic-metadata">

**Author:** [@smartalecH](https://discourse.julialang.org/u/smartalecH)\
**Replies:** 1\
**Last updated:** [December 25, 2023, 11:48am UTC](https://discourse.julialang.org/t/kernelabstractions-autotuning/108013 "2023-12-25T11:48:29Z")

</div>

I’m going through the recent paper comparing batched KernelAbstractions kernels to standard array batching in jax and pytorch. In section 5.1.2, I found this interesting tidbit: KernelAbstractions.jl performs a limited…

---

## [Labeled vector or vector view of nested structure](https://discourse.julialang.org/t/labeled-vector-or-vector-view-of-nested-structure/108031)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 1\
**Last updated:** [December 25, 2023, 11:28am UTC](https://discourse.julialang.org/t/labeled-vector-or-vector-view-of-nested-structure/108031 "2023-12-25T11:28:38Z")

</div>

I am trying to organize a computation which maps a parameter vector p to various residuals r = f(p), and then solves for the root using a multivariate rootfinder. This part is simple. But then I want to understand and p…

---

## [Good line numbers in macro expansions](https://discourse.julialang.org/t/good-line-numbers-in-macro-expansions/107425)

<div class="topic-metadata">

**Author:** [@cstjean](https://discourse.julialang.org/u/cstjean)\
**Replies:** 5\
**Last updated:** [December 25, 2023, 1:37am UTC](https://discourse.julialang.org/t/good-line-numbers-in-macro-expansions/107425 "2023-12-25T01:37:24Z")

</div>

My macros often have poor line numbers. For instance, given this simple macro, macro add\_hi(def) @capture(def, function f\_(args\_\_) body\_\_ end) esc(:(function $f($(args...)) println(hi); $body end)) end a…

---

## [Should Base.literal\_pow be public?](https://discourse.julialang.org/t/should-base-literal-pow-be-public/107942)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 1\
**Last updated:** [December 25, 2023, 12:40am UTC](https://discourse.julialang.org/t/should-base-literal-pow-be-public/107942 "2023-12-25T00:40:28Z")

</div>

Currently, x^2 is lowered to Base.literal\_pow(^, x, ::Val{2}). If no method is defined for this, it calls ^(x,2). This seems to imply that packages should specialize Base.literal\_pow for custom types, but they shouldn’t …

---

## [Complex exponentiation: 1^x ≈ 2](https://discourse.julialang.org/t/complex-exponentiation-1-x-2/107994)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 6\
**Last updated:** [December 24, 2023, 11:38pm UTC](https://discourse.julialang.org/t/complex-exponentiation-1-x-2/107994 "2023-12-24T23:38:47Z")

</div>

I have a mind worm, and I’m trying to figure out how we might express this in Julia. Examine the following REPL log including complex exponentiation. julia\> x = -1im \* log(2)/(2π) 0.0 - 0.1103178000763258im julia\> 1…

---

## [This month in Julia world - 2023-12](https://discourse.julialang.org/t/this-month-in-julia-world-2023-12/108020)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 0\
**Last updated:** [December 24, 2023, 10:54pm UTC](https://discourse.julialang.org/t/this-month-in-julia-world-2023-12/108020 "2023-12-24T22:54:40Z")

</div>

A bit early this month. Enjoy the holidays. A monthly newsletter, mostly on julia internals, digestible for casual observers. A biased, incomplete, editorialized list of what I found interesting this month, with contrib…

---

## [Atreplinit and DrWatson's quickactivate at startup.jl file](https://discourse.julialang.org/t/atreplinit-and-drwatsons-quickactivate-at-startup-jl-file/107969)

<div class="topic-metadata">

**Author:** [@mocalvao](https://discourse.julialang.org/u/mocalvao)\
**Replies:** 5\
**Last updated:** [December 24, 2023, 8:18pm UTC](https://discourse.julialang.org/t/atreplinit-and-drwatsons-quickactivate-at-startup-jl-file/107969 "2023-12-24T20:18:34Z")

</div>

Dear all, I would like to have a startup.jl file which, when Julia is called interactively, from the REPL, at a given directory, automatically: uses OhMyREPL, DrWatson and Revise packages activates a possible project …

---

## [PINN using Flux](https://discourse.julialang.org/t/pinn-using-flux/107782)

<div class="topic-metadata">

**Author:** [@andres](https://discourse.julialang.org/u/andres)\
**Replies:** 4\
**Last updated:** [December 24, 2023, 4:32pm UTC](https://discourse.julialang.org/t/pinn-using-flux/107782 "2023-12-24T16:32:05Z")

</div>

Hello, folks I’m trying to create a Physics-Informed Neural Network (PINN) to solve the harmonic oscillator using Flux. The idea was to make a Julia version based on the following link, whose implementation is in Pytho…

---

## [Navigating within Julia REPL?](https://discourse.julialang.org/t/navigating-within-julia-repl/107978)

<div class="topic-metadata">

**Author:** [@benslinux](https://discourse.julialang.org/u/benslinux)\
**Replies:** 17\
**Last updated:** [December 24, 2023, 3:03pm UTC](https://discourse.julialang.org/t/navigating-within-julia-repl/107978 "2023-12-24T15:03:00Z")

</div>

"/home/grimm" julia\> julia\> using Pkg julia\> Pkg.generate("HelloWorld") Generating project HelloWorld: HelloWorld/Project.toml HelloWorld/src/HelloWorld.jl Dict{String, Base.UUID} with 1 entry: "HelloWorl…

---

## [How to remove specific collumn from ModelFrame (StatsModels.jl)?](https://discourse.julialang.org/t/how-to-remove-specific-collumn-from-modelframe-statsmodels-jl/106864)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 11\
**Last updated:** [December 24, 2023, 2:32pm UTC](https://discourse.julialang.org/t/how-to-remove-specific-collumn-from-modelframe-statsmodels-jl/106864 "2023-12-24T14:32:55Z")

</div>

Hello! I have ModelFrame from data: mf = ModelFrame(@formula(y ~ 1 + x\*y), df)) where ‘x’ and ‘y’ - categorical. But I have rank-deficient modelmatrix(mf) and want to drop rank-deficient columns, I can identify them…

---

## [Discarding rows of dataframe base on condition on column of another dataframe](https://discourse.julialang.org/t/discarding-rows-of-dataframe-base-on-condition-on-column-of-another-dataframe/107973)

<div class="topic-metadata">

**Author:** [@mocalvao](https://discourse.julialang.org/u/mocalvao)\
**Replies:** 6\
**Last updated:** [December 24, 2023, 12:07pm UTC](https://discourse.julialang.org/t/discarding-rows-of-dataframe-base-on-condition-on-column-of-another-dataframe/107973 "2023-12-24T12:07:06Z")

</div>

Hi there, I have two dataframes: df1=DataFrame(Student=\["Abel", "Beatriz", "Beatriz", "Caio", "Dario", "Dario"\],Class=\["12", "12", "10", "11", "13", "14"\], Professor=\["John", "John", "Jack", "Moe", "Heather", "Lisa"\], …

---

## [Lsqfit Nonlinear Regression Using Two Parameters: One Parameter Is Stuck At The Initial Parameter Value](https://discourse.julialang.org/t/lsqfit-nonlinear-regression-using-two-parameters-one-parameter-is-stuck-at-the-initial-parameter-value/108001)

<div class="topic-metadata">

**Author:** [@HNormanW](https://discourse.julialang.org/u/HNormanW)\
**Replies:** 0\
**Last updated:** [December 24, 2023, 8:53am UTC](https://discourse.julialang.org/t/lsqfit-nonlinear-regression-using-two-parameters-one-parameter-is-stuck-at-the-initial-parameter-value/108001 "2023-12-24T08:53:48Z")

</div>

Hi, I’m trying to run a nonlinear regression fit for a perturbation function, but it seems to only fit one of my two parameters. The perturbation function is for modeling grating efficacy curves, with wavelength as the …

---

## [\[Workgroup\] JuliaHealth Vote: Times for Monthly Meetings in Asia-Pacific and Oceania?](https://discourse.julialang.org/t/workgroup-juliahealth-vote-times-for-monthly-meetings-in-asia-pacific-and-oceania/107743)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 4\
**Last updated:** [December 24, 2023, 7:14am UTC](https://discourse.julialang.org/t/workgroup-juliahealth-vote-times-for-monthly-meetings-in-asia-pacific-and-oceania/107743 "2023-12-24T07:14:15Z")

</div>

TL;DR: We need your help to make JuliaHealth more internationally inclusive! Vote below and respond! Hi Julia community! :wave: In our last JuliaHealth talk of the year, we discussed ways of making JuliaHealth monthl…

---

## [Issues with computing gradient with ForwardDiff.jl (Any fixes other than ND?)](https://discourse.julialang.org/t/issues-with-computing-gradient-with-forwarddiff-jl-any-fixes-other-than-nd/107989)

<div class="topic-metadata">

**Author:** [@ayushinav](https://discourse.julialang.org/u/ayushinav)\
**Replies:** 2\
**Last updated:** [December 24, 2023, 4:30am UTC](https://discourse.julialang.org/t/issues-with-computing-gradient-with-forwarddiff-jl-any-fixes-other-than-nd/107989 "2023-12-24T04:30:06Z")

</div>

When training a model using the boundary loss function, how do you all compute gradients? We can easily apply numerical differentiaion and get things up and running and I’ve seen a good example here. The Flux.gradient(.…

---

## [Advice on contributing to std libs](https://discourse.julialang.org/t/advice-on-contributing-to-std-libs/107980)

<div class="topic-metadata">

**Author:** [@nomadbl](https://discourse.julialang.org/u/nomadbl)\
**Replies:** 4\
**Last updated:** [December 24, 2023, 3:08am UTC](https://discourse.julialang.org/t/advice-on-contributing-to-std-libs/107980 "2023-12-24T03:08:49Z")

</div>

Hello everyone. I would like to contribute a small improvement to LinearAlgebra. However I’m encountering some difficulty and came to ask for further instructions. I started by cloning and ran make at the root of the /…

---

## [Documenter update koan](https://discourse.julialang.org/t/documenter-update-koan/107985)

<div class="topic-metadata">

**Author:** [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Replies:** 0\
**Last updated:** [December 23, 2023, 6:55pm UTC](https://discourse.julialang.org/t/documenter-update-koan/107985 "2023-12-23T18:55:53Z")

</div>

I just updated SIAMFANLEquations.jl to fix some compats in Project.toml. Everything seemed to go well and automerge was successful. However, I got an error from the update to README.md that I did successfully before…

---

## [Overloading constructor](https://discourse.julialang.org/t/overloading-constructor/107959)

<div class="topic-metadata">

**Author:** [@jabru](https://discourse.julialang.org/u/jabru)\
**Replies:** 2\
**Last updated:** [December 23, 2023, 10:37am UTC](https://discourse.julialang.org/t/overloading-constructor/107959 "2023-12-23T10:37:21Z")

</div>

Hi there, so I am currently working on a Julia script that reads unformatted binary Fortran files. For this, I am using the package “FortranFiles.jl”. After importing, one can create FortranFile objects with the comman…

---

## [How to update learning rate during Flux training in a better manner?](https://discourse.julialang.org/t/how-to-update-learning-rate-during-flux-training-in-a-better-manner/53101)

<div class="topic-metadata">

**Author:** [@Manu\_Francis](https://discourse.julialang.org/u/Manu_Francis)\
**Replies:** 7\
**Last updated:** [December 23, 2023, 5:37am UTC](https://discourse.julialang.org/t/how-to-update-learning-rate-during-flux-training-in-a-better-manner/53101 "2023-12-23T05:37:16Z")

</div>

Hi, I am trying to update the training rate during training. I did it with custom training loop like below: using Flux using Flux: @epochs using Flux: Flux.Data.DataLoader M = 10 N = 15 O = 2 X = repeat(1.0:10.0, ou…

---

## [Learning rate scheduler with the new interface of Flux](https://discourse.julialang.org/t/learning-rate-scheduler-with-the-new-interface-of-flux/107142)

<div class="topic-metadata">

**Author:** [@iHany](https://discourse.julialang.org/u/iHany)\
**Replies:** 4\
**Last updated:** [December 23, 2023, 5:34am UTC](https://discourse.julialang.org/t/learning-rate-scheduler-with-the-new-interface-of-flux/107142 "2023-12-23T05:34:07Z")

</div>

Hi, I’ve not been actively using Flux.jl for a while and I found that the interface of Flux has changed a bit. Here is the docs of Flux, “Scheduling Optimisers”. It seems like that using ParameterSchedulers.jl is reco…

---

## [Warmup option in FluxTraining.jl](https://discourse.julialang.org/t/warmup-option-in-fluxtraining-jl/107773)

<div class="topic-metadata">

**Author:** [@cirobr](https://discourse.julialang.org/u/cirobr)\
**Replies:** 1\
**Last updated:** [December 23, 2023, 5:08am UTC](https://discourse.julialang.org/t/warmup-option-in-fluxtraining-jl/107773 "2023-12-23T05:08:49Z")

</div>

Cheers. I’m using FluxTraining.jl. I wonder if there is a kind of warmup option, which would allow training of n epochs without early stopping. If such an option is not implemented, any hint on how to do it at user code …

---

## [After I add TrajOptPlots packeg，the build meshcat went wrong，so as build TrajOptPlots](https://discourse.julialang.org/t/after-i-add-trajoptplots-packeg-the-build-meshcat-went-wrong-so-as-build-trajoptplots/107966)

<div class="topic-metadata">

**Author:** [@jinmingyue123](https://discourse.julialang.org/u/jinmingyue123)\
**Replies:** 0\
**Last updated:** [December 23, 2023, 3:27am UTC](https://discourse.julialang.org/t/after-i-add-trajoptplots-packeg-the-build-meshcat-went-wrong-so-as-build-trajoptplots/107966 "2023-12-23T03:27:56Z")

</div>

After I add TrajOptPlots packeg，the build meshcat went wrong，so as build TrajOptPlots. I have spent a lot of time to fix it. But still not fixed. Could you please help me with that. ERROR: Error building MeshCat: 7-Zip…

---

## [How to produce a 3D polar plot in Makie?](https://discourse.julialang.org/t/how-to-produce-a-3d-polar-plot-in-makie/107950)

<div class="topic-metadata">

**Author:** [@Daptine](https://discourse.julialang.org/u/Daptine)\
**Replies:** 7\
**Last updated:** [December 23, 2023, 12:42am UTC](https://discourse.julialang.org/t/how-to-produce-a-3d-polar-plot-in-makie/107950 "2023-12-23T00:42:16Z")

</div>

I wonder how to produce plots like the one below (a 3D array factor) using Makie? If this is not possible in Makie, any packages that support this? Thanks a lot.

---

## [Announcing Diversity, Equity, and Inclusion Proposal-A-Thon](https://discourse.julialang.org/t/announcing-diversity-equity-and-inclusion-proposal-a-thon/107962)

<div class="topic-metadata">

**Author:** [@ranjan](https://discourse.julialang.org/u/ranjan)\
**Replies:** 0\
**Last updated:** [December 23, 2023, 12:14am UTC](https://discourse.julialang.org/t/announcing-diversity-equity-and-inclusion-proposal-a-thon/107962 "2023-12-23T00:14:51Z")

</div>

Hey everyone, The JuliaCon 2024 Diversity, Equity, and Inclusion (DEI) Committee is excited to announce a presentation + office hours event for writing your JuliaCon 2024 proposal! The call for proposals is out right no…

---

## [Julia runs in terminal but not in vscode. Pkg manager also does not seem to work](https://discourse.julialang.org/t/julia-runs-in-terminal-but-not-in-vscode-pkg-manager-also-does-not-seem-to-work/107953)

<div class="topic-metadata">

**Author:** [@co1emi11er](https://discourse.julialang.org/u/co1emi11er)\
**Replies:** 6\
**Last updated:** [December 22, 2023, 10:09pm UTC](https://discourse.julialang.org/t/julia-runs-in-terminal-but-not-in-vscode-pkg-manager-also-does-not-seem-to-work/107953 "2023-12-22T22:09:06Z")

</div>

Hello, I am new to Julia and I have installed Julia on my work computer. Everything seems to be working on personal computer, so I think it might be a proxy issue? I can’t run Julia in vscode or add any packages. These …

---

## [Julia startup options for VSCode](https://discourse.julialang.org/t/julia-startup-options-for-vscode/107911)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 4\
**Last updated:** [December 22, 2023, 7:19pm UTC](https://discourse.julialang.org/t/julia-startup-options-for-vscode/107911 "2023-12-22T19:19:01Z")

</div>

Hi all, I was wondering if there is a way to include julia startup options in VSCode. Specifically, I would like to enable deprecation warnings by default. Thanks!

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

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