# New to Julia

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

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

**Page:** 54

---

## [Juliaup install script verify checksum](https://discourse.julialang.org/t/juliaup-install-script-verify-checksum/110899)

<div class="topic-metadata">

**Author:** [@Andy2K11](https://discourse.julialang.org/u/Andy2K11)\
**Replies:** 2\
**Last updated:** [February 28, 2024, 2:22pm UTC](https://discourse.julialang.org/t/juliaup-install-script-verify-checksum/110899 "2024-02-28T14:22:56Z")

</div>

The installation instructions now recommend using: curl -fsSL https://install.julialang.org | sh There is a section in the docs that talks about download verifications which can be used like curl https://julialang.org…

---

## [How to print out Latex document as pdf?](https://discourse.julialang.org/t/how-to-print-out-latex-document-as-pdf/110786)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 12\
**Last updated:** [February 28, 2024, 8:43am UTC](https://discourse.julialang.org/t/how-to-print-out-latex-document-as-pdf/110786 "2024-02-28T08:43:24Z")

</div>

I have this code and is working fine for my desired output as you can see below. using Latexify, ParameterizedFunctions, Weave f = @ode\_def positiveFeedback begin dx = v\*y^n/(k^n+y^n) - x dy = x/(k\_2+x) - y end…

---

## [Solving a differential equation in a for loop](https://discourse.julialang.org/t/solving-a-differential-equation-in-a-for-loop/110828)

<div class="topic-metadata">

**Author:** [@Mishal](https://discourse.julialang.org/u/Mishal)\
**Replies:** 5\
**Last updated:** [February 28, 2024, 8:16am UTC](https://discourse.julialang.org/t/solving-a-differential-equation-in-a-for-loop/110828 "2024-02-28T08:16:51Z")

</div>

Hi Guys I have done this before on Matlab however for some reason I can’t get it to run on Julia. I am getting the below error, I think it has something to do with regard to the for loop. Can someone please assist? ERR…

---

## [Way to return multiple columns after applying combine-groupby transformation](https://discourse.julialang.org/t/way-to-return-multiple-columns-after-applying-combine-groupby-transformation/110806)

<div class="topic-metadata">

**Author:** [@JBH\_84](https://discourse.julialang.org/u/JBH_84)\
**Replies:** 15\
**Last updated:** [February 27, 2024, 9:27pm UTC](https://discourse.julialang.org/t/way-to-return-multiple-columns-after-applying-combine-groupby-transformation/110806 "2024-02-27T21:27:14Z")

</div>

I have the following df that i apply a transformation on. it only returns columns y and x however. is there a way to also return the corresponding values in columns a and b? df=DataFrame(y=\[1, 1, 2, 2\],x=\[3, 4, 5, 6\],a=…

---

## [File output, binary](https://discourse.julialang.org/t/file-output-binary/110751)

<div class="topic-metadata">

**Author:** [@Enlil50](https://discourse.julialang.org/u/Enlil50)\
**Replies:** 4\
**Last updated:** [February 27, 2024, 6:38pm UTC](https://discourse.julialang.org/t/file-output-binary/110751 "2024-02-27T18:38:26Z")

</div>

I’m totally new to reading and writing things in files, so even if I use words like stream or stuff like that when coding, I do not truly understand them (and still not completely interested). I found a way to write and…

---

## [Error while using update\_julia()](https://discourse.julialang.org/t/error-while-using-update-julia/103182)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 9\
**Last updated:** [February 27, 2024, 1:25pm UTC](https://discourse.julialang.org/t/error-while-using-update-julia/103182 "2024-02-27T13:25:31Z")

</div>

I’m facing issue while updating julia version. I keep getting this error. Can someone explain where exactly is issue? ERROR: failed process: Process(\`ln -sf /Applications/Julia-1.9.3.app/Contents/Resources/julia/bin/jul…

---

## [Gamedev with GLMakie (the path less taken). Is it possible?](https://discourse.julialang.org/t/gamedev-with-glmakie-the-path-less-taken-is-it-possible/110733)

<div class="topic-metadata">

**Author:** [@sorumehta](https://discourse.julialang.org/u/sorumehta)\
**Replies:** 7\
**Last updated:** [February 26, 2024, 9:22pm UTC](https://discourse.julialang.org/t/gamedev-with-glmakie-the-path-less-taken-is-it-possible/110733 "2024-02-26T21:22:05Z")

</div>

I was looking for a programming language which I could call home, and after some analysis, I found Julia to suit my taste (Nim was a close second). I would like to make games in this language. I looked at some packages,…

---

## [Errors precompiling HomotopyContinuation.jl](https://discourse.julialang.org/t/errors-precompiling-homotopycontinuation-jl/110774)

<div class="topic-metadata">

**Author:** [@Simon238](https://discourse.julialang.org/u/Simon238)\
**Replies:** 1\
**Last updated:** [February 26, 2024, 1:17pm UTC](https://discourse.julialang.org/t/errors-precompiling-homotopycontinuation-jl/110774 "2024-02-26T13:17:51Z")

</div>

I am trying to install the HomotopyContinuation.jl package, but I get an error when I try to precompile this package. This is because the following packages throw an error when precomiling: ✗ MPFR\_jll ✗ FLINT\_jll ✗ MP…

---

## [Mathematical basics for working with Turing?](https://discourse.julialang.org/t/mathematical-basics-for-working-with-turing/110631)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 1\
**Last updated:** [February 26, 2024, 12:16pm UTC](https://discourse.julialang.org/t/mathematical-basics-for-working-with-turing/110631 "2024-02-26T12:16:21Z")

</div>

Hello everyone, I have been working with Turing on small models for a while now but still many times I don’t understand errors and concepts which are embedded in Turing functioning. For example intuition for forward or…

---

## [DataFrame to multidimensional array](https://discourse.julialang.org/t/dataframe-to-multidimensional-array/91686)

<div class="topic-metadata">

**Author:** [@m\_pink](https://discourse.julialang.org/u/m_pink)\
**Replies:** 6\
**Last updated:** [February 26, 2024, 7:10am UTC](https://discourse.julialang.org/t/dataframe-to-multidimensional-array/91686 "2024-02-26T07:10:09Z")

</div>

Hey, Suppose I have a Dataframe that corresponds to a multidimensional function. Something like this: df = DataFrame(\[(a = x, b = y, c = z,d = x+y+z) for x in 1:6 for y in 1:4 for z in 1:2\]) What is the best way to tr…

---

## [Get a vector from field](https://discourse.julialang.org/t/get-a-vector-from-field/110713)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 4\
**Last updated:** [February 25, 2024, 10:12pm UTC](https://discourse.julialang.org/t/get-a-vector-from-field/110713 "2024-02-25T22:12:57Z")

</div>

hi I wrote this code in julia gridap. h value is a field. i need a vector of values. how can i get that? ∂Hn+1/∂hnj={−1 , if i = j and ψ+n+1(e (ξ i ) )\< hn(ξ i ) 0 , otherwise function dh(hh\_in, ψPlusnext\_in) h\_…

---

## [Documentation based on docstring, and deploy to juliahub](https://discourse.julialang.org/t/documentation-based-on-docstring-and-deploy-to-juliahub/110715)

<div class="topic-metadata">

**Author:** [@perebalazs](https://discourse.julialang.org/u/perebalazs)\
**Replies:** 3\
**Last updated:** [February 25, 2024, 9:04am UTC](https://discourse.julialang.org/t/documentation-based-on-docstring-and-deploy-to-juliahub/110715 "2024-02-25T09:04:55Z")

</div>

I made a Julia package LowLevelFEM and tried to make documentation for it. I used docstings in src file. docs/build/index.html was generated with Documenter julia package and @audodocs macro inside index.md. Now I want …

---

## [Abstract type enumeration and interface](https://discourse.julialang.org/t/abstract-type-enumeration-and-interface/110723)

<div class="topic-metadata">

**Author:** [@thinhle](https://discourse.julialang.org/u/thinhle)\
**Replies:** 1\
**Last updated:** [February 25, 2024, 5:47am UTC](https://discourse.julialang.org/t/abstract-type-enumeration-and-interface/110723 "2024-02-25T05:47:01Z")

</div>

Might be a redundant question but after a quick search I could not find what I need. Say I am using SomeModule, what’s the recommended way to explore all abstract types defined in this module and also in Base (presumably…

---

## [Zlib\_jll - I'm obviously doing it wrong](https://discourse.julialang.org/t/zlib-jll-im-obviously-doing-it-wrong/110705)

<div class="topic-metadata">

**Author:** [@BloodFeastMan](https://discourse.julialang.org/u/BloodFeastMan)\
**Replies:** 1\
**Last updated:** [February 24, 2024, 7:07pm UTC](https://discourse.julialang.org/t/zlib-jll-im-obviously-doing-it-wrong/110705 "2024-02-24T19:07:51Z")

</div>

Can anyone show an actual example of a line using compress or decompress with Zlib\_jll?

---

## [Test for constant expressions in Symbolics.jl](https://discourse.julialang.org/t/test-for-constant-expressions-in-symbolics-jl/110654)

<div class="topic-metadata">

**Author:** [@brombo](https://discourse.julialang.org/u/brombo)\
**Replies:** 5\
**Last updated:** [February 23, 2024, 8:59pm UTC](https://discourse.julialang.org/t/test-for-constant-expressions-in-symbolics-jl/110654 "2024-02-23T20:59:52Z")

</div>

I am using Symbolics.jl and wish to test a symbolic expression to see if is a constant. The only way I can think of is to see if all the derivatives with respect to the independent symbolic variables are zero. I think …

---

## [Running mulitple SQL Scripts](https://discourse.julialang.org/t/running-mulitple-sql-scripts/110652)

<div class="topic-metadata">

**Author:** [@jjAtNxtPt](https://discourse.julialang.org/u/jjAtNxtPt)\
**Replies:** 13\
**Last updated:** [February 23, 2024, 7:17pm UTC](https://discourse.julialang.org/t/running-mulitple-sql-scripts/110652 "2024-02-23T19:17:57Z")

</div>

Hi, all. New to Julia and trying to set up a way to run queries on SQL Server and store results into a DuckDB. I’ve got the basic program down that reads all of the SQL files from a directory, running each one in turn,…

---

## [Why is this simple function allocating?](https://discourse.julialang.org/t/why-is-this-simple-function-allocating/110646)

<div class="topic-metadata">

**Author:** [@Abhimanyu\_Susobhanan](https://discourse.julialang.org/u/Abhimanyu_Susobhanan)\
**Replies:** 4\
**Last updated:** [February 23, 2024, 2:29pm UTC](https://discourse.julialang.org/t/why-is-this-simple-function-allocating/110646 "2024-02-23T14:29:39Z")

</div>

I have a simple struct and a corresponding oneunit method. I find that the oneunit function allocates memory when I use it on my struct. How can I avoid this behavior? using BenchmarkTools import Base.oneunit struct My…

---

## [ERROR: TaskFailedException](https://discourse.julialang.org/t/error-taskfailedexception/110630)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 1\
**Last updated:** [February 23, 2024, 1:51pm UTC](https://discourse.julialang.org/t/error-taskfailedexception/110630 "2024-02-23T13:51:45Z")

</div>

I have a differential equation based model for which i’m doing inference using Turing. For solver I use alg = Rodas5P(linsolve = QRFactorization()). I was wondering if QRFactorization has anything to do with current err…

---

## [Using a module defined in REPL](https://discourse.julialang.org/t/using-a-module-defined-in-repl/110611)

<div class="topic-metadata">

**Author:** [@jiang\_ming\_zhang](https://discourse.julialang.org/u/jiang_ming_zhang)\
**Replies:** 2\
**Last updated:** [February 23, 2024, 1:14am UTC](https://discourse.julialang.org/t/using-a-module-defined-in-repl/110611 "2024-02-23T01:14:44Z")

</div>

julia\> module A a = 1 b = 2 end Main.A julia\> a ERROR: UndefVarError: \`a\` not defined julia\> A.a 1 julia\> A.b 2 julia\> using A ERROR: ArgumentError: Package A not found in current path, maybe you…

---

## [With or without module prefix?](https://discourse.julialang.org/t/with-or-without-module-prefix/110612)

<div class="topic-metadata">

**Author:** [@jiang\_ming\_zhang](https://discourse.julialang.org/u/jiang_ming_zhang)\
**Replies:** 3\
**Last updated:** [February 23, 2024, 12:25am UTC](https://discourse.julialang.org/t/with-or-without-module-prefix/110612 "2024-02-23T00:25:09Z")

</div>

I see codes like using Plots x = range(0, 2π; length = 100) y = sin.(x) plot(x, y) and also codes like julia\> using Random julia\> using Random: seed! julia\> seed!(1234); julia\> rand(2) 2-element Vector{Float64}:…

---

## [Issues with the CSV package](https://discourse.julialang.org/t/issues-with-the-csv-package/110412)

<div class="topic-metadata">

**Author:** [@snipick19](https://discourse.julialang.org/u/snipick19)\
**Replies:** 19\
**Last updated:** [February 22, 2024, 2:24pm UTC](https://discourse.julialang.org/t/issues-with-the-csv-package/110412 "2024-02-22T14:24:22Z")

</div>

Hello ! I just began an internship and was given the following code made by a person that left the company : using Pkg Pkg.activate(".") using CSV using MAT using ProgressBars using HDF5 using LightXML using Mmap using…

---

## [Unicode characters in Julia Markdown not exported to pdf](https://discourse.julialang.org/t/unicode-characters-in-julia-markdown-not-exported-to-pdf/110528)

<div class="topic-metadata">

**Author:** [@nvah](https://discourse.julialang.org/u/nvah)\
**Replies:** 8\
**Last updated:** [February 22, 2024, 8:46am UTC](https://discourse.julialang.org/t/unicode-characters-in-julia-markdown-not-exported-to-pdf/110528 "2024-02-22T08:46:25Z")

</div>

Hi there, I’m relatively new to Julia and I am working in VS Code on a Mac OS. When I try to export my .jmd file which contains greek letters (\\alpha, \\varepsilon etc.), I get the following error message: Info: Weaving…

---

## [What is \`build.jl\` for?](https://discourse.julialang.org/t/what-is-build-jl-for/64583)

<div class="topic-metadata">

**Author:** [@orome](https://discourse.julialang.org/u/orome)\
**Replies:** 4\
**Last updated:** [February 21, 2024, 11:35pm UTC](https://discourse.julialang.org/t/what-is-build-jl-for/64583 "2024-02-21T23:35:40Z")

</div>

I’ve seen several mentions of reps/build.jl as part of setting up a Julia project, but it’s unclear to me what it is for. What are use cases or examples for build.jl?

---

## [Newbie delete elements from array question](https://discourse.julialang.org/t/newbie-delete-elements-from-array-question/110481)

<div class="topic-metadata">

**Author:** [@brombo](https://discourse.julialang.org/u/brombo)\
**Replies:** 10\
**Last updated:** [February 21, 2024, 3:29pm UTC](https://discourse.julialang.org/t/newbie-delete-elements-from-array-question/110481 "2024-02-21T15:29:20Z")

</div>

I have an 1-D array A and an array of integers index that contains some of the indices of array A. I want to compute a new array from A with the elements with indices in index removed. Is there a slick Julia way of doi…

---

## [Generator expressions](https://discourse.julialang.org/t/generator-expressions/110337)

<div class="topic-metadata">

**Author:** [@vsoler](https://discourse.julialang.org/u/vsoler)\
**Replies:** 4\
**Last updated:** [February 20, 2024, 11:26am UTC](https://discourse.julialang.org/t/generator-expressions/110337 "2024-02-20T11:26:08Z")

</div>

I’m reading the Julia Manual on Generator Expressions. According to the Manual … the following expression sums a series without allocating memory: sum(1/n^2 for n in 1:1000) So I tried to compare the previous expres…

---

## [Minmax with \`lt\` keyword argument?](https://discourse.julialang.org/t/minmax-with-lt-keyword-argument/110398)

<div class="topic-metadata">

**Author:** [@putianyi888](https://discourse.julialang.org/u/putianyi888)\
**Replies:** 11\
**Last updated:** [February 19, 2024, 9:25pm UTC](https://discourse.julialang.org/t/minmax-with-lt-keyword-argument/110398 "2024-02-19T21:25:10Z")

</div>

Is there a “minmax” that can have a lt keyword like what sort does? For example, some method that does the following: minmax(x, y; lt=isless) = lt(x,y) ? (x,y) : (y,x)

---

## [Copy or view, issue](https://discourse.julialang.org/t/copy-or-view-issue/110395)

<div class="topic-metadata">

**Author:** [@Enlil50](https://discourse.julialang.org/u/Enlil50)\
**Replies:** 1\
**Last updated:** [February 19, 2024, 10:56am UTC](https://discourse.julialang.org/t/copy-or-view-issue/110395 "2024-02-19T10:56:19Z")

</div>

Following Noteworthy Differences from other Languages · The Julia Language which says that: Julia arrays are not copied when assigned to another variable. After A = B, changing elements of B will modify A as well. To a…

---

## [Best way to serve GraphPlot.jl plots on a web app](https://discourse.julialang.org/t/best-way-to-serve-graphplot-jl-plots-on-a-web-app/110346)

<div class="topic-metadata">

**Author:** [@Oliver\_O\_Brien](https://discourse.julialang.org/u/Oliver_O_Brien)\
**Replies:** 4\
**Last updated:** [February 18, 2024, 7:59pm UTC](https://discourse.julialang.org/t/best-way-to-serve-graphplot-jl-plots-on-a-web-app/110346 "2024-02-18T19:59:56Z")

</div>

Hi, I am struggling to find support for serving GraphPlot.jl plots across the internet. Genie only seems to support Plotly which does not have a nice way (that I can find) of plotting network graphs from Graphs.jl. I ha…

---

## [Possible compiler bug with shadowed global variable](https://discourse.julialang.org/t/possible-compiler-bug-with-shadowed-global-variable/110362)

<div class="topic-metadata">

**Author:** [@binarycat](https://discourse.julialang.org/u/binarycat)\
**Replies:** 2\
**Last updated:** [February 18, 2024, 4:36am UTC](https://discourse.julialang.org/t/possible-compiler-bug-with-shadowed-global-variable/110362 "2024-02-18T04:36:42Z")

</div>

global z = 12 begin print(z) local z = 10 end this gives an undefined variable error. this type of backwards-reaching compile error is extremly unusual, and there could be hundreds of lines of code between the the …

---

## [PyPlot.show throws an exception (Win10 | Julia 1.10.0 )](https://discourse.julialang.org/t/pyplot-show-throws-an-exception-win10-julia-1-10-0/109156)

<div class="topic-metadata">

**Author:** [@Shamrock\_812](https://discourse.julialang.org/u/Shamrock_812)\
**Replies:** 11\
**Last updated:** [February 17, 2024, 4:26pm UTC](https://discourse.julialang.org/t/pyplot-show-throws-an-exception-win10-julia-1-10-0/109156 "2024-02-17T16:26:56Z")

</div>

New to Julia so possibly getting something all wrong here. When the Julia (1.10.0) script reaches Pyplot.show (line 107) the following exception is thrown. Laptop has Python 3.9.16 and Conda 23.1.0 installed. Any ideas? …

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

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