# Latest

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

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

**Page:** 1915

---

## [ERROR: Unsatisfiable requirements detected for package LinQuadOptInterface \[f8899e07\]:](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package-linquadoptinterface-f8899e07/29182)

<div class="topic-metadata">

**Author:** [@wain229](https://discourse.julialang.org/u/wain229)\
**Replies:** 1\
**Last updated:** [September 26, 2019, 3:54am UTC](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package-linquadoptinterface-f8899e07/29182 "2019-09-26T03:54:27Z")

</div>

I was trying to add the Clp package today, but the below error happened. I was using the Julia version 1.0.4. Any one can help me? Thanks julia\> import Pkg julia\> Pkg.add(“Clp”) Updating registry at C:\\Users\\pqwa001\\.…

---

## [Argument type for tuples of same length](https://discourse.julialang.org/t/argument-type-for-tuples-of-same-length/29174)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 2\
**Last updated:** [September 25, 2019, 8:51pm UTC](https://discourse.julialang.org/t/argument-type-for-tuples-of-same-length/29174 "2019-09-25T20:51:35Z")

</div>

I would like to create a function taking two tuples t1 and t2 as arguments. The two tuples need to have the same length, but their elements can be of any type, and each tuple doesn’t need to be composed of the entries o…

---

## [Remove the last character from a string](https://discourse.julialang.org/t/remove-the-last-character-from-a-string/853)

<div class="topic-metadata">

**Author:** [@mposs](https://discourse.julialang.org/u/mposs)\
**Replies:** 6\
**Last updated:** [September 25, 2019, 7:03pm UTC](https://discourse.julialang.org/t/remove-the-last-character-from-a-string/853 "2019-09-25T19:03:01Z")

</div>

Hello I saw that the function “chop” removes the last character of a given string. How to do the same for the first one ? Thank’s Michael.

---

## [Heatmap with labels per block](https://discourse.julialang.org/t/heatmap-with-labels-per-block/29152)

<div class="topic-metadata">

**Author:** [@feanor12](https://discourse.julialang.org/u/feanor12)\
**Replies:** 4\
**Last updated:** [September 25, 2019, 6:33pm UTC](https://discourse.julialang.org/t/heatmap-with-labels-per-block/29152 "2019-09-25T18:33:58Z")

</div>

Is it possible to generate something like this (Create heatmap chart - MATLAB heatmap) with Plots.jl? Especially the labels inside the blocks. I could only find this example: http://docs.juliaplots.org/latest/examples/g…

---

## [Complex Numbers Wrappers](https://discourse.julialang.org/t/complex-numbers-wrappers/28283)

<div class="topic-metadata">

**Author:** [@anon92994695](https://discourse.julialang.org/u/anon92994695)\
**Replies:** 7\
**Last updated:** [September 25, 2019, 5:36pm UTC](https://discourse.julialang.org/t/complex-numbers-wrappers/28283 "2019-09-25T17:36:16Z")

</div>

Hi All, I’ve been working kind of stealth on a Julia package to try and draw people into the language. The field I’m toying in heavily involves complex arithematic and when it doesn’t it’s still very convenient to somet…

---

## [Cool Case of Faster than C++ performance](https://discourse.julialang.org/t/cool-case-of-faster-than-c-performance/29165)

<div class="topic-metadata">

**Author:** [@dataDiver](https://discourse.julialang.org/u/dataDiver)\
**Replies:** 3\
**Last updated:** [September 25, 2019, 3:47pm UTC](https://discourse.julialang.org/t/cool-case-of-faster-than-c-performance/29165 "2019-09-25T15:47:34Z")

</div>

This query was originally going to be me complaining about why I was getting inconsistent performance over some benchmark times, it turns out that it was at some kind of cache threshold and modifying the size of the vect…

---

## ["@everywhere using" ERROR for worker 2](https://discourse.julialang.org/t/everywhere-using-error-for-worker-2/16520)

<div class="topic-metadata">

**Author:** [@Zhong\_Pan](https://discourse.julialang.org/u/Zhong_Pan)\
**Replies:** 3\
**Last updated:** [September 25, 2019, 1:48pm UTC](https://discourse.julialang.org/t/everywhere-using-error-for-worker-2/16520 "2019-09-25T13:48:21Z")

</div>

Hi, I’m trying to use parallel processing on Julia 1.0.1 and found the following issue: the new worker is not able to find packages I already installed. Please help me do this in the right way. In the example below, I …

---

## [Coexisting Markdown and RST documentation](https://discourse.julialang.org/t/coexisting-markdown-and-rst-documentation/29161)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 0\
**Last updated:** [September 25, 2019, 1:40pm UTC](https://discourse.julialang.org/t/coexisting-markdown-and-rst-documentation/29161 "2019-09-25T13:40:37Z")

</div>

Julia docstrings are expected to be written in Markdown, but there are situations where it it may be useful to use other formats. E.g. the package GR is part of a larger project whose documentation seems to be made with …

---

## [Permute Multidimensional Array without allocation](https://discourse.julialang.org/t/permute-multidimensional-array-without-allocation/29153)

<div class="topic-metadata">

**Author:** [@mrVeng](https://discourse.julialang.org/u/mrVeng)\
**Replies:** 9\
**Last updated:** [September 25, 2019, 1:26pm UTC](https://discourse.julialang.org/t/permute-multidimensional-array-without-allocation/29153 "2019-09-25T13:26:58Z")

</div>

Hi guys, I am trying to permute/shuffle columns of a multidimensional array, an example is here: using BenchmarkTools const arra = zeros(Int, 4, 3, 2) arra\[:,:, 1\] = 1:12 arra\[:,:, 2\] = 13:24 shuffle\_col = \[3, 1, 1\] …

---

## [Creating C structs with pointers to other structs](https://discourse.julialang.org/t/creating-c-structs-with-pointers-to-other-structs/29121)

<div class="topic-metadata">

**Author:** [@cshenton](https://discourse.julialang.org/u/cshenton)\
**Replies:** 9\
**Last updated:** [September 25, 2019, 12:48pm UTC](https://discourse.julialang.org/t/creating-c-structs-with-pointers-to-other-structs/29121 "2019-09-25T12:48:38Z")

</div>

Suppose we have the following structs matching some structs in a C header: struct Foo a::UInt32 b::Cstring end struct Bar a::UInt32 b::Ptr{Foo} end And we have a function that takes a ptr to Bar. ccall …

---

## [Management of Packages in Julia](https://discourse.julialang.org/t/management-of-packages-in-julia/29098)

<div class="topic-metadata">

**Author:** [@natgeo-wong](https://discourse.julialang.org/u/natgeo-wong)\
**Replies:** 16\
**Last updated:** [September 25, 2019, 12:25pm UTC](https://discourse.julialang.org/t/management-of-packages-in-julia/29098 "2019-09-25T12:25:39Z")

</div>

Hi All, I’m using PkgTemplates to create new custom Pkgs for my own use, and as per PkgTemplate defaults, they save to the .julia/dev/ directory. I was able to call my first package, SatPrecip, with “using SatPrecip”. …

---

## [Build Executable using PackageCompiler](https://discourse.julialang.org/t/build-executable-using-packagecompiler/29156)

<div class="topic-metadata">

**Author:** [@Ajaychat3](https://discourse.julialang.org/u/Ajaychat3)\
**Replies:** 0\
**Last updated:** [September 25, 2019, 12:18pm UTC](https://discourse.julialang.org/t/build-executable-using-packagecompiler/29156 "2019-09-25T12:18:14Z")

</div>

I am trying to build an executable of hello.jl script following the guidance given in PackageCompiler help on this page https://github.com/JuliaLang/PackageCompiler.jl. I have tried both the options but the process fails…

---

## [Uncertainty quantification of inverse problem using hierarchical Bayes: high-level modelling](https://discourse.julialang.org/t/uncertainty-quantification-of-inverse-problem-using-hierarchical-bayes-high-level-modelling/28681)

<div class="topic-metadata">

**Author:** [@Oliver\_Lylloff](https://discourse.julialang.org/u/Oliver_Lylloff)\
**Replies:** 12\
**Last updated:** [September 25, 2019, 12:11pm UTC](https://discourse.julialang.org/t/uncertainty-quantification-of-inverse-problem-using-hierarchical-bayes-high-level-modelling/28681 "2019-09-25T12:11:50Z")

</div>

Hi all, I’m trying to solve an example problem from a paper \[1\] and wish to do it with high-level modelling. I’m looking into Turing.jl but other packages may exist that I do not know of. For a didactic purpose I want t…

---

## [Field specialization given parametric composite types](https://discourse.julialang.org/t/field-specialization-given-parametric-composite-types/29151)

<div class="topic-metadata">

**Author:** [@doit](https://discourse.julialang.org/u/doit)\
**Replies:** 2\
**Last updated:** [September 25, 2019, 11:19am UTC](https://discourse.julialang.org/t/field-specialization-given-parametric-composite-types/29151 "2019-09-25T11:19:53Z")

</div>

Hi there, I would like to define a set of structs, which share their name (and thus type), but specialize their fields depending on their parametric type: # abstract specialization types (of which there may be more tha…

---

## [Transitioning from Ubuntu PPA to official binaries](https://discourse.julialang.org/t/transitioning-from-ubuntu-ppa-to-official-binaries/28650)

<div class="topic-metadata">

**Author:** [@Vectornaut](https://discourse.julialang.org/u/Vectornaut)\
**Replies:** 5\
**Last updated:** [September 25, 2019, 11:27am UTC](https://discourse.julialang.org/t/transitioning-from-ubuntu-ppa-to-official-binaries/28650 "2019-09-25T11:27:46Z")

</div>

I maintain my Julia installation from @staticfloat’s PPA, and I wish I could keep doing that.＊ However, it’s time for me to move on from version 0.5, which means I need to transition to the official binaries. How can I …

---

## [Built Julia by platform/arch](https://discourse.julialang.org/t/built-julia-by-platform-arch/29144)

<div class="topic-metadata">

**Author:** [@taqtiqa-mark](https://discourse.julialang.org/u/taqtiqa-mark)\
**Replies:** 4\
**Last updated:** [September 25, 2019, 6:27am UTC](https://discourse.julialang.org/t/built-julia-by-platform-arch/29144 "2019-09-25T06:27:31Z")

</div>

Hi, Thank-you for the dev effort that goes into making Julia what it is. Context: Spinning up ephemeral containers/VM’s for running test suites. Linux primarily. That developer effort means Julia is evolving rapidly…

---

## [Gridstudio supports Julia](https://discourse.julialang.org/t/gridstudio-supports-julia/29143)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 0\
**Last updated:** [September 25, 2019, 3:37am UTC](https://discourse.julialang.org/t/gridstudio-supports-julia/29143 "2019-09-25T03:37:35Z")

</div>

https://gridstudio.io/announcement/ Does anyone know about gridstudio? It’s like an online Excel designed for data science.

---

## [Shared-memory parallelization with large matrix](https://discourse.julialang.org/t/shared-memory-parallelization-with-large-matrix/29076)

<div class="topic-metadata">

**Author:** [@Sam](https://discourse.julialang.org/u/Sam)\
**Replies:** 9\
**Last updated:** [September 24, 2019, 6:33pm UTC](https://discourse.julialang.org/t/shared-memory-parallelization-with-large-matrix/29076 "2019-09-24T18:33:03Z")

</div>

Hi! I am currently writing a program that looks something like this Threads.@threads for i = 1:m a\[m\] = f(args, matrix\[:,:,m\]) end Where f is a function that runs some calculations, matrix is a large (e.g. 3000x…

---

## [Dataframe delete duplicate with condition](https://discourse.julialang.org/t/dataframe-delete-duplicate-with-condition/29137)

<div class="topic-metadata">

**Author:** [@Joshua\_Bowles](https://discourse.julialang.org/u/Joshua_Bowles)\
**Replies:** 2\
**Last updated:** [September 25, 2019, 1:36am UTC](https://discourse.julialang.org/t/dataframe-delete-duplicate-with-condition/29137 "2019-09-25T01:36:00Z")

</div>

I’m trying to get from this df df = DataFrame(A = \["jj","jj","ab","ac","ac"\], B = \[0, 1, 0, 0, 1\], C = \["M", "M", "F", "M", "M"\]) #== 5×3 DataFrame │ Row │ A │ B │ C │ │ │ String │ Int64 │ String │ ├──…

---

## [Missing docstrings with Documenter](https://discourse.julialang.org/t/missing-docstrings-with-documenter/29122)

<div class="topic-metadata">

**Author:** [@pulsipher](https://discourse.julialang.org/u/pulsipher)\
**Replies:** 2\
**Last updated:** [September 24, 2019, 11:45pm UTC](https://discourse.julialang.org/t/missing-docstrings-with-documenter/29122 "2019-09-24T23:45:05Z")

</div>

I am building documentation for my package InfiniteOpt.jl, but I have 4 docstrings that Documenter cannot find for some reason. These correspond to the last 4 function references I make on my Model Transcription page (do…

---

## [How to read big-endian data](https://discourse.julialang.org/t/how-to-read-big-endian-data/29132)

<div class="topic-metadata">

**Author:** [@danielc](https://discourse.julialang.org/u/danielc)\
**Replies:** 5\
**Last updated:** [September 24, 2019, 11:13pm UTC](https://discourse.julialang.org/t/how-to-read-big-endian-data/29132 "2019-09-24T23:13:30Z")

</div>

Hello, I have an IOStream and I want to read a series of floats that are stored in big-endian order, while my computer is usually little-endian. So there are a few parts to my question: If I know that the computer is …

---

## [Can't run a Python code on Julia using PyCall](https://discourse.julialang.org/t/cant-run-a-python-code-on-julia-using-pycall/29061)

<div class="topic-metadata">

**Author:** [@marouane](https://discourse.julialang.org/u/marouane)\
**Replies:** 6\
**Last updated:** [September 24, 2019, 9:40pm UTC](https://discourse.julialang.org/t/cant-run-a-python-code-on-julia-using-pycall/29061 "2019-09-24T21:40:57Z")

</div>

Hi everybody, since Julia is able to connect with Python using PyCall i was trying to apply that on a python code on julia for a smith decomposition but i can’t run it even tho everything seem fine to me, here’s the cod…

---

## [Multithreading on RapberryPi4 (arm32 v7 version)](https://discourse.julialang.org/t/multithreading-on-rapberrypi4-arm32-v7-version/29131)

<div class="topic-metadata">

**Author:** [@pavhofman](https://discourse.julialang.org/u/pavhofman)\
**Replies:** 2\
**Last updated:** [September 24, 2019, 9:03pm UTC](https://discourse.julialang.org/t/multithreading-on-rapberrypi4-arm32-v7-version/29131 "2019-09-24T21:03:25Z")

</div>

Hi, Please does the “Threads.@threads for” functionality split the loop into threads on RPi (v. 4)? I changed the number of threads to 4 via the env JULIA\_NUM\_THREADS=4, confirmed by Threads.nthreads(). Yet top command …

---

## [How to export programatically-generated variables from a module](https://discourse.julialang.org/t/how-to-export-programatically-generated-variables-from-a-module/29118)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 1\
**Last updated:** [September 24, 2019, 6:52pm UTC](https://discourse.julialang.org/t/how-to-export-programatically-generated-variables-from-a-module/29118 "2019-09-24T18:52:45Z")

</div>

There might be a much simpler solution to this that doesn’t even involve metaprogramming, but what I’m trying to do is generate some variables within a module that will hold data frames and then make those variables avai…

---

## [Concatenate DataFrame columns dynamically](https://discourse.julialang.org/t/concatenate-dataframe-columns-dynamically/29106)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 9\
**Last updated:** [September 24, 2019, 5:49pm UTC](https://discourse.julialang.org/t/concatenate-dataframe-columns-dynamically/29106 "2019-09-24T17:49:14Z")

</div>

Hello, amazing Julia community! :smiley: I’m stumped this morning on what I thought would be a fairly trivial task: I am trying to write a function that creates a new column in a DataFrame, the values of which are simpl…

---

## [Julia v1.3.0-rc2 is now available](https://discourse.julialang.org/t/julia-v1-3-0-rc2-is-now-available/28837)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 8\
**Last updated:** [September 24, 2019, 5:29pm UTC](https://discourse.julialang.org/t/julia-v1-3-0-rc2-is-now-available/28837 "2019-09-24T17:29:00Z")

</div>

The second release candidate for Julia v1.3.0 is now available. Get binaries for Linux (i686, x86-64, ARMv7, AArch64), FreeBSD (x86-64), Windows (32-, 64-bit), and macOS at Download Julia. Check out the NEWS file to see …

---

## [Get non-missing type in the case of parametric type](https://discourse.julialang.org/t/get-non-missing-type-in-the-case-of-parametric-type/29109)

<div class="topic-metadata">

**Author:** [@tlienart](https://discourse.julialang.org/u/tlienart)\
**Replies:** 4\
**Last updated:** [September 24, 2019, 3:04pm UTC](https://discourse.julialang.org/t/get-non-missing-type-in-the-case-of-parametric-type/29109 "2019-09-24T15:04:14Z")

</div>

So I was looking at how to get T from a Union{Missing,T} and came up with nonmissing(TT::Type{Union{Missing,T}}) where T = T nonmissing(TT::Type{T}) where T = T (PS: incidentally I found that @bkamins had answered some…

---

## [Gillespie in parallel on the GPU with DiffEqGPU?](https://discourse.julialang.org/t/gillespie-in-parallel-on-the-gpu-with-diffeqgpu/29114)

<div class="topic-metadata">

**Author:** [@nilsbecker](https://discourse.julialang.org/u/nilsbecker)\
**Replies:** 1\
**Last updated:** [September 24, 2019, 2:44pm UTC](https://discourse.julialang.org/t/gillespie-in-parallel-on-the-gpu-with-diffeqgpu/29114 "2019-09-24T14:44:12Z")

</div>

DifferentialEquations is getting support for integrating ODE parameters ensembles on the GPU, in parallel. Another example for an ‘embarassingly parallel’ problem is stochastic simulation with multiple copies of random n…

---

## [Design Pattern the Julian way?](https://discourse.julialang.org/t/design-pattern-the-julian-way/29002)

<div class="topic-metadata">

**Author:** [@atthom](https://discourse.julialang.org/u/atthom)\
**Replies:** 16\
**Last updated:** [September 24, 2019, 11:02am UTC](https://discourse.julialang.org/t/design-pattern-the-julian-way/29002 "2019-09-24T11:02:27Z")

</div>

Design Patterns are the firsts building blocks when developing an application. There are a few of them, most developers recognize or use them when building a medium/large application. They are listed here: Software des…

---

## [Export trained model to PMML](https://discourse.julialang.org/t/export-trained-model-to-pmml/29110)

<div class="topic-metadata">

**Author:** [@Carlos\_Roig](https://discourse.julialang.org/u/Carlos_Roig)\
**Replies:** 0\
**Last updated:** [September 24, 2019, 1:07pm UTC](https://discourse.julialang.org/t/export-trained-model-to-pmml/29110 "2019-09-24T13:07:21Z")

</div>

Hi there, I’m trying to find a way to export an already trained model to PMML formal, so I can integrate the model in a PMML consumer (Zementis Predictive Analytics). Is there any way to do that in Julia? In R and Pyth…

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

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