# Latest

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

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

**Page:** 361

---

## [Correct way to archive older versions of your registered package?](https://discourse.julialang.org/t/correct-way-to-archive-older-versions-of-your-registered-package/117168)

<div class="topic-metadata">

**Author:** [@K5Julien](https://discourse.julialang.org/u/K5Julien)\
**Replies:** 1\
**Last updated:** [July 18, 2024, 6:17am UTC](https://discourse.julialang.org/t/correct-way-to-archive-older-versions-of-your-registered-package/117168 "2024-07-18T06:17:29Z")

</div>

Dear Julia Discourse community, I have several versions of my package (from v0.1.0 to v0.1.6). At the first versions, I did not use many tools (CompatHelper, CI, TagBot, Tests.jl, etc.). I was not aware of MoJuWo yet n…

---

## [How do i create a custom supertype?](https://discourse.julialang.org/t/how-do-i-create-a-custom-supertype/117166)

<div class="topic-metadata">

**Author:** [@Rockdeldiablo](https://discourse.julialang.org/u/Rockdeldiablo)\
**Replies:** 4\
**Last updated:** [July 18, 2024, 3:00am UTC](https://discourse.julialang.org/t/how-do-i-create-a-custom-supertype/117166 "2024-07-18T03:00:20Z")

</div>

hi everyone. i have a function that can return as output results of type Matrix{Categorical{Floaxx, Vector{Floatxx}}} where xx stands for the usual 16,32 or 64. i was trying to create a test for such function that che…

---

## [Making the review process more pleasant for new contributors](https://discourse.julialang.org/t/making-the-review-process-more-pleasant-for-new-contributors/102604)

<div class="topic-metadata">

**Author:** [@adienes](https://discourse.julialang.org/u/adienes)\
**Replies:** 59\
**Last updated:** [July 18, 2024, 2:18am UTC](https://discourse.julialang.org/t/making-the-review-process-more-pleasant-for-new-contributors/102604 "2024-07-18T02:18:03Z")

</div>

of course I understand there are resource constraints on reviewers, and ultimately there will always be a backlog. that being said, sometimes it feels like PRs that are “ready” for at least feedback, if not a merge, go…

---

## [Julia questions on SO sharply decreased: reasons?](https://discourse.julialang.org/t/julia-questions-on-so-sharply-decreased-reasons/116186)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 14\
**Last updated:** [July 18, 2024, 2:11am UTC](https://discourse.julialang.org/t/julia-questions-on-so-sharply-decreased-reasons/116186 "2024-07-18T02:11:34Z")

</div>

Just noticed that the number of Julia related questions on SO has sharply decresed in latest months and weeks. I don’t like SO, I don’t find it very welcoming and I prefer much more the community here on discourse, but …

---

## [Is there an alternative of StringCases.jl that changes string cases?](https://discourse.julialang.org/t/is-there-an-alternative-of-stringcases-jl-that-changes-string-cases/40994)

<div class="topic-metadata">

**Author:** [@singularitti](https://discourse.julialang.org/u/singularitti)\
**Replies:** 6\
**Last updated:** [July 18, 2024, 1:11am UTC](https://discourse.julialang.org/t/is-there-an-alternative-of-stringcases-jl-that-changes-string-cases/40994 "2024-07-18T01:11:44Z")

</div>

I want to switch strings between camelCase, PascalCase, snake\_case, etc. I found one package StringCases.jl but it is old and seems to be unmaintained. Is there any alternative?

---

## [Boolean open modes for \`open()\`](https://discourse.julialang.org/t/boolean-open-modes-for-open/117157)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 2\
**Last updated:** [July 18, 2024, 1:08am UTC](https://discourse.julialang.org/t/boolean-open-modes-for-open/117157 "2024-07-18T01:08:31Z")

</div>

I’m trying to understand the keyword arguments write, truncate, . . . , of the open() function. I put a link to the documentation at the end of this message. Specifically, I want to know What it means if you specify w…

---

## [Io\_uring support?](https://discourse.julialang.org/t/io-uring-support/48666)

<div class="topic-metadata">

**Author:** [@sashmit](https://discourse.julialang.org/u/sashmit)\
**Replies:** 4\
**Last updated:** [July 18, 2024, 12:38am UTC](https://discourse.julialang.org/t/io-uring-support/48666 "2024-07-18T00:38:56Z")

</div>

I’m currently experimenting with rust creating “glue” static analysis/bridge/compilers/abstract interpreters across some other langs (rust since it has a 2nd strong borrow checker that can just drop 1 bit refs and has ML…

---

## [How can I determine which callback is happening?](https://discourse.julialang.org/t/how-can-i-determine-which-callback-is-happening/117104)

<div class="topic-metadata">

**Author:** [@ericcdammannjr](https://discourse.julialang.org/u/ericcdammannjr)\
**Replies:** 2\
**Last updated:** [July 18, 2024, 12:25am UTC](https://discourse.julialang.org/t/how-can-i-determine-which-callback-is-happening/117104 "2024-07-18T00:25:11Z")

</div>

Below I have the important parts of the scripts for a model that determines the geomorphic behaviors of a tidal marsh and lagoon system. Seen below there are 3 “behaviors” in a vector continuous callback function and eve…

---

## [Adding a local package using the Pkg manager - how to add the path?](https://discourse.julialang.org/t/adding-a-local-package-using-the-pkg-manager-how-to-add-the-path/39138)

<div class="topic-metadata">

**Author:** [@roi.holtzman](https://discourse.julialang.org/u/roi.holtzman)\
**Replies:** 34\
**Last updated:** [July 18, 2024, 12:22am UTC](https://discourse.julialang.org/t/adding-a-local-package-using-the-pkg-manager-how-to-add-the-path/39138 "2024-07-18T00:22:44Z")

</div>

I have created a package using PkgTemplates, and everything is great. Now I want to use this package on another machine. I have copied the files. How do I add the path of the directory such that Pkg knows about it when I…

---

## [MPI parallel computation with SMatrix](https://discourse.julialang.org/t/mpi-parallel-computation-with-smatrix/117090)

<div class="topic-metadata">

**Author:** [@Kohei\_Hattori](https://discourse.julialang.org/u/Kohei_Hattori)\
**Replies:** 1\
**Last updated:** [July 17, 2024, 11:08pm UTC](https://discourse.julialang.org/t/mpi-parallel-computation-with-smatrix/117090 "2024-07-17T23:08:08Z")

</div>

I am a beginner in Julia. I would like to create a Julia code to send Matrix{SMatrix{2,2,ComplexF64,4}} to a neighboring process in MPI parallel computation. Here is the code I am currently working on. Thank you in advan…

---

## [Why are booleans printed as numbers?](https://discourse.julialang.org/t/why-are-booleans-printed-as-numbers/117164)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 4\
**Last updated:** [July 17, 2024, 10:21pm UTC](https://discourse.julialang.org/t/why-are-booleans-printed-as-numbers/117164 "2024-07-17T22:21:01Z")

</div>

With Julia 1.10.4: julia\> \[("a", true), ("b", false)\] 2-element Vector{Tuple{String, Bool}}: ("a", 1) ("b", 0) Here true / false are confusingly printed as 1 / 0.

---

## [How to handle an optimizer which doesn't support an attribute of MathOptInterface?](https://discourse.julialang.org/t/how-to-handle-an-optimizer-which-doesnt-support-an-attribute-of-mathoptinterface/117133)

<div class="topic-metadata">

**Author:** [@K5Julien](https://discourse.julialang.org/u/K5Julien)\
**Replies:** 2\
**Last updated:** [July 17, 2024, 9:59pm UTC](https://discourse.julialang.org/t/how-to-handle-an-optimizer-which-doesnt-support-an-attribute-of-mathoptinterface/117133 "2024-07-17T21:59:12Z")

</div>

Dear Julia Discourse’s optimization community, Because getting Node Count: MOI.get(m, MOI.NodeCount()) is not supported by GLPK.jl, at the end of my optimization model, I tried the following: nodecount = -1 try…

---

## [Functions of variables in @mtkmodel](https://discourse.julialang.org/t/functions-of-variables-in-mtkmodel/117159)

<div class="topic-metadata">

**Author:** [@sdwfrost](https://discourse.julialang.org/u/sdwfrost)\
**Replies:** 1\
**Last updated:** [July 17, 2024, 8:31pm UTC](https://discourse.julialang.org/t/functions-of-variables-in-mtkmodel/117159 "2024-07-17T20:31:17Z")

</div>

I’m playing with the new (at least to me) @mtkmodel syntax. Here’s my standard SIR model. using Symbolics using ModelingToolkit: t\_nounits as t, D\_nounits as D using OrdinaryDiffEq using Plots @mtkmodel SIR begin …

---

## [Variable scoping issue when using multiple GPUs in CUDA.jl](https://discourse.julialang.org/t/variable-scoping-issue-when-using-multiple-gpus-in-cuda-jl/117152)

<div class="topic-metadata">

**Author:** [@Cibin\_Joseph](https://discourse.julialang.org/u/Cibin_Joseph)\
**Replies:** 1\
**Last updated:** [July 17, 2024, 8:27pm UTC](https://discourse.julialang.org/t/variable-scoping-issue-when-using-multiple-gpus-in-cuda-jl/117152 "2024-07-17T20:27:12Z")

</div>

I’m using two for loops: one, to iterate over CUDA devices and launch kernels. The second, to iterate over CUDA devices and copy results back to the CPU. When I do this, I get an ‘undefined variable’ error due to local s…

---

## [Adjusting Font Size in Plot.jl: Legend Symbols and Lines Out of Scale](https://discourse.julialang.org/t/adjusting-font-size-in-plot-jl-legend-symbols-and-lines-out-of-scale/117141)

<div class="topic-metadata">

**Author:** [@TobiasSchaefer](https://discourse.julialang.org/u/TobiasSchaefer)\
**Replies:** 1\
**Last updated:** [July 17, 2024, 8:17pm UTC](https://discourse.julialang.org/t/adjusting-font-size-in-plot-jl-legend-symbols-and-lines-out-of-scale/117141 "2024-07-17T20:17:36Z")

</div>

Dear Julia community, Using default settings, the font size in a figure created with Plot.jl is very small. However, if I try to adapt the font sizes, the symbols and lines in the legend get out of scale. using Plots …

---

## [Modifying the legend of a plot with a colorbar](https://discourse.julialang.org/t/modifying-the-legend-of-a-plot-with-a-colorbar/117153)

<div class="topic-metadata">

**Author:** [@prconlin](https://discourse.julialang.org/u/prconlin)\
**Replies:** 2\
**Last updated:** [July 17, 2024, 6:04pm UTC](https://discourse.julialang.org/t/modifying-the-legend-of-a-plot-with-a-colorbar/117153 "2024-07-17T18:04:44Z")

</div>

Hello, I’m trying to modify the legend of this plot: The plot represents a random walk, which is simply a series of (x,y) coordinates. To indicate position vs time, I applied a gradient color scale to the line using…

---

## [Reading text data: \`readdlm\` is deprecated, so how CSV package is used?](https://discourse.julialang.org/t/reading-text-data-readdlm-is-deprecated-so-how-csv-package-is-used/116955)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 9\
**Last updated:** [July 17, 2024, 5:45pm UTC](https://discourse.julialang.org/t/reading-text-data-readdlm-is-deprecated-so-how-csv-package-is-used/116955 "2024-07-17T17:45:49Z")

</div>

In the issue tracker of DelimitedFiles I found a comment readdlm is also effectively deprecated and the CSV package should be used about reading text data files. I’m trying to read a plain text file listing numbe…

---

## [Googlesheet name](https://discourse.julialang.org/t/googlesheet-name/117146)

<div class="topic-metadata">

**Author:** [@dgagnon](https://discourse.julialang.org/u/dgagnon)\
**Replies:** 2\
**Last updated:** [July 17, 2024, 4:35pm UTC](https://discourse.julialang.org/t/googlesheet-name/117146 "2024-07-17T16:35:08Z")

</div>

Hello I can open a Googlesheet and get all sheet names inside with functionsheet\_names() with a GoogleSheetsClient and its id. However, I never found how to get the Spreadsheet name which is displayed in the browser. I…

---

## [Julia and C++ paired code dataset](https://discourse.julialang.org/t/julia-and-c-paired-code-dataset/117150)

<div class="topic-metadata">

**Author:** [@Arijit\_Bhattacharjee](https://discourse.julialang.org/u/Arijit_Bhattacharjee)\
**Replies:** 5\
**Last updated:** [July 17, 2024, 4:33pm UTC](https://discourse.julialang.org/t/julia-and-c-paired-code-dataset/117150 "2024-07-17T16:33:15Z")

</div>

Is there any repo or resources where I can find a Julia and C++ paired dataset. I need a julia implementation and the same implementation in C++. Any guidance would be really helpful.

---

## [Can SCIP solve MINLP with trigonometric functions?](https://discourse.julialang.org/t/can-scip-solve-minlp-with-trigonometric-functions/116967)

<div class="topic-metadata">

**Author:** [@Lunima](https://discourse.julialang.org/u/Lunima)\
**Replies:** 5\
**Last updated:** [July 17, 2024, 3:07pm UTC](https://discourse.julialang.org/t/can-scip-solve-minlp-with-trigonometric-functions/116967 "2024-07-17T15:07:00Z")

</div>

Hi everyone! I’m trying out SCIP in JuMP (with SCIP.jl). In the FAQ in the documentation, when aswering the question “Which kind of MINLPs are supported by SCIP?” (SCIP Doxygen Documentation: Frequently Asked Questions …

---

## [Modular implementation of optimization problems with JuMP](https://discourse.julialang.org/t/modular-implementation-of-optimization-problems-with-jump/116261)

<div class="topic-metadata">

**Author:** [@pierre-haessig](https://discourse.julialang.org/u/pierre-haessig)\
**Replies:** 9\
**Last updated:** [July 17, 2024, 2:59pm UTC](https://discourse.julialang.org/t/modular-implementation-of-optimization-problems-with-jump/116261 "2024-07-17T14:59:31Z")

</div>

Hello, This is a follow-up of my question on the thread about dynamic JuMP variable names Using anonymous and or symbols to create dynamic variable names? - #3 by pierre-haessig. I’m sharing here a JuMP code design stu…

---

## [Modify a Package, and load it](https://discourse.julialang.org/t/modify-a-package-and-load-it/117105)

<div class="topic-metadata">

**Author:** [@gustave\_Robichon](https://discourse.julialang.org/u/gustave_Robichon)\
**Replies:** 5\
**Last updated:** [July 17, 2024, 1:50pm UTC](https://discourse.julialang.org/t/modify-a-package-and-load-it/117105 "2024-07-17T13:50:26Z")

</div>

Hello :slight\_smile: I am using a SemiDefiniteProgram to solve a Quantum problem. I give to the SDP some constraints, and it makes a QR factorization which lasts a very long time, and then it makes some iterations. Duri…

---

## [IOContext :compact when showing array](https://discourse.julialang.org/t/iocontext-compact-when-showing-array/108163)

<div class="topic-metadata">

**Author:** [@goerz](https://discourse.julialang.org/u/goerz)\
**Replies:** 2\
**Last updated:** [July 17, 2024, 12:24pm UTC](https://discourse.julialang.org/t/iocontext-compact-when-showing-array/108163 "2024-07-17T12:24:57Z")

</div>

The documentation of IOContext says :compact \[…\] is set when printing array elements. However, I don’t find this to be true: struct MyStruct v::String end function Base.show(io::IO, val::MyStruct) if haskey…

---

## [DSP.jl - digitalFilter - no matching method when using 'fs' as argument](https://discourse.julialang.org/t/dsp-jl-digitalfilter-no-matching-method-when-using-fs-as-argument/117130)

<div class="topic-metadata">

**Author:** [@funboat](https://discourse.julialang.org/u/funboat)\
**Replies:** 3\
**Last updated:** [July 17, 2024, 12:19pm UTC](https://discourse.julialang.org/t/dsp-jl-digitalfilter-no-matching-method-when-using-fs-as-argument/117130 "2024-07-17T12:19:22Z")

</div>

Hi, Julia v1.10.4 DSP v0.7.9 I was trying to create a digital filter using the example code, and get the following error. https://github.com/JuliaDSP/DSP.jl/blob/76001f4f863f43df6b5ee48575e77f3dd3fe3941/docs/src/filt…

---

## [How to check for unwanted specialization and how to prevent specialization?](https://discourse.julialang.org/t/how-to-check-for-unwanted-specialization-and-how-to-prevent-specialization/117117)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 2\
**Last updated:** [July 17, 2024, 11:25am UTC](https://discourse.julialang.org/t/how-to-check-for-unwanted-specialization-and-how-to-prevent-specialization/117117 "2024-07-17T11:25:21Z")

</div>

Take this simple function: f(::Any) = 7. Its only argument is never used, so ideally Julia wouldn’t ever have to specialize for it, to prevent unnecessary compilation latency. The manual suggests using @nospecialize and B…

---

## [\[ANN\] MuJoCo.jl: Julia bindings and visualiser for the MuJoCo physics engine](https://discourse.julialang.org/t/ann-mujoco-jl-julia-bindings-and-visualiser-for-the-mujoco-physics-engine/107265)

<div class="topic-metadata">

**Author:** [@jmair](https://discourse.julialang.org/u/jmair)\
**Replies:** 2\
**Last updated:** [July 17, 2024, 9:44am UTC](https://discourse.julialang.org/t/ann-mujoco-jl-julia-bindings-and-visualiser-for-the-mujoco-physics-engine/107265 "2024-07-17T09:44:08Z")

</div>

Introducing MuJoCo.jl: Julia bindings for DeepMind’s MuJoCo physics engine! MuJoCo.jl contains a Julia wrapper for DeepMind’s general-purpose physics engine, MuJoCo. It allows users to simulate robotic systems, their co…

---

## [I cannot use the commands with\_optimizer() and getobjectivevalue() with JuMP, Gurobi](https://discourse.julialang.org/t/i-cannot-use-the-commands-with-optimizer-and-getobjectivevalue-with-jump-gurobi/83854)

<div class="topic-metadata">

**Author:** [@medardo](https://discourse.julialang.org/u/medardo)\
**Replies:** 9\
**Last updated:** [July 17, 2024, 8:21am UTC](https://discourse.julialang.org/t/i-cannot-use-the-commands-with-optimizer-and-getobjectivevalue-with-jump-gurobi/83854 "2024-07-17T08:21:29Z")

</div>

Hi, please somebody can help me? I cannot use this commands when I want to use JuMP and Gurobi: with\_optimizer() getobjectivevalue() I recived UndefVarError: … not defined

---

## [Error using package in local environment](https://discourse.julialang.org/t/error-using-package-in-local-environment/91777)

<div class="topic-metadata">

**Author:** [@mmv](https://discourse.julialang.org/u/mmv)\
**Replies:** 17\
**Last updated:** [July 17, 2024, 8:20am UTC](https://discourse.julialang.org/t/error-using-package-in-local-environment/91777 "2024-07-17T08:20:47Z")

</div>

Hi! I am using the StringViews package which works fine in the normal REPL, but is not found when I get into the test environment, even though I included a statement using StringViews in the runtests.jl file, as well as…

---

## [Memory usage of binaries from juliac compiler?](https://discourse.julialang.org/t/memory-usage-of-binaries-from-juliac-compiler/116918)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 3\
**Last updated:** [July 17, 2024, 8:19am UTC](https://discourse.julialang.org/t/memory-usage-of-binaries-from-juliac-compiler/116918 "2024-07-17T08:19:15Z")

</div>

There has been a JuliaCon talk about generating small binaries with juliac: This brings down the binary size, but does it bring down the startup RAM usage? It’s currently more than 200 MB on Linux.

---

## [Progress bar in Agents](https://discourse.julialang.org/t/progress-bar-in-agents/117127)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 0\
**Last updated:** [July 17, 2024, 7:28am UTC](https://discourse.julialang.org/t/progress-bar-in-agents/117127 "2024-07-17T07:28:21Z")

</div>

Hello everyone, Im working on an ABM model. Model in itself contains alot of conditions and operations based on that, it also has integration of differential equations. At the moment model is taking too much time to run…

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

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