# Latest

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

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

**Page:** 1895

---

## [OnlineStats can’t handle Missing?](https://discourse.julialang.org/t/onlinestats-can-t-handle-missing/30317)

<div class="topic-metadata">

**Author:** [@FredC](https://discourse.julialang.org/u/FredC)\
**Replies:** 6\
**Last updated:** [October 28, 2019, 2:26am UTC](https://discourse.julialang.org/t/onlinestats-can-t-handle-missing/30317 "2019-10-28T02:26:43Z")

</div>

Am I mistaken in my experience that the OnlineStats package can’t handle Missing? Is there anything from Julia Computing that actually works? Not only are these packages out there, they’re presenting them as being good…

---

## [Fast calculation of eigenvalues](https://discourse.julialang.org/t/fast-calculation-of-eigenvalues/30359)

<div class="topic-metadata">

**Author:** [@FujiwaraTakumiEH](https://discourse.julialang.org/u/FujiwaraTakumiEH)\
**Replies:** 6\
**Last updated:** [October 28, 2019, 1:24am UTC](https://discourse.julialang.org/t/fast-calculation-of-eigenvalues/30359 "2019-10-28T01:24:10Z")

</div>

Background: Now I have a symmetric matrix A. I need to find the first n eigenvalues and eigenvectors. (I have not actually started to write code, but in the algorithm process I observed the need to solve the eigenvalues …

---

## [VSCode can't find pkgs](https://discourse.julialang.org/t/vscode-cant-find-pkgs/30385)

<div class="topic-metadata">

**Author:** [@fracasss](https://discourse.julialang.org/u/fracasss)\
**Replies:** 1\
**Last updated:** [October 28, 2019, 12:57am UTC](https://discourse.julialang.org/t/vscode-cant-find-pkgs/30385 "2019-10-28T00:57:58Z")

</div>

When I typed the code below in VSCode on MacOS10.14.5, it seems that VSCode can’t find the standard library of Julia. But I can use the pkgs in the REPL, and I can also run the file successfully. How can I fix this prob…

---

## [Iterate and intersect on BitSet vs Int](https://discourse.julialang.org/t/iterate-and-intersect-on-bitset-vs-int/30345)

<div class="topic-metadata">

**Author:** [@jeremiedb](https://discourse.julialang.org/u/jeremiedb)\
**Replies:** 11\
**Last updated:** [October 27, 2019, 9:23pm UTC](https://discourse.julialang.org/t/iterate-and-intersect-on-bitset-vs-int/30345 "2019-10-27T21:23:41Z")

</div>

I noticed that looping on a BitSet resulted in a significant slowdown (~10X) compared to the equivalent loop on Int64. This is resulting in undesirable performance tradeoff as intersect on the BitSets is significantly fa…

---

## [Parameter Stores to Struct or not to Struct, what is the julian way?](https://discourse.julialang.org/t/parameter-stores-to-struct-or-not-to-struct-what-is-the-julian-way/30362)

<div class="topic-metadata">

**Author:** [@anon92994695](https://discourse.julialang.org/u/anon92994695)\
**Replies:** 6\
**Last updated:** [October 27, 2019, 6:10pm UTC](https://discourse.julialang.org/t/parameter-stores-to-struct-or-not-to-struct-what-is-the-julian-way/30362 "2019-10-27T18:10:48Z")

</div>

I am making a simulation package in Julia. There are maybe 10-20 different parameters that must be user defined(not derivable from other means) passed around different functions(mostly in pieces but still all need to be …

---

## [Error when attempting to run commands in debugging mode](https://discourse.julialang.org/t/error-when-attempting-to-run-commands-in-debugging-mode/30368)

<div class="topic-metadata">

**Author:** [@victor.d](https://discourse.julialang.org/u/victor.d)\
**Replies:** 0\
**Last updated:** [October 27, 2019, 2:21pm UTC](https://discourse.julialang.org/t/error-when-attempting-to-run-commands-in-debugging-mode/30368 "2019-10-27T14:21:32Z")

</div>

Hello. I’m running Juno debugger and everything works fine except when I’m trying to run any command/evaluate a variable or expression etc in debugging mode (under the “debug\>” prompt), I get the following error: ERROR:…

---

## [Julia not Working in Atom](https://discourse.julialang.org/t/julia-not-working-in-atom/30364)

<div class="topic-metadata">

**Author:** [@Adarsh\_Raj](https://discourse.julialang.org/u/Adarsh_Raj)\
**Replies:** 2\
**Last updated:** [October 27, 2019, 1:19pm UTC](https://discourse.julialang.org/t/julia-not-working-in-atom/30364 "2019-10-27T13:19:31Z")

</div>

Hi, can anyone help me with this Julia has exited. Press Enter to start a new session.

---

## [Quadratic Expression](https://discourse.julialang.org/t/quadratic-expression/30337)

<div class="topic-metadata">

**Author:** [@Nikos-Atzarakis](https://discourse.julialang.org/u/Nikos-Atzarakis)\
**Replies:** 2\
**Last updated:** [October 27, 2019, 12:49pm UTC](https://discourse.julialang.org/t/quadratic-expression/30337 "2019-10-27T12:49:46Z")

</div>

Hi, I’m trying to create a quadratic expression using a variable attached in model m : using JuMP using Ipopt m= Model(with\_optimizer(Ipopt.Optimizer)) @variables m begin u\[1:(time\_lapses)\*2,1:number\_of\_players\] …

---

## [Example of Login to SAML/Shibboleth authenticated site?](https://discourse.julialang.org/t/example-of-login-to-saml-shibboleth-authenticated-site/30361)

<div class="topic-metadata">

**Author:** [@robertfeldt](https://discourse.julialang.org/u/robertfeldt)\
**Replies:** 1\
**Last updated:** [October 27, 2019, 12:39pm UTC](https://discourse.julialang.org/t/example-of-login-to-saml-shibboleth-authenticated-site/30361 "2019-10-27T12:39:29Z")

</div>

Anyone has been able to (programmatically) authenticate via SAML/Shibboleth from/with Julia? I’m successfully scraping information from a site but to get all the information I need they require single-sign on via a SAML/…

---

## [DAE problem set-up in DiffEq changed?](https://discourse.julialang.org/t/dae-problem-set-up-in-diffeq-changed/30330)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 3\
**Last updated:** [October 27, 2019, 12:04pm UTC](https://discourse.julialang.org/t/dae-problem-set-up-in-diffeq-changed/30330 "2019-10-27T12:04:31Z")

</div>

I used DifferentialEquations.jl to solve a DAE in 2017-2018 or so. I just tried to re-run the Jupyter notebook, and now I get an error message… Here is the essence of my past set-up: function seborg\_is(err,dxdt,x,par,t)…

---

## [\[ANN\] A decimals lib like Java BigDecimal](https://discourse.julialang.org/t/ann-a-decimals-lib-like-java-bigdecimal/30284)

<div class="topic-metadata">

**Author:** [@isaactsang](https://discourse.julialang.org/u/isaactsang)\
**Replies:** 17\
**Last updated:** [October 27, 2019, 11:31am UTC](https://discourse.julialang.org/t/ann-a-decimals-lib-like-java-bigdecimal/30284 "2019-10-27T11:31:06Z")

</div>

---

## [Wrapping C struct with contiguous memory requirements](https://discourse.julialang.org/t/wrapping-c-struct-with-contiguous-memory-requirements/30269)

<div class="topic-metadata">

**Author:** [@abulak](https://discourse.julialang.org/u/abulak)\
**Replies:** 2\
**Last updated:** [October 27, 2019, 10:55am UTC](https://discourse.julialang.org/t/wrapping-c-struct-with-contiguous-memory-requirements/30269 "2019-10-27T10:55:06Z")

</div>

So I need to wrap the following data structure in c: typedef struct { uint8\_t type : 8; uint8\_t flags : 8; uint64\_t size : 48; } Header; where size corresponds to the length of a uint64\_t\* array follow…

---

## [Dict equality with composite type value](https://discourse.julialang.org/t/dict-equality-with-composite-type-value/30357)

<div class="topic-metadata">

**Author:** [@johannmartinet](https://discourse.julialang.org/u/johannmartinet)\
**Replies:** 9\
**Last updated:** [October 27, 2019, 9:23am UTC](https://discourse.julialang.org/t/dict-equality-with-composite-type-value/30357 "2019-10-27T09:23:06Z")

</div>

Still new to Julia and trying to test one of my methods which return a Dict. I know what should be included in this Dict and I try to compare it with what is returned by my method. However I have difficulties to test equ…

---

## [Brew a Parallel RNG?](https://discourse.julialang.org/t/brew-a-parallel-rng/30286)

<div class="topic-metadata">

**Author:** [@HaoLi111](https://discourse.julialang.org/u/HaoLi111)\
**Replies:** 20\
**Last updated:** [October 27, 2019, 8:31am UTC](https://discourse.julialang.org/t/brew-a-parallel-rng/30286 "2019-10-27T08:31:22Z")

</div>

RNGs cannot be parallelized without modification, as the effectiveness of the randomness representation ceases if the sequences are related. Previous discussions have been found from But can we use some alternative so…

---

## [Understanding generated functions](https://discourse.julialang.org/t/understanding-generated-functions/10092)

<div class="topic-metadata">

**Author:** [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Replies:** 7\
**Last updated:** [October 27, 2019, 6:21am UTC](https://discourse.julialang.org/t/understanding-generated-functions/10092 "2019-10-27T06:21:05Z")

</div>

Hi all. I’m trying to understand how generated functions work. From the 0.6 manual: A very special macro is @generated, which allows you to define so-called generated functions. These have the capability to generate …

---

## [Monte Carlo Simulation for Investment Portfolio Earnings](https://discourse.julialang.org/t/monte-carlo-simulation-for-investment-portfolio-earnings/30354)

<div class="topic-metadata">

**Author:** [@Nigel\_Adams](https://discourse.julialang.org/u/Nigel_Adams)\
**Replies:** 0\
**Last updated:** [October 27, 2019, 5:07am UTC](https://discourse.julialang.org/t/monte-carlo-simulation-for-investment-portfolio-earnings/30354 "2019-10-27T05:07:47Z")

</div>

In case anyone is interested in Monte Carlo finance experiments this might be of interest. In this blog post we use Julia to simulate the growth of an investment portfolio using Geometric Brownian motion (GBM). I hope…

---

## [ERROR: GitError(Code:EMERGECONFLICT, Class:Checkout, 619 conflicts prevent checkout)](https://discourse.julialang.org/t/error-giterror-code-emergeconflict-class-checkout-619-conflicts-prevent-checkout/30307)

<div class="topic-metadata">

**Author:** [@Yan](https://discourse.julialang.org/u/Yan)\
**Replies:** 3\
**Last updated:** [October 27, 2019, 2:40am UTC](https://discourse.julialang.org/t/error-giterror-code-emergeconflict-class-checkout-619-conflicts-prevent-checkout/30307 "2019-10-27T02:40:18Z")

</div>

julia\> Pkg.add(“Plots”) Updating registry at C:\\Users\\Administrator\\.juliapro\\JuliaPro\_v1.2.0-1\\registries\\JuliaPro Updating git-repo https://pkg.juliacomputing.com//registry/JuliaPro ERROR: GitError(Code:EMERGECONFLI…

---

## [Does anyone program like this?](https://discourse.julialang.org/t/does-anyone-program-like-this/30328)

<div class="topic-metadata">

**Author:** [@StevenSiew](https://discourse.julialang.org/u/StevenSiew)\
**Replies:** 11\
**Last updated:** [October 26, 2019, 11:47pm UTC](https://discourse.julialang.org/t/does-anyone-program-like-this/30328 "2019-10-26T23:47:10Z")

</div>

In chemistry we have the ideal gas Law PV=NRT So do anyone program like this? function CalcVIR(v::Union{Number,Missing}, i::Union{Number,Missing}, r::Union{Number,Missing}) ''' If …

---

## [Unreachable reached at 0x7f5b7ecd6739](https://discourse.julialang.org/t/unreachable-reached-at-0x7f5b7ecd6739/30325)

<div class="topic-metadata">

**Author:** [@pixel27](https://discourse.julialang.org/u/pixel27)\
**Replies:** 3\
**Last updated:** [October 26, 2019, 11:15pm UTC](https://discourse.julialang.org/t/unreachable-reached-at-0x7f5b7ecd6739/30325 "2019-10-26T23:15:44Z")

</div>

I’m probably doing some wrong, on the other hand Julia probably shouldn’t be crashing. To reproduce run this under Atom: mutable struct Buffer data::Vector{UInt8} offset::Int Buffer(val::Vector{UInt8}) = ne…

---

## [Parsing CSV files where numbers may have thousand separators and a percentage symbol](https://discourse.julialang.org/t/parsing-csv-files-where-numbers-may-have-thousand-separators-and-a-percentage-symbol/30344)

<div class="topic-metadata">

**Author:** [@askvorts](https://discourse.julialang.org/u/askvorts)\
**Replies:** 1\
**Last updated:** [October 26, 2019, 11:15pm UTC](https://discourse.julialang.org/t/parsing-csv-files-where-numbers-may-have-thousand-separators-and-a-percentage-symbol/30344 "2019-10-26T23:15:10Z")

</div>

I am trying to load a csv file using CSV.jl. The file looks like the following "Date, Vol, Change" "Sep 30, 2019","6,688.30","-0.41%" "Sep 27, 2019","6,716.10","0.58%" "Sep 26, 2019","6,677.60","-0.49%" Although I am a…

---

## [Errors when re-including modules in REPL](https://discourse.julialang.org/t/errors-when-re-including-modules-in-repl/30323)

<div class="topic-metadata">

**Author:** [@jbu](https://discourse.julialang.org/u/jbu)\
**Replies:** 2\
**Last updated:** [October 26, 2019, 9:26pm UTC](https://discourse.julialang.org/t/errors-when-re-including-modules-in-repl/30323 "2019-10-26T21:26:01Z")

</div>

Here’s a minimum working example of the problem I’ve been having. I’m using the Julia v1.1 REPL in Ubuntu Linux 16.04. Suppose I have the following file called moduletest.jl: module mymodule struct mystruct …

---

## [Extend Axes](https://discourse.julialang.org/t/extend-axes/30340)

<div class="topic-metadata">

**Author:** [@squirrel](https://discourse.julialang.org/u/squirrel)\
**Replies:** 1\
**Last updated:** [October 26, 2019, 6:47pm UTC](https://discourse.julialang.org/t/extend-axes/30340 "2019-10-26T18:47:32Z")

</div>

Hi. I have a function I want to graph whose domain is only 0 to infinity, but I want the plot to show the negative x axis, too. How do I tell it to do this? Right now I have: using Plots x(u) = u y(u) = sqrt(u) y2(u…

---

## [Redefining methods in Base](https://discourse.julialang.org/t/redefining-methods-in-base/30329)

<div class="topic-metadata">

**Author:** [@Sijun](https://discourse.julialang.org/u/Sijun)\
**Replies:** 7\
**Last updated:** [October 26, 2019, 3:37pm UTC](https://discourse.julialang.org/t/redefining-methods-in-base/30329 "2019-10-26T15:37:01Z")

</div>

Just curious. It looks like that something as Base.:+(a,b)= a\*b has no effect. Does Julia not allow redefining methods in Base? If so, what would be rationale behind it?

---

## [How to create embedded modules](https://discourse.julialang.org/t/how-to-create-embedded-modules/30300)

<div class="topic-metadata">

**Author:** [@Denis\_Zaika](https://discourse.julialang.org/u/Denis_Zaika)\
**Replies:** 5\
**Last updated:** [October 26, 2019, 3:17pm UTC](https://discourse.julialang.org/t/how-to-create-embedded-modules/30300 "2019-10-26T15:17:50Z")

</div>

When embedding python, we can create custom module, populate it with objects internal to application, and execute embedded script within this module. How to access internals of hosting application from embedded julia sc…

---

## [Clarifying package compatibility rules](https://discourse.julialang.org/t/clarifying-package-compatibility-rules/30322)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 1\
**Last updated:** [October 26, 2019, 12:14pm UTC](https://discourse.julialang.org/t/clarifying-package-compatibility-rules/30322 "2019-10-26T12:14:42Z")

</div>

The way that Julia manages package compatibilities (and incompatibilities) is superb, but also leads to situations that may be difficult to understand if you don’t know how it works. Actually I’m not totally sure of my u…

---

## [Memory consumption of precompilation](https://discourse.julialang.org/t/memory-consumption-of-precompilation/30327)

<div class="topic-metadata">

**Author:** [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Replies:** 3\
**Last updated:** [October 26, 2019, 11:01am UTC](https://discourse.julialang.org/t/memory-consumption-of-precompilation/30327 "2019-10-26T11:01:43Z")

</div>

I am using a Lenovo laptop with 8Gb RAM, running Ubuntu and Julia v1.3-rc4. While precompiling some packages, for example OrdinaryDiffEq and my own package that depends on OrdinaryDiffEq, my machine runs out of memory wi…

---

## [Type, Structure](https://discourse.julialang.org/t/type-structure/30290)

<div class="topic-metadata">

**Author:** [@Anil\_Mathews](https://discourse.julialang.org/u/Anil_Mathews)\
**Replies:** 4\
**Last updated:** [October 26, 2019, 8:23am UTC](https://discourse.julialang.org/t/type-structure/30290 "2019-10-26T08:23:03Z")

</div>

I want to create Structure to store my details struct MyStruct name:: String age ::int Father\_Name:: String end data= Array{MyStruct,1}("anil",22,"Mathew) Then, I want to use MyStruct Type…

---

## [Compatibility across Julia 1+ versions](https://discourse.julialang.org/t/compatibility-across-julia-1-versions/27196)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 54\
**Last updated:** [October 26, 2019, 7:20am UTC](https://discourse.julialang.org/t/compatibility-across-julia-1-versions/27196 "2019-10-26T07:20:07Z")

</div>

I saw in a thread: “we have effectively lost the JDBC wrapper until Julia 2.0”. This isn’t strictly true, as it still works in Julia 1.0.x, the LTS versions for the foreseeable future. But, yes, Julia 1.1, if I recall,…

---

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

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 29\
**Last updated:** [October 26, 2019, 6:24am UTC](https://discourse.julialang.org/t/julia-v1-3-0-rc4-is-now-available/29965 "2019-10-26T06:24:31Z")

</div>

The fourth (and this time almost surely final) release candidate for Julia v1.3.0 is now available. You can get binaries at Download Julia for Linux (i686, x86-64, ARMv7, AArch64), Windows (32-, 64-bit), macOS, and FreeB…

---

## [How to add metadata info to a DataFrame?](https://discourse.julialang.org/t/how-to-add-metadata-info-to-a-dataframe/11168)

<div class="topic-metadata">

**Author:** [@gcalderone](https://discourse.julialang.org/u/gcalderone)\
**Replies:** 96\
**Last updated:** [October 26, 2019, 2:57am UTC](https://discourse.julialang.org/t/how-to-add-metadata-info-to-a-dataframe/11168 "2019-10-26T02:57:26Z")

</div>

Storing both data and metadata in the same object or container is a very common approach in many research fields, and it has proven to be very successful in (for instance) astronomy where a few standards had been officia…

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

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