# New to Julia

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

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

**Page:** 35

---

## [Uninstall previous Julia versions before using JuliaUp](https://discourse.julialang.org/t/uninstall-previous-julia-versions-before-using-juliaup/119438)

<div class="topic-metadata">

**Author:** [@Conor-McLeod](https://discourse.julialang.org/u/Conor-McLeod)\
**Replies:** 2\
**Last updated:** [September 16, 2024, 7:02am UTC](https://discourse.julialang.org/t/uninstall-previous-julia-versions-before-using-juliaup/119438 "2024-09-16T07:02:29Z")

</div>

On the README for JuliaUp, it says: On all platforms it is recommended that you first uninstall any previous Julia versions and undo any modifications you might have made to put julia on the PATH before you install Ju…

---

## [Brusselator example from DiffEqGPU won't run or performed badly after simple fix](https://discourse.julialang.org/t/brusselator-example-from-diffeqgpu-wont-run-or-performed-badly-after-simple-fix/119410)

<div class="topic-metadata">

**Author:** [@gluon-free](https://discourse.julialang.org/u/gluon-free)\
**Replies:** 7\
**Last updated:** [September 16, 2024, 6:03am UTC](https://discourse.julialang.org/t/brusselator-example-from-diffeqgpu-wont-run-or-performed-badly-after-simple-fix/119410 "2024-09-16T06:03:37Z")

</div>

Doing my first steps in Julia, I often find that good examples from “official” sources don’t work because things change so quickly. This stiff PDE example returning error "Scalar indexing is disallowed " I googled t…

---

## [GeoMakie: how to plot shapefile lines in the same GeoAxis as a heatmap](https://discourse.julialang.org/t/geomakie-how-to-plot-shapefile-lines-in-the-same-geoaxis-as-a-heatmap/119380)

<div class="topic-metadata">

**Author:** [@oscarvdvelde](https://discourse.julialang.org/u/oscarvdvelde)\
**Replies:** 5\
**Last updated:** [September 15, 2024, 7:14pm UTC](https://discourse.julialang.org/t/geomakie-how-to-plot-shapefile-lines-in-the-same-geoaxis-as-a-heatmap/119380 "2024-09-15T19:14:03Z")

</div>

I am trying GeoMakie for a simple visualization of KNMI radar data (Netherlands), which comes in netCDF format. The netCDF provides grid values, the x and y axes and the proj4. I am able to successfully plot that georefe…

---

## [How to create a new DF with only the rows that contain specific values from two different columns](https://discourse.julialang.org/t/how-to-create-a-new-df-with-only-the-rows-that-contain-specific-values-from-two-different-columns/119431)

<div class="topic-metadata">

**Author:** [@cocarroll1](https://discourse.julialang.org/u/cocarroll1)\
**Replies:** 5\
**Last updated:** [September 15, 2024, 2:28pm UTC](https://discourse.julialang.org/t/how-to-create-a-new-df-with-only-the-rows-that-contain-specific-values-from-two-different-columns/119431 "2024-09-15T14:28:42Z")

</div>

I want to create a new DF (e.g. df\_2) based on an existing one (e.g. df\_1) which has 9 columns and multiple rows of data. In this new df\_2 I want to have all the data from each row, only when the values from 1 column (e…

---

## [What is the difference between these two implementations?](https://discourse.julialang.org/t/what-is-the-difference-between-these-two-implementations/119426)

<div class="topic-metadata">

**Author:** [@kands-code](https://discourse.julialang.org/u/kands-code)\
**Replies:** 4\
**Last updated:** [September 15, 2024, 1:25pm UTC](https://discourse.julialang.org/t/what-is-the-difference-between-these-two-implementations/119426 "2024-09-15T13:25:25Z")

</div>

I recently came across the programming language Julia, which is a very efficient language with a lot of tools that allow me to complete some tasks easily. But I encountered a problem when learning how to use Julia to wr…

---

## [Adding a column to a dataframe and conditionally filling based on another column within the same dataframe](https://discourse.julialang.org/t/adding-a-column-to-a-dataframe-and-conditionally-filling-based-on-another-column-within-the-same-dataframe/119413)

<div class="topic-metadata">

**Author:** [@cocarroll1](https://discourse.julialang.org/u/cocarroll1)\
**Replies:** 4\
**Last updated:** [September 15, 2024, 12:32pm UTC](https://discourse.julialang.org/t/adding-a-column-to-a-dataframe-and-conditionally-filling-based-on-another-column-within-the-same-dataframe/119413 "2024-09-15T12:32:08Z")

</div>

I’m trying to write code to do the following, I’m completely new to Julia and coding in general so really struggling. I have a data frame of columns and rows, I need to add a new column (EVID) to the df and conditionall…

---

## [When running a certain code, the screen goes black. What hardware problem?](https://discourse.julialang.org/t/when-running-a-certain-code-the-screen-goes-black-what-hardware-problem/119361)

<div class="topic-metadata">

**Author:** [@XuJingye2022](https://discourse.julialang.org/u/XuJingye2022)\
**Replies:** 2\
**Last updated:** [September 14, 2024, 3:03am UTC](https://discourse.julialang.org/t/when-running-a-certain-code-the-screen-goes-black-what-hardware-problem/119361 "2024-09-14T03:03:40Z")

</div>

I want to optimize the performance of my previous code: using BenchmarkTools function discrete\_integrate(xvec::Vector, y1vec::Vector, y2vec::Vector, y3vec::Vector) s = zero(promote\_type(eltype(xvec), eltype(y1vec),…

---

## [Coupled, non-linear, time dependant system of PDE, finite element method, gridap](https://discourse.julialang.org/t/coupled-non-linear-time-dependant-system-of-pde-finite-element-method-gridap/119271)

<div class="topic-metadata">

**Author:** [@karthikeyan98pdy](https://discourse.julialang.org/u/karthikeyan98pdy)\
**Replies:** 6\
**Last updated:** [September 12, 2024, 8:01am UTC](https://discourse.julialang.org/t/coupled-non-linear-time-dependant-system-of-pde-finite-element-method-gridap/119271 "2024-09-12T08:01:54Z")

</div>

New to Julia gridap Personal context I am a phd student who works in numerical characterisation of electrochemical performance of fuel cells/electrolysis cells. This involves resolution of a system of coupled, non line…

---

## [Can't find Project (environment)](https://discourse.julialang.org/t/cant-find-project-environment/119294)

<div class="topic-metadata">

**Author:** [@vsoler](https://discourse.julialang.org/u/vsoler)\
**Replies:** 6\
**Last updated:** [September 11, 2024, 7:54pm UTC](https://discourse.julialang.org/t/cant-find-project-environment/119294 "2024-09-11T19:54:59Z")

</div>

I have created a custom environment (different from the default one) named “juML”. However, in the Windows 10 explorer I cannot find the C:\\Users\\USUARIO\\juML Where can I find directory juML? How can I delete this p…

---

## [Need advice on pecuzal\_embedding and RecurrenceMatrix](https://discourse.julialang.org/t/need-advice-on-pecuzal-embedding-and-recurrencematrix/119257)

<div class="topic-metadata">

**Author:** [@NumberCruncher](https://discourse.julialang.org/u/NumberCruncher)\
**Replies:** 1\
**Last updated:** [September 10, 2024, 7:55pm UTC](https://discourse.julialang.org/t/need-advice-on-pecuzal-embedding-and-recurrencematrix/119257 "2024-09-10T19:55:15Z")

</div>

I’m new to Julia and looking to use it to analyse time-series. My current aim is to compare MatrixProfile to RecurrenceMatrix for my application. The trouble is that with the code below, I am encountering: ERROR: Com…

---

## [Issue with add function for genie webframe for adding numbers](https://discourse.julialang.org/t/issue-with-add-function-for-genie-webframe-for-adding-numbers/119171)

<div class="topic-metadata">

**Author:** [@Shiva\_raj](https://discourse.julialang.org/u/Shiva_raj)\
**Replies:** 2\
**Last updated:** [September 10, 2024, 1:09pm UTC](https://discourse.julialang.org/t/issue-with-add-function-for-genie-webframe-for-adding-numbers/119171 "2024-09-10T13:09:19Z")

</div>

Hi Team, I have been doing some test for a school project for a math’s function, Need help I am trying to create a function for adding numbers with steps returned as JSON output. using Genie, Genie.Router, Genie.Render…

---

## [Julia 0.6.3 on Windows 10 ERROR: GitError(Code:ENOTFOUND, Class:Repository, Could not find repository from 'C:\\Users\\user\\.julia\\v0.6\\.cache\\BinDeps')](https://discourse.julialang.org/t/julia-0-6-3-on-windows-10-error-giterror-code-enotfound-class-repository-could-not-find-repository-from-c-users-user-julia-v0-6-cache-bindeps/11455)

<div class="topic-metadata">

**Author:** [@suiato](https://discourse.julialang.org/u/suiato)\
**Replies:** 3\
**Last updated:** [September 10, 2024, 8:16am UTC](https://discourse.julialang.org/t/julia-0-6-3-on-windows-10-error-giterror-code-enotfound-class-repository-could-not-find-repository-from-c-users-user-julia-v0-6-cache-bindeps/11455 "2024-09-10T08:16:32Z")

</div>

Getting the following error on Julia 0.6.3. Will appreciate any advice on how to handle it. julia\> Pkg.update() INFO: Updating METADATA... INFO: Computing changes... ERROR: GitError(Code:ENOTFOUND, Class:Repository, Cou…

---

## [Broadcast hangs after successful execution over all array elements](https://discourse.julialang.org/t/broadcast-hangs-after-successful-execution-over-all-array-elements/119193)

<div class="topic-metadata">

**Author:** [@Bananthahally](https://discourse.julialang.org/u/Bananthahally)\
**Replies:** 11\
**Last updated:** [September 10, 2024, 4:50am UTC](https://discourse.julialang.org/t/broadcast-hangs-after-successful-execution-over-all-array-elements/119193 "2024-09-10T04:50:12Z")

</div>

When I call the function INSIDE\_WHICH\_INTVAL below, it correctly returns IVL\_NUM for input of type INTY :: Float64. When I broadcast the function to cover all elements of an array INTY\_ARRAY also, as INSIDE\_WHICH\_INTVAL.…

---

## [Which package to use for 3d interactive graphics of complex geometries](https://discourse.julialang.org/t/which-package-to-use-for-3d-interactive-graphics-of-complex-geometries/118667)

<div class="topic-metadata">

**Author:** [@goulas](https://discourse.julialang.org/u/goulas)\
**Replies:** 11\
**Last updated:** [September 9, 2024, 11:36am UTC](https://discourse.julialang.org/t/which-package-to-use-for-3d-interactive-graphics-of-complex-geometries/118667 "2024-09-09T11:36:09Z")

</div>

Hello, I would like to use Julia, among others, for 3d graphic interactive display of complex geometries. More specifically I want to display High Energy Physics detectors. I have used ThreeJS in the past which was fast…

---

## [Help Debugging my first Julia Conversion of Maple Code](https://discourse.julialang.org/t/help-debugging-my-first-julia-conversion-of-maple-code/119112)

<div class="topic-metadata">

**Author:** [@Rowing0914](https://discourse.julialang.org/u/Rowing0914)\
**Replies:** 4\
**Last updated:** [September 9, 2024, 7:54am UTC](https://discourse.julialang.org/t/help-debugging-my-first-julia-conversion-of-maple-code/119112 "2024-09-09T07:54:02Z")

</div>

I’m trying to replicate the behavior of a Maple code snippet (from \[1\] on Page 15) in Julia, as I’m new to Julia I am not sure if this is being implemented correctly and a particular line of my code is running super slow…

---

## [Facing issue with genie for a sample test function](https://discourse.julialang.org/t/facing-issue-with-genie-for-a-sample-test-function/118992)

<div class="topic-metadata">

**Author:** [@Shiva\_raj](https://discourse.julialang.org/u/Shiva_raj)\
**Replies:** 2\
**Last updated:** [September 7, 2024, 3:52pm UTC](https://discourse.julialang.org/t/facing-issue-with-genie-for-a-sample-test-function/118992 "2024-09-07T15:52:57Z")

</div>

Hi Team, when I run the below code I get error , please help me to fix as I am testing a new project with Genie. module App using Genie using Genie.Router using Genie.Renderer using Genie.Requests using Genie.Renderer.…

---

## [Is it a bug or I am doing something wrong?](https://discourse.julialang.org/t/is-it-a-bug-or-i-am-doing-something-wrong/119105)

<div class="topic-metadata">

**Author:** [@hangita101](https://discourse.julialang.org/u/hangita101)\
**Replies:** 5\
**Last updated:** [September 6, 2024, 4:45pm UTC](https://discourse.julialang.org/t/is-it-a-bug-or-i-am-doing-something-wrong/119105 "2024-09-06T16:45:13Z")

</div>

I am going through Julia Documentation and in overflow section i get weird result, julia\> typemax(Int16) 32767 julia\> x=typemax(Int16) 32767 julia\> x+1 327671 julia\> x + 1 327671 julia\> EDIT: I restart my REPL and…

---

## [Add labels to scatter](https://discourse.julialang.org/t/add-labels-to-scatter/119110)

<div class="topic-metadata">

**Author:** [@NaSi](https://discourse.julialang.org/u/NaSi)\
**Replies:** 8\
**Last updated:** [September 6, 2024, 12:33pm UTC](https://discourse.julialang.org/t/add-labels-to-scatter/119110 "2024-09-06T12:33:27Z")

</div>

Hello =) I would like to add labels for each scatter in my code. f = Figure(; size=(500, 400)) ax1 = Axis3(f\[1, 2\], aspect = (1, 1, 1.5), xlabel = "x \[m\]",ylabel = "y \[m\]",zlabel = "z \[m\]", title="t = $…

---

## [Extracting each iteration result in KissABC.jl](https://discourse.julialang.org/t/extracting-each-iteration-result-in-kissabc-jl/118658)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 4\
**Last updated:** [September 5, 2024, 1:34pm UTC](https://discourse.julialang.org/t/extracting-each-iteration-result-in-kissabc-jl/118658 "2024-09-05T13:34:45Z")

</div>

Hello everyone, I was wondering Is it possible to extract results from each iteration in smc( ) run in kissABC package ? I was reading the documentation link but I don’t see much there. Thank you :slight\_smile:

---

## [Why was the original Union return type parsed as type Any?](https://discourse.julialang.org/t/why-was-the-original-union-return-type-parsed-as-type-any/119065)

<div class="topic-metadata">

**Author:** [@aaoo](https://discourse.julialang.org/u/aaoo)\
**Replies:** 2\
**Last updated:** [September 5, 2024, 7:58am UTC](https://discourse.julialang.org/t/why-was-the-original-union-return-type-parsed-as-type-any/119065 "2024-09-05T07:58:49Z")

</div>

I have a question about the following code. It can be manually inferred that the return type of ttest must be Union{Nothing,ClassA,ClassB,ClassC}, and I even annotate the type of the return value, c, to the compiler. But…

---

## [Branch and Bound Algorithm Using Bonobo Package](https://discourse.julialang.org/t/branch-and-bound-algorithm-using-bonobo-package/119017)

<div class="topic-metadata">

**Author:** [@Mohammadreza\_Iranpou](https://discourse.julialang.org/u/Mohammadreza_Iranpou)\
**Replies:** 0\
**Last updated:** [September 4, 2024, 4:42am UTC](https://discourse.julialang.org/t/branch-and-bound-algorithm-using-bonobo-package/119017 "2024-09-04T04:42:08Z")

</div>

Hello everyone, I am a beginner in Julia and am currently exploring the Bonobo package for solving branch and bound algorithms. However, I’m finding it a bit challenging to get started. Could someone please provide me w…

---

## [Creating fresh environment with latest julia whilst having existing 1.9 enviroment](https://discourse.julialang.org/t/creating-fresh-environment-with-latest-julia-whilst-having-existing-1-9-enviroment/118986)

<div class="topic-metadata">

**Author:** [@PyJulia](https://discourse.julialang.org/u/PyJulia)\
**Replies:** 4\
**Last updated:** [September 3, 2024, 8:37pm UTC](https://discourse.julialang.org/t/creating-fresh-environment-with-latest-julia-whilst-having-existing-1-9-enviroment/118986 "2024-09-03T20:37:22Z")

</div>

The first time I installed Julia was a 1.9 environment. I now want to create a new project environment with the latest stable Julia version. I used juliaup add 1.11 to add the Julia 1.11 environment. Opening a Julia REPL…

---

## [Inplace modification of Float64](https://discourse.julialang.org/t/inplace-modification-of-float64/118995)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 4\
**Last updated:** [September 3, 2024, 3:45pm UTC](https://discourse.julialang.org/t/inplace-modification-of-float64/118995 "2024-09-03T15:45:55Z")

</div>

Hi, I know that things like Float64 are immutable, so I can’t do inplace modification (in my specific situation: I can’t call clamp! on them). I’m writing some code in which I either want to apply a routine on an entire…

---

## [How to view intermediate steps in ODESolver during runtime without excess allocations?](https://discourse.julialang.org/t/how-to-view-intermediate-steps-in-odesolver-during-runtime-without-excess-allocations/118676)

<div class="topic-metadata">

**Author:** [@Rittick\_Roy](https://discourse.julialang.org/u/Rittick_Roy)\
**Replies:** 16\
**Last updated:** [September 3, 2024, 2:51pm UTC](https://discourse.julialang.org/t/how-to-view-intermediate-steps-in-odesolver-during-runtime-without-excess-allocations/118676 "2024-09-03T14:51:36Z")

</div>

I am new to Julia and have been solving an ODE problem using the integrator interface. I want to view the intermediate steps (and use the intermediate steps in another function to perform some calculations) as the integr…

---

## [GeoIO plotting in a map](https://discourse.julialang.org/t/geoio-plotting-in-a-map/118982)

<div class="topic-metadata">

**Author:** [@imantha](https://discourse.julialang.org/u/imantha)\
**Replies:** 4\
**Last updated:** [September 3, 2024, 11:59am UTC](https://discourse.julialang.org/t/geoio-plotting-in-a-map/118982 "2024-09-03T11:59:40Z")

</div>

I am wondering if there is a possibility to plot a shapefile loaded using GeoIO in map ? using GeoIO df\_lo = GeoIO.load("data/processed/low/us\_division\_2018/us\_division\_2018.shp") df\_hi = GeoIO.load("data/processed/high…

---

## [CSV, DataFrame read data file with string and Float64 columns](https://discourse.julialang.org/t/csv-dataframe-read-data-file-with-string-and-float64-columns/118980)

<div class="topic-metadata">

**Author:** [@Xiu-Lei](https://discourse.julialang.org/u/Xiu-Lei)\
**Replies:** 3\
**Last updated:** [September 3, 2024, 10:13am UTC](https://discourse.julialang.org/t/csv-dataframe-read-data-file-with-string-and-float64-columns/118980 "2024-09-03T10:13:57Z")

</div>

I would like to read this data file \[first row is title\], containing string in the first column, and float64 in the following columns, " id aMphi aMoctet a\*Mdecuplet A651 0.27507 0…

---

## [Is there a way to enable non-interactive scope behaviors in REPL?](https://discourse.julialang.org/t/is-there-a-way-to-enable-non-interactive-scope-behaviors-in-repl/118916)

<div class="topic-metadata">

**Author:** [@purpletree](https://discourse.julialang.org/u/purpletree)\
**Replies:** 13\
**Last updated:** [September 2, 2024, 9:31pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-enable-non-interactive-scope-behaviors-in-repl/118916 "2024-09-02T21:31:43Z")

</div>

I am going to be creating my first project in Julia by writing and debugging in interactive sessions, but once I have it working the final code will run non-interactively on a HPC cluster. I have learned the basics of J…

---

## [Fail to install x265](https://discourse.julialang.org/t/fail-to-install-x265/118478)

<div class="topic-metadata">

**Author:** [@Yongdai](https://discourse.julialang.org/u/Yongdai)\
**Replies:** 4\
**Last updated:** [September 2, 2024, 7:58pm UTC](https://discourse.julialang.org/t/fail-to-install-x265/118478 "2024-09-02T19:58:38Z")

</div>

I’m new to Julia and setting up environment. I installed following packages already. (@v1.10) pkg\> status Status C:\\Users\\Administrator\\.julia\\environments\\v1.10\\Project.toml \[324d7699\] CategoricalArrays v0.10.8 \[8b…

---

## [Changing the interval of the axis in plots.jl](https://discourse.julialang.org/t/changing-the-interval-of-the-axis-in-plots-jl/118936)

<div class="topic-metadata">

**Author:** [@raiyan\_rohit](https://discourse.julialang.org/u/raiyan_rohit)\
**Replies:** 1\
**Last updated:** [September 2, 2024, 11:45am UTC](https://discourse.julialang.org/t/changing-the-interval-of-the-axis-in-plots-jl/118936 "2024-09-02T11:45:51Z")

</div>

I was using plots . In the graph the interval between the x axis is 5 unit . i want to have grids with 1 unit . how can I do that . the same goes for y axis . need help

---

## [Creating a lIbrary with PackageCompiler takes ages](https://discourse.julialang.org/t/creating-a-library-with-packagecompiler-takes-ages/118927)

<div class="topic-metadata">

**Author:** [@Theo-L](https://discourse.julialang.org/u/Theo-L)\
**Replies:** 3\
**Last updated:** [September 2, 2024, 6:55am UTC](https://discourse.julialang.org/t/creating-a-library-with-packagecompiler-takes-ages/118927 "2024-09-02T06:55:42Z")

</div>

I’m trying to creating a library for my module using PackageCompiler but it takes forever. At this point the script is already running for 9 hours. Any ideas how I can speed this up? create\_library( package\_or\_proje…

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

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