# Latest

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

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

**Page:** 1918

---

## [ANN: FinEtools (finite element library) design documentation (updated link)](https://discourse.julialang.org/t/ann-finetools-finite-element-library-design-documentation-updated-link/7194)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 3\
**Last updated:** [September 20, 2019, 4:59am UTC](https://discourse.julialang.org/t/ann-finetools-finite-element-library-design-documentation-updated-link/7194 "2019-09-20T04:59:48Z")

</div>

For those who would like to explore FinEtools: I started writing up the documentation of the design of the library. https://petrkryslucsd.github.io/FinEtools.jl My aim is to make it rather easy to understand why thi…

---

## [Is importing module is allowed inside @static?](https://discourse.julialang.org/t/is-importing-module-is-allowed-inside-static/28975)

<div class="topic-metadata">

**Author:** [@Sijun](https://discourse.julialang.org/u/Sijun)\
**Replies:** 2\
**Last updated:** [September 20, 2019, 4:26am UTC](https://discourse.julialang.org/t/is-importing-module-is-allowed-inside-static/28975 "2019-09-20T04:26:56Z")

</div>

It seems allowed but somehow limited in what it allows. I tried: use\_sklearn = true @static if use\_sklearn using ScikitLearn @sk\_import linear\_model: LogisticRegression else using GLM end , which produces …

---

## [CuArray is Row Major or Column Major?](https://discourse.julialang.org/t/cuarray-is-row-major-or-column-major/7402)

<div class="topic-metadata">

**Author:** [@drjoke](https://discourse.julialang.org/u/drjoke)\
**Replies:** 1\
**Last updated:** [November 30, 2017, 7:49am UTC](https://discourse.julialang.org/t/cuarray-is-row-major-or-column-major/7402 "2017-11-30T07:49:41Z")

</div>

And does it really matter for the GPU? I read it matters if the architecture supports SIMD. I am not sure if GPU supports SIMD.

---

## [Building SCIP error](https://discourse.julialang.org/t/building-scip-error/28973)

<div class="topic-metadata">

**Author:** [@Ariel\_Cruz\_Cruz](https://discourse.julialang.org/u/Ariel_Cruz_Cruz)\
**Replies:** 2\
**Last updated:** [September 20, 2019, 2:31am UTC](https://discourse.julialang.org/t/building-scip-error/28973 "2019-09-20T02:31:44Z")

</div>

Hi, I’m trying to add the SCIP package to solve some optimization problems. I am using Ubuntu 18.04 and I installed SCIP already. But when I try to make the Pkg.build("SCIP") I get the next error message: julia\> Pkg.bui…

---

## [Compile-time for large SizedArray (StaticArrays.jl)](https://discourse.julialang.org/t/compile-time-for-large-sizedarray-staticarrays-jl/28945)

<div class="topic-metadata">

**Author:** [@josuagrw](https://discourse.julialang.org/u/josuagrw)\
**Replies:** 3\
**Last updated:** [September 20, 2019, 1:22am UTC](https://discourse.julialang.org/t/compile-time-for-large-sizedarray-staticarrays-jl/28945 "2019-09-20T01:22:14Z")

</div>

I noticed compile time rapidly increases for large SizedArrays. For example: julia\> using StaticArrays julia\> bench(a) = @time maximum(a) bench (generic function with 1 method) julia\> bench(randn(1\_000, 1\_000)) 0.0…

---

## [Installing julia from Linux](https://discourse.julialang.org/t/installing-julia-from-linux/28959)

<div class="topic-metadata">

**Author:** [@Ariel\_Cruz\_Cruz](https://discourse.julialang.org/u/Ariel_Cruz_Cruz)\
**Replies:** 6\
**Last updated:** [September 20, 2019, 12:16am UTC](https://discourse.julialang.org/t/installing-julia-from-linux/28959 "2019-09-20T00:16:01Z")

</div>

I have a question. I’m using Ubuntu 18.04. When I install Julia using the snap I get the 1.0.4 version but in the official site I can get the version 1.2.0. What’s that? Thank you

---

## [AxisArrays, iterate over all dimensions except certain ones?](https://discourse.julialang.org/t/axisarrays-iterate-over-all-dimensions-except-certain-ones/28487)

<div class="topic-metadata">

**Author:** [@tlnagy](https://discourse.julialang.org/u/tlnagy)\
**Replies:** 2\
**Last updated:** [September 19, 2019, 9:53pm UTC](https://discourse.julialang.org/t/axisarrays-iterate-over-all-dimensions-except-certain-ones/28487 "2019-09-19T21:53:38Z")

</div>

Is there an easy way to iterate over all axes except certain ones? I.e. the negation of the inputs? My use case is a general function that works on images with an arbitrary number of dimensions, but needs to iterate over…

---

## [Project Management Tools (Not just julia)](https://discourse.julialang.org/t/project-management-tools-not-just-julia/28710)

<div class="topic-metadata">

**Author:** [@Zach\_Christensen](https://discourse.julialang.org/u/Zach_Christensen)\
**Replies:** 15\
**Last updated:** [September 19, 2019, 9:42pm UTC](https://discourse.julialang.org/t/project-management-tools-not-just-julia/28710 "2019-09-19T21:42:13Z")

</div>

A general question about what people use for managing a diverse array of projects in one place. I’m trying to get a nice workflow that facilitates: Coding projects Writing papers Todo lists General scheduling and plann…

---

## [Functional application, reconciling currying with multiple dispatch](https://discourse.julialang.org/t/functional-application-reconciling-currying-with-multiple-dispatch/28920)

<div class="topic-metadata">

**Author:** [@christophE](https://discourse.julialang.org/u/christophE)\
**Replies:** 6\
**Last updated:** [September 19, 2019, 7:41pm UTC](https://discourse.julialang.org/t/functional-application-reconciling-currying-with-multiple-dispatch/28920 "2019-09-19T19:41:31Z")

</div>

Good evening alltogether! I’m very new to Julia and I read several discussions and I thought about the conflicts and making language usage even more attractive. Unfortunately I could not register in GitHub hence here is…

---

## [How to make a wrapper around a non-thread safe C library thread-safe](https://discourse.julialang.org/t/how-to-make-a-wrapper-around-a-non-thread-safe-c-library-thread-safe/28950)

<div class="topic-metadata">

**Author:** [@fabiangans](https://discourse.julialang.org/u/fabiangans)\
**Replies:** 2\
**Last updated:** [September 19, 2019, 7:59pm UTC](https://discourse.julialang.org/t/how-to-make-a-wrapper-around-a-non-thread-safe-c-library-thread-safe/28950 "2019-09-19T19:59:55Z")

</div>

Dear all, I am looking for hints how to make the NetCDF.jl prepared for the new threading in Julia 1.3. The package is a wrapper around a C library which is not thread-safe, so I think one has to make sure that only one…

---

## [Idiomatic use of \`iterate\`](https://discourse.julialang.org/t/idiomatic-use-of-iterate/28951)

<div class="topic-metadata">

**Author:** [@krcools](https://discourse.julialang.org/u/krcools)\
**Replies:** 9\
**Last updated:** [September 19, 2019, 7:08pm UTC](https://discourse.julialang.org/t/idiomatic-use-of-iterate/28951 "2019-09-19T19:08:40Z")

</div>

I want to insert item in a linked list containing balls before the first red ball. The precise implementation of the list is not too important. I in particular did not use the list provided by Datastructures.jl, but my o…

---

## [Strip symbolic function for variables and make it an array of symbols](https://discourse.julialang.org/t/strip-symbolic-function-for-variables-and-make-it-an-array-of-symbols/28960)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 0\
**Last updated:** [September 19, 2019, 6:06pm UTC](https://discourse.julialang.org/t/strip-symbolic-function-for-variables-and-make-it-an-array-of-symbols/28960 "2019-09-19T18:06:23Z")

</div>

Hey again I am still a bit new to symbolic math in Julia (SymEngine.jl), so please excuse my ignorance - I have a case as such: X(x,y) = \[1 x y x\*y\] Xᶜ = \[1 x y x\*y\] #\\^c Where I need X as both a function of sym…

---

## [Gurobi for quadratic constraint problems](https://discourse.julialang.org/t/gurobi-for-quadratic-constraint-problems/28956)

<div class="topic-metadata">

**Author:** [@Ariel\_Cruz\_Cruz](https://discourse.julialang.org/u/Ariel_Cruz_Cruz)\
**Replies:** 2\
**Last updated:** [September 19, 2019, 5:14pm UTC](https://discourse.julialang.org/t/gurobi-for-quadratic-constraint-problems/28956 "2019-09-19T17:14:48Z")

</div>

Hi, I want to know if I can use the Gurobi solver to solve the next problem: min: ( (x1-1)^2 + (x2-2)^2 + (x3-1)^2 ) / 2 s.t.: x1, x2, x3 \>= 0 x1 \* x3 \<= 2 x2 \* x3 \<= 2 Because when I try to do that I get this error: …

---

## [Optical Music Recognition](https://discourse.julialang.org/t/optical-music-recognition/28834)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 2\
**Last updated:** [September 19, 2019, 5:03pm UTC](https://discourse.julialang.org/t/optical-music-recognition/28834 "2019-09-19T17:03:02Z")

</div>

Is anyone interested in working on OMR in Julia? Warning: I am a total novice in ML :smiley: I’ve been looking for an excuse to finally take the dive into machine/deep learning in Julia and this is a project that I c…

---

## [Suggestions for manipulating an array](https://discourse.julialang.org/t/suggestions-for-manipulating-an-array/28946)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 7\
**Last updated:** [September 19, 2019, 4:56pm UTC](https://discourse.julialang.org/t/suggestions-for-manipulating-an-array/28946 "2019-09-19T16:56:16Z")

</div>

Hey guys and girls I have this case, where I have a row vector N, which I want to rewrite to a matrix of these forms: N = \[N1 N2 N3 N4\] N2D = \[N1 0 N2 0 N3 0 N4 0; 0 N1 0 N2 0 N3 0 N4\]; N3D = \[N1 0 0 N2 0 0 N3…

---

## [Replace registered package](https://discourse.julialang.org/t/replace-registered-package/28830)

<div class="topic-metadata">

**Author:** [@ppascal97](https://discourse.julialang.org/u/ppascal97)\
**Replies:** 7\
**Last updated:** [September 19, 2019, 4:05pm UTC](https://discourse.julialang.org/t/replace-registered-package/28830 "2019-09-19T16:05:43Z")

</div>

Hi everyone ! I have been developping the package NOMAD.jl for a few months and I’d like to register it officially. The issue is that someone has already registered a package named NOMAD.jl. I’m in touch with this perso…

---

## [Developing a kmer counter in Julia](https://discourse.julialang.org/t/developing-a-kmer-counter-in-julia/292)

<div class="topic-metadata">

**Author:** [@bpr](https://discourse.julialang.org/u/bpr)\
**Replies:** 7\
**Last updated:** [September 19, 2019, 3:42pm UTC](https://discourse.julialang.org/t/developing-a-kmer-counter-in-julia/292 "2019-09-19T15:42:59Z")

</div>

Hi, I was looking at some data using the Jellyfish program (a fast parallel kmer counter written in C++) and I was wondering how close I could get to it’s performance in Julia. Just so you know where I’m coming from, my…

---

## [When embedding, do jl\_array\_t\*, jl\_sym\_t\* and jl\_value\_t\*-representing-a-type need to be wrapped in RefValue{Any} when rooting?](https://discourse.julialang.org/t/when-embedding-do-jl-array-t-jl-sym-t-and-jl-value-t-representing-a-type-need-to-be-wrapped-in-refvalue-any-when-rooting/28896)

<div class="topic-metadata">

**Author:** [@JJB](https://discourse.julialang.org/u/JJB)\
**Replies:** 2\
**Last updated:** [September 19, 2019, 2:09pm UTC](https://discourse.julialang.org/t/when-embedding-do-jl-array-t-jl-sym-t-and-jl-value-t-representing-a-type-need-to-be-wrapped-in-refvalue-any-when-rooting/28896 "2019-09-19T14:09:09Z")

</div>

From Embedding Julia · The Julia Language, it seems if I want a long-lasting object not to be collected by the Julia garbage collector when embedding Julia in C++, I need to store that object in an IdDict bound to a glob…

---

## [Why can I just write BigInt("12345")](https://discourse.julialang.org/t/why-can-i-just-write-bigint-12345/28941)

<div class="topic-metadata">

**Author:** [@StevenSiew](https://discourse.julialang.org/u/StevenSiew)\
**Replies:** 14\
**Last updated:** [September 19, 2019, 1:28pm UTC](https://discourse.julialang.org/t/why-can-i-just-write-bigint-12345/28941 "2019-09-19T13:28:17Z")

</div>

According to Mathematicians No Longer Stumped By The Number 3 Just on the heels of finding three cubed numbers that \[sum to 42\], scientists have passed another important milestone by finding three enormous cubes that su…

---

## [CUDAnative: examples using CUDA streams?](https://discourse.julialang.org/t/cudanative-examples-using-cuda-streams/24702)

<div class="topic-metadata">

**Author:** [@samo](https://discourse.julialang.org/u/samo)\
**Replies:** 8\
**Last updated:** [September 19, 2019, 1:06pm UTC](https://discourse.julialang.org/t/cudanative-examples-using-cuda-streams/24702 "2019-09-19T13:06:24Z")

</div>

From this topic we can see that CUDA streams are supported. Are there any code examples using CUDA streams in CUDAnative to help with first steps? I.e. how to create a stream, use it in a kernel call, sync on the stream…

---

## [What can we do if the titile of the subplot overlap the xlabels](https://discourse.julialang.org/t/what-can-we-do-if-the-titile-of-the-subplot-overlap-the-xlabels/28944)

<div class="topic-metadata">

**Author:** [@Lyupinpin](https://discourse.julialang.org/u/Lyupinpin)\
**Replies:** 1\
**Last updated:** [September 19, 2019, 1:03pm UTC](https://discourse.julialang.org/t/what-can-we-do-if-the-titile-of-the-subplot-overlap-the-xlabels/28944 "2019-09-19T13:03:57Z")

</div>

using PyPlot clf() fig = figure("error",figsize=(10,50)) for i=1:3 subplot(3,1,i) a=rand(100) plot(a,a) ylabel(" Y",fontsize=18) xlabel("X",fontsize=18) title("L",fontsize=18) ax = gca() …

---

## [Unicode supported in Atom scripting window but not in REPL](https://discourse.julialang.org/t/unicode-supported-in-atom-scripting-window-but-not-in-repl/28939)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 7\
**Last updated:** [September 19, 2019, 10:46am UTC](https://discourse.julialang.org/t/unicode-supported-in-atom-scripting-window-but-not-in-repl/28939 "2019-09-19T10:46:24Z")

</div>

Hey guys! I am trying to write: \\bfpartial It works in the Atom editor window, but not in the REPL - how do I fix this? Kind regards

---

## [Julia First Steps (Not an advert, just a few links, pls dont block the post)](https://discourse.julialang.org/t/julia-first-steps-not-an-advert-just-a-few-links-pls-dont-block-the-post/28922)

<div class="topic-metadata">

**Author:** [@Christian\_Schumacher](https://discourse.julialang.org/u/Christian_Schumacher)\
**Replies:** 11\
**Last updated:** [September 19, 2019, 10:33am UTC](https://discourse.julialang.org/t/julia-first-steps-not-an-advert-just-a-few-links-pls-dont-block-the-post/28922 "2019-09-19T10:33:21Z")

</div>

Hi, I am new to Julia, coming from an R / Matlab background, but apparently I am too stupid to use it. I know its much to ask, but the only thing I wanted to do is getting this very well documented code to run: (https:…

---

## [Gtk documentation](https://discourse.julialang.org/t/gtk-documentation/28937)

<div class="topic-metadata">

**Author:** [@jonoke](https://discourse.julialang.org/u/jonoke)\
**Replies:** 1\
**Last updated:** [September 19, 2019, 8:46am UTC](https://discourse.julialang.org/t/gtk-documentation/28937 "2019-09-19T08:46:22Z")

</div>

Firstly, seeing as the first sentence of the introduction is a link to the Gtk documentation, is there a document somewhere that describes how to map the Julia library’s interface to the Gtk doco - like a “How to” read …

---

## [Overload addition assignment += operator](https://discourse.julialang.org/t/overload-addition-assignment-operator/28836)

<div class="topic-metadata">

**Author:** [@milesf](https://discourse.julialang.org/u/milesf)\
**Replies:** 13\
**Last updated:** [September 19, 2019, 8:10am UTC](https://discourse.julialang.org/t/overload-addition-assignment-operator/28836 "2019-09-19T08:10:10Z")

</div>

Here’s an example of what I’m trying to do: struct MyStruct x::Int end function Base.:+(s::MyStruct, a::Int) MyStruct(s.x + a) end s1 = MyStruct(5) s2 = s1 + 3 # ------ Everything above this line works ------…

---

## [CImGui.PlotLines and CImGui.PlotHistogram problems](https://discourse.julialang.org/t/cimgui-plotlines-and-cimgui-plothistogram-problems/28831)

<div class="topic-metadata">

**Author:** [@wiktorkujawa](https://discourse.julialang.org/u/wiktorkujawa)\
**Replies:** 8\
**Last updated:** [September 19, 2019, 8:09am UTC](https://discourse.julialang.org/t/cimgui-plotlines-and-cimgui-plothistogram-problems/28831 "2019-09-19T08:09:44Z")

</div>

I have a problem with these CImGui functions. It should plot my Array, but it take every second second value from my Array, and every second value from “I don’t know?” I checked my array values and there’s any problem w…

---

## [Minimizing long compile time/Precompiling](https://discourse.julialang.org/t/minimizing-long-compile-time-precompiling/28861)

<div class="topic-metadata">

**Author:** [@JTomlinson](https://discourse.julialang.org/u/JTomlinson)\
**Replies:** 3\
**Last updated:** [September 19, 2019, 7:23am UTC](https://discourse.julialang.org/t/minimizing-long-compile-time-precompiling/28861 "2019-09-19T07:23:02Z")

</div>

I have some code for a research project of mine that takes quite a long time to compile. Here is a recent example @time generateMnli(Pk, bd22, 0.0) @time generateMnli(Pk, bd22, 0.0) 434.282438 seconds (502.49 M allocat…

---

## [Partial parametric methods?](https://discourse.julialang.org/t/partial-parametric-methods/28911)

<div class="topic-metadata">

**Author:** [@essenciary](https://discourse.julialang.org/u/essenciary)\
**Replies:** 5\
**Last updated:** [September 19, 2019, 7:19am UTC](https://discourse.julialang.org/t/partial-parametric-methods/28911 "2019-09-19T07:19:21Z")

</div>

Not sure if the title of the topic accurately reflects what I’m looking for, but this is what I have in mind: I have a parametric type, HashMap{T,R} (it’s basically a custom Dict{T,R} type). I want to define method…

---

## [Debugging in Atom for Julia 0.6.4](https://discourse.julialang.org/t/debugging-in-atom-for-julia-0-6-4/28935)

<div class="topic-metadata">

**Author:** [@Hani20](https://discourse.julialang.org/u/Hani20)\
**Replies:** 0\
**Last updated:** [September 19, 2019, 2:24am UTC](https://discourse.julialang.org/t/debugging-in-atom-for-julia-0-6-4/28935 "2019-09-19T02:24:12Z")

</div>

Could anyone there guide me for debugging? I am supposed to work with the old version of Julia 0.6.4 and the Gallium.jl is deprecated already. Actually, I need to put the break point and go thru line by line. Is it poss…

---

## [Flux.jl: training fails at GPU but works on CPU](https://discourse.julialang.org/t/flux-jl-training-fails-at-gpu-but-works-on-cpu/28868)

<div class="topic-metadata">

**Author:** [@Martijn-R](https://discourse.julialang.org/u/Martijn-R)\
**Replies:** 1\
**Last updated:** [September 19, 2019, 1:06am UTC](https://discourse.julialang.org/t/flux-jl-training-fails-at-gpu-but-works-on-cpu/28868 "2019-09-19T01:06:03Z")

</div>

I have a Flux model that works OK on the CPU, but it fails when I switch to the GPU – see an MWE below. When I set gpu\_or\_cpu to cpu, loss drops to 0.004, but if I set it to gpu, the loss increases. I guess I am making …

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

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