# Latest

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

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

**Page:** 367

---

## [Build\_function performance issues](https://discourse.julialang.org/t/build-function-performance-issues/116834)

<div class="topic-metadata">

**Author:** [@JosephChoi](https://discourse.julialang.org/u/JosephChoi)\
**Replies:** 1\
**Last updated:** [July 10, 2024, 3:23am UTC](https://discourse.julialang.org/t/build-function-performance-issues/116834 "2024-07-10T03:23:09Z")

</div>

When using functions generated with build\_function with expression = Val{false}, I’m getting performance issues compared to manually written functions. Am I using build\_function incorrectly or are there some additional s…

---

## [Scalar Indexing Error in PINN Implementation on GPU](https://discourse.julialang.org/t/scalar-indexing-error-in-pinn-implementation-on-gpu/116715)

<div class="topic-metadata">

**Author:** [@Maysam\_Gholampour](https://discourse.julialang.org/u/Maysam_Gholampour)\
**Replies:** 3\
**Last updated:** [July 10, 2024, 12:50am UTC](https://discourse.julialang.org/t/scalar-indexing-error-in-pinn-implementation-on-gpu/116715 "2024-07-10T00:50:32Z")

</div>

Dear All, I am attempting to run the following Physics-Informed Neural Network (PINN) problem on a GPU. However, I encounter an error related to scalar indexing. Despite my efforts to debug this issue and explore potent…

---

## [Check each call has a corresponding method](https://discourse.julialang.org/t/check-each-call-has-a-corresponding-method/116794)

<div class="topic-metadata">

**Author:** [@linwaytin](https://discourse.julialang.org/u/linwaytin)\
**Replies:** 5\
**Last updated:** [July 10, 2024, 12:04am UTC](https://discourse.julialang.org/t/check-each-call-has-a-corresponding-method/116794 "2024-07-10T00:04:33Z")

</div>

I have a annoying problem which might be stupid. It is quite often that after I start my program for 10 min, julia tells me that a function call does not have a matched method (“no method matching”). Usually the problem…

---

## [Question about DataDrivenDiffEq / UDE / Symbolic Regression failing for very sparse settings](https://discourse.julialang.org/t/question-about-datadrivendiffeq-ude-symbolic-regression-failing-for-very-sparse-settings/114320)

<div class="topic-metadata">

**Author:** [@Brian\_Hartley](https://discourse.julialang.org/u/Brian_Hartley)\
**Replies:** 2\
**Last updated:** [July 9, 2024, 11:23pm UTC](https://discourse.julialang.org/t/question-about-datadrivendiffeq-ude-symbolic-regression-failing-for-very-sparse-settings/114320 "2024-07-09T23:23:31Z")

</div>

Hello, I’m playing around with symbolic regression and UDEs for a larger problem and have run into some difficulties. It seems that for various methods, the symbolic regression simply fails with zeros method errors and …

---

## [Parquet2jl: ThriftInvalidFinalReadState: while attempting to read Parquet2.Metadata.Statistics](https://discourse.julialang.org/t/parquet2jl-thriftinvalidfinalreadstate-while-attempting-to-read-parquet2-metadata-statistics/116668)

<div class="topic-metadata">

**Author:** [@PavloPolovyi](https://discourse.julialang.org/u/PavloPolovyi)\
**Replies:** 4\
**Last updated:** [July 9, 2024, 10:02pm UTC](https://discourse.julialang.org/t/parquet2jl-thriftinvalidfinalreadstate-while-attempting-to-read-parquet2-metadata-statistics/116668 "2024-07-09T22:02:28Z")

</div>

Got this error when trying to open parquet files converted from arrow and compressed with snappy by js library called parquet-wasm. Opening with pyarrow or r-arrow works fine. Parquet2jl version 0.2.24 (also earlier vers…

---

## [When and how to close Github issues?](https://discourse.julialang.org/t/when-and-how-to-close-github-issues/116766)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 36\
**Last updated:** [July 9, 2024, 9:18pm UTC](https://discourse.julialang.org/t/when-and-how-to-close-github-issues/116766 "2024-07-09T21:18:46Z")

</div>

What is the best practice when closing Github issues? From my point of view, after a fix is merged the original reporter of the issue should confirm (re-test) that the issue is fixed before closing the issue. But de-fa…

---

## [VSCode vs Intellij Julia support](https://discourse.julialang.org/t/vscode-vs-intellij-julia-support/81123)

<div class="topic-metadata">

**Author:** [@DWSchulze](https://discourse.julialang.org/u/DWSchulze)\
**Replies:** 11\
**Last updated:** [July 9, 2024, 7:45pm UTC](https://discourse.julialang.org/t/vscode-vs-intellij-julia-support/81123 "2024-07-09T19:45:39Z")

</div>

I’ve started using Intellij with the Julia plugin 0.4.2, and it’s missing important functionality. Progress on that plugin has been slow and it looks like JetBrains doesn’t really care about it. The good news is that t…

---

## [Side events](https://discourse.julialang.org/t/side-events/116435)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 3\
**Last updated:** [July 9, 2024, 7:44pm UTC](https://discourse.julialang.org/t/side-events/116435 "2024-07-09T19:44:38Z")

</div>

Are there any side events at the JuliaCon in Eindhoven? Like a conference dinner, visit of cultural sites or anything like that? What is a conference without side events?

---

## [Problem in Optim.jl using Fminbox and f\_calls\_limit](https://discourse.julialang.org/t/problem-in-optim-jl-using-fminbox-and-f-calls-limit/116820)

<div class="topic-metadata">

**Author:** [@dmolina](https://discourse.julialang.org/u/dmolina)\
**Replies:** 2\
**Last updated:** [July 9, 2024, 6:42pm UTC](https://discourse.julialang.org/t/problem-in-optim-jl-using-fminbox-and-f-calls-limit/116820 "2024-07-09T18:42:43Z")

</div>

I have found a problem in Optim.jl using Fminbox and f\_calls\_limit, it is not well respected the limit. For instead, using the example for the documentation: julia\> using Optim julia\> f(x) = (1.0 - x\[1\])^2 + 100.0 \* (x…

---

## [JuliaCon 2024 Tuesday Daily Digest](https://discourse.julialang.org/t/juliacon-2024-tuesday-daily-digest/116790)

<div class="topic-metadata">

**Author:** [@rayegun](https://discourse.julialang.org/u/rayegun)\
**Replies:** 4\
**Last updated:** [July 9, 2024, 6:26pm UTC](https://discourse.julialang.org/t/juliacon-2024-tuesday-daily-digest/116790 "2024-07-09T18:26:55Z")

</div>

Hallo! Welcome to the beautiful city of Eindhoven, and to the first JuliaCon in Europe in 6 years! JuliaCon 2024 is at three locations: workshops are at the Neuron Building at TU Eindhoven on Tuesday, the main conferenc…

---

## [3D array visualization](https://discourse.julialang.org/t/3d-array-visualization/116822)

<div class="topic-metadata">

**Author:** [@nams](https://discourse.julialang.org/u/nams)\
**Replies:** 4\
**Last updated:** [July 9, 2024, 5:35pm UTC](https://discourse.julialang.org/t/3d-array-visualization/116822 "2024-07-09T17:35:01Z")

</div>

Hi all, I am looking for a function similar to PyPlot matshow to visualize a 3D array of integers. Does anyone can help me. Thanks.

---

## [Sanity check function input variables](https://discourse.julialang.org/t/sanity-check-function-input-variables/116792)

<div class="topic-metadata">

**Author:** [@jwhughes](https://discourse.julialang.org/u/jwhughes)\
**Replies:** 5\
**Last updated:** [July 9, 2024, 5:24pm UTC](https://discourse.julialang.org/t/sanity-check-function-input-variables/116792 "2024-07-09T17:24:49Z")

</div>

I’ve been reading “Julia as a Second Language: General purpose programming with a taste of data science” by Erik Engheim and he suggests putting this cone\_volume(r, h) = pir^2h/3 in a file and including it. I would li…

---

## [Defining types of Structs attributes can sometimes be negatively impacting performance?](https://discourse.julialang.org/t/defining-types-of-structs-attributes-can-sometimes-be-negatively-impacting-performance/116823)

<div class="topic-metadata">

**Author:** [@Maddy](https://discourse.julialang.org/u/Maddy)\
**Replies:** 8\
**Last updated:** [July 9, 2024, 4:54pm UTC](https://discourse.julialang.org/t/defining-types-of-structs-attributes-can-sometimes-be-negatively-impacting-performance/116823 "2024-07-09T16:54:31Z")

</div>

mutable struct Type4 c a b function Type4(x=1,y=1,z=1) new(x,y,z) end end mutable struct Type5 a b c function Type5(x::Int64=1, y::Int64=1, z::Int64=1) new(x,y,z) …

---

## [Trial of a Commercial Julia AOT Compiler with Offline License Checking](https://discourse.julialang.org/t/trial-of-a-commercial-julia-aot-compiler-with-offline-license-checking/115050)

<div class="topic-metadata">

**Author:** [@thautwarm](https://discourse.julialang.org/u/thautwarm)\
**Replies:** 11\
**Last updated:** [July 9, 2024, 4:35pm UTC](https://discourse.julialang.org/t/trial-of-a-commercial-julia-aot-compiler-with-offline-license-checking/115050 "2024-07-09T16:35:57Z")

</div>

The leadership team at Suzhou-Tongyuan has confirmed that we can provide an offline license checker and a standalone installation of the AOT compiler, independent of the full Syslab package, if there is potential for fut…

---

## [Problem with Multiple shooting](https://discourse.julialang.org/t/problem-with-multiple-shooting/116829)

<div class="topic-metadata">

**Author:** [@Marta\_Pardo\_Araujo](https://discourse.julialang.org/u/Marta_Pardo_Araujo)\
**Replies:** 1\
**Last updated:** [July 9, 2024, 3:46pm UTC](https://discourse.julialang.org/t/problem-with-multiple-shooting/116829 "2024-07-09T15:46:34Z")

</div>

I am trying to estimate the parameters of a ODE model using a frequentist approach. While the simple L2Loss approach it works after when I run a more complicated one it does not. It gives me the following error: ERROR:…

---

## [Problem with creating view of vectors in vector of vectors (it keeps allocating)](https://discourse.julialang.org/t/problem-with-creating-view-of-vectors-in-vector-of-vectors-it-keeps-allocating/116825)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 2\
**Last updated:** [July 9, 2024, 3:20pm UTC](https://discourse.julialang.org/t/problem-with-creating-view-of-vectors-in-vector-of-vectors-it-keeps-allocating/116825 "2024-07-09T15:20:58Z")

</div>

I have a problem where Julai keeps allocating, causing something I think should be fast to be slow. Simple example: vec\_vec = \[1:100 for i in 1:100\] @time vals = \[vec for vec in vec\_vec\] # Fast, few allocations @time va…

---

## [Specialized matrix-matrix multiplication algorithm](https://discourse.julialang.org/t/specialized-matrix-matrix-multiplication-algorithm/116282)

<div class="topic-metadata">

**Author:** [@vincentxwang](https://discourse.julialang.org/u/vincentxwang)\
**Replies:** 5\
**Last updated:** [July 9, 2024, 3:06pm UTC](https://discourse.julialang.org/t/specialized-matrix-matrix-multiplication-algorithm/116282 "2024-07-09T15:06:01Z")

</div>

Hi! I’m an undergrad and I’m trying to replicate a result from a paper for a fast matrix-matrix multiplication algorithm (specifically the Bernstein lift matrix). Unfortunately, my code seems some 2-3x slower than what’s…

---

## [Sometimes the font color of \`julia\>\` in the VSCode REPL will become yellow](https://discourse.julialang.org/t/sometimes-the-font-color-of-julia-in-the-vscode-repl-will-become-yellow/116808)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 6\
**Last updated:** [July 9, 2024, 2:55pm UTC](https://discourse.julialang.org/t/sometimes-the-font-color-of-julia-in-the-vscode-repl-will-become-yellow/116808 "2024-07-09T14:55:22Z")

</div>

Sometimes the font color of julia\> in the VSCode REPL will become yellow: Normal: I know when there are some errors in the code it will become yellow, but sometimes it still keeps yellow even I have fixed the error…

---

## [Help understanding JET.jl output](https://discourse.julialang.org/t/help-understanding-jet-jl-output/116788)

<div class="topic-metadata">

**Author:** [@james3](https://discourse.julialang.org/u/james3)\
**Replies:** 1\
**Last updated:** [July 9, 2024, 2:47pm UTC](https://discourse.julialang.org/t/help-understanding-jet-jl-output/116788 "2024-07-09T14:47:57Z")

</div>

I’m using JET.jl with my code. It is giving me an error with a function, but I don’t really understand why. For a vector x (e.g. x = -.3 .+ rand(10)), I have a simple one-liner, vmapreduce(abs, max, x), which calculates …

---

## [Inconsistent pool and invpool PooledArrays](https://discourse.julialang.org/t/inconsistent-pool-and-invpool-pooledarrays/116828)

<div class="topic-metadata">

**Author:** [@SamTheGeneticCoder](https://discourse.julialang.org/u/SamTheGeneticCoder)\
**Replies:** 0\
**Last updated:** [July 9, 2024, 1:58pm UTC](https://discourse.julialang.org/t/inconsistent-pool-and-invpool-pooledarrays/116828 "2024-07-09T13:58:16Z")

</div>

Hi there! Could someone help me understand the “inconsistent pool and invpool” error in PooledArrays.jl? Thanks in advance!

---

## [Using a Custom Length Vector type to define function Parameters](https://discourse.julialang.org/t/using-a-custom-length-vector-type-to-define-function-parameters/116809)

<div class="topic-metadata">

**Author:** [@Maddy](https://discourse.julialang.org/u/Maddy)\
**Replies:** 20\
**Last updated:** [July 9, 2024, 1:57pm UTC](https://discourse.julialang.org/t/using-a-custom-length-vector-type-to-define-function-parameters/116809 "2024-07-09T13:57:55Z")

</div>

I want to dispatch 2 different functions for f(vect::VectorLength2) and f(vect::VectorLength3) Basically, is there any way to have a type that has this behaviour: typeof(\[1,2\]) \<: VectorLength2 \> true typeof(\[1,2,3\]…

---

## [VS Code GenieBuilder - Genie Tab not appearing](https://discourse.julialang.org/t/vs-code-geniebuilder-genie-tab-not-appearing/116827)

<div class="topic-metadata">

**Author:** [@bernhard](https://discourse.julialang.org/u/bernhard)\
**Replies:** 0\
**Last updated:** [July 9, 2024, 1:52pm UTC](https://discourse.julialang.org/t/vs-code-geniebuilder-genie-tab-not-appearing/116827 "2024-07-09T13:52:45Z")

</div>

I started using GenieBuilder recently (in VSCode). However, sometimes the “Genie Tab” (which usually appears in the bottom left of vs Code) does not pop up. Any idea why this is the case? As you can see from the scree…

---

## [Problem not finding initial step in Bayesian Differential Equations Turing](https://discourse.julialang.org/t/problem-not-finding-initial-step-in-bayesian-differential-equations-turing/116648)

<div class="topic-metadata">

**Author:** [@Marta\_Pardo\_Araujo](https://discourse.julialang.org/u/Marta_Pardo_Araujo)\
**Replies:** 6\
**Last updated:** [July 9, 2024, 1:17pm UTC](https://discourse.julialang.org/t/problem-not-finding-initial-step-in-bayesian-differential-equations-turing/116648 "2024-07-09T13:17:28Z")

</div>

Hi, I am trying to estimate the parameters of a ODE model with N equations. The model’s output are probabilities, ie, a vector of N probabilities each time step. Each coordinate of the vector defines the probability tha…

---

## [Is there a builtin type in julia equivalent to python \`None\`?](https://discourse.julialang.org/t/is-there-a-builtin-type-in-julia-equivalent-to-python-none/116560)

<div class="topic-metadata">

**Author:** [@VinodV](https://discourse.julialang.org/u/VinodV)\
**Replies:** 16\
**Last updated:** [July 9, 2024, 12:54pm UTC](https://discourse.julialang.org/t/is-there-a-builtin-type-in-julia-equivalent-to-python-none/116560 "2024-07-09T12:54:22Z")

</div>

Is there a builtin type in julia equivalent to python None in Julia? \[0, 1, false, 2, "", 3, 'a', 's', 34,\[\],missing\] |\> filter(func) # \[ 1, 2, 3, 'a', 's', 34\] What func could be. Why empty character '' is disallowe…

---

## [Change linear solver using JuMP, Hypatia](https://discourse.julialang.org/t/change-linear-solver-using-jump-hypatia/116306)

<div class="topic-metadata">

**Author:** [@gustave\_Robichon](https://discourse.julialang.org/u/gustave_Robichon)\
**Replies:** 5\
**Last updated:** [July 9, 2024, 11:41am UTC](https://discourse.julialang.org/t/change-linear-solver-using-jump-hypatia/116306 "2024-07-09T11:41:23Z")

</div>

Hello :slight\_smile: I am using Hypatia with JuMP, and I want to change the Linear Solver inside it. How can I do ? I found out the following : user\_options = ( "mu\_strategy" =\> "monotone", "linear\_solver" =\> "ma27"…

---

## [Tour of ASML at JuliaCon 2024!](https://discourse.julialang.org/t/tour-of-asml-at-juliacon-2024/116522)

<div class="topic-metadata">

**Author:** [@ranjan](https://discourse.julialang.org/u/ranjan)\
**Replies:** 10\
**Last updated:** [July 9, 2024, 9:48am UTC](https://discourse.julialang.org/t/tour-of-asml-at-juliacon-2024/116522 "2024-07-09T09:48:49Z")

</div>

JuliaCon 2024 is only a week away! If you plan to be in Eindhoven on Monday before the conference, our friends at ASML offered to give a small tour to their facilities on July 8th (Monday) from 9:30 – 11:30 for anyone t…

---

## [Julia and Optimization Days 2024 (October 2024)](https://discourse.julialang.org/t/julia-and-optimization-days-2024-october-2024/116814)

<div class="topic-metadata">

**Author:** [@quachpas](https://discourse.julialang.org/u/quachpas)\
**Replies:** 0\
**Last updated:** [July 9, 2024, 9:44am UTC](https://discourse.julialang.org/t/julia-and-optimization-days-2024-october-2024/116814 "2024-07-09T09:44:56Z")

</div>

Hello everyone, I’m relaying this event happening in Toulouse, France (October 2024). Following the success of the JuliaDay organized in Nantes in 2019 and Paris in 2023, we are organizing a third edition of the Julia…

---

## [A macro for removing calls to Base.convert: @noconvert](https://discourse.julialang.org/t/a-macro-for-removing-calls-to-base-convert-noconvert/116651)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 2\
**Last updated:** [July 9, 2024, 9:41am UTC](https://discourse.julialang.org/t/a-macro-for-removing-calls-to-base-convert-noconvert/116651 "2024-07-09T09:41:13Z")

</div>

From the prior discussion on type annotations I was wondering what a macro that removed all calls to Base.convert would look like. Here’s my prototype via Cassette.jl: using Cassette Cassette.@context NoConvertCtx; Cas…

---

## [Hacking LineSearches.jl to parallelize step estimation](https://discourse.julialang.org/t/hacking-linesearches-jl-to-parallelize-step-estimation/116787)

<div class="topic-metadata">

**Author:** [@tom-plaa](https://discourse.julialang.org/u/tom-plaa)\
**Replies:** 10\
**Last updated:** [July 9, 2024, 9:38am UTC](https://discourse.julialang.org/t/hacking-linesearches-jl-to-parallelize-step-estimation/116787 "2024-07-09T09:38:35Z")

</div>

I want to hack Linesearches.jl to be able to stick a @threads macro on the linesearch part. I have an objective function for an optimization problem which has many parameters and is also very expensive to compute. This …

---

## [How can I get specific values out of JuMP's variables?](https://discourse.julialang.org/t/how-can-i-get-specific-values-out-of-jumps-variables/116795)

<div class="topic-metadata">

**Author:** [@ToPo](https://discourse.julialang.org/u/ToPo)\
**Replies:** 4\
**Last updated:** [July 9, 2024, 8:00am UTC](https://discourse.julialang.org/t/how-can-i-get-specific-values-out-of-jumps-variables/116795 "2024-07-09T08:00:02Z")

</div>

I want to use my own function as the objective function and optimize it using JuMP.jl. In this function, I use JuMP variables internally as Vector{Float64} to make the calculation more efficient. However, the type of J…

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

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