# Latest

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

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

**Page:** 332

---

## [Are objects costly?](https://discourse.julialang.org/t/are-objects-costly/118818)

<div class="topic-metadata">

**Author:** [@sadish-d](https://discourse.julialang.org/u/sadish-d)\
**Replies:** 6\
**Last updated:** [August 30, 2024, 6:13pm UTC](https://discourse.julialang.org/t/are-objects-costly/118818 "2024-08-30T18:13:18Z")

</div>

Here is a case where I could use either a function or a struct/type: function bounded(val::Real, lo::Real, hi::Real) @assert isfinite(lo) && isfinite(hi) && isfinite(val) lo \<= val \<= hi end struct Bounds{T \<: Real} …

---

## [Plots.jl : positioning and scaling of "annotate!"](https://discourse.julialang.org/t/plots-jl-positioning-and-scaling-of-annotate/11290)

<div class="topic-metadata">

**Author:** [@Rob\_van\_Weelderen](https://discourse.julialang.org/u/Rob_van_Weelderen)\
**Replies:** 8\
**Last updated:** [August 30, 2024, 5:46pm UTC](https://discourse.julialang.org/t/plots-jl-positioning-and-scaling-of-annotate/11290 "2024-08-30T17:46:03Z")

</div>

I would like to put on the lower right corner of my plots a notification text string, typically citing the the “data source : date of production” Although I can put text using annotate!(xpos, ypos, "my text", :color) i…

---

## [Optimum use of Julia for two tasks](https://discourse.julialang.org/t/optimum-use-of-julia-for-two-tasks/118810)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 2\
**Last updated:** [August 30, 2024, 3:13pm UTC](https://discourse.julialang.org/t/optimum-use-of-julia-for-two-tasks/118810 "2024-08-30T15:13:07Z")

</div>

I have been working on an application that first collects data and then stores it to file. Then the file is read, processed and summary information stored in a database. The system is meant to operate continuously. fu…

---

## [Solving Stiff-ODE using PINN via NNODE](https://discourse.julialang.org/t/solving-stiff-ode-using-pinn-via-nnode/118485)

<div class="topic-metadata">

**Author:** [@Reza\_AO](https://discourse.julialang.org/u/Reza_AO)\
**Replies:** 6\
**Last updated:** [August 30, 2024, 3:07pm UTC](https://discourse.julialang.org/t/solving-stiff-ode-using-pinn-via-nnode/118485 "2024-08-30T15:07:30Z")

</div>

Hi I have been trying to solve the ODE below: dc/dt = - Acexp(-E/(R\*T(t))) Then I scaled time and Temperature it turned into: dc/dt\_ = - Actim\_maxexp(-E/(RT\_(t)\*T\_max)) !Note that the temperature increases through …

---

## [How to split a vector (or a dataframe) in two parts?](https://discourse.julialang.org/t/how-to-split-a-vector-or-a-dataframe-in-two-parts/118809)

<div class="topic-metadata">

**Author:** [@Ju\_ska](https://discourse.julialang.org/u/Ju_ska)\
**Replies:** 3\
**Last updated:** [August 30, 2024, 2:53pm UTC](https://discourse.julialang.org/t/how-to-split-a-vector-or-a-dataframe-in-two-parts/118809 "2024-08-30T14:53:49Z")

</div>

Hi, I would like to cut this vector in half: julia\> y 5-element Vector{Int64}: 325 328 329 330 331 to obtain, let’s say a and b: julia\> a 2-element Vector{Int64}: 325 328 julia\> b 3-element Vector{Int64}: 32…

---

## [Workflow for faster testing of Julia packages?](https://discourse.julialang.org/t/workflow-for-faster-testing-of-julia-packages/113836)

<div class="topic-metadata">

**Author:** [@MilesCranmer](https://discourse.julialang.org/u/MilesCranmer)\
**Replies:** 20\
**Last updated:** [May 5, 2024, 11:21pm UTC](https://discourse.julialang.org/t/workflow-for-faster-testing-of-julia-packages/113836 "2024-05-05T23:21:41Z")

</div>

What is the fastest possible way to run a Julia test suite (and also get test coverage)? Normally I call julia --startup-file=no --code-coverage=user --project=. -e 'using Pkg; Pkg.test(coverage=true)' julia --startup-…

---

## [Compression: A. \[Audio\] codecs and logarithmic FFT and B. 6-bit letters/bitcode](https://discourse.julialang.org/t/compression-a-audio-codecs-and-logarithmic-fft-and-b-6-bit-letters-bitcode/118811)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 0\
**Last updated:** [August 30, 2024, 1:57pm UTC](https://discourse.julialang.org/t/compression-a-audio-codecs-and-logarithmic-fft-and-b-6-bit-letters-bitcode/118811 "2024-08-30T13:57:51Z")

</div>

How does this apply to Julia? Not really except note of interest: Meta/Facebook’s recent AI speech codec is made in Julia (the prototype, which is in sync with their C implementation), and I’m not mentioning it more here…

---

## [UK exascale in trouble](https://discourse.julialang.org/t/uk-exascale-in-trouble/118739)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 18\
**Last updated:** [August 30, 2024, 1:24pm UTC](https://discourse.julialang.org/t/uk-exascale-in-trouble/118739 "2024-08-30T13:24:37Z")

</div>

The Economist reports that the UK supercomputer (exascale) will probably not get finished. As they report: The government insists it remains committed to supercomputing. Ministers are expected to announce alternative p…

---

## [Symbolics.jl with Linear Algebra+derivative](https://discourse.julialang.org/t/symbolics-jl-with-linear-algebra-derivative/118807)

<div class="topic-metadata">

**Author:** [@arnerob](https://discourse.julialang.org/u/arnerob)\
**Replies:** 1\
**Last updated:** [August 30, 2024, 1:13pm UTC](https://discourse.julialang.org/t/symbolics-jl-with-linear-algebra-derivative/118807 "2024-08-30T13:13:17Z")

</div>

I am trying to use Symbolics.derivative and Linear Algebra. I am confused with how things work and I am stuck with a specific problem that I have reduced to a MWE. using Symbolics @variables x A\[1:3,1:3\] v=\[1,x,x^2\] Sym…

---

## [Installation fails (on Ubuntu 22) when using instruction (via curl): \`curl: (23) Failure writing output to destination\`](https://discourse.julialang.org/t/installation-fails-on-ubuntu-22-when-using-instruction-via-curl-curl-23-failure-writing-output-to-destination/110977)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 22\
**Last updated:** [August 30, 2024, 1:04pm UTC](https://discourse.julialang.org/t/installation-fails-on-ubuntu-22-when-using-instruction-via-curl-curl-23-failure-writing-output-to-destination/110977 "2024-08-30T13:04:58Z")

</div>

I have a new ubuntu 22 computer, and try to install Julia via: $ curl -fsSL https://install.julialang.org | sh info: downloading installer curl: (23) Failure writing output to destination juliaup: command failed: downl…

---

## [Sharing precompiled code across docker images](https://discourse.julialang.org/t/sharing-precompiled-code-across-docker-images/68229)

<div class="topic-metadata">

**Author:** [@racinmat](https://discourse.julialang.org/u/racinmat)\
**Replies:** 5\
**Last updated:** [August 30, 2024, 11:21am UTC](https://discourse.julialang.org/t/sharing-precompiled-code-across-docker-images/68229 "2024-08-30T11:21:28Z")

</div>

I’m struggling with the precompilation time in julia inside docker image. We have some projects in julia in docker, and we’re doing changes quite often to this project, but the packages that take most time to precompile…

---

## [Julia 1.11 ignoring cache file ... since it does not provide desired build\_id](https://discourse.julialang.org/t/julia-1-11-ignoring-cache-file-since-it-does-not-provide-desired-build-id/118804)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 0\
**Last updated:** [August 30, 2024, 11:14am UTC](https://discourse.julialang.org/t/julia-1-11-ignoring-cache-file-since-it-does-not-provide-desired-build-id/118804 "2024-08-30T11:14:26Z")

</div>

I am trying to cache the .julia/compiled folder, and already switched to using v1.11 rc, but stumbled upon outputs similar to the following Debug: Ignoring cache file /home/jolin\_user/.julia/compiled/v1.11/Libgpg\_error…

---

## [ERROR: ArgumentError: EPSG/ESRI code for the ESRI ID "GCS\_North\_American\_1983" not found in dictionary](https://discourse.julialang.org/t/error-argumenterror-epsg-esri-code-for-the-esri-id-gcs-north-american-1983-not-found-in-dictionary/118794)

<div class="topic-metadata">

**Author:** [@imantha](https://discourse.julialang.org/u/imantha)\
**Replies:** 5\
**Last updated:** [August 30, 2024, 11:03am UTC](https://discourse.julialang.org/t/error-argumenterror-epsg-esri-code-for-the-esri-id-gcs-north-american-1983-not-found-in-dictionary/118794 "2024-08-30T11:03:41Z")

</div>

Any one can help me with this error when attempting read a shape file using GeoIO using GeoIO df\_lo = GeoIO.load("data/processed/low/us\_division\_2018/us\_division\_2018.shp") \>\>\> ERROR: ArgumentError: EPSG/ESRI code for …

---

## [Meetup in Amsterdam (Netherlands)](https://discourse.julialang.org/t/meetup-in-amsterdam-netherlands/109874)

<div class="topic-metadata">

**Author:** [@abelsiqueira](https://discourse.julialang.org/u/abelsiqueira)\
**Replies:** 6\
**Last updated:** [August 30, 2024, 10:45am UTC](https://discourse.julialang.org/t/meetup-in-amsterdam-netherlands/109874 "2024-08-30T10:45:52Z")

</div>

Hello, we are trying to start a Julia meetup in Amsterdam. If this sounds like something of interest to you, help by filling this form: https://forms.gle/CDTVtBoC3iRD6dJt9 Also, please share.

---

## [How do I import t\_nounits with a different name than t in ModelingToolkit?](https://discourse.julialang.org/t/how-do-i-import-t-nounits-with-a-different-name-than-t-in-modelingtoolkit/118640)

<div class="topic-metadata">

**Author:** [@pmc4](https://discourse.julialang.org/u/pmc4)\
**Replies:** 4\
**Last updated:** [August 30, 2024, 10:10am UTC](https://discourse.julialang.org/t/how-do-i-import-t-nounits-with-a-different-name-than-t-in-modelingtoolkit/118640 "2024-08-30T10:10:59Z")

</div>

Hi everyone! I’ve been playing with ModelingToolkit for several weeks, but there’s still one issue I haven’t been able to fully understand. In the NEWS.md file of the github repo, it states: ModelingToolkit.jl now exp…

---

## [Error in Julia v1.11 when updating Registry or packages](https://discourse.julialang.org/t/error-in-julia-v1-11-when-updating-registry-or-packages/114547)

<div class="topic-metadata">

**Author:** [@nandoconde](https://discourse.julialang.org/u/nandoconde)\
**Replies:** 9\
**Last updated:** [August 30, 2024, 7:10am UTC](https://discourse.julialang.org/t/error-in-julia-v1-11-when-updating-registry-or-packages/114547 "2024-08-30T07:10:25Z")

</div>

Problem I installed Julia with juliaup in Windows, and I am currently on v1.11 beta. When I try to run \] update the following appears: (@v1.11) pkg\> update ┌ Warning: could not download https://pkg.julialang.org/registr…

---

## [LoopVectorization.vsum : invalid index: 4 x VectorizationBase.Vec](https://discourse.julialang.org/t/loopvectorization-vsum-invalid-index-4-x-vectorizationbase-vec/118297)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 1\
**Last updated:** [August 17, 2024, 2:06pm UTC](https://discourse.julialang.org/t/loopvectorization-vsum-invalid-index-4-x-vectorizationbase-vec/118297 "2024-08-17T14:06:15Z")

</div>

What’s wrong here? using LoopVectorization let n = 10000, k = 3, A = rand(n, k) sum(1:n) do i A\[i,1\] end # ok vsum(1:n) do i A\[i,1\] end #= ERROR: ArgumentError: invalid index: 4 …

---

## [Get the maximum value by row in a DataFrame containing missing values](https://discourse.julialang.org/t/get-the-maximum-value-by-row-in-a-dataframe-containing-missing-values/118777)

<div class="topic-metadata">

**Author:** [@feanor12](https://discourse.julialang.org/u/feanor12)\
**Replies:** 10\
**Last updated:** [August 30, 2024, 5:37am UTC](https://discourse.julialang.org/t/get-the-maximum-value-by-row-in-a-dataframe-containing-missing-values/118777 "2024-08-30T05:37:15Z")

</div>

I want to aggregate data over rows, which works well if the row contains some values. When the data row is empty maximum throws an error. Maybe someone has an idea how to make this faster. My table has usually about r…

---

## [Current State of Hyperparameter Tuning?](https://discourse.julialang.org/t/current-state-of-hyperparameter-tuning/118701)

<div class="topic-metadata">

**Author:** [@jacobadenbaum](https://discourse.julialang.org/u/jacobadenbaum)\
**Replies:** 1\
**Last updated:** [August 30, 2024, 4:19am UTC](https://discourse.julialang.org/t/current-state-of-hyperparameter-tuning/118701 "2024-08-30T04:19:55Z")

</div>

For people who work on machine learning, I’m trying to figure out what is the state of the art for packages/methods to do hyperparameter tuning. I see there is a package Hyperopt.jl, which has a lot of contributions but…

---

## [\[ANN\] CUTEst.jl: Enhanced support for single, double, and quadruple precision](https://discourse.julialang.org/t/ann-cutest-jl-enhanced-support-for-single-double-and-quadruple-precision/118788)

<div class="topic-metadata">

**Author:** [@amontoison](https://discourse.julialang.org/u/amontoison)\
**Replies:** 0\
**Last updated:** [August 30, 2024, 12:40am UTC](https://discourse.julialang.org/t/ann-cutest-jl-enhanced-support-for-single-double-and-quadruple-precision/118788 "2024-08-30T00:40:55Z")

</div>

Dear Julia Community, We are thrilled to announce the release 1.0.0 of CUTEst.jl, a powerful interface for testing and benchmarking optimization problems in Julia. This latest release introduces support for single, doub…

---

## [Package pretty tree](https://discourse.julialang.org/t/package-pretty-tree/118578)

<div class="topic-metadata">

**Author:** [@AlexisRenchon](https://discourse.julialang.org/u/AlexisRenchon)\
**Replies:** 10\
**Last updated:** [August 30, 2024, 12:09am UTC](https://discourse.julialang.org/t/package-pretty-tree/118578 "2024-08-30T00:09:13Z")

</div>

Hello, So I may be wrong, but I have been looking and asking around, and I found no package that builds a pretty tree of a package content. Something like this: ClimaLand ├─ Artifacts ├─ Bucket ├─ Canopy │ └─ PlantHy…

---

## [Struggling with defining a good factorization rule in SymbolicUtils.jl](https://discourse.julialang.org/t/struggling-with-defining-a-good-factorization-rule-in-symbolicutils-jl/111522)

<div class="topic-metadata">

**Author:** [@Alseidon](https://discourse.julialang.org/u/Alseidon)\
**Replies:** 8\
**Last updated:** [August 29, 2024, 11:07pm UTC](https://discourse.julialang.org/t/struggling-with-defining-a-good-factorization-rule-in-symbolicutils-jl/111522 "2024-08-29T23:07:03Z")

</div>

I started playing with Symbolics.jl but started needing more rewriting rules than what’s currently proposed. Taking a quick look at the rewrite docs, I don’t understand why some of the examples below don’t work. using S…

---

## [Animation with start and stop control in Plots.jl?](https://discourse.julialang.org/t/animation-with-start-and-stop-control-in-plots-jl/118729)

<div class="topic-metadata">

**Author:** [@BVPs](https://discourse.julialang.org/u/BVPs)\
**Replies:** 3\
**Last updated:** [August 29, 2024, 9:44pm UTC](https://discourse.julialang.org/t/animation-with-start-and-stop-control-in-plots-jl/118729 "2024-08-29T21:44:32Z")

</div>

Hello. I started my experiments on animations using Plots.jl. There is a quite useful webpage: Animations with Plots.jl (juliafordatascience.com) Using @animate or @gif macros, it’s quite easy to generate animations. H…

---

## [Why keyword \`struct\` is used instead of \`type\` for type definition?](https://discourse.julialang.org/t/why-keyword-struct-is-used-instead-of-type-for-type-definition/118774)

<div class="topic-metadata">

**Author:** [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Replies:** 3\
**Last updated:** [August 29, 2024, 9:23pm UTC](https://discourse.julialang.org/t/why-keyword-struct-is-used-instead-of-type-for-type-definition/118774 "2024-08-29T21:23:45Z")

</div>

basically the word “type” is used everywhere in docs and function names like typeof(). So, why use the keyword struct but not type in type definition??

---

## [Bug in write\_to\_file for max-type problems in bilinear terms?](https://discourse.julialang.org/t/bug-in-write-to-file-for-max-type-problems-in-bilinear-terms/118781)

<div class="topic-metadata">

**Author:** [@anogaja](https://discourse.julialang.org/u/anogaja)\
**Replies:** 2\
**Last updated:** [August 29, 2024, 9:16pm UTC](https://discourse.julialang.org/t/bug-in-write-to-file-for-max-type-problems-in-bilinear-terms/118781 "2024-08-29T21:16:50Z")

</div>

The max objective problem in JuMP when written to an mps file is converted to a min type objective by flipping the signs. However, it didn’t do it for the bilinear terms in the objective. Am I missing something? Follow…

---

## [Add coordinate transformation before first layer in NeuralPDE.jl](https://discourse.julialang.org/t/add-coordinate-transformation-before-first-layer-in-neuralpde-jl/118769)

<div class="topic-metadata">

**Author:** [@nico](https://discourse.julialang.org/u/nico)\
**Replies:** 5\
**Last updated:** [August 29, 2024, 8:16pm UTC](https://discourse.julialang.org/t/add-coordinate-transformation-before-first-layer-in-neuralpde-jl/118769 "2024-08-29T20:16:54Z")

</div>

Hi, I woud like to add a transformation to the coordinates x and y before they are passed to the first layer of a neural net defined with Lux using NerualPDE.jl. I am implementing physics informed neural networks. The …

---

## [Matrix multiplication time with JuMP variables](https://discourse.julialang.org/t/matrix-multiplication-time-with-jump-variables/118650)

<div class="topic-metadata">

**Author:** [@mhar](https://discourse.julialang.org/u/mhar)\
**Replies:** 5\
**Last updated:** [August 29, 2024, 7:59pm UTC](https://discourse.julialang.org/t/matrix-multiplication-time-with-jump-variables/118650 "2024-08-29T19:59:40Z")

</div>

I am using JuMP to solve some large problems. A bottleneck right now is computing a matrix-vector product. M is a short and fat matrix of floats, and x is a variable vector. Mx will be a vector of moderate length, but f…

---

## [\[Workgroup\] JuliaHealth Meeting – August 29th, 2024](https://discourse.julialang.org/t/workgroup-juliahealth-meeting-august-29th-2024/118541)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 3\
**Last updated:** [August 29, 2024, 7:48pm UTC](https://discourse.julialang.org/t/workgroup-juliahealth-meeting-august-29th-2024/118541 "2024-08-29T19:48:24Z")

</div>

Hi everyone! :wave: Next week is our monthly meeting! It’s been a while so we have some catching up to do: New attendee introductions New contributor round-up! JuliaHealth News GSoC Reminders JuliaHealth Fall Hack-a-…

---

## [How can I find out why julia crashed?](https://discourse.julialang.org/t/how-can-i-find-out-why-julia-crashed/118467)

<div class="topic-metadata">

**Author:** [@maxfreu](https://discourse.julialang.org/u/maxfreu)\
**Replies:** 14\
**Last updated:** [August 29, 2024, 7:47pm UTC](https://discourse.julialang.org/t/how-can-i-find-out-why-julia-crashed/118467 "2024-08-29T19:47:37Z")

</div>

Hi! I’m working with julia in vscode. A couple of times a day it crashes. By crashing I mean the julia repl closes and I’m dropped into the terminal. Sometimes I get a short glimpse of some error printout from the linux …

---

## [Simple use of Geodesy.jl to get euclidean distances?](https://discourse.julialang.org/t/simple-use-of-geodesy-jl-to-get-euclidean-distances/118680)

<div class="topic-metadata">

**Author:** [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Replies:** 23\
**Last updated:** [August 29, 2024, 6:35pm UTC](https://discourse.julialang.org/t/simple-use-of-geodesy-jl-to-get-euclidean-distances/118680 "2024-08-29T18:35:22Z")

</div>

Hey Geo-computing experts. I’m working on a project involving migration of people between locations. We started with German data, where coordinates were already taken care of for me, and now I’ve got data from US Census …

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

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