# Internals & Design

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

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

**Page:** 57

---

## [Pkg3 plan and status](https://discourse.julialang.org/t/pkg3-plan-and-status/9763)

<div class="topic-metadata">

**Author:** [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Replies:** 72\
**Last updated:** [August 14, 2018, 9:18am UTC](https://discourse.julialang.org/t/pkg3-plan-and-status/9763 "2018-08-14T09:18:21Z")

</div>

The new Pkg3 package manager is now in Base and fairly feature complete, although still somewhat sparsely documented. I’m working on the latter and @kristoffer.carlsson and others have been doing truly epic work on addin…

---

## [Pairs in for loops?](https://discourse.julialang.org/t/pairs-in-for-loops/12895)

<div class="topic-metadata">

**Author:** [@mlhetland](https://discourse.julialang.org/u/mlhetland)\
**Replies:** 8\
**Last updated:** [August 14, 2018, 8:25am UTC](https://discourse.julialang.org/t/pairs-in-for-loops/12895 "2018-08-14T08:25:30Z")

</div>

I see x =\> y-style pairs pop up in new places (e.g., in replace), which can help clarify intent, and the roles of different arguments/variables, among other things. I was representing a binary relation as a set of pairs,…

---

## [Where does Pkg(3) find version numbers?](https://discourse.julialang.org/t/where-does-pkg-3-find-version-numbers/12330)

<div class="topic-metadata">

**Author:** [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Replies:** 19\
**Last updated:** [August 14, 2018, 12:02am UTC](https://discourse.julialang.org/t/where-does-pkg-3-find-version-numbers/12330 "2018-08-14T00:02:22Z")

</div>

I am trying to install… or register, or record a package with a particular version number via (v0.7) pkg\> dev packagepath, but am unable to do this. The package is LambertW, which is registered. Pkg will only add it to P…

---

## [Julia 0.7 pemanently call to use modules](https://discourse.julialang.org/t/julia-0-7-pemanently-call-to-use-modules/13355)

<div class="topic-metadata">

**Author:** [@programista](https://discourse.julialang.org/u/programista)\
**Replies:** 1\
**Last updated:** [August 13, 2018, 10:34am UTC](https://discourse.julialang.org/t/julia-0-7-pemanently-call-to-use-modules/13355 "2018-08-13T10:34:42Z")

</div>

Julia 0.7 pemanently call to use modules julia\> string(Date(now())) WARNING: Base.now is deprecated: it has been moved to the standard library package \`Dates\`. Add \`using Dates\` to your imports. in module Main "2018-08…

---

## [Updating Package to 0.7 and issue with Libdl](https://discourse.julialang.org/t/updating-package-to-0-7-and-issue-with-libdl/12071)

<div class="topic-metadata">

**Author:** [@pazzo83](https://discourse.julialang.org/u/pazzo83)\
**Replies:** 7\
**Last updated:** [August 13, 2018, 7:09am UTC](https://discourse.julialang.org/t/updating-package-to-0-7-and-issue-with-libdl/12071 "2018-08-13T07:09:57Z")

</div>

Hi all, I am trying to update some of the Mongo related packages, specifically the LibBSON one, and I am pretty confused as to how to deal with importing packages into my julia environment. I have added the package from…

---

## [What does tuple splatting do?](https://discourse.julialang.org/t/what-does-tuple-splatting-do/13307)

<div class="topic-metadata">

**Author:** [@blegat](https://discourse.julialang.org/u/blegat)\
**Replies:** 1\
**Last updated:** [August 12, 2018, 5:12pm UTC](https://discourse.julialang.org/t/what-does-tuple-splatting-do/13307 "2018-08-12T17:12:17Z")

</div>

If t is a tuple of 2 elements of type A and B, what does a, b = t do ? Is it equivalent to a = t\[1\] b = t\[2\] or does it do something else ? While updating Polyhedra to Julia v0.7, I hit a weird issue where a and b h…

---

## [3 Julia Packages need a new home](https://discourse.julialang.org/t/3-julia-packages-need-a-new-home/12956)

<div class="topic-metadata">

**Author:** [@zznop](https://discourse.julialang.org/u/zznop)\
**Replies:** 9\
**Last updated:** [August 11, 2018, 5:10pm UTC](https://discourse.julialang.org/t/3-julia-packages-need-a-new-home/12956 "2018-08-11T17:10:20Z")

</div>

I’m looking to transfer ownership of three Julia package GitHub repositories. I have not written any Julia in a couple years and have no desire to continue to maintain them. Please let me know if you are interested in ta…

---

## [Trouble with downloading julia in appveyor build](https://discourse.julialang.org/t/trouble-with-downloading-julia-in-appveyor-build/13241)

<div class="topic-metadata">

**Author:** [@chakravala](https://discourse.julialang.org/u/chakravala)\
**Replies:** 2\
**Last updated:** [August 11, 2018, 4:02pm UTC](https://discourse.julialang.org/t/trouble-with-downloading-julia-in-appveyor-build/13241 "2018-08-11T16:02:08Z")

</div>

Could anyone help me figure out what’s the cause of this appveyor build failure? It seems that the script can’t download the julia binaries, yet the same exact script has worked fine for other packages. https://ci.appve…

---

## [Travs failing in 0.5 without changes to code](https://discourse.julialang.org/t/travs-failing-in-0-5-without-changes-to-code/13239)

<div class="topic-metadata">

**Author:** [@waldyrious](https://discourse.julialang.org/u/waldyrious)\
**Replies:** 1\
**Last updated:** [August 11, 2018, 12:51pm UTC](https://discourse.julialang.org/t/travs-failing-in-0-5-without-changes-to-code/13239 "2018-08-11T12:51:44Z")

</div>

I would be fine dropping support for 0.5 altogether but the error seems to be unrelated to the package code: The error appears to be in cloning the METADATA repo: $ julia --color=yes -e "VERSION &gt;= v\\"0.7.0-DEV.51…

---

## [Tuple vs tuple](https://discourse.julialang.org/t/tuple-vs-tuple/12976)

<div class="topic-metadata">

**Author:** [@Raf](https://discourse.julialang.org/u/Raf)\
**Replies:** 7\
**Last updated:** [August 11, 2018, 1:17am UTC](https://discourse.julialang.org/t/tuple-vs-tuple/12976 "2018-08-11T01:17:11Z")

</div>

What is the rationale for Tuple() not working as a constructor as a struct type would? It’s fine to use tuple() instead for general purposes, but it messes with the pattern of using types as general constructors when wo…

---

## [Julia 0.7.0: Random Messages in REPL](https://discourse.julialang.org/t/julia-0-7-0-random-messages-in-repl/13113)

<div class="topic-metadata">

**Author:** [@v-i-s-h](https://discourse.julialang.org/u/v-i-s-h)\
**Replies:** 3\
**Last updated:** [August 10, 2018, 4:24pm UTC](https://discourse.julialang.org/t/julia-0-7-0-random-messages-in-repl/13113 "2018-08-10T16:24:19Z")

</div>

Hi, I updated to Julia 0.7.0 and is seeing some random debug kind-of messages in REPL. They don’t occur often. If I keep the REPL open for a few hours, these messages appear (randomly). $ julia \_ \_ …

---

## ['object' 'instance' language mix in documentation is confusing](https://discourse.julialang.org/t/object-instance-language-mix-in-documentation-is-confusing/12935)

<div class="topic-metadata">

**Author:** [@Antigonus](https://discourse.julialang.org/u/Antigonus)\
**Replies:** 11\
**Last updated:** [August 10, 2018, 12:48pm UTC](https://discourse.julialang.org/t/object-instance-language-mix-in-documentation-is-confusing/12935 "2018-08-10T12:48:02Z")

</div>

Hello … a small suggestion. I suggest that instead of calling Julia instances ‘objects’, that instead they be consistently called ‘instances’ in the documention. The explanation about how objects are different, and usi…

---

## [New function \`convert!\`?](https://discourse.julialang.org/t/new-function-convert/13023)

<div class="topic-metadata">

**Author:** [@strickek](https://discourse.julialang.org/u/strickek)\
**Replies:** 2\
**Last updated:** [August 8, 2018, 2:07pm UTC](https://discourse.julialang.org/t/new-function-convert/13023 "2018-08-08T14:07:54Z")

</div>

I just played a little around with push and pop and push! and pop! in the new RC for Julia 1.0. Is there a reasion, why convert! is not implemented?

---

## [Work on deprecations/language changes in Julia development and Compat](https://discourse.julialang.org/t/work-on-deprecations-language-changes-in-julia-development-and-compat/12962)

<div class="topic-metadata">

**Author:** [@lobingera](https://discourse.julialang.org/u/lobingera)\
**Replies:** 7\
**Last updated:** [August 7, 2018, 5:05pm UTC](https://discourse.julialang.org/t/work-on-deprecations-language-changes-in-julia-development-and-compat/12962 "2018-08-07T17:05:57Z")

</div>

Just for my curiosity: How is actually Compat synchronised with language changes / deprecations in Julia? I followed twice today the recommendation in the deprecation warning (like replace this( with that( ) and later on…

---

## [On adjoints and custom postfix and infix operators](https://discourse.julialang.org/t/on-adjoints-and-custom-postfix-and-infix-operators/12863)

<div class="topic-metadata">

**Author:** [@Per](https://discourse.julialang.org/u/Per)\
**Replies:** 67\
**Last updated:** [August 7, 2018, 12:30pm UTC](https://discourse.julialang.org/t/on-adjoints-and-custom-postfix-and-infix-operators/12863 "2018-08-07T12:30:06Z")

</div>

Why hard-coded f' = adjoint(f) is annoying? Is there any example for this? I’d like ' to be a post-fix operator that maps f' to '(f) where Base.:'(x::AbstractMatrix) = adjoint(x) and the user is free to add other met…

---

## [Upgrade to 0.7: Issue with Mmap](https://discourse.julialang.org/t/upgrade-to-0-7-issue-with-mmap/12965)

<div class="topic-metadata">

**Author:** [@tobias.knopp](https://discourse.julialang.org/u/tobias.knopp)\
**Replies:** 1\
**Last updated:** [August 7, 2018, 12:09am UTC](https://discourse.julialang.org/t/upgrade-to-0-7-issue-with-mmap/12965 "2018-08-07T00:09:48Z")

</div>

Hi, I am trying getting my package 0.7 ready an ran into this issue: The issue is that Julia arrays need to have a certain alignment, which mmaped arrays cannot provide. The issue was also raised here: mmap with arb…

---

## [Pkg(3): develop package which depends on local/unregistered package](https://discourse.julialang.org/t/pkg-3-develop-package-which-depends-on-local-unregistered-package/12164)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 23\
**Last updated:** [August 6, 2018, 8:24pm UTC](https://discourse.julialang.org/t/pkg-3-develop-package-which-depends-on-local-unregistered-package/12164 "2018-08-06T20:24:26Z")

</div>

I have two unregistered packages, one depends on the other. Both have REQUIRE, neither have a Project.toml. I thought the workflow was to add them with develop, but (v0.7) pkg\> develop ~/src/julia-local-packages/Transfo…

---

## [getpid(p::Process) - which julia version will come with this feature?](https://discourse.julialang.org/t/getpid-p-process-which-julia-version-will-come-with-this-feature/12717)

<div class="topic-metadata">

**Author:** [@oniter](https://discourse.julialang.org/u/oniter)\
**Replies:** 10\
**Last updated:** [August 5, 2018, 12:12pm UTC](https://discourse.julialang.org/t/getpid-p-process-which-julia-version-will-come-with-this-feature/12717 "2018-08-05T12:12:38Z")

</div>

Hi there, I found that open topic/request \`getpid(p::Process)\` should exist · Issue #4752 · JuliaLang/julia · GitHub and I ask me and now you which julia version will support this feature? Thx for reading.

---

## [Inconsistency of line continuation after comma in script vs REPL](https://discourse.julialang.org/t/inconsistency-of-line-continuation-after-comma-in-script-vs-repl/12884)

<div class="topic-metadata">

**Author:** [@bkamins](https://discourse.julialang.org/u/bkamins)\
**Replies:** 0\
**Last updated:** [August 4, 2018, 7:50am UTC](https://discourse.julialang.org/t/inconsistency-of-line-continuation-after-comma-in-script-vs-repl/12884 "2018-08-04T07:50:53Z")

</div>

I have the following code: x = 1, 2 And now: If I save it to a file and execute then x is a tuple (1,2). If I copy-paste it to REPL then x is a tuple (1,). However, if I wrap the expression in the code block, e.g. b…

---

## [Selectperm bug or wrong documentation?](https://discourse.julialang.org/t/selectperm-bug-or-wrong-documentation/12852)

<div class="topic-metadata">

**Author:** [@Wikunia](https://discourse.julialang.org/u/Wikunia)\
**Replies:** 2\
**Last updated:** [August 3, 2018, 12:57pm UTC](https://discourse.julialang.org/t/selectperm-bug-or-wrong-documentation/12852 "2018-08-03T12:57:31Z")

</div>

I think the behavior of selectperm does not fully match the documentation: Link to documentation: If I have the array a = \[4,3,2,1\] and use selectperm(a,2) I can read this part: If k is a single index (Integer), an …

---

## [Runtime disable deprecation warnings](https://discourse.julialang.org/t/runtime-disable-deprecation-warnings/12820)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 0\
**Last updated:** [August 2, 2018, 11:35am UTC](https://discourse.julialang.org/t/runtime-disable-deprecation-warnings/12820 "2018-08-02T11:35:04Z")

</div>

Is there a way to disable, then subsequently enable deprecation warnings runtime? Or equivalently, manipulating the depwarn fields in the runtime options. I found that JLOptions() just returns an immutable struct, but I …

---

## [Enough deprecations!](https://discourse.julialang.org/t/enough-deprecations/12721)

<div class="topic-metadata">

**Author:** [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Replies:** 24\
**Last updated:** [August 1, 2018, 4:26am UTC](https://discourse.julialang.org/t/enough-deprecations/12721 "2018-08-01T04:26:01Z")

</div>

Why are we even considering adding new deprecations like Rename srand to Random.seed! by MoonCoral · Pull Request #28295 · JuliaLang/julia · GitHub on the eve of rc1, weeks into the upgradathon and long after the beta re…

---

## [Escaped line breaks in (e.g.) @enum?](https://discourse.julialang.org/t/escaped-line-breaks-in-e-g-enum/12650)

<div class="topic-metadata">

**Author:** [@mlhetland](https://discourse.julialang.org/u/mlhetland)\
**Replies:** 3\
**Last updated:** [July 27, 2018, 6:41am UTC](https://discourse.julialang.org/t/escaped-line-breaks-in-e-g-enum/12650 "2018-07-27T06:41:37Z")

</div>

Might it be useful to permit (i.e., interpret/discard) escaped newlines in macros such as @enum? I know one can already use begin/end, but if the enum members are just a bit over a single line, it might be useful to writ…

---

## [Julia Threads vs BLAS threads](https://discourse.julialang.org/t/julia-threads-vs-blas-threads/8914)

<div class="topic-metadata">

**Author:** [@juthohaegeman](https://discourse.julialang.org/u/juthohaegeman)\
**Replies:** 16\
**Last updated:** [July 26, 2018, 7:29am UTC](https://discourse.julialang.org/t/julia-threads-vs-blas-threads/8914 "2018-07-26T07:29:58Z")

</div>

I am experimenting with Julia’s (experimental) multithreading feature recently and like the results so far. One of the problems I need to deal with, involves the multiplication of several pairs (say in the order 5 to 50)…

---

## [Git workflow to upgrade packages to 0.7](https://discourse.julialang.org/t/git-workflow-to-upgrade-packages-to-0-7/12409)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 7\
**Last updated:** [July 26, 2018, 4:20am UTC](https://discourse.julialang.org/t/git-workflow-to-upgrade-packages-to-0-7/12409 "2018-07-26T04:20:55Z")

</div>

Hello, could someone reference to some standard instructions on the suggested workflow to upgrade packages to 0.7, especially for those not too practical in git ? Currently I have my packages in 0.6 and trying to remove…

---

## [Possibility to check \`∈\` and \`∉\` in the \`===\` sense](https://discourse.julialang.org/t/possibility-to-check-and-in-the-sense/12630)

<div class="topic-metadata">

**Author:** [@lucatrv](https://discourse.julialang.org/u/lucatrv)\
**Replies:** 5\
**Last updated:** [July 24, 2018, 5:20pm UTC](https://discourse.julialang.org/t/possibility-to-check-and-in-the-sense/12630 "2018-07-24T17:20:26Z")

</div>

As reported in the Julia documentation, the in, ∈, ∋, ∉, ∌ functions “determine whether an item is in the given collection, in the sense that it is == to one of the values generated by iterating over the collection”. I …

---

## [Differences in rand between v0.6 and v0.7](https://discourse.julialang.org/t/differences-in-rand-between-v0-6-and-v0-7/12477)

<div class="topic-metadata">

**Author:** [@danspielman](https://discourse.julialang.org/u/danspielman)\
**Replies:** 2\
**Last updated:** [July 24, 2018, 2:46pm UTC](https://discourse.julialang.org/t/differences-in-rand-between-v0-6-and-v0-7/12477 "2018-07-24T14:46:57Z")

</div>

There seem to be some differences between what rand produces in Julia 0.6 and 0.7. Is there any standard way to obtain the behavior of rand from Julia 0.6 in 0.7 ? For example, in Julia 0.6.4: julia\> srand(1); rand(1:…

---

## [Fields with abstract types in Base and StdLib](https://discourse.julialang.org/t/fields-with-abstract-types-in-base-and-stdlib/12634)

<div class="topic-metadata">

**Author:** [@Diego\_Javier\_Zea](https://discourse.julialang.org/u/Diego_Javier_Zea)\
**Replies:** 0\
**Last updated:** [July 24, 2018, 1:26pm UTC](https://discourse.julialang.org/t/fields-with-abstract-types-in-base-and-stdlib/12634 "2018-07-24T13:26:01Z")

</div>

Hi! eachline was slow because the EachLine stream field has the abstract type IO and it can be solved by using a type parameter for stream in EachLine. So, I looked for other structures in Base and StdLib (Julia 0.7.0-b…

---

## [Julia v0.7: performance regression with terminal printout and/or \`UnicodePlots\`](https://discourse.julialang.org/t/julia-v0-7-performance-regression-with-terminal-printout-and-or-unicodeplots/12581)

<div class="topic-metadata">

**Author:** [@lucatrv](https://discourse.julialang.org/u/lucatrv)\
**Replies:** 7\
**Last updated:** [July 23, 2018, 10:45am UTC](https://discourse.julialang.org/t/julia-v0-7-performance-regression-with-terminal-printout-and-or-unicodeplots/12581 "2018-07-23T10:45:12Z")

</div>

I verified this issue both on Windows 7 and Linux. Printout of a UnicodePlots plot is much slower with Julia Nightly than with Julia v0.6. Not sure if the issue is with terminal printout in general, or with UnicodePlots …

---

## [Creating an Array{Array{UInt8}} in C](https://discourse.julialang.org/t/creating-an-array-array-uint8-in-c/12552)

<div class="topic-metadata">

**Author:** [@gdkrmr](https://discourse.julialang.org/u/gdkrmr)\
**Replies:** 4\
**Last updated:** [July 21, 2018, 4:58pm UTC](https://discourse.julialang.org/t/creating-an-array-array-uint8-in-c/12552 "2018-07-21T16:58:05Z")

</div>

I want to create an Array{Array{UInt8}} in C and wondered if I got all the garbage collection and write barriers right. The code below compiles and works. #include \<julia.h\> extern "C" { jl\_value\_t\* test\_array\_array(…

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

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