# New to Julia

**URL:** https://discourse.julialang.org/c/first-steps/8.md?page=6

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

**Page:** 7

---

## [AlgebraOfGraphics and transparency](https://discourse.julialang.org/t/algebraofgraphics-and-transparency/134032)

<div class="topic-metadata">

**Author:** [@mahmah](https://discourse.julialang.org/u/mahmah)\
**Replies:** 2\
**Last updated:** [November 21, 2025, 9:08pm UTC](https://discourse.julialang.org/t/algebraofgraphics-and-transparency/134032 "2025-11-21T21:08:50Z")

</div>

Hi! Can I use AlgebraOfGraphics to create a violin plot, overlay a boxplot with some transparency and also to be able to see all the dots? Thanks for your help!

---

## [Using step in the range function](https://discourse.julialang.org/t/using-step-in-the-range-function/134011)

<div class="topic-metadata">

**Author:** [@Queenvictoria](https://discourse.julialang.org/u/Queenvictoria)\
**Replies:** 1\
**Last updated:** [November 20, 2025, 5:06pm UTC](https://discourse.julialang.org/t/using-step-in-the-range-function/134011 "2025-11-20T17:06:48Z")

</div>

I’m trying to understand how the range function works. Because I know that you can define each value. (the examples are from documentation) range(stop=10, step=1, length=5) And I know that you can forgo some of the key…

---

## [Implement C-like command line arguments in Julia](https://discourse.julialang.org/t/implement-c-like-command-line-arguments-in-julia/67816)

<div class="topic-metadata">

**Author:** [@vinicius\_de\_lima](https://discourse.julialang.org/u/vinicius_de_lima)\
**Replies:** 8\
**Last updated:** [November 17, 2025, 1:07pm UTC](https://discourse.julialang.org/t/implement-c-like-command-line-arguments-in-julia/67816 "2025-11-17T13:07:15Z")

</div>

There is a way to reproduce C command line arguments behavior in Julia? int main(int argc, char \*\*argv) { /\* ... \*/ }

---

## [Wait for a keypress](https://discourse.julialang.org/t/wait-for-a-keypress/20218)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 12\
**Last updated:** [November 15, 2025, 7:13pm UTC](https://discourse.julialang.org/t/wait-for-a-keypress/20218 "2025-11-15T19:13:55Z")

</div>

Absolutely stupid question - and yes RTFM. How do I make a Julia program pause until a key is pressed?

---

## [How can I know the position for each label in the plot](https://discourse.julialang.org/t/how-can-i-know-the-position-for-each-label-in-the-plot/133884)

<div class="topic-metadata">

**Author:** [@Lucca\_Da\_Paz](https://discourse.julialang.org/u/Lucca_Da_Paz)\
**Replies:** 1\
**Last updated:** [November 15, 2025, 7:25am UTC](https://discourse.julialang.org/t/how-can-i-know-the-position-for-each-label-in-the-plot/133884 "2025-11-15T07:25:11Z")

</div>

How can I know the position in the x-axis for each label in my violin(x, y, group = x, linewidth=1, dpi = 300) boxplot!(x, y, fillalpha=0.4, fillcolor = colorant"gray", linecolor=:black, linewidth=1, legend=false, dpi = …

---

## [How to initialize/fix the RNG seed on the GPU?](https://discourse.julialang.org/t/how-to-initialize-fix-the-rng-seed-on-the-gpu/133831)

<div class="topic-metadata">

**Author:** [@jwtkeeble](https://discourse.julialang.org/u/jwtkeeble)\
**Replies:** 4\
**Last updated:** [November 13, 2025, 7:27pm UTC](https://discourse.julialang.org/t/how-to-initialize-fix-the-rng-seed-on-the-gpu/133831 "2025-11-13T19:27:07Z")

</div>

Hi All, I have a question regarding initializing the random seed within CUDA.jl. I saw in this thread for the CURAND library, however, it seems the CURAND library is now deprecated for CUDA.jl. I do see there’s CUDA.de…

---

## [Helix + LanguageServer.jl + JuliaFormatter.jl](https://discourse.julialang.org/t/helix-languageserver-jl-juliaformatter-jl/133755)

<div class="topic-metadata">

**Author:** [@kousu](https://discourse.julialang.org/u/kousu)\
**Replies:** 12\
**Last updated:** [November 13, 2025, 2:10pm UTC](https://discourse.julialang.org/t/helix-languageserver-jl-juliaformatter-jl/133755 "2025-11-13T14:10:38Z")

</div>

I’m trying to move from vscode to helix to save my RAM for Julia. I’m on helix 25.07.01, julia 1.12.1. I haven’t configured anything except $ cat ~/.config/helix/config.toml theme = "autumn\_night" $ cat ~/.config/hel…

---

## [Cyclic Dependencies in Julia Packages - How to solve?](https://discourse.julialang.org/t/cyclic-dependencies-in-julia-packages-how-to-solve/133825)

<div class="topic-metadata">

**Author:** [@Mini4Ever](https://discourse.julialang.org/u/Mini4Ever)\
**Replies:** 7\
**Last updated:** [November 12, 2025, 3:30pm UTC](https://discourse.julialang.org/t/cyclic-dependencies-in-julia-packages-how-to-solve/133825 "2025-11-12T15:30:01Z")

</div>

Using Julia 1.10.10 on Windows 11. Running the following Julia script for a JULIA\_DEPOT\_PATH location that is still empty: import Pkg Pkg.add("DelimitedFiles") Pkg.add("CairoMakie") Pkg.add("LaTeXStrings") Pkg.add("Stat…

---

## [AD-Compatible Fluid Property Backend for Heat Pump Simulations](https://discourse.julialang.org/t/ad-compatible-fluid-property-backend-for-heat-pump-simulations/133658)

<div class="topic-metadata">

**Author:** [@junsin0106](https://discourse.julialang.org/u/junsin0106)\
**Replies:** 15\
**Last updated:** [November 11, 2025, 5:32am UTC](https://discourse.julialang.org/t/ad-compatible-fluid-property-backend-for-heat-pump-simulations/133658 "2025-11-11T05:32:52Z")

</div>

How can I wrap a media package that isn’t compatible with automatic differentiation? I need the Jacobians of density and temperature with respect to enthalpy and pressure for developing a transient heat pump simulation.…

---

## [Poincare section for Henon Helies system](https://discourse.julialang.org/t/poincare-section-for-henon-helies-system/124059)

<div class="topic-metadata">

**Author:** [@nn-heckfy](https://discourse.julialang.org/u/nn-heckfy)\
**Replies:** 9\
**Last updated:** [November 10, 2025, 3:12pm UTC](https://discourse.julialang.org/t/poincare-section-for-henon-helies-system/124059 "2025-11-10T15:12:48Z")

</div>

Greetings. I’m trying to solve a problem of plotting a Poincare map for the Henon Heiles’s system. But the figure is completely painted over, but should have cavities. Maybe I’m using the Julia commands incorrectly someh…

---

## [Sysimage -\> Invalid signature in function definition](https://discourse.julialang.org/t/sysimage-invalid-signature-in-function-definition/133757)

<div class="topic-metadata">

**Author:** [@kousu](https://discourse.julialang.org/u/kousu)\
**Replies:** 2\
**Last updated:** [November 9, 2025, 9:15pm UTC](https://discourse.julialang.org/t/sysimage-invalid-signature-in-function-definition/133757 "2025-11-09T21:15:55Z")

</div>

Why does running against a custom sysimage change the behaviour of my program? I thought, at most, it would accelerate the wrong things. ▶ jlfmt.jl ▶ beer.jl Under normal Julia, this is fine: $ time julia jlfmt.jl beer.jl …

---

## [Type instability in a simple function](https://discourse.julialang.org/t/type-instability-in-a-simple-function/133736)

<div class="topic-metadata">

**Author:** [@atthom](https://discourse.julialang.org/u/atthom)\
**Replies:** 5\
**Last updated:** [November 8, 2025, 5:09am UTC](https://discourse.julialang.org/t/type-instability-in-a-simple-function/133736 "2025-11-08T05:09:00Z")

</div>

I try as much as possible to remove type instabilities, as suggested in Julia’s Performance Tips. I wasn’t able to find the trick on this function, although it’s quite simple. function parameters() TARGET = Int\[88,…

---

## [Contains vs occursin](https://discourse.julialang.org/t/contains-vs-occursin/133737)

<div class="topic-metadata">

**Author:** [@Queenvictoria](https://discourse.julialang.org/u/Queenvictoria)\
**Replies:** 2\
**Last updated:** [November 7, 2025, 8:22pm UTC](https://discourse.julialang.org/t/contains-vs-occursin/133737 "2025-11-07T20:22:39Z")

</div>

Is there any functional difference between contains and occursin? Is it up to preference?

---

## [Change local of instalation of \\.julia](https://discourse.julialang.org/t/change-local-of-instalation-of-julia/54010)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 12\
**Last updated:** [November 7, 2025, 3:16pm UTC](https://discourse.julialang.org/t/change-local-of-instalation-of-julia/54010 "2025-11-07T15:16:06Z")

</div>

Dear all, I having problems with my user’s name: C:\\Users\\Usuário\\.julia (from Brazil), where all packages are installed (because the name “Usuário”). However, I cannot control where packages are installed neither the …

---

## [Is there a keyword opposite of 'end' when indexing](https://discourse.julialang.org/t/is-there-a-keyword-opposite-of-end-when-indexing/133714)

<div class="topic-metadata">

**Author:** [@Queenvictoria](https://discourse.julialang.org/u/Queenvictoria)\
**Replies:** 2\
**Last updated:** [November 6, 2025, 6:18pm UTC](https://discourse.julialang.org/t/is-there-a-keyword-opposite-of-end-when-indexing/133714 "2025-11-06T18:18:55Z")

</div>

name\[end\] gives you the last value. But when I learned it, I could’ve sworn there was a keyword for the very first value. Obviously you can just index at one, but does that keyword exist? Or did I make it up?

---

## [A question about redefining a function in Julia](https://discourse.julialang.org/t/a-question-about-redefining-a-function-in-julia/133579)

<div class="topic-metadata">

**Author:** [@quantum2025](https://discourse.julialang.org/u/quantum2025)\
**Replies:** 37\
**Last updated:** [November 3, 2025, 5:51pm UTC](https://discourse.julialang.org/t/a-question-about-redefining-a-function-in-julia/133579 "2025-11-03T17:51:42Z")

</div>

Hello. I just tested the following small code on Julia, and found that the value g() is changed after redefining the function f, but c is unchanged. I was wondering the reason behind this difference, and how to keep g() …

---

## [Speeding up Ewald summation](https://discourse.julialang.org/t/speeding-up-ewald-summation/80830)

<div class="topic-metadata">

**Author:** [@dkonstan](https://discourse.julialang.org/u/dkonstan)\
**Replies:** 15\
**Last updated:** [November 3, 2025, 5:41pm UTC](https://discourse.julialang.org/t/speeding-up-ewald-summation/80830 "2025-11-03T17:41:41Z")

</div>

Hi Julia! I am writing a small molecular dynamics engine in Julia to teach myself the language and I noticed that 67% of the time spent running the following Ewald summation function (to calculate coulomb energy of an i…

---

## [ERROR: Error building \`RCall\`:](https://discourse.julialang.org/t/error-error-building-rcall/102450)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 1\
**Last updated:** [November 3, 2025, 10:57am UTC](https://discourse.julialang.org/t/error-error-building-rcall/102450 "2025-11-03T10:57:36Z")

</div>

I’m getting this error (below) when trying to build RCall. it suggest Try adding /Library/Frameworks/R.framework/Resources/lib to the "LD\_LIBRARY\_PATH" environmental variable but i don’t know how to do. Can someone tel…

---

## [How to install jhrmstoolbox.jl in Julia; libmbedtls.so.12 not found](https://discourse.julialang.org/t/how-to-install-jhrmstoolbox-jl-in-julia-libmbedtls-so-12-not-found/133504)

<div class="topic-metadata">

**Author:** [@Monicate](https://discourse.julialang.org/u/Monicate)\
**Replies:** 5\
**Last updated:** [October 30, 2025, 8:05pm UTC](https://discourse.julialang.org/t/how-to-install-jhrmstoolbox-jl-in-julia-libmbedtls-so-12-not-found/133504 "2025-10-30T20:05:33Z")

</div>

Hello, I’m so sorry for spamming questions. I’m trying to install a package like this: using Pkg Add prerequisite packages Pkg.add(PackageSpec(url=“Bitbucket”)) As the Bitbucket page suggests: Denice\_van\_Herwerden / j…

---

## [Best way for passing abstract type data via path variables in Dyad](https://discourse.julialang.org/t/best-way-for-passing-abstract-type-data-via-path-variables-in-dyad/132966)

<div class="topic-metadata">

**Author:** [@junsin0106](https://discourse.julialang.org/u/junsin0106)\
**Replies:** 4\
**Last updated:** [October 30, 2025, 5:55pm UTC](https://discourse.julialang.org/t/best-way-for-passing-abstract-type-data-via-path-variables-in-dyad/132966 "2025-10-30T17:55:02Z")

</div>

Hello, I have a question about the proper usage of path variables in MTK and Dyad. To calculate heat transfer coefficient(HTC) and pressure drop(dP), the specific type and geometry of the heat exchanger(HX) are crucial…

---

## [Where to put zlib1.dll to run Julia package](https://discourse.julialang.org/t/where-to-put-zlib1-dll-to-run-julia-package/133557)

<div class="topic-metadata">

**Author:** [@Monicate](https://discourse.julialang.org/u/Monicate)\
**Replies:** 0\
**Last updated:** [October 30, 2025, 1:32pm UTC](https://discourse.julialang.org/t/where-to-put-zlib1-dll-to-run-julia-package/133557 "2025-10-30T13:32:45Z")

</div>

Hello, I’m trying to run a package ( Denice\_van\_Herwerden / jhrmstoolbox.jl — Bitbucket) and it complains about not being able to find zlib1.dll. Where do I need to put this file? I found a similar question for Linux bu…

---

## [Error: I am trying to use MPSDynamics (in Julia 1.12.1), but got an error](https://discourse.julialang.org/t/error-i-am-trying-to-use-mpsdynamics-in-julia-1-12-1-but-got-an-error/133532)

<div class="topic-metadata">

**Author:** [@Anil\_Kumar](https://discourse.julialang.org/u/Anil_Kumar)\
**Replies:** 1\
**Last updated:** [October 30, 2025, 2:55am UTC](https://discourse.julialang.org/t/error-i-am-trying-to-use-mpsdynamics-in-julia-1-12-1-but-got-an-error/133532 "2025-10-30T02:55:08Z")

</div>

I didn’t use Julia for quite a long time. But I usually work in Python (qutip, etc). Here is the error I got during the installation of MPSDynamics. (@v1.12) pkg\> add MPSDynamics Resolving package versions… ERROR: Uns…

---

## [How to use sklearn in julia](https://discourse.julialang.org/t/how-to-use-sklearn-in-julia/133493)

<div class="topic-metadata">

**Author:** [@Monicate](https://discourse.julialang.org/u/Monicate)\
**Replies:** 3\
**Last updated:** [October 29, 2025, 9:28am UTC](https://discourse.julialang.org/t/how-to-use-sklearn-in-julia/133493 "2025-10-29T09:28:30Z")

</div>

Hello, when installing a package I got the error: The Python package sklearn could not be imported by pyimport. Usually this means that you did not install sklearn in the Python version being used by PyCall. So I inst…

---

## ["comprehension" seems like an awkward word choice](https://discourse.julialang.org/t/comprehension-seems-like-an-awkward-word-choice/132781)

<div class="topic-metadata">

**Author:** [@Tigerbyte](https://discourse.julialang.org/u/Tigerbyte)\
**Replies:** 16\
**Last updated:** [October 29, 2025, 8:43am UTC](https://discourse.julialang.org/t/comprehension-seems-like-an-awkward-word-choice/132781 "2025-10-29T08:43:43Z")

</div>

In Julia, an item like: \[ xx for x in 1:5 \] is called a “comprehension” and results in a Vector as in: julia\> \[xx for x in 1:5\] 5-element Vector{Int64}: 1 4 9 16 25 Not even sure what the word “comprehension” …

---

## [ERROR: LoadError: ArgumentError: Package FixConda does not have Pkg in its dependencies](https://discourse.julialang.org/t/error-loaderror-argumenterror-package-fixconda-does-not-have-pkg-in-its-dependencies/133457)

<div class="topic-metadata">

**Author:** [@Monicate](https://discourse.julialang.org/u/Monicate)\
**Replies:** 4\
**Last updated:** [October 29, 2025, 7:37am UTC](https://discourse.julialang.org/t/error-loaderror-argumenterror-package-fixconda-does-not-have-pkg-in-its-dependencies/133457 "2025-10-29T07:37:22Z")

</div>

Hello, I’m trying to install a package using Pkg.add(PackageSpec(url="https://bitbucket.org/etjekant/fixconda/src/master/")) Which yields the following error: ERROR: LoadError: ArgumentError: Package FixConda does not…

---

## [ERROR: Method overwriting is not permitted during Module precompilation](https://discourse.julialang.org/t/error-method-overwriting-is-not-permitted-during-module-precompilation/133482)

<div class="topic-metadata">

**Author:** [@Monicate](https://discourse.julialang.org/u/Monicate)\
**Replies:** 2\
**Last updated:** [October 28, 2025, 10:01pm UTC](https://discourse.julialang.org/t/error-method-overwriting-is-not-permitted-during-module-precompilation/133482 "2025-10-28T22:01:19Z")

</div>

I’m trying to install a number of packages ( Denice\_van\_Herwerden / jhrmstoolbox.jl — Bitbucket) but I get ERROR: Method overwriting is not permitted during Module precompilation. Use \_\_precompile\_\_(false) to opt-out of…

---

## [Julia significantly slower than Matlab for simple sin(x) loop – am I doing something wrong?](https://discourse.julialang.org/t/julia-significantly-slower-than-matlab-for-simple-sin-x-loop-am-i-doing-something-wrong/133317)

<div class="topic-metadata">

**Author:** [@GateOfShadows](https://discourse.julialang.org/u/GateOfShadows)\
**Replies:** 8\
**Last updated:** [October 28, 2025, 10:00pm UTC](https://discourse.julialang.org/t/julia-significantly-slower-than-matlab-for-simple-sin-x-loop-am-i-doing-something-wrong/133317 "2025-10-28T22:00:46Z")

</div>

Hi everyone, I recently did some benchmark testing between Julia and Matlab, focusing on basic for-loops and vectorized numerical operations. To my surprise, Julia performed significantly worse than Matlab in some very …

---

## [VS CODE not launching SVG Picture](https://discourse.julialang.org/t/vs-code-not-launching-svg-picture/133477)

<div class="topic-metadata">

**Author:** [@Jason\_Palmer](https://discourse.julialang.org/u/Jason_Palmer)\
**Replies:** 7\
**Last updated:** [October 28, 2025, 3:29pm UTC](https://discourse.julialang.org/t/vs-code-not-launching-svg-picture/133477 "2025-10-28T15:29:04Z")

</div>

I managed to install VS Code and the julia extension and am working through “think julia how to think like a computer scientist” am on page 36 where the turtle draws a line but when i execute the code no SVG page comes u…

---

## [Interactive prototyping workflows](https://discourse.julialang.org/t/interactive-prototyping-workflows/133265)

<div class="topic-metadata">

**Author:** [@kousu](https://discourse.julialang.org/u/kousu)\
**Replies:** 41\
**Last updated:** [October 27, 2025, 10:26am UTC](https://discourse.julialang.org/t/interactive-prototyping-workflows/133265 "2025-10-27T10:26:00Z")

</div>

Hi all, I’m writing data analysis scripts. Their form is usually like: using Plots, XLSX, DataFrames # load some data # drop mangled parts # calculate some statistics # plot some stuff plot(x, y, title="....", …

---

## [How can I merge two YAXarrays datasets](https://discourse.julialang.org/t/how-can-i-merge-two-yaxarrays-datasets/133326)

<div class="topic-metadata">

**Author:** [@Kamil\_Mroz](https://discourse.julialang.org/u/Kamil_Mroz)\
**Replies:** 3\
**Last updated:** [October 23, 2025, 1:43pm UTC](https://discourse.julialang.org/t/how-can-i-merge-two-yaxarrays-datasets/133326 "2025-10-23T13:43:45Z")

</div>

I’ve created two YAXArrays from data stored in two separate groups of an HDF5 file. They share the same dimensions, and I’d like to merge them into a single Dataset. Is there a recommended way to do this? I couldn’t f…

[Previous page](https://discourse.julialang.org/c/first-steps/8.md?page=5)

[Next page](https://discourse.julialang.org/c/first-steps/8.md?page=7)
