# Latest

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

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

**Page:** 684

---

## [We are proud to have Stephen Wolfram as a keynote speaker](https://discourse.julialang.org/t/we-are-proud-to-have-stephen-wolfram-as-a-keynote-speaker/98524)

<div class="topic-metadata">

**Author:** [@Steven\_Kell](https://discourse.julialang.org/u/Steven_Kell)\
**Replies:** 0\
**Last updated:** [May 9, 2023, 4:28am UTC](https://discourse.julialang.org/t/we-are-proud-to-have-stephen-wolfram-as-a-keynote-speaker/98524 "2023-05-09T04:28:08Z")

</div>

We want to welcome Stephan Wolfram as a keynote speaker at JuliaCon 2023! Stephen Wolfram is the creator of Wolfram Mathematica, Wolfram|Alpha and the Wolfram Language; the author of A New Kind of Science; the origi…

---

## [JuliaCon 2023 Schedule Released](https://discourse.julialang.org/t/juliacon-2023-schedule-released/99120)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 0\
**Last updated:** [May 19, 2023, 4:15pm UTC](https://discourse.julialang.org/t/juliacon-2023-schedule-released/99120 "2023-05-19T16:15:19Z")

</div>

---

## [Create a shared accomodation subforum for JuliaCon 2023?](https://discourse.julialang.org/t/create-a-shared-accomodation-subforum-for-juliacon-2023/99633)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 1\
**Last updated:** [May 31, 2023, 8:14pm UTC](https://discourse.julialang.org/t/create-a-shared-accomodation-subforum-for-juliacon-2023/99633 "2023-05-31T20:14:20Z")

</div>

Could we create a “shared accommodation” subforum under JuliaCon 2023 so people can organize sharing a hotel room, Airbnb, or similar?

---

## [Find permutation of an array such that it is equal to another array](https://discourse.julialang.org/t/find-permutation-of-an-array-such-that-it-is-equal-to-another-array/85365)

<div class="topic-metadata">

**Author:** [@heindelj](https://discourse.julialang.org/u/heindelj)\
**Replies:** 10\
**Last updated:** [May 31, 2023, 8:08pm UTC](https://discourse.julialang.org/t/find-permutation-of-an-array-such-that-it-is-equal-to-another-array/85365 "2023-05-31T20:08:36Z")

</div>

I have a rather simple question that I’m surprised I haven’t been able to figure out easily. Suppose I have two arrays, A=\["A","C","B","C"\], and B=\["C","B","A","C"\]. Treat A as the correct sorted order of the array. Ho…

---

## [Interface guarantees](https://discourse.julialang.org/t/interface-guarantees/99244)

<div class="topic-metadata">

**Author:** [@FelixBenning](https://discourse.julialang.org/u/FelixBenning)\
**Replies:** 22\
**Last updated:** [May 31, 2023, 6:43pm UTC](https://discourse.julialang.org/t/interface-guarantees/99244 "2023-05-31T18:43:57Z")

</div>

So in this entire thread in particular this post there is the notion that tests could replace formal interfaces. At the moment intefaces are only defined in documentation and that leads to a lot of stability issues it s…

---

## [Higher order derivatives with ParallelStencil](https://discourse.julialang.org/t/higher-order-derivatives-with-parallelstencil/99647)

<div class="topic-metadata">

**Author:** [@Teerthal](https://discourse.julialang.org/u/Teerthal)\
**Replies:** 2\
**Last updated:** [May 31, 2023, 6:24pm UTC](https://discourse.julialang.org/t/higher-order-derivatives-with-parallelstencil/99647 "2023-05-31T18:24:01Z")

</div>

I am currently implementing a numerical simulation code on multiple GPUs using ParallelStencil+ImplicitGlobalGrid. I wanted to use higher order numerical differentiation schemes which I could easily do by extending the …

---

## [Two subfigures with PlotlyJS.jl](https://discourse.julialang.org/t/two-subfigures-with-plotlyjs-jl/99666)

<div class="topic-metadata">

**Author:** [@ga72kud](https://discourse.julialang.org/u/ga72kud)\
**Replies:** 1\
**Last updated:** [May 31, 2023, 4:45pm UTC](https://discourse.julialang.org/t/two-subfigures-with-plotlyjs-jl/99666 "2023-05-31T16:45:35Z")

</div>

I am using the great PlotlyJS package for map visualization. I want to have two subfigures with USA and Europe map. I can the following code, but the subfigures do not scale adequate using PlotlyJS, DataFrames using XLS…

---

## [\[ANN\] Electrum.jl - a kit for building chemical theory tools](https://discourse.julialang.org/t/ann-electrum-jl-a-kit-for-building-chemical-theory-tools/99620)

<div class="topic-metadata">

**Author:** [@brainandforce](https://discourse.julialang.org/u/brainandforce)\
**Replies:** 3\
**Last updated:** [May 31, 2023, 4:10pm UTC](https://discourse.julialang.org/t/ann-electrum-jl-a-kit-for-building-chemical-theory-tools/99620 "2023-05-31T16:10:20Z")

</div>

Electrum.jl provides data types and methods that can be used to build tools for solid-state chemistry, aiming to assist those new to both solid-state chemistry and programming. Background I started graduate school in a …

---

## [VSCode Compatibility Issues](https://discourse.julialang.org/t/vscode-compatibility-issues/99642)

<div class="topic-metadata">

**Author:** [@anistrope](https://discourse.julialang.org/u/anistrope)\
**Replies:** 2\
**Last updated:** [May 31, 2023, 3:46pm UTC](https://discourse.julialang.org/t/vscode-compatibility-issues/99642 "2023-05-31T15:46:39Z")

</div>

The problem is I can’t get Julia to run on VSCode. I’ve looked through posts from here, StackExchange, and Reddit, among other platforms to try and fix this issue. Not only does VScode not start Julia’s language server, …

---

## [How to achieve good performance with Zygote.pushforward on a neural network](https://discourse.julialang.org/t/how-to-achieve-good-performance-with-zygote-pushforward-on-a-neural-network/55971)

<div class="topic-metadata">

**Author:** [@de-souza](https://discourse.julialang.org/u/de-souza)\
**Replies:** 3\
**Last updated:** [May 31, 2023, 3:21pm UTC](https://discourse.julialang.org/t/how-to-achieve-good-performance-with-zygote-pushforward-on-a-neural-network/55971 "2023-05-31T15:21:57Z")

</div>

Hello, I am trying to implement a neural network with a loss function that contains a derivative of the network with regards to its input. To be able to use Flux to update the weights of the network, the loss function …

---

## [Nsight compute fails to launch julia](https://discourse.julialang.org/t/nsight-compute-fails-to-launch-julia/99636)

<div class="topic-metadata">

**Author:** [@bthorne93](https://discourse.julialang.org/u/bthorne93)\
**Replies:** 3\
**Last updated:** [May 31, 2023, 2:28pm UTC](https://discourse.julialang.org/t/nsight-compute-fails-to-launch-julia/99636 "2023-05-31T14:28:49Z")

</div>

I am trying to profile a julia cuda application using Nsight compute, however I am running into an obscure error before julia even seems to be launched. This only occurs on versions 1.9 and 1.8, version \<1.7 actually wor…

---

## [\[ANN\] NaturalNeighbours.jl: Natural neighbour interpolation and derivative generation](https://discourse.julialang.org/t/ann-naturalneighbours-jl-natural-neighbour-interpolation-and-derivative-generation/99164)

<div class="topic-metadata">

**Author:** [@DanielVandH](https://discourse.julialang.org/u/DanielVandH)\
**Replies:** 10\
**Last updated:** [May 31, 2023, 2:00pm UTC](https://discourse.julialang.org/t/ann-naturalneighbours-jl-natural-neighbour-interpolation-and-derivative-generation/99164 "2023-05-31T14:00:54Z")

</div>

Hi all, I’ve just submitted my package NaturalNeighbours.jl for registration. This package is useful for performing natural neighbour interpolation over (scattered) planar data sets, as well as for derivative generation…

---

## [Project CellStates in Gridap](https://discourse.julialang.org/t/project-cellstates-in-gridap/99387)

<div class="topic-metadata">

**Author:** [@christopherfear](https://discourse.julialang.org/u/christopherfear)\
**Replies:** 1\
**Last updated:** [May 31, 2023, 12:59pm UTC](https://discourse.julialang.org/t/project-cellstates-in-gridap/99387 "2023-05-31T12:59:41Z")

</div>

I am looking to project a CellState from the triangulation of a quad mesh created in gmsh. Triangles created in gmsh/ a domain of quads made in Gridap (with the domain and partition functions) work with no issues. The …

---

## [Inside closures, captured constructors are much slower than captured functions](https://discourse.julialang.org/t/inside-closures-captured-constructors-are-much-slower-than-captured-functions/99638)

<div class="topic-metadata">

**Author:** [@matthias314](https://discourse.julialang.org/u/matthias314)\
**Replies:** 2\
**Last updated:** [May 31, 2023, 12:47pm UTC](https://discourse.julialang.org/t/inside-closures-captured-constructors-are-much-slower-than-captured-functions/99638 "2023-05-31T12:47:54Z")

</div>

I have noticed that inside function closures, using a captured variable with a type value as a constructor is much slower than using a variable with a function value. Consider the following (silly) example: function g(f…

---

## [Best way to invert numerically a function and to evaluate it on a large array](https://discourse.julialang.org/t/best-way-to-invert-numerically-a-function-and-to-evaluate-it-on-a-large-array/99526)

<div class="topic-metadata">

**Author:** [@mcp](https://discourse.julialang.org/u/mcp)\
**Replies:** 7\
**Last updated:** [May 31, 2023, 12:32pm UTC](https://discourse.julialang.org/t/best-way-to-invert-numerically-a-function-and-to-evaluate-it-on-a-large-array/99526 "2023-05-31T12:32:49Z")

</div>

Hello, I’m a new user of Julia. I want to invert numerically a function and to compute the inverse on a ‘large’ array. For the moment I studied only two options: using a Newton-Rhapson algorithm (I know the first deriv…

---

## [Installing CUDA](https://discourse.julialang.org/t/installing-cuda/49224)

<div class="topic-metadata">

**Author:** [@asyrov](https://discourse.julialang.org/u/asyrov)\
**Replies:** 4\
**Last updated:** [May 31, 2023, 12:27pm UTC](https://discourse.julialang.org/t/installing-cuda/49224 "2023-05-31T12:27:33Z")

</div>

I’m trying to re-install CUDA package after first initial install failed (sorry to say, but I aborted first install by Cntrl+C while it was doing someing, not sure what). But now nothing I do helps. I reinstalled julia, …

---

## [Odd error for contour plots with PGFPlotsX](https://discourse.julialang.org/t/odd-error-for-contour-plots-with-pgfplotsx/99670)

<div class="topic-metadata">

**Author:** [@theo](https://discourse.julialang.org/u/theo)\
**Replies:** 0\
**Last updated:** [May 31, 2023, 12:17pm UTC](https://discourse.julialang.org/t/odd-error-for-contour-plots-with-pgfplotsx/99670 "2023-05-31T12:17:40Z")

</div>

So some of my contour plots with PGFPlotsX are breaking, others are not. I tried to find a simple way to reproduce the error and realised it breaks if I try to plot anything that’s flat… Can anyone explain this? julia\> …

---

## [Training NN with Loss from Differential Equation](https://discourse.julialang.org/t/training-nn-with-loss-from-differential-equation/99669)

<div class="topic-metadata">

**Author:** [@Duarte\_Magano](https://discourse.julialang.org/u/Duarte_Magano)\
**Replies:** 0\
**Last updated:** [May 31, 2023, 12:09pm UTC](https://discourse.julialang.org/t/training-nn-with-loss-from-differential-equation/99669 "2023-05-31T12:09:56Z")

</div>

Hello! Say I have a differential equation of the form du/dt = NN(u), where NN(u) is the output of a neural network that takes as input the current value of u. The boundary condition is u(0) = 0. I want to train the ne…

---

## [Fixing labeled array package fragmentation](https://discourse.julialang.org/t/fixing-labeled-array-package-fragmentation/99412)

<div class="topic-metadata">

**Author:** [@ParadaCarleton](https://discourse.julialang.org/u/ParadaCarleton)\
**Replies:** 69\
**Last updated:** [May 31, 2023, 11:22am UTC](https://discourse.julialang.org/t/fixing-labeled-array-package-fragmentation/99412 "2023-05-31T11:22:48Z")

</div>

I think documenting that Makie+Plots are the most popular plotting packages would be great :smile: The plotting ecosystem is pretty good in this regard though–there’s ~2 major plotting packages. I’m more worried about …

---

## [Freezing neural network parameters in Universal Differential Equation framework](https://discourse.julialang.org/t/freezing-neural-network-parameters-in-universal-differential-equation-framework/99661)

<div class="topic-metadata">

**Author:** [@Stefano\_Giampiccolo](https://discourse.julialang.org/u/Stefano_Giampiccolo)\
**Replies:** 2\
**Last updated:** [May 31, 2023, 9:44am UTC](https://discourse.julialang.org/t/freezing-neural-network-parameters-in-universal-differential-equation-framework/99661 "2023-05-31T09:44:25Z")

</div>

Hi, I’m working on hybrid systems with the SciML framework, approximating one of the derivatives of an ODE system with a neural network. When I attempt, using Lux.freeze, to freeze some of the network parameters that I …

---

## [\[ANN\] DaemonMode.jl: a package to run faster scripts in Julia](https://discourse.julialang.org/t/ann-daemonmode-jl-a-package-to-run-faster-scripts-in-julia/42384)

<div class="topic-metadata">

**Author:** [@dmolina](https://discourse.julialang.org/u/dmolina)\
**Replies:** 39\
**Last updated:** [May 31, 2023, 9:22am UTC](https://discourse.julialang.org/t/ann-daemonmode-jl-a-package-to-run-faster-scripts-in-julia/42384 "2023-05-31T09:22:21Z")

</div>

Julia is a great language, but the Just-in-Time compiler implies that loading a package could takes a considerable time, this is called the first plot problem. It is true that this time is only required for the first ti…

---

## [List of packages imported with "using" in a module](https://discourse.julialang.org/t/list-of-packages-imported-with-using-in-a-module/99658)

<div class="topic-metadata">

**Author:** [@tlienart](https://discourse.julialang.org/u/tlienart)\
**Replies:** 1\
**Last updated:** [May 31, 2023, 8:56am UTC](https://discourse.julialang.org/t/list-of-packages-imported-with-using-in-a-module/99658 "2023-05-31T08:56:24Z")

</div>

module A using B end is there somefunction(A) that returns a list which contains :B ? If B is imported, names does the job: module A import B end names(A, imported=true) # \[:A, :B\] I’d ideally like something that …

---

## [How to rename MongoDb collections with Mongoc.jl](https://discourse.julialang.org/t/how-to-rename-mongodb-collections-with-mongoc-jl/99595)

<div class="topic-metadata">

**Author:** [@hansn](https://discourse.julialang.org/u/hansn)\
**Replies:** 7\
**Last updated:** [May 31, 2023, 8:45am UTC](https://discourse.julialang.org/t/how-to-rename-mongodb-collections-with-mongoc-jl/99595 "2023-05-31T08:45:33Z")

</div>

I am using Mongoc.jl to work with MongoDb. I need to be able to rename collections. In Python - using PyMongo - it can be done with database\["someName"\].rename\["newName\]. But with Mongoc I can’t find any functionality to…

---

## [Latexstring + sprintf](https://discourse.julialang.org/t/latexstring-sprintf/99596)

<div class="topic-metadata">

**Author:** [@volkerkarle](https://discourse.julialang.org/u/volkerkarle)\
**Replies:** 1\
**Last updated:** [May 31, 2023, 8:32am UTC](https://discourse.julialang.org/t/latexstring-sprintf/99596 "2023-05-31T08:32:52Z")

</div>

Hello! For plotting I’m often using something similar to latexstring(@sprintf("a=%.3f \\\\beta, b=%.3f \\\\alpha",π, 1-π)) and I was wondering if somebody is using a better option or has an idea which 1) has something lik…

---

## [\[ANN\] ABCdeZ.jl -- Bayesian inference / model evidences](https://discourse.julialang.org/t/ann-abcdez-jl-bayesian-inference-model-evidences/99655)

<div class="topic-metadata">

**Author:** [@mlanghinrichs](https://discourse.julialang.org/u/mlanghinrichs)\
**Replies:** 0\
**Last updated:** [May 31, 2023, 8:03am UTC](https://discourse.julialang.org/t/ann-abcdez-jl-bayesian-inference-model-evidences/99655 "2023-05-31T08:03:15Z")

</div>

Hi there, I want to share a package that I have developed over the last months, for Approximate Bayesian Computation (ABC) / inference problems with an intractable likelihood. In ABC, models only need to be simulated (t…

---

## [UndefVarError: \_pass\_variable\_names\_to\_solver not defined - Xpress solver in Julia](https://discourse.julialang.org/t/undefvarerror-pass-variable-names-to-solver-not-defined-xpress-solver-in-julia/99292)

<div class="topic-metadata">

**Author:** [@Ignacio](https://discourse.julialang.org/u/Ignacio)\
**Replies:** 4\
**Last updated:** [May 31, 2023, 7:41am UTC](https://discourse.julialang.org/t/undefvarerror-pass-variable-names-to-solver-not-defined-xpress-solver-in-julia/99292 "2023-05-31T07:41:12Z")

</div>

Good evening, I am building an optimization model, in which I want to pass the names of the variables and constranits to the solver, so an IIS can be built afterwards if the problem turns out to be infeasible. I am usin…

---

## [Illegal memory indexing for broadcast of a recursive function](https://discourse.julialang.org/t/illegal-memory-indexing-for-broadcast-of-a-recursive-function/99534)

<div class="topic-metadata">

**Author:** [@albertomercurio](https://discourse.julialang.org/u/albertomercurio)\
**Replies:** 6\
**Last updated:** [May 31, 2023, 7:20am UTC](https://discourse.julialang.org/t/illegal-memory-indexing-for-broadcast-of-a-recursive-function/99534 "2023-05-31T07:20:16Z")

</div>

Hello, I’m trying to implement the generalized Laguerre function acting element-wise to the elements of a CuArray. The basic code uses a recursive function to evaluate the laguerre polynomial using CUDA using LinearAl…

---

## [How to correctly design multi-thread cache that's transparent to user iteration?](https://discourse.julialang.org/t/how-to-correctly-design-multi-thread-cache-thats-transparent-to-user-iteration/99577)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 10\
**Last updated:** [May 31, 2023, 7:18am UTC](https://discourse.julialang.org/t/how-to-correctly-design-multi-thread-cache-thats-transparent-to-user-iteration/99577 "2023-05-31T07:18:16Z")

</div>

Runnable code and benchmark at this gist. This is a widespread pattern for columnar-storage access, usually each column is too large to fit in ram, so it’s chunked in to clusters, and each cluster is individually compre…

---

## [\[ANN\] SharedMemoryLocks.jl](https://discourse.julialang.org/t/ann-sharedmemorylocks-jl/99645)

<div class="topic-metadata">

**Author:** [@andreyz4k](https://discourse.julialang.org/u/andreyz4k)\
**Replies:** 0\
**Last updated:** [May 31, 2023, 6:12am UTC](https://discourse.julialang.org/t/ann-sharedmemorylocks-jl/99645 "2023-05-31T06:12:17Z")

</div>

Hello there, I was looking for a way to share a consistent state between several local processes that would be more efficient than using channels. I noticed that since I can use CAS operations on any pointer and SharedA…

---

## [Second derivative in Zygote returns nothing](https://discourse.julialang.org/t/second-derivative-in-zygote-returns-nothing/99624)

<div class="topic-metadata">

**Author:** [@jarroyoe](https://discourse.julialang.org/u/jarroyoe)\
**Replies:** 1\
**Last updated:** [May 31, 2023, 3:59am UTC](https://discourse.julialang.org/t/second-derivative-in-zygote-returns-nothing/99624 "2023-05-31T03:59:13Z")

</div>

I need to optimize a function that depends on the gradient of another function. When I run the following code: using Zygote data = rand(1,10) f(p,x) = \[x\*p\[1\];x\*p\[2\].+p\[3\]\] truef(x) = \[x.+1;2\*x\] function loss(p) …

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

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