# Latest

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

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

**Page:** 463

---

## [Impact of a local eval on performance](https://discourse.julialang.org/t/impact-of-a-local-eval-on-performance/111362)

<div class="topic-metadata">

**Author:** [@mnemnion](https://discourse.julialang.org/u/mnemnion)\
**Replies:** 14\
**Last updated:** [March 9, 2024, 4:47pm UTC](https://discourse.julialang.org/t/impact-of-a-local-eval-on-performance/111362 "2024-03-09T16:47:17Z")

</div>

Continuing the discussion from Eval a string with runtime defined functions: This can’t be the problem with local eval, because we can do that right now with plain-old eval: julia\> function global\_mutating(a, b) …

---

## [Equation handling in a MTK](https://discourse.julialang.org/t/equation-handling-in-a-mtk/111348)

<div class="topic-metadata">

**Author:** [@Sushrut\_Deshpande](https://discourse.julialang.org/u/Sushrut_Deshpande)\
**Replies:** 8\
**Last updated:** [March 9, 2024, 4:45pm UTC](https://discourse.julialang.org/t/equation-handling-in-a-mtk/111348 "2024-03-09T16:45:09Z")

</div>

Hello, I am playing with a toy problem. I apologies in advance if it is a trivial question. I am curious on how the equations of a model are handled. For example the following code gives expected results: using Model…

---

## [Juliaup - doesn't garbage collect?](https://discourse.julialang.org/t/juliaup-doesnt-garbage-collect/111118)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 7\
**Last updated:** [March 9, 2024, 3:18pm UTC](https://discourse.julialang.org/t/juliaup-doesnt-garbage-collect/111118 "2024-03-09T15:18:12Z")

</div>

I recently installed Julia v1.10.2 using juliaup. Once installed, juliaup informed me that it failed to remove Julia v1.10.1, and suggested I should run juliaup gc at a later stage. I checked the directory in question, …

---

## [MethodOfLines & Boundary Conditions](https://discourse.julialang.org/t/methodoflines-boundary-conditions/111393)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 2\
**Last updated:** [March 9, 2024, 3:15pm UTC](https://discourse.julialang.org/t/methodoflines-boundary-conditions/111393 "2024-03-09T15:15:51Z")

</div>

I have a PDE system with: 3 PDEs A number of additional algebraic equations I have boundary and initial value conditions with a number of added algebraic equations to describe the boundary conditions When I try to dis…

---

## ['dump' beyond stdout](https://discourse.julialang.org/t/dump-beyond-stdout/111346)

<div class="topic-metadata">

**Author:** [@improf](https://discourse.julialang.org/u/improf)\
**Replies:** 4\
**Last updated:** [March 9, 2024, 1:39pm UTC](https://discourse.julialang.org/t/dump-beyond-stdout/111346 "2024-03-09T13:39:00Z")

</div>

My Julia programs generally have number of mutable structs, each containing some multi-dimensional arrays. Sometimes I just want to quickly inspect what is going on with them and for that the best tool I found is dump. H…

---

## [Faster matmul](https://discourse.julialang.org/t/faster-matmul/111389)

<div class="topic-metadata">

**Author:** [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Replies:** 3\
**Last updated:** [March 9, 2024, 10:54am UTC](https://discourse.julialang.org/t/faster-matmul/111389 "2024-03-09T10:54:22Z")

</div>

https://arstechnica.com/information-technology/2024/03/matrix-multiplication-breakthrough-could-lead-to-faster-more-efficient-ai-models/ Would Julia implement new matmul algo like above?

---

## [Clearing axis cache on Julia REPL](https://discourse.julialang.org/t/clearing-axis-cache-on-julia-repl/111369)

<div class="topic-metadata">

**Author:** [@Enlil50](https://discourse.julialang.org/u/Enlil50)\
**Replies:** 5\
**Last updated:** [March 9, 2024, 7:58am UTC](https://discourse.julialang.org/t/clearing-axis-cache-on-julia-repl/111369 "2024-03-09T07:58:39Z")

</div>

I have this program using PythonPlot x = \[1, 2\] y = Float64\[1.01, 1.02\] fig1 = pyplot.figure(1) ax1 = fig1.add\_subplot(1, 1, 1) plot(x, y, '.') pyplot.suptitle(L"title", fontsize=12) ax1.set\_ylabel(L"x \\ axis", fontsi…

---

## [PDESystem & MOL](https://discourse.julialang.org/t/pdesystem-mol/111283)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 2\
**Last updated:** [March 8, 2024, 5:05pm UTC](https://discourse.julialang.org/t/pdesystem-mol/111283 "2024-03-08T17:05:21Z")

</div>

I’m trying to formulate a PDE system for solution via MethodOfLines.jl. In the last step, I need to use the PDESystem constructor. It is not clear to me what the arguments of that function need to be. Here is what I have…

---

## [Using a local package](https://discourse.julialang.org/t/using-a-local-package/111387)

<div class="topic-metadata">

**Author:** [@jiang\_ming\_zhang](https://discourse.julialang.org/u/jiang_ming_zhang)\
**Replies:** 7\
**Last updated:** [March 9, 2024, 5:19am UTC](https://discourse.julialang.org/t/using-a-local-package/111387 "2024-03-09T05:19:18Z")

</div>

I downloaded a package from github, so I have all the source codes. To run an example code, I have to install the package first using pkg as suggested by the author. However, that failed. Is it possible to run the code…

---

## [Issue using llvm](https://discourse.julialang.org/t/issue-using-llvm/111374)

<div class="topic-metadata">

**Author:** [@Daniel\_Scheinerman](https://discourse.julialang.org/u/Daniel_Scheinerman)\
**Replies:** 5\
**Last updated:** [March 9, 2024, 4:41am UTC](https://discourse.julialang.org/t/issue-using-llvm/111374 "2024-03-09T04:41:08Z")

</div>

I am trying to use the Intel intrinsic pmullw. Details likely don’t matter. It takes two 64 bit integers and returns a 64 bit integer. I tried calling it as follows: x=rand(Int64) y=rand(Int64) ccall("llvm.x86.pmullw",l…

---

## [Simulation random points on a circle](https://discourse.julialang.org/t/simulation-random-points-on-a-circle/111363)

<div class="topic-metadata">

**Author:** [@Francesco\_C](https://discourse.julialang.org/u/Francesco_C)\
**Replies:** 8\
**Last updated:** [March 8, 2024, 11:29pm UTC](https://discourse.julialang.org/t/simulation-random-points-on-a-circle/111363 "2024-03-08T23:29:09Z")

</div>

Hi, I am currently working on simulating random points on a circle based on a non-uniform distribution. Initially, I successfully generated these random points using a set of code lines. However, some of the simulated r…

---

## [Loss function in NeuralPDE.jl](https://discourse.julialang.org/t/loss-function-in-neuralpde-jl/109702)

<div class="topic-metadata">

**Author:** [@Vivi](https://discourse.julialang.org/u/Vivi)\
**Replies:** 8\
**Last updated:** [March 8, 2024, 11:30am UTC](https://discourse.julialang.org/t/loss-function-in-neuralpde-jl/109702 "2024-03-08T11:30:59Z")

</div>

Hi, I’m trying to train a PINN using NeuralPDE.jl. I was able to start the training and achieved (at least in my opinion) a quiet small loss \< 1e-7. But when I plotted the network solution against the analytic solution …

---

## [Advances in the matrix multiplication algorithm](https://discourse.julialang.org/t/advances-in-the-matrix-multiplication-algorithm/111336)

<div class="topic-metadata">

**Author:** [@xiaoxi](https://discourse.julialang.org/u/xiaoxi)\
**Replies:** 2\
**Last updated:** [March 8, 2024, 9:25pm UTC](https://discourse.julialang.org/t/advances-in-the-matrix-multiplication-algorithm/111336 "2024-03-08T21:25:21Z")

</div>

It appears that there have been some advances in the matrix multiplication algorithm. The article refers to these two papers: https://epubs.siam.org/doi/10.1137/1.9781611977912.134

---

## [How likely is DataSpell to become a good IDE for Julia](https://discourse.julialang.org/t/how-likely-is-dataspell-to-become-a-good-ide-for-julia/72647)

<div class="topic-metadata">

**Author:** [@SamBrand](https://discourse.julialang.org/u/SamBrand)\
**Replies:** 7\
**Last updated:** [March 8, 2024, 9:20pm UTC](https://discourse.julialang.org/t/how-likely-is-dataspell-to-become-a-good-ide-for-julia/72647 "2024-03-08T21:20:29Z")

</div>

Hi everyone! Bit of a speculative/idle query here. My brother spends his time raving about JetBrains products, however, IntelliJ + Julia plug-in is no where near as useful as Atom/Juno or (especially) VS-Code/Julia. I…

---

## [I will never understand floating-point arithmetic](https://discourse.julialang.org/t/i-will-never-understand-floating-point-arithmetic/111342)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 17\
**Last updated:** [March 8, 2024, 4:05pm UTC](https://discourse.julialang.org/t/i-will-never-understand-floating-point-arithmetic/111342 "2024-03-08T16:05:15Z")

</div>

I will never understand float point arithmetic… julia\> a = 10000 \* 7 /100 700.0 julia\> b = 10000 \* 0.07 700.0000000000001 julia\> c = 1000 \* 0.69999999999999999 700.0 (but at list I am aware of the danger…)

---

## [\[Workgroup\] JuliaHealth Meeting (Americas/Europe/Africa) – February 29th, 2024](https://discourse.julialang.org/t/workgroup-juliahealth-meeting-americas-europe-africa-february-29th-2024/110927)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 3\
**Last updated:** [March 8, 2024, 8:02pm UTC](https://discourse.julialang.org/t/workgroup-juliahealth-meeting-americas-europe-africa-february-29th-2024/110927 "2024-03-08T20:02:30Z")

</div>

Hi folks :wave: Hope everyone is doing well! This is our new approach to using Zoom for these meetings – PLEASE NOTE THE ZOOM JOIN INFORMATION BELOW! Here’s this month’s agenda! Monthly Meeting Agenda: Announcements…

---

## [Help solving: Adding a few equations to ODE slows JuMP \>100x](https://discourse.julialang.org/t/help-solving-adding-a-few-equations-to-ode-slows-jump-100x/111321)

<div class="topic-metadata">

**Author:** [@lpz18](https://discourse.julialang.org/u/lpz18)\
**Replies:** 18\
**Last updated:** [March 8, 2024, 8:00pm UTC](https://discourse.julialang.org/t/help-solving-adding-a-few-equations-to-ode-slows-jump-100x/111321 "2024-03-08T20:00:54Z")

</div>

I’m using JuMP with Ipopt and AppleAccelerate.jl Following the rocket control tutorial, I coded a simplified set of differential equations where I optimize a control function. My simplified code takes \<2s to run: # dy…

---

## [What is the most Julia-associated emoji character?](https://discourse.julialang.org/t/what-is-the-most-julia-associated-emoji-character/111337)

<div class="topic-metadata">

**Author:** [@goerz](https://discourse.julialang.org/u/goerz)\
**Replies:** 5\
**Last updated:** [March 8, 2024, 5:37pm UTC](https://discourse.julialang.org/t/what-is-the-most-julia-associated-emoji-character/111337 "2024-03-08T17:37:21Z")

</div>

I’m translating some tutorial notebooks from Python to Julia. The existing notebooks use the :snake: emoji to indicate “level of Python expertise required”: What would be the best emoji to use to express “level of Ju…

---

## [Tidier creating random columns](https://discourse.julialang.org/t/tidier-creating-random-columns/111220)

<div class="topic-metadata">

**Author:** [@RobertGregg](https://discourse.julialang.org/u/RobertGregg)\
**Replies:** 4\
**Last updated:** [March 8, 2024, 5:32pm UTC](https://discourse.julialang.org/t/tidier-creating-random-columns/111220 "2024-03-08T17:32:06Z")

</div>

I’m trying to randomly split some data stratified by a reference vector. My idea was to group by each category in the reference column and then create a new random column using a Bernoulli random sample. using Tidier, D…

---

## [Nonconvex.jl documentation](https://discourse.julialang.org/t/nonconvex-jl-documentation/111318)

<div class="topic-metadata">

**Author:** [@rtapia](https://discourse.julialang.org/u/rtapia)\
**Replies:** 3\
**Last updated:** [March 8, 2024, 5:24pm UTC](https://discourse.julialang.org/t/nonconvex-jl-documentation/111318 "2024-03-08T17:24:06Z")

</div>

Hello, This may be a silly question, but where can I find the applicable args and kwargs to the function optimize() in Nonconvex.jl are these the same as NLopt or other packages like JuMP? Additionally, based on Variou…

---

## [Random Revise warnings](https://discourse.julialang.org/t/random-revise-warnings/111311)

<div class="topic-metadata">

**Author:** [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Replies:** 6\
**Last updated:** [March 8, 2024, 4:22pm UTC](https://discourse.julialang.org/t/random-revise-warnings/111311 "2024-03-08T16:22:11Z")

</div>

Since I updated to 1.10.2 I now, at random (that I can tell), start to see these. Only me? ┌ Warning: C:\\workdir\\usr\\share\\julia\\stdlib\\v1.10\\SparseArrays\\src\\solvers\\LibSuiteSparse.jl no longer exists, deleted all meth…

---

## [Is adding a type parameter to a struct a breaking change?](https://discourse.julialang.org/t/is-adding-a-type-parameter-to-a-struct-a-breaking-change/111236)

<div class="topic-metadata">

**Author:** [@Alexander-Barth](https://discourse.julialang.org/u/Alexander-Barth)\
**Replies:** 13\
**Last updated:** [March 8, 2024, 3:30pm UTC](https://discourse.julialang.org/t/is-adding-a-type-parameter-to-a-struct-a-breaking-change/111236 "2024-03-08T15:30:50Z")

</div>

If you have previously an exported type MyDateTime in a registered package: struct MyDateTime instant::Int64 end Would be adding a type parameter be a breaking change under the semantic versioning? struct MyDateTime…

---

## [Mcedit syntax file](https://discourse.julialang.org/t/mcedit-syntax-file/111082)

<div class="topic-metadata">

**Author:** [@BloodFeastMan](https://discourse.julialang.org/u/BloodFeastMan)\
**Replies:** 4\
**Last updated:** [March 8, 2024, 3:22pm UTC](https://discourse.julialang.org/t/mcedit-syntax-file/111082 "2024-03-08T15:22:29Z")

</div>

I wonder if anyone has already made a syntax file for Mcedit?

---

## [\[CCALL/INTEROP\] Get a \`Ptr\` for the last (or arbitrary) element of an array](https://discourse.julialang.org/t/ccall-interop-get-a-ptr-for-the-last-or-arbitrary-element-of-an-array/111360)

<div class="topic-metadata">

**Author:** [@Henrique\_Becker](https://discourse.julialang.org/u/Henrique_Becker)\
**Replies:** 2\
**Last updated:** [March 8, 2024, 3:19pm UTC](https://discourse.julialang.org/t/ccall-interop-get-a-ptr-for-the-last-or-arbitrary-element-of-an-array/111360 "2024-03-08T15:19:56Z")

</div>

Sorry, I tried to find it myself in documentation but was not able to find a good answer. I want to wrap a C function that takes two pointers, one for the first element of an array, the other for the last element of the…

---

## [Channel doesn't close when bound task exits](https://discourse.julialang.org/t/channel-doesnt-close-when-bound-task-exits/111349)

<div class="topic-metadata">

**Author:** [@green.nsk](https://discourse.julialang.org/u/green.nsk)\
**Replies:** 5\
**Last updated:** [March 8, 2024, 2:59pm UTC](https://discourse.julialang.org/t/channel-doesnt-close-when-bound-task-exits/111349 "2024-03-08T14:59:20Z")

</div>

We have some code that was working fine until we migrated to julia-1.10 and now with Julia 1.10.2 it’s quite flaky. I’ve reduced the code to the example below, which I think shouldn’t violate the assertion, but it does. …

---

## [Densitymapbox not working as expected](https://discourse.julialang.org/t/densitymapbox-not-working-as-expected/111361)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 0\
**Last updated:** [March 8, 2024, 2:49pm UTC](https://discourse.julialang.org/t/densitymapbox-not-working-as-expected/111361 "2024-03-08T14:49:04Z")

</div>

Anyone has a working example? The examples I am running don’t produce the expected result: densitymapbox doesn't generate a valid visualization · Issue #484 · JuliaPlots/PlotlyJS.jl · GitHub

---

## [Is there a cluster manager for Google?](https://discourse.julialang.org/t/is-there-a-cluster-manager-for-google/111358)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 0\
**Last updated:** [March 8, 2024, 2:18pm UTC](https://discourse.julialang.org/t/is-there-a-cluster-manager-for-google/111358 "2024-03-08T14:18:51Z")

</div>

I haven’t used gcloud yet, hence sorry if this question does not make sense. We have AWSClusterManagers.jl for AWS and AzManagers.jl for Azure and K8sClusterManagers.jl for Kubernetes. Is there one for GCloud?

---

## [Who is using AWSClusterManagers.jl?](https://discourse.julialang.org/t/who-is-using-awsclustermanagers-jl/111357)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 0\
**Last updated:** [March 8, 2024, 2:16pm UTC](https://discourse.julialang.org/t/who-is-using-awsclustermanagers-jl/111357 "2024-03-08T14:16:18Z")

</div>

I am wondering whether AWSClusterManagers.jl is still used, as it hasn’t seen any updates since a couple of years.

---

## [Changing polynomial bases](https://discourse.julialang.org/t/changing-polynomial-bases/111238)

<div class="topic-metadata">

**Author:** [@votroto](https://discourse.julialang.org/u/votroto)\
**Replies:** 7\
**Last updated:** [March 8, 2024, 1:43pm UTC](https://discourse.julialang.org/t/changing-polynomial-bases/111238 "2024-03-08T13:43:34Z")

</div>

Hello, I noticed there is a julia package MultivariateBases.jl for finding the bases of multivariate polynomials. Is there a simple way to get the coefficients corresponding to the basis generated basis elements? Thank …

---

## [Map-function with range syntax map(f❌kw, seq)](https://discourse.julialang.org/t/map-function-with-range-syntax-map-fkw-seq/111354)

<div class="topic-metadata">

**Author:** [@richard-hartmann](https://discourse.julialang.org/u/richard-hartmann)\
**Replies:** 6\
**Last updated:** [March 8, 2024, 1:30pm UTC](https://discourse.julialang.org/t/map-function-with-range-syntax-map-fkw-seq/111354 "2024-03-08T13:30:48Z")

</div>

Hey, I came across the following syntax. map(f:x:kw, ys) I would be very happy if someone could explain that line in detail to me. Or hint me to the appropriate page of the julia documentation. So far I was not able t…

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

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