# Latest

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

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

**Page:** 261

---

## [Differential Equation problem with Index](https://discourse.julialang.org/t/differential-equation-problem-with-index/123518)

<div class="topic-metadata">

**Author:** [@TheLazyFarmer](https://discourse.julialang.org/u/TheLazyFarmer)\
**Replies:** 3\
**Last updated:** [December 6, 2024, 4:27am UTC](https://discourse.julialang.org/t/differential-equation-problem-with-index/123518 "2024-12-06T04:27:04Z")

</div>

Hello, I have a model which I basically need to solve through the calculation of many differential equations by examining the surrounding values and such. I believe the equation is correctly being solved. However, there…

---

## [Malt.jl: Running into world age problems](https://discourse.julialang.org/t/malt-jl-running-into-world-age-problems/123457)

<div class="topic-metadata">

**Author:** [@Parazetamol](https://discourse.julialang.org/u/Parazetamol)\
**Replies:** 1\
**Last updated:** [December 6, 2024, 3:42am UTC](https://discourse.julialang.org/t/malt-jl-running-into-world-age-problems/123457 "2024-12-06T03:42:25Z")

</div>

Hi there, this naive usage of Malt.jl leads to “method too new to be called from this world contex”: module GreatNewModule f()="dummy" end In a separate project (after dev’ed GreatNewModule of course) using GreatNewM…

---

## [NLopt verbose output in JuMP](https://discourse.julialang.org/t/nlopt-verbose-output-in-jump/123508)

<div class="topic-metadata">

**Author:** [@afossa](https://discourse.julialang.org/u/afossa)\
**Replies:** 4\
**Last updated:** [December 6, 2024, 1:16am UTC](https://discourse.julialang.org/t/nlopt-verbose-output-in-jump/123508 "2024-12-06T01:16:01Z")

</div>

Hello, I am trying to solve an NLP modeled with InfiniteOpt/JuMP using the SLSQP solver in NLopt.jl However, the solver fails and I am struggling to investigate the root cause of this failure. Is there a way to have a…

---

## [Julia incorrect with function argument](https://discourse.julialang.org/t/julia-incorrect-with-function-argument/123520)

<div class="topic-metadata">

**Author:** [@Sergey](https://discourse.julialang.org/u/Sergey)\
**Replies:** 1\
**Last updated:** [December 6, 2024, 12:33am UTC](https://discourse.julialang.org/t/julia-incorrect-with-function-argument/123520 "2024-12-06T00:33:47Z")

</div>

Hi! Please help me to understand whats wrong with julia logic. The following code print out: println(typeof(section)) \>\> CxxWrap.CxxWrapCore.CxxPtr{Main.CppTypes.ISection} I wish to write function which take this (an…

---

## [Save() with px\_per\_unit rescales display of plot (how to unzoom)](https://discourse.julialang.org/t/save-with-px-per-unit-rescales-display-of-plot-how-to-unzoom/123506)

<div class="topic-metadata">

**Author:** [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Replies:** 2\
**Last updated:** [December 5, 2024, 9:55pm UTC](https://discourse.julialang.org/t/save-with-px-per-unit-rescales-display-of-plot-how-to-unzoom/123506 "2024-12-05T21:55:42Z")

</div>

I’m using GLMakie v0.10.16 for plotting with save(png\_filename,fig,px\_per\_unit=3) to output the plot for presentation/printing. However, when I do that, the pixel scaling is applied to the current display and the Ctrl…

---

## [Community requirements for the VSCode Julia extension](https://discourse.julialang.org/t/community-requirements-for-the-vscode-julia-extension/123088)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 15\
**Last updated:** [December 5, 2024, 9:54pm UTC](https://discourse.julialang.org/t/community-requirements-for-the-vscode-julia-extension/123088 "2024-12-05T21:54:17Z")

</div>

Continuing the discussion from Development resources for Julia ecosystem?: This discussion got lost in the large thread we had on “Development resources”. My idea would be to gather high level requirements that could …

---

## [Init for mutating op: reduce(op!, xs; oninit)](https://discourse.julialang.org/t/init-for-mutating-op-reduce-op-xs-oninit/123516)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 1\
**Last updated:** [December 5, 2024, 9:25pm UTC](https://discourse.julialang.org/t/init-for-mutating-op-reduce-op-xs-oninit/123516 "2024-12-05T21:25:49Z")

</div>

In reduce(append!, lists, oninit=eltype(lists)) we can’t pass init=eltype(lists)() because that value should be append!ed only once. A new init should be generated each time. Transducers.jl provided OnInit(f) for this, b…

---

## [Similar Function to Excel's T.Dist.2T()](https://discourse.julialang.org/t/similar-function-to-excels-t-dist-2t/123514)

<div class="topic-metadata">

**Author:** [@SergeantMike67](https://discourse.julialang.org/u/SergeantMike67)\
**Replies:** 4\
**Last updated:** [December 5, 2024, 9:09pm UTC](https://discourse.julialang.org/t/similar-function-to-excels-t-dist-2t/123514 "2024-12-05T21:09:27Z")

</div>

Seems straight forward but how would I get a p value if I have calculated the test statistic and have the degrees of freedom. This example uses the method in Zar(1996) for comparing regression equations (Chapter 17) th…

---

## [Show and showcompact on custom types](https://discourse.julialang.org/t/show-and-showcompact-on-custom-types/8493)

<div class="topic-metadata">

**Author:** [@tomerarnon](https://discourse.julialang.org/u/tomerarnon)\
**Replies:** 18\
**Last updated:** [December 5, 2024, 8:45pm UTC](https://discourse.julialang.org/t/show-and-showcompact-on-custom-types/8493 "2024-12-05T20:45:28Z")

</div>

I am trying to define a custom type with convenient methods for readout, and having some very basic trouble. I have read the documentation for show with no luck in sorting this out. Defining a method for Base.show(::IO, …

---

## [How to use juliac with imported packages?](https://discourse.julialang.org/t/how-to-use-juliac-with-imported-packages/123511)

<div class="topic-metadata">

**Author:** [@TheHedgehog2000](https://discourse.julialang.org/u/TheHedgehog2000)\
**Replies:** 5\
**Last updated:** [December 5, 2024, 7:37pm UTC](https://discourse.julialang.org/t/how-to-use-juliac-with-imported-packages/123511 "2024-12-05T19:37:44Z")

</div>

I am trying to use juliac to turn some code into an executable. The following minimal example works: module HelloWorld Base.@ccallable function main()::Cint println(Core.stdout, "Hello, World!") return 0 end e…

---

## [openBF: 1D blood flow simulations with Julia](https://discourse.julialang.org/t/openbf-1d-blood-flow-simulations-with-julia/9860)

<div class="topic-metadata">

**Author:** [@alemelis](https://discourse.julialang.org/u/alemelis)\
**Replies:** 17\
**Last updated:** [December 5, 2024, 7:18pm UTC](https://discourse.julialang.org/t/openbf-1d-blood-flow-simulations-with-julia/9860 "2024-12-05T19:18:34Z")

</div>

Hello there, I’d like to introduce to the Julia community my openBF package. openBF is a finite-volume solver for one-dimensional blood flow equation in networks of elastic (we are working on visco-elastic behaviour as …

---

## [Symbol is Base.isexported but not Base.isbindingresolved?](https://discourse.julialang.org/t/symbol-is-base-isexported-but-not-base-isbindingresolved/123471)

<div class="topic-metadata">

**Author:** [@ajwheeler](https://discourse.julialang.org/u/ajwheeler)\
**Replies:** 4\
**Last updated:** [December 5, 2024, 3:58pm UTC](https://discourse.julialang.org/t/symbol-is-base-isexported-but-not-base-isbindingresolved/123471 "2024-12-05T15:58:23Z")

</div>

Working on Group import hints by ajwheeler · Pull Request #56753 · JuliaLang/julia · GitHub, I was surprised to see that there are cases of symbols s and modules m for which Base.isbindingresolved(m, s) is false, but Bas…

---

## [Is there any way to use QtCharts 6 in QML.jl?](https://discourse.julialang.org/t/is-there-any-way-to-use-qtcharts-6-in-qml-jl/123497)

<div class="topic-metadata">

**Author:** [@Ronis\_BR](https://discourse.julialang.org/u/Ronis_BR)\
**Replies:** 0\
**Last updated:** [December 5, 2024, 1:45pm UTC](https://discourse.julialang.org/t/is-there-any-way-to-use-qtcharts-6-in-qml-jl/123497 "2024-12-05T13:45:53Z")

</div>

Hi! We are missing the package Qt6Charts\_jll so that we can use QtCharts with QML out-of-the-box. I have already opened an issue to track this feature request (Support for QtCharts 6 · Issue #210 · JuliaGraphics/QML.jl …

---

## [Incorrect return type classification in Optimization.jl](https://discourse.julialang.org/t/incorrect-return-type-classification-in-optimization-jl/123490)

<div class="topic-metadata">

**Author:** [@marast](https://discourse.julialang.org/u/marast)\
**Replies:** 2\
**Last updated:** [December 5, 2024, 2:37pm UTC](https://discourse.julialang.org/t/incorrect-return-type-classification-in-optimization-jl/123490 "2024-12-05T14:37:17Z")

</div>

Hello, with version 4.0.0 Optimization.jl started to classify the return value “FTOL\_REACHED” from NLOpt as failure. This produces a warning. The following example reproduces the problem: using Optimization, Optimizati…

---

## [Nested iteration in comprehension](https://discourse.julialang.org/t/nested-iteration-in-comprehension/123437)

<div class="topic-metadata">

**Author:** [@Ken\_Williams](https://discourse.julialang.org/u/Ken_Williams)\
**Replies:** 8\
**Last updated:** [December 5, 2024, 12:46pm UTC](https://discourse.julialang.org/t/nested-iteration-in-comprehension/123437 "2024-12-05T12:46:16Z")

</div>

I was expecting the following to read a file into an N x M array of characters: load(file) = \[c for l in eachline(file), c in l\] where the file’s contents are: MMMSXXMASM MSAMXMSMSA AMXSXMAAMM MSAMASMSMX XMASAMXAMM XX…

---

## [Julia Internships at PumasAI: Machine Learning, Optimization and Statistics](https://discourse.julialang.org/t/julia-internships-at-pumasai-machine-learning-optimization-and-statistics/123500)

<div class="topic-metadata">

**Author:** [@mohamed82008](https://discourse.julialang.org/u/mohamed82008)\
**Replies:** 0\
**Last updated:** [December 5, 2024, 2:34pm UTC](https://discourse.julialang.org/t/julia-internships-at-pumasai-machine-learning-optimization-and-statistics/123500 "2024-12-05T14:34:57Z")

</div>

Hi everyone! At PumasAI, we are hiring a number of interns in 2025. The internship projects are broadly in the areas of machine learning, optimization and statistics. All of the projects are going to be done in Julia. A…

---

## [Acausal modeling of a chemical mixing process with heating using ModelingToolkit.jl](https://discourse.julialang.org/t/acausal-modeling-of-a-chemical-mixing-process-with-heating-using-modelingtoolkit-jl/123475)

<div class="topic-metadata">

**Author:** [@oswaldo](https://discourse.julialang.org/u/oswaldo)\
**Replies:** 1\
**Last updated:** [December 5, 2024, 2:16pm UTC](https://discourse.julialang.org/t/acausal-modeling-of-a-chemical-mixing-process-with-heating-using-modelingtoolkit-jl/123475 "2024-12-05T14:16:26Z")

</div>

Hi, I’m starting to use ModelingToolkit.jl for chemical processes using an acausal approach. Here I’m showing an illustrative example of a simple mixing system with heating. Any feedback to make the model more efficient …

---

## [New symbolic solver for Symbolics.jl!](https://discourse.julialang.org/t/new-symbolic-solver-for-symbolics-jl/118466)

<div class="topic-metadata">

**Author:** [@Yassin\_ElBedwihy](https://discourse.julialang.org/u/Yassin_ElBedwihy)\
**Replies:** 27\
**Last updated:** [December 5, 2024, 12:33pm UTC](https://discourse.julialang.org/t/new-symbolic-solver-for-symbolics-jl/118466 "2024-12-05T12:33:39Z")

</div>

New symbolic solver in Symbolics.jl Hi, I am Yassin. A new symbolic solver authored by me has just been merged to Symbolics.jl, and is available in the latest release (v6.2.0). I want to share some of its capabilities he…

---

## [Simple recursive Fibonaci example. How to make it faster?](https://discourse.julialang.org/t/simple-recursive-fibonaci-example-how-to-make-it-faster/32369)

<div class="topic-metadata">

**Author:** [@Juan](https://discourse.julialang.org/u/Juan)\
**Replies:** 40\
**Last updated:** [December 5, 2024, 12:26pm UTC](https://discourse.julialang.org/t/simple-recursive-fibonaci-example-how-to-make-it-faster/32369 "2024-12-05T12:26:10Z")

</div>

I’ve found this benchmark comparing several languages with a simple Fibonaci code. https://github.com/drujensen/fib function fib(n) if n \<= 1 return 1 end return fib(n - 1) + fib(n - 2) end @btime(fib(46)) Julia …

---

## [IntelliJ plugin reviving?](https://discourse.julialang.org/t/intellij-plugin-reviving/123480)

<div class="topic-metadata">

**Author:** [@xgdgsc](https://discourse.julialang.org/u/xgdgsc)\
**Replies:** 0\
**Last updated:** [December 5, 2024, 7:44am UTC](https://discourse.julialang.org/t/intellij-plugin-reviving/123480 "2024-12-05T07:44:39Z")

</div>

I noticed GitHub - JuliaEditorSupport/julia-intellij: 💻 Julia Plugin for IntelliJ IDEA ┗😃┛ ┏😃┓ ┗😃┛ is in a reviving state by a user whose profile from JetBrains that might be interesting to some.

---

## [Autovectorization in Julia 101](https://discourse.julialang.org/t/autovectorization-in-julia-101/123472)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 2\
**Last updated:** [December 5, 2024, 11:43am UTC](https://discourse.julialang.org/t/autovectorization-in-julia-101/123472 "2024-12-05T11:43:22Z")

</div>

I’m trying to read up on autovectorization but I might be looking in the wrong place: Auto-Vectorization in LLVM — LLVM 20.0.0git documentation For one, the whole thing talks about Clang and C code, so I have doubts it…

---

## [Solving a coupled differential equation](https://discourse.julialang.org/t/solving-a-coupled-differential-equation/123482)

<div class="topic-metadata">

**Author:** [@fanzhy171](https://discourse.julialang.org/u/fanzhy171)\
**Replies:** 5\
**Last updated:** [December 5, 2024, 11:04am UTC](https://discourse.julialang.org/t/solving-a-coupled-differential-equation/123482 "2024-12-05T11:04:18Z")

</div>

Hello everyone, I am new to julia and try to use it to solve my problem, which involves solving coupled differential equations. I will show my problem below: Here is my attempted solution: using DifferentialEquation…

---

## [Is there a rank revealing qr decomposition?](https://discourse.julialang.org/t/is-there-a-rank-revealing-qr-decomposition/123358)

<div class="topic-metadata">

**Author:** [@jonas-pueschel](https://discourse.julialang.org/u/jonas-pueschel)\
**Replies:** 5\
**Last updated:** [December 5, 2024, 9:41am UTC](https://discourse.julialang.org/t/is-there-a-rank-revealing-qr-decomposition/123358 "2024-12-05T09:41:58Z")

</div>

I am currently looking for a qr decomposition of a matrix A ≈ QR with A being n×m, Q being n×r and A being r×m where r is the rank of A (with respect to some cut-off threshold). I’ve played around a bit with qr from the…

---

## [OOM and saving solutions of \`SDEProblem\` only at specific timepoints](https://discourse.julialang.org/t/oom-and-saving-solutions-of-sdeproblem-only-at-specific-timepoints/123450)

<div class="topic-metadata">

**Author:** [@johannesnauta](https://discourse.julialang.org/u/johannesnauta)\
**Replies:** 2\
**Last updated:** [December 5, 2024, 9:33am UTC](https://discourse.julialang.org/t/oom-and-saving-solutions-of-sdeproblem-only-at-specific-timepoints/123450 "2024-12-05T09:33:33Z")

</div>

For large systems, I am running into memory issues (which lead to crashes) when solving an SDEProblem with an adaptive scheme. I have found that these are related to the dense output of the solver, yet I just cannot seem…

---

## [@cfunction with CxxWrap arguments](https://discourse.julialang.org/t/cfunction-with-cxxwrap-arguments/123473)

<div class="topic-metadata">

**Author:** [@Sergey](https://discourse.julialang.org/u/Sergey)\
**Replies:** 1\
**Last updated:** [December 5, 2024, 9:31am UTC](https://discourse.julialang.org/t/cfunction-with-cxxwrap-arguments/123473 "2024-12-05T09:31:14Z")

</div>

Hi! Is it possible to get pointer by @function if this function argument is CxxWrap binded struct? Class binding types.add\_type\<DataBase\>("Database") .method("GetProperty", &DataBase::getProperty); and julia funct…

---

## [Alert! Error while slicing](https://discourse.julialang.org/t/alert-error-while-slicing/123439)

<div class="topic-metadata">

**Author:** [@govindanupam](https://discourse.julialang.org/u/govindanupam)\
**Replies:** 5\
**Last updated:** [December 5, 2024, 8:57am UTC](https://discourse.julialang.org/t/alert-error-while-slicing/123439 "2024-12-05T08:57:29Z")

</div>

using FileIO using GeometryBasics using MeshIO Load the STL file input\_file = “C:\\Users\\OMG\\Desktop\\3D model\\square.stl” mesh = FileIO.load(input\_file) Define a slicing plane (e.g., Z = 0.5) slice\_plane\_z = 0.5 Fun…

---

## [Callback error: " no method matching isless(::Float64, ::Vector{Float64})"](https://discourse.julialang.org/t/callback-error-no-method-matching-isless-float64-vector-float64/123476)

<div class="topic-metadata">

**Author:** [@Jordie](https://discourse.julialang.org/u/Jordie)\
**Replies:** 1\
**Last updated:** [December 5, 2024, 6:56am UTC](https://discourse.julialang.org/t/callback-error-no-method-matching-isless-float64-vector-float64/123476 "2024-12-05T06:56:52Z")

</div>

Hi everyone, I’m trying to use a callback function. I’m not sure how the callback function works and am trying out this very simple script, but it has not been working. Here is the script: ### Installs all relevant pac…

---

## [Shared Memory CPU/GPU programming in Julia (M4 / ROCm)](https://discourse.julialang.org/t/shared-memory-cpu-gpu-programming-in-julia-m4-rocm/123477)

<div class="topic-metadata">

**Author:** [@Perrin\_Meyer](https://discourse.julialang.org/u/Perrin_Meyer)\
**Replies:** 1\
**Last updated:** [December 5, 2024, 5:52am UTC](https://discourse.julialang.org/t/shared-memory-cpu-gpu-programming-in-julia-m4-rocm/123477 "2024-12-05T05:52:51Z")

</div>

I’ve noticed that my new M4 (which just arrived) uses a shared CPU / GPU memory (similar to the old Silicon Graphics boxes 25 years ago…). Also AMD seems to have something called ROCm Is there a Julia way to experiment …

---

## [Optimization of an univariate function using Optim.jl](https://discourse.julialang.org/t/optimization-of-an-univariate-function-using-optim-jl/123454)

<div class="topic-metadata">

**Author:** [@Maucejo](https://discourse.julialang.org/u/Maucejo)\
**Replies:** 3\
**Last updated:** [December 5, 2024, 5:36am UTC](https://discourse.julialang.org/t/optimization-of-an-univariate-function-using-optim-jl/123454 "2024-12-05T05:36:57Z")

</div>

Dear all, I am trying to deepen my knowledge of the Optim.jl package and in a near future of Optimization.jl. In the course of my research, I have developed a method for estimating the noise in a signal. This methodol…

---

## [The psychology of writing documentation, why does it seem tedious?](https://discourse.julialang.org/t/the-psychology-of-writing-documentation-why-does-it-seem-tedious/123429)

<div class="topic-metadata">

**Author:** [@Tetrakai](https://discourse.julialang.org/u/Tetrakai)\
**Replies:** 11\
**Last updated:** [December 5, 2024, 12:18am UTC](https://discourse.julialang.org/t/the-psychology-of-writing-documentation-why-does-it-seem-tedious/123429 "2024-12-05T00:18:55Z")

</div>

Here is my theory. When in a “programming” mindset, you can get near instant feedback. Either you get the correct result or not. Or the new version is more performant than the last. But with the documentation there is …

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

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