# Latest

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

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

**Page:** 1825

---

## [My function seems to be over-writing my variable but I can't see where](https://discourse.julialang.org/t/my-function-seems-to-be-over-writing-my-variable-but-i-cant-see-where/34620)

<div class="topic-metadata">

**Author:** [@samantp](https://discourse.julialang.org/u/samantp)\
**Replies:** 3\
**Last updated:** [February 14, 2020, 12:03pm UTC](https://discourse.julialang.org/t/my-function-seems-to-be-over-writing-my-variable-but-i-cant-see-where/34620 "2020-02-14T12:03:29Z")

</div>

I have an error where if I call a function once it runs without issue, but if I call it a second time on a different argument, it doesn’t run and instead returns an inexact error. This leads me to believe that the functi…

---

## [How to extract a file in a zip archive (without using OS specific tools)?](https://discourse.julialang.org/t/how-to-extract-a-file-in-a-zip-archive-without-using-os-specific-tools/34585)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 4\
**Last updated:** [February 14, 2020, 11:16am UTC](https://discourse.julialang.org/t/how-to-extract-a-file-in-a-zip-archive-without-using-os-specific-tools/34585 "2020-02-14T11:16:26Z")

</div>

I am trying to extract a file from a zip archive using ZipFile.jl, but I don’t know how to write it back to disk: using ZipFile zarchive = ZipFile.Reader("myarchive.zip") myf = zarchive.files\[1\] out = open(myf.name,"w"…

---

## [\[ANN\] New package GRUtils](https://discourse.julialang.org/t/ann-new-package-grutils/29019)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 15\
**Last updated:** [February 14, 2020, 10:30am UTC](https://discourse.julialang.org/t/ann-new-package-grutils/29019 "2020-02-14T10:30:08Z")

</div>

Hi, I would like to announce the release of version 0.1.0 of GRUtils, an experimental package that provides yet another interface to plot with GR in Julia. Why on earth would anyone need it? - you may ask. Plots is alre…

---

## [Companies hiring Julia devs in India, especially in Delhi NCR](https://discourse.julialang.org/t/companies-hiring-julia-devs-in-india-especially-in-delhi-ncr/34313)

<div class="topic-metadata">

**Author:** [@ajeet](https://discourse.julialang.org/u/ajeet)\
**Replies:** 7\
**Last updated:** [February 14, 2020, 9:35am UTC](https://discourse.julialang.org/t/companies-hiring-julia-devs-in-india-especially-in-delhi-ncr/34313 "2020-02-14T09:35:47Z")

</div>

Hi, I am thinking to learn Julia starting from next week. I am not doing job currently, so i will learn this language full time. Can anyone please let me know if some companies are hiringfor Julia devs in India, specifi…

---

## [Performance problems with parallel ensemble simulation on GPU](https://discourse.julialang.org/t/performance-problems-with-parallel-ensemble-simulation-on-gpu/34596)

<div class="topic-metadata">

**Author:** [@nnagyd](https://discourse.julialang.org/u/nnagyd)\
**Replies:** 3\
**Last updated:** [February 14, 2020, 8:06am UTC](https://discourse.julialang.org/t/performance-problems-with-parallel-ensemble-simulation-on-gpu/34596 "2020-02-14T08:06:32Z")

</div>

We are doing some performance analysis of different ODE solvers on GPU’s. When I compare the run times of the Julia code to the odeint and MPGOS codes of the same system, Julia does not perform too well. We are solving t…

---

## [JuMP vs OpenMDAO](https://discourse.julialang.org/t/jump-vs-openmdao/34602)

<div class="topic-metadata">

**Author:** [@josemaria](https://discourse.julialang.org/u/josemaria)\
**Replies:** 1\
**Last updated:** [February 14, 2020, 4:51am UTC](https://discourse.julialang.org/t/jump-vs-openmdao/34602 "2020-02-14T04:51:27Z")

</div>

Does any of you have experience with both? How do they compare?

---

## [Using JuliaDB for online applications (time-series circular storage)](https://discourse.julialang.org/t/using-juliadb-for-online-applications-time-series-circular-storage/34610)

<div class="topic-metadata">

**Author:** [@caxelrud](https://discourse.julialang.org/u/caxelrud)\
**Replies:** 0\
**Last updated:** [February 14, 2020, 1:12am UTC](https://discourse.julialang.org/t/using-juliadb-for-online-applications-time-series-circular-storage/34610 "2020-02-14T01:12:29Z")

</div>

I am designing an application that stores time-series data (several fields with a time-stamp). It will require frequent periodic inserts for recent data (or appends) and infrequent deletes (for the oldest data). The ide…

---

## [CSV stuck on old version](https://discourse.julialang.org/t/csv-stuck-on-old-version/34581)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 12\
**Last updated:** [February 13, 2020, 10:54pm UTC](https://discourse.julialang.org/t/csv-stuck-on-old-version/34581 "2020-02-13T22:54:44Z")

</div>

I made a package (it’s useful only to me and formats data to a database format I need): https://github.com/yakir12/Format2DB.jl where the CSV.jl dependency is set to v0.5.23. But if I start a new fresh environment an…

---

## [Fast alternative to mutable struct](https://discourse.julialang.org/t/fast-alternative-to-mutable-struct/34593)

<div class="topic-metadata">

**Author:** [@kaltsoplyn](https://discourse.julialang.org/u/kaltsoplyn)\
**Replies:** 10\
**Last updated:** [February 13, 2020, 10:02pm UTC](https://discourse.julialang.org/t/fast-alternative-to-mutable-struct/34593 "2020-02-13T22:02:50Z")

</div>

Hi, first discourse topic/question ever, please do tell if this is the wrong place for this type of question. (I’m also new to Julia, so this might be trivial.) I have a function, with a couple of keyword arguments. (D…

---

## [MLJ- Unpack not defined](https://discourse.julialang.org/t/mlj-unpack-not-defined/34577)

<div class="topic-metadata">

**Author:** [@Phillip\_Sutton](https://discourse.julialang.org/u/Phillip_Sutton)\
**Replies:** 5\
**Last updated:** [February 13, 2020, 9:54pm UTC](https://discourse.julialang.org/t/mlj-unpack-not-defined/34577 "2020-02-13T21:54:49Z")

</div>

Getting an error when attempting to unpack the Boston RDataset y, X = MLJBase.unpack(boston, ==(Symbol(outcome\_name)), colname -\> true) UndefVarError: unpack not defined Stacktrace: \[1\] getproperty(::Module, ::Symbol)…

---

## [How to remove "shape" outlines in a scatter plot?](https://discourse.julialang.org/t/how-to-remove-shape-outlines-in-a-scatter-plot/30068)

<div class="topic-metadata">

**Author:** [@jlchan](https://discourse.julialang.org/u/jlchan)\
**Replies:** 7\
**Last updated:** [February 13, 2020, 8:51pm UTC](https://discourse.julialang.org/t/how-to-remove-shape-outlines-in-a-scatter-plot/30068 "2020-02-13T20:51:21Z")

</div>

I have matrices which contain x,y,z data on a triangular grid. In other words, each column of x,y,z correspond to points on a different triangle, so that when you plot the matrices together, they give a surface plot ove…

---

## [Distributing own julia scripts](https://discourse.julialang.org/t/distributing-own-julia-scripts/34508)

<div class="topic-metadata">

**Author:** [@Darione](https://discourse.julialang.org/u/Darione)\
**Replies:** 21\
**Last updated:** [February 13, 2020, 9:00pm UTC](https://discourse.julialang.org/t/distributing-own-julia-scripts/34508 "2020-02-13T21:00:08Z")

</div>

Suppose one is getting started with Julia, but has made a series of scripts to pass on to someone else, that has just installed julia for the first time on its machine. Without having to specify which Packages are to be…

---

## ['UndefVarError: x not defined' when calling a macro outside of its module](https://discourse.julialang.org/t/undefvarerror-x-not-defined-when-calling-a-macro-outside-of-its-module/20201)

<div class="topic-metadata">

**Author:** [@FCo](https://discourse.julialang.org/u/FCo)\
**Replies:** 7\
**Last updated:** [February 13, 2020, 8:57pm UTC](https://discourse.julialang.org/t/undefvarerror-x-not-defined-when-calling-a-macro-outside-of-its-module/20201 "2020-02-13T20:57:47Z")

</div>

I’m trying to code a macro which calls a function defined within the same module (with Julia v1.1). I always get the ERROR: LoadError: UndefVarError: myModel not defined. The code of the module is the following (Models.…

---

## [Is it possible to manipulate GR plots with keyboard and/or mouse?](https://discourse.julialang.org/t/is-it-possible-to-manipulate-gr-plots-with-keyboard-and-or-mouse/34592)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 3\
**Last updated:** [February 13, 2020, 8:12pm UTC](https://discourse.julialang.org/t/is-it-possible-to-manipulate-gr-plots-with-keyboard-and-or-mouse/34592 "2020-02-13T20:12:49Z")

</div>

Zoom in/out, pan, rotate, … The usual stuff. I could not even find how to grab input from GR. Is that possible?

---

## [Find the maximum of a multivariable (arbitrary) function](https://discourse.julialang.org/t/find-the-maximum-of-a-multivariable-arbitrary-function/34578)

<div class="topic-metadata">

**Author:** [@samantp](https://discourse.julialang.org/u/samantp)\
**Replies:** 1\
**Last updated:** [February 13, 2020, 8:03pm UTC](https://discourse.julialang.org/t/find-the-maximum-of-a-multivariable-arbitrary-function/34578 "2020-02-13T20:03:47Z")

</div>

Does anyone know of some helpful functions in a stats package somewhere that can help me solve the following optimization problem? So, I have 2 datasets, DVH1 and DVH2. I also have a function, NTCP, this is a known fun…

---

## [How to change the data type of a specific column of a dataframe?](https://discourse.julialang.org/t/how-to-change-the-data-type-of-a-specific-column-of-a-dataframe/34598)

<div class="topic-metadata">

**Author:** [@Aizzaac](https://discourse.julialang.org/u/Aizzaac)\
**Replies:** 3\
**Last updated:** [February 13, 2020, 7:35pm UTC](https://discourse.julialang.org/t/how-to-change-the-data-type-of-a-specific-column-of-a-dataframe/34598 "2020-02-13T19:35:03Z")

</div>

Hi I have a dataframe of 5 columns. All of them are of type “string”. I want to convert column 2 (“count”) from String to Int 16. So far I have tried: df\_splunkie\[:count\]=Int16(df\_splunkie\[:count\]) This is the error…

---

## [How to hijack UnionAll type creation process?](https://discourse.julialang.org/t/how-to-hijack-unionall-type-creation-process/34599)

<div class="topic-metadata">

**Author:** [@Qiyamah](https://discourse.julialang.org/u/Qiyamah)\
**Replies:** 2\
**Last updated:** [February 13, 2020, 7:31pm UTC](https://discourse.julialang.org/t/how-to-hijack-unionall-type-creation-process/34599 "2020-02-13T19:31:35Z")

</div>

Hi, is it possible to do such a thing? struct MM{T} x::T end #when I do this MM{Int} #I want it to return MM{Float64} I tried the following but didn’t work: function (::Base.Type{Type{MM}})(::Type{Int}) …

---

## [Can Zygote do derivatives w.r.t. keyword arguments which get captured in \`kwargs...\`?](https://discourse.julialang.org/t/can-zygote-do-derivatives-w-r-t-keyword-arguments-which-get-captured-in-kwargs/34553)

<div class="topic-metadata">

**Author:** [@marius311](https://discourse.julialang.org/u/marius311)\
**Replies:** 7\
**Last updated:** [February 13, 2020, 6:31pm UTC](https://discourse.julialang.org/t/can-zygote-do-derivatives-w-r-t-keyword-arguments-which-get-captured-in-kwargs/34553 "2020-02-13T18:31:18Z")

</div>

Zygote can do derivatives w.r.t. to keyword arguments, which is super cool: foo(;x) = x^2 gradient(x -\> foo(x=x), 2) # gives 4 In my case though, I’m doing some programatic stuff with the keywords of a certain function…

---

## [Juno... how to save layout?](https://discourse.julialang.org/t/juno-how-to-save-layout/12896)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 5\
**Last updated:** [February 13, 2020, 5:36pm UTC](https://discourse.julialang.org/t/juno-how-to-save-layout/12896 "2020-02-13T17:36:47Z")

</div>

I have installed Atom with Juno add-on, i.e., manually. During my session, I have a layout of panes as follows: A couple of questions: Is it possible to save this layout, i.e., with editor window in the upper left …

---

## [Luvvy - Use Actors liberally for robust, highly parallel Julia code (prototype)](https://discourse.julialang.org/t/luvvy-use-actors-liberally-for-robust-highly-parallel-julia-code-prototype/30086)

<div class="topic-metadata">

**Author:** [@richiejp](https://discourse.julialang.org/u/richiejp)\
**Replies:** 14\
**Last updated:** [February 13, 2020, 5:24pm UTC](https://discourse.julialang.org/t/luvvy-use-actors-liberally-for-robust-highly-parallel-julia-code-prototype/30086 "2020-02-13T17:24:02Z")

</div>

tldr; Richard Palethorpe / Luvvy · GitLab (It is not registered as a package yet. Probably only works with Julia 1.3+) Following on from the discussion I had with @Chris\_Foster in this PR for @async, I was inspired to t…

---

## [Autocomplete of \\lambda \\delta don't work, known issue?](https://discourse.julialang.org/t/autocomplete-of-lambda-delta-dont-work-known-issue/34586)

<div class="topic-metadata">

**Author:** [@affans](https://discourse.julialang.org/u/affans)\
**Replies:** 4\
**Last updated:** [February 13, 2020, 5:00pm UTC](https://discourse.julialang.org/t/autocomplete-of-lambda-delta-dont-work-known-issue/34586 "2020-02-13T17:00:08Z")

</div>

VS Code (latest update) with extension version 0.13.1, Julia version 1.3 The autocomplete to input latex characters don’t work. Is this a known issue and is there a workaround? Typing \\lambda\<tab\> just enters a space (d…

---

## [Creating an immutable struct with new()](https://discourse.julialang.org/t/creating-an-immutable-struct-with-new/34583)

<div class="topic-metadata">

**Author:** [@bocc](https://discourse.julialang.org/u/bocc)\
**Replies:** 3\
**Last updated:** [February 13, 2020, 4:59pm UTC](https://discourse.julialang.org/t/creating-an-immutable-struct-with-new/34583 "2020-02-13T16:59:34Z")

</div>

Hello there, I wanted to create a struct with the new() construct, mostly for convenience reasons, I wanted to identify it’s fields by their names (as it will have a lot of fields but will be read-only after initializat…

---

## [Gradient-based methods are not moving some parameters](https://discourse.julialang.org/t/gradient-based-methods-are-not-moving-some-parameters/34549)

<div class="topic-metadata">

**Author:** [@cosmia](https://discourse.julialang.org/u/cosmia)\
**Replies:** 3\
**Last updated:** [February 13, 2020, 4:16pm UTC](https://discourse.julialang.org/t/gradient-based-methods-are-not-moving-some-parameters/34549 "2020-02-13T16:16:34Z")

</div>

Hi all, I have a maximum likelihood estimator in which I need to integrate using a mixture of two normal distributions with zero mean. Without getting into much details, this entails estimating 3 parameters of the distri…

---

## [Addition and UnitRange](https://discourse.julialang.org/t/addition-and-unitrange/34573)

<div class="topic-metadata">

**Author:** [@gdkrmr](https://discourse.julialang.org/u/gdkrmr)\
**Replies:** 5\
**Last updated:** [February 13, 2020, 3:48pm UTC](https://discourse.julialang.org/t/addition-and-unitrange/34573 "2020-02-13T15:48:23Z")

</div>

Is there a reason, why (1:23) \* 2 works, but not (1:23) + 2?

---

## [Dispatch in macro?](https://discourse.julialang.org/t/dispatch-in-macro/34565)

<div class="topic-metadata">

**Author:** [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Replies:** 16\
**Last updated:** [February 13, 2020, 3:40pm UTC](https://discourse.julialang.org/t/dispatch-in-macro/34565 "2020-02-13T15:40:27Z")

</div>

suppose I have two custom types A and B, and I wanna build a macro or a generated function that gives different behaviors according to the type, how could I do? I tried the following: struct A data::Int end struct …

---

## [How can I plot a choropleth map from a dataframe?](https://discourse.julialang.org/t/how-can-i-plot-a-choropleth-map-from-a-dataframe/34479)

<div class="topic-metadata">

**Author:** [@Aizzaac](https://discourse.julialang.org/u/Aizzaac)\
**Replies:** 11\
**Last updated:** [February 13, 2020, 3:29pm UTC](https://discourse.julialang.org/t/how-can-i-plot-a-choropleth-map-from-a-dataframe/34479 "2020-02-13T15:29:03Z")

</div>

Hi I have a dataframe with 4 columns: DA\_ID (these are districts) MBR points (these are the coordenates) count (these are the number of times an incident happened. it is just an integer from 0 to 8094). It looks like…

---

## [How to view/ingest data with VegaLite?](https://discourse.julialang.org/t/how-to-view-ingest-data-with-vegalite/34539)

<div class="topic-metadata">

**Author:** [@Aizzaac](https://discourse.julialang.org/u/Aizzaac)\
**Replies:** 2\
**Last updated:** [February 13, 2020, 3:26pm UTC](https://discourse.julialang.org/t/how-to-view-ingest-data-with-vegalite/34539 "2020-02-13T15:26:11Z")

</div>

Hi I have a topojson file and a dataframe. Using a DataFrame I can see a “table” with all my values. But how can I do that using VegaLite? Most of the given examples in the documentation have examples with the Vega da…

---

## [I do not understand this error: MethodError: no method matching iterate(::DataFrame)](https://discourse.julialang.org/t/i-do-not-understand-this-error-methoderror-no-method-matching-iterate-dataframe/34530)

<div class="topic-metadata">

**Author:** [@Aizzaac](https://discourse.julialang.org/u/Aizzaac)\
**Replies:** 8\
**Last updated:** [February 13, 2020, 3:25pm UTC](https://discourse.julialang.org/t/i-do-not-understand-this-error-methoderror-no-method-matching-iterate-dataframe/34530 "2020-02-13T15:25:09Z")

</div>

Hi I want to know what a function is doing. The function can be found here: \[https://nbviewer.jupyter.org/github/JuliaX/iap2014/blob/master/GeoData.ipynb\] I have a dataframe which have columns with type “Shapefile”. …

---

## [Could not resolve host on Win10](https://discourse.julialang.org/t/could-not-resolve-host-on-win10/34008)

<div class="topic-metadata">

**Author:** [@YermolenkoIgor](https://discourse.julialang.org/u/YermolenkoIgor)\
**Replies:** 1\
**Last updated:** [February 13, 2020, 3:07pm UTC](https://discourse.julialang.org/t/could-not-resolve-host-on-win10/34008 "2020-02-13T15:07:39Z")

</div>

‘’’ julia\> versioninfo() Julia Version 1.3.1 Commit 2d5741174c (2019-12-30 21:36 UTC) Platform Info: OS: Windows (i686-w64-mingw32) CPU: Pentium(R) Dual-Core CPU E6500 @ 2.93GHz WORD\_SIZE: 32 LIBM: libopen…

---

## [Problem with ENV in a precompiled package](https://discourse.julialang.org/t/problem-with-env-in-a-precompiled-package/34534)

<div class="topic-metadata">

**Author:** [@wolfgang](https://discourse.julialang.org/u/wolfgang)\
**Replies:** 2\
**Last updated:** [February 13, 2020, 2:44pm UTC](https://discourse.julialang.org/t/problem-with-env-in-a-precompiled-package/34534 "2020-02-13T14:44:34Z")

</div>

I have a problem understanding how to program evaluation of an ENV value into a package. I am kind of unhappy with the RainbowBrackets of OhMyREPL because of low contrast. I understand how I can get rid of them, but I th…

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

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