# Latest

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

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

**Page:** 1925

---

## [ANN: Juno 0.10](https://discourse.julialang.org/t/ann-juno-0-10/28385)

<div class="topic-metadata">

**Author:** [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Replies:** 12\
**Last updated:** [September 8, 2019, 7:53pm UTC](https://discourse.julialang.org/t/ann-juno-0-10/28385 "2019-09-08T19:53:11Z")

</div>

Hi all, Juno 0.10 is out and brings you lots of bugfixes, improvements, and some exciting new features. Big thanks to @aviatesk for all his work on Juno in the last months! Release notes New features Auto-completions …

---

## [FM demodulation](https://discourse.julialang.org/t/fm-demodulation/27604)

<div class="topic-metadata">

**Author:** [@Alexander-Barth](https://discourse.julialang.org/u/Alexander-Barth)\
**Replies:** 5\
**Last updated:** [September 8, 2019, 6:53pm UTC](https://discourse.julialang.org/t/fm-demodulation/27604 "2019-09-08T18:53:10Z")

</div>

Does Julia have a FM demodulation function? My plan is to process data from a software-defined radio (SDR). Would it be a suitable contribution for the DSP.jl package, if such a function does not jet exists for julia?

---

## [Does CSV.read() block the file? IS there XLSX.close(), since XLSX.Open() exist](https://discourse.julialang.org/t/does-csv-read-block-the-file-is-there-xlsx-close-since-xlsx-open-exist/28484)

<div class="topic-metadata">

**Author:** [@BMval](https://discourse.julialang.org/u/BMval)\
**Replies:** 2\
**Last updated:** [September 8, 2019, 5:55pm UTC](https://discourse.julialang.org/t/does-csv-read-block-the-file-is-there-xlsx-close-since-xlsx-open-exist/28484 "2019-09-08T17:55:28Z")

</div>

Does CSV.read() block the file? It seems that yes? how to unblock? The same question about XLSX.open() Thank you in advance.

---

## [Use linear interpolation between two LLA coordinate system points](https://discourse.julialang.org/t/use-linear-interpolation-between-two-lla-coordinate-system-points/28296)

<div class="topic-metadata">

**Author:** [@bsnyh](https://discourse.julialang.org/u/bsnyh)\
**Replies:** 8\
**Last updated:** [September 8, 2019, 5:00pm UTC](https://discourse.julialang.org/t/use-linear-interpolation-between-two-lla-coordinate-system-points/28296 "2019-09-08T17:00:43Z")

</div>

I have the following simple piece of code to find the position between two coordinate points using linear interpolation. I’m not sure if this is a good / feasible solution or not. So what do you think? mutable struct LL…

---

## [Converting a Matrix to a DataFrame](https://discourse.julialang.org/t/converting-a-matrix-to-a-dataframe/6114)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 4\
**Last updated:** [September 8, 2019, 4:05pm UTC](https://discourse.julialang.org/t/converting-a-matrix-to-a-dataframe/6114 "2019-09-08T16:05:14Z")

</div>

I am struggling to convert a Matrix where I have the first row as header and possible NA values in a DataFrame. Actually I did find at least two ways, and the resulting df seems ok, but in reality the individual columns…

---

## [Using Dict as value in another dict](https://discourse.julialang.org/t/using-dict-as-value-in-another-dict/28543)

<div class="topic-metadata">

**Author:** [@hasanOryx](https://discourse.julialang.org/u/hasanOryx)\
**Replies:** 1\
**Last updated:** [September 8, 2019, 3:09pm UTC](https://discourse.julialang.org/t/using-dict-as-value-in-another-dict/28543 "2019-09-08T15:09:21Z")

</div>

I’m trying to use Dict as values in another Dict so I wrote the below code, that failed as shown in the comments: fruits = \["apple", "orange", "banana"\] #= 3-element Array{String,1}: "apple" "orange" "banana" =# fru…

---

## [\[ANN\] Glo.jl](https://discourse.julialang.org/t/ann-glo-jl/28540)

<div class="topic-metadata">

**Author:** [@BeastyBlacksmith](https://discourse.julialang.org/u/BeastyBlacksmith)\
**Replies:** 0\
**Last updated:** [September 8, 2019, 12:47pm UTC](https://discourse.julialang.org/t/ann-glo-jl/28540 "2019-09-08T12:47:17Z")

</div>

For those who always wanted to write a Glo board radio in julia, rescue has come! Glo.jl wraps the Glo board web API. Endpoints become functions, if IDs are involved you have to wrap them in the corresponding ID type a…

---

## [Pushing values to dic](https://discourse.julialang.org/t/pushing-values-to-dic/28537)

<div class="topic-metadata">

**Author:** [@hasanOryx](https://discourse.julialang.org/u/hasanOryx)\
**Replies:** 7\
**Last updated:** [September 8, 2019, 11:54am UTC](https://discourse.julialang.org/t/pushing-values-to-dic/28537 "2019-09-08T11:54:02Z")

</div>

I’ve the below code: dict = Dict{Int64, Vector{Float64}}() files = filter(x-\>endswith(x, ".pdf"), readdir()) for (i, f) in enumerate(files) push!(dict\[i\], f) end But I got the below error: KeyError: key 5 not …

---

## [Announcing \`PolyChaos.jl\`](https://discourse.julialang.org/t/announcing-polychaos-jl/21069)

<div class="topic-metadata">

**Author:** [@timueh](https://discourse.julialang.org/u/timueh)\
**Replies:** 12\
**Last updated:** [September 8, 2019, 11:41am UTC](https://discourse.julialang.org/t/announcing-polychaos-jl/21069 "2019-09-08T11:41:10Z")

</div>

I am happy to announce PolyChaos.jl, a collection of functions for orthogonal polynomials, quadrature rules, and polynomial chaos expansions. What’s the idea? Let’s say you have some non-negative function w: \\Omega \\lo…

---

## [Grouping RegexMatch](https://discourse.julialang.org/t/grouping-regexmatch/28509)

<div class="topic-metadata">

**Author:** [@hasanOryx](https://discourse.julialang.org/u/hasanOryx)\
**Replies:** 3\
**Last updated:** [September 8, 2019, 11:38am UTC](https://discourse.julialang.org/t/grouping-regexmatch/28509 "2019-09-08T11:38:44Z")

</div>

I’m trying to read this file, and find how many time the following words appear: file: What's in a name? That which we call a rose By any other name would smell as sweet! rose :) Words to be found: rose' and sweet\` so…

---

## [How do make a string from pointer to a piece memory that is in the format of a string?](https://discourse.julialang.org/t/how-do-make-a-string-from-pointer-to-a-piece-memory-that-is-in-the-format-of-a-string/28534)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 0\
**Last updated:** [September 8, 2019, 10:10am UTC](https://discourse.julialang.org/t/how-do-make-a-string-from-pointer-to-a-piece-memory-that-is-in-the-format-of-a-string/28534 "2019-09-08T10:10:35Z")

</div>

I am writing a fast serializer of strings onto disk. What I found was that a String’s memory structure is very simple. It’s basically a UInt64 followed by bytes. The first UInt64 indicates the length of the string, and t…

---

## [CUDAnative , performance drop after several timesteps](https://discourse.julialang.org/t/cudanative-performance-drop-after-several-timesteps/28495)

<div class="topic-metadata">

**Author:** [@YJC](https://discourse.julialang.org/u/YJC)\
**Replies:** 5\
**Last updated:** [September 8, 2019, 7:43am UTC](https://discourse.julialang.org/t/cudanative-performance-drop-after-several-timesteps/28495 "2019-09-08T07:43:33Z")

</div>

Hi all, I am building up a time marching simulation via using CUDAnative, I found that after several time steps , the performance drop significantly. If I “synchronize” all the thread at some point, the performance was…

---

## [Way to open up a folder window for a cd command?](https://discourse.julialang.org/t/way-to-open-up-a-folder-window-for-a-cd-command/28499)

<div class="topic-metadata">

**Author:** [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Replies:** 2\
**Last updated:** [September 8, 2019, 6:27am UTC](https://discourse.julialang.org/t/way-to-open-up-a-folder-window-for-a-cd-command/28499 "2019-09-08T06:27:57Z")

</div>

If I am running a short script (no modules) and I want to be in a particular directory for running that script, I usually cd into the directory when I start working. I use iterm on mac for my Julia coding right now. Is …

---

## [Difference between \`f(x::Vector{T\<:Integer})\` and \`f(x::Vector{T}) where T\<:Integer\`](https://discourse.julialang.org/t/difference-between-f-x-vector-t-integer-and-f-x-vector-t-where-t-integer/28513)

<div class="topic-metadata">

**Author:** [@mirek](https://discourse.julialang.org/u/mirek)\
**Replies:** 3\
**Last updated:** [September 8, 2019, 3:18am UTC](https://discourse.julialang.org/t/difference-between-f-x-vector-t-integer-and-f-x-vector-t-where-t-integer/28513 "2019-09-08T03:18:27Z")

</div>

Hi, I’m in the middle of reading the manual top-to-bottom and I can’t grasp the difference between: f(xs::Vector{\<:Integer}) = “foo” and: f(xs::Vector{T}) where T\<:Integer = “bar” Can anybody help me out? Are th…

---

## [Using JuMP issue - ERROR: LoadError: syntax: malformed "import" statement](https://discourse.julialang.org/t/using-jump-issue-error-loaderror-syntax-malformed-import-statement/28518)

<div class="topic-metadata">

**Author:** [@plebedev](https://discourse.julialang.org/u/plebedev)\
**Replies:** 1\
**Last updated:** [September 7, 2019, 10:07pm UTC](https://discourse.julialang.org/t/using-jump-issue-error-loaderror-syntax-malformed-import-statement/28518 "2019-09-07T22:07:30Z")

</div>

Hi All, I have the following issue when I try to import JuMP (I use Julia 1.2) julia\> using JuMP \[ Info: Precompiling JuMP \[4076af6c-e467-56ae-b986-b466b2749572\] ERROR: LoadError: syntax: malformed "import" statement S…

---

## [How to change the name of a variable in a for loop](https://discourse.julialang.org/t/how-to-change-the-name-of-a-variable-in-a-for-loop/28510)

<div class="topic-metadata">

**Author:** [@trean024](https://discourse.julialang.org/u/trean024)\
**Replies:** 2\
**Last updated:** [September 7, 2019, 7:53pm UTC](https://discourse.julialang.org/t/how-to-change-the-name-of-a-variable-in-a-for-loop/28510 "2019-09-07T19:53:31Z")

</div>

I would like to change the name of a variable within a for loop, using the loop index in the name of the variable. I’ve tried the following syntax: A= \[1,2,3\] nargs = length(A) for i = 1:nargs global x{i} x{i}=…

---

## [Exit on first @test failure in @testset](https://discourse.julialang.org/t/exit-on-first-test-failure-in-testset/28496)

<div class="topic-metadata">

**Author:** [@milesf](https://discourse.julialang.org/u/milesf)\
**Replies:** 3\
**Last updated:** [September 7, 2019, 6:52pm UTC](https://discourse.julialang.org/t/exit-on-first-test-failure-in-testset/28496 "2019-09-07T18:52:44Z")

</div>

I am running package tests, and would like to save time and console spam by just exiting upon the first failure. The Test documentation hints that this may be possible. There’s an exit\_on\_error option, although that see…

---

## [@distributed macro in Float64 instead of Float32](https://discourse.julialang.org/t/distributed-macro-in-float64-instead-of-float32/28476)

<div class="topic-metadata">

**Author:** [@sergevic](https://discourse.julialang.org/u/sergevic)\
**Replies:** 2\
**Last updated:** [September 7, 2019, 6:23pm UTC](https://discourse.julialang.org/t/distributed-macro-in-float64-instead-of-float32/28476 "2019-09-07T18:23:20Z")

</div>

I have the following code in Julia 1.1: using Pkg; Pkg.activate(".") using Distributed using Distributions addprocs(3, exeflags="--project=.") @everywhere using Distributions samples=map(x-\>sample(1:5,5),1:5) prop=(@di…

---

## [Overriding BinaryProvider download to use local/custom build?](https://discourse.julialang.org/t/overriding-binaryprovider-download-to-use-local-custom-build/28498)

<div class="topic-metadata">

**Author:** [@oschulz](https://discourse.julialang.org/u/oschulz)\
**Replies:** 7\
**Last updated:** [September 7, 2019, 5:41pm UTC](https://discourse.julialang.org/t/overriding-binaryprovider-download-to-use-local-custom-build/28498 "2019-09-07T17:41:11Z")

</div>

Is there a standard way of overriding BinaryProviders download mechanism and make it use a custom build? I’ve encountered two cases where that would be very valuable: A custom build is necessary (e.g. I may need to bu…

---

## [ERROR: LoadError: UndefVarError: ffmpeg not defined](https://discourse.julialang.org/t/error-loaderror-undefvarerror-ffmpeg-not-defined/28507)

<div class="topic-metadata">

**Author:** [@hasanOryx](https://discourse.julialang.org/u/hasanOryx)\
**Replies:** 0\
**Last updated:** [September 7, 2019, 5:18pm UTC](https://discourse.julialang.org/t/error-loaderror-undefvarerror-ffmpeg-not-defined/28507 "2019-09-07T17:18:43Z")

</div>

While installing some graphic packages like Plots and StatPlots I got this error, knowing that I already downloaded FFMPEG and added it to my path. I’m working at Win10.

---

## [What does partialsortperm! do?](https://discourse.julialang.org/t/what-does-partialsortperm-do/25656)

<div class="topic-metadata">

**Author:** [@dkarrasch](https://discourse.julialang.org/u/dkarrasch)\
**Replies:** 10\
**Last updated:** [September 7, 2019, 5:04pm UTC](https://discourse.julialang.org/t/what-does-partialsortperm-do/25656 "2019-09-07T17:04:52Z")

</div>

Judging by the docstring, I thought partialsortperm! would do the same as partialsortperm, just that it writes the permutation vector into the preallocated vector. Let’s see: julia\> x = rand(10) 10-element Array{Float64…

---

## [How to load CSV file at Jupyterlab](https://discourse.julialang.org/t/how-to-load-csv-file-at-jupyterlab/28501)

<div class="topic-metadata">

**Author:** [@hasanOryx](https://discourse.julialang.org/u/hasanOryx)\
**Replies:** 6\
**Last updated:** [September 7, 2019, 4:09pm UTC](https://discourse.julialang.org/t/how-to-load-csv-file-at-jupyterlab/28501 "2019-09-07T16:09:14Z")

</div>

I’m trying both file reading and Jupyter for the first time, and need to try opening, reading and amending (writing back) to csv file, can any one provide or guide me for an example/tutorial to start with. thanks

---

## [Where is startup.jl (v1.2)?](https://discourse.julialang.org/t/where-is-startup-jl-v1-2/28503)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 2\
**Last updated:** [September 7, 2019, 3:16pm UTC](https://discourse.julialang.org/t/where-is-startup-jl-v1-2/28503 "2019-09-07T15:16:20Z")

</div>

I was reading a thread that shows how to add things like Revise and OhMyREPL to your startup.jl file so that they are available upon starting Julia but I can’t find my startup.jl file. I am running Julia 1.2 on Windows 1…

---

## [Expediting \`using\` at Jupyter](https://discourse.julialang.org/t/expediting-using-at-jupyter/28502)

<div class="topic-metadata">

**Author:** [@hasanOryx](https://discourse.julialang.org/u/hasanOryx)\
**Replies:** 1\
**Last updated:** [September 7, 2019, 3:09pm UTC](https://discourse.julialang.org/t/expediting-using-at-jupyter/28502 "2019-09-07T15:09:34Z")

</div>

I understood (may be wrongly) than in .jl files, execution can be expedited little pit by starting the file with \_\_precompile\_\_() which will help saming the precomiling time for statement using xxx Is there something si…

---

## [What is a package key? and is there any fundamental difference between a registered package and a self-written package?](https://discourse.julialang.org/t/what-is-a-package-key-and-is-there-any-fundamental-difference-between-a-registered-package-and-a-self-written-package/28473)

<div class="topic-metadata">

**Author:** [@bsnyh](https://discourse.julialang.org/u/bsnyh)\
**Replies:** 8\
**Last updated:** [September 7, 2019, 12:42pm UTC](https://discourse.julialang.org/t/what-is-a-package-key-and-is-there-any-fundamental-difference-between-a-registered-package-and-a-self-written-package/28473 "2019-09-07T12:42:41Z")

</div>

I’m working on a project coding in which I need to use a Julia package downloaded from the internet. I’m not totally satisfied with the package, so some part of it needs to be changed / updated. So, I basically copy and …

---

## [Struggling with ccall](https://discourse.julialang.org/t/struggling-with-ccall/28427)

<div class="topic-metadata">

**Author:** [@giadasp](https://discourse.julialang.org/u/giadasp)\
**Replies:** 36\
**Last updated:** [September 7, 2019, 12:13pm UTC](https://discourse.julialang.org/t/struggling-with-ccall/28427 "2019-09-07T12:13:43Z")

</div>

Dear Julia developers, It’s almost a week I’m trying to call a custom C (or C++) function in Julia. In particular what I want is to call a C function I wrote which takes some matrices as arguments and modify one of the…

---

## [Basic usage of NLsolve for scalar problems](https://discourse.julialang.org/t/basic-usage-of-nlsolve-for-scalar-problems/28489)

<div class="topic-metadata">

**Author:** [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)\
**Replies:** 3\
**Last updated:** [September 7, 2019, 11:15am UTC](https://discourse.julialang.org/t/basic-usage-of-nlsolve-for-scalar-problems/28489 "2019-09-07T11:15:43Z")

</div>

I have troubles to use NLsolve package for solving the following simple scalar example: 0 = cos(x) for x initialized to, say, 1.5 (the anticipated solution is thus pi/2, that is, something like 1.57). The code is juli…

---

## [Merge two text file](https://discourse.julialang.org/t/merge-two-text-file/2280)

<div class="topic-metadata">

**Author:** [@schalil](https://discourse.julialang.org/u/schalil)\
**Replies:** 8\
**Last updated:** [September 7, 2019, 12:58am UTC](https://discourse.julialang.org/t/merge-two-text-file/2280 "2019-09-07T00:58:37Z")

</div>

I am trying to merge two files. Are there any command like appending a text file 2 to the end of text file 1

---

## [Using Julia to calc distance to moon with UNCERTAINTIES](https://discourse.julialang.org/t/using-julia-to-calc-distance-to-moon-with-uncertainties/27963)

<div class="topic-metadata">

**Author:** [@StevenSiew](https://discourse.julialang.org/u/StevenSiew)\
**Replies:** 2\
**Last updated:** [September 6, 2019, 10:41pm UTC](https://discourse.julialang.org/t/using-julia-to-calc-distance-to-moon-with-uncertainties/27963 "2019-09-06T22:41:46Z")

</div>

I am an old fart now. But once upon a time I was a high school kid. And as a school kid I dream about measuring the distance to the moon. I fantasize about given a science project by my science teacher to measure the di…

---

## [How to view which of your binary values are 1](https://discourse.julialang.org/t/how-to-view-which-of-your-binary-values-are-1/28446)

<div class="topic-metadata">

**Author:** [@marinarrd](https://discourse.julialang.org/u/marinarrd)\
**Replies:** 7\
**Last updated:** [September 6, 2019, 9:14pm UTC](https://discourse.julialang.org/t/how-to-view-which-of-your-binary-values-are-1/28446 "2019-09-06T21:14:07Z")

</div>

I am very new to Julia. I wish to obtain the indices of my output that are non-zero

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

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