# Latest

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

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

**Page:** 1820

---

## [Issues with animation by plotting via for-loops](https://discourse.julialang.org/t/issues-with-animation-by-plotting-via-for-loops/34940)

<div class="topic-metadata">

**Author:** [@badmin](https://discourse.julialang.org/u/badmin)\
**Replies:** 2\
**Last updated:** [February 20, 2020, 11:26pm UTC](https://discourse.julialang.org/t/issues-with-animation-by-plotting-via-for-loops/34940 "2020-02-20T23:26:30Z")

</div>

Hi, I have x,y,z coordinates over time for a few points on a moving object, that i want to animate using Julia. In the end, i would like to have an interactive animation that can be rotated while the animation is runnin…

---

## [Reading different types of data from single line in binary file](https://discourse.julialang.org/t/reading-different-types-of-data-from-single-line-in-binary-file/34915)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 7\
**Last updated:** [February 20, 2020, 10:37pm UTC](https://discourse.julialang.org/t/reading-different-types-of-data-from-single-line-in-binary-file/34915 "2020-02-20T22:37:18Z")

</div>

Edit: I changed the description in a following answer to clarify the issue. I need to read a binary file which contains more than one type of variable written in a single line, as if it was written with i = 1 ; x = 1e…

---

## [\[RFC\] Maker Project Example and Template](https://discourse.julialang.org/t/rfc-maker-project-example-and-template/34882)

<div class="topic-metadata">

**Author:** [@anon92994695](https://discourse.julialang.org/u/anon92994695)\
**Replies:** 0\
**Last updated:** [February 19, 2020, 11:59pm UTC](https://discourse.julialang.org/t/rfc-maker-project-example-and-template/34882 "2020-02-19T23:59:07Z")

</div>

Really sorry for the delay in getting this thing lifted off the ground everyone. I’m holding down a lot of things, hit a rough patch, but I bounced back :). Anyways, I made an example project which I want some advice on…

---

## [Passing constructed closures to child processes](https://discourse.julialang.org/t/passing-constructed-closures-to-child-processes/34723)

<div class="topic-metadata">

**Author:** [@platawiec](https://discourse.julialang.org/u/platawiec)\
**Replies:** 3\
**Last updated:** [February 20, 2020, 9:02pm UTC](https://discourse.julialang.org/t/passing-constructed-closures-to-child-processes/34723 "2020-02-20T21:02:04Z")

</div>

I am performing a distributed calculation via pmap. For context, I have some expensive model which I need to differentiate, and for this I’ve chosen Zygote. Part of the process is defining an “adjoint” for pmap. I have f…

---

## [Codeproject article on Threading in Julia](https://discourse.julialang.org/t/codeproject-article-on-threading-in-julia/34906)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 1\
**Last updated:** [February 20, 2020, 8:56pm UTC](https://discourse.julialang.org/t/codeproject-article-on-threading-in-julia/34906 "2020-02-20T20:56:02Z")

</div>

https://www.codeproject.com/Articles/5260037/New-Threading-Capabilities-in-Julia-v1-3 A friend of mine flagged up this article. I am sure most people here know this anyway. Arrgggh… they have included the code as some …

---

## [I seriously struggle to understand method extension in connection with using, import and export](https://discourse.julialang.org/t/i-seriously-struggle-to-understand-method-extension-in-connection-with-using-import-and-export/34831)

<div class="topic-metadata">

**Author:** [@wg030](https://discourse.julialang.org/u/wg030)\
**Replies:** 6\
**Last updated:** [February 20, 2020, 7:43pm UTC](https://discourse.julialang.org/t/i-seriously-struggle-to-understand-method-extension-in-connection-with-using-import-and-export/34831 "2020-02-20T19:43:09Z")

</div>

Hi everybody! I have a hard time to understand how method extension really works and I hope you can help me with that. Let’s look at a concrete example and talk about the DataStructures module with SortedSet. So DataSt…

---

## [Software engineer Fidelis Insurance London](https://discourse.julialang.org/t/software-engineer-fidelis-insurance-london/34900)

<div class="topic-metadata">

**Author:** [@augustinyiptong](https://discourse.julialang.org/u/augustinyiptong)\
**Replies:** 2\
**Last updated:** [February 20, 2020, 7:36pm UTC](https://discourse.julialang.org/t/software-engineer-fidelis-insurance-london/34900 "2020-02-20T19:36:02Z")

</div>

We are hiring a back end software engineer in our London office. Work on our proprietary insurance / reinsurance pricing platform. Email me at augustin.yiptong\_at\_fidelisinsurance.com Software Engineer – Job Descriptio…

---

## [How to prevent \`Updating registry; Resolving package\`, while running \`Pkg\> test\`](https://discourse.julialang.org/t/how-to-prevent-updating-registry-resolving-package-while-running-pkg-test/34927)

<div class="topic-metadata">

**Author:** [@zhangliye](https://discourse.julialang.org/u/zhangliye)\
**Replies:** 1\
**Last updated:** [February 20, 2020, 5:59pm UTC](https://discourse.julialang.org/t/how-to-prevent-updating-registry-resolving-package-while-running-pkg-test/34927 "2020-02-20T17:59:59Z")

</div>

I am developing some package. I run Pkg\> test for testing purpose. However, every time it take some time to update registry, git-repo and resolving package versions. If I work without network, it even fails. Is there any…

---

## [Functions inside loops](https://discourse.julialang.org/t/functions-inside-loops/22947)

<div class="topic-metadata">

**Author:** [@lacaca](https://discourse.julialang.org/u/lacaca)\
**Replies:** 3\
**Last updated:** [February 20, 2020, 5:50pm UTC](https://discourse.julialang.org/t/functions-inside-loops/22947 "2020-02-20T17:50:20Z")

</div>

Defining a function f inside a loop, using it and then redefining it to behave some other way actually does not work as I thought it would/should. For instance, this

---

## [BayesNets Structure Learning Exception](https://discourse.julialang.org/t/bayesnets-structure-learning-exception/34849)

<div class="topic-metadata">

**Author:** [@rsteckel](https://discourse.julialang.org/u/rsteckel)\
**Replies:** 3\
**Last updated:** [February 20, 2020, 5:43pm UTC](https://discourse.julialang.org/t/bayesnets-structure-learning-exception/34849 "2020-02-20T17:43:27Z")

</div>

I’ve been trying out the BayesNets.jl package. I would like to learn the structure of a bayesian network using a small number of Bool variables in a DataFrame. First, I set the parameters of the search data = CSV.read(…

---

## [Plots & LaTeX?](https://discourse.julialang.org/t/plots-latex/34902)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 4\
**Last updated:** [February 20, 2020, 5:34pm UTC](https://discourse.julialang.org/t/plots-latex/34902 "2020-02-20T17:34:56Z")

</div>

It seems like Plots (pyplot backend) doesn’t make a distinction between LaTeX symbols \\epsilon (\\epsilon) and \\varepsilon (\\varepsilon). However, it does make a distinction between \\sigma (\\sigma) and \\varsigma (\\varsigm…

---

## [Meet some problem with julia in atom](https://discourse.julialang.org/t/meet-some-problem-with-julia-in-atom/30713)

<div class="topic-metadata">

**Author:** [@tobyfeng](https://discourse.julialang.org/u/tobyfeng)\
**Replies:** 3\
**Last updated:** [February 20, 2020, 5:23pm UTC](https://discourse.julialang.org/t/meet-some-problem-with-julia-in-atom/30713 "2020-02-20T17:23:46Z")

</div>

Recently I have downloaded the Julia 0.6.4 and atom 1.4.1, after I downloaded uber-juno and set the Julia path to where it was, i tried to use the console to run Julia, and I received this error. Does anyone knows why I …

---

## [Error when trying to install Julia on Google Colaboratory](https://discourse.julialang.org/t/error-when-trying-to-install-julia-on-google-colaboratory/21624)

<div class="topic-metadata">

**Author:** [@askvorts](https://discourse.julialang.org/u/askvorts)\
**Replies:** 7\
**Last updated:** [February 20, 2020, 5:13pm UTC](https://discourse.julialang.org/t/error-when-trying-to-install-julia-on-google-colaboratory/21624 "2020-02-20T17:13:11Z")

</div>

I am trying to install Julia on Google Colaboratory and getting the following error Updating \`~/.julia/environments/v1.0/Project.toml\` \[3a865a2d\] + CuArrays v0.9.1 Updating \`~/.julia/environments/v1.0/Manifest.toml\`…

---

## [PackageCompiler.jl complaining that MbedTLS.jl might not be relocatable](https://discourse.julialang.org/t/packagecompiler-jl-complaining-that-mbedtls-jl-might-not-be-relocatable/34878)

<div class="topic-metadata">

**Author:** [@kevin.squire](https://discourse.julialang.org/u/kevin.squire)\
**Replies:** 5\
**Last updated:** [February 20, 2020, 4:47pm UTC](https://discourse.julialang.org/t/packagecompiler-jl-complaining-that-mbedtls-jl-might-not-be-relocatable/34878 "2020-02-20T16:47:12Z")

</div>

Hi, I’m trying to use PackageCompiler.jl with a project that uses HTTP.jl (which depends on MbedTLS.jl), and it’s complaining that MbedTLS.jl is not relocatable (and the program also crashes, although I haven’t convince…

---

## [OnlineStats at Series how to get numer of case? s.n , n(s) not works](https://discourse.julialang.org/t/onlinestats-at-series-how-to-get-numer-of-case-s-n-n-s-not-works/34913)

<div class="topic-metadata">

**Author:** [@programista](https://discourse.julialang.org/u/programista)\
**Replies:** 2\
**Last updated:** [February 20, 2020, 4:45pm UTC](https://discourse.julialang.org/t/onlinestats-at-series-how-to-get-numer-of-case-s-n-n-s-not-works/34913 "2020-02-20T16:45:15Z")

</div>

using OnlineStats, Distributed julia\> s = @distributed merge for i in 1:3 fit!(Series(Mean()), randn(10\_000)) end Series └── Mean: n=30000 | value=0.0018463 julia\> s.stats (Mean: n=30000 | value=0.00170161,) juli…

---

## [@NLexpression with JuMP 0.21](https://discourse.julialang.org/t/nlexpression-with-jump-0-21/34859)

<div class="topic-metadata">

**Author:** [@amontoison](https://discourse.julialang.org/u/amontoison)\
**Replies:** 4\
**Last updated:** [February 20, 2020, 4:01pm UTC](https://discourse.julialang.org/t/nlexpression-with-jump-0-21/34859 "2020-02-20T16:01:58Z")

</div>

I tried to use an old JuMP model that was working with JuMP 0.18. But the behaviour of @NLexpression changed with JuMP 0.19 /0.20 / 0.21. Is it a bug or I need to modify how the expression is written? Thank you in adva…

---

## [What is wrong with my profiling?](https://discourse.julialang.org/t/what-is-wrong-with-my-profiling/34898)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 4\
**Last updated:** [February 20, 2020, 3:26pm UTC](https://discourse.julialang.org/t/what-is-wrong-with-my-profiling/34898 "2020-02-20T15:26:36Z")

</div>

I am profiling my Deep Learning algorithm and I am getting this weird shape. That long line on the left does not make sense, is it precompiling or something ? The name of the top bar is task.jl,poptaskref: line 660. Mayb…

---

## [How to select elements in array within range?](https://discourse.julialang.org/t/how-to-select-elements-in-array-within-range/34866)

<div class="topic-metadata">

**Author:** [@HelgavonLichtenstein](https://discourse.julialang.org/u/HelgavonLichtenstein)\
**Replies:** 12\
**Last updated:** [February 20, 2020, 3:08pm UTC](https://discourse.julialang.org/t/how-to-select-elements-in-array-within-range/34866 "2020-02-20T15:08:12Z")

</div>

Hello, I would like to know if there is a way to select elements in an array that fall between a range and assign them to a tuple. test = sort(rand(10)) p\_target = test\[6\] I would like to select the elements of test …

---

## [Repeated type parameter in method error of promoting constructor](https://discourse.julialang.org/t/repeated-type-parameter-in-method-error-of-promoting-constructor/34892)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 5\
**Last updated:** [February 20, 2020, 1:55pm UTC](https://discourse.julialang.org/t/repeated-type-parameter-in-method-error-of-promoting-constructor/34892 "2020-02-20T13:55:27Z")

</div>

Consider the type with the promoting constructor struct Foo{T,TX\<:AbstractVector{T},TFX} Δ::T x::TX fx::TFX residual\_norm::T converged::Bool iterations::Int end function Foo(Δ::T1, x::AbstractVe…

---

## [I am new to learning GPU, I do n’t know how to put it in GPU for the 4 loops here, I hope I can get help](https://discourse.julialang.org/t/i-am-new-to-learning-gpu-i-do-n-t-know-how-to-put-it-in-gpu-for-the-4-loops-here-i-hope-i-can-get-help/34904)

<div class="topic-metadata">

**Author:** [@11125](https://discourse.julialang.org/u/11125)\
**Replies:** 0\
**Last updated:** [February 20, 2020, 1:44pm UTC](https://discourse.julialang.org/t/i-am-new-to-learning-gpu-i-do-n-t-know-how-to-put-it-in-gpu-for-the-4-loops-here-i-hope-i-can-get-help/34904 "2020-02-20T13:44:58Z")

</div>

''' using CuArrays,CUDAnative,CUDAdrv,BenchmarkTools N = 3 M = 100 k = ones(N,N)\*5 the =range(0,pi/2,length=M) ph = range(0,2\*pi,length=M) theta = CuArrays.repeat(the,1,M)' phi = CuArrays.repeat(ph,1,M) aa = range(-5…

---

## [Queries regarding ray traversing through cube using VoxelRayTracers package](https://discourse.julialang.org/t/queries-regarding-ray-traversing-through-cube-using-voxelraytracers-package/34880)

<div class="topic-metadata">

**Author:** [@Manu\_Francis](https://discourse.julialang.org/u/Manu_Francis)\
**Replies:** 4\
**Last updated:** [February 20, 2020, 12:43pm UTC](https://discourse.julialang.org/t/queries-regarding-ray-traversing-through-cube-using-voxelraytracers-package/34880 "2020-02-20T12:43:54Z")

</div>

Hi , I am trying to use VoxelRayTracers.jl. I have few doubts regarding usage of this package. I want to trace a ray through 3D voxelized cube. My aim is to find ray intersected voxels with intersection lengths. How …

---

## [Issue with the incompressible elasticity example of JuAFEM package](https://discourse.julialang.org/t/issue-with-the-incompressible-elasticity-example-of-juafem-package/34814)

<div class="topic-metadata">

**Author:** [@Leooop](https://discourse.julialang.org/u/Leooop)\
**Replies:** 3\
**Last updated:** [February 20, 2020, 12:33pm UTC](https://discourse.julialang.org/t/issue-with-the-incompressible-elasticity-example-of-juafem-package/34814 "2020-02-20T12:33:08Z")

</div>

Hi, I plan to use the JuAFEM package as a basis for my phd work dealing with brittle damage modeling. First of all, I would like to thank the authors(@kristoffer.carlsson et @fredrikekre) for this beautifully written p…

---

## [Why is ArgParse slow?](https://discourse.julialang.org/t/why-is-argparse-slow/34741)

<div class="topic-metadata">

**Author:** [@kevbonham](https://discourse.julialang.org/u/kevbonham)\
**Replies:** 8\
**Last updated:** [February 20, 2020, 12:16pm UTC](https://discourse.julialang.org/t/why-is-argparse-slow/34741 "2020-02-20T12:16:00Z")

</div>

I really love ArgParse.jl - it has a ton of features, the documentation is great, and it works exactly as advertised. But it’s slow. Adding even a couple of arguments adds several seconds to start up time. It’s really am…

---

## [Using Julia on XSEDE](https://discourse.julialang.org/t/using-julia-on-xsede/34824)

<div class="topic-metadata">

**Author:** [@Yifan\_Liu](https://discourse.julialang.org/u/Yifan_Liu)\
**Replies:** 3\
**Last updated:** [February 20, 2020, 11:29am UTC](https://discourse.julialang.org/t/using-julia-on-xsede/34824 "2020-02-20T11:29:59Z")

</div>

I recently came across this project called XSEDE (Extreme Science and Engineering Discovery Environment) and was wondering if anyone has experience using Julia on this platform. Is it good for both data-intensive and com…

---

## [Sigmoid function in optimization problem](https://discourse.julialang.org/t/sigmoid-function-in-optimization-problem/34868)

<div class="topic-metadata">

**Author:** [@GiuliaM](https://discourse.julialang.org/u/GiuliaM)\
**Replies:** 2\
**Last updated:** [February 20, 2020, 10:41am UTC](https://discourse.julialang.org/t/sigmoid-function-in-optimization-problem/34868 "2020-02-20T10:41:31Z")

</div>

Hi! I’m using Ipopt to solve a NL optimization problem. I need binary variables but I’m using a sigmoid to avoid transforming my problem into a MINLP. I made a MWE in which there are two variables (x1 and x2). The sig…

---

## [Using ForwardDiff with Custom Struct](https://discourse.julialang.org/t/using-forwarddiff-with-custom-struct/34894)

<div class="topic-metadata">

**Author:** [@mrVeng](https://discourse.julialang.org/u/mrVeng)\
**Replies:** 3\
**Last updated:** [February 20, 2020, 10:18am UTC](https://discourse.julialang.org/t/using-forwarddiff-with-custom-struct/34894 "2020-02-20T10:18:52Z")

</div>

Hi guys, I have a function, loglikelihood ll, of a vector of parameters that I need to AutoDiff. I also need to apply some transformations within ll, and as long as I keep the Vector form of the input, that works fine. …

---

## [Error while trying to test Flux](https://discourse.julialang.org/t/error-while-trying-to-test-flux/34888)

<div class="topic-metadata">

**Author:** [@Eldho.Ashna](https://discourse.julialang.org/u/Eldho.Ashna)\
**Replies:** 12\
**Last updated:** [February 20, 2020, 8:02am UTC](https://discourse.julialang.org/t/error-while-trying-to-test-flux/34888 "2020-02-20T08:02:39Z")

</div>

Hi everyone, I am new to Julia programming language. I installed Julia 1.3.1 and was trying to install flux. The installation was complete. But, when I try to test it using the command: Pkg.test(“Flux”) This is my Tes…

---

## [3D Mandelbrot Set visualization](https://discourse.julialang.org/t/3d-mandelbrot-set-visualization/34148)

<div class="topic-metadata">

**Author:** [@Skoffer](https://discourse.julialang.org/u/Skoffer)\
**Replies:** 5\
**Last updated:** [February 20, 2020, 7:22am UTC](https://discourse.julialang.org/t/3d-mandelbrot-set-visualization/34148 "2020-02-20T07:22:07Z")

</div>

May be a little off topic, but I saw this beautiful video This equation will change how you see the world (the logistic map) - YouTube and was wondering, is it possible to draw something like this in Julia? May be in Mak…

---

## [Native GUI suggestion for Linux](https://discourse.julialang.org/t/native-gui-suggestion-for-linux/34722)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 39\
**Last updated:** [February 20, 2020, 6:13am UTC](https://discourse.julialang.org/t/native-gui-suggestion-for-linux/34722 "2020-02-20T06:13:22Z")

</div>

I have some signal processing code (pitch detection from an audio signal) and I would like to write a very simple application that displays the result graphically in a window, continuously updated in real time, maybe con…

---

## [JuMP 0.21 is released](https://discourse.julialang.org/t/jump-0-21-is-released/34808)

<div class="topic-metadata">

**Author:** [@miles.lubin](https://discourse.julialang.org/u/miles.lubin)\
**Replies:** 8\
**Last updated:** [February 19, 2020, 10:44pm UTC](https://discourse.julialang.org/t/jump-0-21-is-released/34808 "2020-02-19T22:44:24Z")

</div>

tl;dr: Callbacks are back! Lots of new features. with\_optimizer is deprecated. Reminder: The deadline to submit talk proposals for JuMP-dev 2020 is February 29th.

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

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