# Latest

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

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

**Page:** 413

---

## [NeuralPDE fails to solve system when parameters change](https://discourse.julialang.org/t/neuralpde-fails-to-solve-system-when-parameters-change/114169)

<div class="topic-metadata">

**Author:** [@affans](https://discourse.julialang.org/u/affans)\
**Replies:** 1\
**Last updated:** [May 12, 2024, 6:49pm UTC](https://discourse.julialang.org/t/neuralpde-fails-to-solve-system-when-parameters-change/114169 "2024-05-12T18:49:25Z")

</div>

I am hitting a weird situation that I can not figure out why – perhaps it’s a bug within NeuralPDE or maybe just need to tweak my settings. Given the Lorenzs system in this example (i.e., eqs) I am able to do forward si…

---

## [At dot of function of five arguments against five vectors to five dimensional array](https://discourse.julialang.org/t/at-dot-of-function-of-five-arguments-against-five-vectors-to-five-dimensional-array/114146)

<div class="topic-metadata">

**Author:** [@PeterSP](https://discourse.julialang.org/u/PeterSP)\
**Replies:** 6\
**Last updated:** [May 12, 2024, 6:13pm UTC](https://discourse.julialang.org/t/at-dot-of-function-of-five-arguments-against-five-vectors-to-five-dimensional-array/114146 "2024-05-12T18:13:25Z")

</div>

I’ve seen many examples that generate a two dimensional array (matrix) from a function of two arguments against two vectors: x = 1:100 y = 1:100 f(x,y) = x\*y z = @. f(x', y) I want to do something analagous, but five-d…

---

## [Installing DiffEqBase on Windows fails](https://discourse.julialang.org/t/installing-diffeqbase-on-windows-fails/114148)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 5\
**Last updated:** [May 12, 2024, 10:07am UTC](https://discourse.julialang.org/t/installing-diffeqbase-on-windows-fails/114148 "2024-05-12T10:07:36Z")

</div>

I am using Windows 10.0 home, freshly installed. rm -rf .julia mkdir tmp cd tmp julia --project="." and then in Julia using Pkg pkg"add DiffEqBase" ... Installed ManualMemory ───────────────────── v0.1.8 Insta…

---

## [Why is it reliable to use open source packages for research?](https://discourse.julialang.org/t/why-is-it-reliable-to-use-open-source-packages-for-research/113823)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 40\
**Last updated:** [May 12, 2024, 5:16pm UTC](https://discourse.julialang.org/t/why-is-it-reliable-to-use-open-source-packages-for-research/113823 "2024-05-12T17:16:20Z")

</div>

How is the correctness of public open-source packages ensured? If a package contains latent errors that people are unaware of, someone relied on it to conduct scientific research, leading to incorrect conclusions, and pu…

---

## [Challenges in Estimating Wind Turbine Controller Using Universal Differential Equations (UDE) Approach](https://discourse.julialang.org/t/challenges-in-estimating-wind-turbine-controller-using-universal-differential-equations-ude-approach/113890)

<div class="topic-metadata">

**Author:** [@Alvaro98](https://discourse.julialang.org/u/Alvaro98)\
**Replies:** 5\
**Last updated:** [May 12, 2024, 5:05pm UTC](https://discourse.julialang.org/t/challenges-in-estimating-wind-turbine-controller-using-universal-differential-equations-ude-approach/113890 "2024-05-12T17:05:56Z")

</div>

Hello all, As part of my PhD work, I’m applying the Universal Differential Equations (UDE) approach seen in Automatically Discover Missing Physics by Embedding Machine Learning into Differential Equations · Overview of …

---

## [\[Makie\] Displaying LaTeX fraction in xticks](https://discourse.julialang.org/t/makie-displaying-latex-fraction-in-xticks/114166)

<div class="topic-metadata">

**Author:** [@Jeonghun\_Lee](https://discourse.julialang.org/u/Jeonghun_Lee)\
**Replies:** 2\
**Last updated:** [May 12, 2024, 2:37pm UTC](https://discourse.julialang.org/t/makie-displaying-latex-fraction-in-xticks/114166 "2024-05-12T14:37:09Z")

</div>

I’m having trouble dealing with xticks. using CairoMakie using LaTeXStrings fig = Figure() ax = Axis(fig\[1,1\], xticks = (-pi:pi/2:pi, \[L"-\\pi", L"-\\pi/2", L"0", L"\\pi/2", L"\\pi"\])) xlims!(ax, -pi, pi) fig This code…

---

## [Mac OpenMP-capable compiler?](https://discourse.julialang.org/t/mac-openmp-capable-compiler/114112)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 9\
**Last updated:** [May 12, 2024, 1:48pm UTC](https://discourse.julialang.org/t/mac-openmp-capable-compiler/114112 "2024-05-12T13:48:26Z")

</div>

I am trying to test a package with a wrapped library in c++ that uses OpenMP. Is there a suitable compiler on the Mac that would be reliably present?

---

## [Is there an equivalent of LazyLinear in Flux.jl?](https://discourse.julialang.org/t/is-there-an-equivalent-of-lazylinear-in-flux-jl/114165)

<div class="topic-metadata">

**Author:** [@NeroBlackstone](https://discourse.julialang.org/u/NeroBlackstone)\
**Replies:** 0\
**Last updated:** [May 12, 2024, 10:46am UTC](https://discourse.julialang.org/t/is-there-an-equivalent-of-lazylinear-in-flux-jl/114165 "2024-05-12T10:46:57Z")

</div>

LazyLinear It seems that a similar option in Flux.jl is @autosize. But we still need to manually pass in the first input layer dimension.

---

## [Installing MKL on Windows fails](https://discourse.julialang.org/t/installing-mkl-on-windows-fails/114149)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 2\
**Last updated:** [May 12, 2024, 10:33am UTC](https://discourse.julialang.org/t/installing-mkl-on-windows-fails/114149 "2024-05-12T10:33:17Z")

</div>

Installing MKL on a freshly installed Windows 10.0 home fails: C:\\Users\\ufechner\\tmp\>julia --project \_ \_ \_ \_(\_)\_ | Documentation: https://docs.julialang.org (\_) | (\_) (\_) | \_ \_ …

---

## [FiniteVolumeMethod.jl v1.0: Solving conservation PDEs in 2D, now with systems and internal conditions](https://discourse.julialang.org/t/finitevolumemethod-jl-v1-0-solving-conservation-pdes-in-2d-now-with-systems-and-internal-conditions/103715)

<div class="topic-metadata">

**Author:** [@DanielVandH](https://discourse.julialang.org/u/DanielVandH)\
**Replies:** 5\
**Last updated:** [May 11, 2024, 10:56am UTC](https://discourse.julialang.org/t/finitevolumemethod-jl-v1-0-solving-conservation-pdes-in-2d-now-with-systems-and-internal-conditions/103715 "2024-05-11T10:56:15Z")

</div>

I have just released v1.0 of my FiniteVolumeMethod.jl package, which is a package for solving PDEs of the form \\frac{\\partial u(\\boldsymbol x, t)}{\\partial t} + \\boldsymbol\\nabla\\boldsymbol\\cdot\\boldsymbol q(\\boldsymbo…

---

## [LinkPost: Talk on "Scientific Research in the Time of AI"](https://discourse.julialang.org/t/linkpost-talk-on-scientific-research-in-the-time-of-ai/114156)

<div class="topic-metadata">

**Author:** [@samerb](https://discourse.julialang.org/u/samerb)\
**Replies:** 0\
**Last updated:** [May 12, 2024, 3:43am UTC](https://discourse.julialang.org/t/linkpost-talk-on-scientific-research-in-the-time-of-ai/114156 "2024-05-12T03:43:25Z")

</div>

I wonder if this talk might be of interest to anyone: Weinan E’s talk on “Scientific Research in the Time of AI” He said the scientific computing community doesn’t have a culture of building infrastructure…

---

## [Why do we need 3 chains to solve a PDE using NeuralPDE](https://discourse.julialang.org/t/why-do-we-need-3-chains-to-solve-a-pde-using-neuralpde/108136)

<div class="topic-metadata">

**Author:** [@affans](https://discourse.julialang.org/u/affans)\
**Replies:** 7\
**Last updated:** [May 11, 2024, 9:04pm UTC](https://discourse.julialang.org/t/why-do-we-need-3-chains-to-solve-a-pde-using-neuralpde/108136 "2024-05-11T21:04:21Z")

</div>

I am working through examples from NeuralPDE.jl package and have a question. I am looking at the inverse problem example (i.e. parameter estimation) and just need to get my thinking straight. This is more of a conceptual…

---

## [Why is flux model slower than python?](https://discourse.julialang.org/t/why-is-flux-model-slower-than-python/54154)

<div class="topic-metadata">

**Author:** [@mdsa3d](https://discourse.julialang.org/u/mdsa3d)\
**Replies:** 6\
**Last updated:** [May 11, 2024, 2:50pm UTC](https://discourse.julialang.org/t/why-is-flux-model-slower-than-python/54154 "2024-05-11T14:50:44Z")

</div>

I ran a benchmark test to observe the performance gain using flux. But, rather I observed that the flux runtine is longer than python equivalent. However, the julia is supposed to be faster. May I know, what am I doing …

---

## [How to get HSL up and running with Ipopt](https://discourse.julialang.org/t/how-to-get-hsl-up-and-running-with-ipopt/114138)

<div class="topic-metadata">

**Author:** [@heiwie](https://discourse.julialang.org/u/heiwie)\
**Replies:** 6\
**Last updated:** [May 11, 2024, 4:12pm UTC](https://discourse.julialang.org/t/how-to-get-hsl-up-and-running-with-ipopt/114138 "2024-05-11T16:12:50Z")

</div>

Hello, I have recently received an academic license for HSL, and so I wish to try this linear solver out for Ipopt in order to see if there is an increase in performance of my model. Based on this source: GitHub - jump-…

---

## [Example of GLMakie sharing GLFW/OpenGL context (for example with CImGui)?](https://discourse.julialang.org/t/example-of-glmakie-sharing-glfw-opengl-context-for-example-with-cimgui/114108)

<div class="topic-metadata">

**Author:** [@Benoit9](https://discourse.julialang.org/u/Benoit9)\
**Replies:** 3\
**Last updated:** [May 11, 2024, 2:06pm UTC](https://discourse.julialang.org/t/example-of-glmakie-sharing-glfw-opengl-context-for-example-with-cimgui/114108 "2024-05-11T14:06:05Z")

</div>

I found an example from 2020 in this thread Is it possible to use Makie in CImGui? here: Modification of Gnimuc's example: https://gist.github.com/Gnimuc/5a1e4942784cfc3558e2ee50b7bee84d · GitHub But Makie has changed q…

---

## [How to disable the Safe Preview of Pluto](https://discourse.julialang.org/t/how-to-disable-the-safe-preview-of-pluto/114135)

<div class="topic-metadata">

**Author:** [@guoyongzhi](https://discourse.julialang.org/u/guoyongzhi)\
**Replies:** 0\
**Last updated:** [May 11, 2024, 7:06am UTC](https://discourse.julialang.org/t/how-to-disable-the-safe-preview-of-pluto/114135 "2024-05-11T07:06:21Z")

</div>

I want to skip the safe preview, and run all cells immediately on the notebook loading, just like in the old version pluto. What should I do? I have tried the following command, but it is not working. Pluto.run(run\_note…

---

## [Why does an iterator with a vector as state variable allocate?](https://discourse.julialang.org/t/why-does-an-iterator-with-a-vector-as-state-variable-allocate/114128)

<div class="topic-metadata">

**Author:** [@matthias314](https://discourse.julialang.org/u/matthias314)\
**Replies:** 8\
**Last updated:** [May 11, 2024, 1:22pm UTC](https://discourse.julialang.org/t/why-does-an-iterator-with-a-vector-as-state-variable-allocate/114128 "2024-05-11T13:22:24Z")

</div>

Here is an example of a phenomenon that I have noticed more than once: The following type C uses a Vector as state variable for iterate. This of course needs one allocation at the beginning of the iteration. However, the…

---

## [\[ANN\] TheMovieDB.jl: Julia wrappers for TheMovieDB API v3](https://discourse.julialang.org/t/ann-themoviedb-jl-julia-wrappers-for-themoviedb-api-v3/114114)

<div class="topic-metadata">

**Author:** [@NeroBlackstone](https://discourse.julialang.org/u/NeroBlackstone)\
**Replies:** 1\
**Last updated:** [May 11, 2024, 11:41am UTC](https://discourse.julialang.org/t/ann-themoviedb-jl-julia-wrappers-for-themoviedb-api-v3/114114 "2024-05-11T11:41:34Z")

</div>

Want to use Julia to crawl some movies for machine learning, data analysis, or complex networks? Try TheMovieDB.jl! This is a Julia wrapper for The Movie DB API v3 out of the box. Easy Start Please apply for your themov…

---

## [Is MKL performance on AMD no longer crippled?](https://discourse.julialang.org/t/is-mkl-performance-on-amd-no-longer-crippled/114069)

<div class="topic-metadata">

**Author:** [@meisel](https://discourse.julialang.org/u/meisel)\
**Replies:** 4\
**Last updated:** [May 11, 2024, 8:34am UTC](https://discourse.julialang.org/t/is-mkl-performance-on-amd-no-longer-crippled/114069 "2024-05-11T08:34:19Z")

</div>

I recently tried MKL 2024.1 on an AMD cloud instance (1 vCPU on top of a 4th gen AMD EPYC CPU), and found it to have very reasonable performance. In fact, it was better than another matmul library I tried. Has Intel fina…

---

## [How to make StructArray work with Static LabelledArray?](https://discourse.julialang.org/t/how-to-make-structarray-work-with-static-labelledarray/114132)

<div class="topic-metadata">

**Author:** [@freedomjin](https://discourse.julialang.org/u/freedomjin)\
**Replies:** 3\
**Last updated:** [May 11, 2024, 8:12am UTC](https://discourse.julialang.org/t/how-to-make-structarray-work-with-static-labelledarray/114132 "2024-05-11T08:12:23Z")

</div>

The following code does not work as expected: \>using StructArrays, LabelledArrays \>SLV2 = @SLVector Int (:x, :y) \>vf=StructArray(\[rand(SLV2) for \_ in 1:5\]) \>vf.x ERROR: type Tuple has no field x The same code with SLVe…

---

## [Isn't it very unintuitive that \`cholesky()\` stores data in the \*upper\* triangular part?](https://discourse.julialang.org/t/isnt-it-very-unintuitive-that-cholesky-stores-data-in-the-upper-triangular-part/114123)

<div class="topic-metadata">

**Author:** [@biona001](https://discourse.julialang.org/u/biona001)\
**Replies:** 3\
**Last updated:** [May 11, 2024, 7:15am UTC](https://discourse.julialang.org/t/isnt-it-very-unintuitive-that-cholesky-stores-data-in-the-upper-triangular-part/114123 "2024-05-11T07:15:07Z")

</div>

A cholesky factor for a symmetric matrix A is usually described as a lower triangular matrix L such that A = LL'. But in Julia, the actual numerical value of L is stored in the upper triangular portion of cholesky(A).fac…

---

## [Flux CNN error: Scalar indexing is disallowed](https://discourse.julialang.org/t/flux-cnn-error-scalar-indexing-is-disallowed/88973)

<div class="topic-metadata">

**Author:** [@amitjamadagni](https://discourse.julialang.org/u/amitjamadagni)\
**Replies:** 4\
**Last updated:** [May 11, 2024, 5:39am UTC](https://discourse.julialang.org/t/flux-cnn-error-scalar-indexing-is-disallowed/88973 "2024-05-11T05:39:49Z")

</div>

Hi! I have 1D data which I can successfully train and test with all to all connected 3 layer model as below: function build\_model\_ffn(; nclasses=2) return Chain( Dense(99, 48, relu), Dense(4…

---

## [\[RFC\] What should the arithmetic within the FixedPointNumbers be](https://discourse.julialang.org/t/rfc-what-should-the-arithmetic-within-the-fixedpointnumbers-be/46697)

<div class="topic-metadata">

**Author:** [@kimikage](https://discourse.julialang.org/u/kimikage)\
**Replies:** 65\
**Last updated:** [May 11, 2024, 4:54am UTC](https://discourse.julialang.org/t/rfc-what-should-the-arithmetic-within-the-fixedpointnumbers-be/46697 "2024-05-11T04:54:12Z")

</div>

Hi all, I am one of the committers of FixedPointNumbers.jl and we are currently working on the next version, v0.9.0, to be released. This is not directly related to the visualization, but I’m writing this in the visual…

---

## [Android Apps in Julia?](https://discourse.julialang.org/t/android-apps-in-julia/108005)

<div class="topic-metadata">

**Author:** [@chelseas](https://discourse.julialang.org/u/chelseas)\
**Replies:** 3\
**Last updated:** [May 11, 2024, 4:29am UTC](https://discourse.julialang.org/t/android-apps-in-julia/108005 "2024-05-11T04:29:09Z")

</div>

Hello! I wanted to check if anyone has written a self contained app for Android in Julia? I know there were some threads a few years back. Wanted to ask again now that time has passed. I am thinking of trying it but hop…

---

## [Gurobi lazy constraint issue](https://discourse.julialang.org/t/gurobi-lazy-constraint-issue/113969)

<div class="topic-metadata">

**Author:** [@marouane-f](https://discourse.julialang.org/u/marouane-f)\
**Replies:** 15\
**Last updated:** [May 11, 2024, 12:21am UTC](https://discourse.julialang.org/t/gurobi-lazy-constraint-issue/113969 "2024-05-11T00:21:34Z")

</div>

Hi, I’m implementing a MIP cut generation algorithm on JuMP+Gurobi using MOI.LazyConstraintCallback. Theoretically, the algorithm is correct. However, running tests on a large batch of instances and cross-checking with…

---

## [How to use define interpolations in JuMP](https://discourse.julialang.org/t/how-to-use-define-interpolations-in-jump/114126)

<div class="topic-metadata">

**Author:** [@Longblackcoffee](https://discourse.julialang.org/u/Longblackcoffee)\
**Replies:** 2\
**Last updated:** [May 11, 2024, 12:19am UTC](https://discourse.julialang.org/t/how-to-use-define-interpolations-in-jump/114126 "2024-05-11T00:19:35Z")

</div>

Hi everyone, Is there a way to register a user-defined function, generated from the Interpolations.jl package, into a JuMP model? Whenever I do, I get a method error. Here’s a MWE: using JuMP, MadNLP using Interpolatio…

---

## [How to get reproducible results with DiffEqNoiseProcess.jl?](https://discourse.julialang.org/t/how-to-get-reproducible-results-with-diffeqnoiseprocess-jl/114063)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 1\
**Last updated:** [May 10, 2024, 9:59pm UTC](https://discourse.julialang.org/t/how-to-get-reproducible-results-with-diffeqnoiseprocess-jl/114063 "2024-05-10T21:59:17Z")

</div>

I have a process: using DifferentialEquations using Random mu = 1 sigma = 1 gbm = GeometricBrownianMotionProcess(mu, sigma, 0.0, 10.0) prob = NoiseProblem(gbm, (0.0, 10)) sol = solve(prob; dt=1.0) How can I fix the se…

---

## [Binary variables in Ipopt](https://discourse.julialang.org/t/binary-variables-in-ipopt/114111)

<div class="topic-metadata">

**Author:** [@heiwie](https://discourse.julialang.org/u/heiwie)\
**Replies:** 2\
**Last updated:** [May 10, 2024, 9:25pm UTC](https://discourse.julialang.org/t/binary-variables-in-ipopt/114111 "2024-05-10T21:25:07Z")

</div>

I am using Ipopt in JuMP to solve a non-linear hydropower optimization problem. After realizing that there may be spillage in periods where the reservoir is half empty, I want to add a constraint which only allows spilla…

---

## [How to test what happens in a function deep in the call stack](https://discourse.julialang.org/t/how-to-test-what-happens-in-a-function-deep-in-the-call-stack/114120)

<div class="topic-metadata">

**Author:** [@jules](https://discourse.julialang.org/u/jules)\
**Replies:** 3\
**Last updated:** [May 10, 2024, 9:20pm UTC](https://discourse.julialang.org/t/how-to-test-what-happens-in-a-function-deep-in-the-call-stack/114120 "2024-05-10T21:20:30Z")

</div>

I was wondering how I could improve tests for certain packages of mine, let’s take Makie as an example. Makie turns input data to output images but only testing reference images is not satisfactory. We have lots of inter…

---

## [Fastest way to save a large number of DataFrames to disk](https://discourse.julialang.org/t/fastest-way-to-save-a-large-number-of-dataframes-to-disk/114005)

<div class="topic-metadata">

**Author:** [@liuyxpp](https://discourse.julialang.org/u/liuyxpp)\
**Replies:** 2\
**Last updated:** [May 10, 2024, 12:07pm UTC](https://discourse.julialang.org/t/fastest-way-to-save-a-large-number-of-dataframes-to-disk/114005 "2024-05-10T12:07:51Z")

</div>

I have a large number of dataframes generated from other sources like using DataFrames N = 1000 df\_dict = Dict(1:N .=\> \[DataFrame(rand(rand(1000:2000), 146), :auto) for \_ in 1:N\]) I’d like to save them into a single fi…

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

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