# Latest

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

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

**Page:** 170

---

## [How to license CPLEX inside Google Colab’s Julia environment](https://discourse.julialang.org/t/how-to-license-cplex-inside-google-colab-s-julia-environment/128682)

<div class="topic-metadata">

**Author:** [@Engr\_Moiz\_Ahmad](https://discourse.julialang.org/u/Engr_Moiz_Ahmad)\
**Replies:** 9\
**Last updated:** [May 8, 2025, 7:11pm UTC](https://discourse.julialang.org/t/how-to-license-cplex-inside-google-colab-s-julia-environment/128682 "2025-05-08T19:11:40Z")

</div>

I am dealing with a multi-stage mixed-integer stochastic global supply chain optimization problem and want to solve the stage-wise problem instances using the CPLEX solver within SDDiP algorithm using the SDDP.jl package…

---

## [JuliaCon 2025 Speakers: please update your availability in PreTalx](https://discourse.julialang.org/t/juliacon-2025-speakers-please-update-your-availability-in-pretalx/128847)

<div class="topic-metadata">

**Author:** [@kslimes](https://discourse.julialang.org/u/kslimes)\
**Replies:** 2\
**Last updated:** [May 8, 2025, 5:58pm UTC](https://discourse.julialang.org/t/juliacon-2025-speakers-please-update-your-availability-in-pretalx/128847 "2025-05-08T17:58:18Z")

</div>

Hello all! If you’ve had a session accepted to JuliaCon 2025 in Pittsburgh, please update your speaker availability in PreTalx. You can do this by going to Login :: JuliaCon 2025 :: pretalx and selecting the dates and t…

---

## [Pluto: Move Cell Output to the side](https://discourse.julialang.org/t/pluto-move-cell-output-to-the-side/128845)

<div class="topic-metadata">

**Author:** [@habemus-papadum](https://discourse.julialang.org/u/habemus-papadum)\
**Replies:** 2\
**Last updated:** [May 8, 2025, 4:39pm UTC](https://discourse.julialang.org/t/pluto-move-cell-output-to-the-side/128845 "2025-05-08T16:39:10Z")

</div>

Hi, Is it possible to pin the output of a cell to the side of the browser window? Similar to how PlutoUI.TableOfContents works, but for a the output of a single cell (the output mime type for the cell in png). I vague…

---

## [Simplifying Iwasawa decomposition with Symbolics.jl](https://discourse.julialang.org/t/simplifying-iwasawa-decomposition-with-symbolics-jl/128842)

<div class="topic-metadata">

**Author:** [@potatoh8](https://discourse.julialang.org/u/potatoh8)\
**Replies:** 0\
**Last updated:** [May 8, 2025, 3:42pm UTC](https://discourse.julialang.org/t/simplifying-iwasawa-decomposition-with-symbolics-jl/128842 "2025-05-08T15:42:31Z")

</div>

I’m trying to verify the following matrix identity using Symbolics.jl: Here’s my attempt: using Symbolics function SL2CIwasawaDecomp(X) # given matrix X in SL2C, return tuple (z, r, α, β) such that # X = n(z…

---

## [Julia adoption: Method confusion](https://discourse.julialang.org/t/julia-adoption-method-confusion/128672)

<div class="topic-metadata">

**Author:** [@ShalokShalom](https://discourse.julialang.org/u/ShalokShalom)\
**Replies:** 12\
**Last updated:** [May 8, 2025, 1:22pm UTC](https://discourse.julialang.org/t/julia-adoption-method-confusion/128672 "2025-05-08T13:22:24Z")

</div>

I have been in the ‘Programming Languages Development’ Discord (fun place) for a couple of weeks now, so many times when I bring up multiple dispatch, someone says: “That’s messy, you quickly drown in methods, and loose…

---

## [Using LanguageServer.jl with eglot in emacs](https://discourse.julialang.org/t/using-languageserver-jl-with-eglot-in-emacs/23125)

<div class="topic-metadata">

**Author:** [@non-Jedi](https://discourse.julialang.org/u/non-Jedi)\
**Replies:** 114\
**Last updated:** [May 8, 2025, 1:00pm UTC](https://discourse.julialang.org/t/using-languageserver-jl-with-eglot-in-emacs/23125 "2025-05-08T13:00:07Z")

</div>

This weekend I got LanguageServer.jl working with eglot (an alternative to lsp-mode), and I documented the process in the LanguageServer.jl wiki. I haven’t had enough time to play with it and see how it compares to lsp-m…

---

## [Disable default rng](https://discourse.julialang.org/t/disable-default-rng/128790)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 10\
**Last updated:** [May 8, 2025, 11:26am UTC](https://discourse.julialang.org/t/disable-default-rng/128790 "2025-05-08T11:26:22Z")

</div>

In a test suite I want to make sure that the default RNG is never called (clarification: even indirectly, somewhere within a package), ie that all calls to rand & friends have an explicit rng as their first argument. Th…

---

## [What is a recommended way to solve a linear equation?](https://discourse.julialang.org/t/what-is-a-recommended-way-to-solve-a-linear-equation/128420)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 31\
**Last updated:** [May 8, 2025, 6:48am UTC](https://discourse.julialang.org/t/what-is-a-recommended-way-to-solve-a-linear-equation/128420 "2025-05-08T06:48:34Z")

</div>

I wonder what is a fair way to solve (maybe approximately) a linear equation system Ax = b, at this time. The A may be very large scale and sparse. I might want to use an iterative solution approach (e.g. CG, MINRES etc.…

---

## [Counter-intuitive difference in matrix-vector multiplication when the matrix is transposed](https://discourse.julialang.org/t/counter-intuitive-difference-in-matrix-vector-multiplication-when-the-matrix-is-transposed/127479)

<div class="topic-metadata">

**Author:** [@mrkn](https://discourse.julialang.org/u/mrkn)\
**Replies:** 4\
**Last updated:** [May 8, 2025, 6:41am UTC](https://discourse.julialang.org/t/counter-intuitive-difference-in-matrix-vector-multiplication-when-the-matrix-is-transposed/127479 "2025-05-08T06:41:11Z")

</div>

I found that matrix-vector multiplication in Julia uses a different algorithm when the matrix is wrapped by Transpose or Adjoint, compared to when it is a regular Matrix. As a result, the multiplication can sometimes pro…

---

## [Sprand fails to construct a SparseVector](https://discourse.julialang.org/t/sprand-fails-to-construct-a-sparsevector/128828)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 3\
**Last updated:** [May 8, 2025, 6:36am UTC](https://discourse.julialang.org/t/sprand-fails-to-construct-a-sparsevector/128828 "2025-05-08T06:36:36Z")

</div>

I can construct a random SparseMatrixCSC, but not a SparseVector in the same way. Where am I wrong? julia\> using SparseArrays julia\> rfn = n -\> rand(-9:.1:9, n) #1 (generic function with 1 method) julia\> sprand(7, 8, …

---

## [Formatting assignment in function call](https://discourse.julialang.org/t/formatting-assignment-in-function-call/105269)

<div class="topic-metadata">

**Author:** [@jdm204](https://discourse.julialang.org/u/jdm204)\
**Replies:** 3\
**Last updated:** [May 8, 2025, 5:57am UTC](https://discourse.julialang.org/t/formatting-assignment-in-function-call/105269 "2025-05-08T05:57:14Z")

</div>

I assign to a variable in the condition of a while loop in this working code: getdata() = rand() \< 0.5 ? rand() : missing function dowork() while !ismissing((val = getdata();)) println(val^2) end end W…

---

## [\[ANN\] Announcing CliqueTrees.jl: Tree Decompositions in Julia](https://discourse.julialang.org/t/ann-announcing-cliquetrees-jl-tree-decompositions-in-julia/128808)

<div class="topic-metadata">

**Author:** [@samuelsonric](https://discourse.julialang.org/u/samuelsonric)\
**Replies:** 0\
**Last updated:** [May 7, 2025, 3:57pm UTC](https://discourse.julialang.org/t/ann-announcing-cliquetrees-jl-tree-decompositions-in-julia/128808 "2025-05-07T15:57:07Z")

</div>

Introduction CliqueTrees.jl is a Julia package for constructing tree decompositions and chordal completions of graphs. Tree decompositions are often used to schedule computations in dynamic programming algorithms. In par…

---

## [ControlSystems.jl: Custom labels in a plot of step response of a MIMO system](https://discourse.julialang.org/t/controlsystems-jl-custom-labels-in-a-plot-of-step-response-of-a-mimo-system/128821)

<div class="topic-metadata">

**Author:** [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)\
**Replies:** 2\
**Last updated:** [May 8, 2025, 4:56am UTC](https://discourse.julialang.org/t/controlsystems-jl-custom-labels-in-a-plot-of-step-response-of-a-mimo-system/128821 "2025-05-08T04:56:28Z")

</div>

I am struggling with setting my own labels correctly in a plot of a step response of a MIMO system. Consider a generic MIMO LTI system with 2 inputs and 2 outputs, say: using ControlSystems using Plots A = \[-10 2; 3 -4…

---

## [How do you manage and test API calls workflows?](https://discourse.julialang.org/t/how-do-you-manage-and-test-api-calls-workflows/128747)

<div class="topic-metadata">

**Author:** [@ShadowSyntax](https://discourse.julialang.org/u/ShadowSyntax)\
**Replies:** 3\
**Last updated:** [May 8, 2025, 4:48am UTC](https://discourse.julialang.org/t/how-do-you-manage-and-test-api-calls-workflows/128747 "2025-05-08T04:48:51Z")

</div>

I’m building a pipeline where Julia pulls in and sends out data via HTTP. Curious how others test their API logic — inside Julia or with external tools? Looking for fast and flexible solutions.

---

## [Using docker2exe with Julia](https://discourse.julialang.org/t/using-docker2exe-with-julia/128795)

<div class="topic-metadata">

**Author:** [@roflmaostc](https://discourse.julialang.org/u/roflmaostc)\
**Replies:** 1\
**Last updated:** [May 8, 2025, 3:48am UTC](https://discourse.julialang.org/t/using-docker2exe-with-julia/128795 "2025-05-08T03:48:38Z")

</div>

Hi, just out of curiosity. This would work with Julia too? For example, to ship educational standalone Pluto notebooks (many, not just one) with all packages precompiled and installed? Of course the size might be GBs…

---

## [Step by step instruction and example how to create standalone applications for Windows with a \[G\]UI](https://discourse.julialang.org/t/step-by-step-instruction-and-example-how-to-create-standalone-applications-for-windows-with-a-g-ui/128274)

<div class="topic-metadata">

**Author:** [@uwestoehr](https://discourse.julialang.org/u/uwestoehr)\
**Replies:** 17\
**Last updated:** [May 8, 2025, 12:58am UTC](https://discourse.julialang.org/t/step-by-step-instruction-and-example-how-to-create-standalone-applications-for-windows-with-a-g-ui/128274 "2025-05-08T00:58:20Z")

</div>

After many hours of troubles, discussions and problems, gave this issue a final try and here is my solution. I created a complete repository called “Juliastic” that provides these features: step by step instructions h…

---

## [Wave Equation Numerically Solved?](https://discourse.julialang.org/t/wave-equation-numerically-solved/128820)

<div class="topic-metadata">

**Author:** [@wbradycall](https://discourse.julialang.org/u/wbradycall)\
**Replies:** 2\
**Last updated:** [May 8, 2025, 12:12am UTC](https://discourse.julialang.org/t/wave-equation-numerically-solved/128820 "2025-05-08T00:12:34Z")

</div>

Any good example of the wave equation solved numerically? Brady Call

---

## [CI : benchmarking dependencies best practices?](https://discourse.julialang.org/t/ci-benchmarking-dependencies-best-practices/128402)

<div class="topic-metadata">

**Author:** [@s\_amap](https://discourse.julialang.org/u/s_amap)\
**Replies:** 3\
**Last updated:** [May 8, 2025, 12:12am UTC](https://discourse.julialang.org/t/ci-benchmarking-dependencies-best-practices/128402 "2025-05-08T00:12:12Z")

</div>

I’m working on several packages, with one or two packages with core features, and others depending on them, which aren’t really develop-centric, more so user applications. When adding features to the core packages, ther…

---

## [New Julia HPC Call on second Thursday of the month](https://discourse.julialang.org/t/new-julia-hpc-call-on-second-thursday-of-the-month/114961)

<div class="topic-metadata">

**Author:** [@giordano](https://discourse.julialang.org/u/giordano)\
**Replies:** 2\
**Last updated:** [May 7, 2025, 9:55pm UTC](https://discourse.julialang.org/t/new-julia-hpc-call-on-second-thursday-of-the-month/114961 "2025-05-07T21:55:05Z")

</div>

As announced in the poll we launched last month, in order to cater for more people across the globe we’re starting an additional time for the Julia HPC call: second Thursday of the month, at 13:00 British Time/14:00 Cent…

---

## [Better way to do \`\`\`getindex.\`\`\`](https://discourse.julialang.org/t/better-way-to-do-getindex/128814)

<div class="topic-metadata">

**Author:** [@atteson](https://discourse.julialang.org/u/atteson)\
**Replies:** 7\
**Last updated:** [May 7, 2025, 9:51pm UTC](https://discourse.julialang.org/t/better-way-to-do-getindex/128814 "2025-05-07T21:51:17Z")

</div>

I often have a need to index a list of lists at a single index and use, e.g.: getindex.( list\_of\_lists, 1 ) I would love to instead write list\_of\_lists.\[1\] but this seems to be invalid syntax. Is there some other way o…

---

## [Is there a way to enforce (or encourage) strict rules like ladder programming in Julia?](https://discourse.julialang.org/t/is-there-a-way-to-enforce-or-encourage-strict-rules-like-ladder-programming-in-julia/128782)

<div class="topic-metadata">

**Author:** [@AwesomeQuest](https://discourse.julialang.org/u/AwesomeQuest)\
**Replies:** 9\
**Last updated:** [May 7, 2025, 9:37pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-enforce-or-encourage-strict-rules-like-ladder-programming-in-julia/128782 "2025-05-07T21:37:47Z")

</div>

I recently took a course on PLC programming and it taught me a lot about how to make a robust program. I’m now using Julia to control some semi-dangerous equipment (a laser) and I’m running into issues that wouldn’t gen…

---

## [Slow array access during labeling algorithm](https://discourse.julialang.org/t/slow-array-access-during-labeling-algorithm/128366)

<div class="topic-metadata">

**Author:** [@Walter](https://discourse.julialang.org/u/Walter)\
**Replies:** 9\
**Last updated:** [May 7, 2025, 8:03pm UTC](https://discourse.julialang.org/t/slow-array-access-during-labeling-algorithm/128366 "2025-05-07T20:03:12Z")

</div>

Hi all, I switched from Python to Julia and are currently implementing a column generation algorithm for a vehicle routing problem. To generate a column (route) with negative reduced cost, I use a labeling algorithm. T…

---

## [Logging events when running a CTMC](https://discourse.julialang.org/t/logging-events-when-running-a-ctmc/128778)

<div class="topic-metadata">

**Author:** [@julien-arino](https://discourse.julialang.org/u/julien-arino)\
**Replies:** 3\
**Last updated:** [May 7, 2025, 6:24pm UTC](https://discourse.julialang.org/t/logging-events-when-running-a-ctmc/128778 "2025-05-07T18:24:24Z")

</div>

At the bottom of this message is a sample piece of code (which should run) that illustrates the reason for my question (slash feature request in disguise): when using DifferentialEquations.jl to run a continuous time Mar…

---

## [Dot product](https://discourse.julialang.org/t/dot-product/128704)

<div class="topic-metadata">

**Author:** [@martin\_sanchez](https://discourse.julialang.org/u/martin_sanchez)\
**Replies:** 18\
**Last updated:** [May 7, 2025, 5:55pm UTC](https://discourse.julialang.org/t/dot-product/128704 "2025-05-07T17:55:53Z")

</div>

Hi, this is probably dumb, but I want to know if there is some standard way of doing the dot product. I know that a'b will give a correct answer, though I do not know if there is some standard when extending it to matr…

---

## [Interfaces/traits in julia 2.0 and multiple inheritance](https://discourse.julialang.org/t/interfaces-traits-in-julia-2-0-and-multiple-inheritance/124011)

<div class="topic-metadata">

**Author:** [@serhii](https://discourse.julialang.org/u/serhii)\
**Replies:** 37\
**Last updated:** [May 7, 2025, 5:53pm UTC](https://discourse.julialang.org/t/interfaces-traits-in-julia-2-0-and-multiple-inheritance/124011 "2025-05-07T17:53:09Z")

</div>

Recently, I started programming in Rust, and like many others, I noticed how powerful the design language and solutions around traits can be. This prompted me to investigate Julia’s interface and trait-related packages: …

---

## [How to call blas getrf, getri properly ? i want to create a benchmark inverse matrix using gauss, crout, native julia inv(A) and BLAS direct](https://discourse.julialang.org/t/how-to-call-blas-getrf-getri-properly-i-want-to-create-a-benchmark-inverse-matrix-using-gauss-crout-native-julia-inv-a-and-blas-direct/128771)

<div class="topic-metadata">

**Author:** [@Roberto\_Bagyo](https://discourse.julialang.org/u/Roberto_Bagyo)\
**Replies:** 5\
**Last updated:** [May 7, 2025, 5:38pm UTC](https://discourse.julialang.org/t/how-to-call-blas-getrf-getri-properly-i-want-to-create-a-benchmark-inverse-matrix-using-gauss-crout-native-julia-inv-a-and-blas-direct/128771 "2025-05-07T17:38:06Z")

</div>

hello, i am new here. fortran based but just for fun actually. i tried to convert test\_fpu.f90 from polyhedron benchmark inverse matrix. i heard julia is multihreading and easier to code, then dgemm performance is highe…

---

## [Get an equal element of a set/get an equal key of a dictionary](https://discourse.julialang.org/t/get-an-equal-element-of-a-set-get-an-equal-key-of-a-dictionary/128779)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 4\
**Last updated:** [May 7, 2025, 3:52pm UTC](https://discourse.julialang.org/t/get-an-equal-element-of-a-set-get-an-equal-key-of-a-dictionary/128779 "2025-05-07T15:52:26Z")

</div>

Suppose I have x and s::AbstractSet and I know x ∈ s. How to get the element of s, say e, such that x == e? I could iterate through all elements like this, but surely there should be a simpler and more efficient solution…

---

## [\[Planned\] New BaseDirs.jl version or Trash.jl for system-trashing](https://discourse.julialang.org/t/planned-new-basedirs-jl-version-or-trash-jl-for-system-trashing/104274)

<div class="topic-metadata">

**Author:** [@tecosaur](https://discourse.julialang.org/u/tecosaur)\
**Replies:** 19\
**Last updated:** [May 7, 2025, 3:32pm UTC](https://discourse.julialang.org/t/planned-new-basedirs-jl-version-or-trash-jl-for-system-trashing/104274 "2025-05-07T15:32:34Z")

</div>

I’ve recently started work on a cross-platform approach to sending (and retrieving) files from the system trash. Linux support is roughly complete, and I’ll be tackling MacOS next. This could either take the form of a fe…

---

## [Type stability of destructure / re-build in Optimisers.jl](https://discourse.julialang.org/t/type-stability-of-destructure-re-build-in-optimisers-jl/128783)

<div class="topic-metadata">

**Author:** [@FerreolS](https://discourse.julialang.org/u/FerreolS)\
**Replies:** 2\
**Last updated:** [May 7, 2025, 3:20pm UTC](https://discourse.julialang.org/t/type-stability-of-destructure-re-build-in-optimisers-jl/128783 "2025-05-07T15:20:49Z")

</div>

Hi, Destructuring struct with destructure is very handy. Thank you. However I’m a bit surprise that the restructuring is not Type stable. Am I missing something? Does it have some impact on speed when re(flat) (and its…

---

## [Use an internal struct of an extension \`ABExt\` in another extension \`ABCExt\`](https://discourse.julialang.org/t/use-an-internal-struct-of-an-extension-abext-in-another-extension-abcext/128797)

<div class="topic-metadata">

**Author:** [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Replies:** 0\
**Last updated:** [May 7, 2025, 2:08pm UTC](https://discourse.julialang.org/t/use-an-internal-struct-of-an-extension-abext-in-another-extension-abcext/128797 "2025-05-07T14:08:50Z")

</div>

For context, the full example I am working on are the two extensions Manopt.jl/ext/ManoptJuMPExt.jl at kellertuer/JuMP-vectorize · JuliaManifolds/Manopt.jl · GitHub Manopt.jl/ext/ManoptJuMPManifoldsExt.jl at kellertuer…

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

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