# Latest

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

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

**Page:** 676

---

## [Julia run in backgroud in MacOS and uses my CPU almost 100%](https://discourse.julialang.org/t/julia-run-in-backgroud-in-macos-and-uses-my-cpu-almost-100/100126)

<div class="topic-metadata">

**Author:** [@Wybert](https://discourse.julialang.org/u/Wybert)\
**Replies:** 0\
**Last updated:** [June 9, 2023, 9:06pm UTC](https://discourse.julialang.org/t/julia-run-in-backgroud-in-macos-and-uses-my-cpu-almost-100/100126 "2023-06-09T21:06:59Z")

</div>

Does anyone know why my Julia runs in the background and uses my CPU almost 100%? I closed all my terminal and vs code instances already, but it still uses the resources.

---

## [Wrapping of large C++ libraries](https://discourse.julialang.org/t/wrapping-of-large-c-libraries/100114)

<div class="topic-metadata">

**Author:** [@fran94](https://discourse.julialang.org/u/fran94)\
**Replies:** 5\
**Last updated:** [June 9, 2023, 8:36pm UTC](https://discourse.julialang.org/t/wrapping-of-large-c-libraries/100114 "2023-06-09T20:36:30Z")

</div>

Hi, I have seen several packages aiming at wrapping C++ code to use in Julia, such as CxxWrap.jl. I haven’t seen a lot of resources about wrapping large pre-existing C++ libraries. I’m thinking about something of the si…

---

## [Multiplication matrix matrix MPI](https://discourse.julialang.org/t/multiplication-matrix-matrix-mpi/100118)

<div class="topic-metadata">

**Author:** [@k.kirshin123](https://discourse.julialang.org/u/k.kirshin123)\
**Replies:** 4\
**Last updated:** [June 9, 2023, 8:30pm UTC](https://discourse.julialang.org/t/multiplication-matrix-matrix-mpi/100118 "2023-06-09T20:30:24Z")

</div>

hello guys, maybe a bit strange request, but could you help me write a matrix multiplication algorithm. I’m quite new to parallel computing, but I have a task ahead of me with a very tight deadline. So for now, all I c…

---

## [Understanding Aqua output](https://discourse.julialang.org/t/understanding-aqua-output/100052)

<div class="topic-metadata">

**Author:** [@Eben60](https://discourse.julialang.org/u/Eben60)\
**Replies:** 6\
**Last updated:** [June 9, 2023, 8:07pm UTC](https://discourse.julialang.org/t/understanding-aqua-output/100052 "2023-06-09T20:07:47Z")

</div>

Aqua errors with “The file .../test/Project.toml is not in canonical format” Full output: /Volumes/.../Julia/Mendeleev.jl/test/Project.toml: Test Failed at /Users/elk/.julia/packages/Aqua/BhBic/src/project\_toml\_formatt…

---

## [Cannot use JuliaHub package server](https://discourse.julialang.org/t/cannot-use-juliahub-package-server/99749)

<div class="topic-metadata">

**Author:** [@cstjean](https://discourse.julialang.org/u/cstjean)\
**Replies:** 4\
**Last updated:** [June 9, 2023, 8:04pm UTC](https://discourse.julialang.org/t/cannot-use-juliahub-package-server/99749 "2023-06-09T20:04:01Z")

</div>

I am behind a large-corp firewall, and following this advice I am trying JuliaHub. I made an account, downloaded the auth token: PS C:\\Users\\Cedric\> dir .julia/servers/juliahub.com/auth.toml …

---

## [\[ANN\] Announcing XML.jl](https://discourse.julialang.org/t/ann-announcing-xml-jl/99781)

<div class="topic-metadata">

**Author:** [@joshday](https://discourse.julialang.org/u/joshday)\
**Replies:** 29\
**Last updated:** [June 9, 2023, 7:47pm UTC](https://discourse.julialang.org/t/ann-announcing-xml-jl/99781 "2023-06-09T19:47:16Z")

</div>

Announcing a pure Julia XML reader/writer. It powers KML.jl and I’m finally ready to encourage some more testing from the community. It’s speed looks decent compared to EzXML.jl, but please open issues if you hit cases…

---

## [An efficient way to rotate a two-dimensional plane and add it to a three-dimensional volume](https://discourse.julialang.org/t/an-efficient-way-to-rotate-a-two-dimensional-plane-and-add-it-to-a-three-dimensional-volume/99784)

<div class="topic-metadata">

**Author:** [@src\_20](https://discourse.julialang.org/u/src_20)\
**Replies:** 5\
**Last updated:** [June 9, 2023, 7:34pm UTC](https://discourse.julialang.org/t/an-efficient-way-to-rotate-a-two-dimensional-plane-and-add-it-to-a-three-dimensional-volume/99784 "2023-06-09T19:34:41Z")

</div>

I am currently working on transforming a two-dimensional array into a three-dimensional array by means of Euler angles (ψ, θ, φ) and adding it to another three-dimensional array. (like this Single particle analysis - Wik…

---

## [JuliaCon 2023 Boston - Social events volunteer sign-up](https://discourse.julialang.org/t/juliacon-2023-boston-social-events-volunteer-sign-up/100123)

<div class="topic-metadata">

**Author:** [@Steven\_Kell](https://discourse.julialang.org/u/Steven_Kell)\
**Replies:** 0\
**Last updated:** [June 9, 2023, 6:40pm UTC](https://discourse.julialang.org/t/juliacon-2023-boston-social-events-volunteer-sign-up/100123 "2023-06-09T18:40:41Z")

</div>

---

## [Bug in Forward diff for complex valued function](https://discourse.julialang.org/t/bug-in-forward-diff-for-complex-valued-function/100119)

<div class="topic-metadata">

**Author:** [@Veenty](https://discourse.julialang.org/u/Veenty)\
**Replies:** 2\
**Last updated:** [June 9, 2023, 5:02pm UTC](https://discourse.julialang.org/t/bug-in-forward-diff-for-complex-valued-function/100119 "2023-06-09T17:02:58Z")

</div>

I have an extremely simple case scenario r(s) = (1 + 0.3\*cos(8π\*s + 2\*sin(2π\*s)))\*exp(1im\*(2π\*s - π/2)) r′(s) = ForwardDiff.derivative(r, s) r′′(s) = ForwardDiff.derivative(r′, s) h\_ref = 1/(5\*2^9) T\_ref = collect(0:h\_r…

---

## [JuMP optimization problem](https://discourse.julialang.org/t/jump-optimization-problem/100096)

<div class="topic-metadata">

**Author:** [@hitam](https://discourse.julialang.org/u/hitam)\
**Replies:** 7\
**Last updated:** [June 9, 2023, 5:09pm UTC](https://discourse.julialang.org/t/jump-optimization-problem/100096 "2023-06-09T17:09:02Z")

</div>

I want to write a function

---

## [How to get live plotting of data into gui](https://discourse.julialang.org/t/how-to-get-live-plotting-of-data-into-gui/100115)

<div class="topic-metadata">

**Author:** [@blckbart](https://discourse.julialang.org/u/blckbart)\
**Replies:** 0\
**Last updated:** [June 9, 2023, 3:57pm UTC](https://discourse.julialang.org/t/how-to-get-live-plotting-of-data-into-gui/100115 "2023-06-09T15:57:34Z")

</div>

Hi All, I am looking for a good example GUI made using glade and GTK. Specifically I want to be able to live update a plot. Any help would be appreciated. Thanks!

---

## [Opening current REPL input in editor (Alt-e shortcut) doesn't work properly](https://discourse.julialang.org/t/opening-current-repl-input-in-editor-alt-e-shortcut-doesnt-work-properly/100090)

<div class="topic-metadata">

**Author:** [@ultrapoci](https://discourse.julialang.org/u/ultrapoci)\
**Replies:** 1\
**Last updated:** [June 9, 2023, 3:17pm UTC](https://discourse.julialang.org/t/opening-current-repl-input-in-editor-alt-e-shortcut-doesnt-work-properly/100090 "2023-06-09T15:17:18Z")

</div>

I’m using Windows 11 and Julia 1.9.1 and I’m trying the new feature from 1.9 which enables you to press Alt-e to open the current REPL input into an editor, modify the code and upon closing the editor, the code is execut…

---

## [Threaded function hanging when run through include, but not through REPL](https://discourse.julialang.org/t/threaded-function-hanging-when-run-through-include-but-not-through-repl/100105)

<div class="topic-metadata">

**Author:** [@f.ij](https://discourse.julialang.org/u/f.ij)\
**Replies:** 1\
**Last updated:** [June 9, 2023, 3:16pm UTC](https://discourse.julialang.org/t/threaded-function-hanging-when-run-through-include-but-not-through-repl/100105 "2023-06-09T15:16:07Z")

</div>

I have the following code: const vec = rand(10000) const shouldrun = Ref(true) uselessalgo(vec) = vec .= rand(10000) function uselessLoop(vec, shouldrun) while shouldrun\[\] uselessalgo(vec) GC.safep…

---

## [Question on corporate firewalls/proxies/custom certificates](https://discourse.julialang.org/t/question-on-corporate-firewalls-proxies-custom-certificates/100112)

<div class="topic-metadata">

**Author:** [@quinnj](https://discourse.julialang.org/u/quinnj)\
**Replies:** 0\
**Last updated:** [June 9, 2023, 3:14pm UTC](https://discourse.julialang.org/t/question-on-corporate-firewalls-proxies-custom-certificates/100112 "2023-06-09T15:14:35Z")

</div>

In HTTP.jl and our TLS packages (OpenSSL.jl and MbedTLS.jl), there are various controls around certificate verification when doing HTTP requests. You can globally turn verification off, pass your own custom sslconfig, et…

---

## [Implementing a Recommender system using Transformers using Julia](https://discourse.julialang.org/t/implementing-a-recommender-system-using-transformers-using-julia/100110)

<div class="topic-metadata">

**Author:** [@kondjenim](https://discourse.julialang.org/u/kondjenim)\
**Replies:** 0\
**Last updated:** [June 9, 2023, 3:14pm UTC](https://discourse.julialang.org/t/implementing-a-recommender-system-using-transformers-using-julia/100110 "2023-06-09T15:14:03Z")

</div>

I’m currently working on a project that involves implementing a recommender system based on Transformers. I would greatly appreciate any guidance or pointers related to implementing a recommender system using Transformer…

---

## [Getting 3D shapes without illumination](https://discourse.julialang.org/t/getting-3d-shapes-without-illumination/100091)

<div class="topic-metadata">

**Author:** [@peremato](https://discourse.julialang.org/u/peremato)\
**Replies:** 5\
**Last updated:** [June 9, 2023, 2:45pm UTC](https://discourse.julialang.org/t/getting-3d-shapes-without-illumination/100091 "2023-06-09T14:45:28Z")

</div>

I am plotting with GLMakie my own 3D solids by defining GeometryBasics.faces(...) and GeometryBasics.coordinates(...) for each type. Then I plot the solids using a code like this: m = GeometryBasics.mesh(solid) po…

---

## [Problem with Julia packages after updating to 1.9](https://discourse.julialang.org/t/problem-with-julia-packages-after-updating-to-1-9/100044)

<div class="topic-metadata">

**Author:** [@greivin](https://discourse.julialang.org/u/greivin)\
**Replies:** 6\
**Last updated:** [June 9, 2023, 10:34am UTC](https://discourse.julialang.org/t/problem-with-julia-packages-after-updating-to-1-9/100044 "2023-06-09T10:34:30Z")

</div>

I update my Julia version to 1.9 (previously 1.8.3) and now when I import the following packages using CSV, DataFrames, Statistics, LinearAlgebra, Plots, SharedArrays, LaTeXStrings, Measures, Interpolations, LsqFit I g…

---

## [Returning to wrong result with multiple return values](https://discourse.julialang.org/t/returning-to-wrong-result-with-multiple-return-values/100104)

<div class="topic-metadata">

**Author:** [@khaledharizb](https://discourse.julialang.org/u/khaledharizb)\
**Replies:** 2\
**Last updated:** [June 9, 2023, 1:28pm UTC](https://discourse.julialang.org/t/returning-to-wrong-result-with-multiple-return-values/100104 "2023-06-09T13:28:28Z")

</div>

I used Newton interpolation for function q and Horner’s algorithm for the evaluation, here is the code which works correctly; function Q(q,t) d = q; # create divided difference for j = 1:length(q)-1 for i …

---

## [How to set up a Julia module to run in project?](https://discourse.julialang.org/t/how-to-set-up-a-julia-module-to-run-in-project/100099)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 3\
**Last updated:** [June 9, 2023, 1:01pm UTC](https://discourse.julialang.org/t/how-to-set-up-a-julia-module-to-run-in-project/100099 "2023-06-09T13:01:17Z")

</div>

Hi, I have a module with a couple of functions (which I share with a friend and have a private GitHub repo for). Previously I have just put the code directly in .jl files and done stuff like include("MyFunctions/file\_wi…

---

## [Converting dates to excel compatible](https://discourse.julialang.org/t/converting-dates-to-excel-compatible/100022)

<div class="topic-metadata">

**Author:** [@Pino](https://discourse.julialang.org/u/Pino)\
**Replies:** 4\
**Last updated:** [June 9, 2023, 12:44pm UTC](https://discourse.julialang.org/t/converting-dates-to-excel-compatible/100022 "2023-06-09T12:44:14Z")

</div>

I use dates in julia, then I convert them in days in the following fashion # Convert a date to a number of days date = Date(2023, 6, 7) days = Dates.days(date) println(days) 738678 I then look up the dates with other v…

---

## [Establishing a FunSQL Connection](https://discourse.julialang.org/t/establishing-a-funsql-connection/100102)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 0\
**Last updated:** [June 9, 2023, 12:33pm UTC](https://discourse.julialang.org/t/establishing-a-funsql-connection/100102 "2023-06-09T12:33:24Z")

</div>

I am trying to work through the example in FunSQL but am getting an error as shown in the following lines. This is a copy paste of the example. Somehow the artifact is not working, I think. The documentation seems to …

---

## [How to clear out buffers stored in \`task\_local\_storage\`](https://discourse.julialang.org/t/how-to-clear-out-buffers-stored-in-task-local-storage/100079)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 2\
**Last updated:** [June 9, 2023, 12:15pm UTC](https://discourse.julialang.org/t/how-to-clear-out-buffers-stored-in-task-local-storage/100079 "2023-06-09T12:15:58Z")

</div>

Before, the buffer is inside my struct and those are reclaimed whenever objects are GC-ed. If I used task\_local\_storage, the buffer would accumulate infinitely on the main task, should I use finalize() to clear out the t…

---

## [\[ANN\] FiniteVolumeMethod.jl](https://discourse.julialang.org/t/ann-finitevolumemethod-jl/91395)

<div class="topic-metadata">

**Author:** [@DanielVandH](https://discourse.julialang.org/u/DanielVandH)\
**Replies:** 7\
**Last updated:** [June 3, 2023, 2:27pm UTC](https://discourse.julialang.org/t/ann-finitevolumemethod-jl/91395 "2023-06-03T14:27:16Z")

</div>

Hi all, I have just released my package FiniteVolumeMethod.jl for solving equations of the form \\partial\_tu + \\nabla \\cdot q(x, y, t, u) = R(x, y, t, u) for (x, y) \\in \\Omega \\subset \\mathbb R^2 using the finite volume…

---

## [Laguerre polynomials on GPU](https://discourse.julialang.org/t/laguerre-polynomials-on-gpu/99571)

<div class="topic-metadata">

**Author:** [@albertomercurio](https://discourse.julialang.org/u/albertomercurio)\
**Replies:** 27\
**Last updated:** [June 9, 2023, 11:35am UTC](https://discourse.julialang.org/t/laguerre-polynomials-on-gpu/99571 "2023-06-09T11:35:19Z")

</div>

Hello, I’m currently able to calculate the generalized Laguerre polynomials on the CPU using HypergeometricFunctions \_genlaguerre(n, α, x) = binomial(n+α,n) \* HypergeometricFunctions.M(-n, α+1, x) A = rand(1000, 1000)…

---

## [\[ANN\] MovingBoundaryProblems1D.jl](https://discourse.julialang.org/t/ann-movingboundaryproblems1d-jl/100094)

<div class="topic-metadata">

**Author:** [@DanielVandH](https://discourse.julialang.org/u/DanielVandH)\
**Replies:** 0\
**Last updated:** [June 9, 2023, 10:39am UTC](https://discourse.julialang.org/t/ann-movingboundaryproblems1d-jl/100094 "2023-06-09T10:39:48Z")

</div>

Hi all, I’ve just released my package MovingBoundaryProblems1D.jl, and it’s now registered. This is a package for solving one-dimensional (single phase) moving boundary problems of the form: \\begin{align\*} \\begin{arra…

---

## [Why is the solution length calculated using EnsembleProblem different?](https://discourse.julialang.org/t/why-is-the-solution-length-calculated-using-ensembleproblem-different/100089)

<div class="topic-metadata">

**Author:** [@chen\_yuan](https://discourse.julialang.org/u/chen_yuan)\
**Replies:** 1\
**Last updated:** [June 9, 2023, 10:31am UTC](https://discourse.julialang.org/t/why-is-the-solution-length-calculated-using-ensembleproblem-different/100089 "2023-06-09T10:31:26Z")

</div>

I use EnsembleProblem to calculate 100 trajectories of a sde,why the length of every trajectories are different? using DifferentialEquations # Simulate SDE function f\_fn(dx, x, p, t) ω₀, α, γ, β = p dx\[1\] = x…

---

## [Where can I find complete documents for sample function?](https://discourse.julialang.org/t/where-can-i-find-complete-documents-for-sample-function/100085)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 5\
**Last updated:** [June 9, 2023, 9:38am UTC](https://discourse.julialang.org/t/where-can-i-find-complete-documents-for-sample-function/100085 "2023-06-09T09:38:16Z")

</div>

One of thing that is troubling me since I started working in Julia is that many keywords for functions are hard to find in documents. Example : I will assume that sample (model, NUTS(), MCMCThreads(), 1000, 2; progres…

---

## [Resume chains Turing](https://discourse.julialang.org/t/resume-chains-turing/66282)

<div class="topic-metadata">

**Author:** [@marcobonici](https://discourse.julialang.org/u/marcobonici)\
**Replies:** 12\
**Last updated:** [June 9, 2023, 8:13am UTC](https://discourse.julialang.org/t/resume-chains-turing/66282 "2023-06-09T08:13:21Z")

</div>

Hi to everybody, I want to use Turing on the lsf cluster of my university. Following the official documentation and using the ClusterManager package I was able to run Turing on my cluster. using Turing using Distribute…

---

## [Minimizing PythonCall overhead with BenchmarkTools](https://discourse.julialang.org/t/minimizing-pythoncall-overhead-with-benchmarktools/100067)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 4\
**Last updated:** [June 9, 2023, 7:57am UTC](https://discourse.julialang.org/t/minimizing-pythoncall-overhead-with-benchmarktools/100067 "2023-06-09T07:57:32Z")

</div>

Hi there! I’m generating benchmarks with BenchmarkTools.jl, where a Python package is called with PythonCall.jl. My question is the following: how can I minimize the overhead of calling a method meth from a Python objec…

---

## [How to do feature scaling in Julia DataFrames?](https://discourse.julialang.org/t/how-to-do-feature-scaling-in-julia-dataframes/81348)

<div class="topic-metadata">

**Author:** [@DWSchulze](https://discourse.julialang.org/u/DWSchulze)\
**Replies:** 2\
**Last updated:** [June 9, 2023, 7:56am UTC](https://discourse.julialang.org/t/how-to-do-feature-scaling-in-julia-dataframes/81348 "2023-06-09T07:56:12Z")

</div>

How do I do feature scaling in Julia DataFrames? My current dataframe has one dimension that ranges from 6 to 39,000 and another that ranges from 0 to 15. I assumed that DataFrames would have the typical min-max scalin…

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

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