# Latest

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

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

**Page:** 997

---

## [Add errorbars with dodge in barplot](https://discourse.julialang.org/t/add-errorbars-with-dodge-in-barplot/83504)

<div class="topic-metadata">

**Author:** [@Aesth\_Estheticism](https://discourse.julialang.org/u/Aesth_Estheticism)\
**Replies:** 1\
**Last updated:** [June 29, 2022, 9:02am UTC](https://discourse.julialang.org/t/add-errorbars-with-dodge-in-barplot/83504 "2022-06-29T09:02:40Z")

</div>

How to add errorbars with dodge in barplot.

---

## [\[ANN\] Announcing GridapDistributed.jl - FEM on parallel supercomputers](https://discourse.julialang.org/t/ann-announcing-gridapdistributed-jl-fem-on-parallel-supercomputers/76138)

<div class="topic-metadata">

**Author:** [@amartinhuertas](https://discourse.julialang.org/u/amartinhuertas)\
**Replies:** 6\
**Last updated:** [June 29, 2022, 3:35am UTC](https://discourse.julialang.org/t/ann-announcing-gridapdistributed-jl-fem-on-parallel-supercomputers/76138 "2022-06-29T03:35:40Z")

</div>

We (@santiagobadia, @amartinhuertas, and @fverdugo) are pleased to announce GridapDistributed.jl, a distributed-memory extension of Gridap.jl. It provides a massively parallel, generic toolbox written in Julia for the la…

---

## [How do I put a plot in a Blink (electron) desktop application?](https://discourse.julialang.org/t/how-do-i-put-a-plot-in-a-blink-electron-desktop-application/83404)

<div class="topic-metadata">

**Author:** [@davidwallis](https://discourse.julialang.org/u/davidwallis)\
**Replies:** 1\
**Last updated:** [June 29, 2022, 3:09am UTC](https://discourse.julialang.org/t/how-do-i-put-a-plot-in-a-blink-electron-desktop-application/83404 "2022-06-29T03:09:01Z")

</div>

Very basic question, but I’ve spent all afternoon looking for an answer. I want to make a cross-platform desktop application and I thought I’d try Blink.jl. I can run the example and create a hello world program appearin…

---

## [How to calculate Cross Entropy loss between y\_predict and y\_target on GPU](https://discourse.julialang.org/t/how-to-calculate-cross-entropy-loss-between-y-predict-and-y-target-on-gpu/83429)

<div class="topic-metadata">

**Author:** [@Jack\_N](https://discourse.julialang.org/u/Jack_N)\
**Replies:** 4\
**Last updated:** [June 29, 2022, 3:08am UTC](https://discourse.julialang.org/t/how-to-calculate-cross-entropy-loss-between-y-predict-and-y-target-on-gpu/83429 "2022-06-29T03:08:12Z")

</div>

I have not been able to find out how to calculate the loss between each column of a y\_predict and y\_target matrix as a GPU operation. Please let me know how I can do this. Thank you, Jack

---

## [Debugging in Ipopt without JuMP](https://discourse.julialang.org/t/debugging-in-ipopt-without-jump/83384)

<div class="topic-metadata">

**Author:** [@Itzahack23](https://discourse.julialang.org/u/Itzahack23)\
**Replies:** 5\
**Last updated:** [June 29, 2022, 1:48am UTC](https://discourse.julialang.org/t/debugging-in-ipopt-without-jump/83384 "2022-06-29T01:48:56Z")

</div>

Hi all, I am trying to solve a constrained optimization problem by using Ipopt “without” using JuMP as I want to see how the performance changes by giving the gradient and hessian information. I am referring to the C w…

---

## [How to take full advantage of GPU Parallelism on Nested Sequential Data in Flux](https://discourse.julialang.org/t/how-to-take-full-advantage-of-gpu-parallelism-on-nested-sequential-data-in-flux/83128)

<div class="topic-metadata">

**Author:** [@Jack\_N](https://discourse.julialang.org/u/Jack_N)\
**Replies:** 6\
**Last updated:** [June 29, 2022, 12:32am UTC](https://discourse.julialang.org/t/how-to-take-full-advantage-of-gpu-parallelism-on-nested-sequential-data-in-flux/83128 "2022-06-29T00:32:20Z")

</div>

I am making a machine learning model in Flux that needs to analyze nested sequential data (sequences whose elements are each composed of smaller sequences). I have tried to implement the model on my Nvidia GPU but have r…

---

## [How to use fit\_mle for Gamma](https://discourse.julialang.org/t/how-to-use-fit-mle-for-gamma/83495)

<div class="topic-metadata">

**Author:** [@Jian\_ZUO](https://discourse.julialang.org/u/Jian_ZUO)\
**Replies:** 0\
**Last updated:** [June 28, 2022, 11:59pm UTC](https://discourse.julialang.org/t/how-to-use-fit-mle-for-gamma/83495 "2022-06-28T23:59:42Z")

</div>

Hi all, I have a series of deterioration data and the corresponding time for these measurements: # deterioration r = \[0.1803, 0.1978, 0.2033, 0.2092, 0.2157, 0.2254\] # time t = \[0, 185, 348, 515, 658, 830\] The increme…

---

## [How to add Padding/Zero Rows to OneHotArray in Flux](https://discourse.julialang.org/t/how-to-add-padding-zero-rows-to-onehotarray-in-flux/83239)

<div class="topic-metadata">

**Author:** [@Jack\_N](https://discourse.julialang.org/u/Jack_N)\
**Replies:** 1\
**Last updated:** [June 28, 2022, 10:42pm UTC](https://discourse.julialang.org/t/how-to-add-padding-zero-rows-to-onehotarray-in-flux/83239 "2022-06-28T22:42:23Z")

</div>

The input data to my model is 1-hot encoded, and of different lengths, and it is 3D. Therefore it must be represented with a sparse datatype and padded to the same length. Currently, I am using multidimensional Flux One…

---

## [I want a minimal example of plotting data using pure Julia code](https://discourse.julialang.org/t/i-want-a-minimal-example-of-plotting-data-using-pure-julia-code/83435)

<div class="topic-metadata">

**Author:** [@Reza-Reza](https://discourse.julialang.org/u/Reza-Reza)\
**Replies:** 13\
**Last updated:** [June 28, 2022, 10:25pm UTC](https://discourse.julialang.org/t/i-want-a-minimal-example-of-plotting-data-using-pure-julia-code/83435 "2022-06-28T22:25:31Z")

</div>

The library Gadfly is written purely in Julia. I would like to know how using pure Julia someone can plot graphics such as a line or a point. The source code is extensive and I could not find the source code for the pl…

---

## [Short term consulting for a mathematical optimization project](https://discourse.julialang.org/t/short-term-consulting-for-a-mathematical-optimization-project/83438)

<div class="topic-metadata">

**Author:** [@Akatz](https://discourse.julialang.org/u/Akatz)\
**Replies:** 1\
**Last updated:** [June 28, 2022, 8:43pm UTC](https://discourse.julialang.org/t/short-term-consulting-for-a-mathematical-optimization-project/83438 "2022-06-28T20:43:04Z")

</div>

We’re looking for someone to assist with some initial research for a patent pending system leveraging mathematical optimization, linear & nonlinear programming methods, and optimal marketplace matching algorithms. In p…

---

## [3D Arrays : Selecting values of array B around some bit index based on array A](https://discourse.julialang.org/t/3d-arrays-selecting-values-of-array-b-around-some-bit-index-based-on-array-a/83400)

<div class="topic-metadata">

**Author:** [@meliorist](https://discourse.julialang.org/u/meliorist)\
**Replies:** 6\
**Last updated:** [June 28, 2022, 7:38pm UTC](https://discourse.julialang.org/t/3d-arrays-selecting-values-of-array-b-around-some-bit-index-based-on-array-a/83400 "2022-06-28T19:38:47Z")

</div>

I have a 3d array of some values of varA (time, lat, lon). I want to access some varB based on the values of varA. index = varA.\>threshold I know I can access these values in varB with the syntax selected\_B = varB\[ind…

---

## [ANN: JJ.jl -- library for J-like verb rank in Julia](https://discourse.julialang.org/t/ann-jj-jl-library-for-j-like-verb-rank-in-julia/83361)

<div class="topic-metadata">

**Author:** [@bertschi](https://discourse.julialang.org/u/bertschi)\
**Replies:** 9\
**Last updated:** [June 28, 2022, 7:09pm UTC](https://discourse.julialang.org/t/ann-jj-jl-library-for-j-like-verb-rank-in-julia/83361 "2022-06-28T19:09:03Z")

</div>

Recently, I started to learn some APL and J. In particular, I really liked the idea of verb rank. This package JJ.jl attempts to enable something similar in Julia. In a nutshell, verb rank is related to the split-apply-…

---

## [Saving complex numbers using JSON3](https://discourse.julialang.org/t/saving-complex-numbers-using-json3/83452)

<div class="topic-metadata">

**Author:** [@jlbosse](https://discourse.julialang.org/u/jlbosse)\
**Replies:** 5\
**Last updated:** [June 28, 2022, 7:06pm UTC](https://discourse.julialang.org/t/saving-complex-numbers-using-json3/83452 "2022-06-28T19:06:11Z")

</div>

I am trying to save Complex numbers in json files formatted in a python compatible way as using JSON3 c = 1+5im d = Dict("c" =\> c) jsonstring = JSON3.pretty(d) #= should be { "c" : 1+5j } =# This is how far I got, …

---

## [Correct type in function for Dict of NTuple](https://discourse.julialang.org/t/correct-type-in-function-for-dict-of-ntuple/83474)

<div class="topic-metadata">

**Author:** [@christmas\_jones](https://discourse.julialang.org/u/christmas_jones)\
**Replies:** 2\
**Last updated:** [June 28, 2022, 6:12pm UTC](https://discourse.julialang.org/t/correct-type-in-function-for-dict-of-ntuple/83474 "2022-06-28T18:12:55Z")

</div>

I need a function which takes a Dictionary, where keys are Integer Tuples, and values are Float64 types. I do not know in advance the length of the Tuples, so I would be tempted to use the following type in the function…

---

## [GeoMakie.jl: Stereographic projection at pole did not work](https://discourse.julialang.org/t/geomakie-jl-stereographic-projection-at-pole-did-not-work/83258)

<div class="topic-metadata">

**Author:** [@JanJereczek](https://discourse.julialang.org/u/JanJereczek)\
**Replies:** 16\
**Last updated:** [June 28, 2022, 6:07pm UTC](https://discourse.julialang.org/t/geomakie-jl-stereographic-projection-at-pole-did-not-work/83258 "2022-06-28T18:07:32Z")

</div>

Hi all, I started to code in Julia half a year ago and I am quite excited about using GeoMakie. I work on ice sheet dynamics so I mostly want to visualize the poles. Therefore I want to use a stereographic projection an…

---

## [Issue with for-loop free model](https://discourse.julialang.org/t/issue-with-for-loop-free-model/83468)

<div class="topic-metadata">

**Author:** [@spragud2](https://discourse.julialang.org/u/spragud2)\
**Replies:** 1\
**Last updated:** [June 28, 2022, 5:08pm UTC](https://discourse.julialang.org/t/issue-with-for-loop-free-model/83468 "2022-06-28T17:08:49Z")

</div>

Hi All, I’m trying to get a simple MLP trained. Pretty much all turing tutorials still use for i in 1:N loops for the likelihood on the data. I’m trying the following: using Flux using Turing,Zygote using MCMCChains …

---

## [Javis Animation Cosmic Dance with 3 planets](https://discourse.julialang.org/t/javis-animation-cosmic-dance-with-3-planets/83458)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 5\
**Last updated:** [June 28, 2022, 3:42pm UTC](https://discourse.julialang.org/t/javis-animation-cosmic-dance-with-3-planets/83458 "2022-06-28T15:42:19Z")

</div>

I am using Javis and try to modify the cosmic dance with 3 planets, I want to ask how to make the second connection that draw different color, I set it but it only painted the last color “#f9e8b3” here is my code: usin…

---

## [Best practice for packages on shared drives](https://discourse.julialang.org/t/best-practice-for-packages-on-shared-drives/83374)

<div class="topic-metadata">

**Author:** [@JackStrauss](https://discourse.julialang.org/u/JackStrauss)\
**Replies:** 12\
**Last updated:** [June 28, 2022, 3:12pm UTC](https://discourse.julialang.org/t/best-practice-for-packages-on-shared-drives/83374 "2022-06-28T15:12:10Z")

</div>

Hi We have julia running on both linux and mac, and on intel and M1, and the julia versions might not the same. We use synced folders which contains all the code for our in-house packages, the applications that use the …

---

## [Performance of methods to iterate through array](https://discourse.julialang.org/t/performance-of-methods-to-iterate-through-array/83465)

<div class="topic-metadata">

**Author:** [@virtualprocessor](https://discourse.julialang.org/u/virtualprocessor)\
**Replies:** 0\
**Last updated:** [June 28, 2022, 3:00pm UTC](https://discourse.julialang.org/t/performance-of-methods-to-iterate-through-array/83465 "2022-06-28T15:00:26Z")

</div>

I stumbled across this post on the Discourse with a very interesting performance benchmark that goes over a series of methods of iterating through an array: Methods (and results without inbounds): How much can hard-code…

---

## [Logo Animation with Javis and Fourier](https://discourse.julialang.org/t/logo-animation-with-javis-and-fourier/83461)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 0\
**Last updated:** [June 28, 2022, 2:15pm UTC](https://discourse.julialang.org/t/logo-animation-with-javis-and-fourier/83461 "2022-06-28T14:15:01Z")

</div>

I saw this on Javis tutorial: https://www.youtube.com/watch?v=rrmx2Q3sO1Y I want to know is anyone ever try to create with their own custom logo or text? I want to learn to create the custom one.

---

## [Implementing an empircal r-th q-quantile](https://discourse.julialang.org/t/implementing-an-empircal-r-th-q-quantile/83453)

<div class="topic-metadata">

**Author:** [@rikh](https://discourse.julialang.org/u/rikh)\
**Replies:** 1\
**Last updated:** [June 28, 2022, 12:28pm UTC](https://discourse.julialang.org/t/implementing-an-empircal-r-th-q-quantile/83453 "2022-06-28T12:28:55Z")

</div>

I’m trying to implement an algorithm from a paper which makes use of empirical r-th q-quantiles of the marginals X^{(1)}, ..., X^{(p)} for a dataset X with p features (Bénard et al., 2021). If I understand this correctl…

---

## [Weird: GitHub CI compute opposite directions in the output of my PCA on some commits on Julia v1.7.3](https://discourse.julialang.org/t/weird-github-ci-compute-opposite-directions-in-the-output-of-my-pca-on-some-commits-on-julia-v1-7-3/83454)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 5\
**Last updated:** [June 28, 2022, 1:35pm UTC](https://discourse.julialang.org/t/weird-github-ci-compute-opposite-directions-in-the-output-of-my-pca-on-some-commits-on-julia-v1-7-3/83454 "2022-06-28T13:35:43Z")

</div>

I have an eigenvalues-decomposition based PCA function in my lib, and I test it with: X = \[1 8; 4.5 5.5; 9.5 0.5\] out = pcatest(X;K=2) @test isapprox(out.X,\[-4.58465 6.63182;-0.308999 7.09961; 6.75092 6.70262\],atol…

---

## [Julia docker image for AWS Sagemaker Studio won't run](https://discourse.julialang.org/t/julia-docker-image-for-aws-sagemaker-studio-wont-run/83448)

<div class="topic-metadata">

**Author:** [@DataHacks](https://discourse.julialang.org/u/DataHacks)\
**Replies:** 0\
**Last updated:** [June 28, 2022, 7:48am UTC](https://discourse.julialang.org/t/julia-docker-image-for-aws-sagemaker-studio-wont-run/83448 "2022-06-28T07:48:36Z")

</div>

Hi all, I am trying to create a docker image for Julia that will run on AWS Sagemaker Studio, but it won’t even load an image terminal, run Julia command line, or the kernel in Studio. I have successfully created an ima…

---

## [Plots.jl not showing negative values in 3D](https://discourse.julialang.org/t/plots-jl-not-showing-negative-values-in-3d/83407)

<div class="topic-metadata">

**Author:** [@Siempie](https://discourse.julialang.org/u/Siempie)\
**Replies:** 1\
**Last updated:** [June 28, 2022, 12:14pm UTC](https://discourse.julialang.org/t/plots-jl-not-showing-negative-values-in-3d/83407 "2022-06-28T12:14:12Z")

</div>

I am solving a 3D differential equation. My output data is in the form of a NxNxN dense Matrix for each timestep. With values ranging from -1 to 1. I plan on animating the plot trough time so that leaves 3 dimensions. T…

---

## [Dash and ZMQ "address already in use"](https://discourse.julialang.org/t/dash-and-zmq-address-already-in-use/83341)

<div class="topic-metadata">

**Author:** [@anon69491625](https://discourse.julialang.org/u/anon69491625)\
**Replies:** 1\
**Last updated:** [June 28, 2022, 11:46am UTC](https://discourse.julialang.org/t/dash-and-zmq-address-already-in-use/83341 "2022-06-28T11:46:07Z")

</div>

Puzzled by this error message as nothing is running on the port for Dash (I run sudo netstat -nlp to make sure) and the ZMQ is working, on it’s own, perfectly as is the Dash functionality. Put them together, which doesn…

---

## [Private subpackages](https://discourse.julialang.org/t/private-subpackages/83449)

<div class="topic-metadata">

**Author:** [@simsurace](https://discourse.julialang.org/u/simsurace)\
**Replies:** 1\
**Last updated:** [June 28, 2022, 11:31am UTC](https://discourse.julialang.org/t/private-subpackages/83449 "2022-06-28T11:31:59Z")

</div>

I have a private (unregistered, closed-source) package. Now I would like to split part of that package into a separate subpackage, i.e. a Julia package that lives in a sub-folder of my current main package, but has separ…

---

## [First steps into parallel computing!](https://discourse.julialang.org/t/first-steps-into-parallel-computing/83381)

<div class="topic-metadata">

**Author:** [@marianoarnaiz](https://discourse.julialang.org/u/marianoarnaiz)\
**Replies:** 6\
**Last updated:** [June 28, 2022, 10:41am UTC](https://discourse.julialang.org/t/first-steps-into-parallel-computing/83381 "2022-06-28T10:41:00Z")

</div>

Hi all. Thanks for reading I am totally new to parallel computing and working with different cores, workers, threads, etc (I have no idea of any of it hahaha). At home I have a single core mac and I have always worked l…

---

## [Multiplying Functions and Operators with Symbolics.jl](https://discourse.julialang.org/t/multiplying-functions-and-operators-with-symbolics-jl/83406)

<div class="topic-metadata">

**Author:** [@MattM](https://discourse.julialang.org/u/MattM)\
**Replies:** 0\
**Last updated:** [June 27, 2022, 2:42pm UTC](https://discourse.julialang.org/t/multiplying-functions-and-operators-with-symbolics-jl/83406 "2022-06-27T14:42:00Z")

</div>

Hello, I am still new to Julia and the Symbolics.jl package. I am trying to implement a poisson bracket operator :f: = \\frac{\\partial f}{\\partial q} \\frac{\\partial }{\\partial p} - \\frac{\\partial f}{\\partial p} \\frac{\\p…

---

## [Package registration, multiple authors](https://discourse.julialang.org/t/package-registration-multiple-authors/83220)

<div class="topic-metadata">

**Author:** [@sparrowhawk](https://discourse.julialang.org/u/sparrowhawk)\
**Replies:** 4\
**Last updated:** [June 28, 2022, 8:10am UTC](https://discourse.julialang.org/t/package-registration-multiple-authors/83220 "2022-06-28T08:10:13Z")

</div>

Hi, our group has registered a scientific package through JuliaHub , but unfortunately, the person who did most of the software engineering including the registration is leaving us. Can I continue to update release versi…

---

## [Parameter estimation fails for Modelingtoolkit model specification but works fine for DifferentialEquations.jl specification](https://discourse.julialang.org/t/parameter-estimation-fails-for-modelingtoolkit-model-specification-but-works-fine-for-differentialequations-jl-specification/83444)

<div class="topic-metadata">

**Author:** [@Curio\_math](https://discourse.julialang.org/u/Curio_math)\
**Replies:** 6\
**Last updated:** [June 28, 2022, 6:55am UTC](https://discourse.julialang.org/t/parameter-estimation-fails-for-modelingtoolkit-model-specification-but-works-fine-for-differentialequations-jl-specification/83444 "2022-06-28T06:55:29Z")

</div>

Hi, I have confronted with something amazing ! I was trying parameter estimation on Lotka-volterra example in DiffeqParamEstim which uses DifferentialEquations.jl model specification and parameter estimation using Least…

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

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