# Internals & Design

**URL:** https://discourse.julialang.org/c/dev/5.md?page=58

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

**Page:** 59

---

## [UndefRefError on a global constant instatiation in the stdlib](https://discourse.julialang.org/t/undefreferror-on-a-global-constant-instatiation-in-the-stdlib/11913)

<div class="topic-metadata">

**Author:** [@Gaetano](https://discourse.julialang.org/u/Gaetano)\
**Replies:** 3\
**Last updated:** [June 25, 2018, 3:05pm UTC](https://discourse.julialang.org/t/undefreferror-on-a-global-constant-instatiation-in-the-stdlib/11913 "2018-06-25T15:05:19Z")

</div>

Running something like init\_TRNG() = init\_TRNG(GLOBAL\_RNG) const threadRNG = init\_TRNG() in a Julia source works, the problem comes when I try to add it to the Random module in the stdlib. There it returns during Juli…

---

## [Inconsistency of type argument positions](https://discourse.julialang.org/t/inconsistency-of-type-argument-positions/11878)

<div class="topic-metadata">

**Author:** [@innerlee](https://discourse.julialang.org/u/innerlee)\
**Replies:** 13\
**Last updated:** [June 23, 2018, 7:26pm UTC](https://discourse.julialang.org/t/inconsistency-of-type-argument-positions/11878 "2018-06-23T19:26:42Z")

</div>

I happened to met the depwarn readstring(x) is deprecated to read(x, String) And noticed some inconsistency. Note the following functions: julia\> parse(Int, "1234") 1234 julia\> floor(Int, 1.2) 1 So, is read(St…

---

## [Appveyor and Pkg (for Julia 0.7-alpha)](https://discourse.julialang.org/t/appveyor-and-pkg-for-julia-0-7-alpha/11835)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 9\
**Last updated:** [June 23, 2018, 2:30pm UTC](https://discourse.julialang.org/t/appveyor-and-pkg-for-julia-0-7-alpha/11835 "2018-06-23T14:30:54Z")

</div>

I have trouble making sense of the logic of the Appveyor and the new package manager. Will the Appveyor automatically pull in the latest commit of the package, or will it try to find a released version to test? Right n…

---

## [Support additional brackets](https://discourse.julialang.org/t/support-additional-brackets/11817)

<div class="topic-metadata">

**Author:** [@innerlee](https://discourse.julialang.org/u/innerlee)\
**Replies:** 25\
**Last updated:** [June 22, 2018, 8:28pm UTC](https://discourse.julialang.org/t/support-additional-brackets/11817 "2018-06-22T20:28:30Z")

</div>

Is it possible to support extra braces? Like, convert ⟨a, b⟩ to angle(a, b), ⌊x⌋ to floor(Int, x), and ⌈x⌉ to ceil(Int, x). If the change is not difficult, I can make a pr :stuck\_out\_tongue:

---

## [1.0 annoyances and Matlab comparison](https://discourse.julialang.org/t/1-0-annoyances-and-matlab-comparison/9433)

<div class="topic-metadata">

**Author:** [@Seif\_Shebl](https://discourse.julialang.org/u/Seif_Shebl)\
**Replies:** 148\
**Last updated:** [June 22, 2018, 11:02am UTC](https://discourse.julialang.org/t/1-0-annoyances-and-matlab-comparison/9433 "2018-06-22T11:02:09Z")

</div>

I think Julia is advancing very great, not too slow and not too fast. I imagine that people can wait for some more time for the language to stabilize. Julia is a genuine scientific computing language, not just an extensi…

---

## [Is master converging to v0.7?](https://discourse.julialang.org/t/is-master-converging-to-v0-7/11840)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 1\
**Last updated:** [June 21, 2018, 7:59am UTC](https://discourse.julialang.org/t/is-master-converging-to-v0-7/11840 "2018-06-21T07:59:05Z")

</div>

Since v0.7.0-alpha, master has seen quite a bit of activity. For someone who is preparing for v0.7 (migrating packages, or just checking things out), does it make sense to follow master at the moment, up until the relea…

---

## [Thread Local Storage in Julia](https://discourse.julialang.org/t/thread-local-storage-in-julia/11765)

<div class="topic-metadata">

**Author:** [@Gaetano](https://discourse.julialang.org/u/Gaetano)\
**Replies:** 5\
**Last updated:** [June 20, 2018, 10:30pm UTC](https://discourse.julialang.org/t/thread-local-storage-in-julia/11765 "2018-06-20T22:30:06Z")

</div>

Lately I begin to tackle the RNG thread safety issue, you can find the full story here. After a couple of uncessfull attempts, I have check out how Rust has implemented a multi-thread RNG generator. It functions in a Lo…

---

## [Trouble with Pkg3](https://discourse.julialang.org/t/trouble-with-pkg3/11834)

<div class="topic-metadata">

**Author:** [@00vareladavid](https://discourse.julialang.org/u/00vareladavid)\
**Replies:** 4\
**Last updated:** [June 20, 2018, 9:39pm UTC](https://discourse.julialang.org/t/trouble-with-pkg3/11834 "2018-06-20T21:39:43Z")

</div>

I’m trying to add support for a package which is still using the REQUIRE file. I’ve been following this documentation. I added a Project.toml file. The Project.toml file has a line under \[deps\] which says Compat = \<som…

---

## [Fantastic progress in master branch!](https://discourse.julialang.org/t/fantastic-progress-in-master-branch/6868)

<div class="topic-metadata">

**Author:** [@pablosanjose](https://discourse.julialang.org/u/pablosanjose)\
**Replies:** 36\
**Last updated:** [June 20, 2018, 8:33pm UTC](https://discourse.julialang.org/t/fantastic-progress-in-master-branch/6868 "2018-06-20T20:33:31Z")

</div>

I’ve recently switched to the v0.7 master branch from v0.6 for the development of a computation-heavy package I’m making, and I am very impressed! The transition was really easy. I essentially had to adapt the way I was …

---

## [Why does eigvals(::Number) return a vector?](https://discourse.julialang.org/t/why-does-eigvals-number-return-a-vector/11731)

<div class="topic-metadata">

**Author:** [@Per](https://discourse.julialang.org/u/Per)\
**Replies:** 5\
**Last updated:** [June 20, 2018, 12:34pm UTC](https://discourse.julialang.org/t/why-does-eigvals-number-return-a-vector/11731 "2018-06-20T12:34:07Z")

</div>

Is there a reason why eigvals returns a vector of length 1 instead of a scalar when given a scalar input? For example: typeof(eigvals(1.0)) == Array{Float64,1}. It seems a bit inconsistent compared to svdvals which ret…

---

## [What is Julia 0.7? How does it relate to 1.0?](https://discourse.julialang.org/t/what-is-julia-0-7-how-does-it-relate-to-1-0/9994)

<div class="topic-metadata">

**Author:** [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Replies:** 6\
**Last updated:** [June 17, 2018, 10:28am UTC](https://discourse.julialang.org/t/what-is-julia-0-7-how-does-it-relate-to-1-0/9994 "2018-06-17T10:28:01Z")

</div>

I thought we’d communicated this adequately and clearly, but there were some questions on Slack about what Julia 0.7 is and how it relates to 1.0, so it seems that this could use some official clarification: Julia 0.7 …

---

## [Add a 2-arg flavor, argmax(f, domain)](https://discourse.julialang.org/t/add-a-2-arg-flavor-argmax-f-domain/11720)

<div class="topic-metadata">

**Author:** [@Drew\_Robson](https://discourse.julialang.org/u/Drew_Robson)\
**Replies:** 4\
**Last updated:** [June 16, 2018, 5:40pm UTC](https://discourse.julialang.org/t/add-a-2-arg-flavor-argmax-f-domain/11720 "2018-06-16T17:40:47Z")

</div>

With the rename to argmax, and dims now a kwarg, it seems very tempting to me to define a 2-arg flavor, argmax(f, domain). This would be equivalent to x\[argmax(f(x) for x=x)\] but argmax(f, x) is just so nice. Here, x co…

---

## [Since maximum(itr) supports generators, argmax(itr) should too](https://discourse.julialang.org/t/since-maximum-itr-supports-generators-argmax-itr-should-too/11719)

<div class="topic-metadata">

**Author:** [@Drew\_Robson](https://discourse.julialang.org/u/Drew_Robson)\
**Replies:** 2\
**Last updated:** [June 16, 2018, 5:20pm UTC](https://discourse.julialang.org/t/since-maximum-itr-supports-generators-argmax-itr-should-too/11719 "2018-06-16T17:20:26Z")

</div>

I noticed that maximum(i for i = 1:10) works but argmax(i for i=1:10) does not. Any reason for the inconsistency? Right now, I work around this by writing argmax(\[i for i=1:10\]), but I think supporting the generator syn…

---

## [Registries that update automatically](https://discourse.julialang.org/t/registries-that-update-automatically/11714)

<div class="topic-metadata">

**Author:** [@Nosferican](https://discourse.julialang.org/u/Nosferican)\
**Replies:** 4\
**Last updated:** [June 16, 2018, 10:06am UTC](https://discourse.julialang.org/t/registries-that-update-automatically/11714 "2018-06-16T10:06:06Z")

</div>

The current process to update a registry is to submit a pull request for tagging a new release. However, given a git repository, at least with Github, one could systematically create/update all the package information (i…

---

## [Possible bug in unique/Set](https://discourse.julialang.org/t/possible-bug-in-unique-set/5371)

<div class="topic-metadata">

**Author:** [@CrashBurnRepeat](https://discourse.julialang.org/u/CrashBurnRepeat)\
**Replies:** 49\
**Last updated:** [June 15, 2018, 11:30am UTC](https://discourse.julialang.org/t/possible-bug-in-unique-set/5371 "2018-06-15T11:30:29Z")

</div>

I’ve been using unique as part of code that does partial fractional decomposition. Because of the numerical nature of the problem, I sometimes get arrays like: 4-element Array{Complex{Float64},1}: 1.0-0.0im 1.0+0.0im …

---

## [Badges for packages](https://discourse.julialang.org/t/badges-for-packages/11467)

<div class="topic-metadata">

**Author:** [@ScottPJones](https://discourse.julialang.org/u/ScottPJones)\
**Replies:** 22\
**Last updated:** [June 13, 2018, 5:37pm UTC](https://discourse.julialang.org/t/badges-for-packages/11467 "2018-06-13T17:37:33Z")

</div>

I’d like to be able to show build/coverage/latest release, etc. in the README.md for the packages in JuliaString, with detailed information in the README.md of each package, and a kind of dashboard in the Strs.jl package…

---

## [Combining two using statements is 2.5X slower than separate statements](https://discourse.julialang.org/t/combining-two-using-statements-is-2-5x-slower-than-separate-statements/11629)

<div class="topic-metadata">

**Author:** [@Drew\_Robson](https://discourse.julialang.org/u/Drew_Robson)\
**Replies:** 3\
**Last updated:** [June 13, 2018, 2:30am UTC](https://discourse.julialang.org/t/combining-two-using-statements-is-2-5x-slower-than-separate-statements/11629 "2018-06-13T02:30:16Z")

</div>

If I load two packages (CuArrays and PyPlot) with a single using statement, it takes roughly 2.5X longer than the total time of the two using statements separately. Not sure if this is a known issue, or if the cause i…

---

## [Using \`~/.julia/dev\` for local packages in v0.7](https://discourse.julialang.org/t/using-julia-dev-for-local-packages-in-v0-7/11648)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 1\
**Last updated:** [June 13, 2018, 2:47pm UTC](https://discourse.julialang.org/t/using-julia-dev-for-local-packages-in-v0-7/11648 "2018-06-13T14:47:41Z")

</div>

I have some “local” packages, some of which are not even on Github, WIP. My current setup just has them in a directory which I put in LOAD\_PATH; mainly so that they don’t mix with packages in ~/julia/v0.6. Now I want to…

---

## [Issues building Julia 0.7 with Intel MKL on macOS](https://discourse.julialang.org/t/issues-building-julia-0-7-with-intel-mkl-on-macos/10159)

<div class="topic-metadata">

**Author:** [@pablosanjose](https://discourse.julialang.org/u/pablosanjose)\
**Replies:** 13\
**Last updated:** [June 13, 2018, 12:03pm UTC](https://discourse.julialang.org/t/issues-building-julia-0-7-with-intel-mkl-on-macos/10159 "2018-06-13T12:03:11Z")

</div>

I see quite a few people were successful building Julia 0.7 using the Intel MKL on Linux. I have tried the same on macOS many times with many variations and pursued many threads, but never managed to do it. I suspect the…

---

## [Where to pick up latest Julia](https://discourse.julialang.org/t/where-to-pick-up-latest-julia/11631)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 2\
**Last updated:** [June 13, 2018, 4:12am UTC](https://discourse.julialang.org/t/where-to-pick-up-latest-julia/11631 "2018-06-13T04:12:44Z")

</div>

Where would one pickup the latest Julia? Are updates to 0.7-alpha posted as the nightlies? Travis runs 06/10 versions, but the Windows test version of Julia seems to be stuck at 05/31.…

---

## [Clarify parametric new](https://discourse.julialang.org/t/clarify-parametric-new/11608)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 1\
**Last updated:** [June 12, 2018, 4:56pm UTC](https://discourse.julialang.org/t/clarify-parametric-new/11608 "2018-06-12T16:56:17Z")

</div>

Documentation on the parametric form of new{} is pretty scarce. This section says new{T,S} can be used in any constructor definition, but for convenience the parameters to new{} are automatically derived from the type …

---

## [Vararg not always recognized as a type](https://discourse.julialang.org/t/vararg-not-always-recognized-as-a-type/11558)

<div class="topic-metadata">

**Author:** [@benninkrs](https://discourse.julialang.org/u/benninkrs)\
**Replies:** 2\
**Last updated:** [June 12, 2018, 4:47pm UTC](https://discourse.julialang.org/t/vararg-not-always-recognized-as-a-type/11558 "2018-06-12T16:47:35Z")

</div>

We have julia\> Vararg isa Type true Since the manual states that every type T is an instance of Type{T}, I find this unexpected: julia\> Vararg isa Type{Vararg} ERROR: TypeError: in Type, in parameter, expected Type, g…

---

## [Problem with reassignment of uuid when a package is registered](https://discourse.julialang.org/t/problem-with-reassignment-of-uuid-when-a-package-is-registered/11422)

<div class="topic-metadata">

**Author:** [@ScottPJones](https://discourse.julialang.org/u/ScottPJones)\
**Replies:** 28\
**Last updated:** [June 10, 2018, 10:31pm UTC](https://discourse.julialang.org/t/problem-with-reassignment-of-uuid-when-a-package-is-registered/11422 "2018-06-10T22:31:41Z")

</div>

When a package is registered for the first time, it looks like there is a bug where the uuid in the Project.toml file is not respected, and a new uuid is placed in the JuliaRegistry/Uncurated.jl repo, which breaks any fo…

---

## [Making and using alternate or additional registries with new Pkg](https://discourse.julialang.org/t/making-and-using-alternate-or-additional-registries-with-new-pkg/11501)

<div class="topic-metadata">

**Author:** [@ScottPJones](https://discourse.julialang.org/u/ScottPJones)\
**Replies:** 6\
**Last updated:** [June 8, 2018, 3:22pm UTC](https://discourse.julialang.org/t/making-and-using-alternate-or-additional-registries-with-new-pkg/11501 "2018-06-08T15:22:53Z")

</div>

I’d like to create a curated registry for string related packages for v0.7/v1.0, including most of the packages in JuliaString (leaving out a few that are only there for pre v0.6 compatibility such as ICU.jl, StringUtils…

---

## [Defining a pattern for Julia tarball directory](https://discourse.julialang.org/t/defining-a-pattern-for-julia-tarball-directory/11353)

<div class="topic-metadata">

**Author:** [@Ronis\_BR](https://discourse.julialang.org/u/Ronis_BR)\
**Replies:** 3\
**Last updated:** [June 7, 2018, 8:22pm UTC](https://discourse.julialang.org/t/defining-a-pattern-for-julia-tarball-directory/11353 "2018-06-07T20:22:06Z")

</div>

Hi guys! Is it possible to define a pattern for the Julia tarball directory? For example, Julia v0.6.2 is unpacked to ./julia-0.6.2 whereas Julia v0.6.3 is unpacked to ./julia. Hence, I need to fine tune the .spec file …

---

## [Add Revise fails](https://discourse.julialang.org/t/add-revise-fails/11503)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 5\
**Last updated:** [June 7, 2018, 3:29pm UTC](https://discourse.julialang.org/t/add-revise-fails/11503 "2018-06-07T15:29:12Z")

</div>

I am just trying out Pkg(3), and I am somewhat confused because I expected this to work: julia\> VERSION v"0.7.0-alpha.20" (v0.7) pkg\> up Resolving package versions... (v0.7) pkg\> add Revise ERROR: The following packa…

---

## [Blas version on MacOS ](https://discourse.julialang.org/t/blas-version-on-macos/11468)

<div class="topic-metadata">

**Author:** [@jcrbloch](https://discourse.julialang.org/u/jcrbloch)\
**Replies:** 2\
**Last updated:** [June 7, 2018, 1:33pm UTC](https://discourse.julialang.org/t/blas-version-on-macos/11468 "2018-06-07T13:33:49Z")

</div>

Does anyone knows if julia is using the optimized Blas library provided by MacOS, which is linked by using the accelerate framework. A call to versioninfo() tells me that libopenblas is used, which is probably not the m…

---

## [Low memory environment](https://discourse.julialang.org/t/low-memory-environment/11474)

<div class="topic-metadata">

**Author:** [@gdkrmr](https://discourse.julialang.org/u/gdkrmr)\
**Replies:** 4\
**Last updated:** [June 7, 2018, 12:43pm UTC](https://discourse.julialang.org/t/low-memory-environment/11474 "2018-06-07T12:43:31Z")

</div>

I have an old netbook running Lubuntu with an atom dual core cpu and 1GB of RAM and 1GB of swap. Last week I tried compiling 0.7 alpha on it and everything went fine (although really really really slow, ~10x compared to …

---

## [Suggestion: Add link to Pkg (perhaps some others?) to issue template](https://discourse.julialang.org/t/suggestion-add-link-to-pkg-perhaps-some-others-to-issue-template/11488)

<div class="topic-metadata">

**Author:** [@jgoldfar](https://discourse.julialang.org/u/jgoldfar)\
**Replies:** 0\
**Last updated:** [June 6, 2018, 9:16pm UTC](https://discourse.julialang.org/t/suggestion-add-link-to-pkg-perhaps-some-others-to-issue-template/11488 "2018-06-06T21:16:01Z")

</div>

Since the development of some standard library packages (for now, just Pkg, but soon StatsBase?) is moving out of the core Julia repo, adding links to those repositories with a message about what issues may be applicable…

---

## [Features I would like for Julia Package Manager to Provide](https://discourse.julialang.org/t/features-i-would-like-for-julia-package-manager-to-provide/11427)

<div class="topic-metadata">

**Author:** [@Nosferican](https://discourse.julialang.org/u/Nosferican)\
**Replies:** 7\
**Last updated:** [June 5, 2018, 1:46pm UTC](https://discourse.julialang.org/t/features-i-would-like-for-julia-package-manager-to-provide/11427 "2018-06-05T13:46:50Z")

</div>

As part of my research I have been exposed to many package management systems for various languages and wanted to share some cool features I think would greatly benefit Julia. Some of the features are in the works with t…

[Previous page](https://discourse.julialang.org/c/dev/5.md?page=57)

[Next page](https://discourse.julialang.org/c/dev/5.md?page=59)
