# New to Julia

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

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

**Page:** 23

---

## [Differential equation Symbolics.jl output using Latexify.jl](https://discourse.julialang.org/t/differential-equation-symbolics-jl-output-using-latexify-jl/125309)

<div class="topic-metadata">

**Author:** [@jpg1](https://discourse.julialang.org/u/jpg1)\
**Replies:** 1\
**Last updated:** [January 29, 2025, 10:04am UTC](https://discourse.julialang.org/t/differential-equation-symbolics-jl-output-using-latexify-jl/125309 "2025-01-29T10:04:13Z")

</div>

Hi! Enjoying using Julia greatly so far. I’ve been learning to use Symbolics.jl for differential equations, and rendering the output with Latexify.jl. However, I was wondering if it was possible to get the latexify outp…

---

## [Too many dots](https://discourse.julialang.org/t/too-many-dots/125293)

<div class="topic-metadata">

**Author:** [@henrikjaerleblad](https://discourse.julialang.org/u/henrikjaerleblad)\
**Replies:** 10\
**Last updated:** [January 28, 2025, 2:13pm UTC](https://discourse.julialang.org/t/too-many-dots/125293 "2025-01-28T14:13:59Z")

</div>

EDIT: In the original version of this post, I included the exact expression for computing the jac output. This allowed other users to run performance tests on dot vs scalar versions of the function. However, I realized t…

---

## [Best way to store a dataset with specific structure](https://discourse.julialang.org/t/best-way-to-store-a-dataset-with-specific-structure/125238)

<div class="topic-metadata">

**Author:** [@danieleavitabile](https://discourse.julialang.org/u/danieleavitabile)\
**Replies:** 7\
**Last updated:** [January 27, 2025, 2:53pm UTC](https://discourse.julialang.org/t/best-way-to-store-a-dataset-with-specific-structure/125238 "2025-01-27T14:53:39Z")

</div>

I am new to Julia and I must store and access a weirdly shaped dataset, for which I would like to ask your advice. It’s not very easy to explain what I must do. I must store in a variable, let say A, a collection of poi…

---

## [Error in precompiling DifferentialEquations](https://discourse.julialang.org/t/error-in-precompiling-differentialequations/124803)

<div class="topic-metadata">

**Author:** [@Ashima\_Kalathingal](https://discourse.julialang.org/u/Ashima_Kalathingal)\
**Replies:** 19\
**Last updated:** [January 26, 2025, 12:37pm UTC](https://discourse.julialang.org/t/error-in-precompiling-differentialequations/124803 "2025-01-26T12:37:00Z")

</div>

I am trying to use DifferentialEquations package for my work and the following error pops up. The error message is really large. So I am posting parts of it. ERROR: LoadError: Failed to precompile BoundaryValueDiffEq \[7…

---

## [How to upgrade easily?](https://discourse.julialang.org/t/how-to-upgrade-easily/27753)

<div class="topic-metadata">

**Author:** [@mystis](https://discourse.julialang.org/u/mystis)\
**Replies:** 14\
**Last updated:** [December 21, 2024, 3:16pm UTC](https://discourse.julialang.org/t/how-to-upgrade-easily/27753 "2024-12-21T15:16:07Z")

</div>

Hi, I see there are threads about updates but is there a way to easily update Julia ? I’d hope for something like : \] update julia without the hassle to download a new version, remove the old one, etc.

---

## [LoadError: UndefVarError: \`@threads\` not defined in \`Main\`](https://discourse.julialang.org/t/loaderror-undefvarerror-threads-not-defined-in-main/125216)

<div class="topic-metadata">

**Author:** [@Mohamad\_Badiez](https://discourse.julialang.org/u/Mohamad_Badiez)\
**Replies:** 3\
**Last updated:** [January 26, 2025, 9:54am UTC](https://discourse.julialang.org/t/loaderror-undefvarerror-threads-not-defined-in-main/125216 "2025-01-26T09:54:36Z")

</div>

Hi everybody, I just want to stress test on all of my CPU threads with the multiplication of two random matrices but I got the following error: What should I do as a Julia new user? Thank you

---

## [Getting errors when adding \`DataDrivenDiffEq\` package](https://discourse.julialang.org/t/getting-errors-when-adding-datadrivendiffeq-package/118301)

<div class="topic-metadata">

**Author:** [@mmohammadi9812](https://discourse.julialang.org/u/mmohammadi9812)\
**Replies:** 2\
**Last updated:** [January 26, 2025, 4:34am UTC](https://discourse.julialang.org/t/getting-errors-when-adding-datadrivendiffeq-package/118301 "2025-01-26T04:34:47Z")

</div>

Hey guys. I’m having problems when trying to add DataDrivenDiffEq package. As per what the documentation and github readme of package says, I tried import Pkg; Pkg.add("DataDrivenDiffEq") and also pkg\> add DataDrivenDiff…

---

## [TestItems falling at the first hurdle](https://discourse.julialang.org/t/testitems-falling-at-the-first-hurdle/125197)

<div class="topic-metadata">

**Author:** [@phulcq](https://discourse.julialang.org/u/phulcq)\
**Replies:** 3\
**Last updated:** [January 25, 2025, 9:49pm UTC](https://discourse.julialang.org/t/testitems-falling-at-the-first-hurdle/125197 "2025-01-25T21:49:32Z")

</div>

Hi, I’m very new to Julia and I thought I’d get started by creating a little toy project. I saw a recommendation somewhere to use the TestItems package to set up unit tests in VS code. I’ve had a little trouble getting …

---

## [Juliaup: Error: Failed to update versions db. Alway safe to just reinstall?](https://discourse.julialang.org/t/juliaup-error-failed-to-update-versions-db-alway-safe-to-just-reinstall/125128)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 2\
**Last updated:** [January 24, 2025, 3:02pm UTC](https://discourse.julialang.org/t/juliaup-error-failed-to-update-versions-db-alway-safe-to-just-reinstall/125128 "2025-01-24T15:02:43Z")

</div>

I get: $ juliaup update Error: Failed to update versions db. Caused by: ETag header not found in response I get this for many commands, including: $ juliaup add 1.11.3 Though no error for: $ juliaup default 1.1…

---

## [1.10.7-alpine docker tag missing](https://discourse.julialang.org/t/1-10-7-alpine-docker-tag-missing/124817)

<div class="topic-metadata">

**Author:** [@nsslh](https://discourse.julialang.org/u/nsslh)\
**Replies:** 5\
**Last updated:** [January 24, 2025, 7:06am UTC](https://discourse.julialang.org/t/1-10-7-alpine-docker-tag-missing/124817 "2025-01-24T07:06:58Z")

</div>

I need to update a few of my docker container services to Julia 1.10.7. They are FROM julia:1.10.2-alpine3.19. I expected to be able to affect the upgrade with FROM julia:1.10.7-alpine3.20 or FROM julia:1.10.7-alpine3.21.…

---

## [Plots.jl fails to pre-compile in GitHub deployment but it has (?)](https://discourse.julialang.org/t/plots-jl-fails-to-pre-compile-in-github-deployment-but-it-has/125076)

<div class="topic-metadata">

**Author:** [@acroscarrillo](https://discourse.julialang.org/u/acroscarrillo)\
**Replies:** 6\
**Last updated:** [January 23, 2025, 5:43pm UTC](https://discourse.julialang.org/t/plots-jl-fails-to-pre-compile-in-github-deployment-but-it-has/125076 "2025-01-23T17:43:37Z")

</div>

Hi it’s me again! Context: I am trying to deploy a very minimal documentation on GitHub using Documenter.jl. I have managed to deploy my toy documentation if I dont use any Plots.jl by just following this YouTube tutor…

---

## [Removing nested abstract containers](https://discourse.julialang.org/t/removing-nested-abstract-containers/125118)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 4\
**Last updated:** [January 23, 2025, 4:39pm UTC](https://discourse.julialang.org/t/removing-nested-abstract-containers/125118 "2025-01-23T16:39:55Z")

</div>

In my code, I define several structs in which I carry along an AbstractMatrix: sometimes it is an actual matrix, sometimes a transpose, etc. The type of the entries in the matrix also varies (Float64, Int, Dual, etc.). …

---

## [How to launch interactive GLMakie script from terminal](https://discourse.julialang.org/t/how-to-launch-interactive-glmakie-script-from-terminal/124695)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 5\
**Last updated:** [January 23, 2025, 2:11pm UTC](https://discourse.julialang.org/t/how-to-launch-interactive-glmakie-script-from-terminal/124695 "2025-01-23T14:11:19Z")

</div>

I have a script for an interactive plot made with GLMakie. The script works on REPL (launched via VS Code). However, I would like to launch the script from terminal directly. Thus, I wrote a script in bash to launch the…

---

## [Type stability and iterating over operations](https://discourse.julialang.org/t/type-stability-and-iterating-over-operations/125019)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 6\
**Last updated:** [January 23, 2025, 9:36am UTC](https://discourse.julialang.org/t/type-stability-and-iterating-over-operations/125019 "2025-01-23T09:36:50Z")

</div>

Hi, in my project I have to define a sequence of operations that need to performed on some data. Two ways of capturing this in a struct came to my mind: either store them as a vector of operations (FooVec) (which suggest…

---

## [Symbolic Integration for hard expressions and generate function](https://discourse.julialang.org/t/symbolic-integration-for-hard-expressions-and-generate-function/124744)

<div class="topic-metadata">

**Author:** [@MechRob](https://discourse.julialang.org/u/MechRob)\
**Replies:** 9\
**Last updated:** [January 22, 2025, 6:22pm UTC](https://discourse.julialang.org/t/symbolic-integration-for-hard-expressions-and-generate-function/124744 "2025-01-22T18:22:59Z")

</div>

Hello All, I am trying to generate Julia functions by deriving the symbolic expressions in Julia. I started using Symbolics.jl and SymbolicNumericIntegration.jl, however it seems that SymbolicNumericIntegration.jl is no…

---

## [Mod1 for CartesianIndex](https://discourse.julialang.org/t/mod1-for-cartesianindex/125065)

<div class="topic-metadata">

**Author:** [@JoergF](https://discourse.julialang.org/u/JoergF)\
**Replies:** 6\
**Last updated:** [January 22, 2025, 6:00pm UTC](https://discourse.julialang.org/t/mod1-for-cartesianindex/125065 "2025-01-22T18:00:47Z")

</div>

Since there is no implementation of mod1 for a CartesianIndex I wanted to implement one myself. However I am confused how to make it performant. function mod1(CI::CartesianIndex{2}, MOD::CartesianIndex{2}) Cartesian…

---

## [Error adding Plots to v.1.11](https://discourse.julialang.org/t/error-adding-plots-to-v-1-11/124984)

<div class="topic-metadata">

**Author:** [@mirandaholmes](https://discourse.julialang.org/u/mirandaholmes)\
**Replies:** 6\
**Last updated:** [January 22, 2025, 2:39pm UTC](https://discourse.julialang.org/t/error-adding-plots-to-v-1-11/124984 "2025-01-22T14:39:34Z")

</div>

I recently updated my version on Julia to the latest stable version, 1.11.2, using juliaup. Now I am trying to add the set of packages that I usually add. I was able to add a few pacakges with no problems, but now I am t…

---

## [HTTP package install error](https://discourse.julialang.org/t/http-package-install-error/124637)

<div class="topic-metadata">

**Author:** [@v162363\_ual](https://discourse.julialang.org/u/v162363_ual)\
**Replies:** 2\
**Last updated:** [January 22, 2025, 9:43am UTC](https://discourse.julialang.org/t/http-package-install-error/124637 "2025-01-22T09:43:20Z")

</div>

I tried to install julia HTTP package and got failure artifact 'OpenSSL. julia\> Pkg.add(“HTTP”) Resolving package versions… Failure artifact: OpenSSL Downloading artifact: OpenSSL System ERROR: Failure artifact: O…

---

## [Basic: Documenter.jl pages open a local folder](https://discourse.julialang.org/t/basic-documenter-jl-pages-open-a-local-folder/125016)

<div class="topic-metadata">

**Author:** [@acroscarrillo](https://discourse.julialang.org/u/acroscarrillo)\
**Replies:** 2\
**Last updated:** [January 21, 2025, 9:42pm UTC](https://discourse.julialang.org/t/basic-documenter-jl-pages-open-a-local-folder/125016 "2025-01-21T21:42:45Z")

</div>

Hi its me again! Context: I have finally a minimal documentation running: Now I am trying to mimic in exp.jl the lovely documentation of Attractors.jl, in particular the very nice Attractors.jl Tutorial as suggeste…

---

## [Documenter.jl help for first time user](https://discourse.julialang.org/t/documenter-jl-help-for-first-time-user/124966)

<div class="topic-metadata">

**Author:** [@acroscarrillo](https://discourse.julialang.org/u/acroscarrillo)\
**Replies:** 10\
**Last updated:** [January 21, 2025, 12:18pm UTC](https://discourse.julialang.org/t/documenter-jl-help-for-first-time-user/124966 "2025-01-21T12:18:48Z")

</div>

I am following the official Documenter.jl’s Guide and I am running into problems. To give some context: I have a numerical “library” I made for my research I want to make public with Documenter.jl using GitHub. It is …

---

## [Accessing current time-point inside Differential Equation function while solving](https://discourse.julialang.org/t/accessing-current-time-point-inside-differential-equation-function-while-solving/124876)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 9\
**Last updated:** [January 20, 2025, 6:32pm UTC](https://discourse.julialang.org/t/accessing-current-time-point-inside-differential-equation-function-while-solving/124876 "2025-01-20T18:32:28Z")

</div>

Hello everyone, In function shown below I have a vector named vf that I want to access at some specific timepoint in my function tmp!(). so something like this - time vf access 1. 0.001 2. 0.002…

---

## [Extremely slow debugging in VS Code](https://discourse.julialang.org/t/extremely-slow-debugging-in-vs-code/124762)

<div class="topic-metadata">

**Author:** [@MathMan](https://discourse.julialang.org/u/MathMan)\
**Replies:** 53\
**Last updated:** [January 20, 2025, 4:30pm UTC](https://discourse.julialang.org/t/extremely-slow-debugging-in-vs-code/124762 "2025-01-20T16:30:12Z")

</div>

I am new to Julia. I installed the application and the VS Code extension. When I run very simple scripts, e.g. just plotting a sin() function, stepping through the program via breakpoints is nearly impossible. Stepping f…

---

## [Convert vector of binaries to decimal and/or hex](https://discourse.julialang.org/t/convert-vector-of-binaries-to-decimal-and-or-hex/124974)

<div class="topic-metadata">

**Author:** [@stefaniecg](https://discourse.julialang.org/u/stefaniecg)\
**Replies:** 4\
**Last updated:** [January 20, 2025, 4:15pm UTC](https://discourse.julialang.org/t/convert-vector-of-binaries-to-decimal-and-or-hex/124974 "2025-01-20T16:15:43Z")

</div>

I want to convert a binary string to decimal. This converst one item of the array to an int value: bit\_vector = digits(0x0284, base=2, pad=16) convert(Int,bit\_vector\[1\]) but i want something like this, but it does not…

---

## [How to update julia from downloaded tar.gz file](https://discourse.julialang.org/t/how-to-update-julia-from-downloaded-tar-gz-file/124913)

<div class="topic-metadata">

**Author:** [@jinfreedom](https://discourse.julialang.org/u/jinfreedom)\
**Replies:** 2\
**Last updated:** [January 19, 2025, 8:21pm UTC](https://discourse.julialang.org/t/how-to-update-julia-from-downloaded-tar-gz-file/124913 "2025-01-19T20:21:08Z")

</div>

I currently have Julia 1.9.3 on win11 WSL2 and would like to upgrade to 1.10.7 LTS. I followed suggestions to use juliaup which I managed to install. I ran ~\>\>juliaup add 1.10 but the download was enormously slow (due…

---

## [Error at structure initialization](https://discourse.julialang.org/t/error-at-structure-initialization/124893)

<div class="topic-metadata">

**Author:** [@Bogdan\_Virag](https://discourse.julialang.org/u/Bogdan_Virag)\
**Replies:** 1\
**Last updated:** [January 19, 2025, 12:06pm UTC](https://discourse.julialang.org/t/error-at-structure-initialization/124893 "2025-01-19T12:06:26Z")

</div>

Hi! I created a structure for ML (for a generalized linear modell) and i want to store the linking function by initializing the structure using the name of the distribution. The code of the structure: mutable struct G…

---

## [Golfing question](https://discourse.julialang.org/t/golfing-question/124864)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 9\
**Last updated:** [January 17, 2025, 4:39pm UTC](https://discourse.julialang.org/t/golfing-question/124864 "2025-01-17T16:39:59Z")

</div>

Hi, I often have the following structure in my code: a function Bar calls a function Foo with multiple outputs and then uses all its outputs to return something (MWE below). Is there a performant way of golfing such func…

---

## [Error: Structure using its function](https://discourse.julialang.org/t/error-structure-using-its-function/124617)

<div class="topic-metadata">

**Author:** [@Bogdan\_Virag](https://discourse.julialang.org/u/Bogdan_Virag)\
**Replies:** 4\
**Last updated:** [January 17, 2025, 3:43pm UTC](https://discourse.julialang.org/t/error-structure-using-its-function/124617 "2025-01-17T15:43:58Z")

</div>

Hi! I want to create this structure for generalized linear models (GLM) but I get the following error message: ERROR: type GLM has no field train! Stacktrace: \[1\] getproperty @ ./Base.jl:49 \[inlined\] \[2\] main() @ …

---

## [Groupedhist with missing values](https://discourse.julialang.org/t/groupedhist-with-missing-values/124792)

<div class="topic-metadata">

**Author:** [@mocalvao](https://discourse.julialang.org/u/mocalvao)\
**Replies:** 8\
**Last updated:** [January 17, 2025, 3:13pm UTC](https://discourse.julialang.org/t/groupedhist-with-missing-values/124792 "2025-01-17T15:13:57Z")

</div>

Hi, I have a dataframe df with several columns, among which :P1, whose eltype is Union{Missing,Float64} and :Nome\_Turma, whose eltype is String. I want to make a groupedhist, from StatsPlots.jl (or otherwise), but I get…

---

## [Error message 'extra tokens after end of expression'](https://discourse.julialang.org/t/error-message-extra-tokens-after-end-of-expression/124769)

<div class="topic-metadata">

**Author:** [@Mar](https://discourse.julialang.org/u/Mar)\
**Replies:** 2\
**Last updated:** [January 14, 2025, 4:30pm UTC](https://discourse.julialang.org/t/error-message-extra-tokens-after-end-of-expression/124769 "2025-01-14T16:30:32Z")

</div>

This may be a silly question, I’m totally new to Julia. I’m working in the terminal (on a Mac): julia\> VERSION v"1.11.2" This command ‘VERSION’ works fine, as well as some other commands. But I keep receiving the sa…

---

## [What does \`pkg\> activate\` do?](https://discourse.julialang.org/t/what-does-pkg-activate-do/122122)

<div class="topic-metadata">

**Author:** [@world-peace](https://discourse.julialang.org/u/world-peace)\
**Replies:** 7\
**Last updated:** [January 14, 2025, 4:00pm UTC](https://discourse.julialang.org/t/what-does-pkg-activate-do/122122 "2025-01-14T16:00:05Z")

</div>

I think this is a relatively simple question, and I think I already know the answer but thought it might be worth asking anyway to get a more in depth understanding (which I don’t currently have) or have someone correct …

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

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