# Latest

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

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

**Page:** 503

---

## [\[English help\] An imputer that works with any supervised model, a "GeneralImputer" or a "UniversalImputer" (or other?)](https://discourse.julialang.org/t/english-help-an-imputer-that-works-with-any-supervised-model-a-generalimputer-or-a-universalimputer-or-other/109187)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 0\
**Last updated:** [January 24, 2024, 9:09am UTC](https://discourse.julialang.org/t/english-help-an-imputer-that-works-with-any-supervised-model-a-generalimputer-or-a-universalimputer-or-other/109187 "2024-01-24T09:09:48Z")

</div>

I am standardizing the names of the models on my Beta Machine Learning Toolkits (BetaML)… concerning the Imputers (of missing values), I have some that use a specific algorithm, e.g. Random Forest, or Gaussian Mixture mo…

---

## [WebSockets vs Oxygen.jl](https://discourse.julialang.org/t/websockets-vs-oxygen-jl/109146)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 4\
**Last updated:** [January 24, 2024, 8:53am UTC](https://discourse.julialang.org/t/websockets-vs-oxygen-jl/109146 "2024-01-24T08:53:13Z")

</div>

I’m sure I’m doing something silly and wrong, I’m just not sure what. In the following two MWE, a server is sending a 1 MB payload a hundrad times to one client, all within the same Julia session (v1.10.0 single thread)…

---

## [GLib-GIO-WARNING](https://discourse.julialang.org/t/glib-gio-warning/109186)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 0\
**Last updated:** [January 24, 2024, 7:40am UTC](https://discourse.julialang.org/t/glib-gio-warning/109186 "2024-01-24T07:40:03Z")

</div>

Since I installed Julia 1.10, I get this: (process:19308): GLib-GIO-WARNING \*\*: 08:25:31.129: Failed to open application manifest \`C:\\Windows\\SystemApps\\Microsoft.MicrosoftEdge\_8wekyb3d8bbwe\\AppxManifest.xml' There is …

---

## [Hazard pointers - in C++26 vs Julia - concurrency/atomics e.g. for UInt128](https://discourse.julialang.org/t/hazard-pointers-in-c-26-vs-julia-concurrency-atomics-e-g-for-uint128/108866)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 4\
**Last updated:** [January 24, 2024, 5:30am UTC](https://discourse.julialang.org/t/hazard-pointers-in-c-26-vs-julia-concurrency-atomics-e-g-for-uint128/108866 "2024-01-24T05:30:00Z")

</div>

I hadn’t seen this concept, and wanted to let others know, and ask how it contrasts to Julia, but to answer my own question: In a multithreaded computing environment, hazard pointers are one approach to solving the pr…

---

## [Can StackOverflow exceptions be reliably caught?](https://discourse.julialang.org/t/can-stackoverflow-exceptions-be-reliably-caught/109178)

<div class="topic-metadata">

**Author:** [@oxinabox](https://discourse.julialang.org/u/oxinabox)\
**Replies:** 1\
**Last updated:** [January 24, 2024, 4:13am UTC](https://discourse.julialang.org/t/can-stackoverflow-exceptions-be-reliably-caught/109178 "2024-01-24T04:13:49Z")

</div>

In several languages you can’t catch StackOverflowExceptions (C# for example) I believe this is because the stack is full so there is no space left to put the error handling frames. Other languages I believe keep some …

---

## [GLIBCXX\_3.4.26 not available -- PackageCompiler.jl -- should I recompile julia?](https://discourse.julialang.org/t/glibcxx-3-4-26-not-available-packagecompiler-jl-should-i-recompile-julia/109147)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 1\
**Last updated:** [January 24, 2024, 3:59am UTC](https://discourse.julialang.org/t/glibcxx-3-4-26-not-available-packagecompiler-jl-should-i-recompile-julia/109147 "2024-01-24T03:59:05Z")

</div>

I’m running an Ubuntu 18.04.2 version of Linux on wsl version 1,0. It comes with a GCC 7.5.0-3ubuntu1~18.04. I’ve installed the latest julia prebuilt version 1.10.0. It runs fine. I have a problem, when I use the pac…

---

## [Reducing allocations in quadgk within loop](https://discourse.julialang.org/t/reducing-allocations-in-quadgk-within-loop/109127)

<div class="topic-metadata">

**Author:** [@physh](https://discourse.julialang.org/u/physh)\
**Replies:** 7\
**Last updated:** [January 24, 2024, 2:10am UTC](https://discourse.julialang.org/t/reducing-allocations-in-quadgk-within-loop/109127 "2024-01-24T02:10:33Z")

</div>

Hi all, I try to optimize some code which calls quadgk many times on a matrix. A MWE is using SpecialFunctions using QuadGK Lsum = 2 v\_arr = zeros(100,Lsum+1); alpha\_arr = rand(100); gamma\_dict = Dict{Float64,Float64}…

---

## [How to properly specify maximum interations in Optimization?](https://discourse.julialang.org/t/how-to-properly-specify-maximum-interations-in-optimization/109144)

<div class="topic-metadata">

**Author:** [@foolcat](https://discourse.julialang.org/u/foolcat)\
**Replies:** 4\
**Last updated:** [January 23, 2024, 10:58pm UTC](https://discourse.julialang.org/t/how-to-properly-specify-maximum-interations-in-optimization/109144 "2024-01-23T22:58:59Z")

</div>

Hello, I am pretty new to Julia and SciML. I have a question about how to specify the maximum iterations in Optimzation.jl. I read the documentation and tried different combinations of maxiters, iterations, etc. So far …

---

## [Question Julia best practices for structs of numbers](https://discourse.julialang.org/t/question-julia-best-practices-for-structs-of-numbers/109164)

<div class="topic-metadata">

**Author:** [@Devetak](https://discourse.julialang.org/u/Devetak)\
**Replies:** 7\
**Last updated:** [January 23, 2024, 9:59pm UTC](https://discourse.julialang.org/t/question-julia-best-practices-for-structs-of-numbers/109164 "2024-01-23T21:59:21Z")

</div>

Hello. As the title suggests, I have a struct of the form: struct Foo arr int end Of course, then: myFoo = Foo(rand(5), 2) myFoo.int = 3 This code errors. However, I can still do myFoo.arr .= rand(5). Suppose…

---

## [Which Lock to use when locking external stateful commands like git or file systems?](https://discourse.julialang.org/t/which-lock-to-use-when-locking-external-stateful-commands-like-git-or-file-systems/109161)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 7\
**Last updated:** [January 23, 2024, 9:58pm UTC](https://discourse.julialang.org/t/which-lock-to-use-when-locking-external-stateful-commands-like-git-or-file-systems/109161 "2024-01-23T21:58:10Z")

</div>

Hi, I am wondering whether there is a standard Lock object I can use to secure something like git add -A git commit -m "this should be run together"

---

## [Different Methods of Creating a Pkg?](https://discourse.julialang.org/t/different-methods-of-creating-a-pkg/108273)

<div class="topic-metadata">

**Author:** [@benslinux](https://discourse.julialang.org/u/benslinux)\
**Replies:** 19\
**Last updated:** [January 23, 2024, 1:34pm UTC](https://discourse.julialang.org/t/different-methods-of-creating-a-pkg/108273 "2024-01-23T13:34:31Z")

</div>

I’m new to creating pkgs in Julia and have found two methods that work. I’m interested to know if what I’ve written here is accurate and if those with more experience or an opinion on the process would share their input.…

---

## [Julia package incompatibility](https://discourse.julialang.org/t/julia-package-incompatibility/108597)

<div class="topic-metadata">

**Author:** [@Mahnoor\_Pop](https://discourse.julialang.org/u/Mahnoor_Pop)\
**Replies:** 7\
**Last updated:** [January 23, 2024, 9:06pm UTC](https://discourse.julialang.org/t/julia-package-incompatibility/108597 "2024-01-23T21:06:03Z")

</div>

Hi all! Ever since working with GLMakie, GraphMakie etc, I’ve been having a LOT of issues with my packages in Julia, it takes really really long for them to precompile at the start \[1\] (which is not how it’s been up unti…

---

## [GitError(Code:ERROR, Class:SSL, SSL error: 0xffffffff - ERROR - Generic error)](https://discourse.julialang.org/t/giterror-code-error-class-ssl-ssl-error-0xffffffff-error-generic-error/109170)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 0\
**Last updated:** [January 23, 2024, 8:14pm UTC](https://discourse.julialang.org/t/giterror-code-error-class-ssl-ssl-error-0xffffffff-error-generic-error/109170 "2024-01-23T20:14:41Z")

</div>

I am trying to push using LibGit2. LibGit2.push(LibGit2.GitRepo(tmpdir); remoteurl, refspecs=\["+refs/heads/main:refs/heads/main"\], credentials) as far as I can tell, the tmpdir is a valid git repository, the remoteurl …

---

## [Julia for HPC Tutorial at SC24](https://discourse.julialang.org/t/julia-for-hpc-tutorial-at-sc24/109119)

<div class="topic-metadata">

**Author:** [@Rabab53](https://discourse.julialang.org/u/Rabab53)\
**Replies:** 5\
**Last updated:** [January 23, 2024, 7:58pm UTC](https://discourse.julialang.org/t/julia-for-hpc-tutorial-at-sc24/109119 "2024-01-23T19:58:49Z")

</div>

Hello everyone, We at Julia Lab are excited to announce that we are planning to conduct a Julia HPC tutorial at the upcoming Supercomputer Conference 2024 (SC24). As we gear up for this, we are reaching out to Julia HPC…

---

## [Case Study: Method Invalidations caused by Pkg.jl with Julia 1.11](https://discourse.julialang.org/t/case-study-method-invalidations-caused-by-pkg-jl-with-julia-1-11/109038)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 13\
**Last updated:** [January 23, 2024, 7:26pm UTC](https://discourse.julialang.org/t/case-study-method-invalidations-caused-by-pkg-jl-with-julia-1-11/109038 "2024-01-23T19:26:07Z")

</div>

Introduction When using Julia nightly, to be Julia 1.11, I noticed that loading Pkg.jl causes method invalidations. As of Julia 1.11, Pkg.jl is no longer part of the system image and is thus a normal package. Thus, Pkg.j…

---

## [Bioinference conference 2024: Call for Abstract & Registration](https://discourse.julialang.org/t/bioinference-conference-2024-call-for-abstract-registration/108614)

<div class="topic-metadata">

**Author:** [@Yongchao](https://discourse.julialang.org/u/Yongchao)\
**Replies:** 0\
**Last updated:** [January 10, 2024, 10:49am UTC](https://discourse.julialang.org/t/bioinference-conference-2024-call-for-abstract-registration/108614 "2024-01-10T10:49:10Z")

</div>

BioInference 2024: save the date and call for abstract The BioInference 2024 conference (2024 Conference - BioInference) is taking place at the University of Warwick on the 5th-7th June 2024, and it will combine a data-…

---

## [Run doctests?](https://discourse.julialang.org/t/run-doctests/8035)

<div class="topic-metadata">

**Author:** [@tbenst](https://discourse.julialang.org/u/tbenst)\
**Replies:** 5\
**Last updated:** [January 23, 2024, 6:30pm UTC](https://discourse.julialang.org/t/run-doctests/8035 "2024-01-23T18:30:07Z")

</div>

I’m guessing I’m missing something trivially obvious but haven’t found it–how can I run all doctests found in my code? The Julia documentation references make -C doc doctest, but PkgDev.generate() does not create a make…

---

## [MATLAB -\> Julia, Diffeq cannot solve large system over long time-span](https://discourse.julialang.org/t/matlab-julia-diffeq-cannot-solve-large-system-over-long-time-span/109103)

<div class="topic-metadata">

**Author:** [@atarias1](https://discourse.julialang.org/u/atarias1)\
**Replies:** 20\
**Last updated:** [January 23, 2024, 5:28pm UTC](https://discourse.julialang.org/t/matlab-julia-diffeq-cannot-solve-large-system-over-long-time-span/109103 "2024-01-23T17:28:19Z")

</div>

Hello, I am working on a project to model dehydration of some rocks. I am planning on adapting this model https://github.com/rmskarbek/PorosityWaves to different conditions. However, before moving on to that I wanted to…

---

## [Specifying Function Contract](https://discourse.julialang.org/t/specifying-function-contract/108983)

<div class="topic-metadata">

**Author:** [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Replies:** 17\
**Last updated:** [January 23, 2024, 5:22pm UTC](https://discourse.julialang.org/t/specifying-function-contract/108983 "2024-01-23T17:22:10Z")

</div>

There is lots of good work around specifying the interface of types, their traits, etc. I was curious if I’m missing conversation around declaring the behavior of a function in terms of its arguments somewhat like the si…

---

## [Recommended AI engine for translating between Julia, Python and Wolfram Mathematica](https://discourse.julialang.org/t/recommended-ai-engine-for-translating-between-julia-python-and-wolfram-mathematica/109152)

<div class="topic-metadata">

**Author:** [@Shamrock\_812](https://discourse.julialang.org/u/Shamrock_812)\
**Replies:** 4\
**Last updated:** [January 23, 2024, 5:00pm UTC](https://discourse.julialang.org/t/recommended-ai-engine-for-translating-between-julia-python-and-wolfram-mathematica/109152 "2024-01-23T17:00:12Z")

</div>

Hi, New to Julia and trying to translate Julia code to Python and to Wolfram Mathematica and the other way around with ChatGPT however the result is buggy and requires too much overhead to deal with. Any recommendation…

---

## [Is there a from-zero set of instructions to get Emacs going with julia-ts-mode?](https://discourse.julialang.org/t/is-there-a-from-zero-set-of-instructions-to-get-emacs-going-with-julia-ts-mode/109031)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 7\
**Last updated:** [January 23, 2024, 4:56pm UTC](https://discourse.julialang.org/t/is-there-a-from-zero-set-of-instructions-to-get-emacs-going-with-julia-ts-mode/109031 "2024-01-23T16:56:40Z")

</div>

I am afraid I’ve gotten very rusty on Emacs. :frowning:

---

## [Discrete Kalman filter](https://discourse.julialang.org/t/discrete-kalman-filter/109014)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 19\
**Last updated:** [January 23, 2024, 4:32pm UTC](https://discourse.julialang.org/t/discrete-kalman-filter/109014 "2024-01-23T16:32:02Z")

</div>

Kalman filter A wind turbine is modeled under the assumption that the rotor is directly attached to the generator and that the generator torque can be controlled directly. Then we can write (without noise): \\dot\\omega\_…

---

## [World age problem from a package](https://discourse.julialang.org/t/world-age-problem-from-a-package/109104)

<div class="topic-metadata">

**Author:** [@daro.slai](https://discourse.julialang.org/u/daro.slai)\
**Replies:** 11\
**Last updated:** [January 23, 2024, 3:24pm UTC](https://discourse.julialang.org/t/world-age-problem-from-a-package/109104 "2024-01-23T15:24:54Z")

</div>

Hi, I’m having a world age problem in a very weird way, or at least weird enough that I can’t see the similarities with other examples. I have a file simulationFns.jl that defines a few functions such as: using LiiBRA…

---

## [What kind of tests are sufficient: Some personal thoughts](https://discourse.julialang.org/t/what-kind-of-tests-are-sufficient-some-personal-thoughts/108549)

<div class="topic-metadata">

**Author:** [@Zaikun](https://discourse.julialang.org/u/Zaikun)\
**Replies:** 15\
**Last updated:** [January 23, 2024, 3:20pm UTC](https://discourse.julialang.org/t/what-kind-of-tests-are-sufficient-some-personal-thoughts/108549 "2024-01-23T15:20:58Z")

</div>

Code must be battle-tested before it becomes software. How should we test the libraries that we develop? What kind of tests are sufficient? Suppose that we are developing a package of numerical solvers (for linear algeb…

---

## [PyTorch (Transformers) leads to different results under PythonCall and native Python](https://discourse.julialang.org/t/pytorch-transformers-leads-to-different-results-under-pythoncall-and-native-python/109084)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 13\
**Last updated:** [January 23, 2024, 3:20am UTC](https://discourse.julialang.org/t/pytorch-transformers-leads-to-different-results-under-pythoncall-and-native-python/109084 "2024-01-23T03:20:13Z")

</div>

Hello, I am trying to add Microsoft phi model to Transformers.jl, since it seems like “small” language model to play with. I also wanted to become more aware of how the HuggingFace integration is done for the sake of kn…

---

## [Problem using margin on plots](https://discourse.julialang.org/t/problem-using-margin-on-plots/16226)

<div class="topic-metadata">

**Author:** [@IljaK91](https://discourse.julialang.org/u/IljaK91)\
**Replies:** 7\
**Last updated:** [January 23, 2024, 1:11pm UTC](https://discourse.julialang.org/t/problem-using-margin-on-plots/16226 "2024-01-23T13:11:18Z")

</div>

Hey everyone, I have the following problem. I want to plot something and use the Unicode symbol for beta as xlabel. However, it gets cut off like this: using Plots; pyplot(); plot(rand(10)) xlabel!("\\beta") It seem…

---

## [Confusing performance of LinearAlgebra.mul! for Float64](https://discourse.julialang.org/t/confusing-performance-of-linearalgebra-mul-for-float64/109064)

<div class="topic-metadata">

**Author:** [@ArrogantGao](https://discourse.julialang.org/u/ArrogantGao)\
**Replies:** 4\
**Last updated:** [January 23, 2024, 12:17pm UTC](https://discourse.julialang.org/t/confusing-performance-of-linearalgebra-mul-for-float64/109064 "2024-01-23T12:17:46Z")

</div>

Hi, I was benchmarking the performance of LinearAlgebra.mul! and got something quite confusing. julia\> using CUDA, LinearAlgebra, BenchmarkTools julia\> versioninfo() Julia Version 1.10.0 Commit 3120989f39b (2023-12-25 …

---

## [Date axis in Makie](https://discourse.julialang.org/t/date-axis-in-makie/63430)

<div class="topic-metadata">

**Author:** [@danielw2904](https://discourse.julialang.org/u/danielw2904)\
**Replies:** 11\
**Last updated:** [January 23, 2024, 11:33am UTC](https://discourse.julialang.org/t/date-axis-in-makie/63430 "2024-01-23T11:33:14Z")

</div>

I was looking into Makie for plotting some time series but could only find an open issue for having dates on one of the axes. The first suggested fix does not work for me (I get an error when calling lines) and the secon…

---

## [Inverse problem with NeuralPDE and GPU support](https://discourse.julialang.org/t/inverse-problem-with-neuralpde-and-gpu-support/109051)

<div class="topic-metadata">

**Author:** [@Rene\_Schenkendorf](https://discourse.julialang.org/u/Rene_Schenkendorf)\
**Replies:** 5\
**Last updated:** [January 23, 2024, 8:29am UTC](https://discourse.julialang.org/t/inverse-problem-with-neuralpde-and-gpu-support/109051 "2024-01-23T08:29:00Z")

</div>

Hello everyone. I am new to Julia (at least that’s how it feels from time to time). Using the GPU according to tutorial https://docs.sciml.ai/NeuralPDE/stable/tutorials/gpu/ works; the inverse problem (first-principles m…

---

## [Help with Julia multithreading](https://discourse.julialang.org/t/help-with-julia-multithreading/109090)

<div class="topic-metadata">

**Author:** [@amd](https://discourse.julialang.org/u/amd)\
**Replies:** 9\
**Last updated:** [January 23, 2024, 7:36am UTC](https://discourse.julialang.org/t/help-with-julia-multithreading/109090 "2024-01-23T07:36:48Z")

</div>

I am trying to multithread an estimation (optimization) problem over a set of parameters, while looping over another set of parameters. The optimization function uses a vector of random numbers. Here is the approximate c…

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

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