# Latest

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

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

**Page:** 354

---

## [How can an user load a package extension?](https://discourse.julialang.org/t/how-can-an-user-load-a-package-extension/117323)

<div class="topic-metadata">

**Author:** [@K5Julien](https://discourse.julialang.org/u/K5Julien)\
**Replies:** 13\
**Last updated:** [July 27, 2024, 4:57pm UTC](https://discourse.julialang.org/t/how-can-an-user-load-a-package-extension/117323 "2024-07-27T16:57:48Z")

</div>

I have read Julia’s documentation about package extensions as well as this GitHub example and though I first thought it was suitable for my use case, it seems it isn’t. I have in my package a mutable struct SolveParamet…

---

## [ForwardDiff tagcount with custom diff rules](https://discourse.julialang.org/t/forwarddiff-tagcount-with-custom-diff-rules/117534)

<div class="topic-metadata">

**Author:** [@dchang10](https://discourse.julialang.org/u/dchang10)\
**Replies:** 4\
**Last updated:** [July 27, 2024, 4:00pm UTC](https://discourse.julialang.org/t/forwarddiff-tagcount-with-custom-diff-rules/117534 "2024-07-27T16:00:26Z")

</div>

I’m writing a custom gradient for a function that takes two derivatives using ForwardDiff. I receive an error unless I specify the tag for the returned Dual. I figured that the tag I should return depends on the tag coun…

---

## [Make ProgressMeter description display depends on a for-loop variable](https://discourse.julialang.org/t/make-progressmeter-description-display-depends-on-a-for-loop-variable/117509)

<div class="topic-metadata">

**Author:** [@K5Julien](https://discourse.julialang.org/u/K5Julien)\
**Replies:** 3\
**Last updated:** [July 27, 2024, 12:49pm UTC](https://discourse.julialang.org/t/make-progressmeter-description-display-depends-on-a-for-loop-variable/117509 "2024-07-27T12:49:53Z")

</div>

The following works well: using ProgressMeter @showprogress dt=1 desc="Computing ..." for c in 1:100\_000 # Some computing end However, I’d like the description to display some string that depends on c: using Progr…

---

## [Passing simulation parameters into app](https://discourse.julialang.org/t/passing-simulation-parameters-into-app/117438)

<div class="topic-metadata">

**Author:** [@markowkes](https://discourse.julialang.org/u/markowkes)\
**Replies:** 3\
**Last updated:** [July 27, 2024, 10:50am UTC](https://discourse.julialang.org/t/passing-simulation-parameters-into-app/117438 "2024-07-27T10:50:48Z")

</div>

I’m trying to use PackageCompiler to make my code into an app to share. The compiler is working, but it’s forcing me to modify how I deal with input parameters. The code takes in a number of inputs (including functions…

---

## [Export julia code from VSCode to html](https://discourse.julialang.org/t/export-julia-code-from-vscode-to-html/117480)

<div class="topic-metadata">

**Author:** [@Gilles\_Dubois](https://discourse.julialang.org/u/Gilles_Dubois)\
**Replies:** 15\
**Last updated:** [July 27, 2024, 5:22am UTC](https://discourse.julialang.org/t/export-julia-code-from-vscode-to-html/117480 "2024-07-27T05:22:08Z")

</div>

Hi everybody ! Some IDEs for instance Pycharm propose export to html format directly from the main menu . I decided to shift to VSCode (Visual Studio) and expected the same. In vain … So I began to understand that it…

---

## [What is the basic integrator method of order 2 in Kahanli6()?](https://discourse.julialang.org/t/what-is-the-basic-integrator-method-of-order-2-in-kahanli6/117516)

<div class="topic-metadata">

**Author:** [@wjliu](https://discourse.julialang.org/u/wjliu)\
**Replies:** 0\
**Last updated:** [July 26, 2024, 2:34pm UTC](https://discourse.julialang.org/t/what-is-the-basic-integrator-method-of-order-2-in-kahanli6/117516 "2024-07-26T14:34:42Z")

</div>

I have read the reference of symplectic integrator Kahanli6(), that is, ‘‘Composition constants for raising the orders of unconventional schemes for ordinary differential equations’’. As far as I know, if a symmetric one…

---

## [Custom implicit type conversion](https://discourse.julialang.org/t/custom-implicit-type-conversion/117315)

<div class="topic-metadata">

**Author:** [@GHTaarn](https://discourse.julialang.org/u/GHTaarn)\
**Replies:** 14\
**Last updated:** [July 27, 2024, 1:37am UTC](https://discourse.julialang.org/t/custom-implicit-type-conversion/117315 "2024-07-27T01:37:18Z")

</div>

I would like to specify my own implicit type conversion and according to Conversion and Promotion · The Julia Language I should be able to do something like: julia\> struct AA end julia\> Base.convert(::Type{Float64}, x:…

---

## [Eigenvectors differ between julia and Wolfram/Delphi](https://discourse.julialang.org/t/eigenvectors-differ-between-julia-and-wolfram-delphi/117532)

<div class="topic-metadata">

**Author:** [@jacques1](https://discourse.julialang.org/u/jacques1)\
**Replies:** 2\
**Last updated:** [July 26, 2024, 11:58pm UTC](https://discourse.julialang.org/t/eigenvectors-differ-between-julia-and-wolfram-delphi/117532 "2024-07-26T23:58:31Z")

</div>

I am trying to find the eigenvectors of a matrix: t = \[124.70244538509718 -120.72494594206698; -120.72494594206698 122.53090477427045\] Using eigvecs from linear algebra, I get eigvecs(t) 2×2 Matrix{Float64}: -0.7039…

---

## [Exponentiation of floats](https://discourse.julialang.org/t/exponentiation-of-floats/105951)

<div class="topic-metadata">

**Author:** [@richard\_sti](https://discourse.julialang.org/u/richard_sti)\
**Replies:** 25\
**Last updated:** [July 26, 2024, 10:52pm UTC](https://discourse.julialang.org/t/exponentiation-of-floats/105951 "2024-07-26T22:52:01Z")

</div>

Hi, I noticed that there is a significant loss of performance between Julia 1.7.3 and 1.9.x for exponentiation of floats, which becomes ~ 5 times slower. I tested this independently on a few machines. A minimal example o…

---

## [FFTW x 2 = symbol lookup error](https://discourse.julialang.org/t/fftw-x-2-symbol-lookup-error/117528)

<div class="topic-metadata">

**Author:** [@moble](https://discourse.julialang.org/u/moble)\
**Replies:** 8\
**Last updated:** [July 26, 2024, 10:47pm UTC](https://discourse.julialang.org/t/fftw-x-2-symbol-lookup-error/117528 "2024-07-26T22:47:04Z")

</div>

I have a package that uses FFTW (via FastTransforms). A user is trying to load it in python (via PythonCall), along with any one of various other python packages that also use FFTW. Apparently, the latter include share…

---

## [MiniZinc doesn't update](https://discourse.julialang.org/t/minizinc-doesnt-update/117527)

<div class="topic-metadata">

**Author:** [@Stuart\_Rogers](https://discourse.julialang.org/u/Stuart_Rogers)\
**Replies:** 4\
**Last updated:** [July 26, 2024, 10:33pm UTC](https://discourse.julialang.org/t/minizinc-doesnt-update/117527 "2024-07-26T22:33:37Z")

</div>

MiniZinc doesn’t update from v0.2.1 to the latest, v0.3.11. Is v0.3.11 compiled with Google OR-Tools, so that CP-SAT may be used as a solver? (@v1.10) pkg\> status Status \`~/.julia/environments/v1.10/Project.toml\` \[074…

---

## [Introduction to Julia course - loops](https://discourse.julialang.org/t/introduction-to-julia-course-loops/117522)

<div class="topic-metadata">

**Author:** [@Daves\_Cordova](https://discourse.julialang.org/u/Daves_Cordova)\
**Replies:** 7\
**Last updated:** [July 26, 2024, 9:27pm UTC](https://discourse.julialang.org/t/introduction-to-julia-course-loops/117522 "2024-07-26T21:27:45Z")

</div>

The course in Julia Academy have the following exercise: #exercise 4.1 ##Loop over integers between 1 and 100 and print their squares I have made the code: for a in 1:100 A = a^2 end a Nothwisthanfd, I did not ac…

---

## [Help writing a \`collect\` for iterators](https://discourse.julialang.org/t/help-writing-a-collect-for-iterators/117494)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 11\
**Last updated:** [July 26, 2024, 8:38pm UTC](https://discourse.julialang.org/t/help-writing-a-collect-for-iterators/117494 "2024-07-26T20:38:58Z")

</div>

Here is a task that I am having a hard time to accomplish with Julia Base: Given an iterator iter and a set of linear indices inds, write a function collectat(iter, inds) that collects the iterator at the indices witho…

---

## [Dagger one task per group in GDTable](https://discourse.julialang.org/t/dagger-one-task-per-group-in-gdtable/117530)

<div class="topic-metadata">

**Author:** [@SamTheGeneticCoder](https://discourse.julialang.org/u/SamTheGeneticCoder)\
**Replies:** 0\
**Last updated:** [July 26, 2024, 7:55pm UTC](https://discourse.julialang.org/t/dagger-one-task-per-group-in-gdtable/117530 "2024-07-26T19:55:57Z")

</div>

Hi! I’m new to distributed computing with Julia and I’m trying to figure out how to make this problem work fine. I’d like to make spawning tasks on each group of a GDTable as efficient as possible. I have a GDTable of …

---

## [NaN-aware \`imresize\`](https://discourse.julialang.org/t/nan-aware-imresize/117526)

<div class="topic-metadata">

**Author:** [@gdkrmr](https://discourse.julialang.org/u/gdkrmr)\
**Replies:** 3\
**Last updated:** [July 26, 2024, 7:27pm UTC](https://discourse.julialang.org/t/nan-aware-imresize/117526 "2024-07-26T19:27:51Z")

</div>

Is there an easy way hack ImageTransforms.imresize to not propagate NaN values? julia\> using ImageTransformations julia\> im = Float32\[ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 NaN \] 4×4 Matr…

---

## [Understanding how to use adaptive solver when dt is in the equations](https://discourse.julialang.org/t/understanding-how-to-use-adaptive-solver-when-dt-is-in-the-equations/117520)

<div class="topic-metadata">

**Author:** [@dbox](https://discourse.julialang.org/u/dbox)\
**Replies:** 2\
**Last updated:** [July 26, 2024, 3:46pm UTC](https://discourse.julialang.org/t/understanding-how-to-use-adaptive-solver-when-dt-is-in-the-equations/117520 "2024-07-26T15:46:50Z")

</div>

Hi, I’m trying to solve a system of equations where some of the terms have explicit dependence on dt. The way round this I am using is passing dt as a parameter: params = Dict(:dt =\> dt) params = NamedTuple(params) b…

---

## [Package Dev Workflow with Multiple Dev Machines?](https://discourse.julialang.org/t/package-dev-workflow-with-multiple-dev-machines/114520)

<div class="topic-metadata">

**Author:** [@zacharyneveu](https://discourse.julialang.org/u/zacharyneveu)\
**Replies:** 1\
**Last updated:** [July 26, 2024, 3:10pm UTC](https://discourse.julialang.org/t/package-dev-workflow-with-multiple-dev-machines/114520 "2024-07-26T15:10:16Z")

</div>

I’m running into issues with what I think is a pretty common workflow and looking for advice on how to manage this workflow. My situation is: I’m working on a Julia project - in this case a Genie app I need to modify o…

---

## [Presentation on heap vs. stack](https://discourse.julialang.org/t/presentation-on-heap-vs-stack/117505)

<div class="topic-metadata">

**Author:** [@roland-KA](https://discourse.julialang.org/u/roland-KA)\
**Replies:** 5\
**Last updated:** [July 26, 2024, 2:59pm UTC](https://discourse.julialang.org/t/presentation-on-heap-vs-stack/117505 "2024-07-26T14:59:53Z")

</div>

I remember having seen a presentation about objects being stored on the heap vs. stack with some interesting insights. But unfortunately I don’t find it any more. Several Julia examples have been presented, using a stru…

---

## [Difference between U+007C “VERTICAL BAR” \`|\` and U+2223 “DIVIDES” \`∣\`](https://discourse.julialang.org/t/difference-between-u-007c-vertical-bar-and-u-2223-divides/117499)

<div class="topic-metadata">

**Author:** [@paalon](https://discourse.julialang.org/u/paalon)\
**Replies:** 2\
**Last updated:** [July 26, 2024, 2:22pm UTC](https://discourse.julialang.org/t/difference-between-u-007c-vertical-bar-and-u-2223-divides/117499 "2024-07-26T14:22:09Z")

</div>

What is the difference between the two Unicode code points U+007C “VERTICAL BAR” | and U+2223 “DIVIDES” ∣? Julia REPL’s LaTeX-like Unicode input of \\mid gives U+2223, and HTML’s named character references for &mid;, &sho…

---

## [What is the motivation for Julia not dispatching on keyword arguments?](https://discourse.julialang.org/t/what-is-the-motivation-for-julia-not-dispatching-on-keyword-arguments/117447)

<div class="topic-metadata">

**Author:** [@TimHargreaves](https://discourse.julialang.org/u/TimHargreaves)\
**Replies:** 4\
**Last updated:** [July 26, 2024, 1:36pm UTC](https://discourse.julialang.org/t/what-is-the-motivation-for-julia-not-dispatching-on-keyword-arguments/117447 "2024-07-26T13:36:09Z")

</div>

I have come to peace with the fact Julia does not dispatch on keyword arguments, but I’m still unsure as to why this is the case. In this StackOverflow thread, a commenter suggests that keyword arguments do not particip…

---

## [Fitting system of ODEs to already normalized data](https://discourse.julialang.org/t/fitting-system-of-odes-to-already-normalized-data/117400)

<div class="topic-metadata">

**Author:** [@Nick1](https://discourse.julialang.org/u/Nick1)\
**Replies:** 1\
**Last updated:** [July 26, 2024, 1:34pm UTC](https://discourse.julialang.org/t/fitting-system-of-odes-to-already-normalized-data/117400 "2024-07-26T13:34:27Z")

</div>

I have a system of ODEs as a model and want to calibrate it. I have data for multiple outputs of the model but they are already normalized. Since I am unfamiliar with the related packages in Julia, what would you recomme…

---

## [Makie artefacts around coloured region of surface?](https://discourse.julialang.org/t/makie-artefacts-around-coloured-region-of-surface/117471)

<div class="topic-metadata">

**Author:** [@p\_f](https://discourse.julialang.org/u/p_f)\
**Replies:** 6\
**Last updated:** [July 26, 2024, 12:29pm UTC](https://discourse.julialang.org/t/makie-artefacts-around-coloured-region-of-surface/117471 "2024-07-26T12:29:18Z")

</div>

I’m colouring certain regions of a surface, and at the transition between two colours there is a colour not present in the colour matrix given to the color attribute of the surface I’m not exactly sure why this is happe…

---

## [New features targeting the strict subset of Julia](https://discourse.julialang.org/t/new-features-targeting-the-strict-subset-of-julia/117226)

<div class="topic-metadata">

**Author:** [@FHell](https://discourse.julialang.org/u/FHell)\
**Replies:** 20\
**Last updated:** [July 26, 2024, 12:07pm UTC](https://discourse.julialang.org/t/new-features-targeting-the-strict-subset-of-julia/117226 "2024-07-26T12:07:10Z")

</div>

I just came across Add \`strict\` mechanism for opting into stricter subsets of the language · Issue #54903 · JuliaLang/julia · GitHub For me, this would be an extremely welcome development. If I can just tell my students…

---

## [Promoting a broadcasted array](https://discourse.julialang.org/t/promoting-a-broadcasted-array/117498)

<div class="topic-metadata">

**Author:** [@cstjean](https://discourse.julialang.org/u/cstjean)\
**Replies:** 5\
**Last updated:** [July 26, 2024, 11:36am UTC](https://discourse.julialang.org/t/promoting-a-broadcasted-array/117498 "2024-07-26T11:36:03Z")

</div>

Consider: julia\> ifelse.(\[true, false\], \[1,2\], \[3.0,4.5\]) 2-element Vector{Real}: 1 4.5 This isn’t ideal; in this case clearly a concrete eltype would be better. I know I can write it as float.(ifelse.(...)) to solve…

---

## [Error while using stack() with empty list Any\[ \]](https://discourse.julialang.org/t/error-while-using-stack-with-empty-list-any/117506)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 2\
**Last updated:** [July 26, 2024, 9:44am UTC](https://discourse.julialang.org/t/error-while-using-stack-with-empty-list-any/117506 "2024-07-26T09:44:46Z")

</div>

Hello everyone, This is probably a very naive question but I don’t understand why i’m getting error in this case when i expect it to run perfectly. So In first example when I put main loop in test function I get error …

---

## [How to measure the time taken by a part of the code excluding the disk operations](https://discourse.julialang.org/t/how-to-measure-the-time-taken-by-a-part-of-the-code-excluding-the-disk-operations/117469)

<div class="topic-metadata">

**Author:** [@Uranium238](https://discourse.julialang.org/u/Uranium238)\
**Replies:** 5\
**Last updated:** [July 26, 2024, 9:30am UTC](https://discourse.julialang.org/t/how-to-measure-the-time-taken-by-a-part-of-the-code-excluding-the-disk-operations/117469 "2024-07-26T09:30:33Z")

</div>

I am trying to write a code that deals with repeated deserialization of tensors followed by contracting them and storing the result in another tensor. Here is an example of how the code looks like : I\_vvoo = zeros(F…

---

## [Stack Overflow Survey 2024 Results](https://discourse.julialang.org/t/stack-overflow-survey-2024-results/117439)

<div class="topic-metadata">

**Author:** [@xiaoxi](https://discourse.julialang.org/u/xiaoxi)\
**Replies:** 3\
**Last updated:** [July 26, 2024, 2:40am UTC](https://discourse.julialang.org/t/stack-overflow-survey-2024-results/117439 "2024-07-26T02:40:50Z")

</div>

According to the survey, the popularity of Matlab and R seems higher than Julia, and people are more willing to learn Matlab and R than Julia. However, Julia is more admired than R and Matlab and the salaries for coding …

---

## [Bad performances when using Multithreading and Distributed with heavy LinearAlgebra calculations](https://discourse.julialang.org/t/bad-performances-when-using-multithreading-and-distributed-with-heavy-linearalgebra-calculations/117258)

<div class="topic-metadata">

**Author:** [@albertomercurio](https://discourse.julialang.org/u/albertomercurio)\
**Replies:** 26\
**Last updated:** [July 25, 2024, 10:59pm UTC](https://discourse.julialang.org/t/bad-performances-when-using-multithreading-and-distributed-with-heavy-linearalgebra-calculations/117258 "2024-07-25T22:59:58Z")

</div>

Hello, I have noticed that Julia multithreading and Distributed scale very badly when calculating relatively heavy computations involving BLAS and LAPACK. As an example, here I show you the calculation of the expv funct…

---

## [\[Makie.jl\] 3D voxelized visualization of a cubical matrix](https://discourse.julialang.org/t/makie-jl-3d-voxelized-visualization-of-a-cubical-matrix/77360)

<div class="topic-metadata">

**Author:** [@KirillGerke](https://discourse.julialang.org/u/KirillGerke)\
**Replies:** 25\
**Last updated:** [July 25, 2024, 9:39pm UTC](https://discourse.julialang.org/t/makie-jl-3d-voxelized-visualization-of-a-cubical-matrix/77360 "2024-07-25T21:39:24Z")

</div>

Dear All, Here is another chapter of the struggle to make cool figures with Makie. My aim is to generate numerous visualizations of the 3D images that are represented by voxels. While i used the hints from the examples…

---

## [Dataframes subset w/ nullable logic](https://discourse.julialang.org/t/dataframes-subset-w-nullable-logic/117484)

<div class="topic-metadata">

**Author:** [@mikemartind](https://discourse.julialang.org/u/mikemartind)\
**Replies:** 4\
**Last updated:** [July 25, 2024, 9:07pm UTC](https://discourse.julialang.org/t/dataframes-subset-w-nullable-logic/117484 "2024-07-25T21:07:36Z")

</div>

Working on a subset call that filters on multiple columns in a dataframe, but with variable conditions set by an external dict. So if the dict has a value, it checks for equality in the corresponding column. If the dict …

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

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