# Latest

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

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

**Page:** 1200

---

## [Error in markdown with Weave.jl](https://discourse.julialang.org/t/error-in-markdown-with-weave-jl/71909)

<div class="topic-metadata">

**Author:** [@Adam\_D](https://discourse.julialang.org/u/Adam_D)\
**Replies:** 1\
**Last updated:** [November 22, 2021, 7:56pm UTC](https://discourse.julialang.org/t/error-in-markdown-with-weave-jl/71909 "2021-11-22T19:56:37Z")

</div>

Hi all, I just learnt that julia has markdown enabled by Weave.jl. I wanted to give it a try but I am having trouble creating a pdf document. Unfortunately, unlike Rmarkdown, there does not seem to be many resources ava…

---

## [Iszero and zero: wrong usage (?) and bad error message](https://discourse.julialang.org/t/iszero-and-zero-wrong-usage-and-bad-error-message/71907)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 2\
**Last updated:** [November 22, 2021, 7:30pm UTC](https://discourse.julialang.org/t/iszero-and-zero-wrong-usage-and-bad-error-message/71907 "2021-11-22T19:30:29Z")

</div>

I am trying to use iszero for a custom struct. I defined zero for it, which appeared to be the necessary method. But iszero does not work, and the error message is not clear, because it complains that the zero function …

---

## [Makie hover tooltips in static offline html export](https://discourse.julialang.org/t/makie-hover-tooltips-in-static-offline-html-export/71810)

<div class="topic-metadata">

**Author:** [@cyrieln](https://discourse.julialang.org/u/cyrieln)\
**Replies:** 3\
**Last updated:** [November 22, 2021, 6:43pm UTC](https://discourse.julialang.org/t/makie-hover-tooltips-in-static-offline-html-export/71810 "2021-11-22T18:43:11Z")

</div>

Is it possible to have hover-labels in static exported HTML’s? I would like to have the behavior of DataInspector(fig) in an offline html file. This feature does not seem to translate over to html.

---

## [Finding installed Julia version with Juliaup](https://discourse.julialang.org/t/finding-installed-julia-version-with-juliaup/71641)

<div class="topic-metadata">

**Author:** [@DNF](https://discourse.julialang.org/u/DNF)\
**Replies:** 9\
**Last updated:** [November 22, 2021, 6:13pm UTC](https://discourse.julialang.org/t/finding-installed-julia-version-with-juliaup/71641 "2021-11-22T18:13:45Z")

</div>

I’m trying out the juliaup version manager (GitHub - JuliaLang/juliaup: Julia installer and version multiplexer). One thing I struggle with is seeing which versions are installed. The output PS C:\\Users\\DNF\> juliaup sta…

---

## [Help with macro calling another macro](https://discourse.julialang.org/t/help-with-macro-calling-another-macro/71892)

<div class="topic-metadata">

**Author:** [@kun](https://discourse.julialang.org/u/kun)\
**Replies:** 11\
**Last updated:** [November 22, 2021, 5:25pm UTC](https://discourse.julialang.org/t/help-with-macro-calling-another-macro/71892 "2021-11-22T17:25:48Z")

</div>

So let’s say I have some code: if !@isdefined(a) a = 1 end if !@isdefined(b) b = 2 end I’d like to refactor it into something like: macro defifndef(x, y) if !@isdefined($x) $x = $y end end @d…

---

## [What is a RecursiveLock?](https://discourse.julialang.org/t/what-is-a-recursivelock/71897)

<div class="topic-metadata">

**Author:** [@Impressium](https://discourse.julialang.org/u/Impressium)\
**Replies:** 7\
**Last updated:** [November 22, 2021, 4:50pm UTC](https://discourse.julialang.org/t/what-is-a-recursivelock/71897 "2021-11-22T16:50:14Z")

</div>

Hi all :slight\_smile: I just stumbled over that: https://github.com/JuliaLang/julia/blob/ae336abc0ed7e63ab933d0073df28c51e981d8fc/base/condition.jl#L37 Where is the RecursiveLock defined? Cheers

---

## [Changing and accessing data in different threads](https://discourse.julialang.org/t/changing-and-accessing-data-in-different-threads/71899)

<div class="topic-metadata">

**Author:** [@Impressium](https://discourse.julialang.org/u/Impressium)\
**Replies:** 3\
**Last updated:** [November 22, 2021, 4:44pm UTC](https://discourse.julialang.org/t/changing-and-accessing-data-in-different-threads/71899 "2021-11-22T16:44:07Z")

</div>

Hi all :slight\_smile: In the docs is written that the following is not safe. https://docs.julialang.org/en/v1/manual/multi-threading/#Data-race-freedom Thread 1: global b = false global a = rand() global b = true Thr…

---

## [Plotting big data sets?](https://discourse.julialang.org/t/plotting-big-data-sets/71893)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 3\
**Last updated:** [November 22, 2021, 2:56pm UTC](https://discourse.julialang.org/t/plotting-big-data-sets/71893 "2021-11-22T14:56:29Z")

</div>

I suggested Julia to an industry contact. His response: “Can Julia plot really big datasets?” What he meant was: he has timeseries of a few million elements, and want to just dump the entire series on the plotting routi…

---

## [Problem with Plotting](https://discourse.julialang.org/t/problem-with-plotting/71889)

<div class="topic-metadata">

**Author:** [@IljaK91](https://discourse.julialang.org/u/IljaK91)\
**Replies:** 3\
**Last updated:** [November 22, 2021, 11:14am UTC](https://discourse.julialang.org/t/problem-with-plotting/71889 "2021-11-22T11:14:55Z")

</div>

Hey everyone, I tried to plot some graphs today, but somehow the font for the labels is not sharp and the commands for the fontsize get ignored. I have tried downgrading Plots to 1.22, but that did not help. I also upgr…

---

## [Editable table using Stipple UI](https://discourse.julialang.org/t/editable-table-using-stipple-ui/71854)

<div class="topic-metadata">

**Author:** [@wuxinyu](https://discourse.julialang.org/u/wuxinyu)\
**Replies:** 9\
**Last updated:** [November 22, 2021, 10:32am UTC](https://discourse.julialang.org/t/editable-table-using-stipple-ui/71854 "2021-11-22T10:32:49Z")

</div>

I want to build a web app to interact with backend data processing. How can I write a editable table with stipple? I can’t find helpful documents and become struggling. Any help or suggestions would be much appreciated!

---

## [PlutoUI's Select type has the order of the pairs wrong](https://discourse.julialang.org/t/plutouis-select-type-has-the-order-of-the-pairs-wrong/71082)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 1\
**Last updated:** [November 22, 2021, 8:27am UTC](https://discourse.julialang.org/t/plutouis-select-type-has-the-order-of-the-pairs-wrong/71082 "2021-11-22T08:27:31Z")

</div>

The Select type allows the user to create down-down menus with the @bind macro. Awesome feature. The current behaviour is The docs for Select look like this: So in the language of the docs, "1" is the key, and "…

---

## [How to start a repl with command line arguments?](https://discourse.julialang.org/t/how-to-start-a-repl-with-command-line-arguments/71877)

<div class="topic-metadata">

**Author:** [@Lilith](https://discourse.julialang.org/u/Lilith)\
**Replies:** 1\
**Last updated:** [November 22, 2021, 6:08am UTC](https://discourse.julialang.org/t/how-to-start-a-repl-with-command-line-arguments/71877 "2021-11-22T06:08:35Z")

</div>

I want to do this: $ julia ?\*HelloWorld?\* julia\> ARGS String\["HelloWorld"\] But I can’t figure out how.

---

## [Julia implementation of Think Bayes](https://discourse.julialang.org/t/julia-implementation-of-think-bayes/71883)

<div class="topic-metadata">

**Author:** [@dodoplus](https://discourse.julialang.org/u/dodoplus)\
**Replies:** 0\
**Last updated:** [November 22, 2021, 6:06am UTC](https://discourse.julialang.org/t/julia-implementation-of-think-bayes/71883 "2021-11-22T06:06:54Z")

</div>

Hi, I’ve ported the code from Allen Downey’s Think Bayes (2nd Ed to Julia. You can find the code here if you’re interested: https://github.com/dodoplus/ThinkBayes2 I have no plans to maintain this code. This was just…

---

## [Not understanding linear growing allocations](https://discourse.julialang.org/t/not-understanding-linear-growing-allocations/71734)

<div class="topic-metadata">

**Author:** [@peremato](https://discourse.julialang.org/u/peremato)\
**Replies:** 27\
**Last updated:** [November 22, 2021, 4:35am UTC](https://discourse.julialang.org/t/not-understanding-linear-growing-allocations/71734 "2021-11-22T04:35:07Z")

</div>

I’m trying to understand why returning a tuple of static vectors have the effect of constantly growing allocations. I have the following code to demonstrate using BenchmarkTools using StaticArrays Vector2 = SVector{2}{…

---

## [\`mul\` dispatch to BLAS incomplete?](https://discourse.julialang.org/t/mul-dispatch-to-blas-incomplete/71831)

<div class="topic-metadata">

**Author:** [@goerch](https://discourse.julialang.org/u/goerch)\
**Replies:** 18\
**Last updated:** [November 22, 2021, 1:34am UTC](https://discourse.julialang.org/t/mul-dispatch-to-blas-incomplete/71831 "2021-11-22T01:34:06Z")

</div>

When translating the benchmark from Outperformed by Matlab using LinearAlgebra using MKL using BenchmarkTools function \_kron!(C::T1,A::T2,B::T3) where {T1 \<: AbstractVector,T2 \<: AbstractVector,T3 \<: AbstractVector} …

---

## [Toggle Threads.@threads with a variable](https://discourse.julialang.org/t/toggle-threads-threads-with-a-variable/71818)

<div class="topic-metadata">

**Author:** [@JackStrauss](https://discourse.julialang.org/u/JackStrauss)\
**Replies:** 8\
**Last updated:** [November 21, 2021, 10:25pm UTC](https://discourse.julialang.org/t/toggle-threads-threads-with-a-variable/71818 "2021-11-21T22:25:48Z")

</div>

Hello I am sure the elegant answer is in the documentation, but I could not find it. I use threads but sometimes want to execute same loop without threads. Is there a way to tell Julia not to use Threads.@threads if s…

---

## [Any issues with multiple threads writing to a single queue which is consumed by another thread](https://discourse.julialang.org/t/any-issues-with-multiple-threads-writing-to-a-single-queue-which-is-consumed-by-another-thread/71846)

<div class="topic-metadata">

**Author:** [@anon69491625](https://discourse.julialang.org/u/anon69491625)\
**Replies:** 15\
**Last updated:** [November 21, 2021, 9:00pm UTC](https://discourse.julialang.org/t/any-issues-with-multiple-threads-writing-to-a-single-queue-which-is-consumed-by-another-thread/71846 "2021-11-21T21:00:44Z")

</div>

got dual xeon 2699 v3 so 36 cores. If I run threaded code each of which generates a stream of data values, from say a temperature sensor, on 10 of them and in the threaded code each writes it’s thread number and a data …

---

## [@sync is not working](https://discourse.julialang.org/t/sync-is-not-working/70846)

<div class="topic-metadata">

**Author:** [@benibilme](https://discourse.julialang.org/u/benibilme)\
**Replies:** 5\
**Last updated:** [November 21, 2021, 8:40pm UTC](https://discourse.julialang.org/t/sync-is-not-working/70846 "2021-11-21T20:40:44Z")

</div>

Hello, I am newbie in Julia. I am writing a small program which reads topics/records from Apache Kafka, process it and writes as another topic back. My main function which is in main.jl file is as follows. There are b…

---

## [VSCode: keyboard shortcuts broken?](https://discourse.julialang.org/t/vscode-keyboard-shortcuts-broken/71859)

<div class="topic-metadata">

**Author:** [@roh\_codeur](https://discourse.julialang.org/u/roh_codeur)\
**Replies:** 2\
**Last updated:** [November 21, 2021, 8:33pm UTC](https://discourse.julialang.org/t/vscode-keyboard-shortcuts-broken/71859 "2021-11-21T20:33:00Z")

</div>

Hi I must congratulate the VSCode team on a wonderful plugin. I have a project with multiple modules. To make it faster to develop, I follow the below pattern to debug: Create a script which calls multiple modules. I…

---

## [Building stand-alone helloworld produces many dlls, being 200MB big](https://discourse.julialang.org/t/building-stand-alone-helloworld-produces-many-dlls-being-200mb-big/9341)

<div class="topic-metadata">

**Author:** [@mircode](https://discourse.julialang.org/u/mircode)\
**Replies:** 37\
**Last updated:** [November 18, 2021, 9:38am UTC](https://discourse.julialang.org/t/building-stand-alone-helloworld-produces-many-dlls-being-200mb-big/9341 "2021-11-18T09:38:21Z")

</div>

Hi! I would like to distribute my julia program. If I use https://github.com/dhoegh/BuildExecutable.jl or https://github.com/JuliaComputing/static-julia or https://github.com/JuliaLang/PackageCompiler.jl it clutters th…

---

## [Interpolate @show macro](https://discourse.julialang.org/t/interpolate-show-macro/71858)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 5\
**Last updated:** [November 21, 2021, 4:46pm UTC](https://discourse.julialang.org/t/interpolate-show-macro/71858 "2021-11-21T16:46:31Z")

</div>

I want to interpolate the @show macro function. For example. I define a function f(x) = x + 1 I want to see the behavior for different inputs: julia\> \[@show f(x) for x = 1:3\]; f(x) = 2 f(x) = 3 f(x) = 4 But what I …

---

## [Where can I find a database with socio-economic (and other) information by country?](https://discourse.julialang.org/t/where-can-i-find-a-database-with-socio-economic-and-other-information-by-country/71860)

<div class="topic-metadata">

**Author:** [@Juan](https://discourse.julialang.org/u/Juan)\
**Replies:** 2\
**Last updated:** [November 21, 2021, 3:33pm UTC](https://discourse.julialang.org/t/where-can-i-find-a-database-with-socio-economic-and-other-information-by-country/71860 "2021-11-21T15:33:44Z")

</div>

Hello. I would like to explore different indicators (socioeconomic, health, science…) from different countries. For example, I want to plot the GDP per capita vs the system of government. Or the number of intentional h…

---

## [GLMakie -- How to change default window configuration?](https://discourse.julialang.org/t/glmakie-how-to-change-default-window-configuration/71861)

<div class="topic-metadata">

**Author:** [@zornsllama](https://discourse.julialang.org/u/zornsllama)\
**Replies:** 0\
**Last updated:** [November 21, 2021, 3:25pm UTC](https://discourse.julialang.org/t/glmakie-how-to-change-default-window-configuration/71861 "2021-11-21T15:25:53Z")

</div>

Hi, I would like to modify the default window configuration for my GLMakie installation; in particular, I want the effect of running GLMakie.set\_window\_config!(focus\_on\_show=true) whenever I import GLMakie, without havi…

---

## [Questions about restarting, moving the display of, and stopping output in the REPL in VS Code](https://discourse.julialang.org/t/questions-about-restarting-moving-the-display-of-and-stopping-output-in-the-repl-in-vs-code/71808)

<div class="topic-metadata">

**Author:** [@Cyrus\_Hettle](https://discourse.julialang.org/u/Cyrus_Hettle)\
**Replies:** 2\
**Last updated:** [November 21, 2021, 3:06pm UTC](https://discourse.julialang.org/t/questions-about-restarting-moving-the-display-of-and-stopping-output-in-the-repl-in-vs-code/71808 "2021-11-21T15:06:25Z")

</div>

I have used the Atom IDE for Julia (JuliaPro/Juno) for a few years, but recently configured a new computer and decided to install the VS Code extension since the Atom version will no longer be updated. I’ve had a few pro…

---

## [Where does the default seed come from?](https://discourse.julialang.org/t/where-does-the-default-seed-come-from/71852)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 1\
**Last updated:** [November 21, 2021, 4:41am UTC](https://discourse.julialang.org/t/where-does-the-default-seed-come-from/71852 "2021-11-21T04:41:51Z")

</div>

julia\> Random.default\_rng().seed 4-element Vector{UInt32}: 0x21fc2c5d 0x2ccb7f07 0xa6a6c199 0x7786f2df Where do these numbers come from?

---

## [Julia v1.6.4 has been released](https://discourse.julialang.org/t/julia-v1-6-4-has-been-released/71809)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 4\
**Last updated:** [November 21, 2021, 12:56am UTC](https://discourse.julialang.org/t/julia-v1-6-4-has-been-released/71809 "2021-11-21T00:56:02Z")

</div>

Julia version 1.6.4, the fourth patch release in the 1.6 series of releases, is now available. You can get binaries for glibc Linux (i686, x86-64, AArch64, ARMv7), musl Linux (x86-64), FreeBSD (x86-64), macOS (x86-64), a…

---

## [Can't run for-loop](https://discourse.julialang.org/t/cant-run-for-loop/71825)

<div class="topic-metadata">

**Author:** [@bran](https://discourse.julialang.org/u/bran)\
**Replies:** 19\
**Last updated:** [November 21, 2021, 12:54am UTC](https://discourse.julialang.org/t/cant-run-for-loop/71825 "2021-11-21T00:54:25Z")

</div>

Tend = 115; Period\_all = zeros(Tend, 1); timeidx = 1950; for tt = 1:Tend Period\_all\[tt\] = timeidx; timeidx = timeidx + 0.25; end ERROR: syntax: incomplete: premature end of i…

---

## [Unused variable in Optim?](https://discourse.julialang.org/t/unused-variable-in-optim/71840)

<div class="topic-metadata">

**Author:** [@Joris\_Pinkse](https://discourse.julialang.org/u/Joris_Pinkse)\
**Replies:** 0\
**Last updated:** [November 20, 2021, 7:46pm UTC](https://discourse.julialang.org/t/unused-variable-in-optim/71840 "2021-11-20T19:46:51Z")

</div>

On line 372 of newton\_trust\_region.jl of the Optim package, it defines a variable delta, which then is never used. Should that perhaps be state.delta instead? (already posted an issue on github, but hopeful that someon…

---

## [Modul with hash functions, like the Python Bcript modul](https://discourse.julialang.org/t/modul-with-hash-functions-like-the-python-bcript-modul/71827)

<div class="topic-metadata">

**Author:** [@MeteorBizone](https://discourse.julialang.org/u/MeteorBizone)\
**Replies:** 2\
**Last updated:** [November 20, 2021, 6:20pm UTC](https://discourse.julialang.org/t/modul-with-hash-functions-like-the-python-bcript-modul/71827 "2021-11-20T18:20:17Z")

</div>

Hello, I am new to the Julia programming language. At the moment I am in the process of translating my Python code to Julia code. And I have a problem, I didn’t find a module to hash passwords. I hope the question is no…

---

## [Calling embedding api from within a ccall originating from Julia](https://discourse.julialang.org/t/calling-embedding-api-from-within-a-ccall-originating-from-julia/71834)

<div class="topic-metadata">

**Author:** [@jordanmb](https://discourse.julialang.org/u/jordanmb)\
**Replies:** 0\
**Last updated:** [November 20, 2021, 4:00pm UTC](https://discourse.julialang.org/t/calling-embedding-api-from-within-a-ccall-originating-from-julia/71834 "2021-11-20T16:00:28Z")

</div>

I’m attempting to integrate Julia into an existing Rust system. The julia embedding api works great when I have a rust executable calling into it, but if I try to call the same code from within a julia notebook it will s…

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

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