# Latest

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

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

**Page:** 1223

---

## [Bicgstabl from IterativeSolvers.jl gives different result every time](https://discourse.julialang.org/t/bicgstabl-from-iterativesolvers-jl-gives-different-result-every-time/70527)

<div class="topic-metadata">

**Author:** [@Niceno](https://discourse.julialang.org/u/Niceno)\
**Replies:** 17\
**Last updated:** [October 30, 2021, 3:42am UTC](https://discourse.julialang.org/t/bicgstabl-from-iterativesolvers-jl-gives-different-result-every-time/70527 "2021-10-30T03:42:46Z")

</div>

Hi all, I am using Julia as a framework for development and testing of discretization methods in computational fluid dynamics and as a part of it, have to solve linear system of equations for velocities and pressure pre…

---

## [How to create layouts in Julia plotting packages?](https://discourse.julialang.org/t/how-to-create-layouts-in-julia-plotting-packages/70586)

<div class="topic-metadata">

**Author:** [@leon](https://discourse.julialang.org/u/leon)\
**Replies:** 11\
**Last updated:** [October 30, 2021, 1:57am UTC](https://discourse.julialang.org/t/how-to-create-layouts-in-julia-plotting-packages/70586 "2021-10-30T01:57:39Z")

</div>

As a Matlab person, I’m so attached to the thinking as below: Handle = figure(1); % creating a figure handle Han01 = subplot(2, 2, 1); % creating a subplot handle (1st out of a total of 2x2 subplo…

---

## [Dimensionality Reduction Packages in Julia](https://discourse.julialang.org/t/dimensionality-reduction-packages-in-julia/67003)

<div class="topic-metadata">

**Author:** [@YummyPampers2](https://discourse.julialang.org/u/YummyPampers2)\
**Replies:** 27\
**Last updated:** [October 24, 2021, 8:19pm UTC](https://discourse.julialang.org/t/dimensionality-reduction-packages-in-julia/67003 "2021-10-24T20:19:30Z")

</div>

Hello Everyone: Are there any practical examples of PCA implementation that work with Julia? YES – I am familiar and have attempted to implement the instructions listed HERE. My goal however is to use a package that …

---

## [Generating the equation of a curve across attributes](https://discourse.julialang.org/t/generating-the-equation-of-a-curve-across-attributes/70617)

<div class="topic-metadata">

**Author:** [@YummyPampers2](https://discourse.julialang.org/u/YummyPampers2)\
**Replies:** 7\
**Last updated:** [October 29, 2021, 11:12pm UTC](https://discourse.julialang.org/t/generating-the-equation-of-a-curve-across-attributes/70617 "2021-10-29T23:12:41Z")

</div>

Good Day Folks, I have a dataframe that constructed as DF = Dataframe(Price= rand(70:5:170,10), Col1 = rand(1:1:50,10), Col2 = rand(1:1:30,10), Col3 = rand(1:5:100)) I would like to treat Price as the outcome variabl…

---

## [Performance issues with parallel Julia code](https://discourse.julialang.org/t/performance-issues-with-parallel-julia-code/68919)

<div class="topic-metadata">

**Author:** [@kfrb](https://discourse.julialang.org/u/kfrb)\
**Replies:** 2\
**Last updated:** [October 29, 2021, 10:16pm UTC](https://discourse.julialang.org/t/performance-issues-with-parallel-julia-code/68919 "2021-10-29T22:16:11Z")

</div>

I am working on a scientific code that is experiencing issues with parallelization. The parallel version is slower than the serial one and I am not sure if the right approaches are used for this application. How can I …

---

## [Segfault using @cfunction in callback for Mosquitto MQTT client, no idea what could be wrong](https://discourse.julialang.org/t/segfault-using-cfunction-in-callback-for-mosquitto-mqtt-client-no-idea-what-could-be-wrong/70430)

<div class="topic-metadata">

**Author:** [@Christian\_Dengler](https://discourse.julialang.org/u/Christian_Dengler)\
**Replies:** 10\
**Last updated:** [October 29, 2021, 10:11pm UTC](https://discourse.julialang.org/t/segfault-using-cfunction-in-callback-for-mosquitto-mqtt-client-no-idea-what-could-be-wrong/70430 "2021-10-29T22:11:11Z")

</div>

Hello, I have been stuck trying to wrap the Mosquitto C API v2.0.12 in Julia. While I managed to get connection and publishing messages done without major problems, I cannot seem to get any callback function to work. To …

---

## [\[ANN\] Cleaner.jl: A toolbox of simple solutions for common data cleaning problems](https://discourse.julialang.org/t/ann-cleaner-jl-a-toolbox-of-simple-solutions-for-common-data-cleaning-problems/70570)

<div class="topic-metadata">

**Author:** [@TheRoniOne](https://discourse.julialang.org/u/TheRoniOne)\
**Replies:** 12\
**Last updated:** [October 29, 2021, 9:39pm UTC](https://discourse.julialang.org/t/ann-cleaner-jl-a-toolbox-of-simple-solutions-for-common-data-cleaning-problems/70570 "2021-10-29T21:39:57Z")

</div>

Finally I feel confident enough in the current state of my package to announce it here. Cleaner.jl is a pure Julia package for data cleaning inspired by janitor from the R ecosystem, designed to be compatible with any T…

---

## [Makie.jl: align first axis' boundary with ticklabels of second axis](https://discourse.julialang.org/t/makie-jl-align-first-axis-boundary-with-ticklabels-of-second-axis/70626)

<div class="topic-metadata">

**Author:** [@Kevin\_Kleinbeck](https://discourse.julialang.org/u/Kevin_Kleinbeck)\
**Replies:** 2\
**Last updated:** [October 29, 2021, 9:24pm UTC](https://discourse.julialang.org/t/makie-jl-align-first-axis-boundary-with-ticklabels-of-second-axis/70626 "2021-10-29T21:24:11Z")

</div>

I have the figure in which I want to make best use of the available space, i.e., let subfigure (a) reach the right boundary. Makie allocates space to xticklabels on the right hand side of the figures; here from the c…

---

## [Heroku – Memory quota vastly exceeded](https://discourse.julialang.org/t/heroku-memory-quota-vastly-exceeded/70562)

<div class="topic-metadata">

**Author:** [@cepel](https://discourse.julialang.org/u/cepel)\
**Replies:** 10\
**Last updated:** [October 29, 2021, 9:06pm UTC](https://discourse.julialang.org/t/heroku-memory-quota-vastly-exceeded/70562 "2021-10-29T21:06:17Z")

</div>

Hey there, I developed a Julia application using Dash and ObjectDetector, and deployed on Heroku. But I am having “R15 - Memory quota vastly exceeded” error. I checked the memory usage on my local computer and the ap…

---

## [Algorithms for finding the self-intersection of a plane curve?](https://discourse.julialang.org/t/algorithms-for-finding-the-self-intersection-of-a-plane-curve/70192)

<div class="topic-metadata">

**Author:** [@liuyxpp](https://discourse.julialang.org/u/liuyxpp)\
**Replies:** 14\
**Last updated:** [October 29, 2021, 8:45pm UTC](https://discourse.julialang.org/t/algorithms-for-finding-the-self-intersection-of-a-plane-curve/70192 "2021-10-29T20:45:37Z")

</div>

Does anyone here happen to know about algorithms for finding the self-intersection points of a plane curve? For example, find the self-intersection (X, Y) = (0, 0) in the below plane curve. Edit: Add an actual exampl…

---

## [LaTeX and Markdown in the same Weave Chunk](https://discourse.julialang.org/t/latex-and-markdown-in-the-same-weave-chunk/70640)

<div class="topic-metadata">

**Author:** [@Derek\_Vetsch](https://discourse.julialang.org/u/Derek_Vetsch)\
**Replies:** 0\
**Last updated:** [October 29, 2021, 8:31pm UTC](https://discourse.julialang.org/t/latex-and-markdown-in-the-same-weave-chunk/70640 "2021-10-29T20:31:01Z")

</div>

Is it possible to mix LaTeX and Markdown in the same chunk? I tried something like this but when I weave it it looks as if I printed this in the REPL. I know if you just put everything in its own chunk that works fine bu…

---

## [Display progress in ThreadsX](https://discourse.julialang.org/t/display-progress-in-threadsx/70599)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 1\
**Last updated:** [October 29, 2021, 8:15pm UTC](https://discourse.julialang.org/t/display-progress-in-threadsx/70599 "2021-10-29T20:15:41Z")

</div>

How can I display progress when using ThreadsX, with for example ProgressMeter? Silly MWE, but imagine fun was a relatively expensive function: using ThreadsX fun(x) = (sleep(1); sin(x)) x = rand(100) y = ThreadsX.map(…

---

## [Something missing in resolver output?](https://discourse.julialang.org/t/something-missing-in-resolver-output/70637)

<div class="topic-metadata">

**Author:** [@iamed2](https://discourse.julialang.org/u/iamed2)\
**Replies:** 0\
**Last updated:** [October 29, 2021, 7:47pm UTC](https://discourse.julialang.org/t/something-missing-in-resolver-output/70637 "2021-10-29T19:47:02Z")

</div>

Is it just me or is something missing in this resolver output? (Julia 1.6.2): ERROR: Unsatisfiable requirements detected for package ProbabilisticAutoregressiveModels \[6ad0dd24\]: ProbabilisticAutoregressiveModels \[6ad0…

---

## [How to set the projection for Earth relief grid based maps in GMT?](https://discourse.julialang.org/t/how-to-set-the-projection-for-earth-relief-grid-based-maps-in-gmt/70625)

<div class="topic-metadata">

**Author:** [@leon](https://discourse.julialang.org/u/leon)\
**Replies:** 3\
**Last updated:** [October 29, 2021, 6:22pm UTC](https://discourse.julialang.org/t/how-to-set-the-projection-for-earth-relief-grid-based-maps-in-gmt/70625 "2021-10-29T18:22:41Z")

</div>

I’m able to plot my first GMT map: using GMT grdimage("@earth\_relief\_10m", region=(180,320,10,80), coast=true, fmt=:png, show=true) My goal is to set its projection to lambert. I tried to add the below argument to the …

---

## [How to speed up create julia sysimage?](https://discourse.julialang.org/t/how-to-speed-up-create-julia-sysimage/70618)

<div class="topic-metadata">

**Author:** [@Ravinder\_Ram](https://discourse.julialang.org/u/Ravinder_Ram)\
**Replies:** 2\
**Last updated:** [October 29, 2021, 6:02pm UTC](https://discourse.julialang.org/t/how-to-speed-up-create-julia-sysimage/70618 "2021-10-29T18:02:06Z")

</div>

I’m creating julia sysimage it taking more than 15 min?

---

## [Use math symbols with Markdown.parse](https://discourse.julialang.org/t/use-math-symbols-with-markdown-parse/70632)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 4\
**Last updated:** [October 29, 2021, 4:38pm UTC](https://discourse.julialang.org/t/use-math-symbols-with-markdown-parse/70632 "2021-10-29T16:38:53Z")

</div>

I need to use Markdown.parse in Pluto in order provide links between notebooks (see this post). It is not clear to me how to use math symbols in Markdown.parse. Is that possible? I have a related question about supporti…

---

## [StatsModels ArgumentError: collection must be non-empty](https://discourse.julialang.org/t/statsmodels-argumenterror-collection-must-be-non-empty/69604)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 3\
**Last updated:** [October 29, 2021, 4:37pm UTC](https://discourse.julialang.org/t/statsmodels-argumenterror-collection-must-be-non-empty/69604 "2021-10-29T16:37:24Z")

</div>

ERROR: LoadError: LoadError: ArgumentError: collection must be non-empty Stacktrace: \[1\] \_extrema\_itr(f::typeof(identity), itr::Vector{Float64}) @ Base ./operators.jl:483 \[2\] \_extrema\_dims @ ./multidimensiona…

---

## [DifferentialEquations.jl inputting out of domain value](https://discourse.julialang.org/t/differentialequations-jl-inputting-out-of-domain-value/70501)

<div class="topic-metadata">

**Author:** [@hellmrf](https://discourse.julialang.org/u/hellmrf)\
**Replies:** 1\
**Last updated:** [October 29, 2021, 2:26pm UTC](https://discourse.julialang.org/t/differentialequations-jl-inputting-out-of-domain-value/70501 "2021-10-29T14:26:43Z")

</div>

Hello everyone. I’m trying to solve a differential equation (actually it’s part of an optimization process, so it’s solved each optimization iteration). The problem is: my u is a parameter that has a physical meaning of…

---

## [Turing -- extract information of estimates/chains?](https://discourse.julialang.org/t/turing-extract-information-of-estimates-chains/70554)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 3\
**Last updated:** [October 29, 2021, 2:09pm UTC](https://discourse.julialang.org/t/turing-extract-information-of-estimates-chains/70554 "2021-10-29T14:09:13Z")

</div>

I have run a Turing fitting session, and look at the results (estimates? chain?): julia\> p\_est leading to: Is it possible to extract the tables, e.g., Summary Statistics and Quantiles in DataFrames so that I can Pr…

---

## [1D GAN with Flux](https://discourse.julialang.org/t/1d-gan-with-flux/54179)

<div class="topic-metadata">

**Author:** [@davibarreira](https://discourse.julialang.org/u/davibarreira)\
**Replies:** 9\
**Last updated:** [October 29, 2021, 2:07pm UTC](https://discourse.julialang.org/t/1d-gan-with-flux/54179 "2021-10-29T14:07:27Z")

</div>

Hey everyone. So I’ve been trying to use Flux for Generative Adversarial Networks (GAN). And unfortunately, it’s not working properly. At the moment, I’m trying to replicate a 1D GAN example (this one here 1D GAN with Ke…

---

## [SciMLTutorials local instantiation failure: Permission denied](https://discourse.julialang.org/t/scimltutorials-local-instantiation-failure-permission-denied/70621)

<div class="topic-metadata">

**Author:** [@mocalvao](https://discourse.julialang.org/u/mocalvao)\
**Replies:** 0\
**Last updated:** [October 29, 2021, 1:38pm UTC](https://discourse.julialang.org/t/scimltutorials-local-instantiation-failure-permission-denied/70621 "2021-10-29T13:38:24Z")

</div>

Hi there, I have cloned SciMLTutorials.jl to a local repo at my desktop. Then, following the instructions at the bottom of the original github page, I tried, after launching Julia from the recently cloned root directory…

---

## [Create multidimensional array spanned by unknown number of arrays](https://discourse.julialang.org/t/create-multidimensional-array-spanned-by-unknown-number-of-arrays/70608)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 2\
**Last updated:** [October 29, 2021, 1:02pm UTC](https://discourse.julialang.org/t/create-multidimensional-array-spanned-by-unknown-number-of-arrays/70608 "2021-10-29T13:02:23Z")

</div>

I have an (unknown) number of arrays, stored in an array: arrays = \[\[1,2,3\],\[1,2,3,4\],\[1,2,3,4,5\]\] # In this case three I want to create a multidimensional array, with one dimension for each array (so I don’t know …

---

## [Using MathOptInterface with custom NL objective](https://discourse.julialang.org/t/using-mathoptinterface-with-custom-nl-objective/69823)

<div class="topic-metadata">

**Author:** [@egvila](https://discourse.julialang.org/u/egvila)\
**Replies:** 2\
**Last updated:** [October 29, 2021, 12:51pm UTC](https://discourse.julialang.org/t/using-mathoptinterface-with-custom-nl-objective/69823 "2021-10-29T12:51:56Z")

</div>

I am having trouble passing a custom objective function to MOI. Here’s an example: struct dumbEval \<: MOI.AbstractNLPEvaluator end e = dumbEval(); nlpBlockData = MOI.NLPBlockData(\[\], e, true); o = Ipopt.Optimizer(); …

---

## [How beginners misread documentation--Example: Me](https://discourse.julialang.org/t/how-beginners-misread-documentation-example-me/70577)

<div class="topic-metadata">

**Author:** [@blackeneth](https://discourse.julialang.org/u/blackeneth)\
**Replies:** 6\
**Last updated:** [October 29, 2021, 11:58am UTC](https://discourse.julialang.org/t/how-beginners-misread-documentation-example-me/70577 "2021-10-29T11:58:47Z")

</div>

My apologies to the developers of CSV.jl . This post is not the criticize or pick on them. They are be be lauded for writing such extensive documentation. However, this morning I was trying to read a well formatted file …

---

## [Unlock from wrong thread](https://discourse.julialang.org/t/unlock-from-wrong-thread/70604)

<div class="topic-metadata">

**Author:** [@whatsthecraic](https://discourse.julialang.org/u/whatsthecraic)\
**Replies:** 1\
**Last updated:** [October 29, 2021, 11:58am UTC](https://discourse.julialang.org/t/unlock-from-wrong-thread/70604 "2021-10-29T11:58:20Z")

</div>

Hi there, when unlocking a ReentrantLock from a different thread than the one that acquired the latch in the first place, julia raises the exception “unlock from wrong thread”. As the latch is associated to a resource,…

---

## [\[ANN\] TableTransforms.jl (cross-post)](https://discourse.julialang.org/t/ann-tabletransforms-jl-cross-post/70616)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 0\
**Last updated:** [October 29, 2021, 11:49am UTC](https://discourse.julialang.org/t/ann-tabletransforms-jl-cross-post/70616 "2021-10-29T11:49:36Z")

</div>

Cross-post from the Data domain: Contributions are very welcome, and you can help right away writing tests for the existing transforms. A good exercise for new users of the language :slight\_smile: :julia:

---

## [Print current stacktrace](https://discourse.julialang.org/t/print-current-stacktrace/70605)

<div class="topic-metadata">

**Author:** [@whatsthecraic](https://discourse.julialang.org/u/whatsthecraic)\
**Replies:** 2\
**Last updated:** [October 29, 2021, 10:56am UTC](https://discourse.julialang.org/t/print-current-stacktrace/70605 "2021-10-29T10:56:06Z")

</div>

Is there a function ready to use that prints to stdout/stderr the current stacktrace from the point it is invoked ?

---

## [Converting from staticarrays.svector to abstractvector](https://discourse.julialang.org/t/converting-from-staticarrays-svector-to-abstractvector/70594)

<div class="topic-metadata">

**Author:** [@sxd190026](https://discourse.julialang.org/u/sxd190026)\
**Replies:** 1\
**Last updated:** [October 29, 2021, 10:41am UTC](https://discourse.julialang.org/t/converting-from-staticarrays-svector-to-abstractvector/70594 "2021-10-29T10:41:58Z")

</div>

I have a variable of type ::Vector{StaticArrays.SVector{3, Float64}}. I need to convert it to ::AbstractVector{T} where {T, Tv\<:(AbstractVector{T} where T)} . The variable looks like this: \[\[-3519717.5618075402, -56259…

---

## [Rotatable 3D plot in jupyter](https://discourse.julialang.org/t/rotatable-3d-plot-in-jupyter/70535)

<div class="topic-metadata">

**Author:** [@HenrikM](https://discourse.julialang.org/u/HenrikM)\
**Replies:** 2\
**Last updated:** [October 28, 2021, 10:16am UTC](https://discourse.julialang.org/t/rotatable-3d-plot-in-jupyter/70535 "2021-10-28T10:16:24Z")

</div>

How to make a rotatable 3D plot in Jupyter? For example, from the REPL, this works by opening a new tab in my browser: using WGLMakie let x = LinRange(-1,1,31), f(x,y) = x^2 - y^2 surface(x,x,f.(x,x')) end In the t…

---

## [\[ANN\] PowerAnalyses.jl](https://discourse.julialang.org/t/ann-poweranalyses-jl/70581)

<div class="topic-metadata">

**Author:** [@rikh](https://discourse.julialang.org/u/rikh)\
**Replies:** 6\
**Last updated:** [October 29, 2021, 5:19am UTC](https://discourse.julialang.org/t/ann-poweranalyses-jl/70581 "2021-10-29T05:19:14Z")

</div>

After more than a year of having to go back and forth between the R pwr package and G\*Power, I finally decided that enough was enough and so there is now a Julia package for power analysis called PowerAnalyses.jl. The a…

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

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