# Internals & Design

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

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

**Page:** 52

---

## [Nighty builds for release-1.1 instead of master available?](https://discourse.julialang.org/t/nighty-builds-for-release-1-1-instead-of-master-available/18858)

<div class="topic-metadata">

**Author:** [@fingolfin](https://discourse.julialang.org/u/fingolfin)\
**Replies:** 1\
**Last updated:** [December 20, 2018, 10:27pm UTC](https://discourse.julialang.org/t/nighty-builds-for-release-1-1-instead-of-master-available/18858 "2018-12-20T22:27:48Z")

</div>

Our CI testing is currently using Julia nightly builds, as we are relying on a GC extension that was only introduced after 1.0 branched. Now that the release-1.1 branch was created, we’d ideally like to use builds based …

---

## [What is the triangle in "triangular dispatch"?](https://discourse.julialang.org/t/what-is-the-triangle-in-triangular-dispatch/18817)

<div class="topic-metadata">

**Author:** [@jandehaan](https://discourse.julialang.org/u/jandehaan)\
**Replies:** 3\
**Last updated:** [December 19, 2018, 5:41am UTC](https://discourse.julialang.org/t/what-is-the-triangle-in-triangular-dispatch/18817 "2018-12-19T05:41:31Z")

</div>

More than 5 year ago Tim Holey wished he could write colorspace{C\<:ColorValue,A\<:AbstractArray{C}}(img::A) = string(C) He called such a feature “triangular dispatch (left-to-right template parameter chaining)”. Today …

---

## [Issue registering package dependencies](https://discourse.julialang.org/t/issue-registering-package-dependencies/18778)

<div class="topic-metadata">

**Author:** [@haydenfree](https://discourse.julialang.org/u/haydenfree)\
**Replies:** 1\
**Last updated:** [December 18, 2018, 7:14am UTC](https://discourse.julialang.org/t/issue-registering-package-dependencies/18778 "2018-12-18T07:14:04Z")

</div>

Hello, Recently my team released the initial version of our package for analyzing curricula, and we’ve found that users are not able to correctly install it via Pkg.add. They end up with errors regarding dependencies. I…

---

## [Strange allocations?](https://discourse.julialang.org/t/strange-allocations/18746)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 6\
**Last updated:** [December 18, 2018, 3:06am UTC](https://discourse.julialang.org/t/strange-allocations/18746 "2018-12-18T03:06:12Z")

</div>

Consider these two function definitions: function myhypot(x::Number...) s = sum(abs2, float.(x)) r = sqrt(s) if isnan(s) || isinf(s) || s ≤ floatmin(s) \* (length(x) - 1) println("here") any(isinf, x) && ret…

---

## [Julia "inference lattice" vs "type lattice" (from the TPU paper)](https://discourse.julialang.org/t/julia-inference-lattice-vs-type-lattice-from-the-tpu-paper/18397)

<div class="topic-metadata">

**Author:** [@NHDaly](https://discourse.julialang.org/u/NHDaly)\
**Replies:** 5\
**Last updated:** [December 18, 2018, 2:15am UTC](https://discourse.julialang.org/t/julia-inference-lattice-vs-type-lattice-from-the-tpu-paper/18397 "2018-12-18T02:15:15Z")

</div>

I’m reading Keno’s and Elliot’s TPU paper now. I came across this quote: Of importance to the current work is that the Julia inference lattice is significantly finer than its type lattice, allowing increased inference…

---

## [Issue with Pkg in Julia Nightly builds (Version 1.2.0-DEV.16 (2018-12-14))](https://discourse.julialang.org/t/issue-with-pkg-in-julia-nightly-builds-version-1-2-0-dev-16-2018-12-14/18694)

<div class="topic-metadata">

**Author:** [@abobroff](https://discourse.julialang.org/u/abobroff)\
**Replies:** 6\
**Last updated:** [December 17, 2018, 8:44pm UTC](https://discourse.julialang.org/t/issue-with-pkg-in-julia-nightly-builds-version-1-2-0-dev-16-2018-12-14/18694 "2018-12-17T20:44:52Z")

</div>

I use Windows 10 and 8.1 and get this results: \_ \_ \_ \_(\_)\_ | Documentation: https://docs.julialang.org (\_) | (\_) (\_) | \_ \_ \_| |\_ \_\_ \_ | Type "?" for help, "\]?" for Pkg help…

---

## [Can @pure functions throw an error?](https://discourse.julialang.org/t/can-pure-functions-throw-an-error/18459)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 1\
**Last updated:** [December 17, 2018, 5:24pm UTC](https://discourse.julialang.org/t/can-pure-functions-throw-an-error/18459 "2018-12-17T17:24:12Z")

</div>

MWE, is this OK? Base.@pure function key\_in(key::Symbol, keys::Tuple{Vararg{Symbol}}) for k in keys key ≡ k && return true end false end Base.@pure function remove\_key(key::Symbol, keys::Tuple{Varar…

---

## [Why isn't the method/constructor String(v::AbstractVector{UInt8}) actually called String!](https://discourse.julialang.org/t/why-isnt-the-method-constructor-string-v-abstractvector-uint8-actually-called-string/18575)

<div class="topic-metadata">

**Author:** [@ndinsmore](https://discourse.julialang.org/u/ndinsmore)\
**Replies:** 2\
**Last updated:** [December 12, 2018, 8:16am UTC](https://discourse.julialang.org/t/why-isnt-the-method-constructor-string-v-abstractvector-uint8-actually-called-string/18575 "2018-12-12T08:16:22Z")

</div>

I just got bitten by a bug that took a while to trace to the behavior of String(v::AbstractVector{UInt8}) which modified( or as the documentation says truncates) its input. Further reading brings me to believe that t…

---

## [FYI: 16-bit support in LLVM; any idea if easy to support it/8-bit micros/MCUs in Julia?](https://discourse.julialang.org/t/fyi-16-bit-support-in-llvm-any-idea-if-easy-to-support-it-8-bit-micros-mcus-in-julia/18416)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 10\
**Last updated:** [December 11, 2018, 11:09am UTC](https://discourse.julialang.org/t/fyi-16-bit-support-in-llvm-any-idea-if-easy-to-support-it-8-bit-micros-mcus-in-julia/18416 "2018-12-11T11:09:26Z")

</div>

I just noticed people are planning to add support for 8-bit AVR in Rust: I’m kind of amazed people bother for such a new language (while I can see it more relevant there). I’m just curious could it be much difficult …

---

## [Using reshape with UInt16 for dims](https://discourse.julialang.org/t/using-reshape-with-uint16-for-dims/17616)

<div class="topic-metadata">

**Author:** [@standarddeviant](https://discourse.julialang.org/u/standarddeviant)\
**Replies:** 5\
**Last updated:** [December 10, 2018, 4:02pm UTC](https://discourse.julialang.org/t/using-reshape-with-uint16-for-dims/17616 "2018-12-10T16:02:16Z")

</div>

I was surprised to find out that using UInt16s is not a valid way to reshape an Array. I get the following behavior on Julia 0.6.4 as well as Julia 1.0.2 julia\> a = collect(1:6) 6-element Array{Int64,1}: 1 2 3 4 5…

---

## [Circshift of a SparseMatrix](https://discourse.julialang.org/t/circshift-of-a-sparsematrix/18420)

<div class="topic-metadata">

**Author:** [@abraunst](https://discourse.julialang.org/u/abraunst)\
**Replies:** 5\
**Last updated:** [December 8, 2018, 2:31pm UTC](https://discourse.julialang.org/t/circshift-of-a-sparsematrix/18420 "2018-12-08T14:31:01Z")

</div>

Right now, circshift falls back to the generic AbstractMatrix implementation when called with a SparseMatrix (being very slow and adding unnecessary structural zeros values in the output). Adding something simple like t…

---

## [@inferred x.a](https://discourse.julialang.org/t/inferred-x-a/18456)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 0\
**Last updated:** [December 8, 2018, 9:25am UTC](https://discourse.julialang.org/t/inferred-x-a/18456 "2018-12-08T09:25:46Z")

</div>

(Asking here before opening an issue.) Apparently @inferred does not recognize x.a forms as calls, and I could not find an existing issue, is there one? using Test struct Foo end Base.propertynames(::Foo) = (:a, ) Base…

---

## ['map' function error with different length iterators](https://discourse.julialang.org/t/map-function-error-with-different-length-iterators/18421)

<div class="topic-metadata">

**Author:** [@raghav9-97](https://discourse.julialang.org/u/raghav9-97)\
**Replies:** 3\
**Last updated:** [December 7, 2018, 4:15pm UTC](https://discourse.julialang.org/t/map-function-error-with-different-length-iterators/18421 "2018-12-07T16:15:21Z")

</div>

Map function when applied on different length iterators throws a DimensionMismatch error while it works perfectly fine when applied to infinite length iterators. The strategy of map in case of infinite length iterator c…

---

## [the \`range\` improvement for 1.1](https://discourse.julialang.org/t/the-range-improvement-for-1-1/18378)

<div class="topic-metadata">

**Author:** [@jne](https://discourse.julialang.org/u/jne)\
**Replies:** 10\
**Last updated:** [December 7, 2018, 9:46am UTC](https://discourse.julialang.org/t/the-range-improvement-for-1-1/18378 "2018-12-07T09:46:58Z")

</div>

Hi all, first time posting. Apologies anywhere my understanding is off, and please forgive that I am not a great communicator in this domain. I’ve nonetheless invested some time to write the most careful and concise ob…

---

## [Overview about BinDeps2?](https://discourse.julialang.org/t/overview-about-bindeps2/18272)

<div class="topic-metadata">

**Author:** [@lobingera](https://discourse.julialang.org/u/lobingera)\
**Replies:** 9\
**Last updated:** [December 7, 2018, 7:19am UTC](https://discourse.julialang.org/t/overview-about-bindeps2/18272 "2018-12-07T07:19:54Z")

</div>

What is the current status of BinDeps2 and how to get an overview about available builders? I remember some Pkg3 discussions about bringing in the bin dependencies into Pkg3 manifests(?), but i don’t see updates on that …

---

## [Comparing floating point numbers in an intuitive way fails within julia](https://discourse.julialang.org/t/comparing-floating-point-numbers-in-an-intuitive-way-fails-within-julia/18377)

<div class="topic-metadata">

**Author:** [@martinbroich](https://discourse.julialang.org/u/martinbroich)\
**Replies:** 6\
**Last updated:** [December 7, 2018, 1:52am UTC](https://discourse.julialang.org/t/comparing-floating-point-numbers-in-an-intuitive-way-fails-within-julia/18377 "2018-12-07T01:52:13Z")

</div>

Comparing floating point numbers I run into troubles when “0.0”, “-0.0” and “NaN” are possible values. To my mind there is no reasonable implementation of “isequal(x,y)” and “x==y”. A reasonable implementation of compar…

---

## [Julia and Python Conda](https://discourse.julialang.org/t/julia-and-python-conda/18339)

<div class="topic-metadata">

**Author:** [@peter.wolf](https://discourse.julialang.org/u/peter.wolf)\
**Replies:** 12\
**Last updated:** [December 6, 2018, 8:31pm UTC](https://discourse.julialang.org/t/julia-and-python-conda/18339 "2018-12-06T20:31:57Z")

</div>

What is the plan for Julia 1.0 and Python 3.X? In particular Conda? My company uses Conda, and I want to introduce Julia for core algorithms. So, I want to make Julia invisible to most developers, and not require them…

---

## [Add unique!(f, itr) #28415](https://discourse.julialang.org/t/add-unique-f-itr-28415/17913)

<div class="topic-metadata">

**Author:** [@raghav9-97](https://discourse.julialang.org/u/raghav9-97)\
**Replies:** 6\
**Last updated:** [December 5, 2018, 3:56pm UTC](https://discourse.julialang.org/t/add-unique-f-itr-28415/17913 "2018-12-05T15:56:47Z")

</div>

Should unique!(f, itr) support Real,AbstractString and Symbol just as unique!(itr) do? Also do we have to take care of the order of occurence when implementing it?

---

## [Kwargs for getindex with ;](https://discourse.julialang.org/t/kwargs-for-getindex-with/18239)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 5\
**Last updated:** [December 4, 2018, 7:10am UTC](https://discourse.julialang.org/t/kwargs-for-getindex-with/18239 "2018-12-04T07:10:20Z")

</div>

Since this is a corner case of syntax, I am asking here before opening an issue. Keyword args are allowed for getindex since #25631 was fixed. But including an explicit ; causes problems: julia\> VERSION v"1.1.0-DEV.785…

---

## [Feature request: "compiling..." indicator](https://discourse.julialang.org/t/feature-request-compiling-indicator/17979)

<div class="topic-metadata">

**Author:** [@pablosanjose](https://discourse.julialang.org/u/pablosanjose)\
**Replies:** 8\
**Last updated:** [December 2, 2018, 7:34pm UTC](https://discourse.julialang.org/t/feature-request-compiling-indicator/17979 "2018-12-02T19:34:15Z")

</div>

Probably one of the most characteristic properties of the Julia language is that compilation is done upon calls, which leads to the first run of everything to be slow. Sometimes very slow, like in many plotting packages.…

---

## [Strings are immutable, but \`isimmutable("abc")\` still returns false -- why?](https://discourse.julialang.org/t/strings-are-immutable-but-isimmutable-abc-still-returns-false-why/18180)

<div class="topic-metadata">

**Author:** [@fingolfin](https://discourse.julialang.org/u/fingolfin)\
**Replies:** 5\
**Last updated:** [November 30, 2018, 12:39pm UTC](https://discourse.julialang.org/t/strings-are-immutable-but-isimmutable-abc-still-returns-false-why/18180 "2018-11-30T12:39:59Z")

</div>

As per the title: The Julia manual for 1.0 explicitly says that “As in Java, strings are immutable”. And experimentally, I indeed can’t seem to modify a string (other than perhaps using some unsafe function, but of cours…

---

## [Approaching threadsafe IOContexts](https://discourse.julialang.org/t/approaching-threadsafe-iocontexts/18098)

<div class="topic-metadata">

**Author:** [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Replies:** 0\
**Last updated:** [November 28, 2018, 2:04pm UTC](https://discourse.julialang.org/t/approaching-threadsafe-iocontexts/18098 "2018-11-28T14:04:11Z")

</div>

While the consensus approach this question is intended to engender has broader utility than the use case I have, it is illustrative to consider providing thread-specific or, much the same thing seen through the REPL, win…

---

## [TravisCI build with Python deps](https://discourse.julialang.org/t/travisci-build-with-python-deps/17289)

<div class="topic-metadata">

**Author:** [@Balinus](https://discourse.julialang.org/u/Balinus)\
**Replies:** 7\
**Last updated:** [November 24, 2018, 4:16am UTC](https://discourse.julialang.org/t/travisci-build-with-python-deps/17289 "2018-11-24T04:16:17Z")

</div>

Hello, not sure if it’s the right place for such a question. Feel free to say so if I should ask elsewhere! In my package (ClimateTools.jl) I use some Python dependencies that are used mostly for mapping purpose. Right…

---

## [Initial Steps towards Contributing to Julia](https://discourse.julialang.org/t/initial-steps-towards-contributing-to-julia/17852)

<div class="topic-metadata">

**Author:** [@raghav9-97](https://discourse.julialang.org/u/raghav9-97)\
**Replies:** 2\
**Last updated:** [November 23, 2018, 3:40pm UTC](https://discourse.julialang.org/t/initial-steps-towards-contributing-to-julia/17852 "2018-11-23T15:40:01Z")

</div>

Hi I am new to the world of open source development.I am fascinated by the domains of Julia language and trying to fix some newcomers issues in order to contribute but facing some problems. First, I have built unstable …

---

## [Avast AntiVirus stole my Julia 1.0.2 executable! Windows 7 pro antivirus problems](https://discourse.julialang.org/t/avast-antivirus-stole-my-julia-1-0-2-executable-windows-7-pro-antivirus-problems/17863)

<div class="topic-metadata">

**Author:** [@anon32405968](https://discourse.julialang.org/u/anon32405968)\
**Replies:** 1\
**Last updated:** [November 22, 2018, 1:36pm UTC](https://discourse.julialang.org/t/avast-antivirus-stole-my-julia-1-0-2-executable-windows-7-pro-antivirus-problems/17863 "2018-11-22T13:36:10Z")

</div>

Hello, I’m running Windows 7 pro, old Intel i7 processor and Julia 1.0.2. I was working late last night on on some documentation for a Julia package. I wanted to run make.jl locally so I tried to add Documenter in pkg m…

---

## [Specialized reduction of sparse arrays](https://discourse.julialang.org/t/specialized-reduction-of-sparse-arrays/17807)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 0\
**Last updated:** [November 21, 2018, 9:21am UTC](https://discourse.julialang.org/t/specialized-reduction-of-sparse-arrays/17807 "2018-11-21T09:21:03Z")

</div>

Hi All, I have created a specialized version of reduction for sparse arrays, as the default falls back to generic arrays, which is too slow. The code is pretty simple as function Base.reduce(::typeof(hcat), A::Abstrac…

---

## [Curiosity Question: Trusting Function Calls](https://discourse.julialang.org/t/curiosity-question-trusting-function-calls/17755)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 3\
**Last updated:** [November 20, 2018, 12:34pm UTC](https://discourse.julialang.org/t/curiosity-question-trusting-function-calls/17755 "2018-11-20T12:34:45Z")

</div>

Feel free to ignore. I hope I am not taking too much time. It’s a very end-usery perspective curiosity question. None of the computer languages that I know allow this. (maybe ancient fortran.) let’s say that I am wr…

---

## [Making it easier to contribute to Julia](https://discourse.julialang.org/t/making-it-easier-to-contribute-to-julia/17762)

<div class="topic-metadata">

**Author:** [@Ronis\_BR](https://discourse.julialang.org/u/Ronis_BR)\
**Replies:** 2\
**Last updated:** [November 20, 2018, 11:20am UTC](https://discourse.julialang.org/t/making-it-easier-to-contribute-to-julia/17762 "2018-11-20T11:20:14Z")

</div>

I would like to propose something that might help people getting involved with Julia. I found that sometimes it is difficult to know how to help. There are things that I want to do and submit a PR that maybe the devs do …

---

## [Autoresolve function(x::module.struct)](https://discourse.julialang.org/t/autoresolve-function-x-module-struct/17759)

<div class="topic-metadata">

**Author:** [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Replies:** 2\
**Last updated:** [November 20, 2018, 8:48am UTC](https://discourse.julialang.org/t/autoresolve-function-x-module-struct/17759 "2018-11-20T08:48:05Z")

</div>

I just encountered a situation where two packages exported the same function ulp, one not in Base (not yet). Each package dispatches ulp over its own package-realized and exported struct type. There is never any real u…

---

## [Julia 1.0.2 reapeat function cost many times than matlab‘s repmat](https://discourse.julialang.org/t/julia-1-0-2-reapeat-function-cost-many-times-than-matlab-s-repmat/17708)

<div class="topic-metadata">

**Author:** [@yang](https://discourse.julialang.org/u/yang)\
**Replies:** 5\
**Last updated:** [November 19, 2018, 1:57pm UTC](https://discourse.julialang.org/t/julia-1-0-2-reapeat-function-cost-many-times-than-matlab-s-repmat/17708 "2018-11-19T13:57:56Z")

</div>

I found julia’s repeat function run very slowly than matlab’s repmat and python too,here is my code of julia and matlab for a test of two functions, anyone if want test a python script can write it yourself or ask me t…

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

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