# Latest

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

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

**Page:** 384

---

## [\[ANN\] AirspeedVelocity.jl - easily benchmark Julia packages over their lifetime](https://discourse.julialang.org/t/ann-airspeedvelocity-jl-easily-benchmark-julia-packages-over-their-lifetime/97221)

<div class="topic-metadata">

**Author:** [@MilesCranmer](https://discourse.julialang.org/u/MilesCranmer)\
**Replies:** 7\
**Last updated:** [June 19, 2024, 6:59am UTC](https://discourse.julialang.org/t/ann-airspeedvelocity-jl-easily-benchmark-julia-packages-over-their-lifetime/97221 "2024-06-19T06:59:32Z")

</div>

AirspeedVelocity.jl AirspeedVelocity.jl tries to make it easier to benchmark Julia packages over their lifetime. It is inspired by, and takes its name from, asv, (and aspires to one day have as nice a UI). Basically,…

---

## [The specification of Julia for reading text files and the different behavior between operating systems](https://discourse.julialang.org/t/the-specification-of-julia-for-reading-text-files-and-the-different-behavior-between-operating-systems/115839)

<div class="topic-metadata">

**Author:** [@paalon](https://discourse.julialang.org/u/paalon)\
**Replies:** 2\
**Last updated:** [June 19, 2024, 5:08am UTC](https://discourse.julialang.org/t/the-specification-of-julia-for-reading-text-files-and-the-different-behavior-between-operating-systems/115839 "2024-06-19T05:08:34Z")

</div>

What is the specification of Julia for reading text files which have newlines (e.g. "\\n", "\\r\\n", "\\r")? My program has a bug related to the different behavior between operating systems about newlines. I made a followin…

---

## [Performance/language benchmark](https://discourse.julialang.org/t/performance-language-benchmark/115840)

<div class="topic-metadata">

**Author:** [@rfateman](https://discourse.julialang.org/u/rfateman)\
**Replies:** 0\
**Last updated:** [June 19, 2024, 3:52am UTC](https://discourse.julialang.org/t/performance-language-benchmark/115840 "2024-06-19T03:52:08Z")

</div>

Here’s an old unpublished paper with a simple-to-program slightly symbolic task that might appeal to the Python vs Julia vs Magma vs SML… … benchmarkers. ./ Simulating Cellular Automata: A Challenge for Programming Lan…

---

## [How to create adaptive meshes](https://discourse.julialang.org/t/how-to-create-adaptive-meshes/115837)

<div class="topic-metadata">

**Author:** [@Cyan](https://discourse.julialang.org/u/Cyan)\
**Replies:** 0\
**Last updated:** [June 19, 2024, 1:03am UTC](https://discourse.julialang.org/t/how-to-create-adaptive-meshes/115837 "2024-06-19T01:03:23Z")

</div>

I have a gray scale picture, how can I make more points near the bright area and less grid in dark area?

---

## [What's the deal with StaticArrays?](https://discourse.julialang.org/t/whats-the-deal-with-staticarrays/115816)

<div class="topic-metadata">

**Author:** [@sadish-d](https://discourse.julialang.org/u/sadish-d)\
**Replies:** 5\
**Last updated:** [June 19, 2024, 12:23am UTC](https://discourse.julialang.org/t/whats-the-deal-with-staticarrays/115816 "2024-06-19T00:23:09Z")

</div>

First, disclaimer that I have a shallow understanding of heap and stack and allocations. Given that, here is my basic understanding of StaticArrays: They are appropriate when there are lots of small arrays involved becau…

---

## [String broadcasting](https://discourse.julialang.org/t/string-broadcasting/115621)

<div class="topic-metadata">

**Author:** [@martin\_sanchez](https://discourse.julialang.org/u/martin_sanchez)\
**Replies:** 5\
**Last updated:** [June 18, 2024, 9:54pm UTC](https://discourse.julialang.org/t/string-broadcasting/115621 "2024-06-18T21:54:36Z")

</div>

So I was following a tutorial, but I got confused when they showed the following code: vec(string.(\[“x”,“y”\],\[1 2 3 4\])) First, how am I supposed to infer the broadcasting of string given a vector and a matrix will re…

---

## [Documenter.jl Error: no docs found](https://discourse.julialang.org/t/documenter-jl-error-no-docs-found/115812)

<div class="topic-metadata">

**Author:** [@Marco-Congedo](https://discourse.julialang.org/u/Marco-Congedo)\
**Replies:** 5\
**Last updated:** [June 18, 2024, 9:04pm UTC](https://discourse.julialang.org/t/documenter-jl-error-no-docs-found/115812 "2024-06-18T21:04:49Z")

</div>

I am working on the documentation of a new package to be released soon. I am running locally a very simple version of the make.jl file to debug a partial version of the documentation using argument remotes = nothing in t…

---

## [Transfer ClusteringAPI.jl to JuliaStats](https://discourse.julialang.org/t/transfer-clusteringapi-jl-to-juliastats/114187)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 7\
**Last updated:** [June 18, 2024, 7:46pm UTC](https://discourse.julialang.org/t/transfer-clusteringapi-jl-to-juliastats/114187 "2024-06-18T19:46:06Z")

</div>

Hi, I’ve tried to find a JuliaStats org admin on Slack, but was unsuccessful. The GitHub website also doesn’t tell me who to reach out to in private, so I hope someone can see this in this post instead! I would like to…

---

## [How to transform CRS of entire shapefile (not a single point)?](https://discourse.julialang.org/t/how-to-transform-crs-of-entire-shapefile-not-a-single-point/84489)

<div class="topic-metadata">

**Author:** [@floswald](https://discourse.julialang.org/u/floswald)\
**Replies:** 6\
**Last updated:** [June 18, 2024, 6:45pm UTC](https://discourse.julialang.org/t/how-to-transform-crs-of-entire-shapefile-not-a-single-point/84489 "2024-06-18T18:45:04Z")

</div>

I could not find a way to transform an entire shapefile into another crs. There are too many options for a first time user. ArchGDAL.jl? Proj4? To me it seems reasonable that the Shapefile package should have a transform …

---

## [Polygonize a Raster](https://discourse.julialang.org/t/polygonize-a-raster/114189)

<div class="topic-metadata">

**Author:** [@consumere](https://discourse.julialang.org/u/consumere)\
**Replies:** 11\
**Last updated:** [June 18, 2024, 6:42pm UTC](https://discourse.julialang.org/t/polygonize-a-raster/114189 "2024-06-18T18:42:53Z")

</div>

Hello there, i know there is ArchGDAL.polygonize|\>methods \[1\] polygonize(f::Function, args...; kwargs...) @ \[2\] polygonize(geom::ArchGDAL.AbstractGeometry) and one could use PyCall or RCall to polygonize a ras…

---

## [No Intellisense when Importing](https://discourse.julialang.org/t/no-intellisense-when-importing/115817)

<div class="topic-metadata">

**Author:** [@co1emi11er](https://discourse.julialang.org/u/co1emi11er)\
**Replies:** 3\
**Last updated:** [June 18, 2024, 6:14pm UTC](https://discourse.julialang.org/t/no-intellisense-when-importing/115817 "2024-06-18T18:14:45Z")

</div>

I don’t get any intellisense when I do: import Plots as plt If I type plt. I don’t see anything in vscode. Is that normal?

---

## [Why Swift's type checker is so slow](https://discourse.julialang.org/t/why-swifts-type-checker-is-so-slow/115759)

<div class="topic-metadata">

**Author:** [@xiaoxi](https://discourse.julialang.org/u/xiaoxi)\
**Replies:** 9\
**Last updated:** [June 18, 2024, 4:41pm UTC](https://discourse.julialang.org/t/why-swifts-type-checker-is-so-slow/115759 "2024-06-18T16:41:03Z")

</div>

Does Julia’s type checker show these problems too? By the way, there is a document explaining the Swift’s type checker.

---

## [Neural Networks to describe binary-black-holes trajectories](https://discourse.julialang.org/t/neural-networks-to-describe-binary-black-holes-trajectories/115769)

<div class="topic-metadata">

**Author:** [@Jose\_P](https://discourse.julialang.org/u/Jose_P)\
**Replies:** 4\
**Last updated:** [June 18, 2024, 4:37pm UTC](https://discourse.julialang.org/t/neural-networks-to-describe-binary-black-holes-trajectories/115769 "2024-06-18T16:37:32Z")

</div>

Hello everyone! I am new to Julia and currently working on a project that involves using neural networks to describe geodesics around a black hole. I am encountering an error ‘type Array has no field layer\_1,’ and I am u…

---

## [Integrate Julia simulations in a web page with Javascript](https://discourse.julialang.org/t/integrate-julia-simulations-in-a-web-page-with-javascript/114645)

<div class="topic-metadata">

**Author:** [@cmdenis](https://discourse.julialang.org/u/cmdenis)\
**Replies:** 8\
**Last updated:** [June 18, 2024, 3:19pm UTC](https://discourse.julialang.org/t/integrate-julia-simulations-in-a-web-page-with-javascript/114645 "2024-06-18T15:19:03Z")

</div>

Hello! Disclaimer: I have very little experience with deploying web apps, so perhaps I am going about this totally wrong. Feel free to correct me if I’m thinking about this wrong :slight\_smile: Background: I have some…

---

## [InexactError: Int64](https://discourse.julialang.org/t/inexacterror-int64/115803)

<div class="topic-metadata">

**Author:** [@evansenvy](https://discourse.julialang.org/u/evansenvy)\
**Replies:** 2\
**Last updated:** [June 18, 2024, 12:54pm UTC](https://discourse.julialang.org/t/inexacterror-int64/115803 "2024-06-18T12:54:12Z")

</div>

Hi, I am encountering this error- InexactError: Int64. InexactError: Int64(2.5) When I search for this I got this article \[unrelated blogspam link redacted\] and as per this, explaining an answer in which they are talk…

---

## [How to debug generated function and FunctionWrappers?](https://discourse.julialang.org/t/how-to-debug-generated-function-and-functionwrappers/115804)

<div class="topic-metadata">

**Author:** [@wangyunyueyueniao](https://discourse.julialang.org/u/wangyunyueyueniao)\
**Replies:** 0\
**Last updated:** [June 18, 2024, 12:45pm UTC](https://discourse.julialang.org/t/how-to-debug-generated-function-and-functionwrappers/115804 "2024-06-18T12:45:06Z")

</div>

I need to step through a wrapped generated function in OrdinaryDiffEq. However I don’t even know how to debug in a generated function nor a wrapped function (which is a pointer in wrapper). Could someone please show me a…

---

## [\[GLMakie\] Objects are still displayed after \`delete!()\`](https://discourse.julialang.org/t/glmakie-objects-are-still-displayed-after-delete/115793)

<div class="topic-metadata">

**Author:** [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Replies:** 4\
**Last updated:** [June 18, 2024, 9:43am UTC](https://discourse.julialang.org/t/glmakie-objects-are-still-displayed-after-delete/115793 "2024-06-18T09:43:40Z")

</div>

I am currently working on the next release of an interactive 3D display for neutrino events and the main new feature is the ability to interact with the scene from the Julia REPL. Modifying existing objects (colouring an…

---

## [Legend position for 3D plots](https://discourse.julialang.org/t/legend-position-for-3d-plots/115539)

<div class="topic-metadata">

**Author:** [@HahaRIP](https://discourse.julialang.org/u/HahaRIP)\
**Replies:** 2\
**Last updated:** [June 18, 2024, 9:35am UTC](https://discourse.julialang.org/t/legend-position-for-3d-plots/115539 "2024-06-18T09:35:54Z")

</div>

Hey, I am plotting surfaces which have some small values and I need the legend. But the problem is that the legend goes out of the image and can’t see the values. I tried positioning the legend, but could not move it at …

---

## [Problems with Agent constructors](https://discourse.julialang.org/t/problems-with-agent-constructors/115761)

<div class="topic-metadata">

**Author:** [@stefkuypers](https://discourse.julialang.org/u/stefkuypers)\
**Replies:** 8\
**Last updated:** [June 18, 2024, 9:34am UTC](https://discourse.julialang.org/t/problems-with-agent-constructors/115761 "2024-06-18T09:34:28Z")

</div>

I’m probably not seeing something obvious but for some reason I have one Agent for which the constructor works and another one for which I get an error when I try to call the constructor and I have no clue why. Here is …

---

## [Error: Position is outside space extent](https://discourse.julialang.org/t/error-position-is-outside-space-extent/115790)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 1\
**Last updated:** [June 18, 2024, 9:07am UTC](https://discourse.julialang.org/t/error-position-is-outside-space-extent/115790 "2024-06-18T09:07:57Z")

</div>

I’m working with continuous time ABM. For my model just changing radius of agent lead to this error which doesn’t make sense. Error: ERROR: position is outside space extent! Stacktrace: \[1\] error(s::String) @ Bas…

---

## [Pluto --- Function barrier](https://discourse.julialang.org/t/pluto-function-barrier/59736)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 6\
**Last updated:** [June 18, 2024, 8:12am UTC](https://discourse.julialang.org/t/pluto-function-barrier/59736 "2024-06-18T08:12:54Z")

</div>

Dear all, I am sure that this was here solved / asked before, but i have not found the answer. I am playing with the idea of implementing a visual frontend for Mill / JsonGrinder, which will allow you to upload the tra…

---

## [Problem reading ROOT branch containing Strings with UnROOT.jl](https://discourse.julialang.org/t/problem-reading-root-branch-containing-strings-with-unroot-jl/115671)

<div class="topic-metadata">

**Author:** [@GSavvidis](https://discourse.julialang.org/u/GSavvidis)\
**Replies:** 7\
**Last updated:** [June 18, 2024, 7:19am UTC](https://discourse.julialang.org/t/problem-reading-root-branch-containing-strings-with-unroot-jl/115671 "2024-06-18T07:19:47Z")

</div>

Hello, I’m using Geant4 to simulate some decays and I’m saving the result in a root file which I then read with UnROOT.jl. I have the following code: using DrWatson quickactivate(@\_\_DIR\_\_) using UnROOT f = UnROOT.ROO…

---

## [How to build Stacked RNN in Flux.jl?](https://discourse.julialang.org/t/how-to-build-stacked-rnn-in-flux-jl/115098)

<div class="topic-metadata">

**Author:** [@NeroBlackstone](https://discourse.julialang.org/u/NeroBlackstone)\
**Replies:** 1\
**Last updated:** [June 18, 2024, 2:25am UTC](https://discourse.julialang.org/t/how-to-build-stacked-rnn-in-flux-jl/115098 "2024-06-18T02:25:17Z")

</div>

How to build Stacked RNN in Flux.jl? Is the following code the correct way? using Flux model = Chain(GRUv3(27 =\> 32),GRUv3(32 =\> 32),Dense(32 =\> 27)) Chain( Recur( GRUv3Cell(27 =\> 32), # 5\_792 par…

---

## [Aggresive garbage collection behavior with DataFrames in 1.10?](https://discourse.julialang.org/t/aggresive-garbage-collection-behavior-with-dataframes-in-1-10/115785)

<div class="topic-metadata">

**Author:** [@james\_thomas](https://discourse.julialang.org/u/james_thomas)\
**Replies:** 0\
**Last updated:** [June 18, 2024, 2:06am UTC](https://discourse.julialang.org/t/aggresive-garbage-collection-behavior-with-dataframes-in-1-10/115785 "2024-06-18T02:06:53Z")

</div>

I’m seeing some unexpected behavior with garbage collection in 1.10 while working with large DataFrames in the REPL. If I run this (simplified example) code in 1.10.4: using DataFrames …

---

## [Why isn't mixture model sampling in Turing?](https://discourse.julialang.org/t/why-isnt-mixture-model-sampling-in-turing/115752)

<div class="topic-metadata">

**Author:** [@Cascobayesian](https://discourse.julialang.org/u/Cascobayesian)\
**Replies:** 2\
**Last updated:** [June 18, 2024, 1:43am UTC](https://discourse.julialang.org/t/why-isnt-mixture-model-sampling-in-turing/115752 "2024-06-18T01:43:43Z")

</div>

Hello! I’m new to Julia but very excited by the possibilities. I’m particularly interested in using Turing to fit mixture models. However, in building up some non-trivial mixture examples, I’ve encountered an issue I ju…

---

## [ModelingToolkit/ ODESystem in Turing](https://discourse.julialang.org/t/modelingtoolkit-odesystem-in-turing/115700)

<div class="topic-metadata">

**Author:** [@Sam\_P](https://discourse.julialang.org/u/Sam_P)\
**Replies:** 15\
**Last updated:** [June 18, 2024, 12:57am UTC](https://discourse.julialang.org/t/modelingtoolkit-odesystem-in-turing/115700 "2024-06-18T00:57:47Z")

</div>

Hi all, Just been playing around with the DifferentialEquation and ModelingToolkit systems within Turing and spotted the behaviour below. Setting up the system and generating synthetic data: using ModelingToolkit, Di…

---

## [How do I correctly make an "interface" in Julia?](https://discourse.julialang.org/t/how-do-i-correctly-make-an-interface-in-julia/115676)

<div class="topic-metadata">

**Author:** [@vshesh](https://discourse.julialang.org/u/vshesh)\
**Replies:** 11\
**Last updated:** [June 17, 2024, 11:43pm UTC](https://discourse.julialang.org/t/how-do-i-correctly-make-an-interface-in-julia/115676 "2024-06-17T23:43:04Z")

</div>

With multiple dispatch I am able to specialize any function already written to a type, but when it comes time to define my own “interfaces” (although here they are just generic functions) I get a bit confused. I want to…

---

## [Co-optimizing renewables - SDDP.jl - Policy Graph](https://discourse.julialang.org/t/co-optimizing-renewables-sddp-jl-policy-graph/115289)

<div class="topic-metadata">

**Author:** [@Sorooshsa](https://discourse.julialang.org/u/Sorooshsa)\
**Replies:** 6\
**Last updated:** [June 17, 2024, 9:02pm UTC](https://discourse.julialang.org/t/co-optimizing-renewables-sddp-jl-policy-graph/115289 "2024-06-17T21:02:12Z")

</div>

Hi, I am working on co-optimizing renewables (wind and hydro) expansion and generation while accounting for uncertainty in the generation part. In these problems, one of the common issues is non-linearity in the constra…

---

## [@mtkmodel-ize LimPI](https://discourse.julialang.org/t/mtkmodel-ize-limpi/113440)

<div class="topic-metadata">

**Author:** [@gruemelmonster](https://discourse.julialang.org/u/gruemelmonster)\
**Replies:** 8\
**Last updated:** [June 17, 2024, 7:49pm UTC](https://discourse.julialang.org/t/mtkmodel-ize-limpi/113440 "2024-06-17T19:49:20Z")

</div>

I am playing around to get some motor control simulations running with modeling toolkit. Last time I did that it was 2y ago so the syntax has changed (and got more simple to read). While trying to implement a timediscre…

---

## [Overhead of view / reshape / transpose in linear algebra](https://discourse.julialang.org/t/overhead-of-view-reshape-transpose-in-linear-algebra/110761)

<div class="topic-metadata">

**Author:** [@jsjie](https://discourse.julialang.org/u/jsjie)\
**Replies:** 8\
**Last updated:** [June 17, 2024, 7:27pm UTC](https://discourse.julialang.org/t/overhead-of-view-reshape-transpose-in-linear-algebra/110761 "2024-06-17T19:27:37Z")

</div>

An example: reshape + view + ' for transpose + mul! will have some overhead. using Random using LinearAlgebra using BenchmarkTools buf = zeros(1000) v1 = reshape(view(buf, 1:100), (20, 5)) v2 = view(v1, 1:16, :) m3 = ze…

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

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