# Latest

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

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

**Page:** 1936

---

## [BigFloat struct size is larger than mpfr\_t](https://discourse.julialang.org/t/bigfloat-struct-size-is-larger-than-mpfr-t/27596)

<div class="topic-metadata">

**Author:** [@MikaelSlevinsky](https://discourse.julialang.org/u/MikaelSlevinsky)\
**Replies:** 9\
**Last updated:** [August 23, 2019, 11:37pm UTC](https://discourse.julialang.org/t/bigfloat-struct-size-is-larger-than-mpfr-t/27596 "2019-08-23T23:37:50Z")

</div>

The Julia BigFloat struct has an extra field, \_d, compared with the corresponding MPFR type mpfr\_t. This doesn’t affect Base because the additional field is at the end of the type. However, one disadvantage is that sizeo…

---

## [Help speeding up a test progam from a book](https://discourse.julialang.org/t/help-speeding-up-a-test-progam-from-a-book/6383)

<div class="topic-metadata">

**Author:** [@Frank\_Applin](https://discourse.julialang.org/u/Frank_Applin)\
**Replies:** 38\
**Last updated:** [August 23, 2019, 8:14pm UTC](https://discourse.julialang.org/t/help-speeding-up-a-test-progam-from-a-book/6383 "2019-08-23T20:14:41Z")

</div>

I am reading the book, Exploring Raspberry Pi - Interfacing to the Real World with Embedded Linux by Derek Molloy. In Chapter 5, Programming on the Raspberry Pi, the author does a speed test to compare different language…

---

## [Can we get a pinned topic on updating Julia?](https://discourse.julialang.org/t/can-we-get-a-pinned-topic-on-updating-julia/27889)

<div class="topic-metadata">

**Author:** [@GdMacmillan](https://discourse.julialang.org/u/GdMacmillan)\
**Replies:** 8\
**Last updated:** [August 23, 2019, 6:24pm UTC](https://discourse.julialang.org/t/can-we-get-a-pinned-topic-on-updating-julia/27889 "2019-08-23T18:24:51Z")

</div>

I’ve noticed that every time I install a new version of Julia it’s quite the headache. I went from 1.1 to 1.2 most recently and it was a little easier to figure out but still not a straightforward process. Why is it not …

---

## [Inconsistent behavior with double indexing?](https://discourse.julialang.org/t/inconsistent-behavior-with-double-indexing/27904)

<div class="topic-metadata">

**Author:** [@cwatson](https://discourse.julialang.org/u/cwatson)\
**Replies:** 4\
**Last updated:** [August 23, 2019, 6:14pm UTC](https://discourse.julialang.org/t/inconsistent-behavior-with-double-indexing/27904 "2019-08-23T18:14:42Z")

</div>

Consider objects a and b, which are array of arrays defined below. These objects are equal according to Julia and the only difference is in how I create them. But double-indexing works very differently on each. julia\> a…

---

## [Precompile custom module fails but program still working](https://discourse.julialang.org/t/precompile-custom-module-fails-but-program-still-working/27859)

<div class="topic-metadata">

**Author:** [@wpkzz](https://discourse.julialang.org/u/wpkzz)\
**Replies:** 5\
**Last updated:** [August 23, 2019, 5:44pm UTC](https://discourse.julialang.org/t/precompile-custom-module-fails-but-program-still-working/27859 "2019-08-23T17:44:58Z")

</div>

I am trying to formalize my code in a more julian style and I have sepparated a lot of routines from a Jupyter Notebook to a Julia sort of script with all that I could put on a functions module in another file. I am also…

---

## [Precompiling CUDAnative on login node (works on compute node)](https://discourse.julialang.org/t/precompiling-cudanative-on-login-node-works-on-compute-node/27886)

<div class="topic-metadata">

**Author:** [@samo](https://discourse.julialang.org/u/samo)\
**Replies:** 6\
**Last updated:** [August 23, 2019, 4:07pm UTC](https://discourse.julialang.org/t/precompiling-cudanative-on-login-node-works-on-compute-node/27886 "2019-08-23T16:07:50Z")

</div>

This is a follow up of this post about building CUDAnative on login node. Building CUDAnative on the login nodes works with the master version. Now, unfortunately, comes up the next problem: how can we precompile CUDAnat…

---

## [Is it possible to iterate over a very large CSV in Windows?](https://discourse.julialang.org/t/is-it-possible-to-iterate-over-a-very-large-csv-in-windows/27827)

<div class="topic-metadata">

**Author:** [@gabomgp](https://discourse.julialang.org/u/gabomgp)\
**Replies:** 9\
**Last updated:** [August 23, 2019, 2:56pm UTC](https://discourse.julialang.org/t/is-it-possible-to-iterate-over-a-very-large-csv-in-windows/27827 "2019-08-23T14:56:16Z")

</div>

I’m using CSV.jl to iterate over a very large CSV, but in Windows it’s throwing the error: Error: could not create file mapping: The operation comleted successfully The same error that this issue describe: https://git…

---

## [Get it together, guys!](https://discourse.julialang.org/t/get-it-together-guys/27826)

<div class="topic-metadata">

**Author:** [@Brad\_Hines](https://discourse.julialang.org/u/Brad_Hines)\
**Replies:** 99\
**Last updated:** [August 23, 2019, 2:53pm UTC](https://discourse.julialang.org/t/get-it-together-guys/27826 "2019-08-23T14:53:17Z")

</div>

I first tried Julia a couple of years ago. I LOVE the language, but I gave up. I tried it again a year ago. Better, but no debugger. I gave up. I could not possibly recommend it to my department without a debugger. …

---

## [Help us spot plagiarizing spam prep](https://discourse.julialang.org/t/help-us-spot-plagiarizing-spam-prep/27896)

<div class="topic-metadata">

**Author:** [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Replies:** 0\
**Last updated:** [August 23, 2019, 2:52pm UTC](https://discourse.julialang.org/t/help-us-spot-plagiarizing-spam-prep/27896 "2019-08-23T14:52:34Z")

</div>

Some of you have already noticed some strange posts going on — a handful of new discourse accounts have created new threads that are exact copies of old posts and other text we have laying around on this site (like categ…

---

## [\[ANN\] DPMMSubClusters.jl - Fast, Distributed, Scaleable inference for Dirichlet Process Mixture Models](https://discourse.julialang.org/t/ann-dpmmsubclusters-jl-fast-distributed-scaleable-inference-for-dirichlet-process-mixture-models/27895)

<div class="topic-metadata">

**Author:** [@Dinari](https://discourse.julialang.org/u/Dinari)\
**Replies:** 0\
**Last updated:** [August 23, 2019, 2:38pm UTC](https://discourse.julialang.org/t/ann-dpmmsubclusters-jl-fast-distributed-scaleable-inference-for-dirichlet-process-mixture-models/27895 "2019-08-23T14:38:46Z")

</div>

DPMMSubClusters.jl Package provides an easy, fast and scalable way to perform inference in Dirichlet Process Mixture Models. Developed from the code of: Distributed MCMC Inference in Dirichlet Process Mixture Models…

---

## [PPL without observations as function parameters](https://discourse.julialang.org/t/ppl-without-observations-as-function-parameters/27830)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 14\
**Last updated:** [August 23, 2019, 1:50pm UTC](https://discourse.julialang.org/t/ppl-without-observations-as-function-parameters/27830 "2019-08-23T13:50:13Z")

</div>

Hi! I’m working on some changes in Soss, and they’re different than the usual way of going about PPL. Thought I’d share them here in case other are curious or have any thoughts blah blah (the usual stuff on that front) …

---

## [How to save a KDTree properly](https://discourse.julialang.org/t/how-to-save-a-kdtree-properly/27890)

<div class="topic-metadata">

**Author:** [@Xiucheng\_Li](https://discourse.julialang.org/u/Xiucheng_Li)\
**Replies:** 2\
**Last updated:** [August 23, 2019, 1:18pm UTC](https://discourse.julialang.org/t/how-to-save-a-kdtree-properly/27890 "2019-08-23T13:18:53Z")

</div>

I want to save a KDTree into the disk and reuse it again with JLD2, but ran into problem after loading it, using NearestNeighbors using FileIO, JLD2 kdtree = KDTree(rand(2, 100)) save("/tmp/test.jld2", "kdtree", kdtree…

---

## [Why \`using Makie; lines(rand(5));\` using sysimage generated from precompiles is about 5 times slower than \`compile\_incremental(:Makie, :AbstractPlotting)\`?](https://discourse.julialang.org/t/why-using-makie-lines-rand-5-using-sysimage-generated-from-precompiles-is-about-5-times-slower-than-compile-incremental-makie-abstractplotting/27808)

<div class="topic-metadata">

**Author:** [@KestutisMa](https://discourse.julialang.org/u/KestutisMa)\
**Replies:** 1\
**Last updated:** [August 23, 2019, 12:47pm UTC](https://discourse.julialang.org/t/why-using-makie-lines-rand-5-using-sysimage-generated-from-precompiles-is-about-5-times-slower-than-compile-incremental-makie-abstractplotting/27808 "2019-08-23T12:47:18Z")

</div>

Makie.lines(rand(5)); is about 5 times slower after Fezzik.brute\_build\_julia() than PackageCompiler.compile\_incremental(:Makie, :AbstractPlotting). In contrast, s = Scene() is same fast. Fezzik uses PackageCompiler…

---

## [Identify function arguments that have been used](https://discourse.julialang.org/t/identify-function-arguments-that-have-been-used/27885)

<div class="topic-metadata">

**Author:** [@ceysa75](https://discourse.julialang.org/u/ceysa75)\
**Replies:** 2\
**Last updated:** [August 23, 2019, 11:08am UTC](https://discourse.julialang.org/t/identify-function-arguments-that-have-been-used/27885 "2019-08-23T11:08:45Z")

</div>

Hi all, a simple question. Say I have a function as follows: function f(a,b) return (a+b) end How can i find out, which values actually have been used as arguments? In the given example, I would like to find out (…

---

## [Cannot build CUDAnative on login node (works on compute node)](https://discourse.julialang.org/t/cannot-build-cudanative-on-login-node-works-on-compute-node/27860)

<div class="topic-metadata">

**Author:** [@samo](https://discourse.julialang.org/u/samo)\
**Replies:** 3\
**Last updated:** [August 23, 2019, 10:34am UTC](https://discourse.julialang.org/t/cannot-build-cudanative-on-login-node-works-on-compute-node/27860 "2019-08-23T10:34:23Z")

</div>

Context I am preparing a site-wide installation of Julia with the CUDA packages (CUDAdrv, CUDAnative and CuArrays) on our GPU supercomputer. To this purpose, I am creating automated installation recipes as for all our so…

---

## [Pseudo-inverse and the backslash operator](https://discourse.julialang.org/t/pseudo-inverse-and-the-backslash-operator/27882)

<div class="topic-metadata">

**Author:** [@gmouts](https://discourse.julialang.org/u/gmouts)\
**Replies:** 3\
**Last updated:** [August 23, 2019, 10:31am UTC](https://discourse.julialang.org/t/pseudo-inverse-and-the-backslash-operator/27882 "2019-08-23T10:31:44Z")

</div>

So, I have a sparse matrix A and a vector b and I want to compute pinv(A)\*b. After reading this post I tried the following: using LinearAlgebra julia\> A = \[1 1 1; 2 2 2; 1 0 1\] 3×3 Array{Int64,2}: 1 …

---

## [PGFPlotsX.jl - xtick distance/range/count for histograms?](https://discourse.julialang.org/t/pgfplotsx-jl-xtick-distance-range-count-for-histograms/27311)

<div class="topic-metadata">

**Author:** [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Replies:** 9\
**Last updated:** [August 23, 2019, 10:26am UTC](https://discourse.julialang.org/t/pgfplotsx-jl-xtick-distance-range-count-for-histograms/27311 "2019-08-23T10:26:36Z")

</div>

This is more a general question: I have to deal with lots of histograms and I have problems setting the xticks when the option ybar interval is set, since xtick distance = {NUMBER} seems to be ignored by pgfplots. To be…

---

## [Simple bundle adjustment: array in nonlinear expression?](https://discourse.julialang.org/t/simple-bundle-adjustment-array-in-nonlinear-expression/27851)

<div class="topic-metadata">

**Author:** [@bars](https://discourse.julialang.org/u/bars)\
**Replies:** 4\
**Last updated:** [August 23, 2019, 9:27am UTC](https://discourse.julialang.org/t/simple-bundle-adjustment-array-in-nonlinear-expression/27851 "2019-08-23T09:27:49Z")

</div>

Hi there! I’m here since I find Julia, and JuMP in particular, very impressive and I suspect it should be a very good fit for SLAM (Simultaneous Localization and Mapping), where C++ is still the popular choice. In part…

---

## [The first for loop execution](https://discourse.julialang.org/t/the-first-for-loop-execution/27841)

<div class="topic-metadata">

**Author:** [@Mirsad\_Cosovic](https://discourse.julialang.org/u/Mirsad_Cosovic)\
**Replies:** 6\
**Last updated:** [August 23, 2019, 8:07am UTC](https://discourse.julialang.org/t/the-first-for-loop-execution/27841 "2019-08-23T08:07:48Z")

</div>

Hi, I wrote a simple test in Julia, I have a large sparse matrix, and I want to iterate throughout non-zero elements, but the first execution of the for loop is slow. The minimal working example is bellow. Did I do some…

---

## [Fun with kwargs methods](https://discourse.julialang.org/t/fun-with-kwargs-methods/15711)

<div class="topic-metadata">

**Author:** [@anon94023334](https://discourse.julialang.org/u/anon94023334)\
**Replies:** 7\
**Last updated:** [August 23, 2019, 5:15am UTC](https://discourse.julialang.org/t/fun-with-kwargs-methods/15711 "2019-08-23T05:15:06Z")

</div>

Consider julia\> bar(x, y) = x / y bar (generic function with 1 method) julia\> bar(x, y; c) = x + y + c bar (generic function with 1 method) julia\> bar(3,4,c=5) 12 julia\> bar(3,4) ERROR: UndefKeywordError: keyword arg…

---

## [Performance of map!()](https://discourse.julialang.org/t/performance-of-map/22821)

<div class="topic-metadata">

**Author:** [@Invarianz](https://discourse.julialang.org/u/Invarianz)\
**Replies:** 12\
**Last updated:** [August 23, 2019, 4:06am UTC](https://discourse.julialang.org/t/performance-of-map/22821 "2019-08-23T04:06:02Z")

</div>

Inspired by this topic here: map vs loops vs broadcasts, I wanted to do my own tests on the speed of the functions. As it turns out the optimised for loop, map and vectorisation are all roughly in the same ballpark. Now…

---

## [Downsides to depending \`mutable\` field on \`DataType\`?](https://discourse.julialang.org/t/downsides-to-depending-mutable-field-on-datatype/27796)

<div class="topic-metadata">

**Author:** [@cshenton](https://discourse.julialang.org/u/cshenton)\
**Replies:** 4\
**Last updated:** [August 23, 2019, 3:46am UTC](https://discourse.julialang.org/t/downsides-to-depending-mutable-field-on-datatype/27796 "2019-08-23T03:46:50Z")

</div>

I need to check if a user defined type passed as an argument to a generated function is mutable or immutable (I’m doing a recursive vector of structs → struct of vectors transform, and I only want to split fields that ar…

---

## [32-bit Linux Julia builds are now available on Travis CI](https://discourse.julialang.org/t/32-bit-linux-julia-builds-are-now-available-on-travis-ci/27786)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 6\
**Last updated:** [August 23, 2019, 3:21am UTC](https://discourse.julialang.org/t/32-bit-linux-julia-builds-are-now-available-on-travis-ci/27786 "2019-08-23T03:21:39Z")

</div>

Another installment in the saga of cross-platform CI! Just like for Windows, Julia Linux jobs on Travis CI can now use arch: x86 to test with a 32-bit (i686) build of Julia. Users of Appveyor.jl are likely already famil…

---

## [Command line options for Julia kernels in Jupyter](https://discourse.julialang.org/t/command-line-options-for-julia-kernels-in-jupyter/732)

<div class="topic-metadata">

**Author:** [@tkoolen](https://discourse.julialang.org/u/tkoolen)\
**Replies:** 3\
**Last updated:** [August 23, 2019, 2:59am UTC](https://discourse.julialang.org/t/command-line-options-for-julia-kernels-in-jupyter/732 "2019-08-23T02:59:16Z")

</div>

I haven’t been able to figure out how to specify command line options (specifically, -O3 and --check-bounds=no) for the Julia kernel that Jupyter uses. This would be handy for profiling. Any ideas? Thanks!

---

## [Debugging float SIMD Intrinsics via llvmcall](https://discourse.julialang.org/t/debugging-float-simd-intrinsics-via-llvmcall/27855)

<div class="topic-metadata">

**Author:** [@smallnamespace](https://discourse.julialang.org/u/smallnamespace)\
**Replies:** 4\
**Last updated:** [August 22, 2019, 4:56pm UTC](https://discourse.julialang.org/t/debugging-float-simd-intrinsics-via-llvmcall/27855 "2019-08-22T16:56:36Z")

</div>

I’m trying to set up a SIMD intrinsic for rsqrt: function rsqrt(f::Vec{4, Float32}) llvmcall(("declare \<4 x float\> @llvm.x86.sse.rsqrt.ps(\<4 x float\>) nounwind readnone", " %2 = call \<4 x float\> @llvm…

---

## [Logging messages don't display full array](https://discourse.julialang.org/t/logging-messages-dont-display-full-array/27868)

<div class="topic-metadata">

**Author:** [@fredcallaway](https://discourse.julialang.org/u/fredcallaway)\
**Replies:** 2\
**Last updated:** [August 22, 2019, 11:43pm UTC](https://discourse.julialang.org/t/logging-messages-dont-display-full-array/27868 "2019-08-22T23:43:16Z")

</div>

I have a log message which displays many variables, and I find that some values (e.g. length 3 arrays) don’t show up at all, e.g. ┌ Info: Loss │ total = 0.29817146330446415 │ losses = 3-element Array{Float64,1}: … t…

---

## [TableView works great for browsing data as a spreadsheet!](https://discourse.julialang.org/t/tableview-works-great-for-browsing-data-as-a-spreadsheet/27858)

<div class="topic-metadata">

**Author:** [@aaowens](https://discourse.julialang.org/u/aaowens)\
**Replies:** 6\
**Last updated:** [August 22, 2019, 11:33pm UTC](https://discourse.julialang.org/t/tableview-works-great-for-browsing-data-as-a-spreadsheet/27858 "2019-08-22T23:33:26Z")

</div>

Just wanted to share some appreciation for https://github.com/JuliaComputing/TableView.jl as I’ve observed that many people are not aware of its existence. You can browse a spreadsheet of data easily, and it works with J…

---

## [Edit a cell in TableView](https://discourse.julialang.org/t/edit-a-cell-in-tableview/25363)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 8\
**Last updated:** [June 17, 2019, 9:40pm UTC](https://discourse.julialang.org/t/edit-a-cell-in-tableview/25363 "2019-06-17T21:40:26Z")

</div>

Say I have a table that I want to show from the REPL: using Blink, TableView n = 10 t = (id = 1:n, good = rand(Bool, n)) w = Blink.Window() body!(w, showtable(t)) How exactly can I flip the true/false content in the ce…

---

## [Series recipe for a 3d plot or a heatmap](https://discourse.julialang.org/t/series-recipe-for-a-3d-plot-or-a-heatmap/27614)

<div class="topic-metadata">

**Author:** [@misha\_mikhasenko](https://discourse.julialang.org/u/misha_mikhasenko)\
**Replies:** 2\
**Last updated:** [August 22, 2019, 9:14pm UTC](https://discourse.julialang.org/t/series-recipe-for-a-3d-plot-or-a-heatmap/27614 "2019-08-22T21:14:53Z")

</div>

I am trying to make a recipe for a customized heatmap. However, my new seriestype is not recognized as 3d, is it seems. @recipe function f(::Type{Val{:balanceplot}}, x, y, z) zlim = max(abs.(z)...) clim := (-zli…

---

## [Location of libopenblas](https://discourse.julialang.org/t/location-of-libopenblas/23148)

<div class="topic-metadata">

**Author:** [@Tim\_Kelley](https://discourse.julialang.org/u/Tim_Kelley)\
**Replies:** 4\
**Last updated:** [August 22, 2019, 8:56pm UTC](https://discourse.julialang.org/t/location-of-libopenblas/23148 "2019-08-22T20:56:22Z")

</div>

I’m trying to make a direct call to dgemm. Julia can’t seem to find the library, which on my mac is in .julia/conda/3/lib instead of /usr/local/lib. Did I make an error in the install? When I look at the sourse for gemm…

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

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