# Latest

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

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

**Page:** 1483

---

## [Hello! I've built a web app using Genie + Stipple and I would like to deploy it to](https://discourse.julialang.org/t/hello-ive-built-a-web-app-using-genie-stipple-and-i-would-like-to-deploy-it-to/54459)

<div class="topic-metadata">

**Author:** [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Replies:** 17\
**Last updated:** [February 22, 2021, 6:16pm UTC](https://discourse.julialang.org/t/hello-ive-built-a-web-app-using-genie-stipple-and-i-would-like-to-deploy-it-to/54459 "2021-02-22T18:16:01Z")

</div>

Hello! I’ve built a web app using Genie + Stipple and I would like to deploy it to my website (i.e. with a julia process running in the background). Has anyone done this before? Note that the original poster on Slack ca…

---

## [How to remove comments from a Julia file?](https://discourse.julialang.org/t/how-to-remove-comments-from-a-julia-file/55783)

<div class="topic-metadata">

**Author:** [@NightMachinary](https://discourse.julialang.org/u/NightMachinary)\
**Replies:** 3\
**Last updated:** [February 22, 2021, 5:24pm UTC](https://discourse.julialang.org/t/how-to-remove-comments-from-a-julia-file/55783 "2021-02-22T17:24:25Z")

</div>

I am processing some Julia code with regexes, to convert the colorschemes in Colorschemes.jl to go objects. I want to remove the comments before feeding the Julia code to my zsh script. What are the options? PS: For the…

---

## [Package installation - KeyError: key "URIs" not found](https://discourse.julialang.org/t/package-installation-keyerror-key-uris-not-found/55786)

<div class="topic-metadata">

**Author:** [@rachithaiyappa](https://discourse.julialang.org/u/rachithaiyappa)\
**Replies:** 1\
**Last updated:** [February 22, 2021, 5:07pm UTC](https://discourse.julialang.org/t/package-installation-keyerror-key-uris-not-found/55786 "2021-02-22T17:07:41Z")

</div>

Julia version: 1.5.3 (2020-11-09) MacOS: 10.11.6 Error: Unable to add any packages. Same error as the following example of adding CSV - \*\*(@v1.5) pkg\>\*\* add CSV \*\*Resolving\*\* package versions... \*\*ERROR:\*\* KeyError:…

---

## [Put a heatmap into a mesh face](https://discourse.julialang.org/t/put-a-heatmap-into-a-mesh-face/55746)

<div class="topic-metadata">

**Author:** [@lazarusA](https://discourse.julialang.org/u/lazarusA)\
**Replies:** 3\
**Last updated:** [February 22, 2021, 2:41pm UTC](https://discourse.julialang.org/t/put-a-heatmap-into-a-mesh-face/55746 "2021-02-22T14:41:11Z")

</div>

The mesh function seems to be pretty fast, is there a way to include a heatmap like in the following example. Eventually I would like to have all faces with different colormaps. Any suggestions are welcome. using GLMa…

---

## [Dates.format broadcasting is slow](https://discourse.julialang.org/t/dates-format-broadcasting-is-slow/55778)

<div class="topic-metadata">

**Author:** [@bernhard](https://discourse.julialang.org/u/bernhard)\
**Replies:** 5\
**Last updated:** [February 22, 2021, 2:37pm UTC](https://discourse.julialang.org/t/dates-format-broadcasting-is-slow/55778 "2021-02-22T14:37:43Z")

</div>

In my use case below, Dates.format is rather slow when applied to a vector. I was wondering if there is a better way to broadcast this. I am well aware, that my custom function uses ‘additional knowledge’ (few unique …

---

## [Thread local storage is not implemented](https://discourse.julialang.org/t/thread-local-storage-is-not-implemented/46656)

<div class="topic-metadata">

**Author:** [@barrettp](https://discourse.julialang.org/u/barrettp)\
**Replies:** 4\
**Last updated:** [February 22, 2021, 12:53pm UTC](https://discourse.julialang.org/t/thread-local-storage-is-not-implemented/46656 "2021-02-22T12:53:50Z")

</div>

It would be nice to have “thread local storage” implemented at some point. It looks like it might be necessary for recursive kernel calls. I’m not really sure as I’m still rather new to CUDA programming.

---

## [Julia under languages with printf-formating](https://discourse.julialang.org/t/julia-under-languages-with-printf-formating/55755)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 2\
**Last updated:** [February 22, 2021, 12:14pm UTC](https://discourse.julialang.org/t/julia-under-languages-with-printf-formating/55755 "2021-02-22T12:14:02Z")

</div>

In the article printf format string - Wikipedia, under “Programming languages with printf”, I can’t see Julia. Shouldn’t it be added?

---

## [Parallel implementation of Transducers.jl](https://discourse.julialang.org/t/parallel-implementation-of-transducers-jl/55767)

<div class="topic-metadata">

**Author:** [@iHany](https://discourse.julialang.org/u/iHany)\
**Replies:** 1\
**Last updated:** [February 22, 2021, 9:55am UTC](https://discourse.julialang.org/t/parallel-implementation-of-transducers-jl/55767 "2021-02-22T09:55:14Z")

</div>

I’m developing a package for general-purpose simulator based on lazy evaluation using Transducers.jl. (For the background, take a look at this.) Now, I’m trying to implement Transducers.jl for parallel simulation. I’d…

---

## [How can I check out a pull request](https://discourse.julialang.org/t/how-can-i-check-out-a-pull-request/55771)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 5\
**Last updated:** [February 22, 2021, 11:50am UTC](https://discourse.julialang.org/t/how-can-i-check-out-a-pull-request/55771 "2021-02-22T11:50:11Z")

</div>

Hello, I want to check out the following pull request for testing: https://github.com/JuliaLang/julia/pull/39779 The following approaches failed: ufechner@TUD277255:~/repos/julia$ git checkout cf1226e55d033336f109ae0…

---

## [What is the interpretation of Turing's std, naive\_se, mcse?](https://discourse.julialang.org/t/what-is-the-interpretation-of-turings-std-naive-se-mcse/52252)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 2\
**Last updated:** [February 22, 2021, 10:06am UTC](https://discourse.julialang.org/t/what-is-the-interpretation-of-turings-std-naive-se-mcse/52252 "2021-02-22T10:06:22Z")

</div>

An MCMC chain summary gives Summary Statistics parameters mean std naive\_se mcse ess rhat Symbol Float64 Float64 Float64 Float64 Float64 Float64 What is the diffe…

---

## [Plotting distributions with StatsPlots in a for loop](https://discourse.julialang.org/t/plotting-distributions-with-statsplots-in-a-for-loop/55748)

<div class="topic-metadata">

**Author:** [@Storopoli](https://discourse.julialang.org/u/Storopoli)\
**Replies:** 7\
**Last updated:** [February 22, 2021, 10:25am UTC](https://discourse.julialang.org/t/plotting-distributions-with-statsplots-in-a-for-loop/55748 "2021-02-22T10:25:36Z")

</div>

Hey guys! I need to understand why this does not plot inside a for loop but does plot ok outside: using Distributions, StatsPlots dists = Iterators.product(0:1:2, 0:0.2:1) |\> collect for i in dists plot!(Normal(i…

---

## [MPI Permission denied](https://discourse.julialang.org/t/mpi-permission-denied/55760)

<div class="topic-metadata">

**Author:** [@hideakiv](https://discourse.julialang.org/u/hideakiv)\
**Replies:** 1\
**Last updated:** [February 22, 2021, 9:34am UTC](https://discourse.julialang.org/t/mpi-permission-denied/55760 "2021-02-22T09:34:47Z")

</div>

I am using MPI.jl and call the file in the REPL as follows. julia\> mpiexec(cmd -\>run(\`$cmd -np 2 $(Base.julia\_cmd()) $("script.jl")\`)) Sometimes, I get back the following error: ERROR: LoadError: SystemError: opening …

---

## [What's the best practice to avoid forcing users into adding specific fields of their struct?](https://discourse.julialang.org/t/whats-the-best-practice-to-avoid-forcing-users-into-adding-specific-fields-of-their-struct/55751)

<div class="topic-metadata">

**Author:** [@iHany](https://discourse.julialang.org/u/iHany)\
**Replies:** 5\
**Last updated:** [February 22, 2021, 7:01am UTC](https://discourse.julialang.org/t/whats-the-best-practice-to-avoid-forcing-users-into-adding-specific-fields-of-their-struct/55751 "2021-02-22T07:01:33Z")

</div>

I’d like to user-friendly interface in my simulator. So, I don’t wanna force users to add some specific struct fields. However, I encountered some issues in my usage pattern. For example, FymEnv is a type given by my …

---

## [Can't add any package](https://discourse.julialang.org/t/cant-add-any-package/55753)

<div class="topic-metadata">

**Author:** [@HoldenCaulfield](https://discourse.julialang.org/u/HoldenCaulfield)\
**Replies:** 4\
**Last updated:** [February 22, 2021, 5:14am UTC](https://discourse.julialang.org/t/cant-add-any-package/55753 "2021-02-22T05:14:35Z")

</div>

Hello. I suddenly realized that I cannot add any Julia packages. For instance, when I try using Pkg; Pkg.add("Revise") I get the following error (I have Julia 1.5.3 installed and been able to add packages a few days ago …

---

## [Julia.exe (portable 64 bit nightly and 1.6 rc) are infected?](https://discourse.julialang.org/t/julia-exe-portable-64-bit-nightly-and-1-6-rc-are-infected/55757)

<div class="topic-metadata">

**Author:** [@Humphrey\_Lee](https://discourse.julialang.org/u/Humphrey_Lee)\
**Replies:** 8\
**Last updated:** [February 22, 2021, 4:44am UTC](https://discourse.julialang.org/t/julia-exe-portable-64-bit-nightly-and-1-6-rc-are-infected/55757 "2021-02-22T04:44:10Z")

</div>

Tried couple downloads and running the julia.exe (1.6.0 rc and nightly - portable 64 bit versions) downloaded from julialang.org. Each time, the Symantec on my system (Win10) caught it with SONAR.Dropper (Trojan?). Pleas…

---

## [Mirroring signal before fft](https://discourse.julialang.org/t/mirroring-signal-before-fft/55749)

<div class="topic-metadata">

**Author:** [@chaseleslie](https://discourse.julialang.org/u/chaseleslie)\
**Replies:** 3\
**Last updated:** [February 22, 2021, 3:45am UTC](https://discourse.julialang.org/t/mirroring-signal-before-fft/55749 "2021-02-22T03:45:35Z")

</div>

I have inherited some code that mirrors a signal before taking the discrete Fourier transform of it, essentially like this: signal = vcat(reverse(signal), signal) # windowing and padding operations ... sig = fft(signal)…

---

## [Weird behavior in @cuda kernel dispatch](https://discourse.julialang.org/t/weird-behavior-in-cuda-kernel-dispatch/55724)

<div class="topic-metadata">

**Author:** [@Shuhua](https://discourse.julialang.org/u/Shuhua)\
**Replies:** 2\
**Last updated:** [February 22, 2021, 2:51am UTC](https://discourse.julialang.org/t/weird-behavior-in-cuda-kernel-dispatch/55724 "2021-02-22T02:51:21Z")

</div>

Consider the following dummy kernel function that accepts an argument of type CuVector. julia\> using CUDA julia\> function my\_kernel(v::CuVector) nothing end my\_kernel (generic function with 1 method) …

---

## [Simplest way to convert a program for parallel (multithreaded) runs on multiple servers/cores?](https://discourse.julialang.org/t/simplest-way-to-convert-a-program-for-parallel-multithreaded-runs-on-multiple-servers-cores/55363)

<div class="topic-metadata">

**Author:** [@CosmoProf](https://discourse.julialang.org/u/CosmoProf)\
**Replies:** 26\
**Last updated:** [February 22, 2021, 2:00am UTC](https://discourse.julialang.org/t/simplest-way-to-convert-a-program-for-parallel-multithreaded-runs-on-multiple-servers-cores/55363 "2021-02-22T02:00:25Z")

</div>

Hi again all, I am running a collection of programs doing intensive numerical calculations (e.g., ~1-2 days of runtime on a system with 64 GB of memory and CPU \> 2.1 GHz). I have an opportunity to save tremendous resour…

---

## [Displaying using Plotly() in VSCode](https://discourse.julialang.org/t/displaying-using-plotly-in-vscode/55754)

<div class="topic-metadata">

**Author:** [@loki](https://discourse.julialang.org/u/loki)\
**Replies:** 0\
**Last updated:** [February 22, 2021, 1:20am UTC](https://discourse.julialang.org/t/displaying-using-plotly-in-vscode/55754 "2021-02-22T01:20:57Z")

</div>

I recently stumbled across the plotly() backend for plots and like the functionality as it is very similar to Matlab. However, when I try to plot something from a script or the REPL using vscode on Linux, it always requi…

---

## [Debugging vscode language server issues?](https://discourse.julialang.org/t/debugging-vscode-language-server-issues/55645)

<div class="topic-metadata">

**Author:** [@marty0801](https://discourse.julialang.org/u/marty0801)\
**Replies:** 1\
**Last updated:** [February 22, 2021, 1:01am UTC](https://discourse.julialang.org/t/debugging-vscode-language-server-issues/55645 "2021-02-22T01:01:47Z")

</div>

It sometimes happens that “go to definition” in VSCode julia is unable to do so. (The fault is usually my own; it often happens when I’ve reorganized my code without running tests.) Is it possible view debug/logging outp…

---

## [Convert 2d matrix to 3d](https://discourse.julialang.org/t/convert-2d-matrix-to-3d/55752)

<div class="topic-metadata">

**Author:** [@stephenll](https://discourse.julialang.org/u/stephenll)\
**Replies:** 1\
**Last updated:** [February 22, 2021, 12:32am UTC](https://discourse.julialang.org/t/convert-2d-matrix-to-3d/55752 "2021-02-22T00:32:46Z")

</div>

I have a large matrix, n x m in size. I like to convert it to a 3d matrix, taking k rows at a time. n is always divisible by k. newmatrix’s dimensions should be ‘k x M x n/k’ newmatrix\[:,:,1\] .= bigmat\[1:k,:\] newmat…

---

## [Error using SplitODEProblem: type GMRESIterable has no field reltol](https://discourse.julialang.org/t/error-using-splitodeproblem-type-gmresiterable-has-no-field-reltol/55661)

<div class="topic-metadata">

**Author:** [@Bastien](https://discourse.julialang.org/u/Bastien)\
**Replies:** 7\
**Last updated:** [February 22, 2021, 12:29am UTC](https://discourse.julialang.org/t/error-using-splitodeproblem-type-gmresiterable-has-no-field-reltol/55661 "2021-02-22T00:29:29Z")

</div>

Hi, I have been trying to use a SplitODEProblem to solve the equations of motion of a pulse propagating along a transmission line but I get the following message: ERROR: LoadError: type GMRESIterable has no field relt…

---

## [First try seems a bit sluggish](https://discourse.julialang.org/t/first-try-seems-a-bit-sluggish/55741)

<div class="topic-metadata">

**Author:** [@FaradayEnt](https://discourse.julialang.org/u/FaradayEnt)\
**Replies:** 5\
**Last updated:** [February 21, 2021, 11:58pm UTC](https://discourse.julialang.org/t/first-try-seems-a-bit-sluggish/55741 "2021-02-21T23:58:26Z")

</div>

I’m an old ‘C’ programmer, but total NB here, so guess I’m doing something wrong. Would like to write an application requiring CSV file I/O so found the following sample code. I’m on Win 7, using 64 bit julia-1.5.3 dow…

---

## [Elliptical plot markers with specifiable height and width?](https://discourse.julialang.org/t/elliptical-plot-markers-with-specifiable-height-and-width/52109)

<div class="topic-metadata">

**Author:** [@forestacorn](https://discourse.julialang.org/u/forestacorn)\
**Replies:** 3\
**Last updated:** [February 21, 2021, 11:46pm UTC](https://discourse.julialang.org/t/elliptical-plot-markers-with-specifiable-height-and-width/52109 "2021-02-21T23:46:40Z")

</div>

I would like to create a plot using elliptical markers where the height and width of the elliptical marker can be specified, for each point in my case. My intention is for the height to represent standard deviation at t…

---

## [Non-escaping array buffer re-use and the sufficiently smart compiler](https://discourse.julialang.org/t/non-escaping-array-buffer-re-use-and-the-sufficiently-smart-compiler/55660)

<div class="topic-metadata">

**Author:** [@ToucheSir](https://discourse.julialang.org/u/ToucheSir)\
**Replies:** 11\
**Last updated:** [February 21, 2021, 11:49pm UTC](https://discourse.julialang.org/t/non-escaping-array-buffer-re-use-and-the-sufficiently-smart-compiler/55660 "2021-02-21T23:49:29Z")

</div>

This comes up pretty often in deep learning land because in-place operations do not generally please the AD framework. A quick demo: julia\> function test(n) a = ones(Int64, n, n) a = a .+ 2 …

---

## [New Pkg: how to check if a package is installed?](https://discourse.julialang.org/t/new-pkg-how-to-check-if-a-package-is-installed/13141)

<div class="topic-metadata">

**Author:** [@crbinz](https://discourse.julialang.org/u/crbinz)\
**Replies:** 4\
**Last updated:** [February 21, 2021, 11:09pm UTC](https://discourse.julialang.org/t/new-pkg-how-to-check-if-a-package-is-installed/13141 "2021-02-21T23:09:59Z")

</div>

For instance, if one wants to use OhMyREPL automatically upon startup, the docs say to put if isdir(Pkg.dir("OhMyREPL")) @eval using OhMyREPL else warn("OhMyREPL not installed") end into ~/.juliarc.jl. Putting …

---

## [Is there some syntax for passing a generator to a function taking variadic args? e](https://discourse.julialang.org/t/is-there-some-syntax-for-passing-a-generator-to-a-function-taking-variadic-args-e/55743)

<div class="topic-metadata">

**Author:** [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Replies:** 1\
**Last updated:** [February 21, 2021, 10:49pm UTC](https://discourse.julialang.org/t/is-there-some-syntax-for-passing-a-generator-to-a-function-taking-variadic-args-e/55743 "2021-02-21T22:49:23Z")

</div>

Is there some syntax for passing a generator to a function taking variadic args? e.g. hcat(\[i, i, i\] for i in 1:10) I know I can splat an array, but the intermediate array seems unnecessary hcat(\[\[i, i, i\[ for i in 1:…

---

## [Local scope in macro](https://discourse.julialang.org/t/local-scope-in-macro/55705)

<div class="topic-metadata">

**Author:** [@colinclout12](https://discourse.julialang.org/u/colinclout12)\
**Replies:** 13\
**Last updated:** [February 21, 2021, 10:47pm UTC](https://discourse.julialang.org/t/local-scope-in-macro/55705 "2021-02-21T22:47:32Z")

</div>

I’m trying to figure out how to make variables defined in a let expression be visible in a hygienic macro which is evaluated in that let expression. macro insertx(x) x end let y = 5 @insertx(y) end \>UndefVarError:…

---

## [\[ANN\] ExtremeLearning.jl](https://discourse.julialang.org/t/ann-extremelearning-jl/55723)

<div class="topic-metadata">

**Author:** [@gbaraldi](https://discourse.julialang.org/u/gbaraldi)\
**Replies:** 5\
**Last updated:** [February 21, 2021, 9:52pm UTC](https://discourse.julialang.org/t/ann-extremelearning-jl/55723 "2021-02-21T21:52:08Z")

</div>

Hi everyone!. I would like to announce my first package: ExtremeLearning.jl. For now it is a very simple framework for creating ELMs based on the now archived ELM.jl package. You can find a simple example of its usage …

---

## [\[GSoC 2021\] Few Shot Learning Algorithms](https://discourse.julialang.org/t/gsoc-2021-few-shot-learning-algorithms/48861)

<div class="topic-metadata">

**Author:** [@rakesh4real](https://discourse.julialang.org/u/rakesh4real)\
**Replies:** 2\
**Last updated:** [February 21, 2021, 9:35pm UTC](https://discourse.julialang.org/t/gsoc-2021-few-shot-learning-algorithms/48861 "2021-02-21T21:35:14Z")

</div>

Hi, I want to work on a long-term project in few shot learning algorithms encompassing various techniques and architectures ranging from siamese networks to neural turing machines to meta-learners in Julia for at least 2…

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

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