# New to Julia

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

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

**Page:** 5

---

## [AnovaGLM: computing partial eta squared](https://discourse.julialang.org/t/anovaglm-computing-partial-eta-squared/135412)

<div class="topic-metadata">

**Author:** [@mahmah](https://discourse.julialang.org/u/mahmah)\
**Replies:** 1\
**Last updated:** [February 3, 2026, 9:38am UTC](https://discourse.julialang.org/t/anovaglm-computing-partial-eta-squared/135412 "2026-02-03T09:38:54Z")

</div>

Hi, I’ve been using anova\_lm to compute some ANOVAs. However, the tables don’t come with Partial eta squared (\\eta \_{p}^{2}), which is often asked in journals as measure of effect size. And I seem to be unable to access …

---

## [Explain the UniquedById example in the manual](https://discourse.julialang.org/t/explain-the-uniquedbyid-example-in-the-manual/135413)

<div class="topic-metadata">

**Author:** [@paiv](https://discourse.julialang.org/u/paiv)\
**Replies:** 2\
**Last updated:** [February 3, 2026, 8:06am UTC](https://discourse.julialang.org/t/explain-the-uniquedbyid-example-in-the-manual/135413 "2026-02-03T08:06:34Z")

</div>

The manual section Module initialization and precompilation gives this example of a bad pattern: mutable struct UniquedById myid::Int let counter = 0 UniquedById() = new(counter += 1) end end All s…

---

## [Setting up a more optimal Julia LSP in neovim](https://discourse.julialang.org/t/setting-up-a-more-optimal-julia-lsp-in-neovim/135333)

<div class="topic-metadata">

**Author:** [@firebat](https://discourse.julialang.org/u/firebat)\
**Replies:** 7\
**Last updated:** [February 2, 2026, 9:54am UTC](https://discourse.julialang.org/t/setting-up-a-more-optimal-julia-lsp-in-neovim/135333 "2026-02-02T09:54:25Z")

</div>

Hello everyone! I have an LSP for Julia in neovim that just doesn’t seem to be performing well. It is unable to do “go to definition” and some of the more rudimentary things that an LSP should do (expose symbols, etc.). …

---

## [Adding significance to boxplots and violin plots](https://discourse.julialang.org/t/adding-significance-to-boxplots-and-violin-plots/135398)

<div class="topic-metadata">

**Author:** [@mahmah](https://discourse.julialang.org/u/mahmah)\
**Replies:** 1\
**Last updated:** [February 2, 2026, 9:53am UTC](https://discourse.julialang.org/t/adding-significance-to-boxplots-and-violin-plots/135398 "2026-02-02T09:53:24Z")

</div>

I’m having the same question as here, but for Algebra of Graphics. How can I add significance stars to boxplots? Thanks!

---

## [Install Julia - incorrect image](https://discourse.julialang.org/t/install-julia-incorrect-image/135355)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 1\
**Last updated:** [January 31, 2026, 6:03pm UTC](https://discourse.julialang.org/t/install-julia-incorrect-image/135355 "2026-01-31T18:03:55Z")

</div>

Dear all, I have installed the last version of Julia using However, when I open VsCode, an error apperars: Could anyone can help me please?

---

## [Julia vs NumPy array comparison](https://discourse.julialang.org/t/julia-vs-numpy-array-comparison/135238)

<div class="topic-metadata">

**Author:** [@nturneroran](https://discourse.julialang.org/u/nturneroran)\
**Replies:** 8\
**Last updated:** [January 31, 2026, 6:34am UTC](https://discourse.julialang.org/t/julia-vs-numpy-array-comparison/135238 "2026-01-31T06:34:33Z")

</div>

I’m trying Julia for a personal project after working in Python for school. With NumPy a = np.arange(0,10); np.array\_equal(a,a.T) gives True as the result. In Julia, a = range(0, length=10); a == transpose(a) or a == a…

---

## [Are the Symbolics.jl docs outdated?](https://discourse.julialang.org/t/are-the-symbolics-jl-docs-outdated/135212)

<div class="topic-metadata">

**Author:** [@twcawm](https://discourse.julialang.org/u/twcawm)\
**Replies:** 5\
**Last updated:** [January 30, 2026, 8:06pm UTC](https://discourse.julialang.org/t/are-the-symbolics-jl-docs-outdated/135212 "2026-01-30T20:06:27Z")

</div>

I’m relatively new to Julia and have been having some trouble following the docs for Symbolics.jl ; not sure if I am misunderstanding something. (I am looking at the “stable” version of Symbolics.jl docs, in the “variab…

---

## [Matrix of type textbox?](https://discourse.julialang.org/t/matrix-of-type-textbox/135260)

<div class="topic-metadata">

**Author:** [@BananaMaster3](https://discourse.julialang.org/u/BananaMaster3)\
**Replies:** 6\
**Last updated:** [January 27, 2026, 7:53pm UTC](https://discourse.julialang.org/t/matrix-of-type-textbox/135260 "2026-01-27T19:53:18Z")

</div>

Hey, I want to store my instances of Makie.Textbox in a matrix of size m=(L,L) where L is an integer. The ideal situation would be: matrix = zeros(m, Makie.Textbox) for ... #assign different parts of the matrix to di…

---

## [Using BitArray to index into another Array](https://discourse.julialang.org/t/using-bitarray-to-index-into-another-array/43205)

<div class="topic-metadata">

**Author:** [@a.fas](https://discourse.julialang.org/u/a.fas)\
**Replies:** 10\
**Last updated:** [January 27, 2026, 5:14am UTC](https://discourse.julialang.org/t/using-bitarray-to-index-into-another-array/43205 "2026-01-27T05:14:13Z")

</div>

Hello, I am confused by the error I receive on a simple piece of code involving a BitArray. Here is a MWE: a = \[1 2 3\]; B = \[1 2 3; 4 5 6; 7 8 9\]; ids = all(a. == B, dims=2); Everything works as intended up to here and…

---

## [Can the compiler hoist constant structure out of the loop?](https://discourse.julialang.org/t/can-the-compiler-hoist-constant-structure-out-of-the-loop/135257)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 5\
**Last updated:** [January 26, 2026, 9:41am UTC](https://discourse.julialang.org/t/can-the-compiler-hoist-constant-structure-out-of-the-loop/135257 "2026-01-26T09:41:20Z")

</div>

In practice I may want to write this function (only r.x is the object being considered, other parts are less relevant) function f!(r, I) for i=I r.x\[i\] = rand(Int) end end Assume now the structure r.x i…

---

## [Pumas installation without the automatic juliaup install?](https://discourse.julialang.org/t/pumas-installation-without-the-automatic-juliaup-install/135194)

<div class="topic-metadata">

**Author:** [@IreneW](https://discourse.julialang.org/u/IreneW)\
**Replies:** 5\
**Last updated:** [January 23, 2026, 10:41am UTC](https://discourse.julialang.org/t/pumas-installation-without-the-automatic-juliaup-install/135194 "2026-01-23T10:41:11Z")

</div>

I’m trying to set up Pumas in VS Code on a school-managed Windows desktop that requires IT administrator approval for software installation. During the initial setup in VS Code, I was prompted to install the Julia langu…

---

## [Symbolic.jl: testing for equality of expressions (with no unknown variables)](https://discourse.julialang.org/t/symbolic-jl-testing-for-equality-of-expressions-with-no-unknown-variables/135188)

<div class="topic-metadata">

**Author:** [@Grass](https://discourse.julialang.org/u/Grass)\
**Replies:** 1\
**Last updated:** [January 21, 2026, 5:42pm UTC](https://discourse.julialang.org/t/symbolic-jl-testing-for-equality-of-expressions-with-no-unknown-variables/135188 "2026-01-21T17:42:29Z")

</div>

The purpose of this script is to show that the bijection f (represented by the matrix bijection below) I constructed, from the dihedral group D\_6 to the symmetric group S\_3 on 3 letters, is an isomorphism. I tried to ex…

---

## [How To Create a 2D Array of Arrays?](https://discourse.julialang.org/t/how-to-create-a-2d-array-of-arrays/135178)

<div class="topic-metadata">

**Author:** [@Grass](https://discourse.julialang.org/u/Grass)\
**Replies:** 5\
**Last updated:** [January 21, 2026, 9:50am UTC](https://discourse.julialang.org/t/how-to-create-a-2d-array-of-arrays/135178 "2026-01-21T09:50:52Z")

</div>

Is it possible to create a 2D array of (2D) arrays in Julia? If so, how can I do it? I scoured the internet but I did not manage to find out whether this is possible or not. I only managed to find information on creatin…

---

## [Installing on Windows](https://discourse.julialang.org/t/installing-on-windows/135157)

<div class="topic-metadata">

**Author:** [@phma](https://discourse.julialang.org/u/phma)\
**Replies:** 2\
**Last updated:** [January 20, 2026, 4:20am UTC](https://discourse.julialang.org/t/installing-on-windows/135157 "2026-01-20T04:20:26Z")

</div>

I visited another surveyor this afternoon and he said he was thinking of using AI to automate tasks such as looking up the adjoiners of a lot. I told him that made no sense and suggested using shell scripts and Julia scr…

---

## [Quick way to know the valid values of a function parameter (find all values under a concrete type)](https://discourse.julialang.org/t/quick-way-to-know-the-valid-values-of-a-function-parameter-find-all-values-under-a-concrete-type/135091)

<div class="topic-metadata">

**Author:** [@pipi-bear](https://discourse.julialang.org/u/pipi-bear)\
**Replies:** 6\
**Last updated:** [January 19, 2026, 7:44am UTC](https://discourse.julialang.org/t/quick-way-to-know-the-valid-values-of-a-function-parameter-find-all-values-under-a-concrete-type/135091 "2026-01-19T07:44:28Z")

</div>

Sorry for not well-described question in advance, if there’s anything unclear, please leave a reply! Brief question What I would like to ask is that: How to know the valid options for a parameter? For exmaple, if I wa…

---

## [Am I using macros properly to avoid code repetition?](https://discourse.julialang.org/t/am-i-using-macros-properly-to-avoid-code-repetition/135122)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 6\
**Last updated:** [January 19, 2026, 12:56am UTC](https://discourse.julialang.org/t/am-i-using-macros-properly-to-avoid-code-repetition/135122 "2026-01-19T00:56:58Z")

</div>

I want to define a macro inside a module MyAddConstrs, hoping that I can avoid code repetition therein. The original code is module MyAddConstrs import JuMP \_gen2(model, GD, p, t, s) = JuMP.@expression(model, sum(p…

---

## [Documenter.jl and markdown headings in docstrings](https://discourse.julialang.org/t/documenter-jl-and-markdown-headings-in-docstrings/135094)

<div class="topic-metadata">

**Author:** [@alametti](https://discourse.julialang.org/u/alametti)\
**Replies:** 2\
**Last updated:** [January 16, 2026, 5:04pm UTC](https://discourse.julialang.org/t/documenter-jl-and-markdown-headings-in-docstrings/135094 "2026-01-16T17:04:23Z")

</div>

Apologies as I am new to Julia and still trying to wrap my head around Julia’s documentation style (avoiding argument lists and expected output, etc). The Julia documentation recommends the use of markdown headings in f…

---

## [How to reference a function's arguments inside the function as a list](https://discourse.julialang.org/t/how-to-reference-a-functions-arguments-inside-the-function-as-a-list/135084)

<div class="topic-metadata">

**Author:** [@teacup775](https://discourse.julialang.org/u/teacup775)\
**Replies:** 1\
**Last updated:** [January 15, 2026, 7:20pm UTC](https://discourse.julialang.org/t/how-to-reference-a-functions-arguments-inside-the-function-as-a-list/135084 "2026-01-15T19:20:01Z")

</div>

I have a general boilerplate coding workflow.. function dosomething(df, a, b, c, d .. n) push!(df, \[ all those arguments \]) end In other words, I would like to find a way where I don’t have to hand transcribe the inp…

---

## [Multi-thread for nested loop with internal conditions, tricky](https://discourse.julialang.org/t/multi-thread-for-nested-loop-with-internal-conditions-tricky/135041)

<div class="topic-metadata">

**Author:** [@apolion](https://discourse.julialang.org/u/apolion)\
**Replies:** 1\
**Last updated:** [January 14, 2026, 7:09am UTC](https://discourse.julialang.org/t/multi-thread-for-nested-loop-with-internal-conditions-tricky/135041 "2026-01-14T07:09:08Z")

</div>

Hello everyone, I am computing some interactions between systems from the results of other simulations, sort of post-processing. As noted in the code, for system 1 I have 1000 simulations (variations), system 2 has 400. …

---

## [Question about data races](https://discourse.julialang.org/t/question-about-data-races/135037)

<div class="topic-metadata">

**Author:** [@BananaMaster3](https://discourse.julialang.org/u/BananaMaster3)\
**Replies:** 1\
**Last updated:** [January 14, 2026, 2:25am UTC](https://discourse.julialang.org/t/question-about-data-races/135037 "2026-01-14T02:25:21Z")

</div>

Say we have a struct Foo: mutable struct Foo dee::Int fee::Int = 3 end We then define an array of Foo’s arrFoo = \[Foo(1), Foo(1), Foo(2), Foo(3)\] Then we have a function that, when given foo and a specific item…

---

## [How do you actually find out \*how\* to use an interface in Julia, like the concept of iterator "end"?](https://discourse.julialang.org/t/how-do-you-actually-find-out-how-to-use-an-interface-in-julia-like-the-concept-of-iterator-end/134796)

<div class="topic-metadata">

**Author:** [@teacup775](https://discourse.julialang.org/u/teacup775)\
**Replies:** 32\
**Last updated:** [January 11, 2026, 1:50pm UTC](https://discourse.julialang.org/t/how-do-you-actually-find-out-how-to-use-an-interface-in-julia-like-the-concept-of-iterator-end/134796 "2026-01-11T13:50:28Z")

</div>

So I am simply trying to find out how I identify that an iterator has come to the end of its content. The language is documentation standard doesn’t seem to be designed to help people understand what the contract of an i…

---

## [Is there a way to easily typecast a DataFrame](https://discourse.julialang.org/t/is-there-a-way-to-easily-typecast-a-dataframe/134919)

<div class="topic-metadata">

**Author:** [@Snowy](https://discourse.julialang.org/u/Snowy)\
**Replies:** 8\
**Last updated:** [January 7, 2026, 9:22pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-easily-typecast-a-dataframe/134919 "2026-01-07T21:22:37Z")

</div>

Hello, Is there a way to easily auto typecast a DataFrame? For context, I’m doing some data wrangling with dirty data and each column has the type “Any” as the values in a column might be an int, string, missing, etc. …

---

## [Method specificity/priority rules](https://discourse.julialang.org/t/method-specificity-priority-rules/132932)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 13\
**Last updated:** [January 6, 2026, 6:38pm UTC](https://discourse.julialang.org/t/method-specificity-priority-rules/132932 "2026-01-06T18:38:53Z")

</div>

Please explain methods priority or specificity in different cases. Where in Julia documentation is it explained? The following line and example in documentation are contradictory. The order in which the methods are def…

---

## [Energyplus with Julia](https://discourse.julialang.org/t/energyplus-with-julia/134637)

<div class="topic-metadata">

**Author:** [@junsin0106](https://discourse.julialang.org/u/junsin0106)\
**Replies:** 7\
**Last updated:** [January 6, 2026, 11:57am UTC](https://discourse.julialang.org/t/energyplus-with-julia/134637 "2026-01-06T11:57:47Z")

</div>

Hello, I understand that Dyad provides core capabilities such as a fluid library and built-in HVAC components (e.g., heat exchangers). From an HVAC control perspective, accurately capturing the dynamic behavior of the r…

---

## [Discourse Usage Tutorials](https://discourse.julialang.org/t/discourse-usage-tutorials/6552)

<div class="topic-metadata">

**Author:** [@Daneel](https://discourse.julialang.org/u/Daneel)\
**Replies:** 6\
**Last updated:** [January 5, 2026, 8:17am UTC](https://discourse.julialang.org/t/discourse-usage-tutorials/6552 "2026-01-05T08:17:41Z")

</div>

Discourse has some nice features which I hadn’t been aware of until I figured out how to do the quick interactive tutorials they have. There is a bot which takes you through them. See the response below to start them (h…

---

## [3D point rotation](https://discourse.julialang.org/t/3d-point-rotation/134810)

<div class="topic-metadata">

**Author:** [@mahmah](https://discourse.julialang.org/u/mahmah)\
**Replies:** 19\
**Last updated:** [January 2, 2026, 7:59am UTC](https://discourse.julialang.org/t/3d-point-rotation/134810 "2026-01-02T07:59:58Z")

</div>

I have a 2D array x of size (r, c), where c = 3\*nm, so stacked 3D points. I’m able to rotate it around axis based on some θ value, but this code is not flying very fast. I tried using Quaternions for this but I didn’t f…

---

## [Heatmap(): how do ylim and yflip interact?](https://discourse.julialang.org/t/heatmap-how-do-ylim-and-yflip-interact/134804)

<div class="topic-metadata">

**Author:** [@dankelley](https://discourse.julialang.org/u/dankelley)\
**Replies:** 4\
**Last updated:** [December 30, 2025, 3:24pm UTC](https://discourse.julialang.org/t/heatmap-how-do-ylim-and-yflip-interact/134804 "2025-12-30T15:24:54Z")

</div>

Hello, and happy (almost) New Year., First, I’ll apologize for a long-winded question… I am a longtime R user who is gradually moving to Julia. As an oceanographer, a common task I have is to make image plots of a wate…

---

## [Comprehensive intermediate-level Array tutorial](https://discourse.julialang.org/t/comprehensive-intermediate-level-array-tutorial/134683)

<div class="topic-metadata">

**Author:** [@avilay](https://discourse.julialang.org/u/avilay)\
**Replies:** 11\
**Last updated:** [December 25, 2025, 3:20am UTC](https://discourse.julialang.org/t/comprehensive-intermediate-level-array-tutorial/134683 "2025-12-25T03:20:41Z")

</div>

Can folks here recommend a tutorial on Arrays for somebody from a non-beginner programming background? I looked at a couple of tutorials on YouTube but they were teaching very basic stuff like simple creating and access…

---

## [GLMakie heatmap and certain input matrix sizes](https://discourse.julialang.org/t/glmakie-heatmap-and-certain-input-matrix-sizes/134704)

<div class="topic-metadata">

**Author:** [@mahmah](https://discourse.julialang.org/u/mahmah)\
**Replies:** 2\
**Last updated:** [December 23, 2025, 10:44am UTC](https://discourse.julialang.org/t/glmakie-heatmap-and-certain-input-matrix-sizes/134704 "2025-12-23T10:44:09Z")

</div>

Hi, I’m trying to do the following: using GLMakie m = randn(45825,3) r,c = size(m) fig = Figure() ax = Axis(fig\[1,1\]) h = heatmap!(ax,1:r,1:c,m) But I get this error in my heatmap call: UNSUPPORTED (log once): P…

---

## [Are there any examples of DiscreteProblem usage?](https://discourse.julialang.org/t/are-there-any-examples-of-discreteproblem-usage/134618)

<div class="topic-metadata">

**Author:** [@teacup775](https://discourse.julialang.org/u/teacup775)\
**Replies:** 3\
**Last updated:** [December 22, 2025, 4:58pm UTC](https://discourse.julialang.org/t/are-there-any-examples-of-discreteproblem-usage/134618 "2025-12-22T16:58:45Z")

</div>

I have searched extensively online and cannot find anywhere a simple example of a set up for a discrete problem. A simply want an example of usage and set up.

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

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