# Latest

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

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

**Page:** 792

---

## [New Julia Discourse Favicon!](https://discourse.julialang.org/t/new-julia-discourse-favicon/94093)

<div class="topic-metadata">

**Author:** [@logankilpatrick](https://discourse.julialang.org/u/logankilpatrick)\
**Replies:** 0\
**Last updated:** [February 5, 2023, 4:14pm UTC](https://discourse.julialang.org/t/new-julia-discourse-favicon/94093 "2023-02-05T16:14:49Z")

</div>

Hey all, we just shipped a new discourse icon thanks to @cormullion! It might take some time to show up (or you can clear your cache to see it right away) but this should help you visually distinguish tabs on Discourse v…

---

## [Error using @sync/@async within macro, help is highly appreciated](https://discourse.julialang.org/t/error-using-sync-async-within-macro-help-is-highly-appreciated/94080)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 2\
**Last updated:** [February 5, 2023, 3:05pm UTC](https://discourse.julialang.org/t/error-using-sync-async-within-macro-help-is-highly-appreciated/94080 "2023-02-05T15:05:09Z")

</div>

Hi there, I would like to write a macro which just waits until a next time, if I run it on my own in a repl, it works, but if I put it into a macro, it fails with ERROR: syntax: invalid let syntax around task.jl:453 h…

---

## [A Gentle Guide to Your First JuliaCon Review](https://discourse.julialang.org/t/a-gentle-guide-to-your-first-juliacon-review/93537)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 3\
**Last updated:** [February 5, 2023, 1:20pm UTC](https://discourse.julialang.org/t/a-gentle-guide-to-your-first-juliacon-review/93537 "2023-02-05T13:20:29Z")

</div>

Hi folks! JuliaCon is just around the corner and I wanted to more publicly share this resource I put together for new reviewers of the (fantastic) annual JuliaCon. Hope it helps! As there have been some questions abou…

---

## [Simulate life-saving drones @ Zipline](https://discourse.julialang.org/t/simulate-life-saving-drones-zipline/93961)

<div class="topic-metadata">

**Author:** [@chapulina](https://discourse.julialang.org/u/chapulina)\
**Replies:** 1\
**Last updated:** [February 5, 2023, 11:45am UTC](https://discourse.julialang.org/t/simulate-life-saving-drones-zipline/93961 "2023-02-05T11:45:50Z")

</div>

Software Engineer - Simulation South San Francisco, California ABOUT ZIPLINE Do you want to change the world? Zipline is on a mission to transform the way goods move. Our aim is to solve the world’s most urgent and c…

---

## [Change default IJulia kernel associated to a notebook](https://discourse.julialang.org/t/change-default-ijulia-kernel-associated-to-a-notebook/94055)

<div class="topic-metadata">

**Author:** [@mocalvao](https://discourse.julialang.org/u/mocalvao)\
**Replies:** 2\
**Last updated:** [February 5, 2023, 11:26am UTC](https://discourse.julialang.org/t/change-default-ijulia-kernel-associated-to-a-notebook/94055 "2023-02-05T11:26:20Z")

</div>

Hi there I cloned the git repo rethinking.jl for the Statistical Rethinking, 2nd. ed. book, in order to follow along with its notebooks. My currrent version of Julia is 1.8.3, but I still have older ones (such as 1.6.2,…

---

## [Makie: get 3D axis limits](https://discourse.julialang.org/t/makie-get-3d-axis-limits/94024)

<div class="topic-metadata">

**Author:** [@Jollywatt](https://discourse.julialang.org/u/Jollywatt)\
**Replies:** 4\
**Last updated:** [February 5, 2023, 11:18am UTC](https://discourse.julialang.org/t/makie-get-3d-axis-limits/94024 "2023-02-05T11:18:32Z")

</div>

Hi, I can’t for the life of me find I way to retrieve the current axis limits for 3D Makie plots. I can’t even find I nice way to do this for 2D plots, though you can get there with a lot of effort: julia\> scatter(ran…

---

## [Makie vlines ymin/ymax](https://discourse.julialang.org/t/makie-vlines-ymin-ymax/94079)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 1\
**Last updated:** [February 5, 2023, 9:56am UTC](https://discourse.julialang.org/t/makie-vlines-ymin-ymax/94079 "2023-02-05T09:56:59Z")

</div>

vlines(\[1,2,3,4,5\]; ymin=0, ymax=1) Why does it go from 0 to 10 instead of 0 to 1?

---

## [Build Process Question for OpenBLAS](https://discourse.julialang.org/t/build-process-question-for-openblas/94074)

<div class="topic-metadata">

**Author:** [@bmgroth](https://discourse.julialang.org/u/bmgroth)\
**Replies:** 1\
**Last updated:** [February 5, 2023, 7:35am UTC](https://discourse.julialang.org/t/build-process-question-for-openblas/94074 "2023-02-05T07:35:17Z")

</div>

How does the build process work for OpenBLAS? There are three main files that I know that impact the build: julia/Make.inc + julia/deps/openblas.mk BinaryBuilder + Yggdrasil/O/OpenBLAS/common.jl It seems that all the…

---

## [How to Symbolic and Numerical Integration](https://discourse.julialang.org/t/how-to-symbolic-and-numerical-integration/94051)

<div class="topic-metadata">

**Author:** [@Firstname\_Lastname](https://discourse.julialang.org/u/Firstname_Lastname)\
**Replies:** 8\
**Last updated:** [February 5, 2023, 12:54am UTC](https://discourse.julialang.org/t/how-to-symbolic-and-numerical-integration/94051 "2023-02-05T00:54:36Z")

</div>

I have a problem in using SymPy and QuadGK packages as follows: In a double integral, the inner integration has lower limit is x where x is the variable of the outer integral. Here is my code using SymPy @syms y f(z) …

---

## [Problem for a system of stochastic differential equations (SDE) with multiple Wiener processes](https://discourse.julialang.org/t/problem-for-a-system-of-stochastic-differential-equations-sde-with-multiple-wiener-processes/93828)

<div class="topic-metadata">

**Author:** [@canturk](https://discourse.julialang.org/u/canturk)\
**Replies:** 5\
**Last updated:** [February 4, 2023, 10:51pm UTC](https://discourse.julialang.org/t/problem-for-a-system-of-stochastic-differential-equations-sde-with-multiple-wiener-processes/93828 "2023-02-04T22:51:47Z")

</div>

I attempted to solve a system of SDE as in the form below. But I am struggeling with a persisting error message as shown below. A replicated SDE is as follows: Here A, B, C, and D are sparse matrices with size NxN; u…

---

## [Passing custom struct into kernel function](https://discourse.julialang.org/t/passing-custom-struct-into-kernel-function/94069)

<div class="topic-metadata">

**Author:** [@FujiwaraTakumiEH](https://discourse.julialang.org/u/FujiwaraTakumiEH)\
**Replies:** 1\
**Last updated:** [February 4, 2023, 10:43pm UTC](https://discourse.julialang.org/t/passing-custom-struct-into-kernel-function/94069 "2023-02-04T22:43:19Z")

</div>

Hello, I’m still a little confused about Adapt.jl. I read several posts in the forum and tried it for my case, but it did not work…:joy: I have a custom struct like this: using Adapt using CUDA # T is either Float64 …

---

## [Unable to add objectives in vector form using JuMP](https://discourse.julialang.org/t/unable-to-add-objectives-in-vector-form-using-jump/94041)

<div class="topic-metadata">

**Author:** [@Gokhan\_Kof](https://discourse.julialang.org/u/Gokhan_Kof)\
**Replies:** 5\
**Last updated:** [February 4, 2023, 8:51pm UTC](https://discourse.julialang.org/t/unable-to-add-objectives-in-vector-form-using-jump/94041 "2023-02-04T20:51:11Z")

</div>

Hi, I was trying to test multi-objective support of JuMP (MOO) pkg\> st Project MOO v0.0.1 Status \`~/Desktop/MOO.jl/Project.toml\` \[60bf3e95\] GLPK v1.1.0 \[4076af6c\] JuMP v1.7.0 \`https://github.com/jump-dev…

---

## [How to calculate correlation and covariance matrix between columns of a TimeArray](https://discourse.julialang.org/t/how-to-calculate-correlation-and-covariance-matrix-between-columns-of-a-timearray/94038)

<div class="topic-metadata">

**Author:** [@mdogan](https://discourse.julialang.org/u/mdogan)\
**Replies:** 1\
**Last updated:** [February 4, 2023, 8:16pm UTC](https://discourse.julialang.org/t/how-to-calculate-correlation-and-covariance-matrix-between-columns-of-a-timearray/94038 "2023-02-04T20:16:26Z")

</div>

I’m new to Julia. I want to calculate the correlation and covariance matrix of the columns of a TimeArray. To reproduce my example, I copied my code below to construct a TimeArray. using DataFrames using TimeSeries da…

---

## [Random Float64 over whole range of Float64](https://discourse.julialang.org/t/random-float64-over-whole-range-of-float64/94053)

<div class="topic-metadata">

**Author:** [@natemcintosh](https://discourse.julialang.org/u/natemcintosh)\
**Replies:** 8\
**Last updated:** [February 4, 2023, 7:52pm UTC](https://discourse.julialang.org/t/random-float64-over-whole-range-of-float64/94053 "2023-02-04T19:52:44Z")

</div>

Calling rand(Float64) will generate a random number in the range \[0, 1). However, I want to draw random numbers from all possible Float64 values. Does anyone know of a good way to do this? I feel like I’m just overlookin…

---

## [Working with @with, Dataframes and Makie](https://discourse.julialang.org/t/working-with-with-dataframes-and-makie/94039)

<div class="topic-metadata">

**Author:** [@mreichMPI-BGC](https://discourse.julialang.org/u/mreichMPI-BGC)\
**Replies:** 3\
**Last updated:** [February 4, 2023, 3:16pm UTC](https://discourse.julialang.org/t/working-with-with-dataframes-and-makie/94039 "2023-02-04T15:16:21Z")

</div>

I am still trying to figure out best ways of interactive plotting of DataFrames in GLMakie… AlgebraofGraphics is nice, but some things can become a bit complicated (cf. Interactive Menu with AlgebraOfGraphics / GLMakie -…

---

## [Terminal control characters to xterm/mintty blocked on windows](https://discourse.julialang.org/t/terminal-control-characters-to-xterm-mintty-blocked-on-windows/94006)

<div class="topic-metadata">

**Author:** [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Replies:** 1\
**Last updated:** [February 3, 2023, 11:47pm UTC](https://discourse.julialang.org/t/terminal-control-characters-to-xterm-mintty-blocked-on-windows/94006 "2023-02-03T23:47:41Z")

</div>

For remote computing, I’ve been testing the use of Sixel Graphics to conveniently see graphics in-line with a terminal session of some sort (e.g., xterm or vt340). This worked well on unix systems but when I tried thi…

---

## [XGBoost rewrite using Metal.jl](https://discourse.julialang.org/t/xgboost-rewrite-using-metal-jl/94056)

<div class="topic-metadata">

**Author:** [@roh\_codeur](https://discourse.julialang.org/u/roh_codeur)\
**Replies:** 0\
**Last updated:** [February 4, 2023, 5:41pm UTC](https://discourse.julialang.org/t/xgboost-rewrite-using-metal-jl/94056 "2023-02-04T17:41:31Z")

</div>

Hi Is anyone working on porting XGBoost to Metal.jl? Looks like official XGBoost lib don’t plan to support Apple M1 mac GPU (Apple Sillicon) thanks Roh

---

## [Paste strings in \`Cmd\`](https://discourse.julialang.org/t/paste-strings-in-cmd/94050)

<div class="topic-metadata">

**Author:** [@Rex\_Wang](https://discourse.julialang.org/u/Rex_Wang)\
**Replies:** 1\
**Last updated:** [February 4, 2023, 3:50pm UTC](https://discourse.julialang.org/t/paste-strings-in-cmd/94050 "2023-02-04T15:50:57Z")

</div>

To avoid XY problem, I’ll describe the problem that needs to be solved first. After building a JLL package, one can use run(\`$(product\_name()) $args\`) to wrap an executable. (Then use execute to collect the results as…

---

## [How to plot a 3D plot of 3 inequalities?](https://discourse.julialang.org/t/how-to-plot-a-3d-plot-of-3-inequalities/93910)

<div class="topic-metadata">

**Author:** [@Kanishk](https://discourse.julialang.org/u/Kanishk)\
**Replies:** 10\
**Last updated:** [February 4, 2023, 12:32pm UTC](https://discourse.julialang.org/t/how-to-plot-a-3d-plot-of-3-inequalities/93910 "2023-02-04T12:32:25Z")

</div>

Hello I have 3 inequalities and each have 3 variables. Could you please explain how can I draw a combined one 3D plot with shaded area satisfying all the 3 inequalities? I have inequalities of the form as f1(x,y,z) = a…

---

## [Disabling grouping along x-axis in grouped boxplot](https://discourse.julialang.org/t/disabling-grouping-along-x-axis-in-grouped-boxplot/93997)

<div class="topic-metadata">

**Author:** [@jewh](https://discourse.julialang.org/u/jewh)\
**Replies:** 1\
**Last updated:** [February 3, 2023, 10:59pm UTC](https://discourse.julialang.org/t/disabling-grouping-along-x-axis-in-grouped-boxplot/93997 "2023-02-03T22:59:29Z")

</div>

Using the group keyword argument in Statsplots.boxplot adjusts the distance between individual boxes so that they cluster with their groups (see example below): using StatsPlots x = Vector{String}(undef, 40) for i = 1…

---

## [\[ANN\] Pingouin.jl: a simple yet exhaustive statistical package](https://discourse.julialang.org/t/ann-pingouin-jl-a-simple-yet-exhaustive-statistical-package/48362)

<div class="topic-metadata">

**Author:** [@Clement\_POIRET](https://discourse.julialang.org/u/Clement_POIRET)\
**Replies:** 18\
**Last updated:** [February 4, 2023, 7:31am UTC](https://discourse.julialang.org/t/ann-pingouin-jl-a-simple-yet-exhaustive-statistical-package/48362 "2023-02-04T07:31:50Z")

</div>

Hi everyone, I always wanted to learn Julia, and on the other hand, I never found a satisfying library to conduct statistical tests. I used Pingouin, a stats library in Python made by Raphael Vallat, and I always wished…

---

## [Combine \`HTTP.Response\` to \`HTTP.Stream\` handlers within one server in HTTP.jl](https://discourse.julialang.org/t/combine-http-response-to-http-stream-handlers-within-one-server-in-http-jl/93985)

<div class="topic-metadata">

**Author:** [@sairus7](https://discourse.julialang.org/u/sairus7)\
**Replies:** 1\
**Last updated:** [February 4, 2023, 3:58am UTC](https://discourse.julialang.org/t/combine-http-response-to-http-stream-handlers-within-one-server-in-http-jl/93985 "2023-02-04T03:58:00Z")

</div>

What is the replacement for HTTP.Handlers.StreamHandlerFunction in post 1.0 HTTP.jl package? I have a server that handles requests, but with a single endpoint with streaming HTTP connection, in 0.9 I could just write th…

---

## [Custom Julia system image](https://discourse.julialang.org/t/custom-julia-system-image/94026)

<div class="topic-metadata">

**Author:** [@A\_M](https://discourse.julialang.org/u/A_M)\
**Replies:** 0\
**Last updated:** [February 4, 2023, 12:06am UTC](https://discourse.julialang.org/t/custom-julia-system-image/94026 "2023-02-04T00:06:18Z")

</div>

I am trying to create a system image for a specific project (Project.toml) using python -m julia.sysimage sys.so How can I enforce those packages to be part of the system image? If the system image has only PyCall and …

---

## [Finding low frequency numbers in a large collection](https://discourse.julialang.org/t/finding-low-frequency-numbers-in-a-large-collection/93556)

<div class="topic-metadata">

**Author:** [@CodeGodz](https://discourse.julialang.org/u/CodeGodz)\
**Replies:** 20\
**Last updated:** [February 3, 2023, 8:21pm UTC](https://discourse.julialang.org/t/finding-low-frequency-numbers-in-a-large-collection/93556 "2023-02-03T20:21:18Z")

</div>

Hey all :slight\_smile: See edit here for clarification I want to find all numbers in a file that have a frequency \<=100. The numbers are in the UInt32 range so I could allocate a Vector{UInt8}(typemax(UInt32)) to coun…

---

## [Getting KrylovKit to return specified number of values](https://discourse.julialang.org/t/getting-krylovkit-to-return-specified-number-of-values/93852)

<div class="topic-metadata">

**Author:** [@purplishrock](https://discourse.julialang.org/u/purplishrock)\
**Replies:** 2\
**Last updated:** [February 3, 2023, 11:14pm UTC](https://discourse.julialang.org/t/getting-krylovkit-to-return-specified-number-of-values/93852 "2023-02-03T23:14:59Z")

</div>

I’m working on a problem (reduced order models of circuits) and am trying to use KrylovKit to return a specified number of eigenvalues in the solution. I couldn’t make it work, but it was easy in Arpack x = eigs(a, nev…

---

## [How to create sliced views of \`CuArray\` correctly?](https://discourse.julialang.org/t/how-to-create-sliced-views-of-cuarray-correctly/93971)

<div class="topic-metadata">

**Author:** [@jinfreedom](https://discourse.julialang.org/u/jinfreedom)\
**Replies:** 1\
**Last updated:** [February 3, 2023, 9:38pm UTC](https://discourse.julialang.org/t/how-to-create-sliced-views-of-cuarray-correctly/93971 "2023-02-03T21:38:45Z")

</div>

Hi, I would like to split and reshape a CuArray to a StructArray “in place” as views. I used sliced views of the input CuArray and got a warning about slicing. Is there a correct way of doing the following? julia\> siz=(…

---

## [My generated Julia function from a niche DSL language takes 4min to compile](https://discourse.julialang.org/t/my-generated-julia-function-from-a-niche-dsl-language-takes-4min-to-compile/93974)

<div class="topic-metadata">

**Author:** [@heetbeet](https://discourse.julialang.org/u/heetbeet)\
**Replies:** 8\
**Last updated:** [February 3, 2023, 9:08pm UTC](https://discourse.julialang.org/t/my-generated-julia-function-from-a-niche-dsl-language-takes-4min-to-compile/93974 "2023-02-03T21:08:08Z")

</div>

I have an application that generates Julia code from a niche DSL language. The generated code is correct and returns the same results as the DSL interpreter. One problem, though, is that for a real-world application, the…

---

## [Julia and Nova?](https://discourse.julialang.org/t/julia-and-nova/94012)

<div class="topic-metadata">

**Author:** [@marianoarnaiz](https://discourse.julialang.org/u/marianoarnaiz)\
**Replies:** 2\
**Last updated:** [February 3, 2023, 9:07pm UTC](https://discourse.julialang.org/t/julia-and-nova/94012 "2023-02-03T21:07:30Z")

</div>

Hi all. I wonder if anyone is using Nova with Julia? I do not like Visual Code Studio and I wonder what IDE are you using

---

## [Does importing a module load all methods defined in that module?](https://discourse.julialang.org/t/does-importing-a-module-load-all-methods-defined-in-that-module/94010)

<div class="topic-metadata">

**Author:** [@goerz](https://discourse.julialang.org/u/goerz)\
**Replies:** 1\
**Last updated:** [February 3, 2023, 8:58pm UTC](https://discourse.julialang.org/t/does-importing-a-module-load-all-methods-defined-in-that-module/94010 "2023-02-03T20:58:04Z")

</div>

This is just to confirm my understanding. Based on Julia’s behavior, the following statement seems to be true: Any import or using statement loads a module, and loading adds all methods defined in that module to their r…

---

## [Convert matrix elements from Int to Float](https://discourse.julialang.org/t/convert-matrix-elements-from-int-to-float/93980)

<div class="topic-metadata">

**Author:** [@ahmad88](https://discourse.julialang.org/u/ahmad88)\
**Replies:** 3\
**Last updated:** [February 3, 2023, 8:19pm UTC](https://discourse.julialang.org/t/convert-matrix-elements-from-int-to-float/93980 "2023-02-03T20:19:21Z")

</div>

If I have the following matrix sparse(\[1, 2, 3, 4, 1, 2, 4, 1, 3, 4, 5, 1, 2, 3, 4, 5, 3, 4, 5\], \[1, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5\], \[3, -1, -1, -1, -1, 2, -1, -1, 3, -1, -1, -1, -1, -1, 4, -1, -1…

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

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