# Latest

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

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

**Page:** 1870

---

## [Julia's growth is making free JuliaBox unsustainable](https://discourse.julialang.org/t/julias-growth-is-making-free-juliabox-unsustainable/19441)

<div class="topic-metadata">

**Author:** [@viralbshah](https://discourse.julialang.org/u/viralbshah)\
**Replies:** 84\
**Last updated:** [December 4, 2019, 2:37pm UTC](https://discourse.julialang.org/t/julias-growth-is-making-free-juliabox-unsustainable/19441 "2019-12-04T14:37:25Z")

</div>

Hello, A happy new year to everyone! We know that many of you find JuliaBox useful. Since we created it, it has helped over 100,000 users learn and experiment with Julia. We extend a deep and sincere thank you to all o…

---

## [Wrong paths reported by @less and @which](https://discourse.julialang.org/t/wrong-paths-reported-by-less-and-which/31850)

<div class="topic-metadata">

**Author:** [@lbilli](https://discourse.julialang.org/u/lbilli)\
**Replies:** 0\
**Last updated:** [December 4, 2019, 12:11pm UTC](https://discourse.julialang.org/t/wrong-paths-reported-by-less-and-which/31850 "2019-12-04T12:11:36Z")

</div>

In Julia v1.3.0, macros @less and @which don’t seem to work as expected when applied to methods from the standard library: # This works @which sin(1) sin(x::Real) in Base.Math at special/trig.jl:53 # This doesn't using…

---

## [Passing locally defined function](https://discourse.julialang.org/t/passing-locally-defined-function/31846)

<div class="topic-metadata">

**Author:** [@racinmat](https://discourse.julialang.org/u/racinmat)\
**Replies:** 2\
**Last updated:** [December 4, 2019, 1:23pm UTC](https://discourse.julialang.org/t/passing-locally-defined-function/31846 "2019-12-04T13:23:04Z")

</div>

Hi, I have a function with local variable, which I want to apply for each element in an array, in parallel manner. I am using ThreadTools library. Assuming following code using ThreadTools do\_it(a, b, c, d) = a + b \* …

---

## [Working with multiple Dicts in a list - ERROR: MethodError: Cannot \`convert\` an object of type Array{Int64,1} to an object of type DataType](https://discourse.julialang.org/t/working-with-multiple-dicts-in-a-list-error-methoderror-cannot-convert-an-object-of-type-array-int64-1-to-an-object-of-type-datatype/31851)

<div class="topic-metadata">

**Author:** [@Volker](https://discourse.julialang.org/u/Volker)\
**Replies:** 7\
**Last updated:** [December 4, 2019, 12:56pm UTC](https://discourse.julialang.org/t/working-with-multiple-dicts-in-a-list-error-methoderror-cannot-convert-an-object-of-type-array-int64-1-to-an-object-of-type-datatype/31851 "2019-12-04T12:56:47Z")

</div>

Hi, I would like to read a CSV-file and then convert it to a list of dicts, where the keys can contain arrays. But with the following code I get the error message ERROR: MethodError: Cannot convert an object of type A…

---

## [Julia v1.3.0 has been released](https://discourse.julialang.org/t/julia-v1-3-0-has-been-released/31549)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 22\
**Last updated:** [December 4, 2019, 11:17am UTC](https://discourse.julialang.org/t/julia-v1-3-0-has-been-released/31549 "2019-12-04T11:17:29Z")

</div>

At long last, the Julia developers are pleased to announce the release of Julia v1.3.0, the third minor release in the 1.x series. Binaries are available for all of your favorite platforms (Linux, Windows, macOS, and Fre…

---

## [No Method matching: Constructors](https://discourse.julialang.org/t/no-method-matching-constructors/31841)

<div class="topic-metadata">

**Author:** [@patdax](https://discourse.julialang.org/u/patdax)\
**Replies:** 4\
**Last updated:** [December 4, 2019, 10:45am UTC](https://discourse.julialang.org/t/no-method-matching-constructors/31841 "2019-12-04T10:45:23Z")

</div>

I am having difficulties defining a module and testing it. I have the following architecture: file: my\_struct.jl mutable struct my\_struct x y z end function my\_struct(x, y) z = Vector(undef, x) retu…

---

## [Got routing travel time Inf during simulation while in real case, any two locations are reachable from one to another](https://discourse.julialang.org/t/got-routing-travel-time-inf-during-simulation-while-in-real-case-any-two-locations-are-reachable-from-one-to-another/31840)

<div class="topic-metadata">

**Author:** [@bsnyh](https://discourse.julialang.org/u/bsnyh)\
**Replies:** 0\
**Last updated:** [December 4, 2019, 9:59am UTC](https://discourse.julialang.org/t/got-routing-travel-time-inf-during-simulation-while-in-real-case-any-two-locations-are-reachable-from-one-to-another/31840 "2019-12-04T09:59:02Z")

</div>

Hi. I hope this is a right question to ask here. I’m doing a simulation of vehicle transportation. So during each round, I need to use shortest-path-algorithm to find the route with the shortest traveling time. In this p…

---

## [Introduce delayed element in differential equations with Julia's DifferentialEquations.jl](https://discourse.julialang.org/t/introduce-delayed-element-in-differential-equations-with-julias-differentialequations-jl/31794)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 9\
**Last updated:** [December 4, 2019, 9:54am UTC](https://discourse.julialang.org/t/introduce-delayed-element-in-differential-equations-with-julias-differentialequations-jl/31794 "2019-12-04T09:54:52Z")

</div>

Hello, I have a set of ordinary differential equations (ODE) that describe the growth of bacteria susceptible and resistant to phage infection: that generate this plot: To note that at t=1000 h the resistant stra…

---

## [\[SOLVED\] Choice of startup.jl files](https://discourse.julialang.org/t/solved-choice-of-startup-jl-files/31754)

<div class="topic-metadata">

**Author:** [@RogerP](https://discourse.julialang.org/u/RogerP)\
**Replies:** 5\
**Last updated:** [December 4, 2019, 9:11am UTC](https://discourse.julialang.org/t/solved-choice-of-startup-jl-files/31754 "2019-12-04T09:11:27Z")

</div>

It would be nice if the command julia --startup-file{yes|no} could be modified to julia --startup-file{filename.jl}. I realise that I can do julia -L \<filename\> but that, surely, is for a different purpose. There is a c…

---

## [Update old .64 code to 1.x](https://discourse.julialang.org/t/update-old-64-code-to-1-x/31832)

<div class="topic-metadata">

**Author:** [@theburdman](https://discourse.julialang.org/u/theburdman)\
**Replies:** 2\
**Last updated:** [December 4, 2019, 4:06am UTC](https://discourse.julialang.org/t/update-old-64-code-to-1-x/31832 "2019-12-04T04:06:21Z")

</div>

Hi guys, I searched the forum, so apologies if I missed this topic. Catalina seems to not play nicely with Julia Pro .64 so I’m trying to update the code to work with 1.x but it’s been a slog. Is there a list somewhere …

---

## [User's input](https://discourse.julialang.org/t/users-input/31825)

<div class="topic-metadata">

**Author:** [@ebasile](https://discourse.julialang.org/u/ebasile)\
**Replies:** 5\
**Last updated:** [December 4, 2019, 1:22am UTC](https://discourse.julialang.org/t/users-input/31825 "2019-12-04T01:22:11Z")

</div>

Hi, I’m trying to generate a user’s input, so i wrote the nexts code lines: function input(prompt) print(prompt) readline() end user\_value = parse(Float64, input(“Age:”)) #Here end the user’s input and continue the…

---

## [Are there any (long term) plans to add higher order generics (a.k.a. higher kinded types) to Julia?](https://discourse.julialang.org/t/are-there-any-long-term-plans-to-add-higher-order-generics-a-k-a-higher-kinded-types-to-julia/1570)

<div class="topic-metadata">

**Author:** [@Steven\_Sagaert](https://discourse.julialang.org/u/Steven_Sagaert)\
**Replies:** 50\
**Last updated:** [December 4, 2019, 1:09am UTC](https://discourse.julialang.org/t/are-there-any-long-term-plans-to-add-higher-order-generics-a-k-a-higher-kinded-types-to-julia/1570 "2019-12-04T01:09:58Z")

</div>

Higher order generics are useful to write very generic libraries over container data structures. In Julia such a type would look like C1{C2{T}} with C1 & C2 container types (Arrays,Lists,…) for a second order type. Ther…

---

## [Pkg.add hangs when installing packages](https://discourse.julialang.org/t/pkg-add-hangs-when-installing-packages/31821)

<div class="topic-metadata">

**Author:** [@jasonyang5](https://discourse.julialang.org/u/jasonyang5)\
**Replies:** 2\
**Last updated:** [December 4, 2019, 12:24am UTC](https://discourse.julialang.org/t/pkg-add-hangs-when-installing-packages/31821 "2019-12-04T00:24:03Z")

</div>

Pkg.add stays stuck at 99.9% for 20+ minutes at a time. I’ve tried installing the following packages: QuadGK LinearAlgebra (already natively installed, but still hangs) Optim I’ve attempted other solutions like remov…

---

## [Miscellaneous GR questions](https://discourse.julialang.org/t/miscellaneous-gr-questions/31778)

<div class="topic-metadata">

**Author:** [@purplishrock](https://discourse.julialang.org/u/purplishrock)\
**Replies:** 3\
**Last updated:** [December 3, 2019, 11:59pm UTC](https://discourse.julialang.org/t/miscellaneous-gr-questions/31778 "2019-12-03T23:59:19Z")

</div>

1 is there a “show” equivalent a la matplotlib ? i see one in the GR reference but it doesn’t appear to be mapped through to julia. I’d like for the plot to sit there until i close it. 2 what’s the right way to contin…

---

## [Convex.jl (+SCS) more than 100\* slower than R counterpart, CVXR + SCS](https://discourse.julialang.org/t/convex-jl-scs-more-than-100-slower-than-r-counterpart-cvxr-scs/31717)

<div class="topic-metadata">

**Author:** [@reumle](https://discourse.julialang.org/u/reumle)\
**Replies:** 12\
**Last updated:** [December 3, 2019, 11:48pm UTC](https://discourse.julialang.org/t/convex-jl-scs-more-than-100-slower-than-r-counterpart-cvxr-scs/31717 "2019-12-03T23:48:23Z")

</div>

Hello, I see significantly worse perf in the julia implementation. Also scaling seems linear on R side and quadratic on Julia side… \[MWE below at the bottom, in R and Julia\] timings in R/CVXR/scs, (in seconds) # A ti…

---

## [How do I make Revise.jl work in multiple workers environment?](https://discourse.julialang.org/t/how-do-i-make-revise-jl-work-in-multiple-workers-environment/31474)

<div class="topic-metadata">

**Author:** [@Sijun](https://discourse.julialang.org/u/Sijun)\
**Replies:** 2\
**Last updated:** [December 3, 2019, 11:26pm UTC](https://discourse.julialang.org/t/how-do-i-make-revise-jl-work-in-multiple-workers-environment/31474 "2019-12-03T23:26:20Z")

</div>

Hello! I have a simple module file (MyMod.jl), say: module MyMod using Distributed using Base.Threads function func() println("calling func()") r = @spawn sqrt(4) fetch(r) end end # MyMod Now I do the following i…

---

## [\[Plots\] Efficient scatter plot of a 2×N Array](https://discourse.julialang.org/t/plots-efficient-scatter-plot-of-a-2xn-array/31803)

<div class="topic-metadata">

**Author:** [@4aHxKzD](https://discourse.julialang.org/u/4aHxKzD)\
**Replies:** 6\
**Last updated:** [December 3, 2019, 11:24pm UTC](https://discourse.julialang.org/t/plots-efficient-scatter-plot-of-a-2xn-array/31803 "2019-12-03T23:24:58Z")

</div>

When we want to plot a series of points we simply write: points = rand(10000) scatter(points) this assumes a y = rand(10000) and x = 1:10000. From the Official documentation - Argument Passing Behavior Julia functio…

---

## [Generator Evaluation Order?](https://discourse.julialang.org/t/generator-evaluation-order/31823)

<div class="topic-metadata">

**Author:** [@Qiyamah](https://discourse.julialang.org/u/Qiyamah)\
**Replies:** 4\
**Last updated:** [December 3, 2019, 9:53pm UTC](https://discourse.julialang.org/t/generator-evaluation-order/31823 "2019-12-03T21:53:07Z")

</div>

julia\> fun() = begin res = 0 map(tuple, begin ret = ((a=1/(i+j);res+=a;println("VAL = ",res);a) for i=1:2, j=1:2) println("RES : ",res) …

---

## [Possible Bug in Displaying Generator Exprs](https://discourse.julialang.org/t/possible-bug-in-displaying-generator-exprs/31817)

<div class="topic-metadata">

**Author:** [@Qiyamah](https://discourse.julialang.org/u/Qiyamah)\
**Replies:** 4\
**Last updated:** [December 3, 2019, 9:23pm UTC](https://discourse.julialang.org/t/possible-bug-in-displaying-generator-exprs/31817 "2019-12-03T21:23:29Z")

</div>

\[Error showing value of type Expr: ERROR: type LineNumberNode has no field args Stacktrace: \[1\] getproperty(::Any, ::Symbol) at ./Base.jl:20 \[2\] show\_generator(::IOContext{REPL.Terminals.TTYTerminal}, ::Expr, ::Int…

---

## [Check if a value is in an enum](https://discourse.julialang.org/t/check-if-a-value-is-in-an-enum/31815)

<div class="topic-metadata">

**Author:** [@scelles](https://discourse.julialang.org/u/scelles)\
**Replies:** 3\
**Last updated:** [December 3, 2019, 8:02pm UTC](https://discourse.julialang.org/t/check-if-a-value-is-in-an-enum/31815 "2019-12-03T20:02:15Z")

</div>

Hello, I have an enum like julia\> @enum Fruit apple=1 orange=2 kiwi=3 I can check that apple is a Fruit julia\> apple isa Fruit true But can’t check if 3 is an “allowed” value (ie a value which is used by this enum) …

---

## [Metaprogramming process text to Dictionary](https://discourse.julialang.org/t/metaprogramming-process-text-to-dictionary/31777)

<div class="topic-metadata">

**Author:** [@Donut\_Meepo](https://discourse.julialang.org/u/Donut_Meepo)\
**Replies:** 5\
**Last updated:** [December 3, 2019, 5:52pm UTC](https://discourse.julialang.org/t/metaprogramming-process-text-to-dictionary/31777 "2019-12-03T17:52:38Z")

</div>

Hello guys, I never use metaprogramming before. I imagined it makes a string to code? (it is probably wrong understanding at all) So I was thinking whether I can make use of it to process one of my text file. The file i…

---

## [@variables as function parameter](https://discourse.julialang.org/t/variables-as-function-parameter/31650)

<div class="topic-metadata">

**Author:** [@cvanaret](https://discourse.julialang.org/u/cvanaret)\
**Replies:** 1\
**Last updated:** [December 3, 2019, 5:11pm UTC](https://discourse.julialang.org/t/variables-as-function-parameter/31650 "2019-12-03T17:11:17Z")

</div>

Hi, I started playing with the IntervalConstraintProgramming module in Julia, and ran into a problem. Here is a minimal example: using IntervalConstraintProgramming using IntervalArithmetic using ModelingToolkit func…

---

## [Julia programs now shown on benchmarks game website](https://discourse.julialang.org/t/julia-programs-now-shown-on-benchmarks-game-website/17722)

<div class="topic-metadata">

**Author:** [@igouy](https://discourse.julialang.org/u/igouy)\
**Replies:** 144\
**Last updated:** [December 3, 2019, 4:57pm UTC](https://discourse.julialang.org/t/julia-programs-now-shown-on-benchmarks-game-website/17722 "2019-12-03T16:57:11Z")

</div>

Julia programs (currently just those from BaseBenchmarks.jl) are now shown on the benchmarks game website. Everyone is welcome to contribute improved programs to the project, following these instructions —

---

## [Bent identity activation function and Flux.jl?](https://discourse.julialang.org/t/bent-identity-activation-function-and-flux-jl/31807)

<div class="topic-metadata">

**Author:** [@bienpierre](https://discourse.julialang.org/u/bienpierre)\
**Replies:** 2\
**Last updated:** [December 3, 2019, 4:58pm UTC](https://discourse.julialang.org/t/bent-identity-activation-function-and-flux-jl/31807 "2019-12-03T16:58:56Z")

</div>

Dear all, Does flux.jl has the bent identity activation function? I don’t see it in NNlib.jl. Warmest regards

---

## [TextAnalysis and individual TF-IDF](https://discourse.julialang.org/t/textanalysis-and-individual-tf-idf/31798)

<div class="topic-metadata">

**Author:** [@rssdev10](https://discourse.julialang.org/u/rssdev10)\
**Replies:** 3\
**Last updated:** [December 3, 2019, 4:40pm UTC](https://discourse.julialang.org/t/textanalysis-and-individual-tf-idf/31798 "2019-12-03T16:40:15Z")

</div>

I have a case with fixed corpus of documents and one document which is a query. The task is to calculate similarity between these fixed documents and a document sent by a user. For now, we are using TextAnalysis with Cor…

---

## [Stress test DGX-1](https://discourse.julialang.org/t/stress-test-dgx-1/31810)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 0\
**Last updated:** [December 3, 2019, 4:02pm UTC](https://discourse.julialang.org/t/stress-test-dgx-1/31810 "2019-12-03T16:02:33Z")

</div>

I have an excuse to run some stress tests on an Nvidia DGX-1 over the next few days. Is there anything interesting I could run on an 8 GPU setup like that?

---

## [Edging towards distributed HPC](https://discourse.julialang.org/t/edging-towards-distributed-hpc/31809)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 0\
**Last updated:** [December 3, 2019, 4:01pm UTC](https://discourse.julialang.org/t/edging-towards-distributed-hpc/31809 "2019-12-03T16:01:25Z")

</div>

No paticular mention of Julia, but a good article

---

## [Project.toml and package updating](https://discourse.julialang.org/t/project-toml-and-package-updating/31783)

<div class="topic-metadata">

**Author:** [@Yifan\_Liu](https://discourse.julialang.org/u/Yifan_Liu)\
**Replies:** 4\
**Last updated:** [December 3, 2019, 3:54pm UTC](https://discourse.julialang.org/t/project-toml-and-package-updating/31783 "2019-12-03T15:54:14Z")

</div>

I accidentally deleted all the contents on my Project.toml file. Will that affect my package updating?

---

## [Call For Proposals is now open for JuliaCon 2020](https://discourse.julialang.org/t/call-for-proposals-is-now-open-for-juliacon-2020/31775)

<div class="topic-metadata">

**Author:** [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Replies:** 2\
**Last updated:** [December 3, 2019, 1:11pm UTC](https://discourse.julialang.org/t/call-for-proposals-is-now-open-for-juliacon-2020/31775 "2019-12-03T13:11:04Z")

</div>

The JuliaCon 2020 Call for Proposals (CfP) is now open! The JuliaCon 2020 organizing team invites the Julia community to submit talks and workshop proposals for the upcoming JuliaCon conference, which will take place fr…

---

## [Installation Issue Corporate Proxy](https://discourse.julialang.org/t/installation-issue-corporate-proxy/31789)

<div class="topic-metadata">

**Author:** [@philipp\_polterauer](https://discourse.julialang.org/u/philipp_polterauer)\
**Replies:** 4\
**Last updated:** [December 3, 2019, 11:36am UTC](https://discourse.julialang.org/t/installation-issue-corporate-proxy/31789 "2019-12-03T11:36:15Z")

</div>

Hi all I am unable to install Juno behind a corporate proxy. I tracked down the issue to be related to the node package node-pty-prebuilt-multiarch. It would be important to ease installation at my workplace, as otherw…

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

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