# Latest

**URL:** https://discourse.julialang.org/latest.md?page=951

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

**Page:** 952

---

## [Visualising NetCDF using Raster.jl](https://discourse.julialang.org/t/visualising-netcdf-using-raster-jl/85761)

<div class="topic-metadata">

**Author:** [@Michaela\_Vollmer](https://discourse.julialang.org/u/Michaela_Vollmer)\
**Replies:** 10\
**Last updated:** [August 16, 2022, 9:29pm UTC](https://discourse.julialang.org/t/visualising-netcdf-using-raster-jl/85761 "2022-08-16T21:29:25Z")

</div>

Hello! I am trying to plot spatial data of a NetCDF file from a WFlow example. I have followed the steps outlined in the following question Raster.jl discourse post where a similar example is shown where the data can be …

---

## [Simulation example fail](https://discourse.julialang.org/t/simulation-example-fail/85823)

<div class="topic-metadata">

**Author:** [@tsugiharu](https://discourse.julialang.org/u/tsugiharu)\
**Replies:** 2\
**Last updated:** [August 16, 2022, 9:20pm UTC](https://discourse.julialang.org/t/simulation-example-fail/85823 "2022-08-16T21:20:21Z")

</div>

Hi all, I just fired up Julia for the first time. My goal is to use the JEMSS package for research purposes. First of all,I could install and run JEMSS. But,When I ran the Auckland City’s data with the file name unchan…

---

## [JuMPing with Unitful?](https://discourse.julialang.org/t/jumping-with-unitful/85839)

<div class="topic-metadata">

**Author:** [@bcon](https://discourse.julialang.org/u/bcon)\
**Replies:** 3\
**Last updated:** [August 16, 2022, 9:04pm UTC](https://discourse.julialang.org/t/jumping-with-unitful/85839 "2022-08-16T21:04:04Z")

</div>

The function I would like to optimize uses Unitful variables in its internal calculations, but when optimizing I receive MethodError: no method matching \_float(::Quantity{Int64, 𝐋, Unitful.FreeUnits{(mm,), 𝐋, nothing}}),…

---

## [Readlines in Pluto limiting file size](https://discourse.julialang.org/t/readlines-in-pluto-limiting-file-size/85828)

<div class="topic-metadata">

**Author:** [@dkzwart](https://discourse.julialang.org/u/dkzwart)\
**Replies:** 2\
**Last updated:** [August 16, 2022, 9:00pm UTC](https://discourse.julialang.org/t/readlines-in-pluto-limiting-file-size/85828 "2022-08-16T21:00:26Z")

</div>

I am trying to read in files with a lot of lines using Pluto. However, readlines seems to be limited to 137k odd lines, where I need 142k lines to be read. If I run the code in a Julia REPL outside of Pluto it sees the w…

---

## [Automate Git credentials for package updates](https://discourse.julialang.org/t/automate-git-credentials-for-package-updates/34607)

<div class="topic-metadata">

**Author:** [@Adriel](https://discourse.julialang.org/u/Adriel)\
**Replies:** 5\
**Last updated:** [August 16, 2022, 8:54pm UTC](https://discourse.julialang.org/t/automate-git-credentials-for-package-updates/34607 "2022-08-16T20:54:30Z")

</div>

I have several of my own packages stored on a campus GitLab server. Every time I do a Pkg.update(), I have to provide my Git username/password, individually for each of these packages. It gets a bit tedious. Is there a…

---

## [Assert type instability](https://discourse.julialang.org/t/assert-type-instability/85840)

<div class="topic-metadata">

**Author:** [@Joao\_Barata](https://discourse.julialang.org/u/Joao_Barata)\
**Replies:** 5\
**Last updated:** [August 16, 2022, 7:33pm UTC](https://discourse.julialang.org/t/assert-type-instability/85840 "2022-08-16T19:33:57Z")

</div>

Hi guys Simple question. Take the function below function bogus(n::Int) @assert n \> 1 end If I do @code\_warntype on this function, I get Arguments #self#::Core.Const(bogus) n::Int64 Body::Nothing 1 ─ %1 = (n…

---

## [Loops for unknown numbers of inputs](https://discourse.julialang.org/t/loops-for-unknown-numbers-of-inputs/85773)

<div class="topic-metadata">

**Author:** [@Funkerfish](https://discourse.julialang.org/u/Funkerfish)\
**Replies:** 12\
**Last updated:** [August 16, 2022, 6:23pm UTC](https://discourse.julialang.org/t/loops-for-unknown-numbers-of-inputs/85773 "2022-08-16T18:23:56Z")

</div>

Hello! Now I am trying to make functions to form a matrix which can traverse all the values of input. Can you help with that? Suppose that we have three arrays: as = \[1,2\] bs = \[3,4, 5\] cs = \[6\] Then I want to build …

---

## [\[ANN\] EquivariantOperators.jl: Rotation equivariant machine learning and finite differences on scalar and vector fields](https://discourse.julialang.org/t/ann-equivariantoperators-jl-rotation-equivariant-machine-learning-and-finite-differences-on-scalar-and-vector-fields/85690)

<div class="topic-metadata">

**Author:** [@pxshen](https://discourse.julialang.org/u/pxshen)\
**Replies:** 2\
**Last updated:** [August 14, 2022, 6:04pm UTC](https://discourse.julialang.org/t/ann-equivariantoperators-jl-rotation-equivariant-machine-learning-and-finite-differences-on-scalar-and-vector-fields/85690 "2022-08-14T18:04:36Z")

</div>

EquivariantOperators.jl implements in Julia fully differentiable finite difference operators and convolutions on scalar or vector fields in 2d/3d. It can run forwards for FDTD simulation or image processing, or back prop…

---

## [\[FixedEffectModels.jl\] Switching from Dummy to Categorical Variables](https://discourse.julialang.org/t/fixedeffectmodels-jl-switching-from-dummy-to-categorical-variables/85800)

<div class="topic-metadata">

**Author:** [@teamtelefunken](https://discourse.julialang.org/u/teamtelefunken)\
**Replies:** 2\
**Last updated:** [August 16, 2022, 6:01pm UTC](https://discourse.julialang.org/t/fixedeffectmodels-jl-switching-from-dummy-to-categorical-variables/85800 "2022-08-16T18:01:13Z")

</div>

I am trying to use FixedEffectModels.jl with a dataset with a continuous explanatory variable, and want to run regressions on a binned version of this variable. I have two approaches: a) I can either, via cut, produce ca…

---

## [Use css with Gtk.jl](https://discourse.julialang.org/t/use-css-with-gtk-jl/72786)

<div class="topic-metadata">

**Author:** [@MeteorBizone](https://discourse.julialang.org/u/MeteorBizone)\
**Replies:** 1\
**Last updated:** [December 29, 2021, 8:39pm UTC](https://discourse.julialang.org/t/use-css-with-gtk-jl/72786 "2021-12-29T20:39:32Z")

</div>

How I can usw css in Gtk.jl?

---

## [I don't understand this syntax. Documentation request](https://discourse.julialang.org/t/i-dont-understand-this-syntax-documentation-request/85837)

<div class="topic-metadata">

**Author:** [@kingoslo](https://discourse.julialang.org/u/kingoslo)\
**Replies:** 5\
**Last updated:** [August 16, 2022, 5:10pm UTC](https://discourse.julialang.org/t/i-dont-understand-this-syntax-documentation-request/85837 "2022-08-16T17:10:28Z")

</div>

Hello, I am cooperating with someone on a Julia package, and I have barely worked in Julia before. I can read the majority of the stuff in the package, but sometimes I get stuck on some syntax that is so different from …

---

## [Best practice using PackageCompiler.jl (or something else!) for code obfuscation and extensibility](https://discourse.julialang.org/t/best-practice-using-packagecompiler-jl-or-something-else-for-code-obfuscation-and-extensibility/85806)

<div class="topic-metadata">

**Author:** [@pdetrempe](https://discourse.julialang.org/u/pdetrempe)\
**Replies:** 2\
**Last updated:** [August 16, 2022, 3:08pm UTC](https://discourse.julialang.org/t/best-practice-using-packagecompiler-jl-or-something-else-for-code-obfuscation-and-extensibility/85806 "2022-08-16T15:08:45Z")

</div>

I want to use Julia for a new, proprietary, software package being developed at work, however, a couple of requirements are that the package be deliverable to customers without visible source code and be extensible to al…

---

## [Numerical or Auto Differentiation Noob question](https://discourse.julialang.org/t/numerical-or-auto-differentiation-noob-question/85750)

<div class="topic-metadata">

**Author:** [@samerb](https://discourse.julialang.org/u/samerb)\
**Replies:** 3\
**Last updated:** [August 16, 2022, 3:24pm UTC](https://discourse.julialang.org/t/numerical-or-auto-differentiation-noob-question/85750 "2022-08-16T15:24:38Z")

</div>

Suppose I have a function which calls a nonlinear solver. For example, function sqrte(y) f(x) = x\[1\]^2 - y\[1\] x0 = \[0.1\] return nlsolve(f, x0).zero end sqrte(\[4.0\]) \> 1-element Vector{Float64}: 2.0000 Wh…

---

## [\[ANN\] AnyMOD.jl v0.1.8](https://discourse.julialang.org/t/ann-anymod-jl-v0-1-8/85831)

<div class="topic-metadata">

**Author:** [@lgo](https://discourse.julialang.org/u/lgo)\
**Replies:** 0\
**Last updated:** [August 16, 2022, 3:16pm UTC](https://discourse.julialang.org/t/ann-anymod-jl-v0-1-8/85831 "2022-08-16T15:16:36Z")

</div>

Although v0.1.0 was released more than 2 years ago, I finally want to share our package here. AnyMOD.jl builds on JuMP.jl and creates capacity expansion problems optimizing the transformation of macro-energy systems tow…

---

## [PlutoUI filepicker How can I access the file path](https://discourse.julialang.org/t/plutoui-filepicker-how-can-i-access-the-file-path/60317)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 3\
**Last updated:** [August 16, 2022, 3:07pm UTC](https://discourse.julialang.org/t/plutoui-filepicker-how-can-i-access-the-file-path/60317 "2022-08-16T15:07:37Z")

</div>

I am using the command @bind name PlutoUI.FilePicker(\[MIME("text/plain")\]) to obtain a filename. How can I obtain the path to the file that was selected.

---

## [Building Observational Health Research Capacity in JuliaHealth](https://discourse.julialang.org/t/building-observational-health-research-capacity-in-juliahealth/85643)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 0\
**Last updated:** [August 11, 2022, 10:33pm UTC](https://discourse.julialang.org/t/building-observational-health-research-capacity-in-juliahealth/85643 "2022-08-11T22:33:21Z")

</div>

Hello Julia Community! :wave: Background :thinking: Today, I would like to announce the creation of novel JuliaHealth tooling to support Observational Health research capacity within the Julia ecosystem! To give some bac…

---

## [Julia gets killed in terminal when script is run](https://discourse.julialang.org/t/julia-gets-killed-in-terminal-when-script-is-run/85825)

<div class="topic-metadata">

**Author:** [@bast](https://discourse.julialang.org/u/bast)\
**Replies:** 3\
**Last updated:** [August 16, 2022, 1:40pm UTC](https://discourse.julialang.org/t/julia-gets-killed-in-terminal-when-script-is-run/85825 "2022-08-16T13:40:05Z")

</div>

Hi, I am running a Julia script in my terminal and at some point it gets killed zsh: killed julia Is there a way to get more info as to why it got killed? Thank you!

---

## [Problem when intall MathTexEngine v0.5.0](https://discourse.julialang.org/t/problem-when-intall-mathtexengine-v0-5-0/85817)

<div class="topic-metadata">

**Author:** [@zhzhang](https://discourse.julialang.org/u/zhzhang)\
**Replies:** 4\
**Last updated:** [August 16, 2022, 1:30pm UTC](https://discourse.julialang.org/t/problem-when-intall-mathtexengine-v0-5-0/85817 "2022-08-16T13:30:48Z")

</div>

Hi all, I want to update the MathTexEngine from 0.4.3 to 0.5.0. However, the Pkg threw these errors. (@v1.7) pkg\> add MathTeXEngine@0.5 Resolving package versions... ERROR: Unsatisfiable requirements detected for pac…

---

## [Automating juliaup installation - workarounds?](https://discourse.julialang.org/t/automating-juliaup-installation-workarounds/85816)

<div class="topic-metadata">

**Author:** [@svilupp](https://discourse.julialang.org/u/svilupp)\
**Replies:** 0\
**Last updated:** [August 16, 2022, 10:30am UTC](https://discourse.julialang.org/t/automating-juliaup-installation-workarounds/85816 "2022-08-16T10:30:32Z")

</div>

Has anyone found a way to work around the need to press ENTER to install juliaup (on linux)? I’m aware that there have been related questions: Automating juliaup installation - #2 by StefanKarpinski juliaup-init bring…

---

## [Pre-allocating a structure to reduce memory?](https://discourse.julialang.org/t/pre-allocating-a-structure-to-reduce-memory/85791)

<div class="topic-metadata">

**Author:** [@jrhalket](https://discourse.julialang.org/u/jrhalket)\
**Replies:** 14\
**Last updated:** [August 16, 2022, 9:56am UTC](https://discourse.julialang.org/t/pre-allocating-a-structure-to-reduce-memory/85791 "2022-08-16T09:56:19Z")

</div>

I have a function SimData that I will call in a loop 1000s of times. I will then “call the loop” a number of times in the course of searching for a maxima. So the SimData function will be call perhaps 100,000s of times. …

---

## [ANN: upcoming refactoring of JuMP's nonlinear API](https://discourse.julialang.org/t/ann-upcoming-refactoring-of-jumps-nonlinear-api/83052)

<div class="topic-metadata">

**Author:** [@odow](https://discourse.julialang.org/u/odow)\
**Replies:** 9\
**Last updated:** [August 16, 2022, 8:24am UTC](https://discourse.julialang.org/t/ann-upcoming-refactoring-of-jumps-nonlinear-api/83052 "2022-08-16T08:24:23Z")

</div>

tl;dr: The next feature release of JuMP (probably v1.2.0) introduces a large refactoring of JuMP’s nonlinear API. If you have code that accessed private features of the nonlinear API, such as JuMP.\_Derivatives or mode…

---

## [Multi-threaded batch job on SGE](https://discourse.julialang.org/t/multi-threaded-batch-job-on-sge/85777)

<div class="topic-metadata">

**Author:** [@dhryniuk](https://discourse.julialang.org/u/dhryniuk)\
**Replies:** 1\
**Last updated:** [August 16, 2022, 7:56am UTC](https://discourse.julialang.org/t/multi-threaded-batch-job-on-sge/85777 "2022-08-16T07:56:24Z")

</div>

I would like to run a Julia script which makes use of multi-threading on a Sun Grid Engine cluster. I can reserve 2 cores, load Julia, and run the script with 4 threads by submitting #!/bin/csh #$ -pe smp 2 module load …

---

## [Basins of attractros for 6D system DynamicalSystems.jl](https://discourse.julialang.org/t/basins-of-attractros-for-6d-system-dynamicalsystems-jl/85781)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 11\
**Last updated:** [August 16, 2022, 7:16am UTC](https://discourse.julialang.org/t/basins-of-attractros-for-6d-system-dynamicalsystems-jl/85781 "2022-08-16T07:16:24Z")

</div>

I trye found basins for attractors, but i have some problems. First problem is out of memmory when i use big length for xg1 = yg1 = zg1 = xg2 = yg2 = zg2 = range(-6.0, 6.0; length = 10) If i using for example length …

---

## [About Error:"Correlation function is not specified"](https://discourse.julialang.org/t/about-error-correlation-function-is-not-specified/85753)

<div class="topic-metadata">

**Author:** [@Yangheng\_Jizhe](https://discourse.julialang.org/u/Yangheng_Jizhe)\
**Replies:** 4\
**Last updated:** [August 16, 2022, 2:36am UTC](https://discourse.julialang.org/t/about-error-correlation-function-is-not-specified/85753 "2022-08-16T02:36:34Z")

</div>

Hi there, I’m new to Julia, and I jumped into this error: I defined a CustomBath: physFact = 16/0.33338579560200365 ctoff = 0.012pi function smsi(x) if abs(x) \<ctoff a = x/(ctoff^2) else a =sign(x)/abs(x) end …

---

## [How to increase resolution of an image generated from a sparse pointcloud?](https://discourse.julialang.org/t/how-to-increase-resolution-of-an-image-generated-from-a-sparse-pointcloud/85461)

<div class="topic-metadata">

**Author:** [@momo1](https://discourse.julialang.org/u/momo1)\
**Replies:** 3\
**Last updated:** [August 16, 2022, 1:58am UTC](https://discourse.julialang.org/t/how-to-increase-resolution-of-an-image-generated-from-a-sparse-pointcloud/85461 "2022-08-16T01:58:43Z")

</div>

Hi I’ve an image form pointcloud which is sparse, Using UNet can be an issue because there will not be many points in its window. Its pixel values are basically classes. e.g. \[3,4\]=11 where pixel 3,4 has class 11. My …

---

## [How to detect a container resize event in GTK](https://discourse.julialang.org/t/how-to-detect-a-container-resize-event-in-gtk/59624)

<div class="topic-metadata">

**Author:** [@johntrinder](https://discourse.julialang.org/u/johntrinder)\
**Replies:** 2\
**Last updated:** [August 16, 2022, 12:51am UTC](https://discourse.julialang.org/t/how-to-detect-a-container-resize-event-in-gtk/59624 "2022-08-16T00:51:28Z")

</div>

I’ve scoured google but came up with nothing. I’ve done the following: id = signal\_connect(alig, “check-resize”) do widget, event println(“The window was resized”) end where ‘alig’ is a GtkAlignment to which I add a…

---

## [Take data from one DataFrame to another based on a conditional](https://discourse.julialang.org/t/take-data-from-one-dataframe-to-another-based-on-a-conditional/85688)

<div class="topic-metadata">

**Author:** [@dlshew19](https://discourse.julialang.org/u/dlshew19)\
**Replies:** 5\
**Last updated:** [August 15, 2022, 10:21pm UTC](https://discourse.julialang.org/t/take-data-from-one-dataframe-to-another-based-on-a-conditional/85688 "2022-08-15T22:21:21Z")

</div>

The problem I’m having is I can’t figure out how to move data from one DataFrame to a different one. Let’s say I have two DataFrames. df1 is: Team Rating Chi 10 Ny 8 Oak 6 Ott 6 df2 is: HomeTeam …

---

## [PlotJuggler package](https://discourse.julialang.org/t/plotjuggler-package/85742)

<div class="topic-metadata">

**Author:** [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Replies:** 0\
**Last updated:** [August 14, 2022, 7:36pm UTC](https://discourse.julialang.org/t/plotjuggler-package/85742 "2022-08-14T19:36:18Z")

</div>

I wrote a really basic package, GitHub - pbouffard/PlotJuggler.jl, to dump timeseries data into the PlotJuggler program. Capabilities are quite limited compared to options in the existing plotting ecosystem, but it’s …

---

## [Problems using solvers from Iterativesolvers.jl in DifferentialEquations.jl](https://discourse.julialang.org/t/problems-using-solvers-from-iterativesolvers-jl-in-differentialequations-jl/59935)

<div class="topic-metadata">

**Author:** [@amael](https://discourse.julialang.org/u/amael)\
**Replies:** 6\
**Last updated:** [August 15, 2022, 7:22pm UTC](https://discourse.julialang.org/t/problems-using-solvers-from-iterativesolvers-jl-in-differentialequations-jl/59935 "2022-08-15T19:22:38Z")

</div>

Hi, Trying the LinSolveIterativeSolvers API of DifferentialEquations.jl to use the linear solvers from IterativeSolvers.jl always lead to some errors. I’m using julia 1.6. First the API only works for the gmres solver …

---

## [Referring to a vector in a vector of svectors](https://discourse.julialang.org/t/referring-to-a-vector-in-a-vector-of-svectors/85682)

<div class="topic-metadata">

**Author:** [@jrhalket](https://discourse.julialang.org/u/jrhalket)\
**Replies:** 12\
**Last updated:** [August 15, 2022, 6:32pm UTC](https://discourse.julialang.org/t/referring-to-a-vector-in-a-vector-of-svectors/85682 "2022-08-15T18:32:42Z")

</div>

I am trying to grab a vector within a vector of static vectors. I’ve tried below but it doesn’t seem to work (perhaps since sims is a vector of Svectors and not a vector of vectors?). sims = Vector{SVector{3,Float64}}(u…

[Previous page](https://discourse.julialang.org/latest.md?page=950)

[Next page](https://discourse.julialang.org/latest.md?page=952)
