# Latest

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

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

**Page:** 283

---

## [Some unicodes in vscodium editor have blocks around them](https://discourse.julialang.org/t/some-unicodes-in-vscodium-editor-have-blocks-around-them/122317)

<div class="topic-metadata">

**Author:** [@tianyi\_zhang](https://discourse.julialang.org/u/tianyi_zhang)\
**Replies:** 2\
**Last updated:** [November 6, 2024, 8:03am UTC](https://discourse.julialang.org/t/some-unicodes-in-vscodium-editor-have-blocks-around-them/122317 "2024-11-06T08:03:31Z")

</div>

My code in vscodium editor looks like this: Does anybody know why α, γ have blocks around them? My julia extension is v1.124.2, VSCodium is 1.94.2

---

## [Error with versioninfo of CUDA.jl on nVidia Jetson](https://discourse.julialang.org/t/error-with-versioninfo-of-cuda-jl-on-nvidia-jetson/122287)

<div class="topic-metadata">

**Author:** [@CaG21](https://discourse.julialang.org/u/CaG21)\
**Replies:** 2\
**Last updated:** [November 6, 2024, 7:22am UTC](https://discourse.julialang.org/t/error-with-versioninfo-of-cuda-jl-on-nvidia-jetson/122287 "2024-11-06T07:22:54Z")

</div>

Hello everyone. I am having a problem using CUDA.jl on a Jetson Orin DevKit. Even though everything seems to work, I get an error when I call CUDA.versioninfo(). Specifically, I get CUDA runtime 12.6, local installati…

---

## [Calling a Python script with PyCall](https://discourse.julialang.org/t/calling-a-python-script-with-pycall/36018)

<div class="topic-metadata">

**Author:** [@Eben60](https://discourse.julialang.org/u/Eben60)\
**Replies:** 6\
**Last updated:** [November 6, 2024, 6:50am UTC](https://discourse.julialang.org/t/calling-a-python-script-with-pycall/36018 "2024-11-06T06:50:26Z")

</div>

I have some old Python set of scripts, and would like to call a function (just one function) from there into Julia. How can I do it? Win10, conda. using PyCall pushfirst!(PyVector(pyimport("sys")."path"), "") mys = pyi…

---

## [How to precompile CUDA kernel itself?](https://discourse.julialang.org/t/how-to-precompile-cuda-kernel-itself/121849)

<div class="topic-metadata">

**Author:** [@0samuraiE](https://discourse.julialang.org/u/0samuraiE)\
**Replies:** 8\
**Last updated:** [November 6, 2024, 3:20am UTC](https://discourse.julialang.org/t/how-to-precompile-cuda-kernel-itself/121849 "2024-11-06T03:20:04Z")

</div>

Hi all. I am having problems with the CUDA kernel booting slowly the first time. In my application it takes about 60 seconds to boot the first time in the worst case. So, we tried PrecompileTools, but did not find it v…

---

## [Power flow balance, active and reactive power, losses in Julia](https://discourse.julialang.org/t/power-flow-balance-active-and-reactive-power-losses-in-julia/122266)

<div class="topic-metadata">

**Author:** [@saeedata7](https://discourse.julialang.org/u/saeedata7)\
**Replies:** 5\
**Last updated:** [November 6, 2024, 3:06am UTC](https://discourse.julialang.org/t/power-flow-balance-active-and-reactive-power-losses-in-julia/122266 "2024-11-06T03:06:53Z")

</div>

power flow balance, active and reactive power , losses in julia for this uploaded picture, are these codes right for calculating active and reactive power, losses in Python? If yes, how to check the power flow balan…

---

## [Get process id from worker id](https://discourse.julialang.org/t/get-process-id-from-worker-id/122315)

<div class="topic-metadata">

**Author:** [@sparrowhawk](https://discourse.julialang.org/u/sparrowhawk)\
**Replies:** 0\
**Last updated:** [November 6, 2024, 2:51am UTC](https://discourse.julialang.org/t/get-process-id-from-worker-id/122315 "2024-11-06T02:51:54Z")

</div>

Is there an easy way to get, from the worker id, the process id? I could do # length(workers()) == 1039 \[remotecall\_fetch(getpid, w\_id) for w\_id in workers()\] but is there a way to do this on worker 1 without fetching…

---

## [GeoStats.jl workshop at FOSS4G 2024](https://discourse.julialang.org/t/geostats-jl-workshop-at-foss4g-2024/122311)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 0\
**Last updated:** [November 6, 2024, 12:36am UTC](https://discourse.julialang.org/t/geostats-jl-workshop-at-foss4g-2024/122311 "2024-11-06T00:36:20Z")

</div>

Upcoming workshop at FOSS4G in Brazil this year:

---

## [Package server down or is it me?](https://discourse.julialang.org/t/package-server-down-or-is-it-me/122309)

<div class="topic-metadata">

**Author:** [@arinbasu](https://discourse.julialang.org/u/arinbasu)\
**Replies:** 2\
**Last updated:** [November 5, 2024, 11:35pm UTC](https://discourse.julialang.org/t/package-server-down-or-is-it-me/122309 "2024-11-05T23:35:20Z")

</div>

I accessed https://au.pkg.julialang.org/ and it seemed to be down. Is it me or is it down for everyone, as I could not update or install packages today, it returned an error that package registry is unreachable (timed …

---

## [Sorting a DataFrame based on a multi-column function](https://discourse.julialang.org/t/sorting-a-dataframe-based-on-a-multi-column-function/122301)

<div class="topic-metadata">

**Author:** [@alancummings](https://discourse.julialang.org/u/alancummings)\
**Replies:** 3\
**Last updated:** [November 5, 2024, 8:49pm UTC](https://discourse.julialang.org/t/sorting-a-dataframe-based-on-a-multi-column-function/122301 "2024-11-05T20:49:58Z")

</div>

Is there an easier way to do this? sort(transform(df, \[:b, :c\] =\> ByRow(max) =\> :\_\_max\_\_), :\_\_max\_\_, rev=true)\[:, names(df)\] I want to sort based on a function of more than one column (in this case the max of the selec…

---

## [Issue with JuMP's Parameter making the problem recognized as nonlinear](https://discourse.julialang.org/t/issue-with-jumps-parameter-making-the-problem-recognized-as-nonlinear/122162)

<div class="topic-metadata">

**Author:** [@Yuricst](https://discourse.julialang.org/u/Yuricst)\
**Replies:** 4\
**Last updated:** [November 5, 2024, 10:01pm UTC](https://discourse.julialang.org/t/issue-with-jumps-parameter-making-the-problem-recognized-as-nonlinear/122162 "2024-11-05T22:01:27Z")

</div>

Hello! I am working on an algorithm where I would like to solve convex programs (CP) repeatedly; in the algorithm, the CP’s structure remains the same (same variables, same number of constraints, etc.), but coefficients…

---

## [Interactive video player in Makie](https://discourse.julialang.org/t/interactive-video-player-in-makie/97105)

<div class="topic-metadata">

**Author:** [@pzabka](https://discourse.julialang.org/u/pzabka)\
**Replies:** 2\
**Last updated:** [November 5, 2024, 10:01pm UTC](https://discourse.julialang.org/t/interactive-video-player-in-makie/97105 "2024-11-05T22:01:09Z")

</div>

For anyone interested, here is my attempt on a simple interactive video player in Makie: using GLMakie using VideoIO """ videoplayer(fig, vid; totalframes) Create videoplayer providing totalframes makes it start f…

---

## [Using Excel as a GUI for data entry](https://discourse.julialang.org/t/using-excel-as-a-gui-for-data-entry/122290)

<div class="topic-metadata">

**Author:** [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Replies:** 4\
**Last updated:** [November 5, 2024, 9:07pm UTC](https://discourse.julialang.org/t/using-excel-as-a-gui-for-data-entry/122290 "2024-11-05T21:07:48Z")

</div>

Can anyone tell me if the following is a ridiculous idea or not. For interactive manual data entry, Excel (or one of its free spreadsheet equivalents) seems like a very versatile kind of “GUI”. The following toy code w…

---

## [How to Return a File as a Downloadable Attachment in Oxygen.jl Endpoint](https://discourse.julialang.org/t/how-to-return-a-file-as-a-downloadable-attachment-in-oxygen-jl-endpoint/122131)

<div class="topic-metadata">

**Author:** [@ehsani63](https://discourse.julialang.org/u/ehsani63)\
**Replies:** 5\
**Last updated:** [November 5, 2024, 9:06pm UTC](https://discourse.julialang.org/t/how-to-return-a-file-as-a-downloadable-attachment-in-oxygen-jl-endpoint/122131 "2024-11-05T21:06:03Z")

</div>

I’m using Oxygen.jl to implement an endpoint that retrieves data, processes it, and creates a DataFrame. I’d like the /dataframe POST method to return a downloadable file named test.csv containing the DataFrame. I tried …

---

## [Error running master equation in QuantumOptics.jl](https://discourse.julialang.org/t/error-running-master-equation-in-quantumoptics-jl/122300)

<div class="topic-metadata">

**Author:** [@DominicDams](https://discourse.julialang.org/u/DominicDams)\
**Replies:** 3\
**Last updated:** [November 5, 2024, 9:00pm UTC](https://discourse.julialang.org/t/error-running-master-equation-in-quantumoptics-jl/122300 "2024-11-05T21:00:28Z")

</div>

When running the following code: using QuantumOptics using Plots b = SpinBasis(1//2) γ = 1 Ω₀ = .2 δ = .2 σ₋ = sigmam(b)#DenseOperator(b,\[ 0 1; 0 0\]) σ₊ =sigmap(b)# DenseOperator(b, \[ 0 0; 1 0\]) σz = sigmaz(b)#DenseOper…

---

## [IJulia not recognizing the \`\]\` repl package command](https://discourse.julialang.org/t/ijulia-not-recognizing-the-repl-package-command/122302)

<div class="topic-metadata">

**Author:** [@erny123](https://discourse.julialang.org/u/erny123)\
**Replies:** 2\
**Last updated:** [November 5, 2024, 8:46pm UTC](https://discourse.julialang.org/t/ijulia-not-recognizing-the-repl-package-command/122302 "2024-11-05T20:46:47Z")

</div>

Using Julia 1.11.1 and just loaded, built, and created a kernel with: installkernel("Julia (24 threads)", "--depwarn=no",env=Dict("JULIA\_NUM\_THREADS"=\>"24")) Haven’t had this issue before but when entering: \] activate . …

---

## [Mysterious BinaryProvider error when installing FIGlet](https://discourse.julialang.org/t/mysterious-binaryprovider-error-when-installing-figlet/122279)

<div class="topic-metadata">

**Author:** [@hellemo](https://discourse.julialang.org/u/hellemo)\
**Replies:** 6\
**Last updated:** [November 5, 2024, 7:28pm UTC](https://discourse.julialang.org/t/mysterious-binaryprovider-error-when-installing-figlet/122279 "2024-11-05T19:28:29Z")

</div>

I get this mysterious error when trying to install FIGlet in v1.11 (works fine in v1.10), complaining about the version of BinaryProvider, however trying to look into it, everything works fine when dev-ing the package. A…

---

## [JMcDM: A Julia package for multiple-criteria decision making tools](https://discourse.julialang.org/t/jmcdm-a-julia-package-for-multiple-criteria-decision-making-tools/54942)

<div class="topic-metadata">

**Author:** [@jbytecode](https://discourse.julialang.org/u/jbytecode)\
**Replies:** 3\
**Last updated:** [November 5, 2024, 7:06pm UTC](https://discourse.julialang.org/t/jmcdm-a-julia-package-for-multiple-criteria-decision-making-tools/54942 "2024-11-05T19:06:40Z")

</div>

Hey guys, I am happy to announce that I have just prepared the skeleton of the Julia package JMcDM which basically implements Topsis, Electre, Dematel, Moora, Vikor, and AHP (Analytical hierarchy process) as multiple cr…

---

## [Are there any plans to improve the composability of @batch and/or reduce overhead of @threads?](https://discourse.julialang.org/t/are-there-any-plans-to-improve-the-composability-of-batch-and-or-reduce-overhead-of-threads/122213)

<div class="topic-metadata">

**Author:** [@Tetrakai](https://discourse.julialang.org/u/Tetrakai)\
**Replies:** 2\
**Last updated:** [November 5, 2024, 6:09pm UTC](https://discourse.julialang.org/t/are-there-any-plans-to-improve-the-composability-of-batch-and-or-reduce-overhead-of-threads/122213 "2024-11-05T18:09:06Z")

</div>

Does it only require a lot of work? Would it require julia 2.0? Etc. This would definitely be useful info when planning projects. Related to what I learned here:

---

## [DataFrames and sorting - is the default sort a stable sort?](https://discourse.julialang.org/t/dataframes-and-sorting-is-the-default-sort-a-stable-sort/122297)

<div class="topic-metadata">

**Author:** [@world-peace](https://discourse.julialang.org/u/world-peace)\
**Replies:** 2\
**Last updated:** [November 5, 2024, 5:54pm UTC](https://discourse.julialang.org/t/dataframes-and-sorting-is-the-default-sort-a-stable-sort/122297 "2024-11-05T17:54:07Z")

</div>

Here’s a link to the documentation page on DataFrames and sorting. Sorting · DataFrames.jl Some details are provided here, but unfortunately the information as to whether the default sorting algorithm is a stable sort…

---

## [How to overload the ==?](https://discourse.julialang.org/t/how-to-overload-the/6296)

<div class="topic-metadata">

**Author:** [@jwu](https://discourse.julialang.org/u/jwu)\
**Replies:** 10\
**Last updated:** [November 5, 2024, 4:17pm UTC](https://discourse.julialang.org/t/how-to-overload-the/6296 "2024-11-05T16:17:29Z")

</div>

I defined the Base.isequal function, but it do not work. \_ \_ \_ \_(\_)\_ | A fresh approach to technical computing (\_) | (\_) (\_) | Documentation: https://docs.julial…

---

## [Inviting talks for Julia track at PyData Global, virtual only, Dec 3rd to 5th](https://discourse.julialang.org/t/inviting-talks-for-julia-track-at-pydata-global-virtual-only-dec-3rd-to-5th/122296)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 0\
**Last updated:** [November 5, 2024, 4:04pm UTC](https://discourse.julialang.org/t/inviting-talks-for-julia-track-at-pydata-global-virtual-only-dec-3rd-to-5th/122296 "2024-11-05T16:04:37Z")

</div>

I am recruiting additional Julia talks for a Julia track at PyData Global 2024 which is a virtual conference from December 3rd to December 5th, 2024: I currently have talks from already have submissions from Daniel Mol…

---

## [Can we compile a list of useful Julia debugging macros and functions?](https://discourse.julialang.org/t/can-we-compile-a-list-of-useful-julia-debugging-macros-and-functions/122288)

<div class="topic-metadata">

**Author:** [@world-peace](https://discourse.julialang.org/u/world-peace)\
**Replies:** 4\
**Last updated:** [November 5, 2024, 3:47pm UTC](https://discourse.julialang.org/t/can-we-compile-a-list-of-useful-julia-debugging-macros-and-functions/122288 "2024-11-05T15:47:37Z")

</div>

While learning Julia, I have noticed there are a few useful macros and functions which can be used to inspect functions, decipher which functions or methods are being called, query methods for types, among other similar …

---

## [Bonito method to get URL within App](https://discourse.julialang.org/t/bonito-method-to-get-url-within-app/122289)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 4\
**Last updated:** [November 5, 2024, 3:28pm UTC](https://discourse.julialang.org/t/bonito-method-to-get-url-within-app/122289 "2024-11-05T15:28:49Z")

</div>

currently i’m piecing the URL together from the Session argument as follows, but it’d be nice if there were an exported public way to do this. or did i miss it? App() do session::Session server = session.connect…

---

## [Why is Diagonal Sign Convention in QR Factorization Not Enforced?](https://discourse.julialang.org/t/why-is-diagonal-sign-convention-in-qr-factorization-not-enforced/122283)

<div class="topic-metadata">

**Author:** [@mlouis9](https://discourse.julialang.org/u/mlouis9)\
**Replies:** 1\
**Last updated:** [November 5, 2024, 1:05pm UTC](https://discourse.julialang.org/t/why-is-diagonal-sign-convention-in-qr-factorization-not-enforced/122283 "2024-11-05T13:05:59Z")

</div>

When performing the QR factorization of a m x n matrix A with full column rank (i.e. rank(A)=n), the (reduced or “skinny”) QR factorization is unique only if we enforce the sign of the diagonal entries of R. The conventi…

---

## [Grouping geommetries by colums](https://discourse.julialang.org/t/grouping-geommetries-by-colums/122241)

<div class="topic-metadata">

**Author:** [@Daves\_Cordova](https://discourse.julialang.org/u/Daves_Cordova)\
**Replies:** 2\
**Last updated:** [November 5, 2024, 2:33pm UTC](https://discourse.julialang.org/t/grouping-geommetries-by-colums/122241 "2024-11-05T14:33:28Z")

</div>

I need to combine geometries for a shapefile. Initially, there is shapefile\_path\_cities that will form the layer behind, after theres is shapefile\_path\_highways: using GeoDataFrames using DataFrames using XLSX using Plo…

---

## [Scope and structure for unit test files](https://discourse.julialang.org/t/scope-and-structure-for-unit-test-files/122278)

<div class="topic-metadata">

**Author:** [@world-peace](https://discourse.julialang.org/u/world-peace)\
**Replies:** 4\
**Last updated:** [November 5, 2024, 2:17pm UTC](https://discourse.julialang.org/t/scope-and-structure-for-unit-test-files/122278 "2024-11-05T14:17:19Z")

</div>

I have a query about how to structure the contents of a unit test file. In many cases, ideally, for each test we will have an independent scope. This is to prevent information leakage between different test cases. The …

---

## [Faster conversion from boolean \`SparseMatrixCSC\` to \`BitMatrix\`](https://discourse.julialang.org/t/faster-conversion-from-boolean-sparsematrixcsc-to-bitmatrix/122016)

<div class="topic-metadata">

**Author:** [@JaredSchwartz](https://discourse.julialang.org/u/JaredSchwartz)\
**Replies:** 11\
**Last updated:** [November 5, 2024, 11:33am UTC](https://discourse.julialang.org/t/faster-conversion-from-boolean-sparsematrixcsc-to-bitmatrix/122016 "2024-11-05T11:33:04Z")

</div>

I’m running into a bottleneck in the conversion of boolean SparseMatrixCSC objects into BitMatrix objects. I’m using a view of the matrix to select the columns that need to be converted into a BitMatrix, so all rows will…

---

## [Find the smallest number in a file](https://discourse.julialang.org/t/find-the-smallest-number-in-a-file/122219)

<div class="topic-metadata">

**Author:** [@hack3rcon](https://discourse.julialang.org/u/hack3rcon)\
**Replies:** 13\
**Last updated:** [November 5, 2024, 12:27pm UTC](https://discourse.julialang.org/t/find-the-smallest-number-in-a-file/122219 "2024-11-05T12:27:17Z")

</div>

Hello, I have a file like below: 1 -1 2 -2 3 4 -4 I want to find the smallest number in this file and I wrote the following program: function smaller() small = 0 for line in eachline("file.txt") if (s…

---

## [Positions open in Julia-using molecular dynamics lab in Cambridge, UK](https://discourse.julialang.org/t/positions-open-in-julia-using-molecular-dynamics-lab-in-cambridge-uk/122281)

<div class="topic-metadata">

**Author:** [@jgreener64](https://discourse.julialang.org/u/jgreener64)\
**Replies:** 0\
**Last updated:** [November 5, 2024, 11:23am UTC](https://discourse.julialang.org/t/positions-open-in-julia-using-molecular-dynamics-lab-in-cambridge-uk/122281 "2024-11-05T11:23:49Z")

</div>

There are two adverts open at the minute to join my research group at the MRC Laboratory of Molecular Biology in Cambridge, UK: PhD student A PhD position on fast MLIPs for biomolecules. Full funding available. Appl…

---

## [Best GUI package for beginners](https://discourse.julialang.org/t/best-gui-package-for-beginners/122230)

<div class="topic-metadata">

**Author:** [@deno1234](https://discourse.julialang.org/u/deno1234)\
**Replies:** 5\
**Last updated:** [November 5, 2024, 9:34am UTC](https://discourse.julialang.org/t/best-gui-package-for-beginners/122230 "2024-11-05T09:34:22Z")

</div>

Hey, I am trying to create a GUI which should be very basic in nature. I just want to have some input field for the parameters and a plot button, and when I click the plot button it should plot it on the GUI. I have bee…

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

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