# Latest

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

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

**Page:** 1412

---

## [Reactive Programming with Multiprocessing](https://discourse.julialang.org/t/reactive-programming-with-multiprocessing/60048)

<div class="topic-metadata">

**Author:** [@Jack](https://discourse.julialang.org/u/Jack)\
**Replies:** 0\
**Last updated:** [April 26, 2021, 6:14pm UTC](https://discourse.julialang.org/t/reactive-programming-with-multiprocessing/60048 "2021-04-26T18:14:14Z")

</div>

Greeting, I am trying to combine coding in a reactive framework like Rocket.jl with multiprocessing. The idea is to have different actors working in different cores. It’s natural to write in a reactive framework to lever…

---

## [How to overwrite a Base.macro?](https://discourse.julialang.org/t/how-to-overwrite-a-base-macro/60043)

<div class="topic-metadata">

**Author:** [@qsong](https://discourse.julialang.org/u/qsong)\
**Replies:** 2\
**Last updated:** [April 26, 2021, 5:59pm UTC](https://discourse.julialang.org/t/how-to-overwrite-a-base-macro/60043 "2021-04-26T17:59:37Z")

</div>

I got a good reason, which I will post later, to overwrite Base.@cmd. Is it possible? Thanks.

---

## [How to unpack an .xz file with Julia](https://discourse.julialang.org/t/how-to-unpack-an-xz-file-with-julia/60028)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 7\
**Last updated:** [April 26, 2021, 5:14pm UTC](https://discourse.julialang.org/t/how-to-unpack-an-xz-file-with-julia/60028 "2021-04-26T17:14:37Z")

</div>

Is there a package that can decompress .xz files? I need to do this in a cross-platform way.

---

## [Help with ArnoldiMethod.jl](https://discourse.julialang.org/t/help-with-arnoldimethod-jl/60026)

<div class="topic-metadata">

**Author:** [@marianoarnaiz](https://discourse.julialang.org/u/marianoarnaiz)\
**Replies:** 7\
**Last updated:** [April 26, 2021, 3:59pm UTC](https://discourse.julialang.org/t/help-with-arnoldimethod-jl/60026 "2021-04-26T15:59:38Z")

</div>

Hi everyone. I am trying to solve the general eigenvalue problem closed to a value by computing the eigenvalues of largest magnitude. Using Arpack the command is similar to: dp,xp=eigs(A,B,nev=3,sigma=ω\[o\]/rspd); But I…

---

## [What are Opaque Closures?](https://discourse.julialang.org/t/what-are-opaque-closures/60006)

<div class="topic-metadata">

**Author:** [@suavesito](https://discourse.julialang.org/u/suavesito)\
**Replies:** 2\
**Last updated:** [April 26, 2021, 3:56pm UTC](https://discourse.julialang.org/t/what-are-opaque-closures/60006 "2021-04-26T15:56:15Z")

</div>

In Slack there was a question about opaque closures. I found that what I was assuming they were is not the real thing, they are not closures that pass variables as value… so here I post the answer (thanks to @oxinabox) a…

---

## [Accessing DataFrames - is there a simpler way?](https://discourse.julialang.org/t/accessing-dataframes-is-there-a-simpler-way/59895)

<div class="topic-metadata">

**Author:** [@dkzwart](https://discourse.julialang.org/u/dkzwart)\
**Replies:** 11\
**Last updated:** [April 26, 2021, 3:39pm UTC](https://discourse.julialang.org/t/accessing-dataframes-is-there-a-simpler-way/59895 "2021-04-26T15:39:34Z")

</div>

Matlab user here wondering if I am making Julia overcomplicated. I am importing numeric and string values from a database and looking for certain values to use. In Matlab, using Tables, my code looks like this: Nsta = m…

---

## [How to add a Directory Package to an existing Project?](https://discourse.julialang.org/t/how-to-add-a-directory-package-to-an-existing-project/59997)

<div class="topic-metadata">

**Author:** [@aschweig](https://discourse.julialang.org/u/aschweig)\
**Replies:** 6\
**Last updated:** [April 26, 2021, 3:25pm UTC](https://discourse.julialang.org/t/how-to-add-a-directory-package-to-an-existing-project/59997 "2021-04-26T15:25:10Z")

</div>

I am trying to using Julia 1.6.1 for application development. I like to make a separation between “library code” and the main program. In my mind, a directory layout close to the following might work: MyApp ← the pr…

---

## [Avoiding loops in Turing](https://discourse.julialang.org/t/avoiding-loops-in-turing/59830)

<div class="topic-metadata">

**Author:** [@owensnick](https://discourse.julialang.org/u/owensnick)\
**Replies:** 7\
**Last updated:** [April 26, 2021, 3:10pm UTC](https://discourse.julialang.org/t/avoiding-loops-in-turing/59830 "2021-04-26T15:10:32Z")

</div>

I’m learning Turing. Can anyone help explain the following, I define two (hopefully) equivalent models one with loops and one without, the loop model is 50x slower, but actually produces useful results. This is a reduced…

---

## [Adding a package from local directory gives strange results](https://discourse.julialang.org/t/adding-a-package-from-local-directory-gives-strange-results/60010)

<div class="topic-metadata">

**Author:** [@Deduction42](https://discourse.julialang.org/u/Deduction42)\
**Replies:** 2\
**Last updated:** [April 26, 2021, 2:30pm UTC](https://discourse.julialang.org/t/adding-a-package-from-local-directory-gives-strange-results/60010 "2021-04-26T14:30:50Z")

</div>

I’m trying to transition a web-server project I wrote to a package so that I can use packagecompiler.jl to precompile it and reduce startup latency. I would like to test the package precompiliation locally in a docker co…

---

## [How to determine whenever there's an oscillation](https://discourse.julialang.org/t/how-to-determine-whenever-theres-an-oscillation/48936)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 23\
**Last updated:** [April 26, 2021, 2:22pm UTC](https://discourse.julialang.org/t/how-to-determine-whenever-theres-an-oscillation/48936 "2021-04-26T14:22:53Z")

</div>

Hello, I am looking for some advice: I have a system that I am investigating, and I am trying to determine for which parameter values it exhibits which behaviours. There are several different ones, but a typical is that…

---

## [\[Julia usage / metaprogramming\] How to evaluate a module's function with function's name as a string?](https://discourse.julialang.org/t/julia-usage-metaprogramming-how-to-evaluate-a-modules-function-with-functions-name-as-a-string/60031)

<div class="topic-metadata">

**Author:** [@erwanlecarpentier](https://discourse.julialang.org/u/erwanlecarpentier)\
**Replies:** 10\
**Last updated:** [April 26, 2021, 2:17pm UTC](https://discourse.julialang.org/t/julia-usage-metaprogramming-how-to-evaluate-a-modules-function-with-functions-name-as-a-string/60031 "2021-04-26T14:17:25Z")

</div>

Hi! Inside a function, I would like to evaluate a module’s function based on two inputs: 1) the module itself and 2) the function’s name as a string. Here is the code: module A function foo() println("This is A.foo…

---

## [Writing data to csv](https://discourse.julialang.org/t/writing-data-to-csv/59670)

<div class="topic-metadata">

**Author:** [@ashwanimalviya](https://discourse.julialang.org/u/ashwanimalviya)\
**Replies:** 27\
**Last updated:** [April 26, 2021, 2:11pm UTC](https://discourse.julialang.org/t/writing-data-to-csv/59670 "2021-04-26T14:11:01Z")

</div>

Hi Guys, I am working with data set and writing my results back to the csv file. my code is Result = \[permutedims(Names); K2Score; ShortestPath; score; cum\_weight\] save\_file = save\_dialog("Save Hierarchy as...") CSV.wri…

---

## [Unified structure for sampled signals](https://discourse.julialang.org/t/unified-structure-for-sampled-signals/59977)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 1\
**Last updated:** [April 26, 2021, 12:01pm UTC](https://discourse.julialang.org/t/unified-structure-for-sampled-signals/59977 "2021-04-26T12:01:17Z")

</div>

So I have seen the package JuliaAudio/SampledSignals.jl, which aims to “… be used on multichannel sampled signals like audio or radio data, EEG signals, etc., to provide better interoperability between packages that rea…

---

## [Using DynamicHMC to calculate paths of Quantum Simple Harmonic Oscillator](https://discourse.julialang.org/t/using-dynamichmc-to-calculate-paths-of-quantum-simple-harmonic-oscillator/60009)

<div class="topic-metadata">

**Author:** [@jdhooghe](https://discourse.julialang.org/u/jdhooghe)\
**Replies:** 2\
**Last updated:** [April 26, 2021, 11:54am UTC](https://discourse.julialang.org/t/using-dynamichmc-to-calculate-paths-of-quantum-simple-harmonic-oscillator/60009 "2021-04-26T11:54:33Z")

</div>

Hello, I need some help getting sampling to work using DynamicHMC. The model thus far is: using LogDensityProblems using Statistics using Distributions using UnPack using TransformVariables using DynamicHMC using MCMCDi…

---

## [Markdown links formating](https://discourse.julialang.org/t/markdown-links-formating/59980)

<div class="topic-metadata">

**Author:** [@maajdl](https://discourse.julialang.org/u/maajdl)\
**Replies:** 1\
**Last updated:** [April 26, 2021, 11:40am UTC](https://discourse.julialang.org/t/markdown-links-formating/59980 "2021-04-26T11:40:45Z")

</div>

Hello Markdown URL links appear in bold in Pluto. Would there be a way to change this default behaviour? Would it be possible to see link appear as usual in normal blue fonts? Thanks Michel

---

## [ANN: new tutorial in BifurcationKit.jl](https://discourse.julialang.org/t/ann-new-tutorial-in-bifurcationkit-jl/60001)

<div class="topic-metadata">

**Author:** [@rveltz](https://discourse.julialang.org/u/rveltz)\
**Replies:** 1\
**Last updated:** [April 26, 2021, 11:04am UTC](https://discourse.julialang.org/t/ann-new-tutorial-in-bifurcationkit-jl/60001 "2021-04-26T11:04:27Z")

</div>

Dear all, Here is a quick post to announce a new fun tutorial in BifurcationKit.jl. It deals with bifurcations of the 3d Swift-Hohenberg equations with Cholesky pre-conditioned linear / eigen solvers. It gives another …

---

## [Dash clientside callbacks](https://discourse.julialang.org/t/dash-clientside-callbacks/59886)

<div class="topic-metadata">

**Author:** [@Iulian.Cioarca](https://discourse.julialang.org/u/Iulian.Cioarca)\
**Replies:** 3\
**Last updated:** [April 26, 2021, 10:51am UTC](https://discourse.julialang.org/t/dash-clientside-callbacks/59886 "2021-04-26T10:51:01Z")

</div>

Is there an example of clientside callbacks for Dash? I only found this, hidden in a closed github issue: https://github.com/plotly/Dash.jl/pull/30 I tried with this code, but it doesn’t work: using Dash, DashHtmlCompo…

---

## [Symbol for \\circ does not appear in the prompt](https://discourse.julialang.org/t/symbol-for-circ-does-not-appear-in-the-prompt/59955)

<div class="topic-metadata">

**Author:** [@adcsilva](https://discourse.julialang.org/u/adcsilva)\
**Replies:** 7\
**Last updated:** [April 26, 2021, 10:44am UTC](https://discourse.julialang.org/t/symbol-for-circ-does-not-appear-in-the-prompt/59955 "2021-04-26T10:44:56Z")

</div>

Hi, I tried to use \\circ for the composition of functions. The composition works, but the symble º does not appear in the prompt. It shows instead a ?. I have added a screen shot below. How can I fix this behavior? I …

---

## [Pasting long lines into the REPL takes too long in Win10?](https://discourse.julialang.org/t/pasting-long-lines-into-the-repl-takes-too-long-in-win10/59995)

<div class="topic-metadata">

**Author:** [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Replies:** 15\
**Last updated:** [April 26, 2021, 10:27am UTC](https://discourse.julialang.org/t/pasting-long-lines-into-the-repl-takes-too-long-in-win10/59995 "2021-04-26T10:27:58Z")

</div>

When pasting long lines into the REPL, like the variable assignments below taken from this post, it seems to take forever for the REPL to consume the data as there is a lot of scrolling. Using Julia 1.6.1 on Win10. Is t…

---

## [Creating GUI with Dash.jl](https://discourse.julialang.org/t/creating-gui-with-dash-jl/59639)

<div class="topic-metadata">

**Author:** [@kobied](https://discourse.julialang.org/u/kobied)\
**Replies:** 5\
**Last updated:** [April 26, 2021, 10:10am UTC](https://discourse.julialang.org/t/creating-gui-with-dash-jl/59639 "2021-04-26T10:10:50Z")

</div>

Hello, i’m trying to create a GUI using Dash.jl My GUI need to have the usual buttons, sliders, etc. which is straightforward in Dash. My issues are : creating a 2D plot and an image on which I can click with the mou…

---

## [Generate function to build a static array from vector of vector](https://discourse.julialang.org/t/generate-function-to-build-a-static-array-from-vector-of-vector/59862)

<div class="topic-metadata">

**Author:** [@Philippe\_Maincon1](https://discourse.julialang.org/u/Philippe_Maincon1)\
**Replies:** 5\
**Last updated:** [April 26, 2021, 9:17am UTC](https://discourse.julialang.org/t/generate-function-to-build-a-static-array-from-vector-of-vector/59862 "2021-04-26T09:17:10Z")

</div>

I have a Vector of Vectors (actually Vector of SVectors, but I do not believe this is relevant to the question.) All vectors, inner and outer, have length N. I wish to generate an SMatrix from it in a typestable mann…

---

## [Huge Performance drop after upgrading to 1.6](https://discourse.julialang.org/t/huge-performance-drop-after-upgrading-to-1-6/59789)

<div class="topic-metadata">

**Author:** [@imLew](https://discourse.julialang.org/u/imLew)\
**Replies:** 13\
**Last updated:** [April 26, 2021, 9:08am UTC](https://discourse.julialang.org/t/huge-performance-drop-after-upgrading-to-1-6/59789 "2021-04-26T09:08:56Z")

</div>

Crossposting this from zulip to reach more people and because it’s a getting a bit long. tl;dr After upgrading to 1.6 my code runs 50 times slower, it seems to be caused by broadcasting with calls to materialize increa…

---

## [Packages for text matching?](https://discourse.julialang.org/t/packages-for-text-matching/60012)

<div class="topic-metadata">

**Author:** [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)\
**Replies:** 15\
**Last updated:** [April 26, 2021, 8:49am UTC](https://discourse.julialang.org/t/packages-for-text-matching/60012 "2021-04-26T08:49:14Z")

</div>

I’d like to write: "$(First\_Name).$(Last\_Name),$(Age)" = "John.Smith,20" with result (First\_Name = "John", Last\_Name = "Smith", Age = 20 ) Any package that supports this pattern matching in text?

---

## [Understanding Mahalanobis in Distances.jl](https://discourse.julialang.org/t/understanding-mahalanobis-in-distances-jl/59656)

<div class="topic-metadata">

**Author:** [@Jasper\_Hall](https://discourse.julialang.org/u/Jasper_Hall)\
**Replies:** 4\
**Last updated:** [April 26, 2021, 8:19am UTC](https://discourse.julialang.org/t/understanding-mahalanobis-in-distances-jl/59656 "2021-04-26T08:19:13Z")

</div>

I have a working understanding of principles of distances between datasets at a fairly high level (ie perhaps not all the detailed maths). I want to calculate the Mahalanobis distance between a reference dataset and an …

---

## [Solver argument (MosekModel) must be an AbstractMathProgSolver](https://discourse.julialang.org/t/solver-argument-mosekmodel-must-be-an-abstractmathprogsolver/59967)

<div class="topic-metadata">

**Author:** [@zlq178](https://discourse.julialang.org/u/zlq178)\
**Replies:** 6\
**Last updated:** [April 26, 2021, 7:20am UTC](https://discourse.julialang.org/t/solver-argument-mosekmodel-must-be-an-abstractmathprogsolver/59967 "2021-04-26T07:20:33Z")

</div>

This is an SDP problem or Mosek problem. using JuMP, Mosek, Plots, MosekTools # 生成一个200x200的稠密随机对称矩阵Q Q = randn(200,200) Q = Q + Q' # 负责进行抽样实验的函数 function SampleBQP(Q,N) naive\_fval = zeros(N,1) GW\_fval = zeros(N…

---

## [Sharing and running Julia notebooks or applications](https://discourse.julialang.org/t/sharing-and-running-julia-notebooks-or-applications/58942)

<div class="topic-metadata">

**Author:** [@maajdl](https://discourse.julialang.org/u/maajdl)\
**Replies:** 3\
**Last updated:** [April 26, 2021, 7:24am UTC](https://discourse.julialang.org/t/sharing-and-running-julia-notebooks-or-applications/58942 "2021-04-26T07:24:08Z")

</div>

Hello I would be interrested to share Julia Jupyter or Pluto notebooks. Ideally the users should not be requied to install anything on their computer. How can I best do that? Thanks Michel

---

## [Single Transferable Vote by Meek's Method](https://discourse.julialang.org/t/single-transferable-vote-by-meeks-method/59701)

<div class="topic-metadata">

**Author:** [@Nosferican](https://discourse.julialang.org/u/Nosferican)\
**Replies:** 4\
**Last updated:** [April 26, 2021, 2:42am UTC](https://discourse.julialang.org/t/single-transferable-vote-by-meeks-method/59701 "2021-04-26T02:42:43Z")

</div>

Algorithm 123 — SINGLE TRANSFERABLE VOTE BY MEEK’S METHOD Thinking of working on this as a weekend project. Anyone has interest or suggestions for the implementation?

---

## [Julia Computing changed URLs of Blog](https://discourse.julialang.org/t/julia-computing-changed-urls-of-blog/59986)

<div class="topic-metadata">

**Author:** [@oheil](https://discourse.julialang.org/u/oheil)\
**Replies:** 1\
**Last updated:** [April 26, 2021, 5:29am UTC](https://discourse.julialang.org/t/julia-computing-changed-urls-of-blog/59986 "2021-04-26T05:29:46Z")

</div>

Julia Computing has changed their URL scheme for the Blog, e.g. this old URL https://juliacomputing.com/blog/2020/06/22/fast-csv.html is now https://juliacomputing.com/blog/2020/06/fast-csv/ A regex rule should be se…

---

## [ArgParse error "too many arguments"](https://discourse.julialang.org/t/argparse-error-too-many-arguments/59764)

<div class="topic-metadata">

**Author:** [@hei06j](https://discourse.julialang.org/u/hei06j)\
**Replies:** 2\
**Last updated:** [April 26, 2021, 3:28am UTC](https://discourse.julialang.org/t/argparse-error-too-many-arguments/59764 "2021-04-26T03:28:23Z")

</div>

Hi, I am trying to use ArgParse to read options from command line. It works when I have three options, but when I add another option it throws “too many argument” error. using ArgParse function parse\_commandline() …

---

## [How often do you use the |\> operator?](https://discourse.julialang.org/t/how-often-do-you-use-the-operator/56189)

<div class="topic-metadata">

**Author:** [@anon74562486](https://discourse.julialang.org/u/anon74562486)\
**Replies:** 56\
**Last updated:** [April 26, 2021, 1:16am UTC](https://discourse.julialang.org/t/how-often-do-you-use-the-operator/56189 "2021-04-26T01:16:33Z")

</div>

I really like pipe operator (|\>) but if I see the source code of libraries I see that it is often used like this: a = function\_2(function\_1(input\_data)) |\> gpu rather than this: a = input\_data |\> function\_1 |\> …

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

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