# Latest

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

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

**Page:** 180

---

## [\[ANN\] OnlineSampleStatistics: Online estimation of statistical moments](https://discourse.julialang.org/t/ann-onlinesamplestatistics-online-estimation-of-statistical-moments/128286)

<div class="topic-metadata">

**Author:** [@FerreolS](https://discourse.julialang.org/u/FerreolS)\
**Replies:** 4\
**Last updated:** [April 22, 2025, 10:20am UTC](https://discourse.julialang.org/t/ann-onlinesamplestatistics-online-estimation-of-statistical-moments/128286 "2025-04-22T10:20:58Z")

</div>

Hi, OnlineSampleStatistics.jl is a package for online single pass estimation of any statistical moments of data stream. OnlineStats.jl package was not adapted to my needs (mainly camera calibration) for two reasons tha…

---

## [Optimization Modeling & Deployment sessions at INFORMS Annual 2025](https://discourse.julialang.org/t/optimization-modeling-deployment-sessions-at-informs-annual-2025/128252)

<div class="topic-metadata">

**Author:** [@4er](https://discourse.julialang.org/u/4er)\
**Replies:** 0\
**Last updated:** [April 20, 2025, 3:54pm UTC](https://discourse.julialang.org/t/optimization-modeling-deployment-sessions-at-informs-annual-2025/128252 "2025-04-20T15:54:15Z")

</div>

We (Susanne Heipcke, Bob Fourer) are organizing sessions in the area of “Optimization Modeling & Deployment Software” at the 2025 INFORMS Annual Meeting, to be held October 26-29, 2025 in Atlanta, Georgia. Talks on new …

---

## [Check which packages are actually used in script?](https://discourse.julialang.org/t/check-which-packages-are-actually-used-in-script/128279)

<div class="topic-metadata">

**Author:** [@Satvik](https://discourse.julialang.org/u/Satvik)\
**Replies:** 1\
**Last updated:** [April 22, 2025, 12:36am UTC](https://discourse.julialang.org/t/check-which-packages-are-actually-used-in-script/128279 "2025-04-22T00:36:33Z")

</div>

We have a fairly bloated Project.toml that I’m trying to trim down. Is there any way to, e.g., run tests and track which packages were in Project.toml or imported with using but never actually called?

---

## [I read the latest release news of VSCode (not the extension) and understood nothing](https://discourse.julialang.org/t/i-read-the-latest-release-news-of-vscode-not-the-extension-and-understood-nothing/128281)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 0\
**Last updated:** [April 22, 2025, 7:45am UTC](https://discourse.julialang.org/t/i-read-the-latest-release-news-of-vscode-not-the-extension-and-understood-nothing/128281 "2025-04-22T07:45:34Z")

</div>

By chance, I went reading the latest release news of VSCode and I got completely lost in the “new” features… 99% of them are related to AI, but also 99% of the examples are related to web development.. so not sure they a…

---

## [Understanding build products](https://discourse.julialang.org/t/understanding-build-products/128278)

<div class="topic-metadata">

**Author:** [@luke-kiernan](https://discourse.julialang.org/u/luke-kiernan)\
**Replies:** 1\
**Last updated:** [April 22, 2025, 6:33am UTC](https://discourse.julialang.org/t/understanding-build-products/128278 "2025-04-22T06:33:39Z")

</div>

There’s a windows-specific issue with MUMPS\_jll on Yggdrasil, so I’m trying to troubleshoot. As I understand things, I need to: Tweak the build script. Compile for the target system: on a Mac/Linux system, tell BinaryB…

---

## [How to include non-jl files in a package](https://discourse.julialang.org/t/how-to-include-non-jl-files-in-a-package/111106)

<div class="topic-metadata">

**Author:** [@janonime](https://discourse.julialang.org/u/janonime)\
**Replies:** 5\
**Last updated:** [April 22, 2025, 5:09am UTC](https://discourse.julialang.org/t/how-to-include-non-jl-files-in-a-package/111106 "2025-04-22T05:09:12Z")

</div>

Can I include data files (.json, .csv) with a Julia package? For example, could I include a file called data.csv in my package structure containing the following text: x,y 1,2 and a function in test.jl that calls test…

---

## [Why does @fastmath have problems with promoting integers?](https://discourse.julialang.org/t/why-does-fastmath-have-problems-with-promoting-integers/128276)

<div class="topic-metadata">

**Author:** [@matthias314](https://discourse.julialang.org/u/matthias314)\
**Replies:** 4\
**Last updated:** [April 22, 2025, 1:01am UTC](https://discourse.julialang.org/t/why-does-fastmath-have-problems-with-promoting-integers/128276 "2025-04-22T01:01:10Z")

</div>

Why do I get the following error? julia\> (-1) \* UInt(1) 0xffffffffffffffff julia\> @fastmath (-1) \* UInt(1) ERROR: InexactError: convert(UInt64, -1) Tested with Julia 1.11.4.

---

## [Vector of MVectors](https://discourse.julialang.org/t/vector-of-mvectors/128275)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 9\
**Last updated:** [April 21, 2025, 10:55pm UTC](https://discourse.julialang.org/t/vector-of-mvectors/128275 "2025-04-21T22:55:18Z")

</div>

What am I doing wrong? I want to have a vector of MVectors, but each of them shall be different. using StaticArrays vec=zeros(MVector{3, Float64}, 4) vec\[1\] .= \[1,2,3\] vec has as output: \[1.0, 2.0, 3.0\] \[1.0, 2.0, 3…

---

## [Annual Julia User & Developer Survey - Draft Questionnaire Feedback (Do NOT Complete Survey at this Time)](https://discourse.julialang.org/t/annual-julia-user-developer-survey-draft-questionnaire-feedback-do-not-complete-survey-at-this-time/126780)

<div class="topic-metadata">

**Author:** [@ahclaster](https://discourse.julialang.org/u/ahclaster)\
**Replies:** 2\
**Last updated:** [April 21, 2025, 9:52pm UTC](https://discourse.julialang.org/t/annual-julia-user-developer-survey-draft-questionnaire-feedback-do-not-complete-survey-at-this-time/126780 "2025-04-21T21:52:15Z")

</div>

We are currently soliciting feedback from the Julia Community for the 7th annual Julia User & Developer Survey draft questionnaire. Please do NOT complete the survey at this time. The draft questionnaire is available he…

---

## [Create a Dictionary from Arrays of Keys and Values](https://discourse.julialang.org/t/create-a-dictionary-from-arrays-of-keys-and-values/13908)

<div class="topic-metadata">

**Author:** [@Elmer\_Cusipuma](https://discourse.julialang.org/u/Elmer_Cusipuma)\
**Replies:** 8\
**Last updated:** [April 21, 2025, 9:04pm UTC](https://discourse.julialang.org/t/create-a-dictionary-from-arrays-of-keys-and-values/13908 "2025-04-21T21:04:30Z")

</div>

I am trying create a Dictionary from Arrays of Keys and Values julia\> id = \[1,2,3,4\]; julia\> coord = \[0 0 0;1 0 0;5 3 0;6 5 1\]; and I want something like: Dict(id,coord) i.e. julia\> X = Dict(1 =\> \[0,0,0\], …

---

## [Visualizing another process with Pluto notebook](https://discourse.julialang.org/t/visualizing-another-process-with-pluto-notebook/128190)

<div class="topic-metadata">

**Author:** [@Kirby\_Zhang](https://discourse.julialang.org/u/Kirby_Zhang)\
**Replies:** 1\
**Last updated:** [April 21, 2025, 6:45pm UTC](https://discourse.julialang.org/t/visualizing-another-process-with-pluto-notebook/128190 "2025-04-21T18:45:31Z")

</div>

I’m considering to use Pluto as an internal dash boarding application. This seems like a natural progression to me because I’ve been using Pluto for offline analysis, and I want to make it possible to monitor real-time a…

---

## [Interactive subplots inspection with Makie](https://discourse.julialang.org/t/interactive-subplots-inspection-with-makie/128231)

<div class="topic-metadata">

**Author:** [@henry2004y](https://discourse.julialang.org/u/henry2004y)\
**Replies:** 5\
**Last updated:** [April 21, 2025, 2:39pm UTC](https://discourse.julialang.org/t/interactive-subplots-inspection-with-makie/128231 "2025-04-21T14:39:39Z")

</div>

Hi, I am using Makie for exploring the data of particle trajectories. Currently, my output looks like this: The trajectories can be long, and I may wish to zoom-in to a specific time interval for careful inspection.…

---

## [How to document an enum?](https://discourse.julialang.org/t/how-to-document-an-enum/126329)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 3\
**Last updated:** [April 21, 2025, 2:05pm UTC](https://discourse.julialang.org/t/how-to-document-an-enum/126329 "2025-04-21T14:05:28Z")

</div>

What is a good way to document an enum? I currently do this: """ Model \`VSM\` \`LLT\` Enumeration of the implemented model types. # Elements - VSM: Vortex Step Method - LLT: Lifting Line Theory """ @enum Model VSM LL…

---

## [How to plot lines with x-direction error filled with Semi-transparent color using Makie?](https://discourse.julialang.org/t/how-to-plot-lines-with-x-direction-error-filled-with-semi-transparent-color-using-makie/128265)

<div class="topic-metadata">

**Author:** [@dk-zen](https://discourse.julialang.org/u/dk-zen)\
**Replies:** 2\
**Last updated:** [April 21, 2025, 2:03pm UTC](https://discourse.julialang.org/t/how-to-plot-lines-with-x-direction-error-filled-with-semi-transparent-color-using-makie/128265 "2025-04-21T14:03:22Z")

</div>

Hi, everyone. How to plot lines with x-direction error filled with Semi-transparent color using Makie? The figure I want is as follows.

---

## [Efficient Algorithms for exponential martingales generated by SDE with jumps](https://discourse.julialang.org/t/efficient-algorithms-for-exponential-martingales-generated-by-sde-with-jumps/127917)

<div class="topic-metadata">

**Author:** [@paolo-mgi](https://discourse.julialang.org/u/paolo-mgi)\
**Replies:** 2\
**Last updated:** [April 21, 2025, 11:23am UTC](https://discourse.julialang.org/t/efficient-algorithms-for-exponential-martingales-generated-by-sde-with-jumps/127917 "2025-04-21T11:23:11Z")

</div>

Hello, I am experimenting with jump processes, and in particular with stochastic diffrential equations of the form dμ(t)=μ(t) λ (dν(t)−r dt ) where dν(t)= increment of Poisson process r dt= compensator The result s…

---

## [Quaternions with symbolic equations (MTK)](https://discourse.julialang.org/t/quaternions-with-symbolic-equations-mtk/128263)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 2\
**Last updated:** [April 21, 2025, 12:16pm UTC](https://discourse.julialang.org/t/quaternions-with-symbolic-equations-mtk/128263 "2025-04-21T12:16:37Z")

</div>

Is their a package for quaternions that works well with symbolic equations? We wrote now our own functions, but I think this should be done either in a new package, or added to one of the existing packages like Rotations…

---

## [ComponentArray and generation of JumpSet](https://discourse.julialang.org/t/componentarray-and-generation-of-jumpset/127875)

<div class="topic-metadata">

**Author:** [@paolo-mgi](https://discourse.julialang.org/u/paolo-mgi)\
**Replies:** 2\
**Last updated:** [April 21, 2025, 10:53am UTC](https://discourse.julialang.org/t/componentarray-and-generation-of-jumpset/127875 "2025-04-21T10:53:10Z")

</div>

Hello, I wish to integrate a system of jump differential equations with JumpProblem. Variables in the system behave differently and I discrimiate between them using ComponentArray. The problem requires the definition of…

---

## [How can I improve the efficiency of the CUDA kernel？](https://discourse.julialang.org/t/how-can-i-improve-the-efficiency-of-the-cuda-kernel/128260)

<div class="topic-metadata">

**Author:** [@zihuizh](https://discourse.julialang.org/u/zihuizh)\
**Replies:** 4\
**Last updated:** [April 21, 2025, 10:41am UTC](https://discourse.julialang.org/t/how-can-i-improve-the-efficiency-of-the-cuda-kernel/128260 "2025-04-21T10:41:54Z")

</div>

I’m using Julia’s CUDA.jl to develop a Smoothed Particle Hydrodynamics program, and I’m wondering what methods can improve the performance of CUDA kernels. Should I use shared memory? Would using something like ParallelS…

---

## [Startup option to turn off @assert](https://discourse.julialang.org/t/startup-option-to-turn-off-assert/128238)

<div class="topic-metadata">

**Author:** [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Replies:** 10\
**Last updated:** [April 21, 2025, 7:56am UTC](https://discourse.julialang.org/t/startup-option-to-turn-off-assert/128238 "2025-04-21T07:56:38Z")

</div>

I often use something like @boundscheck all(x .\> 0) || error() instead of @assert all(x .\> 0) so that I could “test run” the code first. If no error, I would then start with check-bounds=no to run the code in “perfor…

---

## [Another UndefRefError: access to undefined reference](https://discourse.julialang.org/t/another-undefreferror-access-to-undefined-reference/126039)

<div class="topic-metadata">

**Author:** [@steveo314](https://discourse.julialang.org/u/steveo314)\
**Replies:** 21\
**Last updated:** [April 21, 2025, 12:41am UTC](https://discourse.julialang.org/t/another-undefreferror-access-to-undefined-reference/126039 "2025-04-21T00:41:35Z")

</div>

Is there any way to check a Dataframe to see why this error would be returned when running a function on a DF? The error message is too vague. I got this error when running: unique!(df,\[col1,col2,col3\]) I’ve only have …

---

## [Faster setup for a new machine?](https://discourse.julialang.org/t/faster-setup-for-a-new-machine/128253)

<div class="topic-metadata">

**Author:** [@Satvik](https://discourse.julialang.org/u/Satvik)\
**Replies:** 4\
**Last updated:** [April 20, 2025, 10:26pm UTC](https://discourse.julialang.org/t/faster-setup-for-a-new-machine/128253 "2025-04-20T22:26:59Z")

</div>

At my work, we develop and run code on AWS ec2 machines, and often spin new ones with the same environment. We have both a big Python and Julia environment, but the Julia portion of the setup Pkg.instantiate() is by far…

---

## [Save a local variable when program is killed](https://discourse.julialang.org/t/save-a-local-variable-when-program-is-killed/128218)

<div class="topic-metadata">

**Author:** [@Yue-Zhengyuan](https://discourse.julialang.org/u/Yue-Zhengyuan)\
**Replies:** 5\
**Last updated:** [April 20, 2025, 9:54pm UTC](https://discourse.julialang.org/t/save-a-local-variable-when-program-is-killed/128218 "2025-04-20T21:54:57Z")

</div>

I have a Julia program that performs some long operation on a variable, and I hope that when the program is killed by a job management system such as SLURM, the program can save the current local state of the variable to…

---

## [LocalRegistry doesn't automatically pull](https://discourse.julialang.org/t/localregistry-doesnt-automatically-pull/128227)

<div class="topic-metadata">

**Author:** [@freeman](https://discourse.julialang.org/u/freeman)\
**Replies:** 7\
**Last updated:** [April 20, 2025, 8:19pm UTC](https://discourse.julialang.org/t/localregistry-doesnt-automatically-pull/128227 "2025-04-20T20:19:50Z")

</div>

I’ve been using LocalRegistry to manage a personal registry in a remote git hosting website. It allows me to do what I wanted, versioning my own packages and have Pkg do its dependency resolution job. But there’s a slig…

---

## [My new random number generator](https://discourse.julialang.org/t/my-new-random-number-generator/128244)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 3\
**Last updated:** [April 20, 2025, 6:51pm UTC](https://discourse.julialang.org/t/my-new-random-number-generator/128244 "2025-04-20T18:51:42Z")

</div>

Please note I’m not a professional rng designer so this might not be up to the standard, but feel free to check it out. It passes the smallcrush test. #= This is free and unencumbered software released into the public d…

---

## [Random independent set with GenericTensorNetworks.jl](https://discourse.julialang.org/t/random-independent-set-with-generictensornetworks-jl/127900)

<div class="topic-metadata">

**Author:** [@slwu89](https://discourse.julialang.org/u/slwu89)\
**Replies:** 4\
**Last updated:** [April 20, 2025, 4:47pm UTC](https://discourse.julialang.org/t/random-independent-set-with-generictensornetworks-jl/127900 "2025-04-20T16:47:38Z")

</div>

Hi @1115, I’m looking at the GenericTensorNetworks.jl package, and I a question regarding finding a single maximum independent set Independent set problem · GenericTensorNetworks.jl, is the solution sampled uniformly at …

---

## [Tau-leaping Algorithm for Stochastic Simulation](https://discourse.julialang.org/t/tau-leaping-algorithm-for-stochastic-simulation/128237)

<div class="topic-metadata">

**Author:** [@jameslawkc](https://discourse.julialang.org/u/jameslawkc)\
**Replies:** 4\
**Last updated:** [April 20, 2025, 3:24pm UTC](https://discourse.julialang.org/t/tau-leaping-algorithm-for-stochastic-simulation/128237 "2025-04-20T15:24:54Z")

</div>

I know that there is a package called JumpProcesses.jl but there is no option to implement the tau-leaping algorithm. Is there any existing package that can implement this method?

---

## [Val{N} + LinearIndices Causes Massive Compile-Time Unrolling](https://discourse.julialang.org/t/val-n-linearindices-causes-massive-compile-time-unrolling/128248)

<div class="topic-metadata">

**Author:** [@0samuraiE](https://discourse.julialang.org/u/0samuraiE)\
**Replies:** 2\
**Last updated:** [April 20, 2025, 2:47pm UTC](https://discourse.julialang.org/t/val-n-linearindices-causes-massive-compile-time-unrolling/128248 "2025-04-20T14:47:46Z")

</div>

I’m seeing strange behavior when using @code\_warntype on a function that takes a Val{N} parameter and creates a LinearIndices object with size (N, N, N). Here’s a minimal example: function test(::Val{N}) where {N} L…

---

## [Some questions about an MOI wrapper](https://discourse.julialang.org/t/some-questions-about-an-moi-wrapper/128175)

<div class="topic-metadata">

**Author:** [@Lester](https://discourse.julialang.org/u/Lester)\
**Replies:** 8\
**Last updated:** [April 20, 2025, 2:07pm UTC](https://discourse.julialang.org/t/some-questions-about-an-moi-wrapper/128175 "2025-04-20T14:07:50Z")

</div>

Hi everyone. I’m currently working on an SQP solver and now trying to use that to solve optimal control problem. The optimal control problems are trancripted to NLPs in the framework of JuMP, which means if I want to use…

---

## [Warning about importing SpkSparseSpdBase.\_triangularsolve!](https://discourse.julialang.org/t/warning-about-importing-spksparsespdbase-triangularsolve/128195)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 4\
**Last updated:** [April 20, 2025, 2:04pm UTC](https://discourse.julialang.org/t/warning-about-importing-spksparsespdbase-triangularsolve/128195 "2025-04-20T14:04:28Z")

</div>

When installing KiteModels.jl I get the warning: │ WARNING: could not import SpkSparseSpdBase.\_triangularsolve! into SpkSparseSpdSolver Any idea what could be the reason? I am not using any of these packages on purpo…

---

## [GLMakie datainspector: Tooltip from x,y-coordinate to date, value](https://discourse.julialang.org/t/glmakie-datainspector-tooltip-from-x-y-coordinate-to-date-value/128241)

<div class="topic-metadata">

**Author:** [@Fred\_van\_der\_Zeeuw](https://discourse.julialang.org/u/Fred_van_der_Zeeuw)\
**Replies:** 3\
**Last updated:** [April 20, 2025, 9:58am UTC](https://discourse.julialang.org/t/glmakie-datainspector-tooltip-from-x-y-coordinate-to-date-value/128241 "2025-04-20T09:58:52Z")

</div>

I am trying to plot a candlestick chart which can show tooltips with the date and open, high, low, close values but I am getting just x,y coordinates. I tried tooltip but didn’t get it to work. Tried datainspector which …

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

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