# Latest

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

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

**Page:** 337

---

## [\[pre-ANN\] RingStarProblems.jl ⸺ A RSPSolver](https://discourse.julialang.org/t/pre-ann-ringstarproblems-jl-a-rspsolver/116992)

<div class="topic-metadata">

**Author:** [@K5Julien](https://discourse.julialang.org/u/K5Julien)\
**Replies:** 5\
**Last updated:** [August 1, 2024, 11:24pm UTC](https://discourse.julialang.org/t/pre-ann-ringstarproblems-jl-a-rspsolver/116992 "2024-08-01T23:24:20Z")

</div>

A Ring Star Problem variants Solver I am super happy to share the package RingStarProblems.jl. This package aims to provide a solver to the Ring Star Problem and its variants. You can checkout the Labbé et al. (2004) …

---

## [NCDatasets: performance issues deriving fast Minimum Maximum value as too slow](https://discourse.julialang.org/t/ncdatasets-performance-issues-deriving-fast-minimum-maximum-value-as-too-slow/118468)

<div class="topic-metadata">

**Author:** [@JosephPollacco](https://discourse.julialang.org/u/JosephPollacco)\
**Replies:** 12\
**Last updated:** [August 23, 2024, 4:14am UTC](https://discourse.julialang.org/t/ncdatasets-performance-issues-deriving-fast-minimum-maximum-value-as-too-slow/118468 "2024-08-23T04:14:54Z")

</div>

:turtle: :turtle: :turtle: :turtle: Finding minimum and maximum of a NetCDF files due to missing values is painfully slow. It takes me 2 minutes to perform this simple task: "NameOutput="SoilWater" Output\_NCDatasets =…

---

## [Subset differences between || and | operators](https://discourse.julialang.org/t/subset-differences-between-and-operators/118510)

<div class="topic-metadata">

**Author:** [@Adrian\_G](https://discourse.julialang.org/u/Adrian_G)\
**Replies:** 2\
**Last updated:** [August 23, 2024, 1:20am UTC](https://discourse.julialang.org/t/subset-differences-between-and-operators/118510 "2024-08-23T01:20:14Z")

</div>

Hi, I’m new to Julia. I have some questions regarding the subset function of DataFrames. I would appreciate if you could help me to solve them. df = DataFrame(x=\[2,0,8,9\], y=\[0,0,0,8\], z=\["A", "B", "C", "D"\], w=\["A","A"…

---

## [Changing font size of code and output in julia jupyter notebook](https://discourse.julialang.org/t/changing-font-size-of-code-and-output-in-julia-jupyter-notebook/60584)

<div class="topic-metadata">

**Author:** [@Sahil\_Goyal](https://discourse.julialang.org/u/Sahil_Goyal)\
**Replies:** 2\
**Last updated:** [August 23, 2024, 12:08am UTC](https://discourse.julialang.org/t/changing-font-size-of-code-and-output-in-julia-jupyter-notebook/60584 "2024-08-23T00:08:11Z")

</div>

I find the default the size of julia jupyter notebook to be small. I need to increase the code and output size in the notebook. Please tell how to do that rather than doing Ctrl + ‘+’.

---

## [Makie - update volumeslices](https://discourse.julialang.org/t/makie-update-volumeslices/116729)

<div class="topic-metadata">

**Author:** [@Oleg\_Melnik](https://discourse.julialang.org/u/Oleg_Melnik)\
**Replies:** 3\
**Last updated:** [August 22, 2024, 9:14pm UTC](https://discourse.julialang.org/t/makie-update-volumeslices/116729 "2024-08-22T21:14:18Z")

</div>

I am trying to add a timestep slider to the standard example from volumeslices | Makie to update the vol array I did not find a method how to update the dataset and redraw the diagram after I change the value of the sl…

---

## [Save user-defined input functions for different simulations](https://discourse.julialang.org/t/save-user-defined-input-functions-for-different-simulations/118461)

<div class="topic-metadata">

**Author:** [@clm](https://discourse.julialang.org/u/clm)\
**Replies:** 5\
**Last updated:** [August 22, 2024, 8:05pm UTC](https://discourse.julialang.org/t/save-user-defined-input-functions-for-different-simulations/118461 "2024-08-22T20:05:25Z")

</div>

I’m running a bunch of simulations, whose inputs and outputs I would like to save, where the user inputs are both numbers and functions. Currently, I save all of my inputs and outputs using JLD2. In a toy example of solv…

---

## [\[ANN\] WhereIsMyDocstring.jl (aka "what do \`@docs\` blocks do")](https://discourse.julialang.org/t/ann-whereismydocstring-jl-aka-what-do-docs-blocks-do/118498)

<div class="topic-metadata">

**Author:** [@thofma](https://discourse.julialang.org/u/thofma)\
**Replies:** 0\
**Last updated:** [August 22, 2024, 6:13pm UTC](https://discourse.julialang.org/t/ann-whereismydocstring-jl-aka-what-do-docs-blocks-do/118498 "2024-08-22T18:13:58Z")

</div>

Hi all, after spending too much time wrestling with @docs blocks when writing documentation, I decided to put together a small package to help with that: WhereIsMyDocstring.jl. The main application is helping you to fin…

---

## [Error: Error during loading of extension SymbolicsForwardDiffExt of Symbolics](https://discourse.julialang.org/t/error-error-during-loading-of-extension-symbolicsforwarddiffext-of-symbolics/118313)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 7\
**Last updated:** [August 22, 2024, 6:54pm UTC](https://discourse.julialang.org/t/error-error-during-loading-of-extension-symbolicsforwarddiffext-of-symbolics/118313 "2024-08-22T18:54:53Z")

</div>

I am getting the following error when installing my project Tethers.jl: 283 dependencies successfully precompiled in 295 seconds. 9 already precompiled. 2 dependencies had output during precompilation: ┌ Symbolics →…

---

## [VSCode: Executing inline is periodically very slow](https://discourse.julialang.org/t/vscode-executing-inline-is-periodically-very-slow/118413)

<div class="topic-metadata">

**Author:** [@HannesBraun](https://discourse.julialang.org/u/HannesBraun)\
**Replies:** 6\
**Last updated:** [August 22, 2024, 6:26pm UTC](https://discourse.julialang.org/t/vscode-executing-inline-is-periodically-very-slow/118413 "2024-08-22T18:26:12Z")

</div>

Hello everyone, I am using Julia for some time now and I use it on VSCode on files and data which is located in a Nextcloud Folder (it is local on my machine as far as I understand it) on Windows, Mac and Linux. Most o…

---

## [To confirm: The sign of the dual variable on a constraint of \`JuMP\` model](https://discourse.julialang.org/t/to-confirm-the-sign-of-the-dual-variable-on-a-constraint-of-jump-model/114292)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 7\
**Last updated:** [August 22, 2024, 5:50pm UTC](https://discourse.julialang.org/t/to-confirm-the-sign-of-the-dual-variable-on-a-constraint-of-jump-model/114292 "2024-08-22T17:50:30Z")

</div>

To make it more clear, let’s consider an optimization problem of the following standard form: \\begin{equation} \\begin{array}{cl} {\\min} & {f\_0(x)}\\\\ {\\mathrm{s.t.}} & {f\_i(x)\\leqslant 0,\\quad i=1,\\c…

---

## [Creating MTK components](https://discourse.julialang.org/t/creating-mtk-components/118426)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 4\
**Last updated:** [August 22, 2024, 5:43pm UTC](https://discourse.julialang.org/t/creating-mtk-components/118426 "2024-08-22T17:43:49Z")

</div>

I created a nice tether model using MTK. Now the question arises, can I create an MTK component out of it. It would need two or three ports: at point one a force vector and and a speed vector at point two the same in …

---

## [Computing the jacobian of NN while using Lux](https://discourse.julialang.org/t/computing-the-jacobian-of-nn-while-using-lux/93059)

<div class="topic-metadata">

**Author:** [@clm](https://discourse.julialang.org/u/clm)\
**Replies:** 6\
**Last updated:** [August 22, 2024, 2:17pm UTC](https://discourse.julialang.org/t/computing-the-jacobian-of-nn-while-using-lux/93059 "2024-08-22T14:17:05Z")

</div>

I’m revisiting some code I was working on a while ago and rewrite it from Flux to Lux. Previously, I was trying to use DiffEqFlux to solve for a neural network U where my differential equation contains both U(\[x,y,t\],p) …

---

## [Using environment variables to moderate GC. julia version 1.10.4 with prerelease version](https://discourse.julialang.org/t/using-environment-variables-to-moderate-gc-julia-version-1-10-4-with-prerelease-version/118483)

<div class="topic-metadata">

**Author:** [@hapopo](https://discourse.julialang.org/u/hapopo)\
**Replies:** 1\
**Last updated:** [August 22, 2024, 4:50pm UTC](https://discourse.julialang.org/t/using-environment-variables-to-moderate-gc-julia-version-1-10-4-with-prerelease-version/118483 "2024-08-22T16:50:55Z")

</div>

Hello, i am new to julia and using it for numerical simulations. i use a very RAM heavy code that generates multiple dictionaries with a lot of entries. I use Threads.@threads in this code using 60 workers (i have 64 log…

---

## [PennyLane - worth a read](https://discourse.julialang.org/t/pennylane-worth-a-read/34318)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 2\
**Last updated:** [August 22, 2024, 3:18pm UTC](https://discourse.julialang.org/t/pennylane-worth-a-read/34318 "2024-08-22T15:18:53Z")

</div>

At FOSDEM I saw a presentation on PennyLane OK, so its Python but it is functionally oriented and they use differentiable circuits. I had a quick chat with the presenter and he agreed there is commonality with Julia…

---

## [Jupyter notebook continuous integration with github actions](https://discourse.julialang.org/t/jupyter-notebook-continuous-integration-with-github-actions/118479)

<div class="topic-metadata">

**Author:** [@loisel](https://discourse.julialang.org/u/loisel)\
**Replies:** 3\
**Last updated:** [August 22, 2024, 1:42pm UTC](https://discourse.julialang.org/t/jupyter-notebook-continuous-integration-with-github-actions/118479 "2024-08-22T13:42:06Z")

</div>

What’s the current best way of setting up CI with github actions for Jupyter notebooks containing Julia code? I’ve found some blog posts, github actions and similar, proposing some solutions, e.g. (1), (2), (3), (4), (5…

---

## [VSCode linter warning "A non-DataType has been used in a type declaration statement."](https://discourse.julialang.org/t/vscode-linter-warning-a-non-datatype-has-been-used-in-a-type-declaration-statement/118482)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 1\
**Last updated:** [August 22, 2024, 12:35pm UTC](https://discourse.julialang.org/t/vscode-linter-warning-a-non-datatype-has-been-used-in-a-type-declaration-statement/118482 "2024-08-22T12:35:06Z")

</div>

Why does the VSCode extension highlight such cases as “A non-DataType has been used in a type declaration statement.”, when this is a valid type declaration? I understand that this may be disabled, but what is the purp…

---

## [Getting file dialog in Blink](https://discourse.julialang.org/t/getting-file-dialog-in-blink/118480)

<div class="topic-metadata">

**Author:** [@Eben60](https://discourse.julialang.org/u/Eben60)\
**Replies:** 0\
**Last updated:** [August 22, 2024, 11:47am UTC](https://discourse.julialang.org/t/getting-file-dialog-in-blink/118480 "2024-08-22T11:47:18Z")

</div>

In connection with building a GUI for PkgTemplates, I’d like to have a file/directory picker. The whole thing is Blink.jl → Electron → HTML+JS based. \<input\> tag doesn’t work as I need it, as it doesn’t return the full …

---

## [Broadcasting on views](https://discourse.julialang.org/t/broadcasting-on-views/118459)

<div class="topic-metadata">

**Author:** [@pratikvn](https://discourse.julialang.org/u/pratikvn)\
**Replies:** 2\
**Last updated:** [August 22, 2024, 11:22am UTC](https://discourse.julialang.org/t/broadcasting-on-views/118459 "2024-08-22T11:22:45Z")

</div>

Hello, I would like to perform a broadcast operation on views with indices stored in a struct. I am not sure how exactly to acheive this with Julia syntax. Essentially I have a struct like so: struct Foo id::Inte…

---

## [Recommendations for solver and options to solve a MIQP, just looking for a feasible solution](https://discourse.julialang.org/t/recommendations-for-solver-and-options-to-solve-a-miqp-just-looking-for-a-feasible-solution/107024)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 5\
**Last updated:** [August 22, 2024, 10:03am UTC](https://discourse.julialang.org/t/recommendations-for-solver-and-options-to-solve-a-miqp-just-looking-for-a-feasible-solution/107024 "2024-08-22T10:03:24Z")

</div>

I formulated a mixed-integer quadratic program (MIQP) using MathOptInterface.jl to solve a problem for a student competition. It’s got some continuous variables that are the solution I’m looking for, and I also had to in…

---

## [JuliaMono Nerd Font](https://discourse.julialang.org/t/juliamono-nerd-font/118471)

<div class="topic-metadata">

**Author:** [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Replies:** 3\
**Last updated:** [August 22, 2024, 8:42am UTC](https://discourse.julialang.org/t/juliamono-nerd-font/118471 "2024-08-22T08:42:53Z")

</div>

Can we get a JuliaMono Nerd Font? I could use all these icons :slight\_smile: cc @cormullion

---

## [How do I convert a large Array to a StaticArray](https://discourse.julialang.org/t/how-do-i-convert-a-large-array-to-a-staticarray/118454)

<div class="topic-metadata">

**Author:** [@lupemba](https://discourse.julialang.org/u/lupemba)\
**Replies:** 8\
**Last updated:** [August 22, 2024, 8:39am UTC](https://discourse.julialang.org/t/how-do-i-convert-a-large-array-to-a-staticarray/118454 "2024-08-22T08:39:10Z")

</div>

What is the best way to convert a larger array to a StaticArray. I have tried the following which works fine for a small array but not for a medium size. using StaticArrays # this works A1 = zeros(UInt16, (3, 4, 5)); @…

---

## [Error while loading Serialized BSON](https://discourse.julialang.org/t/error-while-loading-serialized-bson/118408)

<div class="topic-metadata">

**Author:** [@Emma\_B](https://discourse.julialang.org/u/Emma_B)\
**Replies:** 4\
**Last updated:** [August 22, 2024, 7:10am UTC](https://discourse.julialang.org/t/error-while-loading-serialized-bson/118408 "2024-08-22T07:10:52Z")

</div>

I have a BSON file, I used to save a Flux network using @save modelpath model #Loss\_params\_1 batchSize NbBatch lr weigths I’m trying to load “model”, but encountered the following error: julia\> d2 = BSON.load(myPath,…

---

## [Is the GenAI Bubble Finally Popping?](https://discourse.julialang.org/t/is-the-genai-bubble-finally-popping/118460)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 19\
**Last updated:** [August 22, 2024, 1:53am UTC](https://discourse.julialang.org/t/is-the-genai-bubble-finally-popping/118460 "2024-08-22T01:53:16Z")

</div>

Is the GenAI Bubble Finally Popping? (hpcwire.com)

---

## [Attempting to Warm start causes errors](https://discourse.julialang.org/t/attempting-to-warm-start-causes-errors/118450)

<div class="topic-metadata">

**Author:** [@fimiller](https://discourse.julialang.org/u/fimiller)\
**Replies:** 2\
**Last updated:** [August 22, 2024, 1:45am UTC](https://discourse.julialang.org/t/attempting-to-warm-start-causes-errors/118450 "2024-08-22T01:45:52Z")

</div>

I am trying to warm start my problem using a sparse matrix. The following code produces an error: model = Model(Mosek.Optimizer) @variable(model, Z\[1:size(cost)\[1\],1:size(cost)\[2\]\], PSD) set\_start\_value(Z, warm\_start\_v…

---

## [Problem with contour plots in PythonPlot.jl](https://discourse.julialang.org/t/problem-with-contour-plots-in-pythonplot-jl/118435)

<div class="topic-metadata">

**Author:** [@Sh\_166](https://discourse.julialang.org/u/Sh_166)\
**Replies:** 2\
**Last updated:** [August 22, 2024, 1:01am UTC](https://discourse.julialang.org/t/problem-with-contour-plots-in-pythonplot-jl/118435 "2024-08-22T01:01:33Z")

</div>

With reference to my earlier post here, I have stumbled upon a bad issue. As in the earlier post, my code is as follows: using PythonPlot, LaTeXStrings, Measures, PlotThemes f(X, Y) = (100/(3\*s\*k^2))\*(((1-(X/Y)^2)^3))…

---

## [How to use OffsetArray with CUDA](https://discourse.julialang.org/t/how-to-use-offsetarray-with-cuda/118400)

<div class="topic-metadata">

**Author:** [@0samuraiE](https://discourse.julialang.org/u/0samuraiE)\
**Replies:** 8\
**Last updated:** [August 21, 2024, 11:58pm UTC](https://discourse.julialang.org/t/how-to-use-offsetarray-with-cuda/118400 "2024-08-21T23:58:41Z")

</div>

Hello all. In the following code, sum returns ERROR: Scalar indexing is disallowed. How should sum be dispatched or How should I do? A = OffsetArray(CUDA.rand(10), -4:5); a = @views A\[-1:2\]; sum(a)

---

## [Most efficient way to find cholesky decomposition of slices of a 3D array in KernelAbstractions](https://discourse.julialang.org/t/most-efficient-way-to-find-cholesky-decomposition-of-slices-of-a-3d-array-in-kernelabstractions/118292)

<div class="topic-metadata">

**Author:** [@Jarrod-Angove](https://discourse.julialang.org/u/Jarrod-Angove)\
**Replies:** 4\
**Last updated:** [August 21, 2024, 11:01pm UTC](https://discourse.julialang.org/t/most-efficient-way-to-find-cholesky-decomposition-of-slices-of-a-3d-array-in-kernelabstractions/118292 "2024-08-21T23:01:30Z")

</div>

I am using KernelAbstractions.jl to write a machine learning package that is device-agnostic. At one point in my algorithm, I end up with a NxNxn tensor, let’s call it T, on the device. I need to create a new vector, le…

---

## [There is a Problem with Minimum function, can any one help me?](https://discourse.julialang.org/t/there-is-a-problem-with-minimum-function-can-any-one-help-me/87628)

<div class="topic-metadata">

**Author:** [@Alireza\_yousefi](https://discourse.julialang.org/u/Alireza_yousefi)\
**Replies:** 4\
**Last updated:** [September 22, 2022, 12:05pm UTC](https://discourse.julialang.org/t/there-is-a-problem-with-minimum-function-can-any-one-help-me/87628 "2022-09-22T12:05:49Z")

</div>

I wanna find the min & max of a column of a matrix. I use minimum function, but I have below problem, anyone know what happen? thanks

---

## [Understanding multiple dispatch](https://discourse.julialang.org/t/understanding-multiple-dispatch/76601)

<div class="topic-metadata">

**Author:** [@how](https://discourse.julialang.org/u/how)\
**Replies:** 30\
**Last updated:** [August 21, 2024, 9:00pm UTC](https://discourse.julialang.org/t/understanding-multiple-dispatch/76601 "2024-08-21T21:00:41Z")

</div>

Hi, I am studying Multiple dispatch, and have some troubles. While studying Julia language, I understood that Multiple dispatch is something that selecting which method to be applied based on the argument’s type. In t…

---

## [Problem running shell commands in Pluto](https://discourse.julialang.org/t/problem-running-shell-commands-in-pluto/66043)

<div class="topic-metadata">

**Author:** [@kevin.squire](https://discourse.julialang.org/u/kevin.squire)\
**Replies:** 4\
**Last updated:** [August 21, 2024, 7:05pm UTC](https://discourse.julialang.org/t/problem-running-shell-commands-in-pluto/66043 "2024-08-21T19:05:39Z")

</div>

I’m attempting to capture the output of a shell command in Pluto. In the REPL, the following works: julia\> oc = OutputCollector(\`ls -al\`) OutputCollector(\`ls -al\`, Process(\`ls -al\`, ProcessRunning), OutputCollectors.Li…

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

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