# Latest

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

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

**Page:** 729

---

## [Calling a Julia script from the Linux terminal (with inputs)](https://discourse.julialang.org/t/calling-a-julia-script-from-the-linux-terminal-with-inputs/97380)

<div class="topic-metadata">

**Author:** [@marianoarnaiz](https://discourse.julialang.org/u/marianoarnaiz)\
**Replies:** 8\
**Last updated:** [April 12, 2023, 4:30pm UTC](https://discourse.julialang.org/t/calling-a-julia-script-from-the-linux-terminal-with-inputs/97380 "2023-04-12T16:30:40Z")

</div>

Hi all. I have a script that I need to run as a part of a shell script. Inside julia I can just put the name of the file, but in my workflow I need to parse this file name to the julia script (from a shelle script) and …

---

## [Getting Turing to work with a hierarchical multinomial regression model](https://discourse.julialang.org/t/getting-turing-to-work-with-a-hierarchical-multinomial-regression-model/97386)

<div class="topic-metadata">

**Author:** [@Matan](https://discourse.julialang.org/u/Matan)\
**Replies:** 2\
**Last updated:** [April 12, 2023, 4:09pm UTC](https://discourse.julialang.org/t/getting-turing-to-work-with-a-hierarchical-multinomial-regression-model/97386 "2023-04-12T16:09:48Z")

</div>

Hi everyone, I’m sorry if this question is too specific. I tried following advice in previous similar threads but couldn’t get anything to work, so figured I should try asking myself. For context, I’m modeling 5000 Han…

---

## [Issue for Implementing the Runge Kutta CQ method](https://discourse.julialang.org/t/issue-for-implementing-the-runge-kutta-cq-method/97397)

<div class="topic-metadata">

**Author:** [@khaledharizb](https://discourse.julialang.org/u/khaledharizb)\
**Replies:** 0\
**Last updated:** [April 12, 2023, 3:27pm UTC](https://discourse.julialang.org/t/issue-for-implementing-the-runge-kutta-cq-method/97397 "2023-04-12T15:27:39Z")

</div>

I would like to solve convolution equation numerically by the so-called convolution quadrature (CQ) (see the picture) based on Runge-Kutta CQ method. However, I didn’t arrive to get the expected solution as in the attac…

---

## [Unsatisfiable requirements (at installing specified package)](https://discourse.julialang.org/t/unsatisfiable-requirements-at-installing-specified-package/97052)

<div class="topic-metadata">

**Author:** [@Marcell\_Havlik](https://discourse.julialang.org/u/Marcell_Havlik)\
**Replies:** 11\
**Last updated:** [April 12, 2023, 3:02pm UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-at-installing-specified-package/97052 "2023-04-12T15:02:52Z")

</div>

Hi guys, For me this is pretty nonsense and just cannot understand what is going on. I want to use the HTTP@1.7.4 version as I got downgraded somehow to a very low package that doesn1t support literally anything. What c…

---

## [Makie theming axis on specific plot recipes](https://discourse.julialang.org/t/makie-theming-axis-on-specific-plot-recipes/97395)

<div class="topic-metadata">

**Author:** [@kunzaatko](https://discourse.julialang.org/u/kunzaatko)\
**Replies:** 0\
**Last updated:** [April 12, 2023, 2:38pm UTC](https://discourse.julialang.org/t/makie-theming-axis-on-specific-plot-recipes/97395 "2023-04-12T14:38:20Z")

</div>

Is there a way to theme the Axis in makie for specific recipes differently. My specific use-case is that I would like to reverse the y axis and make the aspect use DataAspect but only for image plots. The ideal way that …

---

## [Create array of hexagons, place in index, and search by point](https://discourse.julialang.org/t/create-array-of-hexagons-place-in-index-and-search-by-point/97325)

<div class="topic-metadata">

**Author:** [@thk686](https://discourse.julialang.org/u/thk686)\
**Replies:** 11\
**Last updated:** [April 12, 2023, 2:31pm UTC](https://discourse.julialang.org/t/create-array-of-hexagons-place-in-index-and-search-by-point/97325 "2023-04-12T14:31:11Z")

</div>

I’ve been looking at JuliaGeo to how I might do the following: 1) create a tiled array of hexagons, 2) put them in a spatial index, and 3) be able to find which hexagon intersects a point. I have written this code in Boo…

---

## [Idea: "MapOfJulia.jl" Discover and visualize the Julia ecosystem as a graph](https://discourse.julialang.org/t/idea-mapofjulia-jl-discover-and-visualize-the-julia-ecosystem-as-a-graph/97393)

<div class="topic-metadata">

**Author:** [@Salmon](https://discourse.julialang.org/u/Salmon)\
**Replies:** 3\
**Last updated:** [April 12, 2023, 2:22pm UTC](https://discourse.julialang.org/t/idea-mapofjulia-jl-discover-and-visualize-the-julia-ecosystem-as-a-graph/97393 "2023-04-12T14:22:24Z")

</div>

Hi everyone, I wanted to discuss an idea which has been in my head for a while now and would be interested in hearing if this has been attempted before. The idea is nothing too original at this point: Perhaps, you have…

---

## [VSCode Debugger Compiled Mode Button Clarification](https://discourse.julialang.org/t/vscode-debugger-compiled-mode-button-clarification/97375)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 2\
**Last updated:** [April 12, 2023, 1:37pm UTC](https://discourse.julialang.org/t/vscode-debugger-compiled-mode-button-clarification/97375 "2023-04-12T13:37:23Z")

</div>

I noticed there is a red button that only appears when you hover over the “Julia: Compiled Code” (see image below). The tooltip says it runs Julia in compiled mode. So once you’ve clicked it, it runs all the code (includ…

---

## [How to reset current repl settings to default?](https://discourse.julialang.org/t/how-to-reset-current-repl-settings-to-default/97392)

<div class="topic-metadata">

**Author:** [@andrey2185](https://discourse.julialang.org/u/andrey2185)\
**Replies:** 1\
**Last updated:** [April 12, 2023, 1:01pm UTC](https://discourse.julialang.org/t/how-to-reset-current-repl-settings-to-default/97392 "2023-04-12T13:01:37Z")

</div>

julia\> Base.active\_repl.interface.modes\[1\].prompt = "my\_prompt\> " my\_prompt\> # Is there a universal way to fallback to default prompt? my\_prompt\> # without Base.active\_repl.interface.modes\[1\].prompt = "julia\> " my\_prompt\>…

---

## [MTK & missing parameters, MWE](https://discourse.julialang.org/t/mtk-missing-parameters-mwe/96945)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 3\
**Last updated:** [April 12, 2023, 11:22am UTC](https://discourse.julialang.org/t/mtk-missing-parameters-mwe/96945 "2023-04-12T11:22:39Z")

</div>

OK – I’m trying again – with a MWE. Consider this an observation (I’m not saying this should be changed in MTK). This post is more meant as a request for advice on best practice. Consider the DAE \\frac{dx}{dt} = -b\\cd…

---

## [Parquet2: Reading parquet files with varying sensor names](https://discourse.julialang.org/t/parquet2-reading-parquet-files-with-varying-sensor-names/97390)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 0\
**Last updated:** [April 12, 2023, 11:17am UTC](https://discourse.julialang.org/t/parquet2-reading-parquet-files-with-varying-sensor-names/97390 "2023-04-12T11:17:00Z")

</div>

Hello! It is a tad difficult for me to make a MWE for this, so I will see if my explanation with words can do it. I noticed that if I have a folder consisting of multiple parquet files, but with different data, for exa…

---

## [Error with \`antijoin\` when encountering \`-0.0\` value?](https://discourse.julialang.org/t/error-with-antijoin-when-encountering-0-0-value/97329)

<div class="topic-metadata">

**Author:** [@phantom](https://discourse.julialang.org/u/phantom)\
**Replies:** 9\
**Last updated:** [April 12, 2023, 11:05am UTC](https://discourse.julialang.org/t/error-with-antijoin-when-encountering-0-0-value/97329 "2023-04-12T11:05:13Z")

</div>

Hi! suppose I have a DataFrame where some of the entries have been rounded to -0.0. df1 = DataFrame(x = \[ 1, 0, -0.0\]) 3×1 DataFrame Row │ x │ Float64 ─────┼───────── 1 │ 1.0 2 │ 0.0 3 │ …

---

## [Juliahub packages feature request: detect and mark deprecated or archived packages](https://discourse.julialang.org/t/juliahub-packages-feature-request-detect-and-mark-deprecated-or-archived-packages/97370)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 2\
**Last updated:** [April 12, 2023, 7:01am UTC](https://discourse.julialang.org/t/juliahub-packages-feature-request-detect-and-mark-deprecated-or-archived-packages/97370 "2023-04-12T07:01:52Z")

</div>

Perhaps there should be a feature to mark your package as deprecated on Juliahub? Once a package’s source code repository get’s archived, I think it would make sense for this fact to be prominently displayed on Juli…

---

## [Turn off interactivity/responsiveness in plotly/plotlyjs backend](https://discourse.julialang.org/t/turn-off-interactivity-responsiveness-in-plotly-plotlyjs-backend/97225)

<div class="topic-metadata">

**Author:** [@iabraham](https://discourse.julialang.org/u/iabraham)\
**Replies:** 2\
**Last updated:** [April 12, 2023, 8:18am UTC](https://discourse.julialang.org/t/turn-off-interactivity-responsiveness-in-plotly-plotlyjs-backend/97225 "2023-04-12T08:18:12Z")

</div>

What is the keyword to turn off the interactivity or responsiveness in the plotly backend for the Plots backend in Julia? For reference, I am using Pluto and while the interactivity is great, I am doing some very dense …

---

## [Questions about using CUDA.jl for GPU concurrent programming: Computational results cannot be obtained when overlapping GPU and CPU operations](https://discourse.julialang.org/t/questions-about-using-cuda-jl-for-gpu-concurrent-programming-computational-results-cannot-be-obtained-when-overlapping-gpu-and-cpu-operations/97297)

<div class="topic-metadata">

**Author:** [@fred\_wu](https://discourse.julialang.org/u/fred_wu)\
**Replies:** 2\
**Last updated:** [April 12, 2023, 7:21am UTC](https://discourse.julialang.org/t/questions-about-using-cuda-jl-for-gpu-concurrent-programming-computational-results-cannot-be-obtained-when-overlapping-gpu-and-cpu-operations/97297 "2023-04-12T07:21:45Z")

</div>

Hi， I’m new to julia parallel programming.I want to make the idle CPU work together when the GPU is doing calculations, so I wrote the following code. However, what confuses me is that I can’t get the calculation result…

---

## [Extension for Galois Field of order 2](https://discourse.julialang.org/t/extension-for-galois-field-of-order-2/97334)

<div class="topic-metadata">

**Author:** [@SSF](https://discourse.julialang.org/u/SSF)\
**Replies:** 7\
**Last updated:** [April 12, 2023, 7:12am UTC](https://discourse.julialang.org/t/extension-for-galois-field-of-order-2/97334 "2023-04-12T07:12:09Z")

</div>

Hello, New to Julia and to Galois Field, I would like to calculate in GF(2^8). Using Nemo, here is what I start with: julia\> using Nemo Welcome to Nemo version 0.33.7 Nemo comes with absolutely no warranty whatsoever…

---

## [What is difference between Julia and Python in nutshell?](https://discourse.julialang.org/t/what-is-difference-between-julia-and-python-in-nutshell/97376)

<div class="topic-metadata">

**Author:** [@kkm](https://discourse.julialang.org/u/kkm)\
**Replies:** 3\
**Last updated:** [April 12, 2023, 6:59am UTC](https://discourse.julialang.org/t/what-is-difference-between-julia-and-python-in-nutshell/97376 "2023-04-12T06:59:40Z")

</div>

Is really Julia better than PyThon? and what is best why to learn Julia through windows system?

---

## [Write and read json file](https://discourse.julialang.org/t/write-and-read-json-file/97379)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 1\
**Last updated:** [April 12, 2023, 6:56am UTC](https://discourse.julialang.org/t/write-and-read-json-file/97379 "2023-04-12T06:56:32Z")

</div>

I tried to save and read the following json file, but there is some problem for the presence of nothing. using YFinance, JSON3 aapl\_json=get\_quoteSummary("AAPL") aapl\_json\_string=string(aapl\_json) open("aapl.json", "w"…

---

## [PythonCall array indexing](https://discourse.julialang.org/t/pythoncall-array-indexing/97099)

<div class="topic-metadata">

**Author:** [@polhager](https://discourse.julialang.org/u/polhager)\
**Replies:** 3\
**Last updated:** [April 12, 2023, 6:45am UTC](https://discourse.julialang.org/t/pythoncall-array-indexing/97099 "2023-04-12T06:45:00Z")

</div>

Hello! In trying to use PythonCall in place of PyCall I find a strange behaviour when indexing a matrix in Python using only one index. As an example, I have the python file pythoncall\_test.py: def test(q): return q…

---

## [TensorKit efficiency](https://discourse.julialang.org/t/tensorkit-efficiency/59559)

<div class="topic-metadata">

**Author:** [@Nellatur](https://discourse.julialang.org/u/Nellatur)\
**Replies:** 11\
**Last updated:** [April 12, 2023, 5:40am UTC](https://discourse.julialang.org/t/tensorkit-efficiency/59559 "2023-04-12T05:40:20Z")

</div>

I tried to run a contraction A\[a,b\]\*B\[b,c,d\] = C\[a,c,d\], assume repeated index b as summation using TensorKit. By the following code, it seems TensorKit is even slower than nested loops. Does TensorKit use BLAS? or is…

---

## [Map over vector with union eltype makes type-inference worse](https://discourse.julialang.org/t/map-over-vector-with-union-eltype-makes-type-inference-worse/97332)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 2\
**Last updated:** [April 12, 2023, 2:15am UTC](https://discourse.julialang.org/t/map-over-vector-with-union-eltype-makes-type-inference-worse/97332 "2023-04-12T02:15:16Z")

</div>

julia\> struct A end julia\> struct B end julia\> struct C{AA,BB} a :: AA b :: BB end julia\> v = Union{C{A,B}, C{B,B}}\[C(A(), B()), C(B(),B())\] 2-element Vector{Union{C{A, B}, C{B, B}}}: C{A, B}(A…

---

## [What is the most efficiency way to read the 3D matrix?](https://discourse.julialang.org/t/what-is-the-most-efficiency-way-to-read-the-3d-matrix/97184)

<div class="topic-metadata">

**Author:** [@manu\_han](https://discourse.julialang.org/u/manu_han)\
**Replies:** 5\
**Last updated:** [April 12, 2023, 2:01am UTC](https://discourse.julialang.org/t/what-is-the-most-efficiency-way-to-read-the-3d-matrix/97184 "2023-04-12T02:01:40Z")

</div>

Here is 3 D array. TD=rand(150,27,55) I have saved ‘TD’ in a various way as follow. DataFrame(λ\_SPS=collect(eachslice(λ\_SPS,dims=3))) CSV.write(“TD.csv”, TD) DataFrame(λ\_SPS=collect(eachslice(λ\_SPS,dims=1))) CSV.wr…

---

## [Question: Improve the speed of for loop](https://discourse.julialang.org/t/question-improve-the-speed-of-for-loop/97204)

<div class="topic-metadata">

**Author:** [@manu\_han](https://discourse.julialang.org/u/manu_han)\
**Replies:** 20\
**Last updated:** [April 12, 2023, 1:49am UTC](https://discourse.julialang.org/t/question-improve-the-speed-of-for-loop/97204 "2023-04-12T01:49:08Z")

</div>

I have written massive ‘for loop’ code as follows: Meta\_start=390; Meta\_end=400; Meta\_div=trunc(Int,((Meta\_end-Meta\_start)\*100)); #temporary Meta\_cal=LinRange(Meta\_start,Meta\_end,Meta\_div); k=1:1:Meta\_div #::Vec…

---

## [PyCall.jl with SparseArrays](https://discourse.julialang.org/t/pycall-jl-with-sparsearrays/97316)

<div class="topic-metadata">

**Author:** [@Chong\_Wang](https://discourse.julialang.org/u/Chong_Wang)\
**Replies:** 6\
**Last updated:** [April 11, 2023, 11:21pm UTC](https://discourse.julialang.org/t/pycall-jl-with-sparsearrays/97316 "2023-04-11T23:21:22Z")

</div>

I am trying to diagonalize a huge sparse Hermitian matrix (original thread here: Suggestions needed: diagonalizing large Hermitian sparse matrix) and am exploring the possibility of utilizing the PRIMME package. Since th…

---

## [Combine mp4 videos](https://discourse.julialang.org/t/combine-mp4-videos/97368)

<div class="topic-metadata">

**Author:** [@chadagreene](https://discourse.julialang.org/u/chadagreene)\
**Replies:** 1\
**Last updated:** [April 11, 2023, 10:36pm UTC](https://discourse.julialang.org/t/combine-mp4-videos/97368 "2023-04-11T22:36:06Z")

</div>

I have about 500 animations in mp4 format, each about 600 frames and 40 seconds long. The files are named something like: video\_001.mp4 video\_002.mp4 ⋮ video\_500.mp4 All of the videos have the same dimensions and frame…

---

## [Sharing a package global dictionary with other packages](https://discourse.julialang.org/t/sharing-a-package-global-dictionary-with-other-packages/97326)

<div class="topic-metadata">

**Author:** [@ablaom](https://discourse.julialang.org/u/ablaom)\
**Replies:** 3\
**Last updated:** [April 11, 2023, 9:08pm UTC](https://discourse.julialang.org/t/sharing-a-package-global-dictionary-with-other-packages/97326 "2023-04-11T21:08:07Z")

</div>

I want to define a dictionary in one package that other client packages can access and update. For a proof of concept, let’s define a “base” module Foo and a client module Bar: # module \`Foo\` defines a global dictionary…

---

## [How to translate a directory named "A" with src files in it to a package named "B.jl" using PkgTemplates without loosing the git commit history?](https://discourse.julialang.org/t/how-to-translate-a-directory-named-a-with-src-files-in-it-to-a-package-named-b-jl-using-pkgtemplates-without-loosing-the-git-commit-history/97319)

<div class="topic-metadata">

**Author:** [@martinmestre](https://discourse.julialang.org/u/martinmestre)\
**Replies:** 15\
**Last updated:** [April 11, 2023, 8:38pm UTC](https://discourse.julialang.org/t/how-to-translate-a-directory-named-a-with-src-files-in-it-to-a-package-named-b-jl-using-pkgtemplates-without-loosing-the-git-commit-history/97319 "2023-04-11T20:38:22Z")

</div>

The situation is that I have recently decided to use PkgTemplates and would like to adapt some directories where I have been coding (neither of them is yet a package but they will be). Maybe this is a basic git question…

---

## [Type inference for map and broadcast differs on empty vectors](https://discourse.julialang.org/t/type-inference-for-map-and-broadcast-differs-on-empty-vectors/97321)

<div class="topic-metadata">

**Author:** [@matthias314](https://discourse.julialang.org/u/matthias314)\
**Replies:** 3\
**Last updated:** [April 11, 2023, 8:02pm UTC](https://discourse.julialang.org/t/type-inference-for-map-and-broadcast-differs-on-empty-vectors/97321 "2023-04-11T20:02:28Z")

</div>

Both map and broadcast can infer the element type if a function is applied to an empty vector, at least in many circumstances: julia\> f(x) = 3\*x julia\> map(f, Int\[\]) Int64\[\] julia\> f.(Int\[\]) Int64\[\] However, if used wi…

---

## [Memory allocation with Julia 1.8.5 release](https://discourse.julialang.org/t/memory-allocation-with-julia-1-8-5-release/97362)

<div class="topic-metadata">

**Author:** [@Mikel\_Antonana](https://discourse.julialang.org/u/Mikel_Antonana)\
**Replies:** 0\
**Last updated:** [April 11, 2023, 7:22pm UTC](https://discourse.julialang.org/t/memory-allocation-with-julia-1-8-5-release/97362 "2023-04-11T19:22:17Z")

</div>

In a new implementation of an ODE solver, we have a problem with memory allocations with Julia version 1.8.5: 1- With version 1.6.6, the memory allocations are correct, that is, they are constant and independent of the …

---

## [Is it possible to keep some weights fixed during training](https://discourse.julialang.org/t/is-it-possible-to-keep-some-weights-fixed-during-training/91752)

<div class="topic-metadata">

**Author:** [@quantiota](https://discourse.julialang.org/u/quantiota)\
**Replies:** 4\
**Last updated:** [April 11, 2023, 5:53pm UTC](https://discourse.julialang.org/t/is-it-possible-to-keep-some-weights-fixed-during-training/91752 "2023-04-11T17:53:56Z")

</div>

the weights of the first layer are real parameters and i need to fix the values to zero for the rising arrows.

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

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