# Latest

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

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

**Page:** 1928

---

## [Clp in Julia version 1.2.0](https://discourse.julialang.org/t/clp-in-julia-version-1-2-0/28333)

<div class="topic-metadata">

**Author:** [@jayce\_ram](https://discourse.julialang.org/u/jayce_ram)\
**Replies:** 4\
**Last updated:** [September 4, 2019, 7:17am UTC](https://discourse.julialang.org/t/clp-in-julia-version-1-2-0/28333 "2019-09-04T07:17:07Z")

</div>

I got the following error when I have tried to install Clp in the environment Julia in Atom: (v1.2) pkg\> add Clp Updating registry at \`C:\\Users\\joyce.ramos-araujo\\.julia\\registries\\General\` Updating git-repo \`https:…

---

## [Stickers - Where?](https://discourse.julialang.org/t/stickers-where/28355)

<div class="topic-metadata">

**Author:** [@Alec\_Loudenback](https://discourse.julialang.org/u/Alec_Loudenback)\
**Replies:** 2\
**Last updated:** [September 4, 2019, 10:38am UTC](https://discourse.julialang.org/t/stickers-where/28355 "2019-09-04T10:38:08Z")

</div>

I’ve not seen stickers on the store yet - seems like you still need to know someone or go to JuliaCon to get one? Is there another way to obtain one?

---

## [Problem to install JuMP 0.9 in Julia 1.2.0 : ERROR: failed to clone from “JuMP”,, error: GitError(Code:ERROR, Class:Net, unsupported URL protocol)](https://discourse.julialang.org/t/problem-to-install-jump-0-9-in-julia-1-2-0-error-failed-to-clone-from-jump-error-giterror-code-error-class-net-unsupported-url-protocol/28365)

<div class="topic-metadata">

**Author:** [@jayce\_ram](https://discourse.julialang.org/u/jayce_ram)\
**Replies:** 2\
**Last updated:** [September 4, 2019, 10:30am UTC](https://discourse.julialang.org/t/problem-to-install-jump-0-9-in-julia-1-2-0-error-failed-to-clone-from-jump-error-giterror-code-error-class-net-unsupported-url-protocol/28365 "2019-09-04T10:30:43Z")

</div>

I’m trying to migrate to Julia version \>1 but I’m struggling with packages versions. I have installed Julia 1.2.0 in Atom, I have added the pack JuMP but Clp is not working in the latest version of JuMP. So, I have trie…

---

## [Julia D - a library for interop between D and Julia](https://discourse.julialang.org/t/julia-d-a-library-for-interop-between-d-and-julia/28368)

<div class="topic-metadata">

**Author:** [@Laeeth](https://discourse.julialang.org/u/Laeeth)\
**Replies:** 0\
**Last updated:** [September 4, 2019, 10:10am UTC](https://discourse.julialang.org/t/julia-d-a-library-for-interop-between-d-and-julia/28368 "2019-09-04T10:10:44Z")

</div>

JuliaD: A library for interop between D and Julia As the name says on the tin, juliad is a library to call Julia from D and call D from Julia. The calling D from Julia part is not there yet. Its still very rough, not on…

---

## [Design advice](https://discourse.julialang.org/t/design-advice/28362)

<div class="topic-metadata">

**Author:** [@rveltz](https://discourse.julialang.org/u/rveltz)\
**Replies:** 7\
**Last updated:** [September 4, 2019, 10:09am UTC](https://discourse.julialang.org/t/design-advice/28362 "2019-09-04T10:09:49Z")

</div>

Hi, I would like to hear some design advice. I want the user to pass two parameters to a function where the second parameter depends on the first one. However, for pratical reason, I dont want the user to write a compli…

---

## [ANN: Infiltrator.jl](https://discourse.julialang.org/t/ann-infiltrator-jl/28323)

<div class="topic-metadata">

**Author:** [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Replies:** 20\
**Last updated:** [September 4, 2019, 8:42am UTC](https://discourse.julialang.org/t/ann-infiltrator-jl/28323 "2019-09-04T08:42:39Z")

</div>

Hey everyone, I’d like to announce Infiltrator.jl, which is intended as complement to the existing debuggers. What is this? Infiltrator.jl provides a macro called @infiltrate , which sets a “breakpoint” in a local cont…

---

## [Syntax highlighting issues in Juno(language-julia)](https://discourse.julialang.org/t/syntax-highlighting-issues-in-juno-language-julia/24872)

<div class="topic-metadata">

**Author:** [@jarrison](https://discourse.julialang.org/u/jarrison)\
**Replies:** 14\
**Last updated:** [September 4, 2019, 8:32am UTC](https://discourse.julialang.org/t/syntax-highlighting-issues-in-juno-language-julia/24872 "2019-09-04T08:32:05Z")

</div>

Hi all, I was poking around and endlessly customizing my stylesheet in atom and got to wondering whether it would be useful to bring Juno’s naming conventions more in line with various other language packages in Atom. I…

---

## [Julia equivalent of purrr::safely in R?](https://discourse.julialang.org/t/julia-equivalent-of-purrr-safely-in-r/28217)

<div class="topic-metadata">

**Author:** [@abeburnett](https://discourse.julialang.org/u/abeburnett)\
**Replies:** 8\
**Last updated:** [August 31, 2019, 8:09am UTC](https://discourse.julialang.org/t/julia-equivalent-of-purrr-safely-in-r/28217 "2019-08-31T08:09:25Z")

</div>

Hi again, I’m looking to see if anyone has already created a library like purrr in R, which offers the excellent functionality of safely. For anyone unfamiliar, safely is awesome for capturing side effects. It’s like tr…

---

## [Alternative to redefining a @generated function to observe (subsequently static) state](https://discourse.julialang.org/t/alternative-to-redefining-a-generated-function-to-observe-subsequently-static-state/28226)

<div class="topic-metadata">

**Author:** [@zsunberg](https://discourse.julialang.org/u/zsunberg)\
**Replies:** 8\
**Last updated:** [September 4, 2019, 5:50am UTC](https://discourse.julialang.org/t/alternative-to-redefining-a-generated-function-to-observe-subsequently-static-state/28226 "2019-09-04T05:50:30Z")

</div>

Brace yourselves - I am about to commit code to my package that calls eval to redefine a @generated function so that it can observe global state (that will normally not change after the redefinition). I actually think t…

---

## [Calling C++ function that takes and returns Eigen Matrix from Julia](https://discourse.julialang.org/t/calling-c-function-that-takes-and-returns-eigen-matrix-from-julia/28287)

<div class="topic-metadata">

**Author:** [@amit112amit](https://discourse.julialang.org/u/amit112amit)\
**Replies:** 4\
**Last updated:** [September 4, 2019, 4:48am UTC](https://discourse.julialang.org/t/calling-c-function-that-takes-and-returns-eigen-matrix-from-julia/28287 "2019-09-04T04:48:57Z")

</div>

What is the best approach to call a C++ function which accepts and returns an Eigen Matrix? The function has signature Eigen::Matrix3Xi makeconvexhull(Eigen::Matrix3Xd points) Here, points is a 3 x N matrix of double a…

---

## [PyPlot error and it crashes the REPL](https://discourse.julialang.org/t/pyplot-error-and-it-crashes-the-repl/23957)

<div class="topic-metadata">

**Author:** [@XavierG](https://discourse.julialang.org/u/XavierG)\
**Replies:** 3\
**Last updated:** [September 4, 2019, 1:06am UTC](https://discourse.julialang.org/t/pyplot-error-and-it-crashes-the-repl/23957 "2019-09-04T01:06:37Z")

</div>

Hi I installed my Julia ecosystem on a new macbook pro (with mojave 10.14.4 and Julia 1.1.0), and a crash occurs when any PyPlot (version installed: 2.8.1) command is executed. Hereafter an example when I execute the co…

---

## [Is \`rand()\` threadsafe?](https://discourse.julialang.org/t/is-rand-threadsafe/4683)

<div class="topic-metadata">

**Author:** [@Evizero](https://discourse.julialang.org/u/Evizero)\
**Replies:** 13\
**Last updated:** [September 4, 2019, 12:02am UTC](https://discourse.julialang.org/t/is-rand-threadsafe/4683 "2019-09-04T00:02:42Z")

</div>

While it seems to work and the output looks sensible, I have this lingering suspicion that rand() is not threadsafe and that using it in a Thread.@threads loop is volatile. Browsing through base/random.jl and base/dSFMT…

---

## [How to fill dataframe from an array and date range?](https://discourse.julialang.org/t/how-to-fill-dataframe-from-an-array-and-date-range/28227)

<div class="topic-metadata">

**Author:** [@abeburnett](https://discourse.julialang.org/u/abeburnett)\
**Replies:** 4\
**Last updated:** [September 3, 2019, 10:52pm UTC](https://discourse.julialang.org/t/how-to-fill-dataframe-from-an-array-and-date-range/28227 "2019-09-03T22:52:26Z")

</div>

So let’s see if I can convey what I’m trying to do: I have a list (array actually) of 931 technology names, and a known minimum date and maximum date. I want to create a dataframe in the most Julia-esque way which has e…

---

## [How to solve non-linear system with input array?](https://discourse.julialang.org/t/how-to-solve-non-linear-system-with-input-array/28336)

<div class="topic-metadata">

**Author:** [@alvrg](https://discourse.julialang.org/u/alvrg)\
**Replies:** 4\
**Last updated:** [September 3, 2019, 10:15pm UTC](https://discourse.julialang.org/t/how-to-solve-non-linear-system-with-input-array/28336 "2019-09-03T22:15:58Z")

</div>

Hi, I want to find the roots of a system of non-linear equations like this one: function f!(F::Vector{Float64}, Δ::Vector{Float64}, L::Int64, N::Int64, g::Float64, …

---

## [Meetup in Montevideo, Uruguay](https://discourse.julialang.org/t/meetup-in-montevideo-uruguay/28349)

<div class="topic-metadata">

**Author:** [@mforets](https://discourse.julialang.org/u/mforets)\
**Replies:** 1\
**Last updated:** [September 3, 2019, 8:48pm UTC](https://discourse.julialang.org/t/meetup-in-montevideo-uruguay/28349 "2019-09-03T20:48:57Z")

</div>

We’ll be hosting our first Julia meetup at Facultad de Ingeniería (Universidad de la República) next Monday at 18:00 :uruguay: For details see https://julia-users-mvd.github.io/ or join us at #mvd-local on the Julia sla…

---

## [Calling Julia compiled library from Python](https://discourse.julialang.org/t/calling-julia-compiled-library-from-python/18157)

<div class="topic-metadata">

**Author:** [@Seanny123](https://discourse.julialang.org/u/Seanny123)\
**Replies:** 6\
**Last updated:** [September 3, 2019, 6:56pm UTC](https://discourse.julialang.org/t/calling-julia-compiled-library-from-python/18157 "2019-09-03T18:56:35Z")

</div>

As described in the blog post “” and implemented in PackageCompiler.jl, it is possible to compile Julia programs statically into a shared library. However, are there any examples of then calling this compiled library (.s…

---

## [\[ANN\] QuasiMonteCarlo.jl](https://discourse.julialang.org/t/ann-quasimontecarlo-jl/28343)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 0\
**Last updated:** [September 3, 2019, 6:48pm UTC](https://discourse.julialang.org/t/ann-quasimontecarlo-jl/28343 "2019-09-03T18:48:24Z")

</div>

I’ve started a library to make it convenient to do quasi Monte Carlo simulations. This leverages @stevengj’s Sobol.jl, @tkf’s Transducers.jl, and Mose Giordano et al’s Measurements.jl EDIT: Forgot to link to it: QuasiMo…

---

## [\[ANN\] BangBang.jl: a compatible layer for mutable and immutable data structures (bonus: Zygote.jl support)](https://discourse.julialang.org/t/ann-bangbang-jl-a-compatible-layer-for-mutable-and-immutable-data-structures-bonus-zygote-jl-support/28340)

<div class="topic-metadata">

**Author:** [@tkf](https://discourse.julialang.org/u/tkf)\
**Replies:** 0\
**Last updated:** [September 3, 2019, 6:07pm UTC](https://discourse.julialang.org/t/ann-bangbang-jl-a-compatible-layer-for-mutable-and-immutable-data-structures-bonus-zygote-jl-support/28340 "2019-09-03T18:07:23Z")

</div>

Hi, let me introduce a Julia package called BangBang.jl. Quoting its README: BangBang.jl implements functions whose name ends with !!. Those functions provide a uniform interface for mutable and immutable data structu…

---

## [!cat julia](https://discourse.julialang.org/t/cat-julia/28338)

<div class="topic-metadata">

**Author:** [@romeritomorais](https://discourse.julialang.org/u/romeritomorais)\
**Replies:** 1\
**Last updated:** [September 3, 2019, 5:54pm UTC](https://discourse.julialang.org/t/cat-julia/28338 "2019-09-03T17:54:00Z")

</div>

pandas we have the! cat where we can see the .csv before loading … julia has something similar

---

## [Puzzling reshape and push!](https://discourse.julialang.org/t/puzzling-reshape-and-push/28326)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 5\
**Last updated:** [September 3, 2019, 3:41pm UTC](https://discourse.julialang.org/t/puzzling-reshape-and-push/28326 "2019-09-03T15:41:27Z")

</div>

I find the following behavior puzzling. Start with: A = randn(5,5) x = reshape(A, 25) At this point, A and x point to the same memory block. Indeed: x\[1\] = 1.0 A\[1\] # returns 1.0 But now, since x is one-dimensional,…

---

## [Avoiding redefinition of structs](https://discourse.julialang.org/t/avoiding-redefinition-of-structs/28329)

<div class="topic-metadata">

**Author:** [@iamsuddhasattwa](https://discourse.julialang.org/u/iamsuddhasattwa)\
**Replies:** 4\
**Last updated:** [September 3, 2019, 3:33pm UTC](https://discourse.julialang.org/t/avoiding-redefinition-of-structs/28329 "2019-09-03T15:33:34Z")

</div>

I have a basic question about including .jl files that I have created myself. I have a file BinaryTree.jl which stores a struct BinaryTree and some associated routines. In whichever file I have to use this data structure…

---

## [How to inspect Type](https://discourse.julialang.org/t/how-to-inspect-type/28320)

<div class="topic-metadata">

**Author:** [@phlavenk](https://discourse.julialang.org/u/phlavenk)\
**Replies:** 1\
**Last updated:** [September 3, 2019, 3:05pm UTC](https://discourse.julialang.org/t/how-to-inspect-type/28320 "2019-09-03T15:05:49Z")

</div>

Is there a simple way to find out where a type is defined and if it is only an alias for something more generic? Something like how @which works for methods. I’m now trying to understand the mesh, Face, Poin3f0, … from …

---

## [Does julia has a Package designed to / for sparse matrix](https://discourse.julialang.org/t/does-julia-has-a-package-designed-to-for-sparse-matrix/28315)

<div class="topic-metadata">

**Author:** [@Lyupinpin](https://discourse.julialang.org/u/Lyupinpin)\
**Replies:** 8\
**Last updated:** [September 3, 2019, 12:57pm UTC](https://discourse.julialang.org/t/does-julia-has-a-package-designed-to-for-sparse-matrix/28315 "2019-09-03T12:57:30Z")

</div>

I mean in solving Numerical PDE the matrix is usually quiet big but sparse. the normal “/” seems to use LU decomposition which makes a saprse matrix become two dense and will outofmemory qiuckly.

---

## [Makie: visualize subset of the data](https://discourse.julialang.org/t/makie-visualize-subset-of-the-data/28318)

<div class="topic-metadata">

**Author:** [@JesperMartinsson](https://discourse.julialang.org/u/JesperMartinsson)\
**Replies:** 1\
**Last updated:** [September 3, 2019, 2:28pm UTC](https://discourse.julialang.org/t/makie-visualize-subset-of-the-data/28318 "2019-09-03T14:28:57Z")

</div>

using Makie Without removing data is it possible to only visualize a subset of the data (e.g. in scatter!) by defining geometric boundaries. I’ve been playing around with limits using FRec3D but that only sets the axis …

---

## [Array to DataFrames Columns. convert(Array{Float64,1}, a)](https://discourse.julialang.org/t/array-to-dataframes-columns-convert-array-float64-1-a/28325)

<div class="topic-metadata">

**Author:** [@BMval](https://discourse.julialang.org/u/BMval)\
**Replies:** 6\
**Last updated:** [September 3, 2019, 2:28pm UTC](https://discourse.julialang.org/t/array-to-dataframes-columns-convert-array-float64-1-a/28325 "2019-09-03T14:28:13Z")

</div>

Would you help me? It seems very easy. There is error: Cannot convert an object of type Array{Int,2} to an object of type Int a=DataFrame(a=\[1,2\],c=\[3,4\],d=\[5,6\]) a\[:,\[:c ,:d\]\] = \[1 2; 3 4\]

---

## [Updating environments](https://discourse.julialang.org/t/updating-environments/28274)

<div class="topic-metadata">

**Author:** [@bernardofpc](https://discourse.julialang.org/u/bernardofpc)\
**Replies:** 3\
**Last updated:** [September 3, 2019, 2:08pm UTC](https://discourse.julialang.org/t/updating-environments/28274 "2019-09-03T14:08:36Z")

</div>

I have written some Julia packages that depend on each other. To make it simple, suppose A.jl depends on B.jl. I have added B to my Project.toml and Manifest.toml files, and both packages (must) live on a private Git r…

---

## [Problem to use julia v0.7 in VS Code](https://discourse.julialang.org/t/problem-to-use-julia-v0-7-in-vs-code/28295)

<div class="topic-metadata">

**Author:** [@jayce\_ram](https://discourse.julialang.org/u/jayce_ram)\
**Replies:** 6\
**Last updated:** [September 3, 2019, 1:59pm UTC](https://discourse.julialang.org/t/problem-to-use-julia-v0-7-in-vs-code/28295 "2019-09-03T13:59:26Z")

</div>

I have installed julia v0.7 plug-in in VS Code but I got the following error when I tried to use it: Could not start the julia language server. Make sure the configuration setting julia.executablePath points to the juli…

---

## [Metaprogramming - Unpack/pack struct-fields based on symbols](https://discourse.julialang.org/t/metaprogramming-unpack-pack-struct-fields-based-on-symbols/28322)

<div class="topic-metadata">

**Author:** [@mrVeng](https://discourse.julialang.org/u/mrVeng)\
**Replies:** 5\
**Last updated:** [September 3, 2019, 1:28pm UTC](https://discourse.julialang.org/t/metaprogramming-unpack-pack-struct-fields-based-on-symbols/28322 "2019-09-03T13:28:30Z")

</div>

Hi everyone, I would like pack/unpack (I am using the excellent Parameters package macros for this) specific fields of a struct within a function. I created example code here: using Parameters using Distributions #con…

---

## [Differentiable Programming / Jacobians in Flux](https://discourse.julialang.org/t/differentiable-programming-jacobians-in-flux/28324)

<div class="topic-metadata">

**Author:** [@DR59](https://discourse.julialang.org/u/DR59)\
**Replies:** 0\
**Last updated:** [September 3, 2019, 12:09pm UTC](https://discourse.julialang.org/t/differentiable-programming-jacobians-in-flux/28324 "2019-09-03T12:09:26Z")

</div>

Dear all, I’m writing a project that involves making parameterised mathematical models and generating cost functions for them. Mathematically, let’s take model output as y(u,\\theta) where u are inputs and \\theta are pa…

---

## [Gradient in simple regression not working](https://discourse.julialang.org/t/gradient-in-simple-regression-not-working/27839)

<div class="topic-metadata">

**Author:** [@Ali\_Vahdati](https://discourse.julialang.org/u/Ali_Vahdati)\
**Replies:** 4\
**Last updated:** [September 3, 2019, 10:40am UTC](https://discourse.julialang.org/t/gradient-in-simple-regression-not-working/27839 "2019-09-03T10:40:02Z")

</div>

I tried to replicate a simple regression model from Flux’s documentation with a slightly larger dataset. But the gradient descent seems to always diverge. A manual implementation of the algorithm works well. I would app…

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

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