# Latest

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

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

**Page:** 1966

---

## [Reshape a 1-D array into an array of different-size arrays](https://discourse.julialang.org/t/reshape-a-1-d-array-into-an-array-of-different-size-arrays/25999)

<div class="topic-metadata">

**Author:** [@keeler](https://discourse.julialang.org/u/keeler)\
**Replies:** 7\
**Last updated:** [July 6, 2019, 10:48pm UTC](https://discourse.julialang.org/t/reshape-a-1-d-array-into-an-array-of-different-size-arrays/25999 "2019-07-06T22:48:01Z")

</div>

I have two vectors x and n of equal length, and I want to create an array of arrays y from x, where the lengths for the subarrays of y corresponds to the elements of n. For example, x=\[0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8\] a…

---

## [Function Definition Precedence](https://discourse.julialang.org/t/function-definition-precedence/26057)

<div class="topic-metadata">

**Author:** [@stene](https://discourse.julialang.org/u/stene)\
**Replies:** 2\
**Last updated:** [July 6, 2019, 9:53pm UTC](https://discourse.julialang.org/t/function-definition-precedence/26057 "2019-07-06T21:53:04Z")

</div>

How do function definition precedence work? julia\> function f() begin try return 1 finally return 2 end end …

---

## [Windows 10 vs Linux with Julia and VSCode](https://discourse.julialang.org/t/windows-10-vs-linux-with-julia-and-vscode/26024)

<div class="topic-metadata">

**Author:** [@wiktorkujawa](https://discourse.julialang.org/u/wiktorkujawa)\
**Replies:** 7\
**Last updated:** [July 6, 2019, 9:42pm UTC](https://discourse.julialang.org/t/windows-10-vs-linux-with-julia-and-vscode/26024 "2019-07-06T21:42:04Z")

</div>

Hi, I just buy new notebook with NVidia card and installed an Ubuntu on him(primarily I tried to install Mint on it, but it crashes all the time - black screen and nothing to do ), but there was too many problems with d…

---

## [Outer constructor method in Julia](https://discourse.julialang.org/t/outer-constructor-method-in-julia/25368)

<div class="topic-metadata">

**Author:** [@bsnyh](https://discourse.julialang.org/u/bsnyh)\
**Replies:** 3\
**Last updated:** [July 6, 2019, 9:30pm UTC](https://discourse.julialang.org/t/outer-constructor-method-in-julia/25368 "2019-07-06T21:30:10Z")

</div>

Hi, I’m a bit confused about the following outer constructor method call. mutable struct OSMData nodes::Dict{Int, OpenStreetMapX.LLA} ways::Vector{OpenStreetMapX.Way} relations::Vector{OpenStreet…

---

## [Highly Asymmetric Hessian after optimization](https://discourse.julialang.org/t/highly-asymmetric-hessian-after-optimization/26027)

<div class="topic-metadata">

**Author:** [@Ross\_Boylan](https://discourse.julialang.org/u/Ross_Boylan)\
**Replies:** 26\
**Last updated:** [July 6, 2019, 9:05pm UTC](https://discourse.julialang.org/t/highly-asymmetric-hessian-after-optimization/26027 "2019-07-06T21:05:18Z")

</div>

The Hessian after optimization is not even close to symmetric; for example the 1, 2 element is 16.7 while the 2, 1 element is 1.4. The 12, 13 element is -3945 and 13, 12 is -16 (I’m rounding the numbers). I’m using aut…

---

## [Google Summer of Code Proposal: Econometrics.jl](https://discourse.julialang.org/t/google-summer-of-code-proposal-econometrics-jl/2811)

<div class="topic-metadata">

**Author:** [@Nosferican](https://discourse.julialang.org/u/Nosferican)\
**Replies:** 20\
**Last updated:** [July 6, 2019, 8:29pm UTC](https://discourse.julialang.org/t/google-summer-of-code-proposal-econometrics-jl/2811 "2019-07-06T20:29:38Z")

</div>

Greetings y’all. I am applying for the Google Summer of Code with Julia. My proposal draft is here: Proposal. Any comments or suggestions are welcomed. Thanks! Bayoán PS: Latest Draft Version can be accessed here.

---

## [Differences smaller than Dates.Milliseconds are ignored](https://discourse.julialang.org/t/differences-smaller-than-dates-milliseconds-are-ignored/26068)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 7\
**Last updated:** [July 6, 2019, 4:20pm UTC](https://discourse.julialang.org/t/differences-smaller-than-dates-milliseconds-are-ignored/26068 "2019-07-06T16:20:10Z")

</div>

I have a really hard time understanding this: julia\> using Dates julia\> dt1 = DateTime(1) 0001-01-01T00:00:00 julia\> for timeperiod in (Hour, Minute, Second, Millisecond, Microsecond, Nanosecond) dt2 = dt1 …

---

## [Package for Date/Time Interval boolean operators?](https://discourse.julialang.org/t/package-for-date-time-interval-boolean-operators/26053)

<div class="topic-metadata">

**Author:** [@cce](https://discourse.julialang.org/u/cce)\
**Replies:** 2\
**Last updated:** [July 6, 2019, 4:17pm UTC](https://discourse.julialang.org/t/package-for-date-time-interval-boolean-operators/26053 "2019-07-06T16:17:01Z")

</div>

Hello. I’m curious if anyone is working on interval operators, particularly regarding dates, and especially ones that match interval operators of the Clinical Quality Language. These operators include during (or inclu…

---

## [Error "unexpected token G.." while running PackageCompiler on Blink.jl](https://discourse.julialang.org/t/error-unexpected-token-g-while-running-packagecompiler-on-blink-jl/26063)

<div class="topic-metadata">

**Author:** [@KestutisMa](https://discourse.julialang.org/u/KestutisMa)\
**Replies:** 2\
**Last updated:** [July 6, 2019, 9:19am UTC](https://discourse.julialang.org/t/error-unexpected-token-g-while-running-packagecompiler-on-blink-jl/26063 "2019-07-06T09:19:06Z")

</div>

Hi, I want to compile Blink to increase it’s performance. During Blink.jl package compilation JS error is shown. I use PackageCompiler#sd-notomls (using official branch also throws that error). julia\> compile\_increment…

---

## [Julia written in Julia?](https://discourse.julialang.org/t/julia-written-in-julia/25781)

<div class="topic-metadata">

**Author:** [@feanor12](https://discourse.julialang.org/u/feanor12)\
**Replies:** 37\
**Last updated:** [July 6, 2019, 6:01am UTC](https://discourse.julialang.org/t/julia-written-in-julia/25781 "2019-07-06T06:01:48Z")

</div>

Is it possible to write Julia completely in Julia using the PackageCompiler? Why is C/C++ needed at the moment? Just curious. :slight\_smile:

---

## [Get an array of modules that a module is using/importing](https://discourse.julialang.org/t/get-an-array-of-modules-that-a-module-is-using-importing/25946)

<div class="topic-metadata">

**Author:** [@vitreo12](https://discourse.julialang.org/u/vitreo12)\
**Replies:** 3\
**Last updated:** [July 6, 2019, 4:14am UTC](https://discourse.julialang.org/t/get-an-array-of-modules-that-a-module-is-using-importing/25946 "2019-07-06T04:14:42Z")

</div>

Hello everyone, I was wondering if there was a function that could allow me to inspect which modules a module is using. Does anyone know about it? I tried the propertynames and names functions, but they don’t seem to sh…

---

## [Register a new package with v1.0](https://discourse.julialang.org/t/register-a-new-package-with-v1-0/15037)

<div class="topic-metadata">

**Author:** [@attractivechaos](https://discourse.julialang.org/u/attractivechaos)\
**Replies:** 3\
**Last updated:** [July 6, 2019, 2:47am UTC](https://discourse.julialang.org/t/register-a-new-package-with-v1-0/15037 "2019-07-06T02:47:38Z")

</div>

The v0.6 documentation explains how to submit your own package to the central repository. However, that page is gone in v1.0. The Pkg page in v1.0 doesn’t mention submission any more. Is there a way to submit new package…

---

## [Status of SFML library](https://discourse.julialang.org/t/status-of-sfml-library/26060)

<div class="topic-metadata">

**Author:** [@purplishrock](https://discourse.julialang.org/u/purplishrock)\
**Replies:** 2\
**Last updated:** [July 6, 2019, 1:24am UTC](https://discourse.julialang.org/t/status-of-sfml-library/26060 "2019-07-06T01:24:16Z")

</div>

I recently tried to add it and looks like it’s broken. I checked the issues list, and I couldn’t quite decipher what was going on. Thanks.

---

## [Julia \`make\` Problem](https://discourse.julialang.org/t/julia-make-problem/20741)

<div class="topic-metadata">

**Author:** [@cortner](https://discourse.julialang.org/u/cortner)\
**Replies:** 1\
**Last updated:** [July 5, 2019, 9:09pm UTC](https://discourse.julialang.org/t/julia-make-problem/20741 "2019-07-05T21:09:27Z")

</div>

I compiled Julia many times without difficulties, but my latest attempt on a new HPC node failed: I believe this happens at the very end of the make process: LINK usr/lib/libjulia.so.0.6.4 CC ui/repl.o LINK …

---

## [\[ANN\] ArbNumerics](https://discourse.julialang.org/t/ann-arbnumerics/26036)

<div class="topic-metadata">

**Author:** [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Replies:** 6\
**Last updated:** [July 5, 2019, 8:33pm UTC](https://discourse.julialang.org/t/ann-arbnumerics/26036 "2019-07-05T20:33:01Z")

</div>

ArbNumerics.jl is ready for use. This package offers performant arbitrary precision floats (ArbFloat), and real or complex extents ArbReal, ArbComplex. These two enclosure types always include the mathematically correc…

---

## [JuliaDB Parallel/Distributed Computing](https://discourse.julialang.org/t/juliadb-parallel-distributed-computing/25991)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 13\
**Last updated:** [July 5, 2019, 6:23pm UTC](https://discourse.julialang.org/t/juliadb-parallel-distributed-computing/25991 "2019-07-05T18:23:42Z")

</div>

I’m trying to learn how to do distributed/parallel computing and I’m using JuliaDB and running into several issues that I don’t understand. First, I loaded 4 CSV files, each of which is 3GB - 4GB in size, like this: us…

---

## [Specification of the signature of a Function in a struct](https://discourse.julialang.org/t/specification-of-the-signature-of-a-function-in-a-struct/25921)

<div class="topic-metadata">

**Author:** [@Tim\_Lavers](https://discourse.julialang.org/u/Tim_Lavers)\
**Replies:** 6\
**Last updated:** [July 5, 2019, 5:47pm UTC](https://discourse.julialang.org/t/specification-of-the-signature-of-a-function-in-a-struct/25921 "2019-07-05T17:47:22Z")

</div>

Hi. I’ve got a struct that has a Function as a field. I’d like to specify the signature of this function in some way, for example: struct Mapper lower::Float64 upper::Float64 mapFunc::Function{Float64 -\> Float64} …

---

## [Haskey function in Julia](https://discourse.julialang.org/t/haskey-function-in-julia/26047)

<div class="topic-metadata">

**Author:** [@bsnyh](https://discourse.julialang.org/u/bsnyh)\
**Replies:** 2\
**Last updated:** [July 5, 2019, 5:34pm UTC](https://discourse.julialang.org/t/haskey-function-in-julia/26047 "2019-07-05T17:34:08Z")

</div>

I am a bit confused by a small point of the following piece of code. function filter\_walkways(ways::Vector{OpenStreetMapX.Way}, classes::Dict{String, Int}=OpenStreetMapX.PEC\_CLASSES; levels::Set{Int} = Set(1:length(Open…

---

## [Isdefined function in Julia](https://discourse.julialang.org/t/isdefined-function-in-julia/26045)

<div class="topic-metadata">

**Author:** [@bsnyh](https://discourse.julialang.org/u/bsnyh)\
**Replies:** 2\
**Last updated:** [July 5, 2019, 4:13pm UTC](https://discourse.julialang.org/t/isdefined-function-in-julia/26045 "2019-07-05T16:13:16Z")

</div>

Hi, the following is the code from OpenStreetMapX GitHub, which confused me. extract\_highways(ways::Vector{OpenStreetMapX.Way}) = \[way for way in ways if isdefined(way, :tags) && haskey(way.tags, "highway")\] After sear…

---

## [Lyapunov exponents using ChaosTools and fortran radau solver](https://discourse.julialang.org/t/lyapunov-exponents-using-chaostools-and-fortran-radau-solver/26007)

<div class="topic-metadata">

**Author:** [@jamblejoe](https://discourse.julialang.org/u/jamblejoe)\
**Replies:** 10\
**Last updated:** [July 5, 2019, 3:35pm UTC](https://discourse.julialang.org/t/lyapunov-exponents-using-chaostools-and-fortran-radau-solver/26007 "2019-07-05T15:35:33Z")

</div>

Hi, I am not sure if this is the right place to ask my question but I will try anyways. I want to calculate Lyapunov exponents of a very stiff ODE using the fortran radau solver from ODEInterfaceDiffEq. My setup looks …

---

## [How can I concatenate arrays in a loop?](https://discourse.julialang.org/t/how-can-i-concatenate-arrays-in-a-loop/26043)

<div class="topic-metadata">

**Author:** [@Elmer\_Cusipuma](https://discourse.julialang.org/u/Elmer_Cusipuma)\
**Replies:** 1\
**Last updated:** [July 5, 2019, 3:21pm UTC](https://discourse.julialang.org/t/how-can-i-concatenate-arrays-in-a-loop/26043 "2019-07-05T15:21:28Z")

</div>

I’m trying to create a Array{Float,2} with a for loop julia\> r = \[1 0 0;0 0.85 0.5;0 0 1\]; julia\> coord = \[(0, 0, 450),(400, 0, 450),(400, 600, 450),(0, 600, 450)\]; julia\> t = \[r\*collect(i) for i in coord\] 4-element …

---

## [StackOverflowError with locally defined function](https://discourse.julialang.org/t/stackoverflowerror-with-locally-defined-function/26040)

<div class="topic-metadata">

**Author:** [@mzaffalon](https://discourse.julialang.org/u/mzaffalon)\
**Replies:** 4\
**Last updated:** [July 5, 2019, 3:07pm UTC](https://discourse.julialang.org/t/stackoverflowerror-with-locally-defined-function/26040 "2019-07-05T15:07:53Z")

</div>

function main() function sub() fun(f) = f return x -\> fun(x) end fun = sub() fun(1) end A call to main() results in a stack overflow. If sub() returned fun instead of x -\> fun(x) or the…

---

## [Optim and differential equations?](https://discourse.julialang.org/t/optim-and-differential-equations/25861)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 45\
**Last updated:** [July 5, 2019, 2:22pm UTC](https://discourse.julialang.org/t/optim-and-differential-equations/25861 "2019-07-05T14:22:23Z")

</div>

I’m using Optim with the Fminbox() algorithm to tune some model parameters in a model simulated by DifferentialEquations. In total, the model has 14 scaled parameters. The model fit with initial parameter guesses is: …

---

## [LazySets: overapproximate sum of two HPolyhedron in 3D (or n-D)](https://discourse.julialang.org/t/lazysets-overapproximate-sum-of-two-hpolyhedron-in-3d-or-n-d/24396)

<div class="topic-metadata">

**Author:** [@uwechsler](https://discourse.julialang.org/u/uwechsler)\
**Replies:** 1\
**Last updated:** [July 5, 2019, 1:19pm UTC](https://discourse.julialang.org/t/lazysets-overapproximate-sum-of-two-hpolyhedron-in-3d-or-n-d/24396 "2019-07-05T13:19:42Z")

</div>

I am using the package LazySets to compute the Minkowsky sum of two HPolyhedron and then extract the resulting constraints to feed them into my JuMP model. For the 2D case, I can approximate the exact Polyhedron with ov…

---

## [Basic Comparison of Python, Julia, Matlab, IDL and Java (2018 Edition)](https://discourse.julialang.org/t/basic-comparison-of-python-julia-matlab-idl-and-java-2018-edition/26030)

<div class="topic-metadata">

**Author:** [@affans](https://discourse.julialang.org/u/affans)\
**Replies:** 8\
**Last updated:** [July 5, 2019, 12:49pm UTC](https://discourse.julialang.org/t/basic-comparison-of-python-julia-matlab-idl-and-java-2018-edition/26030 "2019-07-05T12:49:37Z")

</div>

I know it’s old, but the results are pretty good. I wonder how v1.0+ compares. https://modelingguru.nasa.gov/docs/DOC-2676

---

## [Multithreading for recursive operations](https://discourse.julialang.org/t/multithreading-for-recursive-operations/26020)

<div class="topic-metadata">

**Author:** [@foobar\_lv2](https://discourse.julialang.org/u/foobar_lv2)\
**Replies:** 2\
**Last updated:** [July 5, 2019, 12:13pm UTC](https://discourse.julialang.org/t/multithreading-for-recursive-operations/26020 "2019-07-05T12:13:33Z")

</div>

This is a question for both the current state and planned future for multithreading. One of the more common opportunities for parallelism is tree-like recursion (like e.g. for sorting). function do\_stuff!(args) left, r…

---

## [\[ANN\] Secp256k1.jl](https://discourse.julialang.org/t/ann-secp256k1-jl/26037)

<div class="topic-metadata">

**Author:** [@roshii](https://discourse.julialang.org/u/roshii)\
**Replies:** 0\
**Last updated:** [July 5, 2019, 8:08am UTC](https://discourse.julialang.org/t/ann-secp256k1-jl/26037 "2019-07-05T08:08:16Z")

</div>

Secp256k1.jl is born from a simplification of ECC.jl and focuses solely on elliptic curve operations on such curve. It was designed with future extension to Schnorr in mind, using parametric Signature and KeyPair types. …

---

## [Duck typing when \`quack\` is not in \`Base\`](https://discourse.julialang.org/t/duck-typing-when-quack-is-not-in-base/26011)

<div class="topic-metadata">

**Author:** [@lairez](https://discourse.julialang.org/u/lairez)\
**Replies:** 3\
**Last updated:** [July 5, 2019, 6:43am UTC](https://discourse.julialang.org/t/duck-typing-when-quack-is-not-in-base/26011 "2019-07-05T06:43:01Z")

</div>

Say that I develop a package Foo that does interesting things with any type T with a well defined function quack(T). Typically, I may not want to impose T to let the user add relevant metadata or use a type from another …

---

## [Julia Ecosystems, Packages and panel data](https://discourse.julialang.org/t/julia-ecosystems-packages-and-panel-data/10279)

<div class="topic-metadata">

**Author:** [@James\_Stewart](https://discourse.julialang.org/u/James_Stewart)\
**Replies:** 5\
**Last updated:** [July 4, 2019, 10:50pm UTC](https://discourse.julialang.org/t/julia-ecosystems-packages-and-panel-data/10279 "2019-07-04T22:50:57Z")

</div>

I have a few questions as a new user. 1. What is a Julia ecosystem? I am guessing it is something to do with the version of the language. I am trying to construct a regression with panel data and was told by someone to …

---

## [Questions: Gadfly and Cairo, Fontconfig](https://discourse.julialang.org/t/questions-gadfly-and-cairo-fontconfig/26016)

<div class="topic-metadata">

**Author:** [@sungjae](https://discourse.julialang.org/u/sungjae)\
**Replies:** 5\
**Last updated:** [July 4, 2019, 9:50pm UTC](https://discourse.julialang.org/t/questions-gadfly-and-cairo-fontconfig/26016 "2019-07-04T21:50:15Z")

</div>

It seems that this topic was discussed before, but I could not find an answer. I am using Julia 1.1.1. I am trying to produce histograms by using Gadfly, but once I load up Cario and Fontconfig, the plot command stops w…

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

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