# Internals & Design

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

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

**Page:** 71

---

## [Printing changelog upon package updates](https://discourse.julialang.org/t/printing-changelog-upon-package-updates/4519)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 2\
**Last updated:** [June 28, 2017, 4:11pm UTC](https://discourse.julialang.org/t/printing-changelog-upon-package-updates/4519 "2017-06-28T16:11:50Z")

</div>

One of the nicest things about developing Julia packages is the fact that we can deploy new releases with attobot with a single click on GitHub. What I would like to propose is some sort of mechanism that prints the chan…

---

## [Interaction of world age counter with multiple processes?](https://discourse.julialang.org/t/interaction-of-world-age-counter-with-multiple-processes/4488)

<div class="topic-metadata">

**Author:** [@Dan](https://discourse.julialang.org/u/Dan)\
**Replies:** 1\
**Last updated:** [June 28, 2017, 6:44am UTC](https://discourse.julialang.org/t/interaction-of-world-age-counter-with-multiple-processes/4488 "2017-06-28T06:44:46Z")

</div>

Hi Developers, The world age counter brought me to a new age in the REPL where redefinitions can be made like a human without keeping a DAG in one’s head of dependent functions. +1 for that. But with multiple processes…

---

## [Shape() & beginswith()](https://discourse.julialang.org/t/shape-beginswith/4315)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 5\
**Last updated:** [June 19, 2017, 9:18pm UTC](https://discourse.julialang.org/t/shape-beginswith/4315 "2017-06-19T21:18:20Z")

</div>

i’d like to propose two syntax changes, which i wonder whether have been discussed before. i don’t really hold any realistic hope that the proposed changes will be made due to the entrenched usage of the existing syntax…

---

## [Module argument to jl\_new\_datatype](https://discourse.julialang.org/t/module-argument-to-jl-new-datatype/4316)

<div class="topic-metadata">

**Author:** [@barche](https://discourse.julialang.org/u/barche)\
**Replies:** 2\
**Last updated:** [June 19, 2017, 7:10am UTC](https://discourse.julialang.org/t/module-argument-to-jl-new-datatype/4316 "2017-06-19T07:10:46Z")

</div>

The jl\_new\_datatype function appears to have gained a module argument since this commit: https://github.com/JuliaLang/julia/commit/3c3ced4153cdc2c75319b41155c38ad1f2545fc2#diff-67021262df1246d0b5756f73b92eb69f Does thi…

---

## [ERROR: could not load library "libumfpack"](https://discourse.julialang.org/t/error-could-not-load-library-libumfpack/4100)

<div class="topic-metadata">

**Author:** [@Martin\_Florek](https://discourse.julialang.org/u/Martin_Florek)\
**Replies:** 1\
**Last updated:** [June 16, 2017, 7:11pm UTC](https://discourse.julialang.org/t/error-could-not-load-library-libumfpack/4100 "2017-06-16T19:11:10Z")

</div>

Today I went after a long time compiling the DLL and got the following error. ... dates/Dates.jl sparse/sparse.jl LoadError("sysimg.jl",344,LoadError("sparse/sparse.jl",42,LoadError("sparse\\\\umfpack.jl",75,ErrorExceptio…

---

## [Getting a view of files under src/ for a particular JL\_LLVM\_VERSION](https://discourse.julialang.org/t/getting-a-view-of-files-under-src-for-a-particular-jl-llvm-version/4291)

<div class="topic-metadata">

**Author:** [@singam-sanjay](https://discourse.julialang.org/u/singam-sanjay)\
**Replies:** 0\
**Last updated:** [June 15, 2017, 9:34pm UTC](https://discourse.julialang.org/t/getting-a-view-of-files-under-src-for-a-particular-jl-llvm-version/4291 "2017-06-15T21:34:44Z")

</div>

Is there a way to resolve just the pre-processor statements related to JL\_LLVM\_VERSION macro and write back the resulting file ? I’m finding it a little difficult to resolve them everytime I read the code, also given th…

---

## [Improve \`parse\` to be able to handle complex numbers](https://discourse.julialang.org/t/improve-parse-to-be-able-to-handle-complex-numbers/4095)

<div class="topic-metadata">

**Author:** [@tparker](https://discourse.julialang.org/u/tparker)\
**Replies:** 9\
**Last updated:** [June 14, 2017, 7:27pm UTC](https://discourse.julialang.org/t/improve-parse-to-be-able-to-handle-complex-numbers/4095 "2017-06-14T19:27:33Z")

</div>

As of v0.5.0, the parse command cannot directly handle string representations of complex numbers; e.g. parse("1 + 2im") returns an Expr data type. You can use eval to convert the expression to a Complex{} number, but I …

---

## [Status of exp and sqrt](https://discourse.julialang.org/t/status-of-exp-and-sqrt/4092)

<div class="topic-metadata">

**Author:** [@matthieu](https://discourse.julialang.org/u/matthieu)\
**Replies:** 30\
**Last updated:** [June 12, 2017, 3:49pm UTC](https://discourse.julialang.org/t/status-of-exp-and-sqrt/4092 "2017-06-12T15:49:30Z")

</div>

Now that exp. and sqrt. exist, will expm and sqrtm be deprecated and replaced by exp and sqrt on matrices? Is the answer no because it would be too error-prone?

---

## [\`indmax\` and \`findmax\` issues with arrays with more than 1D (edited)](https://discourse.julialang.org/t/indmax-and-findmax-issues-with-arrays-with-more-than-1d-edited/4170)

<div class="topic-metadata">

**Author:** [@acad2](https://discourse.julialang.org/u/acad2)\
**Replies:** 5\
**Last updated:** [June 10, 2017, 6:27am UTC](https://discourse.julialang.org/t/indmax-and-findmax-issues-with-arrays-with-more-than-1d-edited/4170 "2017-06-10T06:27:21Z")

</div>

Let’s say I want to find the position of the maximum element in a 2D array. The closest I found: \[indmax\] (Location of minimum in Julia - Stack Overflow) or findmax, which does not work as expected with arrays having mo…

---

## [Proposal: Automatic object(s) to vector (matrix) encoding and vector (matrix) to object(s) decoding](https://discourse.julialang.org/t/proposal-automatic-object-s-to-vector-matrix-encoding-and-vector-matrix-to-object-s-decoding/4184)

<div class="topic-metadata">

**Author:** [@mohamed82008](https://discourse.julialang.org/u/mohamed82008)\
**Replies:** 2\
**Last updated:** [June 10, 2017, 2:32am UTC](https://discourse.julialang.org/t/proposal-automatic-object-s-to-vector-matrix-encoding-and-vector-matrix-to-object-s-decoding/4184 "2017-06-10T02:32:23Z")

</div>

As many of you know, a vector in Mathematics is any object that respects the vector axioms/interface. In other words it has more to do with which functions it implements, e.g. vector addition and scalar multiplication, t…

---

## ["Should I use Julia or Chapel" (found)](https://discourse.julialang.org/t/should-i-use-julia-or-chapel-found/4188)

<div class="topic-metadata">

**Author:** [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Replies:** 0\
**Last updated:** [June 9, 2017, 7:58pm UTC](https://discourse.julialang.org/t/should-i-use-julia-or-chapel-found/4188 "2017-06-09T19:58:10Z")

</div>

Here is Jonathan Dursi’s personal perspective and his \[concerns\] (Should I use Chapel or Julia for my next project?). Two of his concerns merit obviation. Every public package should have a readiness/applicability tag …

---

## [Optional dependencies / Requires.jl](https://discourse.julialang.org/t/optional-dependencies-requires-jl/3294)

<div class="topic-metadata">

**Author:** [@vchuravy](https://discourse.julialang.org/u/vchuravy)\
**Replies:** 38\
**Last updated:** [June 9, 2017, 6:18am UTC](https://discourse.julialang.org/t/optional-dependencies-requires-jl/3294 "2017-06-09T06:18:19Z")

</div>

I recently started thinking about conditional modules, while working on making sure Requires.jl works on 0.6 and I thought it would be helpful to recap discussions I had with @jameson and @tkelman. This follows in simila…

---

## [A view() with indices omitted?](https://discourse.julialang.org/t/a-view-with-indices-omitted/4158)

<div class="topic-metadata">

**Author:** [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Replies:** 1\
**Last updated:** [June 8, 2017, 3:31am UTC](https://discourse.julialang.org/t/a-view-with-indices-omitted/4158 "2017-06-08T03:31:37Z")

</div>

It would be convenient to allow view(A) for view A in its entirety.

---

## [Regression between v0.6 and master with reinterpret from #21831](https://discourse.julialang.org/t/regression-between-v0-6-and-master-with-reinterpret-from-21831/4040)

<div class="topic-metadata">

**Author:** [@ScottPJones](https://discourse.julialang.org/u/ScottPJones)\
**Replies:** 6\
**Last updated:** [June 3, 2017, 1:52am UTC](https://discourse.julialang.org/t/regression-between-v0-6-and-master-with-reinterpret-from-21831/4040 "2017-06-03T01:52:52Z")

</div>

On v0.6.0-rc2, this works: julia\> primitive type Foo 24 end ; reinterpret(Foo, b"123") 1-element Array{Foo,1}: Foo(0x333231) On v0.7.0-DEV.427, it fails: julia\> primitive type Foo 24 end ; reinterpret(Foo, b"123") ER…

---

## [Very happy with 0.6-rc1](https://discourse.julialang.org/t/very-happy-with-0-6-rc1/3973)

<div class="topic-metadata">

**Author:** [@dlfivefifty](https://discourse.julialang.org/u/dlfivefifty)\
**Replies:** 3\
**Last updated:** [June 1, 2017, 4:19pm UTC](https://discourse.julialang.org/t/very-happy-with-0-6-rc1/3973 "2017-06-01T16:19:17Z")

</div>

Sorry for the spam, but I just wanted to give a thank you to the Julia development team: so far, 0.6-rc1 has been great! This is likely the first 0.\*-rc1 that I haven’t managed to crash (even having started a major rewri…

---

## [Fix for bug printing BigFloat where output fills internal DIGITS buffer](https://discourse.julialang.org/t/fix-for-bug-printing-bigfloat-where-output-fills-internal-digits-buffer/3985)

<div class="topic-metadata">

**Author:** [@ScottPJones](https://discourse.julialang.org/u/ScottPJones)\
**Replies:** 1\
**Last updated:** [June 1, 2017, 2:37pm UTC](https://discourse.julialang.org/t/fix-for-bug-printing-bigfloat-where-output-fills-internal-digits-buffer/3985 "2017-06-01T14:37:49Z")

</div>

I have a fix for the bug that @TotalVerb reported, https://github.com/JuliaLang/julia/issues/22126, with a unit test added, in https://github.com/ScottPJones/julia/tree/spj/fixprintf, if somebody wants to pull it in (@t…

---

## [REPL shell mode string interpolation on 0.6 RC2](https://discourse.julialang.org/t/repl-shell-mode-string-interpolation-on-0-6-rc2/4028)

<div class="topic-metadata">

**Author:** [@samuelpowell](https://discourse.julialang.org/u/samuelpowell)\
**Replies:** 2\
**Last updated:** [June 1, 2017, 1:05pm UTC](https://discourse.julialang.org/t/repl-shell-mode-string-interpolation-on-0-6-rc2/4028 "2017-06-01T13:05:46Z")

</div>

Has there been an intentional change to string interpolation in the REPL shell mode (I can’t see anything in NEWS.md)? On v0.5.1: shell\> echo $("hello world") hello world On v0.6.0-rc2.0: shell\> echo $("hello world")…

---

## [Prevent usr/bin/julia from producing debug metadata](https://discourse.julialang.org/t/prevent-usr-bin-julia-from-producing-debug-metadata/3994)

<div class="topic-metadata">

**Author:** [@singam-sanjay](https://discourse.julialang.org/u/singam-sanjay)\
**Replies:** 2\
**Last updated:** [May 31, 2017, 6:37am UTC](https://discourse.julialang.org/t/prevent-usr-bin-julia-from-producing-debug-metadata/3994 "2017-05-31T06:37:38Z")

</div>

Julia at 6b0d54e6cb4272c609489a05bf8404e89befab7e produces debug metadata when invoked as usr/bin/julia. Earlier, debug metadata ( and intrinsics ) were inserted into the IR only by usr/bin/julia-debug. Is there a way t…

---

## [\[RFC\] Optimizations using run-time information for Polly](https://discourse.julialang.org/t/rfc-optimizations-using-run-time-information-for-polly/3807)

<div class="topic-metadata">

**Author:** [@singam-sanjay](https://discourse.julialang.org/u/singam-sanjay)\
**Replies:** 9\
**Last updated:** [May 30, 2017, 6:45pm UTC](https://discourse.julialang.org/t/rfc-optimizations-using-run-time-information-for-polly/3807 "2017-05-30T18:45:50Z")

</div>

Hello, As a part of my GSoC project to integrate Julia and Polly-ACC, I’m looking at using run-time information to perform better optimisations. The first thing would be to inform Polly about the “values” of function p…

---

## [How to grep/search over all packages?](https://discourse.julialang.org/t/how-to-grep-search-over-all-packages/3975)

<div class="topic-metadata">

**Author:** [@Dan](https://discourse.julialang.org/u/Dan)\
**Replies:** 2\
**Last updated:** [May 30, 2017, 7:04am UTC](https://discourse.julialang.org/t/how-to-grep-search-over-all-packages/3975 "2017-05-30T07:04:42Z")

</div>

Hi Julia Devs, Guess the subject basically says it all. But, to make it more concrete, a couple of packages I’ve tried to use crashed over the same issue, generating a :macrocall expression. The fix was similar, and it …

---

## [Guide/Reference for migrating packages from 0.5 to 0.6?](https://discourse.julialang.org/t/guide-reference-for-migrating-packages-from-0-5-to-0-6/3967)

<div class="topic-metadata">

**Author:** [@Sebastien\_Arnaud](https://discourse.julialang.org/u/Sebastien_Arnaud)\
**Replies:** 4\
**Last updated:** [May 29, 2017, 1:45pm UTC](https://discourse.julialang.org/t/guide-reference-for-migrating-packages-from-0-5-to-0-6/3967 "2017-05-29T13:45:48Z")

</div>

Hi, is there a comprehensive guide to help migrate packages from 0.5 to 0.6? I am personally looking at helping migrate this package: https://github.com/jaak-s/BayesianDataFusion.jl But I am getting the following error…

---

## [Using === instead if == in tests (and code)](https://discourse.julialang.org/t/using-instead-if-in-tests-and-code/3971)

<div class="topic-metadata">

**Author:** [@Dan](https://discourse.julialang.org/u/Dan)\
**Replies:** 1\
**Last updated:** [May 29, 2017, 11:35am UTC](https://discourse.julialang.org/t/using-instead-if-in-tests-and-code/3971 "2017-05-29T11:35:03Z")

</div>

Hello Julia Devs, When dealing with packages which overload the behavior of == it is best to make sure tests use === when appropriate. In DataArrays package, == can return NA which later caused an error in some tests. …

---

## [Add type mixins to overcome subtype limitations](https://discourse.julialang.org/t/add-type-mixins-to-overcome-subtype-limitations/816)

<div class="topic-metadata">

**Author:** [@djsegal](https://discourse.julialang.org/u/djsegal)\
**Replies:** 41\
**Last updated:** [May 29, 2017, 9:34am UTC](https://discourse.julialang.org/t/add-type-mixins-to-overcome-subtype-limitations/816 "2017-05-29T09:34:25Z")

</div>

Mixins, concerns, whatever you want to call them, the ability to share many fields between types is an all too common problem. Obviously one way to solve this would be to use macros and then put some lipstick on the pig…

---

## [Printf is broken with BigInt on master](https://discourse.julialang.org/t/printf-is-broken-with-bigint-on-master/3952)

<div class="topic-metadata">

**Author:** [@ScottPJones](https://discourse.julialang.org/u/ScottPJones)\
**Replies:** 2\
**Last updated:** [May 28, 2017, 12:13pm UTC](https://discourse.julialang.org/t/printf-is-broken-with-bigint-on-master/3952 "2017-05-28T12:13:50Z")

</div>

I noticed this when answering a question here on Discourse: julia\> @printf("%d", big(1)) ERROR: UndefVarError: GMP not defined Stacktrace: \[1\] decode(::Int64, ::BigInt) at ./printf.jl:884 \[2\] decode\_dec(::Base.TTY, ::…

---

## [Parallel generators and pmap generators](https://discourse.julialang.org/t/parallel-generators-and-pmap-generators/3864)

<div class="topic-metadata">

**Author:** [@mohamed82008](https://discourse.julialang.org/u/mohamed82008)\
**Replies:** 0\
**Last updated:** [May 22, 2017, 9:53pm UTC](https://discourse.julialang.org/t/parallel-generators-and-pmap-generators/3864 "2017-05-22T21:53:56Z")

</div>

Hey there, I would like to suggest a nice idea to improve parallel programming in Julia. I think it would be nice to be able to build a pipeline of functions operating on a stream of data by simply programming the func…

---

## [Function Parameter Speculation #17168](https://discourse.julialang.org/t/function-parameter-speculation-17168/1677)

<div class="topic-metadata">

**Author:** [@jameson](https://discourse.julialang.org/u/jameson)\
**Replies:** 28\
**Last updated:** [May 22, 2017, 10:54pm UTC](https://discourse.julialang.org/t/function-parameter-speculation-17168/1677 "2017-05-22T22:54:09Z")

</div>

(continuing this from make Method objects callable (and inferred) as invoke · Issue #17168 · JuliaLang/julia · GitHub) Haskell’s lack of “dynamic” multiple dispatch is because it’s a static language There’s no formal…

---

## [Circular modules and precompilation errors](https://discourse.julialang.org/t/circular-modules-and-precompilation-errors/3855)

<div class="topic-metadata">

**Author:** [@antoine-levitt](https://discourse.julialang.org/u/antoine-levitt)\
**Replies:** 1\
**Last updated:** [May 22, 2017, 4:32pm UTC](https://discourse.julialang.org/t/circular-modules-and-precompilation-errors/3855 "2017-05-22T16:32:24Z")

</div>

I’ve implemented for my own work an optimal linesearch using Optim.jl, and I would like to add it to LineSearches.jl (it’s trivial, but it’s useful for testing). The problem is that the linesearch uses Optim.jl, which it…

---

## [Track allocation not working (signal(11) SIGSEV)](https://discourse.julialang.org/t/track-allocation-not-working-signal-11-sigsev/3557)

<div class="topic-metadata">

**Author:** [@bernhard](https://discourse.julialang.org/u/bernhard)\
**Replies:** 0\
**Last updated:** [May 6, 2017, 9:34am UTC](https://discourse.julialang.org/t/track-allocation-not-working-signal-11-sigsev/3557 "2017-05-06T09:34:36Z")

</div>

All Edit: this is failing for me with 0.5.1 and also 0.6 rc2 I first posted this under “usage” but got no reply, I was hoping to get some feedback on this, as I really appreciate the possibility to track memory allocat…

---

## [TypeFuzz.jl - Fuzz testing of the Julia type system](https://discourse.julialang.org/t/typefuzz-jl-fuzz-testing-of-the-julia-type-system/3786)

<div class="topic-metadata">

**Author:** [@martinholters](https://discourse.julialang.org/u/martinholters)\
**Replies:** 6\
**Last updated:** [May 22, 2017, 7:21am UTC](https://discourse.julialang.org/t/typefuzz-jl-fuzz-testing-of-the-julia-type-system/3786 "2017-05-22T07:21:42Z")

</div>

I’ve finally turned the fuzz testing code used for https://github.com/JuliaLang/julia/pull/21339 into a package: GitHub - martinholters/TypeFuzz.jl: Fuzz testing of the Julia type system It’s still rather basic, I woul…

---

## [Windows specific UV error](https://discourse.julialang.org/t/windows-specific-uv-error/3127)

<div class="topic-metadata">

**Author:** [@lobingera](https://discourse.julialang.org/u/lobingera)\
**Replies:** 10\
**Last updated:** [May 21, 2017, 1:05pm UTC](https://discourse.julialang.org/t/windows-specific-uv-error/3127 "2017-05-21T13:05:07Z")

</div>

i extended Cairo in one place and now tests only on winows are failing with Got an exception of type Base.UVError outside of a @test unlink: resource busy or locked (EBUSY) in uv\_error at .\\libuv.jl:68 \[inlined\] …

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

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