# New to Julia

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

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

**Page:** 6

---

## [Project for Intermediates - Advance](https://discourse.julialang.org/t/project-for-intermediates-advance/134653)

<div class="topic-metadata">

**Author:** [@AkshayJ](https://discourse.julialang.org/u/AkshayJ)\
**Replies:** 9\
**Last updated:** [December 22, 2025, 4:34pm UTC](https://discourse.julialang.org/t/project-for-intermediates-advance/134653 "2025-12-22T16:34:52Z")

</div>

Hi, I lead a large program management in a manufacturing setting. Have recently gone through Julia and I see a big potential in making Julia work for Manufacturing Problem statements. What intermediate/Advanced projects …

---

## [Meshscatter shapes](https://discourse.julialang.org/t/meshscatter-shapes/134662)

<div class="topic-metadata">

**Author:** [@mahmah](https://discourse.julialang.org/u/mahmah)\
**Replies:** 2\
**Last updated:** [December 21, 2025, 12:38pm UTC](https://discourse.julialang.org/t/meshscatter-shapes/134662 "2025-12-21T12:38:39Z")

</div>

A few questions concerning GLMakie meshscatter: how can I use some other shape instead of spheres? Where can I find what other kinds of shapes are a available? Can the orientation of these shapes be specified based on q…

---

## [Testing Fixture library for Julia?](https://discourse.julialang.org/t/testing-fixture-library-for-julia/26703)

<div class="topic-metadata">

**Author:** [@00krishna](https://discourse.julialang.org/u/00krishna)\
**Replies:** 5\
**Last updated:** [December 21, 2025, 9:28am UTC](https://discourse.julialang.org/t/testing-fixture-library-for-julia/26703 "2025-12-21T09:28:06Z")

</div>

Hey Folks. Is there a good “fixtures” library for unit testing in Julia? By fixtures I mean saving some data that I can use for different tests later. Here is my idea on using fixtures. I am not sure how most folks hand…

---

## [Prevent Pkg.test from executing parent's \`@main\` function](https://discourse.julialang.org/t/prevent-pkg-test-from-executing-parents-main-function/134617)

<div class="topic-metadata">

**Author:** [@alametti](https://discourse.julialang.org/u/alametti)\
**Replies:** 3\
**Last updated:** [December 17, 2025, 7:28pm UTC](https://discourse.julialang.org/t/prevent-pkg-test-from-executing-parents-main-function/134617 "2025-12-17T19:28:06Z")

</div>

When I test a local package using the test instruction in the Pkg REPL, the function called by the @main macro gets executed after the tests. For example: src/Foo.jl: module Foo main() = println("hello from main func…

---

## [Why do I get an error when installing iJulia that Conda is missing?](https://discourse.julialang.org/t/why-do-i-get-an-error-when-installing-ijulia-that-conda-is-missing/134572)

<div class="topic-metadata">

**Author:** [@Kobold](https://discourse.julialang.org/u/Kobold)\
**Replies:** 1\
**Last updated:** [December 17, 2025, 5:36pm UTC](https://discourse.julialang.org/t/why-do-i-get-an-error-when-installing-ijulia-that-conda-is-missing/134572 "2025-12-17T17:36:30Z")

</div>

Below I’ll post a copy of what happens when I try to download IJulia; I can’t attach a screenshot. I can download any package that doesn’t require Conda, but as soon as it requires Conda (as far as I understand, it’s a p…

---

## [Possible error on Julia documentation page](https://discourse.julialang.org/t/possible-error-on-julia-documentation-page/134585)

<div class="topic-metadata">

**Author:** [@xiaoxi](https://discourse.julialang.org/u/xiaoxi)\
**Replies:** 2\
**Last updated:** [December 17, 2025, 3:06pm UTC](https://discourse.julialang.org/t/possible-error-on-julia-documentation-page/134585 "2025-12-17T15:06:55Z")

</div>

Shouldn’t this text be inside the box? It’s from the variable section of the documentation page.

---

## [The while cycle doesn't work](https://discourse.julialang.org/t/the-while-cycle-doesnt-work/134542)

<div class="topic-metadata">

**Author:** [@Kobold](https://discourse.julialang.org/u/Kobold)\
**Replies:** 3\
**Last updated:** [December 16, 2025, 8:29pm UTC](https://discourse.julialang.org/t/the-while-cycle-doesnt-work/134542 "2025-12-16T20:29:35Z")

</div>

I wrote a simple program, literally to test how the while cycle works, but it gives the same error, even though I wrote it identically to the one in the training material. x=0 while x\<10 x+=1 println(x) end and the…

---

## [Possible to disable julia printing escape sequences on startup when running a script?](https://discourse.julialang.org/t/possible-to-disable-julia-printing-escape-sequences-on-startup-when-running-a-script/134584)

<div class="topic-metadata">

**Author:** [@haahr](https://discourse.julialang.org/u/haahr)\
**Replies:** 0\
**Last updated:** [December 16, 2025, 7:27am UTC](https://discourse.julialang.org/t/possible-to-disable-julia-printing-escape-sequences-on-startup-when-running-a-script/134584 "2025-12-16T07:27:10Z")

</div>

Complete newbie here. I’ve just installed 1.12.3 on an M1 Mac running Sequoia 15.4. I’m using a escape-sequence capable terminal for my interactive Julia sessions, but I run my scripts from inside an Emacs terminal windo…

---

## [Issues with Julia 1.12.2 Docker with GAP.jl](https://discourse.julialang.org/t/issues-with-julia-1-12-2-docker-with-gap-jl/134558)

<div class="topic-metadata">

**Author:** [@RYB](https://discourse.julialang.org/u/RYB)\
**Replies:** 3\
**Last updated:** [December 16, 2025, 12:27am UTC](https://discourse.julialang.org/t/issues-with-julia-1-12-2-docker-with-gap-jl/134558 "2025-12-16T00:27:18Z")

</div>

Hello, I’m relatively new to Docker and Julia so I would appreciate any advice. I am trying to create a Docker container for Julia 1.12.2 with CUDA.jl, Oscar.jl (and hence GAP.jl), and some other libraries. Namely, I wa…

---

## [How does compiler and other stuff works in closures](https://discourse.julialang.org/t/how-does-compiler-and-other-stuff-works-in-closures/134553)

<div class="topic-metadata">

**Author:** [@RCh](https://discourse.julialang.org/u/RCh)\
**Replies:** 3\
**Last updated:** [December 15, 2025, 10:09pm UTC](https://discourse.julialang.org/t/how-does-compiler-and-other-stuff-works-in-closures/134553 "2025-12-15T22:09:54Z")

</div>

Hi, another conceptual question. I have a closure like functionality: z = function outer1(x0::Int) x = x0 function inner1() println(x) end function inner1(y::Int64) …

---

## [How to run a .jl file on Windows 10?](https://discourse.julialang.org/t/how-to-run-a-jl-file-on-windows-10/134547)

<div class="topic-metadata">

**Author:** [@atBNE](https://discourse.julialang.org/u/atBNE)\
**Replies:** 5\
**Last updated:** [December 15, 2025, 7:56am UTC](https://discourse.julialang.org/t/how-to-run-a-jl-file-on-windows-10/134547 "2025-12-15T07:56:52Z")

</div>

I have installed Julia v 1.12.2 using the MSIX App Installer, as recommended. I can run REPL, using the command prompt. But I can not run a .jl file: the extension is not recognised. Can someone give us the step-by-ste…

---

## [Nerd Sniping: How can I improve the read in of a human-readable file?](https://discourse.julialang.org/t/nerd-sniping-how-can-i-improve-the-read-in-of-a-human-readable-file/134517)

<div class="topic-metadata">

**Author:** [@jwtkeeble](https://discourse.julialang.org/u/jwtkeeble)\
**Replies:** 17\
**Last updated:** [December 14, 2025, 7:30pm UTC](https://discourse.julialang.org/t/nerd-sniping-how-can-i-improve-the-read-in-of-a-human-readable-file/134517 "2025-12-14T19:30:52Z")

</div>

Hi All, I’m currently trying to read in a huge human-readable file, which can take up to 50% of my total walltime when running a job. I was wondering if there’s a more efficient way to read in such a file? Naturally, I…

---

## [Understanding Primitive and Composite Types](https://discourse.julialang.org/t/understanding-primitive-and-composite-types/134477)

<div class="topic-metadata">

**Author:** [@Queenvictoria](https://discourse.julialang.org/u/Queenvictoria)\
**Replies:** 7\
**Last updated:** [December 14, 2025, 1:55am UTC](https://discourse.julialang.org/t/understanding-primitive-and-composite-types/134477 "2025-12-14T01:55:54Z")

</div>

I’m trying to understand the different types, but it isn’t completely clear. As far as I understand, primitive types are those that contain one actual value. So are all concrete types, that aren’t containers, primitive …

---

## [Precompilation and tracking dependencies](https://discourse.julialang.org/t/precompilation-and-tracking-dependencies/134530)

<div class="topic-metadata">

**Author:** [@epilliat](https://discourse.julialang.org/u/epilliat)\
**Replies:** 1\
**Last updated:** [December 14, 2025, 1:03am UTC](https://discourse.julialang.org/t/precompilation-and-tracking-dependencies/134530 "2025-12-14T01:03:09Z")

</div>

I’m somehow bouncing back on this post about the time it takes for precompilation, and I agree with @mattsignorelli that it can scare new users about the practical performance of Julia. I’ve also been frustrated a lot be…

---

## [PDES+ODEs with ModelingToolkit](https://discourse.julialang.org/t/pdes-odes-with-modelingtoolkit/134481)

<div class="topic-metadata">

**Author:** [@BPMD](https://discourse.julialang.org/u/BPMD)\
**Replies:** 2\
**Last updated:** [December 10, 2025, 10:14pm UTC](https://discourse.julialang.org/t/pdes-odes-with-modelingtoolkit/134481 "2025-12-10T22:14:25Z")

</div>

I am simulating an electrochemical for Li+ purification using membranes. The problem includes several PDEs modeling the diffusion and migration in membrane coupled with ODEs representing the balances at chambers. The cod…

---

## [Query help on Flux error](https://discourse.julialang.org/t/query-help-on-flux-error/134296)

<div class="topic-metadata">

**Author:** [@lionisxn](https://discourse.julialang.org/u/lionisxn)\
**Replies:** 4\
**Last updated:** [December 9, 2025, 5:00am UTC](https://discourse.julialang.org/t/query-help-on-flux-error/134296 "2025-12-09T05:00:09Z")

</div>

┌ Error: Error during loading of extension FluxCUDAcuDNNExt of Flux, use Base.retry\_load\_extensions() to retry. │ exception = │ 1-element ExceptionStack: │ ConcurrencyViolationError(“deadlock detected in loadi…

---

## [Fast animations](https://discourse.julialang.org/t/fast-animations/134427)

<div class="topic-metadata">

**Author:** [@mahmah](https://discourse.julialang.org/u/mahmah)\
**Replies:** 4\
**Last updated:** [December 8, 2025, 6:41pm UTC](https://discourse.julialang.org/t/fast-animations/134427 "2025-12-08T18:41:20Z")

</div>

Hi, what would be the fastest way to generate animations or videos? I’ve been able to make animated gifs with @animateanimate but they take quite some time. Here’s the kind of stuff I’m doing: data = Matrix(m.data) X = …

---

## [How to coordinate shutting down tasks?](https://discourse.julialang.org/t/how-to-coordinate-shutting-down-tasks/134434)

<div class="topic-metadata">

**Author:** [@freeman](https://discourse.julialang.org/u/freeman)\
**Replies:** 8\
**Last updated:** [December 8, 2025, 4:20pm UTC](https://discourse.julialang.org/t/how-to-coordinate-shutting-down-tasks/134434 "2025-12-08T16:20:34Z")

</div>

I use tasks to decouple subscribing to data streams and publish downstream data streams. I also use Bool references to coordinate when all tasks should exit. Schematically, it looks like this: # main thread run\_flag = …

---

## [Minimum Working Example (MWE) of a SINDy problem showing error](https://discourse.julialang.org/t/minimum-working-example-mwe-of-a-sindy-problem-showing-error/134013)

<div class="topic-metadata">

**Author:** [@Ashima\_Kalathingal](https://discourse.julialang.org/u/Ashima_Kalathingal)\
**Replies:** 2\
**Last updated:** [December 5, 2025, 11:45pm UTC](https://discourse.julialang.org/t/minimum-working-example-mwe-of-a-sindy-problem-showing-error/134013 "2025-12-05T23:45:26Z")

</div>

Hello all, The following is a MWE for a problem I am working on. Here I am trying to fit Qgen as a function of I,u\[1\],u\[2\] using a SINDy algorithm but I am running into errors. Here is the code using OrdinaryDiffEq us…

---

## [Performance vs # of Alloc Unintuitive behavior](https://discourse.julialang.org/t/performance-vs-of-alloc-unintuitive-behavior/134325)

<div class="topic-metadata">

**Author:** [@Eventine](https://discourse.julialang.org/u/Eventine)\
**Replies:** 11\
**Last updated:** [December 3, 2025, 6:10pm UTC](https://discourse.julialang.org/t/performance-vs-of-alloc-unintuitive-behavior/134325 "2025-12-03T18:10:26Z")

</div>

Hi, new to Julia here. I needed to develop a tool (mainly 200x200 vectors and matrices operations). I wrote a very messy code at start. It had tons of allocations. Measures with @btime performance (I pre-launched everyt…

---

## [Minor versions publications scheme?](https://discourse.julialang.org/t/minor-versions-publications-scheme/134328)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 2\
**Last updated:** [December 3, 2025, 2:41pm UTC](https://discourse.julialang.org/t/minor-versions-publications-scheme/134328 "2025-12-03T14:41:03Z")

</div>

Hey, I thought that 1.10 being LTS, minor updates to 1.11 would have stopped at 1.12.0 release. But it does not look like it is the case.. is there somewhere a document that explains this ? For example, I see announcem…

---

## [Flux newbie: simple Markov](https://discourse.julialang.org/t/flux-newbie-simple-markov/134073)

<div class="topic-metadata">

**Author:** [@Anders\_Holtsberg](https://discourse.julialang.org/u/Anders_Holtsberg)\
**Replies:** 5\
**Last updated:** [December 3, 2025, 8:30am UTC](https://discourse.julialang.org/t/flux-newbie-simple-markov/134073 "2025-12-03T08:30:32Z")

</div>

Note: Flux newbie here. I am trying to learn Flux with the goal in the end to experiment with different GRU-like models, oneHot to oneHot with crossentropy, background is NLP. I started learning Flux by trying to set …

---

## [How does Julia invoke constructors with overlapping constraints](https://discourse.julialang.org/t/how-does-julia-invoke-constructors-with-overlapping-constraints/134243)

<div class="topic-metadata">

**Author:** [@RCh](https://discourse.julialang.org/u/RCh)\
**Replies:** 8\
**Last updated:** [December 2, 2025, 6:53pm UTC](https://discourse.julialang.org/t/how-does-julia-invoke-constructors-with-overlapping-constraints/134243 "2025-12-02T18:53:46Z")

</div>

Hello, I am playing with constructors, but seems, that Julia allows to have constructor with overlapping constrains N. using StaticArrays: SizedVector mutable struct Context{TYPE\_VAR\_STACK \<: Union{UInt8, UInt16}, N \<:…

---

## [UndefVarError: \`Grid\` not defined in \`Main\`](https://discourse.julialang.org/t/undefvarerror-grid-not-defined-in-main/134290)

<div class="topic-metadata">

**Author:** [@mshafiquehu](https://discourse.julialang.org/u/mshafiquehu)\
**Replies:** 3\
**Last updated:** [December 2, 2025, 3:04pm UTC](https://discourse.julialang.org/t/undefvarerror-grid-not-defined-in-main/134290 "2025-12-02T15:04:02Z")

</div>

UndefVarError: Grid not defined in Main I want to figured out this error, and I have also define my Grid in main but still got the error.

---

## [Static Compilation in Julia](https://discourse.julialang.org/t/static-compilation-in-julia/124416)

<div class="topic-metadata">

**Author:** [@leviathan](https://discourse.julialang.org/u/leviathan)\
**Replies:** 13\
**Last updated:** [December 1, 2025, 7:59am UTC](https://discourse.julialang.org/t/static-compilation-in-julia/124416 "2025-12-01T07:59:50Z")

</div>

Hello all, I am new to Julia, and I am planning to develop some projects with the language in my own free time. Reading the docs, I saw that Julia is a JIT language, as such it does not natively support AOT compilation. …

---

## [Why do package.jl depend on package\_jll](https://discourse.julialang.org/t/why-do-package-jl-depend-on-package-jll/134227)

<div class="topic-metadata">

**Author:** [@3point1415](https://discourse.julialang.org/u/3point1415)\
**Replies:** 3\
**Last updated:** [November 30, 2025, 10:29am UTC](https://discourse.julialang.org/t/why-do-package-jl-depend-on-package-jll/134227 "2025-11-30T10:29:39Z")

</div>

Why do package.jl often depend on package\_jll? Isn’t the jll just a wrapper around the .jl?

---

## [AutoMerge was successful 4 days ago - still not merged to main](https://discourse.julialang.org/t/automerge-was-successful-4-days-ago-still-not-merged-to-main/134202)

<div class="topic-metadata">

**Author:** [@Bourbon8464](https://discourse.julialang.org/u/Bourbon8464)\
**Replies:** 3\
**Last updated:** [November 28, 2025, 9:55pm UTC](https://discourse.julialang.org/t/automerge-was-successful-4-days-ago-still-not-merged-to-main/134202 "2025-11-28T21:55:22Z")

</div>

Hi, I have passed all the merge guidelines and yet my package hasn’t been able to be merged into the main repository. I am confused and not too sure on what to do at the moment. Any help would be greatly appreciated. N…

---

## [Float to int](https://discourse.julialang.org/t/float-to-int/44417)

<div class="topic-metadata">

**Author:** [@Fuad\_Sami](https://discourse.julialang.org/u/Fuad_Sami)\
**Replies:** 13\
**Last updated:** [November 27, 2025, 10:51pm UTC](https://discourse.julialang.org/t/float-to-int/44417 "2025-11-27T22:51:33Z")

</div>

hi all if i have array c = \[1.0, 2.0, 2.0, 1.0\] and i want to convert it to Int in this way c = \[1,2,2,1\] i tried some thing like that for i in count i = Int64(i) println(i) # the output her is 1 then 2 =\> …

---

## [Confused with composite type constructors](https://discourse.julialang.org/t/confused-with-composite-type-constructors/134172)

<div class="topic-metadata">

**Author:** [@RCh](https://discourse.julialang.org/u/RCh)\
**Replies:** 13\
**Last updated:** [November 27, 2025, 10:43pm UTC](https://discourse.julialang.org/t/confused-with-composite-type-constructors/134172 "2025-11-27T22:43:46Z")

</div>

Hello, I am new to Julia, I would like to understand language more deeply, so I have several question: (I am using 1.12.x version) First of all, where can I find some BNF like definition? Another question, I tried to …

---

## [Running commands in sequence in a pipeline](https://discourse.julialang.org/t/running-commands-in-sequence-in-a-pipeline/51374)

<div class="topic-metadata">

**Author:** [@nstgc](https://discourse.julialang.org/u/nstgc)\
**Replies:** 15\
**Last updated:** [November 25, 2025, 12:47pm UTC](https://discourse.julialang.org/t/running-commands-in-sequence-in-a-pipeline/51374 "2025-11-25T12:47:17Z")

</div>

I am writing a script which—at least in BASH—best works with subshells. The basic structure is “(do something; do something else; etc.) | the next thing|…”. A minimal working example (in BASH) would be: (echo -n "Hello …

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

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