# Latest

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

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

**Page:** 340

---

## [GKSQT problem, help needed to debug](https://discourse.julialang.org/t/gksqt-problem-help-needed-to-debug/106892)

<div class="topic-metadata">

**Author:** [@HugoTrentesaux](https://discourse.julialang.org/u/HugoTrentesaux)\
**Replies:** 7\
**Last updated:** [August 18, 2024, 6:25pm UTC](https://discourse.julialang.org/t/gksqt-problem-help-needed-to-debug/106892 "2024-08-18T18:25:10Z")

</div>

I’m using Julia 1.9.4 binaries from AUR (en) - julia-bin GR version v0.72.10 WebIO version v0.8.21 Mux version v1.0.1 Trying to make an interactif plot following the Mux example here: How to make dynamic plots with s…

---

## [Makie - How to make interactive plots with custom Axis3?](https://discourse.julialang.org/t/makie-how-to-make-interactive-plots-with-custom-axis3/118285)

<div class="topic-metadata">

**Author:** [@tobia](https://discourse.julialang.org/u/tobia)\
**Replies:** 6\
**Last updated:** [August 18, 2024, 6:22pm UTC](https://discourse.julialang.org/t/makie-how-to-make-interactive-plots-with-custom-axis3/118285 "2024-08-18T18:22:30Z")

</div>

I’m using WGLMakie in a Pluto notebook. Whenever I create a 3D plot with an implicit axis, for instance by using meshscatter(x, y), Makie creates an interactive plot, meaning I can rotate, pan, and zoom it using the mous…

---

## [Plots broken on Windows bc FFMPEG broken bc avcodec-58.dll cant be loaded](https://discourse.julialang.org/t/plots-broken-on-windows-bc-ffmpeg-broken-bc-avcodec-58-dll-cant-be-loaded/48092)

<div class="topic-metadata">

**Author:** [@jdad](https://discourse.julialang.org/u/jdad)\
**Replies:** 20\
**Last updated:** [October 29, 2020, 8:09am UTC](https://discourse.julialang.org/t/plots-broken-on-windows-bc-ffmpeg-broken-bc-avcodec-58-dll-cant-be-loaded/48092 "2020-10-29T08:09:19Z")

</div>

Hello, since me last “up” one hour ago, Plots doesnot work anymore (on my Windows 10 machine) because FFMPEG seems broken (on a fresh (empty) .julia) davidj@vivojdw ~$ julia \_ \_ \_ \_(\_)\_ | D…

---

## [Sharing the little book "Julia with Physics: An Introduction" - Portuguese](https://discourse.julialang.org/t/sharing-the-little-book-julia-with-physics-an-introduction-portuguese/104706)

<div class="topic-metadata">

**Author:** [@adeil](https://discourse.julialang.org/u/adeil)\
**Replies:** 0\
**Last updated:** [October 7, 2023, 6:32pm UTC](https://discourse.julialang.org/t/sharing-the-little-book-julia-with-physics-an-introduction-portuguese/104706 "2023-10-07T18:32:59Z")

</div>

Hi, My name is Adeil, I am a Physics teacher at the Ceará State Public School in Brazil.I would like to promote my little book, in Portuguese, that I wrote together with my wife, by Julia for high school. Its name is: “…

---

## [Minimize constraint function](https://discourse.julialang.org/t/minimize-constraint-function/118120)

<div class="topic-metadata">

**Author:** [@trasor](https://discourse.julialang.org/u/trasor)\
**Replies:** 5\
**Last updated:** [August 18, 2024, 2:52pm UTC](https://discourse.julialang.org/t/minimize-constraint-function/118120 "2024-08-18T14:52:18Z")

</div>

Hello, im struggling to get one of the julia optimization packages (optim, NLopt, Jump etc…) to work to minimize a constrained function. In particular, im interested to find the minimum distance between a point and a c…

---

## [@run fib(5) makes Julia to crash in Julia 1.11 rc2](https://discourse.julialang.org/t/run-fib-5-makes-julia-to-crash-in-julia-1-11-rc2/118329)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 2\
**Last updated:** [August 18, 2024, 11:41am UTC](https://discourse.julialang.org/t/run-fib-5-makes-julia-to-crash-in-julia-1-11-rc2/118329 "2024-08-18T11:41:19Z")

</div>

Making debug of this in VSCode Julia extension / Julia v1.11 RC2 makes Julia to crash. It works fine in Julia 1.10 or if breakpoints are used. function fib(n) if n == 0 return 0 end if n == 1 return 1 end re…

---

## [Saving and loading model with Flux.jl](https://discourse.julialang.org/t/saving-and-loading-model-with-flux-jl/118328)

<div class="topic-metadata">

**Author:** [@wiktorkujawa](https://discourse.julialang.org/u/wiktorkujawa)\
**Replies:** 2\
**Last updated:** [August 18, 2024, 11:11am UTC](https://discourse.julialang.org/t/saving-and-loading-model-with-flux-jl/118328 "2024-08-18T11:11:05Z")

</div>

I want to save and load trained model with jld2. The model is just getStarted example from Flux documentation, and it works perfectly fine, without saving and loading step, but I want to plot the data with previously tra…

---

## [Memory best practices in Julia with Arrays vs Vectors](https://discourse.julialang.org/t/memory-best-practices-in-julia-with-arrays-vs-vectors/118307)

<div class="topic-metadata">

**Author:** [@ckawa](https://discourse.julialang.org/u/ckawa)\
**Replies:** 19\
**Last updated:** [August 18, 2024, 8:29am UTC](https://discourse.julialang.org/t/memory-best-practices-in-julia-with-arrays-vs-vectors/118307 "2024-08-18T08:29:40Z")

</div>

I’m transitioning from MATLAB to Julia and I’m wondering if there are any best-practices for optimizing for memory and computational time when writing simulations. Specifically, I’m designing a simple verlet integration…

---

## [\[DifferentialEquations.jl\] Resolution of time variant exitation term](https://discourse.julialang.org/t/differentialequations-jl-resolution-of-time-variant-exitation-term/118266)

<div class="topic-metadata">

**Author:** [@Maucejo](https://discourse.julialang.org/u/Maucejo)\
**Replies:** 2\
**Last updated:** [August 18, 2024, 7:58am UTC](https://discourse.julialang.org/t/differentialequations-jl-resolution-of-time-variant-exitation-term/118266 "2024-08-18T07:58:50Z")

</div>

Hi all, my question may be somewhat related to this thread. I want to solve a FEM second-order differential equation with DifferentialEquations.jl using a constant and given time-step \\Delta t. The problem is basically …

---

## [Help me build my custom CS degree using Julia](https://discourse.julialang.org/t/help-me-build-my-custom-cs-degree-using-julia/118327)

<div class="topic-metadata">

**Author:** [@Anil\_Beniwal](https://discourse.julialang.org/u/Anil_Beniwal)\
**Replies:** 0\
**Last updated:** [August 18, 2024, 7:18am UTC](https://discourse.julialang.org/t/help-me-build-my-custom-cs-degree-using-julia/118327 "2024-08-18T07:18:33Z")

</div>

I wish to study this part time. I can only dedicate 2 hrs daily. I’m in no hurry to complete this in 3 years. Did I miss something? For bachelors degree?

---

## [Automatically generating methods with a macro](https://discourse.julialang.org/t/automatically-generating-methods-with-a-macro/118320)

<div class="topic-metadata">

**Author:** [@Yly](https://discourse.julialang.org/u/Yly)\
**Replies:** 5\
**Last updated:** [August 18, 2024, 6:09am UTC](https://discourse.julialang.org/t/automatically-generating-methods-with-a-macro/118320 "2024-08-18T06:09:45Z")

</div>

I was recently implementing a bunch of functions which all had multiple methods with identical structure. The methods differed only in their arguments and some preprocessing steps. EDIT (borrowed from a later post): Th…

---

## [Julia performance on the same task on different CPUs and OSs](https://discourse.julialang.org/t/julia-performance-on-the-same-task-on-different-cpus-and-oss/117916)

<div class="topic-metadata">

**Author:** [@kobusherbst](https://discourse.julialang.org/u/kobusherbst)\
**Replies:** 8\
**Last updated:** [August 18, 2024, 4:57am UTC](https://discourse.julialang.org/t/julia-performance-on-the-same-task-on-different-cpus-and-oss/117916 "2024-08-18T04:57:22Z")

</div>

The workload Arrow files with 250K individuals and 3M education status observations Read into memory as DataFrames, join individual records with education status observations. Group resulting data frame by individual a…

---

## [Makie isosurface transparency?](https://discourse.julialang.org/t/makie-isosurface-transparency/65214)

<div class="topic-metadata">

**Author:** [@AshtonSBradley](https://discourse.julialang.org/u/AshtonSBradley)\
**Replies:** 13\
**Last updated:** [August 18, 2024, 4:51am UTC](https://discourse.julialang.org/t/makie-isosurface-transparency/65214 "2024-08-18T04:51:42Z")

</div>

In Makie is there a way to make an isosurface have some partial transparency? There used to be I think, but I cant see an alpha option or similar http://makie.juliaplots.org/dev/plotting\_functions/volume.html Over at h…

---

## [Noise inside an activation function in DifferentialEquations.jl](https://discourse.julialang.org/t/noise-inside-an-activation-function-in-differentialequations-jl/118219)

<div class="topic-metadata">

**Author:** [@duodenum](https://discourse.julialang.org/u/duodenum)\
**Replies:** 2\
**Last updated:** [August 18, 2024, 3:19am UTC](https://discourse.julialang.org/t/noise-inside-an-activation-function-in-differentialequations-jl/118219 "2024-08-18T03:19:13Z")

</div>

Hello, I am interested in solving Wilson - Cowan equations (or in general, a differential equation where noise is not multiplicative or additive per se, but put inside an activation function). For example: \\frac{dx}{dt…

---

## [Most efficient way to obtain the decimal representation of a rational number?](https://discourse.julialang.org/t/most-efficient-way-to-obtain-the-decimal-representation-of-a-rational-number/118303)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 12\
**Last updated:** [August 17, 2024, 11:08pm UTC](https://discourse.julialang.org/t/most-efficient-way-to-obtain-the-decimal-representation-of-a-rational-number/118303 "2024-08-17T23:08:09Z")

</div>

Let’s say I want to obtain the decimal representation of p//q e.g. 1/2 is 0.5 so I would store that as (\[0, 5\], 2) where the 2nd value in the tuple is the position where the digits don’t repeat. And so 1//7 = 0.142857 t…

---

## [Julia startup time on macOS vs. Linux](https://discourse.julialang.org/t/julia-startup-time-on-macos-vs-linux/118239)

<div class="topic-metadata">

**Author:** [@piechologist](https://discourse.julialang.org/u/piechologist)\
**Replies:** 7\
**Last updated:** [August 17, 2024, 8:04pm UTC](https://discourse.julialang.org/t/julia-startup-time-on-macos-vs-linux/118239 "2024-08-17T20:04:34Z")

</div>

I need to replace my aging Mac but I’m concerned about macOS’ Gatekeeper checks. Currently, I’m running Monterey on an Intel MacBook. I frequently run small julia scripts so, startup times matter. Consider running time …

---

## [Trig Simplification in Symbolics (SymbolicUtils)](https://discourse.julialang.org/t/trig-simplification-in-symbolics-symbolicutils/118312)

<div class="topic-metadata">

**Author:** [@brombo](https://discourse.julialang.org/u/brombo)\
**Replies:** 1\
**Last updated:** [August 17, 2024, 7:55pm UTC](https://discourse.julialang.org/t/trig-simplification-in-symbolics-symbolicutils/118312 "2024-08-17T19:55:28Z")

</div>

I am using Symbolics on trig functions and simplifying is not simplifying. What rules do I need to implement. Here is the results of my unsimplified expressions. If I simplify each term in the matrix using simplify …

---

## [Balancing groups in DataFrame](https://discourse.julialang.org/t/balancing-groups-in-dataframe/118284)

<div class="topic-metadata">

**Author:** [@miguelborrero](https://discourse.julialang.org/u/miguelborrero)\
**Replies:** 5\
**Last updated:** [August 17, 2024, 6:16pm UTC](https://discourse.julialang.org/t/balancing-groups-in-dataframe/118284 "2024-08-17T18:16:32Z")

</div>

Quick question: suppose I have a DataFrame of the form df = DataFrame(grouping1 = \[1, 1, 2, 2\], grouping2 = \[true, true, true, false\]) Even though, for the grouping1 category: 1, there are no observations with groupi…

---

## [Mesh3d facecolor](https://discourse.julialang.org/t/mesh3d-facecolor/118294)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 3\
**Last updated:** [August 17, 2024, 4:45pm UTC](https://discourse.julialang.org/t/mesh3d-facecolor/118294 "2024-08-17T16:45:08Z")

</div>

I am trying to change the facecolor. Part of the issue is that I have a limited understanding of the various backends to Plots.jl . The same issue was raised here at various occasions. I continue to struggle. x = \[0, 1,…

---

## [How to make \`step!(integrator)\` overcome initial stiffness issues](https://discourse.julialang.org/t/how-to-make-step-integrator-overcome-initial-stiffness-issues/118115)

<div class="topic-metadata">

**Author:** [@SteffenPL](https://discourse.julialang.org/u/SteffenPL)\
**Replies:** 1\
**Last updated:** [August 17, 2024, 3:45pm UTC](https://discourse.julialang.org/t/how-to-make-step-integrator-overcome-initial-stiffness-issues/118115 "2024-08-17T15:45:46Z")

</div>

Related to my previous question, I now run into an issue with the step! interface. Sorry that I didn’t manage to create a MWE, if needed I will try harder :wink: At the moment, I am in a situation where for exactly the…

---

## [I can't make sense of these unsatisfiable requirements](https://discourse.julialang.org/t/i-cant-make-sense-of-these-unsatisfiable-requirements/118277)

<div class="topic-metadata">

**Author:** [@moble](https://discourse.julialang.org/u/moble)\
**Replies:** 2\
**Last updated:** [August 17, 2024, 2:58pm UTC](https://discourse.julialang.org/t/i-cant-make-sense-of-these-unsatisfiable-requirements/118277 "2024-08-17T14:58:55Z")

</div>

CompatHelper submitted a PR to my package to allow the latest version of Symbolics, but the build is failing for reasons that I just don’t understand. With the PR my package (PostNewtonian) lists in its compat section D…

---

## [Fill a curve in 3D](https://discourse.julialang.org/t/fill-a-curve-in-3d/37890)

<div class="topic-metadata">

**Author:** [@feanor12](https://discourse.julialang.org/u/feanor12)\
**Replies:** 8\
**Last updated:** [August 17, 2024, 2:41pm UTC](https://discourse.julialang.org/t/fill-a-curve-in-3d/37890 "2024-08-17T14:41:57Z")

</div>

I want to plot a complex impedance value as a function of frequency. This results in a line in 3D(real, imaginary, frequency). How do I fill the area between the line and the z=0 coordinate in 3D. I tried fillrange an…

---

## [Cloud computing for small faculty research team](https://discourse.julialang.org/t/cloud-computing-for-small-faculty-research-team/118308)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 0\
**Last updated:** [August 17, 2024, 2:44pm UTC](https://discourse.julialang.org/t/cloud-computing-for-small-faculty-research-team/118308 "2024-08-17T14:44:53Z")

</div>

I’m curious to know: Are academic teams in universities using cloud computing (AWS, Azure, GCP) ? How cost effective is it, in comparison to buying local hardware? And which one of the big three (AWS, Azure, GCP) is bet…

---

## [Compare data from two dataframes](https://discourse.julialang.org/t/compare-data-from-two-dataframes/118254)

<div class="topic-metadata">

**Author:** [@Sandy45](https://discourse.julialang.org/u/Sandy45)\
**Replies:** 3\
**Last updated:** [August 17, 2024, 1:57pm UTC](https://discourse.julialang.org/t/compare-data-from-two-dataframes/118254 "2024-08-17T13:57:45Z")

</div>

I have two dataframes as shown below and I need to create csv file or json output like shown below. I need to get dominant row for each product for each date from two dataframes then compare them to generate below outpu…

---

## [Modelingtoolkit odeproblem solution vector length 1](https://discourse.julialang.org/t/modelingtoolkit-odeproblem-solution-vector-length-1/118194)

<div class="topic-metadata">

**Author:** [@aavogt](https://discourse.julialang.org/u/aavogt)\
**Replies:** 4\
**Last updated:** [August 17, 2024, 12:07pm UTC](https://discourse.julialang.org/t/modelingtoolkit-odeproblem-solution-vector-length-1/118194 "2024-08-17T12:07:51Z")

</div>

I try to solve a Modelingtoolkit ODEProblem. Apparently it runs, but I can only access the initial condition. @mtkbuild m = Setup() prob = ODEProblem(m, \[\], (0.,100.), \[\]) sol = solve(prob) print(sol\[m.c.w\]) # get: \[0.0…

---

## [Any existing efforts on cross-compiling Julia programs across different platforms?](https://discourse.julialang.org/t/any-existing-efforts-on-cross-compiling-julia-programs-across-different-platforms/118253)

<div class="topic-metadata">

**Author:** [@Barzin](https://discourse.julialang.org/u/Barzin)\
**Replies:** 3\
**Last updated:** [August 17, 2024, 12:03pm UTC](https://discourse.julialang.org/t/any-existing-efforts-on-cross-compiling-julia-programs-across-different-platforms/118253 "2024-08-17T12:03:57Z")

</div>

Hi everyone, I’m looking at possibilities for cross-compiling Julia programs, which would enable compiling on one platform to run natively on another without setting up separate environments or relying on emulation. Thi…

---

## [The case for the Julia compiler models](https://discourse.julialang.org/t/the-case-for-the-julia-compiler-models/118304)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 0\
**Last updated:** [August 17, 2024, 11:33am UTC](https://discourse.julialang.org/t/the-case-for-the-julia-compiler-models/118304 "2024-08-17T11:33:40Z")

</div>

Motivation: Interpretation: The ML space is large enough for Julia to have its place. Combining an excellent-grade ML ecosystem with Julia’s niche several things can probably be made. But then, what’s the issue wit…

---

## [How to add package from a GitHub repo's subfolder](https://discourse.julialang.org/t/how-to-add-package-from-a-github-repos-subfolder/118223)

<div class="topic-metadata">

**Author:** [@Shuhua](https://discourse.julialang.org/u/Shuhua)\
**Replies:** 7\
**Last updated:** [August 17, 2024, 11:23am UTC](https://discourse.julialang.org/t/how-to-add-package-from-a-github-repos-subfolder/118223 "2024-08-17T11:23:26Z")

</div>

A same question has been answered at Installing from a subdirectory of Github. However, I still cannot make it work. In my repo GitHub - ShuhuaGao/GADNF: Reconstruct Boolean network from data using GA on its DNF, there…

---

## [Best way to document (a reasonable amount of) keywords](https://discourse.julialang.org/t/best-way-to-document-a-reasonable-amount-of-keywords/112347)

<div class="topic-metadata">

**Author:** [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Replies:** 17\
**Last updated:** [August 17, 2024, 11:15am UTC](https://discourse.julialang.org/t/best-way-to-document-a-reasonable-amount-of-keywords/112347 "2024-08-17T11:15:11Z")

</div>

I am a bit unhappy with how I currently document keyword arguments in functions that I consider a bit more high-level. Such a function should be usable easily also for people using a package for the first time. Similar…

---

## [What's Julia's memory model like; e.g. regarding aliasing?](https://discourse.julialang.org/t/whats-julias-memory-model-like-e-g-regarding-aliasing/12565)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 0\
**Last updated:** [July 21, 2018, 4:56pm UTC](https://discourse.julialang.org/t/whats-julias-memory-model-like-e-g-regarding-aliasing/12565 "2018-07-21T16:56:28Z")

</div>

For the longest time, C++ didn’t have a memory model (now it does, and e.g. CPUs x86 and ARM implement it). I know also that Java has a memory model, but never heard of other languages having defined. Can you assume Ju…

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

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