# Latest

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

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

**Page:** 1852

---

## [Does Python and Julia have the same file reading tools?](https://discourse.julialang.org/t/does-python-and-julia-have-the-same-file-reading-tools/29193)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 14\
**Last updated:** [January 4, 2020, 6:52pm UTC](https://discourse.julialang.org/t/does-python-and-julia-have-the-same-file-reading-tools/29193 "2020-01-04T18:52:25Z")

</div>

Hey folks I have spent some time in both Python and Julia to develop the same kind of function, a function which reads some binary files and import its data into an array. I have spent a lot of time tuning the Julia fun…

---

## [How can I get an adjusted "rainbow" colormap using PyPlot](https://discourse.julialang.org/t/how-can-i-get-an-adjusted-rainbow-colormap-using-pyplot/32964)

<div class="topic-metadata">

**Author:** [@tyfdzt](https://discourse.julialang.org/u/tyfdzt)\
**Replies:** 0\
**Last updated:** [January 4, 2020, 2:54pm UTC](https://discourse.julialang.org/t/how-can-i-get-an-adjusted-rainbow-colormap-using-pyplot/32964 "2020-01-04T14:54:59Z")

</div>

The rainbow colormap in PyPlot is like I want a “rainbow” like It seems part of “jet” How can I get it?

---

## [When and why using serialization?](https://discourse.julialang.org/t/when-and-why-using-serialization/17975)

<div class="topic-metadata">

**Author:** [@Juan](https://discourse.julialang.org/u/Juan)\
**Replies:** 4\
**Last updated:** [January 4, 2020, 2:35pm UTC](https://discourse.julialang.org/t/when-and-why-using-serialization/17975 "2020-01-04T14:35:04Z")

</div>

Hello. Quite often I see at julia-discourse threads speaking about “serialization” on Julia. When and why do you use serialization? Just to save objects? or do you use it to share data between threads or something more…

---

## [Vegalite.jl; simple grouped bar chart](https://discourse.julialang.org/t/vegalite-jl-simple-grouped-bar-chart/32702)

<div class="topic-metadata">

**Author:** [@Usor](https://discourse.julialang.org/u/Usor)\
**Replies:** 5\
**Last updated:** [January 4, 2020, 2:00pm UTC](https://discourse.julialang.org/t/vegalite-jl-simple-grouped-bar-chart/32702 "2020-01-04T14:00:38Z")

</div>

I’ve been fighting with this occasionally, and haven’t gotten it to work. I want to make a simple grouped bar chart out of a simple DataFrame, but no example I’ve seen that just quickly gets to the point. Suppose it’s a…

---

## [Type instability in array concatenation](https://discourse.julialang.org/t/type-instability-in-array-concatenation/32951)

<div class="topic-metadata">

**Author:** [@fleecy](https://discourse.julialang.org/u/fleecy)\
**Replies:** 3\
**Last updated:** [January 4, 2020, 10:09am UTC](https://discourse.julialang.org/t/type-instability-in-array-concatenation/32951 "2020-01-04T10:09:21Z")

</div>

I have some simple code to make a left-quaternion multiplication matrix: function L\_q(q::Vector{T}) where {T\<:Real} return \[q\[1\] -q\[2:4\]'; q\[2:4\] q\[1\] \* I + SkewSymmetricMatrix(q\[2:4\])\] end But the problem is that …

---

## [RFC: Tab completions that are sensitive to already specified function arguments](https://discourse.julialang.org/t/rfc-tab-completions-that-are-sensitive-to-already-specified-function-arguments/32918)

<div class="topic-metadata">

**Author:** [@jules](https://discourse.julialang.org/u/jules)\
**Replies:** 2\
**Last updated:** [January 4, 2020, 9:41am UTC](https://discourse.julialang.org/t/rfc-tab-completions-that-are-sensitive-to-already-specified-function-arguments/32918 "2020-01-04T09:41:18Z")

</div>

I wanted to get some discussion going on what helper tools people want / need to make coding, especially when interactively analyzing data, more enjoyable and efficient. I believe that Julia with its introspective abilit…

---

## [Is it possible to have variable frame time for each frame in a gif or apng image?](https://discourse.julialang.org/t/is-it-possible-to-have-variable-frame-time-for-each-frame-in-a-gif-or-apng-image/32948)

<div class="topic-metadata">

**Author:** [@coldinjection](https://discourse.julialang.org/u/coldinjection)\
**Replies:** 1\
**Last updated:** [January 4, 2020, 8:06am UTC](https://discourse.julialang.org/t/is-it-possible-to-have-variable-frame-time-for-each-frame-in-a-gif-or-apng-image/32948 "2020-01-04T08:06:46Z")

</div>

Say I want a specific frame (or multiple frames) to be displayed for a longer period of time in a gif or an apng, the file would be smaller if I specify a longer frame time for this frame instead of having the same ima…

---

## [Running into a LoadError that is breaking Code](https://discourse.julialang.org/t/running-into-a-loaderror-that-is-breaking-code/32932)

<div class="topic-metadata">

**Author:** [@awiden91](https://discourse.julialang.org/u/awiden91)\
**Replies:** 4\
**Last updated:** [January 4, 2020, 8:22am UTC](https://discourse.julialang.org/t/running-into-a-loaderror-that-is-breaking-code/32932 "2020-01-04T08:22:40Z")

</div>

Hi everyone, I am a JULIA newbie and running into a LoadError that is breaking a .jl file I am trying to run. The error I am getting is LoadError: syntax: invalid escape sequence and stating the code is breaking on line…

---

## [Update to "Statistics with Julia DRAFT", is online](https://discourse.julialang.org/t/update-to-statistics-with-julia-draft-is-online/32836)

<div class="topic-metadata">

**Author:** [@yoninazarathy](https://discourse.julialang.org/u/yoninazarathy)\
**Replies:** 3\
**Last updated:** [January 4, 2020, 3:50am UTC](https://discourse.julialang.org/t/update-to-statistics-with-julia-draft-is-online/32836 "2020-01-04T03:50:15Z")

</div>

Happy new year, Here is an update to “Statistics with Julia: Fundamentals for Data Science, Machine Learning and Artificial Intelligence.” We just put this updated version on-line. Not long to go till submission to th…

---

## [ForwardDiff saving unwanted variable](https://discourse.julialang.org/t/forwarddiff-saving-unwanted-variable/32928)

<div class="topic-metadata">

**Author:** [@Caio\_Machado](https://discourse.julialang.org/u/Caio_Machado)\
**Replies:** 4\
**Last updated:** [January 4, 2020, 3:12am UTC](https://discourse.julialang.org/t/forwarddiff-saving-unwanted-variable/32928 "2020-01-04T03:12:51Z")

</div>

Hi everyone, I am migrating from Matlab to Julia and I have noticed some weird (perhaps unwanted?) behavior of the ForwardDiff package. using ForwardDiff function eq() function qfun(x) q = x\[1\] + x\[2\]…

---

## [How to get buttons to span full height of window using Gtk.jl with Grid layout](https://discourse.julialang.org/t/how-to-get-buttons-to-span-full-height-of-window-using-gtk-jl-with-grid-layout/32946)

<div class="topic-metadata">

**Author:** [@mantzaris](https://discourse.julialang.org/u/mantzaris)\
**Replies:** 0\
**Last updated:** [January 3, 2020, 10:54pm UTC](https://discourse.julialang.org/t/how-to-get-buttons-to-span-full-height-of-window-using-gtk-jl-with-grid-layout/32946 "2020-01-03T22:54:17Z")

</div>

I am trying to use the Grid layout (with Gtk.jl) but it is behaving differently to what I would expect. I expected that the grid would be set of cells which widgets can be inserted into the fixed cells and stretched in …

---

## [3D plots -- possible to change view-point?](https://discourse.julialang.org/t/3d-plots-possible-to-change-view-point/10155)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 10\
**Last updated:** [January 3, 2020, 11:14pm UTC](https://discourse.julialang.org/t/3d-plots-possible-to-change-view-point/10155 "2020-01-03T23:14:03Z")

</div>

I’m doing a 3D path plot – it looks ok, but I think it would be possible to get a better 3D feeling with a modified view-point (3D plot with time as parameter, starting at turquois and ending in gold…): Question: D…

---

## [ERROR: IOError: could not spawn \`git credential-manager store\`: no such file or directory (ENOENT)](https://discourse.julialang.org/t/error-ioerror-could-not-spawn-git-credential-manager-store-no-such-file-or-directory-enoent/32945)

<div class="topic-metadata">

**Author:** [@georgedimitriadis](https://discourse.julialang.org/u/georgedimitriadis)\
**Replies:** 0\
**Last updated:** [January 3, 2020, 10:51pm UTC](https://discourse.julialang.org/t/error-ioerror-could-not-spawn-git-credential-manager-store-no-such-file-or-directory-enoent/32945 "2020-01-03T22:51:00Z")

</div>

Just installed JuliaPro on a windows 10 (follwing https://juliaacademy.com/courses/689459/lectures/12307525) but putting julia on a non default directory. As per tutorial I tried to authendicate by issuing the up comman…

---

## [Setting size of GtkCanvas and other widgets](https://discourse.julialang.org/t/setting-size-of-gtkcanvas-and-other-widgets/14658)

<div class="topic-metadata">

**Author:** [@bill-p](https://discourse.julialang.org/u/bill-p)\
**Replies:** 4\
**Last updated:** [January 3, 2020, 10:46pm UTC](https://discourse.julialang.org/t/setting-size-of-gtkcanvas-and-other-widgets/14658 "2020-01-03T22:46:35Z")

</div>

I’m wanting to make a GUI with several items - I made a GtkBox(:v), and pushed in a GtkBox(:h), followed by a GtkCanvas(), then another GtkBox(:h). The hBoxes contain buttons, labels, etc. When I call showall(win) it b…

---

## [Replacing different packages with the same name](https://discourse.julialang.org/t/replacing-different-packages-with-the-same-name/4817)

<div class="topic-metadata">

**Author:** [@leiteiro](https://discourse.julialang.org/u/leiteiro)\
**Replies:** 2\
**Last updated:** [January 3, 2020, 9:48pm UTC](https://discourse.julialang.org/t/replacing-different-packages-with-the-same-name/4817 "2020-01-03T21:48:03Z")

</div>

I have installed simonster’s Memoize package. Recently a new Memoize package was introduced, which I would like to try out. How to do this correctly? The problem is that both packages have the same name and therefore I …

---

## [Онлайн компилятор Julia](https://discourse.julialang.org/t/julia/22595)

<div class="topic-metadata">

**Author:** [@11110](https://discourse.julialang.org/u/11110)\
**Replies:** 7\
**Last updated:** [January 3, 2020, 9:00pm UTC](https://discourse.julialang.org/t/julia/22595 "2020-01-03T21:00:05Z")

</div>

Всем привет! Нашёл онлайн компилятор Julia: http://www.compileonline.com/execute\_julia\_online.php Не получается подключать package, добавлять пакеты. При этом можно выводить текст. В чём проблема? Подскажите, есть …

---

## [Improve performance of computation graph evaluation](https://discourse.julialang.org/t/improve-performance-of-computation-graph-evaluation/32873)

<div class="topic-metadata">

**Author:** [@DrChainsaw](https://discourse.julialang.org/u/DrChainsaw)\
**Replies:** 5\
**Last updated:** [January 3, 2020, 8:48pm UTC](https://discourse.julialang.org/t/improve-performance-of-computation-graph-evaluation/32873 "2020-01-03T20:48:58Z")

</div>

Hi, NaiveNASlib.jl uses a run-of-the-mill representation of a computation graph composed of AbstractVertex structs where each vertex is associated with an operation (e.g a neural network layer) as well as its input vert…

---

## [Multi-threading bug?](https://discourse.julialang.org/t/multi-threading-bug/32937)

<div class="topic-metadata">

**Author:** [@gmouts](https://discourse.julialang.org/u/gmouts)\
**Replies:** 7\
**Last updated:** [January 3, 2020, 8:22pm UTC](https://discourse.julialang.org/t/multi-threading-bug/32937 "2020-01-03T20:22:12Z")

</div>

I am trying to make my code to run on multiple threads and I was reading through this. I got the following very weird result: julia\> Threads.nthreads() 6 julia\> Threads.@threads for i = 1:10 println("i = $…

---

## [BenchmarkTools.jl and Juno](https://discourse.julialang.org/t/benchmarktools-jl-and-juno/849)

<div class="topic-metadata">

**Author:** [@Aleksandr\_Mikheev](https://discourse.julialang.org/u/Aleksandr_Mikheev)\
**Replies:** 14\
**Last updated:** [January 3, 2020, 8:20pm UTC](https://discourse.julialang.org/t/benchmarktools-jl-and-juno/849 "2020-01-03T20:20:36Z")

</div>

Hello, I am currently trying to compare a performance of two codes. For this purpose, I decided to choose BenchmarkTools. However, I cannot fully understand how to obtain necessary information in Juno. Consider the exam…

---

## [Flux vs Tensorflow training performance comparison?](https://discourse.julialang.org/t/flux-vs-tensorflow-training-performance-comparison/32926)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 5\
**Last updated:** [January 3, 2020, 7:38pm UTC](https://discourse.julialang.org/t/flux-vs-tensorflow-training-performance-comparison/32926 "2020-01-03T19:38:24Z")

</div>

Has anyone done a performance comparison between Flux and Tensorflow, on the speed of training a model? I mean taking some conveniently pre-defined model on some standard dataset (say MNIST) and training it using both li…

---

## [Package stuck at old version](https://discourse.julialang.org/t/package-stuck-at-old-version/32924)

<div class="topic-metadata">

**Author:** [@NicholasWMRitchie](https://discourse.julialang.org/u/NicholasWMRitchie)\
**Replies:** 9\
**Last updated:** [January 3, 2020, 6:25pm UTC](https://discourse.julialang.org/t/package-stuck-at-old-version/32924 "2020-01-03T18:25:09Z")

</div>

I’m confused and frustrated. I was beginning to think that I understood the package system. It seems reasonable and rational. However, I’m completely puzzled why I seem to be perpetually stuck on Gadfly v 1.0.1 when v…

---

## [Using Julia Autodiff/GPU or tensorflow 2.0](https://discourse.julialang.org/t/using-julia-autodiff-gpu-or-tensorflow-2-0/32919)

<div class="topic-metadata">

**Author:** [@congUoM](https://discourse.julialang.org/u/congUoM)\
**Replies:** 3\
**Last updated:** [January 3, 2020, 1:54pm UTC](https://discourse.julialang.org/t/using-julia-autodiff-gpu-or-tensorflow-2-0/32919 "2020-01-03T13:54:59Z")

</div>

Hi all, I am not new to Julia and I love Julia. Currently for my work project, I have a MATLAB framework and I have to decide on the programming language to use next. For a simple task in my project, I was trying tensorf…

---

## [Package Naming Guidelines (EDIT: are not) missing from manual](https://discourse.julialang.org/t/package-naming-guidelines-edit-are-not-missing-from-manual/32920)

<div class="topic-metadata">

**Author:** [@non-Jedi](https://discourse.julialang.org/u/non-Jedi)\
**Replies:** 2\
**Last updated:** [January 3, 2020, 1:50pm UTC](https://discourse.julialang.org/t/package-naming-guidelines-edit-are-not-missing-from-manual/32920 "2020-01-03T13:50:33Z")

</div>

There used to be very good guidelines available for naming packages at https://docs.julialang.org/en/stable/manual/packages/#Guidelines-for-naming-a-package-1 (link now defunct), but I can’t find them in the current manu…

---

## [Why can't I terminate an integrator in DifferentialEquations?](https://discourse.julialang.org/t/why-cant-i-terminate-an-integrator-in-differentialequations/32912)

<div class="topic-metadata">

**Author:** [@yuxi.liu](https://discourse.julialang.org/u/yuxi.liu)\
**Replies:** 1\
**Last updated:** [January 3, 2020, 1:19pm UTC](https://discourse.julialang.org/t/why-cant-i-terminate-an-integrator-in-differentialequations/32912 "2020-01-03T13:19:10Z")

</div>

using DifferentialEquations # Dynamical system definition exp(u, p, t) = u # Terminate if out of region isinside(u) = 1.0 \< u\[1\] \< 10.0 terminate\_condition(u, t, integrator) = !isinside(u) terminate\_affect!(u, t, integ…

---

## [CUDA\_ERROR\_ILLEGAL\_ADDRESS with CuArrays/Zygote getindex](https://discourse.julialang.org/t/cuda-error-illegal-address-with-cuarrays-zygote-getindex/32744)

<div class="topic-metadata">

**Author:** [@tanhevg](https://discourse.julialang.org/u/tanhevg)\
**Replies:** 4\
**Last updated:** [January 3, 2020, 12:07pm UTC](https://discourse.julialang.org/t/cuda-error-illegal-address-with-cuarrays-zygote-getindex/32744 "2020-01-03T12:07:56Z")

</div>

Hello, I am getting an error CuError(CUDA\_ERROR\_ILLEGAL\_ADDRESS) with the following stacktrace. My code is trying to take gradients of a deep learning model with Zygote. I wonder if this is a symptom of running out of me…

---

## [Trying to understand communication between workers in simple version of pmap](https://discourse.julialang.org/t/trying-to-understand-communication-between-workers-in-simple-version-of-pmap/32531)

<div class="topic-metadata">

**Author:** [@Bruno\_Amorim](https://discourse.julialang.org/u/Bruno_Amorim)\
**Replies:** 4\
**Last updated:** [January 3, 2020, 11:39am UTC](https://discourse.julialang.org/t/trying-to-understand-communication-between-workers-in-simple-version-of-pmap/32531 "2020-01-03T11:39:00Z")

</div>

I am trying to understand how different workers can communicate in Julia. In the documentation of previous versions of Julia (\<= v0.6) in the Parallel Computing section, a simple pmap function was given as an example. T…

---

## [Should "1 ∈ 1" be "true"?](https://discourse.julialang.org/t/should-1-1-be-true/32914)

<div class="topic-metadata">

**Author:** [@Ibb](https://discourse.julialang.org/u/Ibb)\
**Replies:** 3\
**Last updated:** [January 3, 2020, 9:59am UTC](https://discourse.julialang.org/t/should-1-1-be-true/32914 "2020-01-03T09:59:47Z")

</div>

I know it’s a trivial proposal, but, should a primitive type data object belong to(∈, in) itself? Axiom of regularity implicates that “No set is an element of itself”.

---

## [Average Path Length](https://discourse.julialang.org/t/average-path-length/32909)

<div class="topic-metadata">

**Author:** [@ennvvy](https://discourse.julialang.org/u/ennvvy)\
**Replies:** 0\
**Last updated:** [January 3, 2020, 6:39am UTC](https://discourse.julialang.org/t/average-path-length/32909 "2020-01-03T06:39:56Z")

</div>

Is there a predefined function in the LightGraphs package to find the average path length of a graph?

---

## [\[SOLVED\] Unable to use local package](https://discourse.julialang.org/t/solved-unable-to-use-local-package/15946)

<div class="topic-metadata">

**Author:** [@zaen](https://discourse.julialang.org/u/zaen)\
**Replies:** 7\
**Last updated:** [January 3, 2020, 1:50am UTC](https://discourse.julialang.org/t/solved-unable-to-use-local-package/15946 "2020-01-03T01:50:42Z")

</div>

I’ve got a local copy of a package that I’ve modified to work with Julia 1.0 and would like to send it to someone else. One option is to have them download the original package, make the edits in place, and then use the …

---

## [What does \`activate\` really do?](https://discourse.julialang.org/t/what-does-activate-really-do/32898)

<div class="topic-metadata">

**Author:** [@affans](https://discourse.julialang.org/u/affans)\
**Replies:** 2\
**Last updated:** [January 2, 2020, 10:32pm UTC](https://discourse.julialang.org/t/what-does-activate-really-do/32898 "2020-01-02T22:32:36Z")

</div>

I don’t know why but I am having a terrible time understanding environments in Julia. I really want to understand what activate does and how one should use it. Here is just one of the things I am not wrapping my head aro…

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

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