# Latest

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

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

**Page:** 617

---

## [Problems with mouse manipulation in GLMakie](https://discourse.julialang.org/t/problems-with-mouse-manipulation-in-glmakie/102957)

<div class="topic-metadata">

**Author:** [@mwlidar](https://discourse.julialang.org/u/mwlidar)\
**Replies:** 3\
**Last updated:** [August 20, 2023, 8:23am UTC](https://discourse.julialang.org/t/problems-with-mouse-manipulation-in-glmakie/102957 "2023-08-20T08:23:41Z")

</div>

Hi, maybe I’m simply too untalented, but I am not able to manipulate the MWMesh below with the mouse in such a way that the two colored faces are visible to the left and right. Im able to view it from all other perspect…

---

## [Stuck trying to plot data from COM port in real time](https://discourse.julialang.org/t/stuck-trying-to-plot-data-from-com-port-in-real-time/102885)

<div class="topic-metadata">

**Author:** [@rud-lucien](https://discourse.julialang.org/u/rud-lucien)\
**Replies:** 9\
**Last updated:** [August 20, 2023, 1:04am UTC](https://discourse.julialang.org/t/stuck-trying-to-plot-data-from-com-port-in-real-time/102885 "2023-08-20T01:04:46Z")

</div>

I’m trying to plot data coming from the serial port in real-time. Not sure if how I’m doing it the correct approach but this is what I did. I created this module that I call SerialPortReader.jl the code for it is as foll…

---

## [How does type annotation affect the performance?](https://discourse.julialang.org/t/how-does-type-annotation-affect-the-performance/102986)

<div class="topic-metadata">

**Author:** [@Reza-Reza](https://discourse.julialang.org/u/Reza-Reza)\
**Replies:** 5\
**Last updated:** [August 19, 2023, 10:21pm UTC](https://discourse.julialang.org/t/how-does-type-annotation-affect-the-performance/102986 "2023-08-19T22:21:54Z")

</div>

I read that in Julia it’s better to allow more generic type annotation and that type annotation be it done or not does not have an impact on the performance. I think I might have misunderstood what I read. So I did a mic…

---

## [PrecompileTools doesn't cache result of workload if type unstable](https://discourse.julialang.org/t/precompiletools-doesnt-cache-result-of-workload-if-type-unstable/102891)

<div class="topic-metadata">

**Author:** [@tomerarnon](https://discourse.julialang.org/u/tomerarnon)\
**Replies:** 7\
**Last updated:** [August 19, 2023, 7:04pm UTC](https://discourse.julialang.org/t/precompiletools-doesnt-cache-result-of-workload-if-type-unstable/102891 "2023-08-19T19:04:19Z")

</div>

In the following minimal example, foo() isn’t fully precompiled (notice the precompile statement from --trace-compile=stderr) unless I type annotate the type unstable function from Meshes.jl (confirmed type unstable with…

---

## [Is multithreaded FFTW on multiple arrays causing too much overhead?](https://discourse.julialang.org/t/is-multithreaded-fftw-on-multiple-arrays-causing-too-much-overhead/102832)

<div class="topic-metadata">

**Author:** [@erny123](https://discourse.julialang.org/u/erny123)\
**Replies:** 15\
**Last updated:** [August 19, 2023, 6:04pm UTC](https://discourse.julialang.org/t/is-multithreaded-fftw-on-multiple-arrays-causing-too-much-overhead/102832 "2023-08-19T18:04:19Z")

</div>

I have a couple of matrices that I have FFT to computer a nonlinear function and then IFFT. My question: Is using a multithreaded FFT plan creating too much overhead because of each instance the FFTW is called? Is there…

---

## [How to define a system of ODEs with @ode\_def and update the value of a variable using a function that depends on time?](https://discourse.julialang.org/t/how-to-define-a-system-of-odes-with-ode-def-and-update-the-value-of-a-variable-using-a-function-that-depends-on-time/98404)

<div class="topic-metadata">

**Author:** [@atmyo4](https://discourse.julialang.org/u/atmyo4)\
**Replies:** 8\
**Last updated:** [August 19, 2023, 4:45pm UTC](https://discourse.julialang.org/t/how-to-define-a-system-of-odes-with-ode-def-and-update-the-value-of-a-variable-using-a-function-that-depends-on-time/98404 "2023-08-19T16:45:46Z")

</div>

Hello, I’m new to Julia and I have a problem with my code. I am defining a system of differential equations using @ode\_def of ParameterizedFunctions.jl and I want to determine the value of a variable using a function. Ho…

---

## [Pluto export to html without including julia source code](https://discourse.julialang.org/t/pluto-export-to-html-without-including-julia-source-code/102928)

<div class="topic-metadata">

**Author:** [@adannenberg](https://discourse.julialang.org/u/adannenberg)\
**Replies:** 3\
**Last updated:** [August 19, 2023, 4:43pm UTC](https://discourse.julialang.org/t/pluto-export-to-html-without-including-julia-source-code/102928 "2023-08-19T16:43:11Z")

</div>

The ability to save a pluto notebook to HTML is great. It looks much better as a webpage in a browser than it does as an exported pdf. I would like to share an exported static HTML file showing my pluto notebook withou…

---

## [Speed up solution of large system of equations](https://discourse.julialang.org/t/speed-up-solution-of-large-system-of-equations/102659)

<div class="topic-metadata">

**Author:** [@amrods](https://discourse.julialang.org/u/amrods)\
**Replies:** 18\
**Last updated:** [August 19, 2023, 3:19pm UTC](https://discourse.julialang.org/t/speed-up-solution-of-large-system-of-equations/102659 "2023-08-19T15:19:48Z")

</div>

I have a system of equations: \\begin{aligned} & S^m\_{a\_m, e\_m}-\\mu^{0m}\_{a\_m, e\_m}=\\sum\_{a\_m=1}^{46} {\\Pi}\_{a\_m, e\_m, a\_f, e\_f}\\sqrt{S^m\_{a\_m, e\_m} S^f\_{a\_f, e\_f}} \\prod\_{k=0}^{T(a\_m, a\_f)-1}\\left(\\frac{\\mu^{0m}\_{a\_m+k…

---

## [Error with Flux.update! with Metal gpu backend](https://discourse.julialang.org/t/error-with-flux-update-with-metal-gpu-backend/102964)

<div class="topic-metadata">

**Author:** [@Bill\_Holmes](https://discourse.julialang.org/u/Bill_Holmes)\
**Replies:** 1\
**Last updated:** [August 19, 2023, 2:50pm UTC](https://discourse.julialang.org/t/error-with-flux-update-with-metal-gpu-backend/102964 "2023-08-19T14:50:54Z")

</div>

I’m trying to get Flux up and running with Metal as the gpu backend. The documentation for this is great, but I keep running into an issue. I’ve distilled the issue into a very simple FFNN. The code below, defines a simp…

---

## [How to share a duckdb database connection to many functions](https://discourse.julialang.org/t/how-to-share-a-duckdb-database-connection-to-many-functions/102921)

<div class="topic-metadata">

**Author:** [@rdavis120](https://discourse.julialang.org/u/rdavis120)\
**Replies:** 1\
**Last updated:** [August 19, 2023, 2:44pm UTC](https://discourse.julialang.org/t/how-to-share-a-duckdb-database-connection-to-many-functions/102921 "2023-08-19T14:44:49Z")

</div>

What is the best practice in Julia to share the a database connection to several functions in a module? Such as a connection from the DBInterface package. Especially, without exporting the connection variable itself, s…

---

## [Why \[(a = 1, b = 3), (a = 3, b = 4)\] isa Vector{NamedTuple} -\> false?](https://discourse.julialang.org/t/why-a-1-b-3-a-3-b-4-isa-vector-namedtuple-false/102981)

<div class="topic-metadata">

**Author:** [@andrey2185](https://discourse.julialang.org/u/andrey2185)\
**Replies:** 4\
**Last updated:** [August 19, 2023, 12:44pm UTC](https://discourse.julialang.org/t/why-a-1-b-3-a-3-b-4-isa-vector-namedtuple-false/102981 "2023-08-19T12:44:22Z")

</div>

hello! why ? \[(a = 1, b = 3), (a = 3, b = 4)\] isa Vector{NamedTuple} # -\> false

---

## [Can OrdinaryDiffEq.jl solve Fillippov system?](https://discourse.julialang.org/t/can-ordinarydiffeq-jl-solve-fillippov-system/102818)

<div class="topic-metadata">

**Author:** [@xiaoming](https://discourse.julialang.org/u/xiaoming)\
**Replies:** 10\
**Last updated:** [August 19, 2023, 12:09pm UTC](https://discourse.julialang.org/t/can-ordinarydiffeq-jl-solve-fillippov-system/102818 "2023-08-19T12:09:52Z")

</div>

Fillippov systems are piecewise smooth ODEs and the solutions can slide along the switch surfaces. Here is an excellent illustration of such systems, taken from this page \[Events and Discontinuities in Differential Equat…

---

## [Check for Total Unimodularity of a Matrix](https://discourse.julialang.org/t/check-for-total-unimodularity-of-a-matrix/102908)

<div class="topic-metadata">

**Author:** [@TBuConst](https://discourse.julialang.org/u/TBuConst)\
**Replies:** 2\
**Last updated:** [August 19, 2023, 5:55am UTC](https://discourse.julialang.org/t/check-for-total-unimodularity-of-a-matrix/102908 "2023-08-19T05:55:43Z")

</div>

Hi everyone, I’m wondering whether a specif function exists in Julia or in a package. Say, I have a matrix M and I want to find out, whether it is totally unimodular or not. Is there any ready-to-use function comparable…

---

## [Loglikelihood vs logpdf](https://discourse.julialang.org/t/loglikelihood-vs-logpdf/102966)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 2\
**Last updated:** [August 19, 2023, 5:43am UTC](https://discourse.julialang.org/t/loglikelihood-vs-logpdf/102966 "2023-08-19T05:43:07Z")

</div>

What is the relationship between StatsAPI.loglikelihood(d, x) and Distributions.logpdf(d, x) where d::Distribution and x is a draw from it? In the examples I’ve tried, they give the same results. let d = Normal(0,1) …

---

## [Solving a differential equation with functions that defined on a finite range causes dtmin error](https://discourse.julialang.org/t/solving-a-differential-equation-with-functions-that-defined-on-a-finite-range-causes-dtmin-error/102963)

<div class="topic-metadata">

**Author:** [@roi.holtzman](https://discourse.julialang.org/u/roi.holtzman)\
**Replies:** 1\
**Last updated:** [August 18, 2023, 9:52pm UTC](https://discourse.julialang.org/t/solving-a-differential-equation-with-functions-that-defined-on-a-finite-range-causes-dtmin-error/102963 "2023-08-18T21:52:56Z")

</div>

Like all of us, I am trying to solve a differential equation. I get errors that say the model is unstable: Warning: dt(1.88079096131566001274997845956e-37) \<= dtmin(1.88079096131566001274997845956e-37) at t=0.0297491697…

---

## [How to increase precision of solution using Roots.jl and ArbNumerics.jl](https://discourse.julialang.org/t/how-to-increase-precision-of-solution-using-roots-jl-and-arbnumerics-jl/102850)

<div class="topic-metadata">

**Author:** [@roi.holtzman](https://discourse.julialang.org/u/roi.holtzman)\
**Replies:** 28\
**Last updated:** [August 18, 2023, 8:59pm UTC](https://discourse.julialang.org/t/how-to-increase-precision-of-solution-using-roots-jl-and-arbnumerics-jl/102850 "2023-08-18T20:59:06Z")

</div>

I am trying to increase precision for a numeric solution using Roots.jl using ArbFloat (of ArbNumerics.jl). But, when I decrease the tolerance, the outcome does not change. I keep comparing it to the numerical solution…

---

## [Confused about package management](https://discourse.julialang.org/t/confused-about-package-management/102954)

<div class="topic-metadata">

**Author:** [@bwanab](https://discourse.julialang.org/u/bwanab)\
**Replies:** 6\
**Last updated:** [August 18, 2023, 8:17pm UTC](https://discourse.julialang.org/t/confused-about-package-management/102954 "2023-08-18T20:17:15Z")

</div>

Hi. Sorry this question might seem confused because I’m confused. I’ve been working with a local package with no problems. Sounds good, but today I was going to set up a new project and I thought I’d use PkgTemplates as…

---

## [Getting started example not running Optimization.jl](https://discourse.julialang.org/t/getting-started-example-not-running-optimization-jl/102944)

<div class="topic-metadata">

**Author:** [@p\_f](https://discourse.julialang.org/u/p_f)\
**Replies:** 3\
**Last updated:** [August 18, 2023, 5:34pm UTC](https://discourse.julialang.org/t/getting-started-example-not-running-optimization-jl/102944 "2023-08-18T17:34:12Z")

</div>

I’m assuming I’m missing something stupid, but I am just copy pasting code from the getting started section Getting Started with Optimization in Julia · Optimization.jl The very first block of code runs fine. The first …

---

## [Sympy symbol to Symbolics.jl Num: adding a rule](https://discourse.julialang.org/t/sympy-symbol-to-symbolics-jl-num-adding-a-rule/102915)

<div class="topic-metadata">

**Author:** [@jClugstor](https://discourse.julialang.org/u/jClugstor)\
**Replies:** 2\
**Last updated:** [August 18, 2023, 4:53pm UTC](https://discourse.julialang.org/t/sympy-symbol-to-symbolics-jl-num-adding-a-rule/102915 "2023-08-18T16:53:58Z")

</div>

I’m trying to convert a Sympy symbol into a Symbolics.jl Num type. When I use pyconvert\_add\_rule to add the rule, and then try to convert it using pyconvert, it says that it can’t convert the sympy symbol to a Symbolics N…

---

## [Design pattern for undo operation with Makie](https://discourse.julialang.org/t/design-pattern-for-undo-operation-with-makie/102868)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 2\
**Last updated:** [August 18, 2023, 4:30pm UTC](https://discourse.julialang.org/t/design-pattern-for-undo-operation-with-makie/102868 "2023-08-18T16:30:00Z")

</div>

We have GUI program where it would be useful to have an UNDO button: Add undo button · Issue #7 · bradcarman/ModelingToolkitDesigner.jl · GitHub Is there any suggestion how to implement this? EDIT: Article related to C…

---

## [How to get "the tab sequence" of a unicode as we enter in the REPL in Julia code?](https://discourse.julialang.org/t/how-to-get-the-tab-sequence-of-a-unicode-as-we-enter-in-the-repl-in-julia-code/45776)

<div class="topic-metadata">

**Author:** [@liuyxpp](https://discourse.julialang.org/u/liuyxpp)\
**Replies:** 19\
**Last updated:** [August 18, 2023, 2:41pm UTC](https://discourse.julialang.org/t/how-to-get-the-tab-sequence-of-a-unicode-as-we-enter-in-the-repl-in-julia-code/45776 "2023-08-18T14:41:07Z")

</div>

I want to write a function (or if it already exists) function unicodesymbol2string(us::Symbol) # do something to find s return s end which behaves like julia\> unicodesymbol2string(:β) beta julia\> unicodesymbol…

---

## [How to read .tsv files in julia](https://discourse.julialang.org/t/how-to-read-tsv-files-in-julia/102955)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 2\
**Last updated:** [August 18, 2023, 2:35pm UTC](https://discourse.julialang.org/t/how-to-read-tsv-files-in-julia/102955 "2023-08-18T14:35:46Z")

</div>

I found somwhere this code: s = "/Users/username/dir/data.tsv" data = readtable(s) But it seems like this doesn’t work. Do we have any other way?

---

## [VS Code cannot connect to JuliaHub](https://discourse.julialang.org/t/vs-code-cannot-connect-to-juliahub/102940)

<div class="topic-metadata">

**Author:** [@pascal](https://discourse.julialang.org/u/pascal)\
**Replies:** 1\
**Last updated:** [August 18, 2023, 1:34pm UTC](https://discourse.julialang.org/t/vs-code-cannot-connect-to-juliahub/102940 "2023-08-18T13:34:59Z")

</div>

I don’t seem to get the JuliaHub extension in VS Code to connect to JuliaHub.com. I’ve downloaded the auth.toml token from JuliaHub and placed it in ~/.julia/servers/juliahub.com/auth.toml. And then I installed the Juli…

---

## [Networking a game made with Julia using Firebase.jl](https://discourse.julialang.org/t/networking-a-game-made-with-julia-using-firebase-jl/102926)

<div class="topic-metadata">

**Author:** [@Kyjor](https://discourse.julialang.org/u/Kyjor)\
**Replies:** 4\
**Last updated:** [August 18, 2023, 1:14pm UTC](https://discourse.julialang.org/t/networking-a-game-made-with-julia-using-firebase-jl/102926 "2023-08-18T13:14:07Z")

</div>

Hey all, this is my first time creating a post on the forums. I don’t use Julia in the way most people use it here, but if you are interested in games, you might like this. I’ve been creating a game engine using Julia an…

---

## [Why I am not to update String as value in Dictionary if Dictionary is created with Int64 values](https://discourse.julialang.org/t/why-i-am-not-to-update-string-as-value-in-dictionary-if-dictionary-is-created-with-int64-values/102952)

<div class="topic-metadata">

**Author:** [@saampandit](https://discourse.julialang.org/u/saampandit)\
**Replies:** 1\
**Last updated:** [August 18, 2023, 12:52pm UTC](https://discourse.julialang.org/t/why-i-am-not-to-update-string-as-value-in-dictionary-if-dictionary-is-created-with-int64-values/102952 "2023-08-18T12:52:40Z")

</div>

I am working and learning Dictionaries, now here is what is happening, # Initialize a dictionary d = Dict("a"=\>1, "b" =\> 2, "c" =\> 3) d\["c"\] = 4 # works d\["c"\] = "Hello" # Fails with error pasted below d\["d"\] = "Hello"…

---

## [New improved "PEP 695 – Type Parameter Syntax" in Python, PEP mentions Julia](https://discourse.julialang.org/t/new-improved-pep-695-type-parameter-syntax-in-python-pep-mentions-julia/102947)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 1\
**Last updated:** [August 18, 2023, 12:51pm UTC](https://discourse.julialang.org/t/new-improved-pep-695-type-parameter-syntax-in-python-pep-mentions-julia/102947 "2023-08-18T12:51:33Z")

</div>

People might not be aware, but Python has (optional) static typing already, the new PEP expands the syntax and mentions Julia and a number of other languages:

---

## [Distributed-memory parallelism on a shared-memory machine](https://discourse.julialang.org/t/distributed-memory-parallelism-on-a-shared-memory-machine/102883)

<div class="topic-metadata">

**Author:** [@martinmestre](https://discourse.julialang.org/u/martinmestre)\
**Replies:** 10\
**Last updated:** [August 18, 2023, 12:33pm UTC](https://discourse.julialang.org/t/distributed-memory-parallelism-on-a-shared-memory-machine/102883 "2023-08-18T12:33:43Z")

</div>

Thanks a lot. If I have a single processor with 8 logical cores, can I parallelize with multiple processes? I thought that I was forced to do multithreading when there is only one processor with shared memory. Is that ri…

---

## [RemoteS example Aqua orbits fails](https://discourse.julialang.org/t/remotes-example-aqua-orbits-fails/102844)

<div class="topic-metadata">

**Author:** [@jaksaa](https://discourse.julialang.org/u/jaksaa)\
**Replies:** 3\
**Last updated:** [August 18, 2023, 12:25pm UTC](https://discourse.julialang.org/t/remotes-example-aqua-orbits-fails/102844 "2023-08-18T12:25:05Z")

</div>

From this thread A native Julia package for satellite images? - #20 by joa-quim If better to be in the above thread please move. Have version: Julia Version 1.9.2 \[5752ebe1\] GMT v1.3.1 \[26020ff4\] RemoteS v1.0.0 \[6a…

---

## [How to make \`Colon()\` stable in CUDA kernel](https://discourse.julialang.org/t/how-to-make-colon-stable-in-cuda-kernel/102934)

<div class="topic-metadata">

**Author:** [@huiyuxie](https://discourse.julialang.org/u/huiyuxie)\
**Replies:** 1\
**Last updated:** [August 18, 2023, 11:21am UTC](https://discourse.julialang.org/t/how-to-make-colon-stable-in-cuda-kernel/102934 "2023-08-18T11:21:04Z")

</div>

Hi! I’m wondering is there any way to make Colon() stable when calling the CUDA kernel. For example (I’ve simplified the sample case here as the practical one is complex), # Helper function function view\_helper(u, arg1,…

---

## [Julia v1.9.3 testing period](https://discourse.julialang.org/t/julia-v1-9-3-testing-period/102935)

<div class="topic-metadata">

**Author:** [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Replies:** 0\
**Last updated:** [August 18, 2023, 8:53am UTC](https://discourse.julialang.org/t/julia-v1-9-3-testing-period/102935 "2023-08-18T08:53:13Z")

</div>

The release-1.9 branch on the Julia repository now contains the set of commits we’re planning to tag as v1.9.3, the third patch release in the 1.9 series. The list of commits included since v1.9.2 is available here . As …

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

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