# Latest

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

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

**Page:** 1041

---

## [What do other plotting libraries do well?](https://discourse.julialang.org/t/what-do-other-plotting-libraries-do-well/81061)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 0\
**Last updated:** [May 14, 2022, 1:55pm UTC](https://discourse.julialang.org/t/what-do-other-plotting-libraries-do-well/81061 "2022-05-14T13:55:32Z")

</div>

Dear significant contributors to any plotting package: Which aspect of some other plotting package do you like? What do you think they do particularly well?

---

## [Look for help for weird type inference](https://discourse.julialang.org/t/look-for-help-for-weird-type-inference/80834)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 2\
**Last updated:** [May 14, 2022, 11:21am UTC](https://discourse.julialang.org/t/look-for-help-for-weird-type-inference/80834 "2022-05-14T11:21:00Z")

</div>

Hi there, I am the author of ExtensibleEffects.jl and am trying to optimize the package. I debugged a type-inference instability but am totally puzzled about the behaviour. I cannot easily minify it, but can show it to …

---

## [InvalidIRError on rand! when using Flux and MLDatasets](https://discourse.julialang.org/t/invalidirerror-on-rand-when-using-flux-and-mldatasets/80675)

<div class="topic-metadata">

**Author:** [@sigmike](https://discourse.julialang.org/u/sigmike)\
**Replies:** 7\
**Last updated:** [May 14, 2022, 9:08am UTC](https://discourse.julialang.org/t/invalidirerror-on-rand-when-using-flux-and-mldatasets/80675 "2022-05-14T09:08:37Z")

</div>

I recently updated my system and Julia and now the following program fails (it didn’t fail before the updates): using Flux using MLDatasets using CUDA using Random a = CuArray{Float32}(undef, 2) Random.rand!(CUDA.defau…

---

## [Is there a way to customize retcodes for different callback functions using DifferentialEquations?](https://discourse.julialang.org/t/is-there-a-way-to-customize-retcodes-for-different-callback-functions-using-differentialequations/81051)

<div class="topic-metadata">

**Author:** [@fsyhantis](https://discourse.julialang.org/u/fsyhantis)\
**Replies:** 1\
**Last updated:** [May 14, 2022, 8:45am UTC](https://discourse.julialang.org/t/is-there-a-way-to-customize-retcodes-for-different-callback-functions-using-differentialequations/81051 "2022-05-14T08:45:49Z")

</div>

I’m trying to solve odes using the package DifferentialEquations. The odes are constrained by several conditions. The solutions are terminated by different conditions. How should I determine the specific condition (co…

---

## [Compensated Jump process](https://discourse.julialang.org/t/compensated-jump-process/81038)

<div class="topic-metadata">

**Author:** [@Max\_Beez](https://discourse.julialang.org/u/Max_Beez)\
**Replies:** 10\
**Last updated:** [May 14, 2022, 8:43am UTC](https://discourse.julialang.org/t/compensated-jump-process/81038 "2022-05-14T08:43:40Z")

</div>

I have been familiarizing myself with DifferentialEquations.jl I was trying to find an example of an SDE simulation such that the SDE is a jump-diffusion such that the jumps are of the compensated (Poisson) form. Is th…

---

## [Display Error: Error: method not implemented](https://discourse.julialang.org/t/display-error-error-method-not-implemented/81050)

<div class="topic-metadata">

**Author:** [@imantha](https://discourse.julialang.org/u/imantha)\
**Replies:** 0\
**Last updated:** [May 14, 2022, 8:17am UTC](https://discourse.julialang.org/t/display-error-error-method-not-implemented/81050 "2022-05-14T08:17:15Z")

</div>

Hi I am following a turotrial from here ⚡ Pluto.jl ⚡ when I construct a struct and try to instantiate it I get the following error. Display Error: ERROR: method not implemented Any idea what the issue is? using Reingo…

---

## [Why distinguish macro names with @?](https://discourse.julialang.org/t/why-distinguish-macro-names-with/81001)

<div class="topic-metadata">

**Author:** [@barfo](https://discourse.julialang.org/u/barfo)\
**Replies:** 47\
**Last updated:** [May 14, 2022, 5:43am UTC](https://discourse.julialang.org/t/why-distinguish-macro-names-with/81001 "2022-05-14T05:43:08Z")

</div>

What’s the thinking behind distinguishing macro names from other identifiers? Rust has done it too. I often use another, non-programming language, which also does it and it drives me nuts. Old lisp hacker… which bits of…

---

## [\*\* On entry to DLASCLS parameter number 4 had an illegal value](https://discourse.julialang.org/t/on-entry-to-dlascls-parameter-number-4-had-an-illegal-value/80657)

<div class="topic-metadata">

**Author:** [@fredrikpaues](https://discourse.julialang.org/u/fredrikpaues)\
**Replies:** 2\
**Last updated:** [May 14, 2022, 5:37am UTC](https://discourse.julialang.org/t/on-entry-to-dlascls-parameter-number-4-had-an-illegal-value/80657 "2022-05-14T05:37:05Z")

</div>

I have some code that works perfectly when run sequentially. But when I decorate a for loop with Threads.@threads I get a scrambled error message which I presume is the following written several times by different thread…

---

## [SDE simulation error: ERROR: BoundsError: attempt to access 3-element Vector{Float64} at index \[1, 2\]](https://discourse.julialang.org/t/sde-simulation-error-error-boundserror-attempt-to-access-3-element-vector-float64-at-index-1-2/81045)

<div class="topic-metadata">

**Author:** [@Max\_Beez](https://discourse.julialang.org/u/Max_Beez)\
**Replies:** 6\
**Last updated:** [May 14, 2022, 2:30am UTC](https://discourse.julialang.org/t/sde-simulation-error-error-boundserror-attempt-to-access-3-element-vector-float64-at-index-1-2/81045 "2022-05-14T02:30:11Z")

</div>

I am getting the following error trying to run a simulation ERROR: BoundsError: attempt to access 3-element Vector{Float64} at index \[1, 2\] My code is as follows using DifferentialEquations using Plots; plotly() fun…

---

## [Stack overflow in type inference... julia 1.9.0-DEV](https://discourse.julialang.org/t/stack-overflow-in-type-inference-julia-1-9-0-dev/80694)

<div class="topic-metadata">

**Author:** [@jjiw](https://discourse.julialang.org/u/jjiw)\
**Replies:** 7\
**Last updated:** [May 14, 2022, 2:00am UTC](https://discourse.julialang.org/t/stack-overflow-in-type-inference-julia-1-9-0-dev/80694 "2022-05-14T02:00:31Z")

</div>

In following I show some code for the problem program, but don’t have a small demo for the problem, and at this point don’t have permission to post the whole 800-line program. I hope that someone can say what causes th…

---

## [Looking for book recommendations](https://discourse.julialang.org/t/looking-for-book-recommendations/80936)

<div class="topic-metadata">

**Author:** [@skypuppy](https://discourse.julialang.org/u/skypuppy)\
**Replies:** 18\
**Last updated:** [May 14, 2022, 12:20am UTC](https://discourse.julialang.org/t/looking-for-book-recommendations/80936 "2022-05-14T00:20:04Z")

</div>

Looking for books for Julia, I need one that takes my by the hand and leads me into the Julia REPL and then VScode environment. Also a book that gives the syntax for all (or most?) of the Julia primitives. Found one b…

---

## [Method / Type error verbosity & semantics](https://discourse.julialang.org/t/method-type-error-verbosity-semantics/81039)

<div class="topic-metadata">

**Author:** [@bcon](https://discourse.julialang.org/u/bcon)\
**Replies:** 1\
**Last updated:** [May 13, 2022, 10:12pm UTC](https://discourse.julialang.org/t/method-type-error-verbosity-semantics/81039 "2022-05-13T22:12:11Z")

</div>

An enhancement question: Can the types displayed in MethodErrors be made more succinct? In using Unitful, 99% of the time arguments are called with the wrong unit type and it would be great to display type symbols rath…

---

## [How to solve implicitly a 2D Heat diffusion equation / ParallelStencil / DifferentialEquation /](https://discourse.julialang.org/t/how-to-solve-implicitly-a-2d-heat-diffusion-equation-parallelstencil-differentialequation/80542)

<div class="topic-metadata">

**Author:** [@Eurel](https://discourse.julialang.org/u/Eurel)\
**Replies:** 17\
**Last updated:** [May 13, 2022, 7:25pm UTC](https://discourse.julialang.org/t/how-to-solve-implicitly-a-2d-heat-diffusion-equation-parallelstencil-differentialequation/80542 "2022-05-13T19:25:29Z")

</div>

Context I am no simulation nor numerical expert and am absolutely not familiar with differential Equations. So I am trying to simulate heat diffusion in a 2D non uniform material on a Cartesian rectilinear mesh (varyi…

---

## [DifferentialEquations Multithreading ; How to use EnsembleProblem](https://discourse.julialang.org/t/differentialequations-multithreading-how-to-use-ensembleproblem/81018)

<div class="topic-metadata">

**Author:** [@Eurel](https://discourse.julialang.org/u/Eurel)\
**Replies:** 1\
**Last updated:** [May 13, 2022, 6:19pm UTC](https://discourse.julialang.org/t/differentialequations-multithreading-how-to-use-ensembleproblem/81018 "2022-05-13T18:19:56Z")

</div>

Hi, would like to parallelize the solving of an ODE with DiferentialEquations.jl utilizing multi-threading, but i fail to understand how EnsembleProblem works exactly, I am a bit confused over the “tarjectories” paramete…

---

## [CellmlToolkit.jl: A model not readable](https://discourse.julialang.org/t/cellmltoolkit-jl-a-model-not-readable/80918)

<div class="topic-metadata">

**Author:** [@xztt](https://discourse.julialang.org/u/xztt)\
**Replies:** 3\
**Last updated:** [May 13, 2022, 5:58pm UTC](https://discourse.julialang.org/t/cellmltoolkit-jl-a-model-not-readable/80918 "2022-05-13T17:58:11Z")

</div>

Hi, Trying to read in the Smith et al 2004 model Minimal haemodynamic system model including ventricular interaction and valve dynamics. — Physiome Model Repository using the code ml = CellModel("/home/harry/Desktop/P…

---

## [Turning a convex hull into a set of constraints](https://discourse.julialang.org/t/turning-a-convex-hull-into-a-set-of-constraints/80887)

<div class="topic-metadata">

**Author:** [@gobs](https://discourse.julialang.org/u/gobs)\
**Replies:** 13\
**Last updated:** [May 13, 2022, 5:21pm UTC](https://discourse.julialang.org/t/turning-a-convex-hull-into-a-set-of-constraints/80887 "2022-05-13T17:21:20Z")

</div>

I would like to turn the output of a convex hull into a set of constraints. I’m sure I could figure this out in a reasonable amount of time, but I was wondering if anyone had done this already. Otherwise I will post my s…

---

## [2022 Stack Overflow Developer Survey is live now!](https://discourse.julialang.org/t/2022-stack-overflow-developer-survey-is-live-now/80967)

<div class="topic-metadata">

**Author:** [@logankilpatrick](https://discourse.julialang.org/u/logankilpatrick)\
**Replies:** 2\
**Last updated:** [May 13, 2022, 5:00pm UTC](https://discourse.julialang.org/t/2022-stack-overflow-developer-survey-is-live-now/80967 "2022-05-13T17:00:40Z")

</div>

Hey all! The annual Stack Overflow Dev survey is live: https://stackoverflow.az1.qualtrics.com/jfe/form/SV\_5jeoE1pq9sFcwIe?utm\_source=so-owned&utm\_medium=blog&utm\_campaign=dev-survey-2022&utm\_content=take-the-survey It…

---

## [MethodError: no method matching UMAP\_(::Vector{Pair{Tuple{String, String}, Vector{Float64}}}, ::Int64)](https://discourse.julialang.org/t/methoderror-no-method-matching-umap-vector-pair-tuple-string-string-vector-float64-int64/80986)

<div class="topic-metadata">

**Author:** [@JosieG](https://discourse.julialang.org/u/JosieG)\
**Replies:** 3\
**Last updated:** [May 13, 2022, 4:15pm UTC](https://discourse.julialang.org/t/methoderror-no-method-matching-umap-vector-pair-tuple-string-string-vector-float64-int64/80986 "2022-05-13T16:15:40Z")

</div>

Hi, I’m very new to Julia. I want to do some dimension reduction. And I got a d = Dict{Tuple{String, String}, Vector{Float64}} first, which is supposed to be my distance matrix. And then in order to do umap, I do uma…

---

## [Announcing our Google Season of Docs 2022 Technical Writer!](https://discourse.julialang.org/t/announcing-our-google-season-of-docs-2022-technical-writer/80983)

<div class="topic-metadata">

**Author:** [@logankilpatrick](https://discourse.julialang.org/u/logankilpatrick)\
**Replies:** 2\
**Last updated:** [May 13, 2022, 3:47pm UTC](https://discourse.julialang.org/t/announcing-our-google-season-of-docs-2022-technical-writer/80983 "2022-05-13T15:47:40Z")

</div>

Hey folks, Join me in welcoming @josephsdavid as our technical writer for GSoD 2022. David will be working with @ablaom and the MLJ.jl team to build out model documentation for various model types. You can read the full…

---

## [Check if list of variables are defined](https://discourse.julialang.org/t/check-if-list-of-variables-are-defined/81024)

<div class="topic-metadata">

**Author:** [@jman87](https://discourse.julialang.org/u/jman87)\
**Replies:** 6\
**Last updated:** [May 13, 2022, 3:41pm UTC](https://discourse.julialang.org/t/check-if-list-of-variables-are-defined/81024 "2022-05-13T15:41:01Z")

</div>

Hi all, I’m trying to determine if a user has defined all the necessary input variables. I’d like to store the variable names in a list (either a tuple or array) and then be able to cycle through it and check if they’re…

---

## [Can you help me find a speedier way to make a design matrix for high parameter model?](https://discourse.julialang.org/t/can-you-help-me-find-a-speedier-way-to-make-a-design-matrix-for-high-parameter-model/80012)

<div class="topic-metadata">

**Author:** [@alexpkeil1](https://discourse.julialang.org/u/alexpkeil1)\
**Replies:** 8\
**Last updated:** [May 13, 2022, 3:27pm UTC](https://discourse.julialang.org/t/can-you-help-me-find-a-speedier-way-to-make-a-design-matrix-for-high-parameter-model/80012 "2022-05-13T15:27:28Z")

</div>

I’m building a parametric Bayesian model where I require a design matrix with lots of columns (1 observation per row). The columns represent original measured variables (continuous and categorical) as well as spline basi…

---

## [Designing Custom Syntax for @formula](https://discourse.julialang.org/t/designing-custom-syntax-for-formula/80450)

<div class="topic-metadata">

**Author:** [@Ross\_Boylan](https://discourse.julialang.org/u/Ross_Boylan)\
**Replies:** 1\
**Last updated:** [May 13, 2022, 3:23pm UTC](https://discourse.julialang.org/t/designing-custom-syntax-for-formula/80450 "2022-05-13T15:23:14Z")

</div>

I’m trying to understand the differences between the relatively compact implementation of a custom interpretation of ^ for @formula and the general advice on extending @formula, in particular the example here of how to …

---

## [Getting RegressionFormulae ^ (interaction) operator to work](https://discourse.julialang.org/t/getting-regressionformulae-interaction-operator-to-work/79216)

<div class="topic-metadata">

**Author:** [@Ross\_Boylan](https://discourse.julialang.org/u/Ross_Boylan)\
**Replies:** 8\
**Last updated:** [May 13, 2022, 3:10pm UTC](https://discourse.julialang.org/t/getting-regressionformulae-interaction-operator-to-work/79216 "2022-05-13T15:10:06Z")

</div>

My effort to use the ^ operator from RegressionFormulae doesn’t seem to have worked. What am I missing? The docs just referenced say (a+b+c)^2 generates a + b + c + a&b + a&c + b&c , but not a&b&c Test code: using…

---

## [Does Optim.jl calculate confidence interval?](https://discourse.julialang.org/t/does-optim-jl-calculate-confidence-interval/77698)

<div class="topic-metadata">

**Author:** [@Fred\_He](https://discourse.julialang.org/u/Fred_He)\
**Replies:** 17\
**Last updated:** [May 13, 2022, 3:03pm UTC](https://discourse.julialang.org/t/does-optim-jl-calculate-confidence-interval/77698 "2022-05-13T15:03:15Z")

</div>

Hello community, Does anyone know how to get confidence intervals from the result of Optim.jl? Thanks in advance!

---

## [\[Makie\] meshscatter with different axis scales](https://discourse.julialang.org/t/makie-meshscatter-with-different-axis-scales/81027)

<div class="topic-metadata">

**Author:** [@kunzaatko](https://discourse.julialang.org/u/kunzaatko)\
**Replies:** 0\
**Last updated:** [May 13, 2022, 2:52pm UTC](https://discourse.julialang.org/t/makie-meshscatter-with-different-axis-scales/81027 "2022-05-13T14:52:57Z")

</div>

I am using meshscatter for data that has a very different scale in the z axis. How would I go about it? My particular use-case is that I have points on an image 512×512 and the points of the third axis are somewhere in …

---

## [Receive callback if computer wakes from sleep on Windows](https://discourse.julialang.org/t/receive-callback-if-computer-wakes-from-sleep-on-windows/81015)

<div class="topic-metadata">

**Author:** [@taotree](https://discourse.julialang.org/u/taotree)\
**Replies:** 0\
**Last updated:** [May 13, 2022, 12:59pm UTC](https://discourse.julialang.org/t/receive-callback-if-computer-wakes-from-sleep-on-windows/81015 "2022-05-13T12:59:21Z")

</div>

I’d like to get a callback when the computer wakes from sleep on Microsoft Windows. I see there are Windows APIs for this: and I’m a little familiar with calling c code but it’s talking about windows applications, servic…

---

## [🎈 Pluto Event #2: \*Pluto recordings\*](https://discourse.julialang.org/t/pluto-event-2-pluto-recordings/80204)

<div class="topic-metadata">

**Author:** [@dorn-gerhard](https://discourse.julialang.org/u/dorn-gerhard)\
**Replies:** 2\
**Last updated:** [May 13, 2022, 11:40am UTC](https://discourse.julialang.org/t/pluto-event-2-pluto-recordings/80204 "2022-05-13T11:40:57Z")

</div>

:balloon: Pluto Event #2: Pluto recordings :clapper\_board: Save the date: The next Pluto event will take place on Monday 16th of May, 18:00 Berlin time on our Discord Server Topics: Pluto recordings, package documentati…

---

## [Power electronics simulations with Julia](https://discourse.julialang.org/t/power-electronics-simulations-with-julia/80999)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 4\
**Last updated:** [May 13, 2022, 11:38am UTC](https://discourse.julialang.org/t/power-electronics-simulations-with-julia/80999 "2022-05-13T11:38:37Z")

</div>

Are there any packages for the simulation of power electronics with Julia? Or did anybody look into this topic but did not create a package yet? I am looking for an open source alternative to PLECS | Plexim

---

## [Struct with partial explicit constructs that init subset of fields](https://discourse.julialang.org/t/struct-with-partial-explicit-constructs-that-init-subset-of-fields/79618)

<div class="topic-metadata">

**Author:** [@FireCrumb](https://discourse.julialang.org/u/FireCrumb)\
**Replies:** 13\
**Last updated:** [May 13, 2022, 9:29am UTC](https://discourse.julialang.org/t/struct-with-partial-explicit-constructs-that-init-subset-of-fields/79618 "2022-05-13T09:29:27Z")

</div>

Hi, I have a struct with several fields, wherein various scenarios only some of them are filled. The total amount of combinations of which fields are filled is too big to have different types for each. For sake of simp…

---

## [Libreadstat not defined when using read\_dta from Pkg ReadStat](https://discourse.julialang.org/t/libreadstat-not-defined-when-using-read-dta-from-pkg-readstat/81004)

<div class="topic-metadata">

**Author:** [@Gast](https://discourse.julialang.org/u/Gast)\
**Replies:** 0\
**Last updated:** [May 13, 2022, 9:17am UTC](https://discourse.julialang.org/t/libreadstat-not-defined-when-using-read-dta-from-pkg-readstat/81004 "2022-05-13T09:17:40Z")

</div>

Hi all, I’m experiencing the following error when trying to import a dataset from Stata: UndefVarError: libreadstat not defined My code is the following: using Pkg, DataFrames, ReadStat Pkg.add("CSV") Pkg.add("Read…

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

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