# Latest

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

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

**Page:** 298

---

## [FrankenTuple Fun](https://discourse.julialang.org/t/frankentuple-fun/91507)

<div class="topic-metadata">

**Author:** [@uniment](https://discourse.julialang.org/u/uniment)\
**Replies:** 0\
**Last updated:** [December 10, 2022, 11:18am UTC](https://discourse.julialang.org/t/frankentuple-fun/91507 "2022-12-10T11:18:32Z")

</div>

Yes, but (a; b) is horrible. That should be syntax for FrankenTuples . and and Turns out that (a,; b) parses, and has for awhile (according to this time machine): An experiment with FrankenTuples: julia\> us…

---

## [Sampling random points in LINESTRING geometry](https://discourse.julialang.org/t/sampling-random-points-in-linestring-geometry/121429)

<div class="topic-metadata">

**Author:** [@miguelborrero](https://discourse.julialang.org/u/miguelborrero)\
**Replies:** 7\
**Last updated:** [October 18, 2024, 12:07am UTC](https://discourse.julialang.org/t/sampling-random-points-in-linestring-geometry/121429 "2024-10-18T00:07:33Z")

</div>

Hi there, I a new user of the geo-tools in general, not only within the Julia ecosystem and I am trying to sample randomly from a LINESTRING LibGEOS geometry but the only function that seemed potentially useful is point…

---

## [Struggling with Julia and large datasets](https://discourse.julialang.org/t/struggling-with-julia-and-large-datasets/56916)

<div class="topic-metadata">

**Author:** [@sampope](https://discourse.julialang.org/u/sampope)\
**Replies:** 67\
**Last updated:** [October 17, 2024, 11:42pm UTC](https://discourse.julialang.org/t/struggling-with-julia-and-large-datasets/56916 "2024-10-17T23:42:00Z")

</div>

TLDR: Skip to the 3rd paragraph for the questions. backstory I’m working with a decent sized dataset, around 100 billion log lines from sensor data, updating at 258 million lines per day at nanosecond resolution. Origin…

---

## [Using NonlinearSolve with autodiff](https://discourse.julialang.org/t/using-nonlinearsolve-with-autodiff/121333)

<div class="topic-metadata">

**Author:** [@albertomercurio](https://discourse.julialang.org/u/albertomercurio)\
**Replies:** 9\
**Last updated:** [October 17, 2024, 9:18pm UTC](https://discourse.julialang.org/t/using-nonlinearsolve-with-autodiff/121333 "2024-10-17T21:18:38Z")

</div>

Hello, I was trying to test NonlinearSolve.jl with automatic differentiation like Enzyme.jl or Zygote.jl. But the following simple code fails f(x, p) = p.a \* x^2 - p.b prob = NonlinearProblem(f, 0.0, (a=1.0, b=2.0)) so…

---

## [Tooling for VSCode / LSP](https://discourse.julialang.org/t/tooling-for-vscode-lsp/109460)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 18\
**Last updated:** [October 17, 2024, 8:54pm UTC](https://discourse.julialang.org/t/tooling-for-vscode-lsp/109460 "2024-10-17T20:54:26Z")

</div>

One can find this information at Julia in Visual Studio Code. It sounds appealingly simple, but there are caveats. Multiple issues have been filed pointing to the difficulty of using LSP in VSCode. For instance Lang…

---

## [Error in REPL when entering package mode in Julia 1.11](https://discourse.julialang.org/t/error-in-repl-when-entering-package-mode-in-julia-1-11/121097)

<div class="topic-metadata">

**Author:** [@Nikos\_Gianniotis](https://discourse.julialang.org/u/Nikos_Gianniotis)\
**Replies:** 10\
**Last updated:** [October 17, 2024, 8:49pm UTC](https://discourse.julialang.org/t/error-in-repl-when-entering-package-mode-in-julia-1-11/121097 "2024-10-17T20:49:53Z")

</div>

I installed the new Julia version 1.11 using juliaup on my linux machine. I start julia without any flags. My startup.jl script is empty. If enter package mode and attempt to install a package to my empty registry, usi…

---

## [PackageCompiler app with proprietary modules, non "registered"](https://discourse.julialang.org/t/packagecompiler-app-with-proprietary-modules-non-registered/77285)

<div class="topic-metadata">

**Author:** [@xor0110](https://discourse.julialang.org/u/xor0110)\
**Replies:** 0\
**Last updated:** [March 2, 2022, 9:44am UTC](https://discourse.julialang.org/t/packagecompiler-app-with-proprietary-modules-non-registered/77285 "2022-03-02T09:44:03Z")

</div>

I’m trying to use PackageCompiler with a microservice based on HTTP.jl. My project also depends on proprietary modules that are not FOSS projects in GitHub. Everything works fine if I run the code. PackageCompiler.create…

---

## [Creating an Electron App](https://discourse.julialang.org/t/creating-an-electron-app/93166)

<div class="topic-metadata">

**Author:** [@sschmidhuber](https://discourse.julialang.org/u/sschmidhuber)\
**Replies:** 0\
**Last updated:** [January 18, 2023, 3:55pm UTC](https://discourse.julialang.org/t/creating-an-electron-app/93166 "2023-01-18T15:55:54Z")

</div>

Hello, I’m using Julia a bit out of it’s major domain, I wrote a small tool for processing PDFs with a small GUI. I’m using Electron for the GUI part and all in all it works quite well (if I ignore cold start delay). H…

---

## [PackageCompiler help](https://discourse.julialang.org/t/packagecompiler-help/96705)

<div class="topic-metadata">

**Author:** [@jerry\_ji](https://discourse.julialang.org/u/jerry_ji)\
**Replies:** 0\
**Last updated:** [March 28, 2023, 10:52am UTC](https://discourse.julialang.org/t/packagecompiler-help/96705 "2023-03-28T10:52:32Z")

</div>

Hello, I have issue with package compiler. When I use Julia 1.8.5, and PackageCompiler 2.1.5 & PackageCompiler 2.1.2, I get following error on same machine: ┌ Warning: Error requiring StaticArrays from StaticArrayInte…

---

## [PackageCompiler app failure with Flux on AArch64/no GPU](https://discourse.julialang.org/t/packagecompiler-app-failure-with-flux-on-aarch64-no-gpu/99618)

<div class="topic-metadata">

**Author:** [@cirobr](https://discourse.julialang.org/u/cirobr)\
**Replies:** 0\
**Last updated:** [May 30, 2023, 5:14pm UTC](https://discourse.julialang.org/t/packagecompiler-app-failure-with-flux-on-aarch64-no-gpu/99618 "2023-05-30T17:14:12Z")

</div>

Cheers, I am working on an app that should run on an AArch64 multi-core device, no GPU. To become familiar with PackageCompiler, I have initially compiled a simple println(“Hello Word!”). As the function belongs to core…

---

## [Segmentation fault with CUDA](https://discourse.julialang.org/t/segmentation-fault-with-cuda/103664)

<div class="topic-metadata">

**Author:** [@PatriceLebrun](https://discourse.julialang.org/u/PatriceLebrun)\
**Replies:** 0\
**Last updated:** [September 8, 2023, 12:38pm UTC](https://discourse.julialang.org/t/segmentation-fault-with-cuda/103664 "2023-09-08T12:38:28Z")

</div>

Hi, I saw an old issue about it when we use PackageCompiler with CUDA Just to start with PackageCompiler I use only CUDA versioninfo() and ndevices() functions I have no issue at all to create library but I got a seg…

---

## [PackageCompiler App not working other than host computer](https://discourse.julialang.org/t/packagecompiler-app-not-working-other-than-host-computer/117726)

<div class="topic-metadata">

**Author:** [@fasihullahsaleem](https://discourse.julialang.org/u/fasihullahsaleem)\
**Replies:** 0\
**Last updated:** [August 1, 2024, 12:00pm UTC](https://discourse.julialang.org/t/packagecompiler-app-not-working-other-than-host-computer/117726 "2024-08-01T12:00:46Z")

</div>

Hi, I just join this group and new to the Julia Language. I am trying to create the app that I can send to any other computer, and it should be able to run. But the App I created is only working or my PC. The app is succ…

---

## [Is \`.chunks\` of \`BitArray\` considered internal API?](https://discourse.julialang.org/t/is-chunks-of-bitarray-considered-internal-api/121416)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 6\
**Last updated:** [October 17, 2024, 7:54pm UTC](https://discourse.julialang.org/t/is-chunks-of-bitarray-considered-internal-api/121416 "2024-10-17T19:54:17Z")

</div>

Currently I have a use case where I essentially need to pack AbstractVector{Bool} into the .chunks representation (i.e. each bit represent a bool value and “pad” to the smallest # of bytes that can accommodate the bits). …

---

## [CSV ZipFile read example broken in Julia 1.11.0](https://discourse.julialang.org/t/csv-zipfile-read-example-broken-in-julia-1-11-0/121204)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 10\
**Last updated:** [October 17, 2024, 7:50pm UTC](https://discourse.julialang.org/t/csv-zipfile-read-example-broken-in-julia-1-11-0/121204 "2024-10-17T19:50:21Z")

</div>

I am using 1.11.0 on a Windows machine with (jl\_FpGwGs) pkg\> st Status \`C:\\Users\\jakez\\AppData\\Local\\Temp\\jl\_FpGwGs\\Project.toml\` \[336ed68f\] CSV v0.10.14 \[a93c6f00\] DataFrames v1.7.0 \[a5390f91\] ZipFile v0.10.1 In…

---

## [Maximize the maximum of expressions](https://discourse.julialang.org/t/maximize-the-maximum-of-expressions/118295)

<div class="topic-metadata">

**Author:** [@janneshb](https://discourse.julialang.org/u/janneshb)\
**Replies:** 10\
**Last updated:** [October 17, 2024, 12:25pm UTC](https://discourse.julialang.org/t/maximize-the-maximum-of-expressions/118295 "2024-10-17T12:25:18Z")

</div>

Hey everyone, I would like to maximize the maximum of a vector that is a function of my optimization variables. Basically, I want to do the following, but in a “JuMP way”. @objective(model, Max, max(my\_vec...)) On th…

---

## [I can't instantiate \`GNSSReceiver.jl\` due to a weird CUDA compatibility issue?](https://discourse.julialang.org/t/i-cant-instantiate-gnssreceiver-jl-due-to-a-weird-cuda-compatibility-issue/121426)

<div class="topic-metadata">

**Author:** [@AJahraus](https://discourse.julialang.org/u/AJahraus)\
**Replies:** 0\
**Last updated:** [October 17, 2024, 3:54pm UTC](https://discourse.julialang.org/t/i-cant-instantiate-gnssreceiver-jl-due-to-a-weird-cuda-compatibility-issue/121426 "2024-10-17T15:54:26Z")

</div>

As outlined in this issue here, I can’t instantiate the GNSSReceiver package due to a strange error, claiming Unsatisfiable requirements detected for package CUDA \[052768df\] I’m not sure what’s causing this, because as …

---

## [From BASIC to Julia](https://discourse.julialang.org/t/from-basic-to-julia/121053)

<div class="topic-metadata">

**Author:** [@runjaj](https://discourse.julialang.org/u/runjaj)\
**Replies:** 13\
**Last updated:** [October 17, 2024, 3:20pm UTC](https://discourse.julialang.org/t/from-basic-to-julia/121053 "2024-10-17T15:20:09Z")

</div>

I have just recoded the first program I wrote in BASIC (~1983). It’s silly, but it has put an smile on my face: begin @label L10 println("Hello!") @goto L10 end It’s BASIC, so it needs to have a GOTO. I’m p…

---

## [Version 1.11.1 -- Argument issue](https://discourse.julialang.org/t/version-1-11-1-argument-issue/121408)

<div class="topic-metadata">

**Author:** [@Jose\_Ghislain\_Quenum](https://discourse.julialang.org/u/Jose_Ghislain_Quenum)\
**Replies:** 2\
**Last updated:** [October 17, 2024, 3:14pm UTC](https://discourse.julialang.org/t/version-1-11-1-argument-issue/121408 "2024-10-17T15:14:24Z")

</div>

The new version of Julia (1.11.1) does not seem to solve the argument problem. If you launch Julia with arguments (e.g., -p auto -t auto), any command in package mode just freezes.

---

## [Editor Pulsar](https://discourse.julialang.org/t/editor-pulsar/121368)

<div class="topic-metadata">

**Author:** [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Replies:** 7\
**Last updated:** [October 17, 2024, 3:05pm UTC](https://discourse.julialang.org/t/editor-pulsar/121368 "2024-10-17T15:05:49Z")

</div>

Are there any successful experiences with the successor of the Atom-Editor called Pulsar? My first attempt was not very convincing … Highlighting works :slight\_smile: , execution not :frowning:

---

## [Matrix of Floats and JuMP Variables mixed](https://discourse.julialang.org/t/matrix-of-floats-and-jump-variables-mixed/121380)

<div class="topic-metadata">

**Author:** [@HSt](https://discourse.julialang.org/u/HSt)\
**Replies:** 2\
**Last updated:** [October 17, 2024, 1:34pm UTC](https://discourse.julialang.org/t/matrix-of-floats-and-jump-variables-mixed/121380 "2024-10-17T13:34:53Z")

</div>

Hi, I started with functions to build matrices from blocks / components like function build\_A(a::AbstractMatrix, b::AbstractMatrix, c::AbstractVector) T = promote\_type(eltype(a), eltype(b), eltype(c)) x = \[a diagm(…

---

## [Why does rounding behave so weird?](https://discourse.julialang.org/t/why-does-rounding-behave-so-weird/121422)

<div class="topic-metadata">

**Author:** [@SunnyUser](https://discourse.julialang.org/u/SunnyUser)\
**Replies:** 4\
**Last updated:** [October 17, 2024, 1:29pm UTC](https://discourse.julialang.org/t/why-does-rounding-behave-so-weird/121422 "2024-10-17T13:29:07Z")

</div>

What Julia does: julia\> hcat(5.5:-1:0.5, round.(5.5:-1:0.5)) 6×2 Matrix{Float64}: 5.5 6.0 4.5 4.0 3.5 4.0 2.5 2.0 1.5 2.0 0.5 0.0 What I expect: 6×2 Matrix{Float64}: 5.5 6.0 4.5 5.0 3.5 4.0 2.5 3.0…

---

## [Print string on specific character position](https://discourse.julialang.org/t/print-string-on-specific-character-position/121402)

<div class="topic-metadata">

**Author:** [@danrib07](https://discourse.julialang.org/u/danrib07)\
**Replies:** 4\
**Last updated:** [October 17, 2024, 1:13pm UTC](https://discourse.julialang.org/t/print-string-on-specific-character-position/121402 "2024-10-17T13:13:17Z")

</div>

Hi everyone, I’m trying to format some diagnostics for a Julia project I’m working on, and I was wondering if there’s a way to format strings such that the output is printed on a specific character position? For example,…

---

## [Checking divisibility efficiently](https://discourse.julialang.org/t/checking-divisibility-efficiently/121418)

<div class="topic-metadata">

**Author:** [@barucden](https://discourse.julialang.org/u/barucden)\
**Replies:** 6\
**Last updated:** [October 17, 2024, 12:47pm UTC](https://discourse.julialang.org/t/checking-divisibility-efficiently/121418 "2024-10-17T12:47:04Z")

</div>

Is there a function in Base like isdivisible(m::Integer, n::Integer) that returns true if m is divisible by n? A straightforward implementation would be isdivisible(m, n) = iszero(m % n) Modulo works just fine for Ints…

---

## [What this error in Observable means? Error showing value of type Figure: ERROR: MethodError: no method matching native\_type(::WGLMakie.WebGL, ::Type{RGBA{Float32}})](https://discourse.julialang.org/t/what-this-error-in-observable-means-error-showing-value-of-type-figure-error-methoderror-no-method-matching-native-type-wglmakie-webgl-type-rgba-float32/121420)

<div class="topic-metadata">

**Author:** [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Replies:** 0\
**Last updated:** [October 17, 2024, 12:46pm UTC](https://discourse.julialang.org/t/what-this-error-in-observable-means-error-showing-value-of-type-figure-error-methoderror-no-method-matching-native-type-wglmakie-webgl-type-rgba-float32/121420 "2024-10-17T12:46:50Z")

</div>

I work with WGLMakie and Observables and stumbled on this error. I had perfectly working function but suddenly I started to get this error. It is very long and it even do not show at which line of my code is the prob…

---

## [VS code and Juila system image?](https://discourse.julialang.org/t/vs-code-and-juila-system-image/121409)

<div class="topic-metadata">

**Author:** [@mcreel](https://discourse.julialang.org/u/mcreel)\
**Replies:** 6\
**Last updated:** [October 17, 2024, 11:55am UTC](https://discourse.julialang.org/t/vs-code-and-juila-system-image/121409 "2024-10-17T11:55:39Z")

</div>

I haven’t been coding much lately, so I’m a bit out of touch with recent developments. In the past, VScode-julia would find and use a system image in the project directory, but that seems not to be the case now. From a p…

---

## [\[NEW\] SimpleSim.jl: A minimalist Julia package for modular dynamical systems simulation](https://discourse.julialang.org/t/new-simplesim-jl-a-minimalist-julia-package-for-modular-dynamical-systems-simulation/121308)

<div class="topic-metadata">

**Author:** [@janneshb](https://discourse.julialang.org/u/janneshb)\
**Replies:** 11\
**Last updated:** [October 17, 2024, 11:52am UTC](https://discourse.julialang.org/t/new-simplesim-jl-a-minimalist-julia-package-for-modular-dynamical-systems-simulation/121308 "2024-10-17T11:52:20Z")

</div>

Hello everyone, I’m very happy to announce my first larger Julia package SimpleSim.jl which is now available on the Julia package registry! SimpleSim.jl aims at being a lightweight simulation engine 100% written in Jul…

---

## [Debug only running once in VSCode](https://discourse.julialang.org/t/debug-only-running-once-in-vscode/119881)

<div class="topic-metadata">

**Author:** [@brianguenter](https://discourse.julialang.org/u/brianguenter)\
**Replies:** 1\
**Last updated:** [October 17, 2024, 11:16am UTC](https://discourse.julialang.org/t/debug-only-running-once-in-vscode/119881 "2024-10-17T11:16:53Z")

</div>

When I use @run at the VSCode Julia REPL to start a debug session it works fine the first time it is called. But every subsequent time it just spins and the debug session never gets started. I have to kill the REPL and m…

---

## [Positron, new IDE based on VS code](https://discourse.julialang.org/t/positron-new-ide-based-on-vs-code/116389)

<div class="topic-metadata">

**Author:** [@AdaemmerP](https://discourse.julialang.org/u/AdaemmerP)\
**Replies:** 4\
**Last updated:** [October 17, 2024, 11:01am UTC](https://discourse.julialang.org/t/positron-new-ide-based-on-vs-code/116389 "2024-10-17T11:01:02Z")

</div>

Posit has just released a new IDE called Positron (GitHub - posit-dev/positron: Positron, a next-generation data science IDE) based on VS Code. It is specifically tailored for R and Python. Could this be a great opportu…

---

## [Help Using DuckDB](https://discourse.julialang.org/t/help-using-duckdb/121401)

<div class="topic-metadata">

**Author:** [@jdpavek](https://discourse.julialang.org/u/jdpavek)\
**Replies:** 5\
**Last updated:** [October 17, 2024, 9:31am UTC](https://discourse.julialang.org/t/help-using-duckdb/121401 "2024-10-17T09:31:23Z")

</div>

I get an error when trying to use DuckDB. Is it my setup, something I might be doing wrong, or possibly a package issue? julia\> using DuckDB Precompiling DuckDB Info Given DuckDB was explicitly requested, output will…

---

## [LocalRegistry mess: git object xxx could not be found](https://discourse.julialang.org/t/localregistry-mess-git-object-xxx-could-not-be-found/121362)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 1\
**Last updated:** [October 17, 2024, 8:52am UTC](https://discourse.julialang.org/t/localregistry-mess-git-object-xxx-could-not-be-found/121362 "2024-10-17T08:52:06Z")

</div>

Hi there, I am using a local registry to maintain a couple of forks with extra uuid. Unfortunately I am running into ERROR: MyPackage: git object xxx could not be found despite the xxx tree hash is indeed the last co…

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

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