# Latest

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

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

**Page:** 278

---

## [Julia-Python interface fails in Julia library likely due to wrong SSL credentials](https://discourse.julialang.org/t/julia-python-interface-fails-in-julia-library-likely-due-to-wrong-ssl-credentials/121675)

<div class="topic-metadata">

**Author:** [@facusapienza](https://discourse.julialang.org/u/facusapienza)\
**Replies:** 18\
**Last updated:** [November 13, 2024, 5:28pm UTC](https://discourse.julialang.org/t/julia-python-interface-fails-in-julia-library-likely-due-to-wrong-ssl-credentials/121675 "2024-11-13T17:28:51Z")

</div>

Hi all, I am experiencing a very complicated bug regarding SSL certification in a Julia package integrated with Python using PyCall and/or PythonCall (we have problems with the two actually, so probably the source of er…

---

## [Specifying analytical jacobian in NonlinearProblem](https://discourse.julialang.org/t/specifying-analytical-jacobian-in-nonlinearproblem/112932)

<div class="topic-metadata">

**Author:** [@askprash](https://discourse.julialang.org/u/askprash)\
**Replies:** 2\
**Last updated:** [April 14, 2024, 8:14pm UTC](https://discourse.julialang.org/t/specifying-analytical-jacobian-in-nonlinearproblem/112932 "2024-04-14T20:14:54Z")

</div>

Hi! I’m new to using NonlinearSolve.jl and trying to understand how to provide an analytical jacobian to the problem. I realize that this is unnecessary if we have autodiff in the mix since that will be enough - but in c…

---

## [Turing - "Automatic" Non-Centered Distribution Types](https://discourse.julialang.org/t/turing-automatic-non-centered-distribution-types/122598)

<div class="topic-metadata">

**Author:** [@farr](https://discourse.julialang.org/u/farr)\
**Replies:** 0\
**Last updated:** [November 13, 2024, 3:52pm UTC](https://discourse.julialang.org/t/turing-automatic-non-centered-distribution-types/122598 "2024-11-13T15:52:28Z")

</div>

Hi Folks, I experimented a bit today with some “automatic” non-centered Normal distributions this morning, and I think I have something that works quite well. Many experts know about the trick to replace mu ~ \<mu prio…

---

## [Why are compiler devs in such high demand for Julia?](https://discourse.julialang.org/t/why-are-compiler-devs-in-such-high-demand-for-julia/99420)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 41\
**Last updated:** [November 13, 2024, 3:52pm UTC](https://discourse.julialang.org/t/why-are-compiler-devs-in-such-high-demand-for-julia/99420 "2024-11-13T15:52:20Z")

</div>

From different automatic differentiation in Julia such as Zygote, Diffractor, and Enzyme, each handling it at a different level, to loopmodel, to getting precompilation improved, and so on. Moreover, Julia wants to defin…

---

## [Makie Broken Axis on Log Scale](https://discourse.julialang.org/t/makie-broken-axis-on-log-scale/122571)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 3\
**Last updated:** [November 13, 2024, 3:27pm UTC](https://discourse.julialang.org/t/makie-broken-axis-on-log-scale/122571 "2024-11-13T15:27:11Z")

</div>

Hello! I have some data I’d like to plot with a broken axis. Basically there is one data point at the beginning that is way different than the rest. I found this post about implementing a broken axis. I tried to adapt …

---

## [Define a macro based on @timeit from TimerOutputs.jl](https://discourse.julialang.org/t/define-a-macro-based-on-timeit-from-timeroutputs-jl/122577)

<div class="topic-metadata">

**Author:** [@IvanBioli](https://discourse.julialang.org/u/IvanBioli)\
**Replies:** 5\
**Last updated:** [November 13, 2024, 3:19pm UTC](https://discourse.julialang.org/t/define-a-macro-based-on-timeit-from-timeroutputs-jl/122577 "2024-11-13T15:19:12Z")

</div>

Hi everyone, I am using TimerOutputs.jl to time parts of my code with the @timeit macro. The typical syntax looks like this: using TimerOutputs timer = TimerOutput() @timeit timer "some\_identifier" begin # some co…

---

## ["Error Importing Custom Julia Package: UndefVarError: Zygote not defined Despite Dependency Declaration"](https://discourse.julialang.org/t/error-importing-custom-julia-package-undefvarerror-zygote-not-defined-despite-dependency-declaration/122587)

<div class="topic-metadata">

**Author:** [@josemanuel22](https://discourse.julialang.org/u/josemanuel22)\
**Replies:** 5\
**Last updated:** [November 13, 2024, 3:01pm UTC](https://discourse.julialang.org/t/error-importing-custom-julia-package-undefvarerror-zygote-not-defined-despite-dependency-declaration/122587 "2024-11-13T15:01:55Z")

</div>

I’m trying to import a developed package, but I get the following error: julia\> using RandomProjections \[ Info: Precompiling RandomProjections \[acf8f2c6-418f-403f-a7f7-d35fd4a663f5\] ERROR: LoadError: UndefVarError: \`Zyg…

---

## [Mergewith() does not preserve alternate AbstractDict types. Bug?](https://discourse.julialang.org/t/mergewith-does-not-preserve-alternate-abstractdict-types-bug/122576)

<div class="topic-metadata">

**Author:** [@johnomotani](https://discourse.julialang.org/u/johnomotani)\
**Replies:** 2\
**Last updated:** [November 13, 2024, 2:28pm UTC](https://discourse.julialang.org/t/mergewith-does-not-preserve-alternate-abstractdict-types-bug/122576 "2024-11-13T14:28:52Z")

</div>

If I have two dictionaries of some alternative type like OrderedDict julia\> using OrderedCollections julia\> a = OrderedDict("a"=\>1, "b"=\>"foo") OrderedDict{String, Any} with 2 entries: "a" =\> 1 "b" =\> "foo" julia\> …

---

## [How to develop web apps with Julia?](https://discourse.julialang.org/t/how-to-develop-web-apps-with-julia/110591)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 2\
**Last updated:** [November 13, 2024, 2:19pm UTC](https://discourse.julialang.org/t/how-to-develop-web-apps-with-julia/110591 "2024-11-13T14:19:14Z")

</div>

How to develop web apps with Julia? Are there any small examples for tutorials? For example, I want to record some data through a web page at any time and then draw its historical curve. In Julia’s world, what are the cu…

---

## [Parallel launch of CUDA kernels](https://discourse.julialang.org/t/parallel-launch-of-cuda-kernels/122529)

<div class="topic-metadata">

**Author:** [@hexaeder](https://discourse.julialang.org/u/hexaeder)\
**Replies:** 5\
**Last updated:** [November 13, 2024, 1:14pm UTC](https://discourse.julialang.org/t/parallel-launch-of-cuda-kernels/122529 "2024-11-13T13:14:28Z")

</div>

I have a system with some kernels which are repeatatly called in a loop. My kernels operate on the same input data but in know at launchtime which kernels are safe to spawn asynchronously and which aren’t. A MWE would lo…

---

## [Is there a \`getsockname\` for \`UDPSocket\`?](https://discourse.julialang.org/t/is-there-a-getsockname-for-udpsocket/122553)

<div class="topic-metadata">

**Author:** [@Pedro](https://discourse.julialang.org/u/Pedro)\
**Replies:** 3\
**Last updated:** [November 13, 2024, 12:31pm UTC](https://discourse.julialang.org/t/is-there-a-getsockname-for-udpsocket/122553 "2024-11-13T12:31:12Z")

</div>

I’m trying to write some simple program that involves communication with UDP sockets. I would like not to manually bind the port to the socket, and let the OS choose it. It can be achieved by binding to port 0. However, …

---

## [Embedding in C++ on Mac M1 Darwin - No member named array](https://discourse.julialang.org/t/embedding-in-c-on-mac-m1-darwin-no-member-named-array/122501)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 3\
**Last updated:** [November 13, 2024, 8:19am UTC](https://discourse.julialang.org/t/embedding-in-c-on-mac-m1-darwin-no-member-named-array/122501 "2024-11-13T08:19:10Z")

</div>

I am looking into the example on https://docs.julialang.org/en/v1/manual/embedding/ on embedding Julia into C++ on my MAC Darwin M1. I simplified the code further to // Example from https://docs.julialang.org/en/v1/man…

---

## [Factorizing BigInt, partially if necessary](https://discourse.julialang.org/t/factorizing-bigint-partially-if-necessary/122524)

<div class="topic-metadata">

**Author:** [@phma](https://discourse.julialang.org/u/phma)\
**Replies:** 8\
**Last updated:** [November 13, 2024, 5:01am UTC](https://discourse.julialang.org/t/factorizing-bigint-partially-if-necessary/122524 "2024-11-13T05:01:32Z")

</div>

I’d like to write a function to generate big primes and semiprimes suitable for cryptography. It’s important to try to factor p-1; the primes should at least be in A073024. But I could encounter a number which can’t be c…

---

## [Broken communication between VSCode Julia terminal and code editor](https://discourse.julialang.org/t/broken-communication-between-vscode-julia-terminal-and-code-editor/122454)

<div class="topic-metadata">

**Author:** [@JMLuther](https://discourse.julialang.org/u/JMLuther)\
**Replies:** 3\
**Last updated:** [November 12, 2024, 10:32pm UTC](https://discourse.julialang.org/t/broken-communication-between-vscode-julia-terminal-and-code-editor/122454 "2024-11-12T22:32:27Z")

</div>

My Julia installation and VScode were working fine, but has stopped communicating between the code editor and Julia Terminal within VSCOde. On initial code execution (Shift-Enter) the Julia terminal opens within VSCode …

---

## [SciMLSensitivity.jl Precompile error because of Enzyme](https://discourse.julialang.org/t/scimlsensitivity-jl-precompile-error-because-of-enzyme/122561)

<div class="topic-metadata">

**Author:** [@erny123](https://discourse.julialang.org/u/erny123)\
**Replies:** 11\
**Last updated:** [November 12, 2024, 10:00pm UTC](https://discourse.julialang.org/t/scimlsensitivity-jl-precompile-error-because-of-enzyme/122561 "2024-11-12T22:00:20Z")

</div>

Edit: Issue opened with Trixi.jl Trixi forcing downgrades when using Enzyme.jl, Zygote.jl, SciMLsensitivity.jl · Issue #2157 · trixi-framework/Trixi.jl Trying to follow along this the SciMLSensitivity.jl tutorial: Pa…

---

## [Using JuMP to model a slider-crank mechanism](https://discourse.julialang.org/t/using-jump-to-model-a-slider-crank-mechanism/122560)

<div class="topic-metadata">

**Author:** [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Replies:** 3\
**Last updated:** [November 12, 2024, 9:58pm UTC](https://discourse.julialang.org/t/using-jump-to-model-a-slider-crank-mechanism/122560 "2024-11-12T21:58:22Z")

</div>

Hi! I was actually able to get this working wtih help from @araujoms on slack, but documenting here for future Googlers. I am trying to model a slider-crank mechanism like this: I want to minimize the height of the …

---

## [EXCEPTION\_ACCESS\_VIOLATION when executing ECOS in multi-threading](https://discourse.julialang.org/t/exception-access-violation-when-executing-ecos-in-multi-threading/122459)

<div class="topic-metadata">

**Author:** [@CaG21](https://discourse.julialang.org/u/CaG21)\
**Replies:** 6\
**Last updated:** [November 12, 2024, 9:10pm UTC](https://discourse.julialang.org/t/exception-access-violation-when-executing-ecos-in-multi-threading/122459 "2024-11-12T21:10:13Z")

</div>

I am conducting a Monte Carlo analysis on a convex optimization problem using the ECOS solver, accessed through the thin wrapper provided by ECOS.jl. When I run the Monte Carlo simulations sequentially, everything functi…

---

## [Build failure](https://discourse.julialang.org/t/build-failure/122467)

<div class="topic-metadata">

**Author:** [@chrstphrbrns](https://discourse.julialang.org/u/chrstphrbrns)\
**Replies:** 14\
**Last updated:** [November 12, 2024, 7:25pm UTC](https://discourse.julialang.org/t/build-failure/122467 "2024-11-12T19:25:32Z")

</div>

Since 683da41, I’m no longer able to build Julia from master (on linux or macOS) Compiling the compiler. This may take several minutes ... Base.Compiler ──── 177.213 seconds flparse.jl JULIA usr/lib/julia/sys.ji Abo…

---

## [Creating Blog Posts in Julia Pluto Style](https://discourse.julialang.org/t/creating-blog-posts-in-julia-pluto-style/122559)

<div class="topic-metadata">

**Author:** [@roflmaostc](https://discourse.julialang.org/u/roflmaostc)\
**Replies:** 1\
**Last updated:** [November 12, 2024, 6:57pm UTC](https://discourse.julialang.org/t/creating-blog-posts-in-julia-pluto-style/122559 "2024-11-12T18:57:13Z")

</div>

Hi, I’m thinking about starting to write blog posts with Julia about optics. I’m slightly overwhelmed by the rapidly changing possible infrastructures around Pluto.jl, Franklin.jl, Literate.jl, … I’m happy to get any …

---

## [Performance: read data from ascii file, replace \`split\`](https://discourse.julialang.org/t/performance-read-data-from-ascii-file-replace-split/122422)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 13\
**Last updated:** [November 12, 2024, 6:40pm UTC](https://discourse.julialang.org/t/performance-read-data-from-ascii-file-replace-split/122422 "2024-11-12T18:40:26Z")

</div>

Basically I have a very large file that has some data I need to read, with the form, lets say: AA 1 10.0 B 22 2.0 I have to use this data to feed an array of a structure struct Data name::String index::Int …

---

## [Linter highlights missing references in Project.toml file](https://discourse.julialang.org/t/linter-highlights-missing-references-in-project-toml-file/122211)

<div class="topic-metadata">

**Author:** [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Replies:** 6\
**Last updated:** [November 12, 2024, 6:21pm UTC](https://discourse.julialang.org/t/linter-highlights-missing-references-in-project-toml-file/122211 "2024-11-12T18:21:32Z")

</div>

Sometimes the Julia VS Code linter highlights missing references in the Project.toml file (screenshot below). I’ve seen this before but never got around to reporting or asking about it. Has anyone else seen this? Is ther…

---

## [Datetime operations](https://discourse.julialang.org/t/datetime-operations/122507)

<div class="topic-metadata">

**Author:** [@SergeantMike67](https://discourse.julialang.org/u/SergeantMike67)\
**Replies:** 5\
**Last updated:** [November 12, 2024, 5:56pm UTC](https://discourse.julialang.org/t/datetime-operations/122507 "2024-11-12T17:56:33Z")

</div>

How does one get a datetime column in a Dataframe to be just the time in the format of “HH:MM:SS”. Currently, those with a time entered, reads as 1899-12-30T13:00:00 and I need it to be just 13:00 The reason is that I …

---

## [Slow argmin?](https://discourse.julialang.org/t/slow-argmin/122556)

<div class="topic-metadata">

**Author:** [@rveltz](https://discourse.julialang.org/u/rveltz)\
**Replies:** 3\
**Last updated:** [November 12, 2024, 5:46pm UTC](https://discourse.julialang.org/t/slow-argmin/122556 "2024-11-12T17:46:26Z")

</div>

Hi, I come across the following performance gap and I am not sure I understand why. function my\_min(a) val = a\[begin\] ind = 0 @inbounds for i in eachindex(a) if a\[i\]\>val val = a\[i\] …

---

## [Push! and insert! very slow? (julia 1.11) (EDIT: No; just one-time allocations.)](https://discourse.julialang.org/t/push-and-insert-very-slow-julia-1-11-edit-no-just-one-time-allocations/122502)

<div class="topic-metadata">

**Author:** [@mlanghinrichs](https://discourse.julialang.org/u/mlanghinrichs)\
**Replies:** 21\
**Last updated:** [November 12, 2024, 5:01pm UTC](https://discourse.julialang.org/t/push-and-insert-very-slow-julia-1-11-edit-no-just-one-time-allocations/122502 "2024-11-12T17:01:46Z")

</div>

Hi all, I felt that part of my code ran slowly, and then noticed runtimes of push! and insert! on the order of µs. In contrast, other in-place methods such as deleteat! or setindex! are on the order of ns. Are these run…

---

## [How do I make a Makie animation appear in a VSCode plotting window?](https://discourse.julialang.org/t/how-do-i-make-a-makie-animation-appear-in-a-vscode-plotting-window/91150)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 7\
**Last updated:** [November 12, 2024, 4:41pm UTC](https://discourse.julialang.org/t/how-do-i-make-a-makie-animation-appear-in-a-vscode-plotting-window/91150 "2024-11-12T16:41:06Z")

</div>

I have some code (copied from the Makie website) to make an animation: using GLMakie time = Observable(0.0) xs = range(0, 7, length=40) ys\_1 = @lift(sin.(xs .- $time)) ys\_2 = @lift(cos.(xs .- $time) .+ 3) fig = lines…

---

## [Continuation of periodic orbits for full pendulum revolution in BifurcationKit.jl](https://discourse.julialang.org/t/continuation-of-periodic-orbits-for-full-pendulum-revolution-in-bifurcationkit-jl/122550)

<div class="topic-metadata">

**Author:** [@gplaar](https://discourse.julialang.org/u/gplaar)\
**Replies:** 3\
**Last updated:** [November 12, 2024, 3:58pm UTC](https://discourse.julialang.org/t/continuation-of-periodic-orbits-for-full-pendulum-revolution-in-bifurcationkit-jl/122550 "2024-11-12T15:58:39Z")

</div>

Hello everyone! I am new to bifurcation analysis and I am trying to work with BifurcationKit.jl for my Master’s project. The system I’m working on consists of a freely moving excentric mass coupled to a 2-dof aeroelast…

---

## [Flux conv with GPU Arrays](https://discourse.julialang.org/t/flux-conv-with-gpu-arrays/122513)

<div class="topic-metadata">

**Author:** [@trasor](https://discourse.julialang.org/u/trasor)\
**Replies:** 5\
**Last updated:** [November 12, 2024, 3:35pm UTC](https://discourse.julialang.org/t/flux-conv-with-gpu-arrays/122513 "2024-11-12T15:35:00Z")

</div>

Hello everyone, i managed to build a UNet with Flux. On the cpu, everything works. But when i transfer the model on the gpu (using Metal.jl), the convoltional layers throw me an error. using Flux using Meta…

---

## [Understanding why COBYLA doesn't find optimum here](https://discourse.julialang.org/t/understanding-why-cobyla-doesnt-find-optimum-here/122542)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 5\
**Last updated:** [November 12, 2024, 3:27pm UTC](https://discourse.julialang.org/t/understanding-why-cobyla-doesnt-find-optimum-here/122542 "2024-11-12T15:27:56Z")

</div>

Hi, I’m trying to understand why the COBYLA algorithm doesn’t find the optimal value in the following MWE. By contrast, IPNewton does work. Am I violating some COBYLA assumption that I’m forgetting about? For the problem…

---

## [Example of registering a finalizer for unsafe\_wrapped data from ccall](https://discourse.julialang.org/t/example-of-registering-a-finalizer-for-unsafe-wrapped-data-from-ccall/122499)

<div class="topic-metadata">

**Author:** [@gmcardle](https://discourse.julialang.org/u/gmcardle)\
**Replies:** 9\
**Last updated:** [November 12, 2024, 2:49pm UTC](https://discourse.julialang.org/t/example-of-registering-a-finalizer-for-unsafe-wrapped-data-from-ccall/122499 "2024-11-12T14:49:55Z")

</div>

Hi, I’m using ccall on a C library that returns a pointer to some data that was malloced in the library and requires a separate API call to close the resource that the data came from. The dataset could be quite large (a …

---

## [PDE Parameter Estimation](https://discourse.julialang.org/t/pde-parameter-estimation/120724)

<div class="topic-metadata">

**Author:** [@cartiery](https://discourse.julialang.org/u/cartiery)\
**Replies:** 5\
**Last updated:** [November 12, 2024, 2:37pm UTC](https://discourse.julialang.org/t/pde-parameter-estimation/120724 "2024-11-12T14:37:15Z")

</div>

Hello, I’m new a DifferentialEquations/ModelingToolkit user that would like to perform parameter estimation of source terms in advection-dispersion equation. I’ve defined the PDE using ModelingToolkit, based on this pos…

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

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