# Latest

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

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

**Page:** 1625

---

## [Add mesh to gadfly spy plot](https://discourse.julialang.org/t/add-mesh-to-gadfly-spy-plot/47033)

<div class="topic-metadata">

**Author:** [@Igor\_Douven](https://discourse.julialang.org/u/Igor_Douven)\
**Replies:** 0\
**Last updated:** [September 21, 2020, 7:06pm UTC](https://discourse.julialang.org/t/add-mesh-to-gadfly-spy-plot/47033 "2020-09-21T19:06:51Z")

</div>

Hi all, I’m trying to add a mesh grid to a Gadfly spy plot. I thought that I might be able to define a grid and add this as a layer to the plot, but that doesn’t work (or I’m doing something wrong). Does anyone know whe…

---

## [Scattered Atomic Writes Into Array](https://discourse.julialang.org/t/scattered-atomic-writes-into-array/46990)

<div class="topic-metadata">

**Author:** [@cshenton](https://discourse.julialang.org/u/cshenton)\
**Replies:** 6\
**Last updated:** [September 21, 2020, 3:41pm UTC](https://discourse.julialang.org/t/scattered-atomic-writes-into-array/46990 "2020-09-21T15:41:06Z")

</div>

I’m porting some OpenCL code that does scattered atomic writes. These writes are quite sparse, meaning that threads rarely try to write cache lines at the same time. I’m trying to figure out how to do this in Julia but …

---

## [GP-LVM with Turing?](https://discourse.julialang.org/t/gp-lvm-with-turing/47007)

<div class="topic-metadata">

**Author:** [@opera\_malenky](https://discourse.julialang.org/u/opera_malenky)\
**Replies:** 5\
**Last updated:** [September 21, 2020, 5:52pm UTC](https://discourse.julialang.org/t/gp-lvm-with-turing/47007 "2020-09-21T17:52:54Z")

</div>

I saw some of the recent posts these last few weeks about implementing gaussian processes in Turing. I’ve really been wanting to play around with GP-LVMs for a while (in particular, as part of a larger model), so I took …

---

## [I thought I understood "pass-by-sharing" in Julia until I found this](https://discourse.julialang.org/t/i-thought-i-understood-pass-by-sharing-in-julia-until-i-found-this/46897)

<div class="topic-metadata">

**Author:** [@pauljurczak](https://discourse.julialang.org/u/pauljurczak)\
**Replies:** 21\
**Last updated:** [September 21, 2020, 4:12pm UTC](https://discourse.julialang.org/t/i-thought-i-understood-pass-by-sharing-in-julia-until-i-found-this/46897 "2020-09-21T16:12:43Z")

</div>

Here is a snippet from “Julia 1.0 Programming Complete Reference Guide”: anon = Array{Any}(undef, 2) for i = 1:2 anon\[i\] = ()-\> println(i) i += 1 end Can someone explain or point me to explanation why julia\> anon\[…

---

## [Simultanious system equation evaluation](https://discourse.julialang.org/t/simultanious-system-equation-evaluation/46065)

<div class="topic-metadata">

**Author:** [@gpetrini](https://discourse.julialang.org/u/gpetrini)\
**Replies:** 12\
**Last updated:** [September 21, 2020, 5:17pm UTC](https://discourse.julialang.org/t/simultanious-system-equation-evaluation/46065 "2020-09-21T17:17:20Z")

</div>

Hi every one, I am really new to Julia and I would like to evaluate a dynamic system like this one: Y(t) = C(t) + I(t) + Z C(t) = c\*Y(t) I(t) = h\*Y(t) Z = 100; c=0.7; h = 0.2; T = 100 There is a simple way (without for…

---

## [String Indexing - Alright, what am I missing?](https://discourse.julialang.org/t/string-indexing-alright-what-am-i-missing/47018)

<div class="topic-metadata">

**Author:** [@SergeantMike67](https://discourse.julialang.org/u/SergeantMike67)\
**Replies:** 4\
**Last updated:** [September 21, 2020, 4:47pm UTC](https://discourse.julialang.org/t/string-indexing-alright-what-am-i-missing/47018 "2020-09-21T16:47:48Z")

</div>

Quite new to Julia and am coming from a VBA background mostly Given that I am curious as to why in this code ‘h’ starts on the second letter of the string while ‘v’ starts with the first s1 = “ACGTACT” s2 = “ACTACGT” …

---

## [Using IOBuffer with append](https://discourse.julialang.org/t/using-iobuffer-with-append/47010)

<div class="topic-metadata">

**Author:** [@anon60034542](https://discourse.julialang.org/u/anon60034542)\
**Replies:** 13\
**Last updated:** [September 21, 2020, 4:45pm UTC](https://discourse.julialang.org/t/using-iobuffer-with-append/47010 "2020-09-21T16:45:08Z")

</div>

I’m reading the documentation on IOBuffer, but I can’t seem to get it to function with append. I know I might be making a foolish mistake but I can’t seem to find it. io = IOBuffer(); write(io, "JuliaLang is a GitHub or…

---

## [Readtable function](https://discourse.julialang.org/t/readtable-function/46961)

<div class="topic-metadata">

**Author:** [@Mun\_Barimukh](https://discourse.julialang.org/u/Mun_Barimukh)\
**Replies:** 7\
**Last updated:** [September 21, 2020, 4:29pm UTC](https://discourse.julialang.org/t/readtable-function/46961 "2020-09-21T16:29:15Z")

</div>

I am trying to use “readtable” function in Julia 1.5.0. It shows that “readtable” is not found. What to do? Kindly help me out.

---

## [Help speeding up and reducing numerical errors for simple epidemic model with Turing.jl](https://discourse.julialang.org/t/help-speeding-up-and-reducing-numerical-errors-for-simple-epidemic-model-with-turing-jl/46614)

<div class="topic-metadata">

**Author:** [@MFairley](https://discourse.julialang.org/u/MFairley)\
**Replies:** 9\
**Last updated:** [September 21, 2020, 3:42pm UTC](https://discourse.julialang.org/t/help-speeding-up-and-reducing-numerical-errors-for-simple-epidemic-model-with-turing-jl/46614 "2020-09-21T15:42:26Z")

</div>

I’m trying to fit a simple epidemic model that starts at some unknown time and then the prevalence of infection progresses according to a logistic curve. The data provided are Binomial with a known sample size. I generat…

---

## [Disappointed in Julia community](https://discourse.julialang.org/t/disappointed-in-julia-community/47019)

<div class="topic-metadata">

**Author:** [@chakravala](https://discourse.julialang.org/u/chakravala)\
**Replies:** 0\
**Last updated:** [September 21, 2020, 3:43pm UTC](https://discourse.julialang.org/t/disappointed-in-julia-community/47019 "2020-09-21T15:43:23Z")

</div>

I’m a bit disappointed in the Julia community. I have given thousands of hours of free development time to enable hundreds of Julia users and developers around the world to try new things. For example, I envisioned and …

---

## [How to smartly rewrite DataFrames type columns](https://discourse.julialang.org/t/how-to-smartly-rewrite-dataframes-type-columns/46985)

<div class="topic-metadata">

**Author:** [@mitsuruk](https://discourse.julialang.org/u/mitsuruk)\
**Replies:** 2\
**Last updated:** [September 21, 2020, 3:27pm UTC](https://discourse.julialang.org/t/how-to-smartly-rewrite-dataframes-type-columns/46985 "2020-09-21T15:27:32Z")

</div>

Hi, Julian wizard people. I want to rewrite the data in the DataFrames column. It works fine for now, but I don’t like this writing method because it’s not smart. The same description is repeated. Is there a simpler,…

---

## [Trying to run ARM based GLPK solver using JuMP on a RaspbaerryPi](https://discourse.julialang.org/t/trying-to-run-arm-based-glpk-solver-using-jump-on-a-raspbaerrypi/46716)

<div class="topic-metadata">

**Author:** [@BenjaminBastidas](https://discourse.julialang.org/u/BenjaminBastidas)\
**Replies:** 11\
**Last updated:** [September 21, 2020, 3:24pm UTC](https://discourse.julialang.org/t/trying-to-run-arm-based-glpk-solver-using-jump-on-a-raspbaerrypi/46716 "2020-09-21T15:24:35Z")

</div>

Hi everyone, first time posting, I have a problem I need help with, hope someone can help me. What I’m trying to do is to run an optimization problem using a RaspberryPi 4. To accomplish this I’m using JuMP and GLPK sol…

---

## [Any significant difference between string, \*, and interpolation for concatenation?](https://discourse.julialang.org/t/any-significant-difference-between-string-and-interpolation-for-concatenation/46977)

<div class="topic-metadata">

**Author:** [@anon60034542](https://discourse.julialang.org/u/anon60034542)\
**Replies:** 6\
**Last updated:** [September 21, 2020, 3:01pm UTC](https://discourse.julialang.org/t/any-significant-difference-between-string-and-interpolation-for-concatenation/46977 "2020-09-21T15:01:11Z")

</div>

I’m writing some training material, and I was wondering if there is any difference between the three methods for concatenation that I should be aware of? The most easiest way to do it is: greet = "Hello" whom = "World"…

---

## [LibCURL.jl/Pkg.jl without SSL](https://discourse.julialang.org/t/libcurl-jl-pkg-jl-without-ssl/47015)

<div class="topic-metadata">

**Author:** [@madprogrammer](https://discourse.julialang.org/u/madprogrammer)\
**Replies:** 0\
**Last updated:** [September 21, 2020, 2:58pm UTC](https://discourse.julialang.org/t/libcurl-jl-pkg-jl-without-ssl/47015 "2020-09-21T14:58:06Z")

</div>

I am running julia on a machine with issues downloading artifacts from github due to SSL errors. Is there any way to ignore SSL?

---

## [Macros not imported within blocks](https://discourse.julialang.org/t/macros-not-imported-within-blocks/47009)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 1\
**Last updated:** [September 21, 2020, 2:51pm UTC](https://discourse.julialang.org/t/macros-not-imported-within-blocks/47009 "2020-09-21T14:51:04Z")

</div>

I find that macros are not imported if the package defining the macros are imported within a block. For example, importing Printf and using the macro @printf by if true using Printf @printf("test") end produce…

---

## [Spindle : Scalable Parallel Input Network for Dynamic Load Environments](https://discourse.julialang.org/t/spindle-scalable-parallel-input-network-for-dynamic-load-environments/47013)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 0\
**Last updated:** [September 21, 2020, 2:37pm UTC](https://discourse.julialang.org/t/spindle-scalable-parallel-input-network-for-dynamic-load-environments/47013 "2020-09-21T14:37:08Z")

</div>

From Todd Gamblin on Twitter: I keep reading papers saying containers are the only path to scalable python/shared lib loading. Large HPC jobs can DDOS filesystems by loading many libs/.py files. Spindle solves this gene…

---

## [How is the adoption of Julia at MIT?](https://discourse.julialang.org/t/how-is-the-adoption-of-julia-at-mit/46972)

<div class="topic-metadata">

**Author:** [@Yifan\_Liu](https://discourse.julialang.org/u/Yifan_Liu)\
**Replies:** 8\
**Last updated:** [September 21, 2020, 2:32pm UTC](https://discourse.julialang.org/t/how-is-the-adoption-of-julia-at-mit/46972 "2020-09-21T14:32:56Z")

</div>

My personal understanding is that Julia has a deep root at MIT. Are there a lot of guys at MIT converting to Julia from other languages? Just curious about that.

---

## [Broadcasting function over array of structs?](https://discourse.julialang.org/t/broadcasting-function-over-array-of-structs/47005)

<div class="topic-metadata">

**Author:** [@kapple](https://discourse.julialang.org/u/kapple)\
**Replies:** 2\
**Last updated:** [September 21, 2020, 1:45pm UTC](https://discourse.julialang.org/t/broadcasting-function-over-array-of-structs/47005 "2020-09-21T13:45:28Z")

</div>

Hi all, I’m trying to optimize my code by implementing structs instead of just variables. This means changing my functions to receive structs instead of those variables, and I’m trying to broadcast over a particular str…

---

## [PortAudio.jl does not work well with Gtk.jl](https://discourse.julialang.org/t/portaudio-jl-does-not-work-well-with-gtk-jl/47003)

<div class="topic-metadata">

**Author:** [@kogad](https://discourse.julialang.org/u/kogad)\
**Replies:** 1\
**Last updated:** [September 21, 2020, 1:21pm UTC](https://discourse.julialang.org/t/portaudio-jl-does-not-work-well-with-gtk-jl/47003 "2020-09-21T13:21:51Z")

</div>

Hi, I am trying to develop a gui app for real time audio processing using PortAudio.jl and Gtk.jl. The following code is for just recording and playing back. using PortAudio # using Gtk stream = PortAudioStream(1, 2) …

---

## [How to retrieve indices from bioalignments?](https://discourse.julialang.org/t/how-to-retrieve-indices-from-bioalignments/47002)

<div class="topic-metadata">

**Author:** [@Entangler](https://discourse.julialang.org/u/Entangler)\
**Replies:** 1\
**Last updated:** [September 21, 2020, 1:12pm UTC](https://discourse.julialang.org/t/how-to-retrieve-indices-from-bioalignments/47002 "2020-09-21T13:12:15Z")

</div>

I am wondering how I can get sequence indices from a BioAlignments.jl alignment. The pairalign function returns an object from which I can get the sequences of the aligned region and the score. And while the function pri…

---

## [Load sysimage project dependent (in Atom/VSCode)](https://discourse.julialang.org/t/load-sysimage-project-dependent-in-atom-vscode/46995)

<div class="topic-metadata">

**Author:** [@SteffenPL](https://discourse.julialang.org/u/SteffenPL)\
**Replies:** 1\
**Last updated:** [September 21, 2020, 11:23am UTC](https://discourse.julialang.org/t/load-sysimage-project-dependent-in-atom-vscode/46995 "2020-09-21T11:23:14Z")

</div>

Is it possible to load sysimages project dependent, in the following sense: If the project folder contains a sysimage, then the sysimage is loaded, otherwise not. I would know how to do this via scripts, but I don’t kn…

---

## [Get active sysimage](https://discourse.julialang.org/t/get-active-sysimage/46992)

<div class="topic-metadata">

**Author:** [@oschulz](https://discourse.julialang.org/u/oschulz)\
**Replies:** 2\
**Last updated:** [September 21, 2020, 11:10am UTC](https://discourse.julialang.org/t/get-active-sysimage/46992 "2020-09-21T11:10:12Z")

</div>

Is there a way to get the path of the active sysimage?

---

## [@showln in Base?](https://discourse.julialang.org/t/showln-in-base/46957)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 10\
**Last updated:** [September 21, 2020, 10:40am UTC](https://discourse.julialang.org/t/showln-in-base/46957 "2020-09-21T10:40:08Z")

</div>

Hi, I found the @tim.holy’s @showln macro pretty useful and I wonder if it should be included into Base ?

---

## [Want to use a function like numpy.broadcast\_to()](https://discourse.julialang.org/t/want-to-use-a-function-like-numpy-broadcast-to/46984)

<div class="topic-metadata">

**Author:** [@abap34](https://discourse.julialang.org/u/abap34)\
**Replies:** 8\
**Last updated:** [September 21, 2020, 10:30am UTC](https://discourse.julialang.org/t/want-to-use-a-function-like-numpy-broadcast-to/46984 "2020-09-21T10:30:07Z")

</div>

I’m porting some Python code to Julia, and I’d like to use the equivalent of the numpy.broadcast\_to() function in it. An idea I’ve tried. Given an Array x and a Tuple shape, Use x .+ zeros(shape) instead of broadcast…

---

## [How to set up convolution layers in Knet.jl vs Flux.jl?](https://discourse.julialang.org/t/how-to-set-up-convolution-layers-in-knet-jl-vs-flux-jl/46983)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 1\
**Last updated:** [September 21, 2020, 9:30am UTC](https://discourse.julialang.org/t/how-to-set-up-convolution-layers-in-knet-jl-vs-flux-jl/46983 "2020-09-21T09:30:34Z")

</div>

I have trouble understaind the Knet.jl docs For example conv4(w, x; kwargs...) Execute convolutions or cross-correlations using filters specified with w over tensor x. If w has dimensions (W1,W2,...,Cx,Cy) and x has d…

---

## [Comparison of languages for parallel computing tasks](https://discourse.julialang.org/t/comparison-of-languages-for-parallel-computing-tasks/46806)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 11\
**Last updated:** [September 21, 2020, 9:11am UTC](https://discourse.julialang.org/t/comparison-of-languages-for-parallel-computing-tasks/46806 "2020-09-21T09:11:40Z")

</div>

The paper https://www.sciencedirect.com/science/article/abs/pii/S2210650220303734 https://lilloa.univ-lille.fr/handle/20.500.12210/29528 compares Chapel, Python, and Julia. For reasons that are at this point not crisp…

---

## [CUDA Array broadcasting: possible to use a different stream for a code block?](https://discourse.julialang.org/t/cuda-array-broadcasting-possible-to-use-a-different-stream-for-a-code-block/46845)

<div class="topic-metadata">

**Author:** [@samo](https://discourse.julialang.org/u/samo)\
**Replies:** 2\
**Last updated:** [September 21, 2020, 8:31am UTC](https://discourse.julialang.org/t/cuda-array-broadcasting-possible-to-use-a-different-stream-for-a-code-block/46845 "2020-09-21T08:31:28Z")

</div>

I am wondering if it is possible somehow to specify the stream for a code block with array computations that rely on CuArray’s broadcasting capability as e.g. A .= A .+ B in this snippet: using CUDA A = CUDA.zeros(2,3) …

---

## [I'm learning Julia through developing a project, feel free to review!](https://discourse.julialang.org/t/im-learning-julia-through-developing-a-project-feel-free-to-review/46979)

<div class="topic-metadata">

**Author:** [@kapple](https://discourse.julialang.org/u/kapple)\
**Replies:** 3\
**Last updated:** [September 21, 2020, 8:30am UTC](https://discourse.julialang.org/t/im-learning-julia-through-developing-a-project-feel-free-to-review/46979 "2020-09-21T08:30:33Z")

</div>

Hi all, Just wanted to put myself out there through advertising one of the projects I’m working on. I’m not sure if this is an appropriate place to promote this, if so feel free to remove this post. In just a few month…

---

## [How to connect gaps when Plotting](https://discourse.julialang.org/t/how-to-connect-gaps-when-plotting/46834)

<div class="topic-metadata">

**Author:** [@CaoHua](https://discourse.julialang.org/u/CaoHua)\
**Replies:** 2\
**Last updated:** [September 21, 2020, 3:55am UTC](https://discourse.julialang.org/t/how-to-connect-gaps-when-plotting/46834 "2020-09-21T03:55:21Z")

</div>

Dears, How can I plot a line chart with no gaps (missing values)? I want the gaps (missing values) in the provided data arrays are connected. I am using Plots to draw the line chart. Many thanks for your help. Best …

---

## [Range with end](https://discourse.julialang.org/t/range-with-end/46971)

<div class="topic-metadata">

**Author:** [@pauljurczak](https://discourse.julialang.org/u/pauljurczak)\
**Replies:** 7\
**Last updated:** [September 21, 2020, 6:09am UTC](https://discourse.julialang.org/t/range-with-end/46971 "2020-09-21T06:09:28Z")

</div>

This works as expected: b = rand(10) b\[2:end\] view(b, 2:10) but not this: julia\> view(b, 2:end) ERROR: syntax: missing last argument in "1:" range expression Do I really have to use: view(b, 2:length(b)) Is there …

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

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