# Latest

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

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

**Page:** 1964

---

## [Are immutable struct really immutable?](https://discourse.julialang.org/t/are-immutable-struct-really-immutable/26138)

<div class="topic-metadata">

**Author:** [@fipelle](https://discourse.julialang.org/u/fipelle)\
**Replies:** 12\
**Last updated:** [July 10, 2019, 12:21am UTC](https://discourse.julialang.org/t/are-immutable-struct-really-immutable/26138 "2019-07-10T00:21:00Z")

</div>

Hi, I recently realised that it is possible to edit the entries of an immutable struct as long as they are arrays. For example, by using the code: struct MyStruct Y::Array{Float64,1} end # Define A A = MyStruct(on…

---

## [LoadError: LibraryProduct(...) is not satisfied](https://discourse.julialang.org/t/loaderror-libraryproduct-is-not-satisfied/26193)

<div class="topic-metadata">

**Author:** [@tlienart](https://discourse.julialang.org/u/tlienart)\
**Replies:** 3\
**Last updated:** [July 10, 2019, 12:02am UTC](https://discourse.julialang.org/t/loaderror-libraryproduct-is-not-satisfied/26193 "2019-07-10T00:02:43Z")

</div>

I had this issue initially with MbedTLS, mentioned it on Slack, fiddled a lot and it “went away” as far as I could tell. However I now get the same error with Arpack; I don’t know what causes these issues nor how to clea…

---

## [Interact.jl widget dimensions](https://discourse.julialang.org/t/interact-jl-widget-dimensions/26141)

<div class="topic-metadata">

**Author:** [@rand5](https://discourse.julialang.org/u/rand5)\
**Replies:** 3\
**Last updated:** [July 9, 2019, 10:06pm UTC](https://discourse.julialang.org/t/interact-jl-widget-dimensions/26141 "2019-07-09T22:06:38Z")

</div>

How would one specify the width and height of an interact button, dropdown menu, etc.? I didn’t see anything about this in the Interact docs. Thanks,

---

## [Parametric bits](https://discourse.julialang.org/t/parametric-bits/26117)

<div class="topic-metadata">

**Author:** [@bramtayl](https://discourse.julialang.org/u/bramtayl)\
**Replies:** 15\
**Last updated:** [July 9, 2019, 6:52pm UTC](https://discourse.julialang.org/t/parametric-bits/26117 "2019-07-09T18:52:56Z")

</div>

Float{64} would make a lot more sense than Float64, no? Julia exports at least 13 float/integer types, and with parametric types it could cut down to three (signed, unsigned, and float). Maybe something to consider for 2…

---

## [\[JuliaCon 2019\] Proceedings submission extension!](https://discourse.julialang.org/t/juliacon-2019-proceedings-submission-extension/26199)

<div class="topic-metadata">

**Author:** [@vchuravy](https://discourse.julialang.org/u/vchuravy)\
**Replies:** 0\
**Last updated:** [July 9, 2019, 6:46pm UTC](https://discourse.julialang.org/t/juliacon-2019-proceedings-submission-extension/26199 "2019-07-09T18:46:01Z")

</div>

I first want to thank all the authors who have already chosen to submit papers to the JuliaCon 2019 proceedings. Since this is the first time we are doing proceedings and we are still trying to determine what format sui…

---

## [Decoding EBCDIC array to string](https://discourse.julialang.org/t/decoding-ebcdic-array-to-string/26192)

<div class="topic-metadata">

**Author:** [@randyzwitch](https://discourse.julialang.org/u/randyzwitch)\
**Replies:** 8\
**Last updated:** [July 9, 2019, 6:14pm UTC](https://discourse.julialang.org/t/decoding-ebcdic-array-to-string/26192 "2019-07-09T18:14:48Z")

</div>

I have a file format that returns bytes in EBCDIC format: 3200-element Array{UInt8,1}: 0xc3 0x40 0xf1 0x40 0xc3 0xd3 0xc9 0xc5 0xd5 0xe3 0x7a 0x40 0xc2 ⋮ 0x40 0x40 0x40 0x40 0x40 0x40 0x40 0x40 …

---

## [PackageCompiler.compile\_incremental Error: Package name not found in current manifest](https://discourse.julialang.org/t/packagecompiler-compile-incremental-error-package-name-not-found-in-current-manifest/26195)

<div class="topic-metadata">

**Author:** [@dhazeghi](https://discourse.julialang.org/u/dhazeghi)\
**Replies:** 0\
**Last updated:** [July 9, 2019, 5:52pm UTC](https://discourse.julialang.org/t/packagecompiler-compile-incremental-error-package-name-not-found-in-current-manifest/26195 "2019-07-09T17:52:43Z")

</div>

As part of my attempt to get a handle on compile/load time, I’m trying to build a number of commonly used packages into my system image. Many of them fail with the following sort of error: julia\> PackageCompiler.compil…

---

## [Crashing shared arrays](https://discourse.julialang.org/t/crashing-shared-arrays/26174)

<div class="topic-metadata">

**Author:** [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Replies:** 5\
**Last updated:** [July 9, 2019, 4:36pm UTC](https://discourse.julialang.org/t/crashing-shared-arrays/26174 "2019-07-09T16:36:26Z")

</div>

I tried to fill a SharedArray using the @distributed macro but it keeps crashing. The MCE (Minimum Crashing Example) is shown below. Am I doing something wrong? using Distributed, SharedArrays const s = 10\_000 const …

---

## [Performance when passing function outputs between modules](https://discourse.julialang.org/t/performance-when-passing-function-outputs-between-modules/26121)

<div class="topic-metadata">

**Author:** [@Iulian.Cioarca](https://discourse.julialang.org/u/Iulian.Cioarca)\
**Replies:** 3\
**Last updated:** [July 9, 2019, 3:59pm UTC](https://discourse.julialang.org/t/performance-when-passing-function-outputs-between-modules/26121 "2019-07-09T15:59:57Z")

</div>

Hello, I am trying to understand how passing function outputs between modules work and I would like to know if my reasoning is correct. Let’s assume we have the following modules: module M1 function foo() a = \[1,2…

---

## [How to close InspectDR plot window or update it?](https://discourse.julialang.org/t/how-to-close-inspectdr-plot-window-or-update-it/25787)

<div class="topic-metadata">

**Author:** [@Iulian.Cioarca](https://discourse.julialang.org/u/Iulian.Cioarca)\
**Replies:** 8\
**Last updated:** [July 9, 2019, 3:55pm UTC](https://discourse.julialang.org/t/how-to-close-inspectdr-plot-window-or-update-it/25787 "2019-07-09T15:55:56Z")

</div>

Hi, Sorry for the noob question, but I searched through some documentation and examples of InspectDR and could not figure out how to close a plot window. Can someone point me in the right direction, please? I’m sure I m…

---

## [Rootfinding on manifold](https://discourse.julialang.org/t/rootfinding-on-manifold/26113)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 8\
**Last updated:** [July 9, 2019, 2:20pm UTC](https://discourse.julialang.org/t/rootfinding-on-manifold/26113 "2019-07-09T14:20:40Z")

</div>

I have an f: \\mathbb{R}^n \\to \\mathbb{R}^m function with m \> n. I am looking for a root f(x) \\approx 0. f is continuous, differentiable, generally rather nice, if somewhat nonlinear. I managed to make this work with NLs…

---

## [Short type declarations (syntax sugar)?](https://discourse.julialang.org/t/short-type-declarations-syntax-sugar/26114)

<div class="topic-metadata">

**Author:** [@sairus7](https://discourse.julialang.org/u/sairus7)\
**Replies:** 26\
**Last updated:** [July 9, 2019, 12:22pm UTC](https://discourse.julialang.org/t/short-type-declarations-syntax-sugar/26114 "2019-07-09T12:22:14Z")

</div>

We already have some short array syntax, like Array{Int, 1} == Vector{Int} Also, constructor short form: Int\[\] (but not a type declaration) Are there are any short forms for complex types declarations in function signa…

---

## [Constant type but changing value](https://discourse.julialang.org/t/constant-type-but-changing-value/26125)

<div class="topic-metadata">

**Author:** [@Paul\_McVay](https://discourse.julialang.org/u/Paul_McVay)\
**Replies:** 5\
**Last updated:** [July 9, 2019, 11:42am UTC](https://discourse.julialang.org/t/constant-type-but-changing-value/26125 "2019-07-09T11:42:01Z")

</div>

Is it possible to create a constant type but changing value variable? For example, I would like to create a max variable and a call to a function increments the max value and returns the new max. The max variable needs t…

---

## [JuliaDBMeta/JuliaDB - How to select columns dynamically/programatically](https://discourse.julialang.org/t/juliadbmeta-juliadb-how-to-select-columns-dynamically-programatically/26082)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 3\
**Last updated:** [July 9, 2019, 11:19am UTC](https://discourse.julialang.org/t/juliadbmeta-juliadb-how-to-select-columns-dynamically-programatically/26082 "2019-07-09T11:19:52Z")

</div>

I’ve been beating my head against the wall for hours on end trying to figure out how to avoid hard-coding column names in the below example (specifically, in the array comprehension wgts = \[sum(cols(Symbol("PWGTP$i"))) f…

---

## [Dynamic @select with Query.jl](https://discourse.julialang.org/t/dynamic-select-with-query-jl/25242)

<div class="topic-metadata">

**Author:** [@tencnivel](https://discourse.julialang.org/u/tencnivel)\
**Replies:** 2\
**Last updated:** [July 9, 2019, 10:12am UTC](https://discourse.julialang.org/t/dynamic-select-with-query-jl/25242 "2019-07-09T10:12:54Z")

</div>

Hello, I’m using Query,jl with LINQ style query command. I try to pass a dynamic selection of variables to @select For example, instead of writing this: data\_table = @from i in data begin @select {i.id, i.la…

---

## [Assigning strictly integer values](https://discourse.julialang.org/t/assigning-strictly-integer-values/26178)

<div class="topic-metadata">

**Author:** [@MuadhF](https://discourse.julialang.org/u/MuadhF)\
**Replies:** 4\
**Last updated:** [July 9, 2019, 9:23am UTC](https://discourse.julialang.org/t/assigning-strictly-integer-values/26178 "2019-07-09T09:23:16Z")

</div>

Hi, I am having trouble with assigning values from a CSV file into a variable. So I have a value of 300 in a cell (\[4,2\]) in the CSV file, and in the code I created a dataframe (df1) and tried to assign the value of 300…

---

## [Julia in firefox](https://discourse.julialang.org/t/julia-in-firefox/26156)

<div class="topic-metadata">

**Author:** [@Paulo\_Jabardo](https://discourse.julialang.org/u/Paulo_Jabardo)\
**Replies:** 11\
**Last updated:** [July 9, 2019, 8:48am UTC](https://discourse.julialang.org/t/julia-in-firefox/26156 "2019-07-09T08:48:50Z")

</div>

I just saw this on slashdot.org https://m.slashdot.org/story/358006 Here is the story: Interesting.

---

## [Some unknown functions](https://discourse.julialang.org/t/some-unknown-functions/26153)

<div class="topic-metadata">

**Author:** [@marouane](https://discourse.julialang.org/u/marouane)\
**Replies:** 1\
**Last updated:** [July 9, 2019, 2:19am UTC](https://discourse.julialang.org/t/some-unknown-functions/26153 "2019-07-09T02:19:07Z")

</div>

I am trying to understand a function of a code that i have, and there are some functions that i cannot explain , this is the function: Julia function op\_mat(op) op = op\[:as\_poly\](domain="C") op\_a = op.x\[:gens\] …

---

## [Manage dependencies to unofficial packages](https://discourse.julialang.org/t/manage-dependencies-to-unofficial-packages/26129)

<div class="topic-metadata">

**Author:** [@DrChainsaw](https://discourse.julialang.org/u/DrChainsaw)\
**Replies:** 1\
**Last updated:** [July 8, 2019, 11:05pm UTC](https://discourse.julialang.org/t/manage-dependencies-to-unofficial-packages/26129 "2019-07-08T23:05:36Z")

</div>

Hi, I have two (public) packages on github where one depends on the other. As it seems now, doing Pgk.add on the one with the dependency does not work out of the box, one must first manually install the other one. Is t…

---

## [Love in 245 Characters (code golf)](https://discourse.julialang.org/t/love-in-245-characters-code-golf/20771)

<div class="topic-metadata">

**Author:** [@bennedich](https://discourse.julialang.org/u/bennedich)\
**Replies:** 12\
**Last updated:** [July 8, 2019, 6:45pm UTC](https://discourse.julialang.org/t/love-in-245-characters-code-golf/20771 "2019-07-08T18:45:28Z")

</div>

I’ve found that in addition to everything else Julia excels at, it’s also a great language for code golf, and came up with the below as practice. Thought I’d share it in case anyone finds it amusing, or share the same ho…

---

## [Interlacing frames from videos](https://discourse.julialang.org/t/interlacing-frames-from-videos/26152)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 1\
**Last updated:** [July 8, 2019, 9:02pm UTC](https://discourse.julialang.org/t/interlacing-frames-from-videos/26152 "2019-07-08T21:02:29Z")

</div>

TL,DR: This is a call for help to improve de-interlacing in VideoIO. Thanks to @ianshmean, VideoIO has received a large number of significant improvements lately. These changes make VideoIO a viable tool for reading and…

---

## [\[ANN\] MetaArrays: Add metadata to your arrays](https://discourse.julialang.org/t/ann-metaarrays-add-metadata-to-your-arrays/23385)

<div class="topic-metadata">

**Author:** [@haberdashPI](https://discourse.julialang.org/u/haberdashPI)\
**Replies:** 4\
**Last updated:** [July 8, 2019, 8:38pm UTC](https://discourse.julialang.org/t/ann-metaarrays-add-metadata-to-your-arrays/23385 "2019-07-08T20:38:09Z")

</div>

Hello all, I have just made a small package available in the General registry: MetaArrays. It provides a generic means of adding additional meta-data to an array, (typically) using a NamedTuple. (It is perhaps similar i…

---

## [Converting Matlab max to findmax](https://discourse.julialang.org/t/converting-matlab-max-to-findmax/26148)

<div class="topic-metadata">

**Author:** [@clemej](https://discourse.julialang.org/u/clemej)\
**Replies:** 1\
**Last updated:** [July 8, 2019, 7:50pm UTC](https://discourse.julialang.org/t/converting-matlab-max-to-findmax/26148 "2019-07-08T19:50:58Z")

</div>

Hi, I’m converting some Matlab code that I’m not very familiar with to Julia, which I’m also not very familiar with, and I’m tripping over myself. Assume X is a 5 dimensional float64 array of shape 5x6x41x41x18. The fo…

---

## [Plots.jl / GR: Specify colors for multiple series](https://discourse.julialang.org/t/plots-jl-gr-specify-colors-for-multiple-series/26144)

<div class="topic-metadata">

**Author:** [@srs](https://discourse.julialang.org/u/srs)\
**Replies:** 2\
**Last updated:** [July 8, 2019, 6:09pm UTC](https://discourse.julialang.org/t/plots-jl-gr-specify-colors-for-multiple-series/26144 "2019-07-08T18:09:03Z")

</div>

I want to plot two series and I want to specify a color for each of them. How do I do this? This code: plot(\[1:10, 2:11\], markershape=:circle, color=\[:red, :blue\]) Does not do what I want:

---

## [Copy-paste loses line ending from REPL in Juno](https://discourse.julialang.org/t/copy-paste-loses-line-ending-from-repl-in-juno/26050)

<div class="topic-metadata">

**Author:** [@Ross\_Boylan](https://discourse.julialang.org/u/Ross_Boylan)\
**Replies:** 2\
**Last updated:** [July 8, 2019, 4:23pm UTC](https://discourse.julialang.org/t/copy-paste-loses-line-ending-from-repl-in-juno/26050 "2019-07-08T16:23:54Z")

</div>

When I try to copy and paste from the REPL to another app (browser window, git commit dialog) many of the line endings disappear, making the pasted result pretty useless. Am I doing something wrong, or is this a bug? S…

---

## [Data Scientist: AI for Water Management in Kitchener, Ontario, Canada](https://discourse.julialang.org/t/data-scientist-ai-for-water-management-in-kitchener-ontario-canada/18671)

<div class="topic-metadata">

**Author:** [@Seanny123](https://discourse.julialang.org/u/Seanny123)\
**Replies:** 2\
**Last updated:** [July 8, 2019, 4:07pm UTC](https://discourse.julialang.org/t/data-scientist-ai-for-water-management-in-kitchener-ontario-canada/18671 "2019-07-08T16:07:08Z")

</div>

The Data Science team at Emagin which I’m a part of is hiring data scientists. Although we mostly use Python, we use Julia for a core project and are working on open-sourcing a Dynamic Time Warping library. Additionally,…

---

## [Naming multiple constraints](https://discourse.julialang.org/t/naming-multiple-constraints/26134)

<div class="topic-metadata">

**Author:** [@MuadhF](https://discourse.julialang.org/u/MuadhF)\
**Replies:** 2\
**Last updated:** [July 8, 2019, 3:41pm UTC](https://discourse.julialang.org/t/naming-multiple-constraints/26134 "2019-07-08T15:41:07Z")

</div>

Hi, In JuMP, how do I get the name of a constraint by which I can refer to, if I haven’t named it already? Also, for multiple constraints, how do you name them? For example: for i = 1:5 @constraint(m, con\[i=1:5\],…

---

## [AmplNLWriter, NLexpression, can't evaluate pow('(0,0.45),](https://discourse.julialang.org/t/amplnlwriter-nlexpression-cant-evaluate-pow-0-0-45/26006)

<div class="topic-metadata">

**Author:** [@Raminel](https://discourse.julialang.org/u/Raminel)\
**Replies:** 2\
**Last updated:** [July 8, 2019, 3:35pm UTC](https://discourse.julialang.org/t/amplnlwriter-nlexpression-cant-evaluate-pow-0-0-45/26006 "2019-07-08T15:35:04Z")

</div>

Hi all, I am trying include a power expression in my objective function. and I get an error “can’t evaluate pow’(0,0.45)”, even though I forced my variables to start from 1e-20. Has anyone an idea why? using JuMP usin…

---

## [\[In Development\] Bitcoin.jl - A Julia bitcoin library](https://discourse.julialang.org/t/in-development-bitcoin-jl-a-julia-bitcoin-library/17944)

<div class="topic-metadata">

**Author:** [@roshii](https://discourse.julialang.org/u/roshii)\
**Replies:** 50\
**Last updated:** [July 8, 2019, 3:22pm UTC](https://discourse.julialang.org/t/in-development-bitcoin-jl-a-julia-bitcoin-library/17944 "2019-07-08T15:22:34Z")

</div>

Hi All, Following an intense seminar on bitcoin development, I began to implement a bitcoin library in native Julia. At time of writing, functionalities are limited to address generation and slowly moving towards full n…

---

## [How to add/edit values in an NDSparse?](https://discourse.julialang.org/t/how-to-add-edit-values-in-an-ndsparse/26135)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 9\
**Last updated:** [July 8, 2019, 3:07pm UTC](https://discourse.julialang.org/t/how-to-add-edit-values-in-an-ndsparse/26135 "2019-07-08T15:07:55Z")

</div>

(crosposting from this so question) How to add or edit values in an sparse indexed table ? From the documentation I understood that the NDSparse object itself is immutable but not the underlying data, so I “understand” …

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

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