# Latest

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

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

**Page:** 179

---

## [Getting warning generated HTML from md file is too big](https://discourse.julialang.org/t/getting-warning-generated-html-from-md-file-is-too-big/128348)

<div class="topic-metadata">

**Author:** [@co1emi11er](https://discourse.julialang.org/u/co1emi11er)\
**Replies:** 3\
**Last updated:** [April 24, 2025, 6:43am UTC](https://discourse.julialang.org/t/getting-warning-generated-html-from-md-file-is-too-big/128348 "2025-04-24T06:43:33Z")

</div>

I am getting the following warning about two of my md files in my docs. julia\> servedocs() \[ Info: SetupBuildDirectory: setting up build directory. \[ Info: Doctest: running doctests. \[ Info: ExpandTemplates: expanding m…

---

## [SpecialFUnctions and CUDA](https://discourse.julialang.org/t/specialfunctions-and-cuda/116569)

<div class="topic-metadata">

**Author:** [@Ferran\_Mazzanti](https://discourse.julialang.org/u/Ferran_Mazzanti)\
**Replies:** 3\
**Last updated:** [April 24, 2025, 3:14am UTC](https://discourse.julialang.org/t/specialfunctions-and-cuda/116569 "2025-04-24T03:14:39Z")

</div>

Hi, I thought SpecialFunctions.jl worked flowlesly with CUDA, but I get this using CUDA N = 7000 M = CUDA.rand(N,N) besselh.(0,M) ERROR: InvalidIRError: compiling MethodInstance for (::GPUArrays.var"#35#37")(::CUDA.C…

---

## [Add lower bound to objective function?](https://discourse.julialang.org/t/add-lower-bound-to-objective-function/36261)

<div class="topic-metadata">

**Author:** [@gobs](https://discourse.julialang.org/u/gobs)\
**Replies:** 4\
**Last updated:** [April 24, 2025, 2:36am UTC](https://discourse.julialang.org/t/add-lower-bound-to-objective-function/36261 "2025-04-24T02:36:34Z")

</div>

I would like to help the MILP solver used by JuMP by providing it with a lower bound on the objective function. Is there a “smart” way of doing this other than to just add a constraint to the objective fcn expression, e.…

---

## [Objective\_bound and Gurobi](https://discourse.julialang.org/t/objective-bound-and-gurobi/46633)

<div class="topic-metadata">

**Author:** [@arkanver](https://discourse.julialang.org/u/arkanver)\
**Replies:** 2\
**Last updated:** [April 24, 2025, 2:23am UTC](https://discourse.julialang.org/t/objective-bound-and-gurobi/46633 "2025-04-24T02:23:14Z")

</div>

Hello ! I have shared some code with a research associate, aiming to compute the solution to a continuous optimization problem. Due to problem size, we use a time limit. The problem is that I use CPLEX, and my associate…

---

## [Segmentation fault (core dumped) in 1.11.5 REPL](https://discourse.julialang.org/t/segmentation-fault-core-dumped-in-1-11-5-repl/128323)

<div class="topic-metadata">

**Author:** [@Xing\_Shi\_Cai](https://discourse.julialang.org/u/Xing_Shi_Cai)\
**Replies:** 5\
**Last updated:** [April 24, 2025, 2:15am UTC](https://discourse.julialang.org/t/segmentation-fault-core-dumped-in-1-11-5-repl/128323 "2025-04-24T02:15:45Z")

</div>

I was trying to use my own package Pivot.jl in REPL. When I type m\<TAB\>, I got a segmentation fault. I can try to avoid autocompletion. But it’s a bit annoying not able to use it. Does anyone have similar problem and has…

---

## [Switch from Delphi/Pascal to Julia](https://discourse.julialang.org/t/switch-from-delphi-pascal-to-julia/66254)

<div class="topic-metadata">

**Author:** [@pjuergens](https://discourse.julialang.org/u/pjuergens)\
**Replies:** 14\
**Last updated:** [April 23, 2025, 10:50pm UTC](https://discourse.julialang.org/t/switch-from-delphi-pascal-to-julia/66254 "2025-04-23T22:50:26Z")

</div>

Dear Julia users, I am using an optimization model which is written in Delphi/Pascal and is called from a Python-Skript. However, Delphi (in my opinion) is not a very user friendly language and I would like to switch to…

---

## [PackageCompiler hangs while compiling nonincremental system image on Julia v1.11](https://discourse.julialang.org/t/packagecompiler-hangs-while-compiling-nonincremental-system-image-on-julia-v1-11/128099)

<div class="topic-metadata">

**Author:** [@uwestoehr](https://discourse.julialang.org/u/uwestoehr)\
**Replies:** 53\
**Last updated:** [April 23, 2025, 10:45pm UTC](https://discourse.julialang.org/t/packagecompiler-hangs-while-compiling-nonincremental-system-image-on-julia-v1-11/128099 "2025-04-23T22:45:37Z")

</div>

Thanks. I gave it a try, and the result is disappointing: I took the example as it is and followed the instructions but it hang up at compiling a “nonincremental system image”. (I have no clue what that term actually me…

---

## [Warm starting Ipopt with higher discretization points](https://discourse.julialang.org/t/warm-starting-ipopt-with-higher-discretization-points/127974)

<div class="topic-metadata">

**Author:** [@Dhormir](https://discourse.julialang.org/u/Dhormir)\
**Replies:** 8\
**Last updated:** [April 23, 2025, 9:43pm UTC](https://discourse.julialang.org/t/warm-starting-ipopt-with-higher-discretization-points/127974 "2025-04-23T21:43:01Z")

</div>

Hello, I’m fairly new to Julia and using Ipopt as a solver, and currently I’m facing the following problem. I’m solving an Optimal control problem with a discretization size of N. Then what I want to do is grab the prov…

---

## [Concatenating scalar ranges into single row matrix](https://discourse.julialang.org/t/concatenating-scalar-ranges-into-single-row-matrix/128326)

<div class="topic-metadata">

**Author:** [@keynescoefen](https://discourse.julialang.org/u/keynescoefen)\
**Replies:** 4\
**Last updated:** [April 23, 2025, 8:29pm UTC](https://discourse.julialang.org/t/concatenating-scalar-ranges-into-single-row-matrix/128326 "2025-04-23T20:29:18Z")

</div>

Hello! I have a simple query about concatenating ranges into a row matrix. The desired output is \[0 1 2 3 4\] which I am trying to achieve with \[\[(1 - 1):0\]' \[1:5-1\]'\] However, the output I receive is 1×2 adjoint(::V…

---

## [Websockets invalid value for Enum OpCode](https://discourse.julialang.org/t/websockets-invalid-value-for-enum-opcode/128335)

<div class="topic-metadata">

**Author:** [@freeman](https://discourse.julialang.org/u/freeman)\
**Replies:** 1\
**Last updated:** [April 23, 2025, 6:54pm UTC](https://discourse.julialang.org/t/websockets-invalid-value-for-enum-opcode/128335 "2025-04-23T18:54:16Z")

</div>

Just flagging that this happened out in the wild. │ e = ArgumentError: invalid value for Enum OpCode: 11 …

---

## [How to print a vector on a single line with JSON3.jl](https://discourse.julialang.org/t/how-to-print-a-vector-on-a-single-line-with-json3-jl/128329)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 1\
**Last updated:** [April 23, 2025, 5:51pm UTC](https://discourse.julialang.org/t/how-to-print-a-vector-on-a-single-line-with-json3-jl/128329 "2025-04-23T17:51:13Z")

</div>

Hi, Is it possible to write a vector on a single line using JSON3.jl ?

---

## [Tab-autocompletion in VS Code stopped working after upgrading Julia](https://discourse.julialang.org/t/tab-autocompletion-in-vs-code-stopped-working-after-upgrading-julia/128321)

<div class="topic-metadata">

**Author:** [@shubh\_b](https://discourse.julialang.org/u/shubh_b)\
**Replies:** 10\
**Last updated:** [April 23, 2025, 3:58pm UTC](https://discourse.julialang.org/t/tab-autocompletion-in-vs-code-stopped-working-after-upgrading-julia/128321 "2025-04-23T15:58:19Z")

</div>

I was using Julia-1.10.3, it was working smoothly with VS Code. But when I upgraded to Julia-1.11.5, VS Code stopped suggestions and tab-autocompletion of function names from any module, standard library. It is suggestin…

---

## [Gtk4 dropdown not working](https://discourse.julialang.org/t/gtk4-dropdown-not-working/128334)

<div class="topic-metadata">

**Author:** [@TheHedgehog2000](https://discourse.julialang.org/u/TheHedgehog2000)\
**Replies:** 0\
**Last updated:** [April 23, 2025, 2:53pm UTC](https://discourse.julialang.org/t/gtk4-dropdown-not-working/128334 "2025-04-23T14:53:30Z")

</div>

I am following the minimum working examples in this link: Dropdown widgets · Gtk4.jl. Neither works for me. In either case, when I try to select a new option from the drop down, nothing happens. Presumably, this is an is…

---

## [DynamicQuantities - possible to display values with affine units?](https://discourse.julialang.org/t/dynamicquantities-possible-to-display-values-with-affine-units/128332)

<div class="topic-metadata">

**Author:** [@mjmat](https://discourse.julialang.org/u/mjmat)\
**Replies:** 0\
**Last updated:** [April 23, 2025, 1:58pm UTC](https://discourse.julialang.org/t/dynamicquantities-possible-to-display-values-with-affine-units/128332 "2025-04-23T13:58:37Z")

</div>

Hello, I am experimenting with DynamicQuantities, and I am struggling with a simple problem: once you have created a variable with affine units, is it possible to display it with those units? Let’s say I create a DataFr…

---

## [How to share file with C?](https://discourse.julialang.org/t/how-to-share-file-with-c/128325)

<div class="topic-metadata">

**Author:** [@jsjie](https://discourse.julialang.org/u/jsjie)\
**Replies:** 3\
**Last updated:** [April 23, 2025, 12:52pm UTC](https://discourse.julialang.org/t/how-to-share-file-with-c/128325 "2025-04-23T12:52:19Z")

</div>

My program contains some libraries written in C, and both the Julia part and the C part will write to the same log file. How can I share the file between Julia and C? I didn’t find a way to use FILE\* in Julia. The file …

---

## [2025 Summer School on Numerical Methods in Quantum Information Science](https://discourse.julialang.org/t/2025-summer-school-on-numerical-methods-in-quantum-information-science/127769)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 6\
**Last updated:** [April 23, 2025, 12:42pm UTC](https://discourse.julialang.org/t/2025-summer-school-on-numerical-methods-in-quantum-information-science/127769 "2025-04-23T12:42:38Z")

</div>

This July we are again running a summer school on numerical methods in quantum information science, mostly in Julia. It will be in Amherst, Massachusetts, on the campus of UMass Amherst, a whole week, for just 90$ thanks…

---

## [ArgumentError: Package REPLExt \[e5eb5ef1-03cf-53a7-ae1d-5a66b08e832b\] is required but does not seem to be installed](https://discourse.julialang.org/t/argumenterror-package-replext-e5eb5ef1-03cf-53a7-ae1d-5a66b08e832b-is-required-but-does-not-seem-to-be-installed/121492)

<div class="topic-metadata">

**Author:** [@n\_a\_n\_a](https://discourse.julialang.org/u/n_a_n_a)\
**Replies:** 4\
**Last updated:** [April 23, 2025, 11:08am UTC](https://discourse.julialang.org/t/argumenterror-package-replext-e5eb5ef1-03cf-53a7-ae1d-5a66b08e832b-is-required-but-does-not-seem-to-be-installed/121492 "2025-04-23T11:08:49Z")

</div>

I’m having this issue in VSCode, not sure exactly what is going on, I am quite clueless.

---

## [JSON3 default values](https://discourse.julialang.org/t/json3-default-values/128324)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 0\
**Last updated:** [April 23, 2025, 9:57am UTC](https://discourse.julialang.org/t/json3-default-values/128324 "2025-04-23T09:57:17Z")

</div>

How can I add default parameters for a struct that is parsed using JSON3.jl ? Do I need to overload the StructTypes.construct method, or is there an easier way? Something like this: import JSON3 struct Foo foo::U…

---

## [ANN: A non-reversible rejection-free HMC sampler](https://discourse.julialang.org/t/ann-a-non-reversible-rejection-free-hmc-sampler/128292)

<div class="topic-metadata">

**Author:** [@mschauer](https://discourse.julialang.org/u/mschauer)\
**Replies:** 6\
**Last updated:** [April 23, 2025, 9:56am UTC](https://discourse.julialang.org/t/ann-a-non-reversible-rejection-free-hmc-sampler/128292 "2025-04-23T09:56:45Z")

</div>

Hej! Have you ever wondered if momentum flips/refreshments are really needed in HMC or if we somehow can avoid to lose our sense of direction after each proposal step? Or even wondered if we could get rid of rejectio…

---

## [Is it possible to pass arbitrary types into MTK?](https://discourse.julialang.org/t/is-it-possible-to-pass-arbitrary-types-into-mtk/128304)

<div class="topic-metadata">

**Author:** [@Matthew1](https://discourse.julialang.org/u/Matthew1)\
**Replies:** 9\
**Last updated:** [April 23, 2025, 8:58am UTC](https://discourse.julialang.org/t/is-it-possible-to-pass-arbitrary-types-into-mtk/128304 "2025-04-23T08:58:48Z")

</div>

Based on the following docs (https://docs.sciml.ai/ModelingToolkit/stable/comparison/), which says ‘Modelica is a declarative programming language. ModelingToolkit.jl is a declarative symbolic modeling language’, I would…

---

## [What is the best practice plotting workflow in julia?](https://discourse.julialang.org/t/what-is-the-best-practice-plotting-workflow-in-julia/128288)

<div class="topic-metadata">

**Author:** [@hz-xiaxz](https://discourse.julialang.org/u/hz-xiaxz)\
**Replies:** 4\
**Last updated:** [April 23, 2025, 7:40am UTC](https://discourse.julialang.org/t/what-is-the-best-practice-plotting-workflow-in-julia/128288 "2025-04-23T07:40:59Z")

</div>

Hi, don’t know if this is a duplicated question. Using Makie.jl to plot in Julia has been a wonderful experience. But I’m wondering if there is a more convenient way to plot like using Matplotlib in python? In plotting …

---

## [Ipopt does NOT memorize a best solution found so far](https://discourse.julialang.org/t/ipopt-does-not-memorize-a-best-solution-found-so-far/127244)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 7\
**Last updated:** [April 23, 2025, 7:24am UTC](https://discourse.julialang.org/t/ipopt-does-not-memorize-a-best-solution-found-so-far/127244 "2025-04-23T07:24:14Z")

</div>

The title is expounded through optimizing this function function g(x) return sin(7 \* x) + 1.2 \* cos(4.7 \* x) + 1.3 \* x end which can be visualized via, e.g. using CairoMakie f = Figure(); Axis(f\[1, 1\]); xs = LinRange(…

---

## [Recursive Accessor descend condition](https://discourse.julialang.org/t/recursive-accessor-descend-condition/128232)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 18\
**Last updated:** [April 23, 2025, 1:29am UTC](https://discourse.julialang.org/t/recursive-accessor-descend-condition/128232 "2025-04-23T01:29:33Z")

</div>

Is it possible to write this with Accessors.Recursive? using Accessors modifyrec(f, x) = if hasproperty(x, :bs) (@modify(x.bs |\> Elements()) do b modifyrec(f, b) end) |\> f else …

---

## [How to fix warnings related to Colors](https://discourse.julialang.org/t/how-to-fix-warnings-related-to-colors/128302)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [April 23, 2025, 1:24am UTC](https://discourse.julialang.org/t/how-to-fix-warnings-related-to-colors/128302 "2025-04-23T01:24:38Z")

</div>

When pre-compiling KiteControllers.jl, I get the following warnings: WARNING: using deprecated binding ColorTypes.RGB1 in Colors. , use XRGB instead. WARNING: using deprecated binding Colors.RGB1 in ImageCore. , use Col…

---

## [Passing a variable that isn't integrated by MTK to DiffEqParamEstim objective function](https://discourse.julialang.org/t/passing-a-variable-that-isnt-integrated-by-mtk-to-diffeqparamestim-objective-function/128308)

<div class="topic-metadata">

**Author:** [@Jarrod-Angove](https://discourse.julialang.org/u/Jarrod-Angove)\
**Replies:** 2\
**Last updated:** [April 22, 2025, 10:46pm UTC](https://discourse.julialang.org/t/passing-a-variable-that-isnt-integrated-by-mtk-to-diffeqparamestim-objective-function/128308 "2025-04-22T22:46:01Z")

</div>

I’m still a bit new to MTK, please excuse me if I’m missing something simple here. I have an ODE model that integrates over two variables, V\_a and V\_b. However, I can only measure the total volume, V\_tot, so I have cons…

---

## [What does Core.PartialStruct means for type stability?](https://discourse.julialang.org/t/what-does-core-partialstruct-means-for-type-stability/128310)

<div class="topic-metadata">

**Author:** [@mleseach](https://discourse.julialang.org/u/mleseach)\
**Replies:** 1\
**Last updated:** [April 22, 2025, 9:42pm UTC](https://discourse.julialang.org/t/what-does-core-partialstruct-means-for-type-stability/128310 "2025-04-22T21:42:51Z")

</div>

Hi, I was toying around with NamedTuple and I’m wondering if my code is type-stable. struct A end name(::A) = :a value(::A) = "test" struct B end name(::B) = :b value(::B) = ones(3, 3) function get\_values(inputs) …

---

## [PlotlyJS backend not working in Jupyter Notebook on VS Code](https://discourse.julialang.org/t/plotlyjs-backend-not-working-in-jupyter-notebook-on-vs-code/95827)

<div class="topic-metadata">

**Author:** [@y0avd](https://discourse.julialang.org/u/y0avd)\
**Replies:** 7\
**Last updated:** [April 22, 2025, 7:46pm UTC](https://discourse.julialang.org/t/plotlyjs-backend-not-working-in-jupyter-notebook-on-vs-code/95827 "2025-04-22T19:46:40Z")

</div>

The following code: using Plots plotlyjs() plot(rand(10,4),rand(10,4),rand(10,4)) Runs perfectly fine as a .jl in my vscode environment, but the same code just runs forever when inside of a Jupyter notebook in VS Cod…

---

## [CUDA(.jl) memory errors for very large kernels](https://discourse.julialang.org/t/cuda-jl-memory-errors-for-very-large-kernels/125831)

<div class="topic-metadata">

**Author:** [@AntonReinhard](https://discourse.julialang.org/u/AntonReinhard)\
**Replies:** 24\
**Last updated:** [April 22, 2025, 6:45pm UTC](https://discourse.julialang.org/t/cuda-jl-memory-errors-for-very-large-kernels/125831 "2025-04-22T18:45:39Z")

</div>

I have some questions about what some CUDA errors mean and what I can do about them. I’m dynamically generating code that I can successfully compile for both CPU and GPU targets (the GPU I’m using here is an A30 with 24…

---

## [Reproducibility of problems in Modelling Toolkit (MTK)](https://discourse.julialang.org/t/reproducibility-of-problems-in-modelling-toolkit-mtk/128216)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 7\
**Last updated:** [April 22, 2025, 5:57pm UTC](https://discourse.julialang.org/t/reproducibility-of-problems-in-modelling-toolkit-mtk/128216 "2025-04-22T17:57:17Z")

</div>

We are trying to cache the simplified model of an MTK model in a file. Currently we using the serialize() function of base Julia. Observation: The serialized file is different each time we generate it, even if the origi…

---

## [\[ANN\] Announcing TimeRecords.jl](https://discourse.julialang.org/t/ann-announcing-timerecords-jl/128305)

<div class="topic-metadata">

**Author:** [@Deduction42](https://discourse.julialang.org/u/Deduction42)\
**Replies:** 0\
**Last updated:** [April 22, 2025, 3:56pm UTC](https://discourse.julialang.org/t/ann-announcing-timerecords-jl/128305 "2025-04-22T15:56:12Z")

</div>

TimeRecords.jl After a couple of years in working on Edge and PubSub solutions, I’ve developed a timeseries package that’s mainly focused on common operations to collect and make such data easier to use in multiv…

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

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