# Latest

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

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

**Page:** 687

---

## [Axis-generating functions in Makie](https://discourse.julialang.org/t/axis-generating-functions-in-makie/99558)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 2\
**Last updated:** [May 29, 2023, 2:23pm UTC](https://discourse.julialang.org/t/axis-generating-functions-in-makie/99558 "2023-05-29T14:23:30Z")

</div>

I would like to organize some commonly used plots into functions. Eg function makie\_plot\_posterior\_check(figure, label, data, predicted; scatter\_color = alphacolor(colorant"black", 0.…

---

## [Low-overhead conditional loading of external modules](https://discourse.julialang.org/t/low-overhead-conditional-loading-of-external-modules/99500)

<div class="topic-metadata">

**Author:** [@MilesCranmer](https://discourse.julialang.org/u/MilesCranmer)\
**Replies:** 3\
**Last updated:** [May 29, 2023, 1:47pm UTC](https://discourse.julialang.org/t/low-overhead-conditional-loading-of-external-modules/99500 "2023-05-29T13:47:20Z")

</div>

I want to conditionally load an external module in my package, without needing the user to load that module. Normal use of package extensions are not practical for my use case because I don’t want downstream users to ne…

---

## [CSV : problem to write big dataframes](https://discourse.julialang.org/t/csv-problem-to-write-big-dataframes/17343)

<div class="topic-metadata">

**Author:** [@Fred](https://discourse.julialang.org/u/Fred)\
**Replies:** 20\
**Last updated:** [May 29, 2023, 1:04pm UTC](https://discourse.julialang.org/t/csv-problem-to-write-big-dataframes/17343 "2023-05-29T13:04:46Z")

</div>

Hi, I have to read and write some big dataframes (100-500Mo). For a 80 Mo DataFrame, I need 220 sec to write it. And for a 500 Mo dataframe , after one hour waiting I gave up… I use the following code : julia\> using…

---

## [POST request size limit](https://discourse.julialang.org/t/post-request-size-limit/98178)

<div class="topic-metadata">

**Author:** [@sschmidhuber](https://discourse.julialang.org/u/sschmidhuber)\
**Replies:** 1\
**Last updated:** [May 29, 2023, 12:37pm UTC](https://discourse.julialang.org/t/post-request-size-limit/98178 "2023-05-29T12:37:48Z")

</div>

Hello, I’m building a web application using Oxygen (which is using HTTP.jl). Is there a way to limit the max request size for HTTP post requests? When I’m able to check the size in the request handler, the memory is al…

---

## [Using Metatheory.jl to simplify algebra expression](https://discourse.julialang.org/t/using-metatheory-jl-to-simplify-algebra-expression/99550)

<div class="topic-metadata">

**Author:** [@VPBML](https://discourse.julialang.org/u/VPBML)\
**Replies:** 0\
**Last updated:** [May 29, 2023, 10:25am UTC](https://discourse.julialang.org/t/using-metatheory-jl-to-simplify-algebra-expression/99550 "2023-05-29T10:25:40Z")

</div>

Hi, I am trying to use Metatheory.jl to simplify my algebra expressions (the expressions have type Expr), but did not get the results I expected. For example, when I tried to simplify the Expr :(a+(a-b)), I got :(a+(a-b…

---

## [Managing Julia polyrepo, any workflow suggestions?](https://discourse.julialang.org/t/managing-julia-polyrepo-any-workflow-suggestions/99554)

<div class="topic-metadata">

**Author:** [@minetest2048](https://discourse.julialang.org/u/minetest2048)\
**Replies:** 0\
**Last updated:** [May 29, 2023, 12:14pm UTC](https://discourse.julialang.org/t/managing-julia-polyrepo-any-workflow-suggestions/99554 "2023-05-29T12:14:08Z")

</div>

I’ve been thinking slowly about this, and then I read this: How to structure project in julia There is this extremely useful project that I’ve been using: JuliaGNSS · GitHub which does GNSS processing as fast as C++ wit…

---

## [Nice workflows for using and developing in Julia 1.9+](https://discourse.julialang.org/t/nice-workflows-for-using-and-developing-in-julia-1-9/96017)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 43\
**Last updated:** [May 29, 2023, 9:04am UTC](https://discourse.julialang.org/t/nice-workflows-for-using-and-developing-in-julia-1-9/96017 "2023-05-29T09:04:51Z")

</div>

I wrote a small step by step to help my students with of a good workflow for Julia here. Sharing it here because it might help new users. Updated (and properly formatted) versions will be available in that link when nece…

---

## [How to get local modules precompiled?](https://discourse.julialang.org/t/how-to-get-local-modules-precompiled/99489)

<div class="topic-metadata">

**Author:** [@linwaytin](https://discourse.julialang.org/u/linwaytin)\
**Replies:** 2\
**Last updated:** [May 29, 2023, 8:13am UTC](https://discourse.julialang.org/t/how-to-get-local-modules-precompiled/99489 "2023-05-29T08:13:31Z")

</div>

I have a module MyMod in MyMod.jl, which contains all functions I am working on. The functions in MyMod are kind of stable now and not changed frequently, but I need to use them for some other tests. What I currently do…

---

## [Complex Integration](https://discourse.julialang.org/t/complex-integration/99544)

<div class="topic-metadata">

**Author:** [@Fourier](https://discourse.julialang.org/u/Fourier)\
**Replies:** 1\
**Last updated:** [May 29, 2023, 8:05am UTC](https://discourse.julialang.org/t/complex-integration/99544 "2023-05-29T08:05:27Z")

</div>

Is there a package that has support for complex numbers when integrating? I quite liked monte carlo integration, because the integrals I am evaluating are 3 dimensional and the error of MC is dimension independant. Also…

---

## [What is the underlying logic of Adding an Environment Wrapper in ReinforcementLearning.jl?](https://discourse.julialang.org/t/what-is-the-underlying-logic-of-adding-an-environment-wrapper-in-reinforcementlearning-jl/99539)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 1\
**Last updated:** [May 29, 2023, 7:25am UTC](https://discourse.julialang.org/t/what-is-the-underlying-logic-of-adding-an-environment-wrapper-in-reinforcementlearning-jl/99539 "2023-05-29T07:25:44Z")

</div>

When customizing an environment using ReinforcementLearning.jl, we need to transform the environment using some environment wrappers because a TabularQApproximator only accepts states of type Int, as the example code sho…

---

## [Why mul! does not work with a target that has more columns than the result?](https://discourse.julialang.org/t/why-mul-does-not-work-with-a-target-that-has-more-columns-than-the-result/99531)

<div class="topic-metadata">

**Author:** [@pitsianis](https://discourse.julialang.org/u/pitsianis)\
**Replies:** 2\
**Last updated:** [May 28, 2023, 11:35pm UTC](https://discourse.julialang.org/t/why-mul-does-not-work-with-a-target-that-has-more-columns-than-the-result/99531 "2023-05-28T23:35:17Z")

</div>

I was surprised to find that mul! in C = zeros(4,6); A = rand(4,3); B = rand(3,5); mul!(C, A, B); fails with ERROR: DimensionMismatch: A has size (4,3), B has size (3,5), C has size (4, 6) instead of proceeding by ov…

---

## [Zygote: product with a (constant) sparse boolean](https://discourse.julialang.org/t/zygote-product-with-a-constant-sparse-boolean/99510)

<div class="topic-metadata">

**Author:** [@fph](https://discourse.julialang.org/u/fph)\
**Replies:** 7\
**Last updated:** [May 28, 2023, 10:48pm UTC](https://discourse.julialang.org/t/zygote-product-with-a-constant-sparse-boolean/99510 "2023-05-28T22:48:42Z")

</div>

How can I make products with (constant) sparse boolean matrices and vectors work with Zygote? Example: julia\> using Zygote, SparseArrays, LinearAlgebra julia\> gradient(v -\> dot(sparse(\[true;false\]),v), \[1.;0.\]) ERROR:…

---

## [Flux: 1D convolutions (on genomic data)](https://discourse.julialang.org/t/flux-1d-convolutions-on-genomic-data/74874)

<div class="topic-metadata">

**Author:** [@wc4wc4wc4](https://discourse.julialang.org/u/wc4wc4wc4)\
**Replies:** 20\
**Last updated:** [May 28, 2023, 7:27pm UTC](https://discourse.julialang.org/t/flux-1d-convolutions-on-genomic-data/74874 "2023-05-28T19:27:08Z")

</div>

I am trying to recreate this tutorial from Python. This basically deals with how to apply deep learning to genomic data. As such, the input consists of sequences, where each sequence is based on a combination of any of …

---

## [DiffEqFlux and Threaded Ensemble Problems with ForwardDiff](https://discourse.julialang.org/t/diffeqflux-and-threaded-ensemble-problems-with-forwarddiff/99514)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 3\
**Last updated:** [May 28, 2023, 6:48pm UTC](https://discourse.julialang.org/t/diffeqflux-and-threaded-ensemble-problems-with-forwarddiff/99514 "2023-05-28T18:48:55Z")

</div>

Hi Julia Speed Guru’s, I’m trying to demonstrate Julia’s cool capabilities for embedding shallow neural networks to select key parameters for an ensemble of differential equations. I can use the ensemble problem fine a…

---

## [Building a surrogate model of a complex physically-based model](https://discourse.julialang.org/t/building-a-surrogate-model-of-a-complex-physically-based-model/99454)

<div class="topic-metadata">

**Author:** [@Enrico\_Pisoni](https://discourse.julialang.org/u/Enrico_Pisoni)\
**Replies:** 4\
**Last updated:** [May 28, 2023, 6:41pm UTC](https://discourse.julialang.org/t/building-a-surrogate-model-of-a-complex-physically-based-model/99454 "2023-05-28T18:41:36Z")

</div>

Dears I work in the air quality modelling field, and particuarly in building metamodels - surrogate models of complex physically-based models. I read with interest about the ‘Surrogates.jl’ package, but I would need so…

---

## [Can Pkg.activate("myPackage") be silent?](https://discourse.julialang.org/t/can-pkg-activate-mypackage-be-silent/99481)

<div class="topic-metadata">

**Author:** [@JackStrauss](https://discourse.julialang.org/u/JackStrauss)\
**Replies:** 6\
**Last updated:** [May 28, 2023, 6:04pm UTC](https://discourse.julialang.org/t/can-pkg-activate-mypackage-be-silent/99481 "2023-05-28T18:04:16Z")

</div>

Hello All I have a silly little problem I can’t figure out. For internal reasons, I need to load my packages from a custom path with Pkg.activate("~/myPackage"). The thing is, we run it on the command line (here Julia 1…

---

## [Julia 1.9.1 testing period](https://discourse.julialang.org/t/julia-1-9-1-testing-period/99522)

<div class="topic-metadata">

**Author:** [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Replies:** 0\
**Last updated:** [May 28, 2023, 5:47pm UTC](https://discourse.julialang.org/t/julia-1-9-1-testing-period/99522 "2023-05-28T17:47:58Z")

</div>

The release-1.9 branch on the Julia repository now contains the set of commits we’re planning to tag as v1.9.1, the first patch release in the 1.9 series. The list of commits included since v1.9.0 is available here . As …

---

## [Mutable objects in Enzyme.jl](https://discourse.julialang.org/t/mutable-objects-in-enzyme-jl/99433)

<div class="topic-metadata">

**Author:** [@Iris\_Allevi](https://discourse.julialang.org/u/Iris_Allevi)\
**Replies:** 7\
**Last updated:** [May 28, 2023, 5:32pm UTC](https://discourse.julialang.org/t/mutable-objects-in-enzyme-jl/99433 "2023-05-28T17:32:51Z")

</div>

Hi everyone I am new to automatic differentiation. I decided to use Enzyme since I need to handle mutating objects (even if I am not differentiating with respect to these objects). I try to write a minimal, self-consis…

---

## [Must-read for the weekend: is AI an invasive species?](https://discourse.julialang.org/t/must-read-for-the-weekend-is-ai-an-invasive-species/99161)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 7\
**Last updated:** [May 28, 2023, 4:58pm UTC](https://discourse.julialang.org/t/must-read-for-the-weekend-is-ai-an-invasive-species/99161 "2023-05-28T16:58:07Z")

</div>

I found this thought-provoking. There is also a link to a paper about potential elimination of jobs (fashion models among them, who would have thought?). Just found another article, but I’m afraid it may be behind a p…

---

## [Julia 1.9 uses more memory for compilation caches that 1.8](https://discourse.julialang.org/t/julia-1-9-uses-more-memory-for-compilation-caches-that-1-8/99482)

<div class="topic-metadata">

**Author:** [@andreyz4k](https://discourse.julialang.org/u/andreyz4k)\
**Replies:** 9\
**Last updated:** [May 28, 2023, 4:42pm UTC](https://discourse.julialang.org/t/julia-1-9-uses-more-memory-for-compilation-caches-that-1-8/99482 "2023-05-28T16:42:05Z")

</div>

Hi, I have a fairly large project that has a number of functions that deal with parameters of unspecified type (mostly passing them to the next functions that know what they will be getting). In the end, I’m relying on r…

---

## [The app generated by \`PackageCompiler.jl\` throw the \`InitError\`?](https://discourse.julialang.org/t/the-app-generated-by-packagecompiler-jl-throw-the-initerror/99512)

<div class="topic-metadata">

**Author:** [@fenyutanchan](https://discourse.julialang.org/u/fenyutanchan)\
**Replies:** 0\
**Last updated:** [May 28, 2023, 12:46pm UTC](https://discourse.julialang.org/t/the-app-generated-by-packagecompiler-jl-throw-the-initerror/99512 "2023-05-28T12:46:20Z")

</div>

First I made one app as module App using SymEngine function julia\_main()::Cint @vars x y println(expand((x + y)^2)) return 0 end # function julia\_main end # module App Then using PackageCompiler create…

---

## [Looking for an HPC role](https://discourse.julialang.org/t/looking-for-an-hpc-role/98983)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 1\
**Last updated:** [May 28, 2023, 12:29pm UTC](https://discourse.julialang.org/t/looking-for-an-hpc-role/98983 "2023-05-28T12:29:16Z")

</div>

I am looking for a new role. My background is in HPC construction and administration. I have worked in several industries, including Formula 1, medical imaging and post-production. I hold UK security clearance and have…

---

## [\[ANN\] TempestSDR: A Julia Package for Real-Time Screen Eavesdropping!](https://discourse.julialang.org/t/ann-tempestsdr-a-julia-package-for-real-time-screen-eavesdropping/99511)

<div class="topic-metadata">

**Author:** [@RGerzaguet](https://discourse.julialang.org/u/RGerzaguet)\
**Replies:** 0\
**Last updated:** [May 28, 2023, 11:56am UTC](https://discourse.julialang.org/t/ann-tempestsdr-a-julia-package-for-real-time-screen-eavesdropping/99511 "2023-05-28T11:56:29Z")

</div>

:loudspeaker: Introducing TempestSDR: A Julia Package for Real-Time Screen Eavesdropping! :desktop\_computer::satellite: We are excited to announce the release of TempestSDR, a Julia package that enables real-time scree…

---

## [Fixing Package Fragmentation](https://discourse.julialang.org/t/fixing-package-fragmentation/98712)

<div class="topic-metadata">

**Author:** [@ParadaCarleton](https://discourse.julialang.org/u/ParadaCarleton)\
**Replies:** 70\
**Last updated:** [May 28, 2023, 9:40am UTC](https://discourse.julialang.org/t/fixing-package-fragmentation/98712 "2023-05-28T09:40:13Z")

</div>

Taken from a Slack discussion: I’ve had colleagues comment that fragmentation is currently the only really bad thing of the Julia ecosystem. They miss the numpy/scipy monolithic approach. Now for most package ecosys…

---

## [Broadcast update multiple vectors at once](https://discourse.julialang.org/t/broadcast-update-multiple-vectors-at-once/99490)

<div class="topic-metadata">

**Author:** [@weymouth](https://discourse.julialang.org/u/weymouth)\
**Replies:** 7\
**Last updated:** [May 28, 2023, 7:24am UTC](https://discourse.julialang.org/t/broadcast-update-multiple-vectors-at-once/99490 "2023-05-28T07:24:51Z")

</div>

Simple question. I have a few vectors which hold the states of a list of particles. I update these with broadcast (which is nice since the vectors are on the GPU). For example: position⁰ .= position position .+=…

---

## [Where does the cart-pole environment in the Julia official page come from?](https://discourse.julialang.org/t/where-does-the-cart-pole-environment-in-the-julia-official-page-come-from/99505)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 1\
**Last updated:** [May 28, 2023, 8:46am UTC](https://discourse.julialang.org/t/where-does-the-cart-pole-environment-in-the-julia-official-page-come-from/99505 "2023-05-28T08:46:58Z")

</div>

What is the environment shown in the cart-pole illustration that appears on the machine learning tab of the Julia website? Which package does it come from? Are there any existing packages in Julia that can be used for co…

---

## [Strange gradient behavior related to function applications](https://discourse.julialang.org/t/strange-gradient-behavior-related-to-function-applications/99508)

<div class="topic-metadata">

**Author:** [@wormholestds9](https://discourse.julialang.org/u/wormholestds9)\
**Replies:** 0\
**Last updated:** [May 28, 2023, 8:36am UTC](https://discourse.julialang.org/t/strange-gradient-behavior-related-to-function-applications/99508 "2023-05-28T08:36:56Z")

</div>

I ran into a baffling problem. I am using a sparse matrix sm as a weight matrix for a Dense unit. It is 2000x2000 sparse matrix with 100000 non-zero Float32 entries I created two Dense units: b = zeros(Float32,200…

---

## [Trying to Create a Schmitt Trigger Component in ModelingToolkit.jl](https://discourse.julialang.org/t/trying-to-create-a-schmitt-trigger-component-in-modelingtoolkit-jl/99503)

<div class="topic-metadata">

**Author:** [@astra\_kawa](https://discourse.julialang.org/u/astra_kawa)\
**Replies:** 3\
**Last updated:** [May 28, 2023, 4:40am UTC](https://discourse.julialang.org/t/trying-to-create-a-schmitt-trigger-component-in-modelingtoolkit-jl/99503 "2023-05-28T04:40:22Z")

</div>

Hello all. I am trying to create a Schmitt trigger component in ModelingToolkit.jl. Specifically the circuit in the image below (source): I am using the IdealOpAmp component from the MTK standard library, I am assumi…

---

## [Using arrays/vectors in Octo.jl queries](https://discourse.julialang.org/t/using-arrays-vectors-in-octo-jl-queries/99501)

<div class="topic-metadata">

**Author:** [@bryaan](https://discourse.julialang.org/u/bryaan)\
**Replies:** 0\
**Last updated:** [May 28, 2023, 2:04am UTC](https://discourse.julialang.org/t/using-arrays-vectors-in-octo-jl-queries/99501 "2023-05-28T02:04:15Z")

</div>

I am trying to write this query for postgres using Octo.jl # postgres select all elements from table where column is in list and return in same order as list # SELECT \* # FROM your\_table # WHERE your\_c…

---

## [Changing to a different macOS Terminal for Julia](https://discourse.julialang.org/t/changing-to-a-different-macos-terminal-for-julia/97675)

<div class="topic-metadata">

**Author:** [@OldSubSailor](https://discourse.julialang.org/u/OldSubSailor)\
**Replies:** 14\
**Last updated:** [May 27, 2023, 11:48pm UTC](https://discourse.julialang.org/t/changing-to-a-different-macos-terminal-for-julia/97675 "2023-05-27T23:48:04Z")

</div>

Hello, I just discovered Julia 2 days ago and started the Academy class this afternoon. I see that the REPL defaults to the standard Mac Terminal which is OK, but I also found the WARP Terminal that I am interested in e…

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

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