[julia-users] Re: Using multiple CPU cores to do matrix multiplication with multiple worker processes

2016-08-12 Thread Doan Thanh Nam
Thanks for your information. I guess I need to wait until this pull request is merged to the main branch. Meanwhile, I think the way to overcome is to set the number of threads in BLAS equal to number of CPU cores. For example, add_procs(4) BLAS.set_num_threads(Sys.CPU_CORES) Then, it uses all

Re: [julia-users] Performance tips for network data transfer?

2016-08-12 Thread Jared Crean
The MPI.jl package also supports calling MPI routines directly. If you are transferring arrays of immutables, they can be sent with no overhead (serialization or otherwise). The limitation is mutable types cannot be sent (but they can be using the remotecall framework). Jared Crean On Fr

Re: [julia-users] Re: Incredibly elusive julia 0.5 bug - new undefined behaviour?

2016-08-12 Thread Keno Fischer
Sounds like a potential bug in the inliner. Would be good to get a reduced test case. On Fri, Aug 12, 2016 at 7:56 PM, Scott T wrote: > I get the same as you - I haven't been able to produce a concise example > of this behaviour yet. The actual bug is nested deep within > VoronoiDelaunay.jl and

Re: [julia-users] Re: preferred way to dispatch on first element of array?

2016-08-12 Thread Chris Stook
Thank you. On Friday, August 12, 2016 at 5:56:39 PM UTC-4, Stefan Karpinski wrote: > > But you can define a generic method for f like this: > > f(a::Vector) = f(a, a[1]) > f(a::Vector, a1::Int) = # handle the Int case > f(a::Vector, a1::Float64 = # handle the Float64 case > > > The you would call

[julia-users] Re: preferred way to dispatch on first element of array?

2016-08-12 Thread Chris Stook
Thank you. On Friday, August 12, 2016 at 5:52:48 PM UTC-4, Kristoffer Carlsson wrote: > > No, since the only thing the compiler sees is Vector{Any}. > > On Friday, August 12, 2016 at 11:36:54 PM UTC+2, Chris Stook wrote: >> >> Is there a way to dispatch on the type of the first element of an arra

[julia-users] Re: IJulia kernel dies repeatedly with 0.5.0-rc2

2016-08-12 Thread Chris Stook
ZQM v0.3.4, looks like the latest version. _ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_)| Documentation: http://docs.julialang.org _ _ _| |_ __ _ | Type "?help" for help. | | | | | | |/ _` | | | | |_| | | | (_| | | Versi

[julia-users] Re: Incredibly elusive julia 0.5 bug - new undefined behaviour?

2016-08-12 Thread Scott T
I get the same as you - I haven't been able to produce a concise example of this behaviour yet. The actual bug is nested deep within VoronoiDelaunay.jl and GeometricalPredicates.jl. However, as far as I can tell the basic structure of it is the same: a type's fields are changed by a function, an

Re: [julia-users] Re: Multimedia I/O

2016-08-12 Thread Stefan Karpinski
That is an excellent question. There was a long discussion (in person) between Jameson, Jeff and myself, with Jameson being the proponent of this idea, so he is probably best positioned to explain it. On Fri, Aug 12, 2016 at 7:03 PM, Nathan Smith < nathan.frederick.sm...@gmail.com> wrote: > What

[julia-users] Re: Juno IDE Console Error: supertype not defined

2016-08-12 Thread Andrew Rushby
I seem to have fixed the problem with Pkg.build("Media.jl"). Thanks for your help anyway!

Re: [julia-users] Re: Multimedia I/O

2016-08-12 Thread Nathan Smith
What does "mime-type agnostic" mean in practice?

Re: [julia-users] Re: Multimedia I/O

2016-08-12 Thread Stefan Karpinski
The 2-argument show is "mime-type agnostic". I think Jameson of Jeff may have added some documentation of this? On Fri, Aug 12, 2016 at 6:49 PM, Nathan Smith < nathan.frederick.sm...@gmail.com> wrote: > ah, wonderful. I didn't realize that the "text/plain" mime was different > than the default 1D

[julia-users] Re: Incredibly elusive julia 0.5 bug - new undefined behaviour?

2016-08-12 Thread Steven G. Johnson
On Friday, August 12, 2016 at 3:59:20 PM UTC-4, Scott T wrote: > > The thing is that this line behaves differently in julia 0.4 and julia > 0.5, and it also behaves differently in julia 0.5 and julia 0.5 stepped > through with Gallium. Is this some kind of undefined behaviour? I would > have

[julia-users] Re: Multimedia I/O

2016-08-12 Thread Nathan Smith
ah, wonderful. I didn't realize that the "text/plain" mime was different than the default 1D string! Thanks for your help! Nathan

[julia-users] Re: IJulia kernel dies repeatedly with 0.5.0-rc2

2016-08-12 Thread Steven G. Johnson
On Friday, August 12, 2016 at 5:27:38 PM UTC-4, Chris Stook wrote: > > There were lots of warnings, and ZMQ failed to build. > Does versioninfo(true) indicate that you pinned ZMQ at an old version? You need to get Pkg.build("ZMQ") to work before IJulia can work, but last I checked ZMQ was w

[julia-users] Re: Multimedia I/O

2016-08-12 Thread Steven G. Johnson
On Friday, August 12, 2016 at 6:20:24 PM UTC-4, Nathan Smith wrote: > > Hi all, > > I'm still a little confused about how to use julia's multimedia i/o. I'm > writing a module to interact with Maxima CAS and I want to provide i/o for > my maxima expression types. There are three different cont

[julia-users] Multimedia I/O

2016-08-12 Thread Nathan Smith
Hi all, I'm still a little confused about how to use julia's multimedia i/o. I'm writing a module to interact with Maxima CAS and I want to provide i/o for my maxima expression types. There are three different contexts that I'm interested in: (1) During string interpolation (among other thin

Re: [julia-users] Re: preferred way to dispatch on first element of array?

2016-08-12 Thread Stefan Karpinski
But you can define a generic method for f like this: f(a::Vector) = f(a, a[1]) f(a::Vector, a1::Int) = # handle the Int case f(a::Vector, a1::Float64 = # handle the Float64 case The you would call the function as `f(a)` the way you want to. Note that the dispatch that chooses which method to cal

[julia-users] Re: preferred way to dispatch on first element of array?

2016-08-12 Thread Kristoffer Carlsson
No, since the only thing the compiler sees is Vector{Any}. On Friday, August 12, 2016 at 11:36:54 PM UTC+2, Chris Stook wrote: > > Is there a way to dispatch on the type of the first element of an array > without passing the first element as a separate argument. > > for example: > > a = Array{An

[julia-users] Re: Juno IDE Console Error: supertype not defined

2016-08-12 Thread Andrew Rushby
Thanks for the reply. Yes, I saw that here but it doesn't seem to have changed much for me. Here's the result of Pkg.status(): 2 required packages: - Atom 0.4.4 - PyPlot 2.1.0 31 additional packages: - BinDeps

[julia-users] Re: IJulia kernel dies repeatedly with 0.5.0-rc2

2016-08-12 Thread Chris Stook
Here is the output from building ZMQ and IJulia. in require(::Symbol) at .\loading.jl:357 in include_from_node1(::String) at .\loading.jl:426 in evalfile(::String, ::Array{String,1}) at .\loading.jl:442 (repeats 2 times) in cd(::##2#4, ::String) at .\file.jl:48 in (::##1#3)(::IOStream) at .

[julia-users] preferred way to dispatch on first element of array?

2016-08-12 Thread Chris Stook
Is there a way to dispatch on the type of the first element of an array without passing the first element as a separate argument. for example: a = Array{Any,1} function f(a::Array{Any,1}, a1::Int) # do int stuff here end function f(a::Array{Any,1}, a1::Float64) # do float stuff here end #

[julia-users] Re: IJulia kernel dies repeatedly with 0.5.0-rc2

2016-08-12 Thread Tony Kelman
Please provide as much information as possible with reports like this. Exactly what output and error messages are you seeing? The download links posted in the mailing list announcement threads should still work, you can install multiple versions of Julia side by side. On Friday, August 12, 201

[julia-users] Re: Juno IDE Console Error: supertype not defined

2016-08-12 Thread Tony Kelman
I believe there was an update of Media.jl that should have fixed this, what does Pkg.status() say? On Friday, August 12, 2016 at 1:40:11 PM UTC-7, Andrew Rushby wrote: > > I'm running into the same error message. I've tried reinstalling as well > as Pkg.update() as I've seen suggested elsewhere,

[julia-users] IJulia kernel dies repeatedly with 0.5.0-rc2

2016-08-12 Thread Chris Stook
I'm using Windows 10. I updated to 0.5.0-rc2, then performed the following updates. Pkg.update() Pkg.build("IJulia") There were lots of warnings, and ZMQ failed to build. Now, when I open IJulia the kernel repeatedly dies and restarts. Is there a fix for this? If I just need to wait for rc3,

[julia-users] Error trying to use Julia with Juno and Atom

2016-08-12 Thread Pedro Henrique Brasil
Hello, I've been trying to use Julia with Atom but I'm getting the following error from Atom: ​ I've tried to do as indicated in the red box but it didn't work. Any ideas about how to solve this? Thanks

[julia-users] Re: Juno IDE Console Error: supertype not defined

2016-08-12 Thread Andrew Rushby
I'm running into the same error message. I've tried reinstalling as well as Pkg.update() as I've seen suggested elsewhere, but no luck. As I'm rather new to this, is there anything else I could try? On Thursday, 11 August 2016 18:25:57 UTC-7, Tony Kelman wrote: > > This is what happens when pack

[julia-users] Re: Incredibly elusive julia 0.5 bug - new undefined behaviour?

2016-08-12 Thread Kristoffer Carlsson
Ref https://github.com/JuliaLang/julia/issues/9535 On Friday, August 12, 2016 at 9:59:20 PM UTC+2, Scott T wrote: > > I've got a really REALLY elusive bug which as far as I can tell boils down > to this line of code: > > shuffleFields!(A, getb(A), getc(A), geta(A)) > > where the intent is to reas

[julia-users] Re: Incredibly elusive julia 0.5 bug - new undefined behaviour?

2016-08-12 Thread Scott T
That should read something more like > shuffleFields!(A, newa, newb, newc) = (A.a = newa; A.b = newb; A.c = newc) > not that it makes a difference

[julia-users] Incredibly elusive julia 0.5 bug - new undefined behaviour?

2016-08-12 Thread Scott T
I've got a really REALLY elusive bug which as far as I can tell boils down to this line of code: shuffleFields!(A, getb(A), getc(A), geta(A)) where the intent is to reassign A.a, A.b, A.c: shuffleFields!(A, a, b, c) = (A.a = b; A.b = c; A.c = a) and where geta(A)= A.a # etc The thing is that

Re: [julia-users] Re: "correct" way to perform evolutionary computation in julia?

2016-08-12 Thread Garrett Jenkinson
Steven and Stefan, thank you both for your input; really great community here. I do already have said data structure for the reaction network, and guess I just need to spend some time thinking about how to build the interpreter that you suggest. Somehow it feels easier and more natural to produce

[julia-users] Re: How to switfh off combine functrion in sparse?

2016-08-12 Thread programistawpf
ThX, Paul W dniu piątek, 12 sierpnia 2016 18:28:26 UTC+2 użytkownik Kristoffer Carlsson napisał: > > try sparse(I,J,V,m,n,(a,b) ->a) > > On Friday, August 12, 2016 at 5:06:29 PM UTC+2, program...@gmail.com > wrote: >> >> How to switfh off combine functrion in sparse? I need to ingore new >> va

Re: [julia-users] Re: "correct" way to perform evolutionary computation in julia?

2016-08-12 Thread Stefan Karpinski
I can understand the allure of mutating and evaling code for evolutionary programming, but I think it's fundamentally not the right way to go. You probably want to write some kind of simple, high-performance interpreter for a custom data structure, which is essentially what Steven is suggesting. Ot

[julia-users] Re: "correct" way to perform evolutionary computation in julia?

2016-08-12 Thread Steven G. Johnson
On Friday, August 12, 2016 at 1:35:11 PM UTC-4, Garrett Jenkinson wrote: > > I have written a bit of a hack of a library for evolutionary computation, > where I continually evolve a system of "cells" that have different reaction > networks governed by ordinary differential equations. Basically,

Re: [julia-users] Re: Pyplot superscripts using the ouput of a numerical value

2016-08-12 Thread Juan Carlos Cuevas Bautista
Hi Steven, It works perfectly, I just grouped the y^+ term to avoid a double superscript error "\$f^+="*a1*"{y^+}^{"*a2*"}\$" Thanks, 2016-08-12 12:27 GMT-04:00 Steven G. Johnson : > > > On Thursday, August 11, 2016 at 4:57:25 PM UTC-4, Juan Carlos Cuevas > Bautista wrote: >> >> Hi All, >> >> I

[julia-users] Re: Arrays of user defined types, indexing and copying.

2016-08-12 Thread Josh Langsfeld
For your second question, I would have expected just doing deepcopy(MyType_Vec[[1,3,1]]) would have created a new array with a new object allocated for each element. Instead, it puts the same object (which is a copy) in the first and third positions and you get the same behavior. Maybe this i

Re: [julia-users] Re: "correct" way to perform evolutionary computation in julia?

2016-08-12 Thread Garrett Jenkinson
Thank you, that seems to be a great suggestion. So to be clear, you mean that instead of structuring my program: stringForMyFunction=genStringForMyFunction(systemDetails) eval(parse(stringForMyFunction)) t,y = ode23s(MyFunction, start, time) do it like this: stringForMyAnonFunction=genStringForM

[julia-users] Efficient convolution of sparse arrays?

2016-08-12 Thread 'Antoine Messager' via julia-users
Hello, I have signals that are 12,654,646 seconds long but very sparse, there are only a few hundreds events. I would like to compute the cross-correlation of those signals in a fast manner. Up to now I do the following: cross_cor=zeros(Int,120*60) for t0 in sig1 for t in sig2 if t0

[julia-users] Re: Using multiple CPU cores to do matrix multiplication with multiple worker processes

2016-08-12 Thread Kristoffer Carlsson
And https://github.com/JuliaLang/julia/issues/16729 On Friday, August 12, 2016 at 7:43:56 PM UTC+2, Kristoffer Carlsson wrote: > > Ref https://github.com/JuliaLang/julia/pull/17429 > > On Friday, August 12, 2016 at 7:39:40 PM UTC+2, Doan Thanh Nam wrote: >> >> Hi, >> >> I am new to Julia Language

[julia-users] Re: Using multiple CPU cores to do matrix multiplication with multiple worker processes

2016-08-12 Thread Kristoffer Carlsson
Ref https://github.com/JuliaLang/julia/pull/17429 On Friday, August 12, 2016 at 7:39:40 PM UTC+2, Doan Thanh Nam wrote: > > Hi, > > I am new to Julia Language and I am curious to use it for my work. > Recently, I have tried to use it for some of my projects and observed some > interesting cases.

[julia-users] Re: "correct" way to perform evolutionary computation in julia?

2016-08-12 Thread Kristoffer Carlsson
Can you use anonymous functions? On Friday, August 12, 2016 at 7:35:11 PM UTC+2, Garrett Jenkinson wrote: > > I have written a bit of a hack of a library for evolutionary computation, > where I continually evolve a system of "cells" that have different reaction > networks governed by ordinary di

[julia-users] let block question

2016-08-12 Thread feza
Is there any difference between version1: let x x = 0 end vs. version2: let local x = 0 end vs version3: let x = 0 end version 1 and 2 ; Function Attrs: uwtable define i64 @julia_t2_67462() #0 { top: ret i64 0

[julia-users] Using multiple CPU cores to do matrix multiplication with multiple worker processes

2016-08-12 Thread Doan Thanh Nam
Hi, I am new to Julia Language and I am curious to use it for my work. Recently, I have tried to use it for some of my projects and observed some interesting cases. First of all, when I start Julia REPL without adding any worker processes and do matrix multiplication. Julia takes all CPU cores

[julia-users] "correct" way to perform evolutionary computation in julia?

2016-08-12 Thread Garrett Jenkinson
I have written a bit of a hack of a library for evolutionary computation, where I continually evolve a system of "cells" that have different reaction networks governed by ordinary differential equations. Basically, when I need to solve the ODE for a cell, I have it generate a string that after

Re: [julia-users] Performance tips for network data transfer?

2016-08-12 Thread Amit Murthy
Are the constants the same across iterations? If so, you may find a CachingPool useful - http://docs.julialang.org/en/latest/stdlib/parallel/#Base.CachingPool >> Is there a way to only incur serialization/preparation costs once on the central worker, when the same data is >> transferred to multipl

[julia-users] Re: ANN: Julia 0.5.0-rc2 now available

2016-08-12 Thread Tony Kelman
Could you try to profile and see where the time is spent? LLVM 3.7 (used on 0.5) is known to be significantly slower in compile time than LLVM 3.3 (used on 0.4). On Friday, August 12, 2016 at 8:52:42 AM UTC-7, Uwe Fechner wrote: > > Thanks your hard work! > > Nevertheless I am a little bit disa

Re: [julia-users] Re: Still confused about how to use pmap with sharedarrays in Julia

2016-08-12 Thread Amit Murthy
This would work too let S=S output1 = pmap(i -> f(S,i), 1:length(S)) end On Fri, Aug 12, 2016 at 10:17 PM, Amit Murthy wrote: > Since S is global, the closure i -> f(S,i) only captures a reference to > S. And since this binding is not defined on the workers we see an error. > > For example,

Re: [julia-users] Re: Still confused about how to use pmap with sharedarrays in Julia

2016-08-12 Thread Amit Murthy
Since S is global, the closure i -> f(S,i) only captures a reference to S. And since this binding is not defined on the workers we see an error. For example, function foo() S = SharedArray(Int,10) S[:] = 1:length(S) output1 = pmap(i -> f(S,i), 1:length(S)) end foo() works as expect

[julia-users] Re: How to switfh off combine functrion in sparse?

2016-08-12 Thread Kristoffer Carlsson
try sparse(I,J,V,m,n,(a,b) ->a) On Friday, August 12, 2016 at 5:06:29 PM UTC+2, program...@gmail.com wrote: > > How to switfh off combine functrion in sparse? I need to ingore new value > if in data is duplicat row/col. Somthing like this : sparse(I,J,V,m,n,+=0) > but this dont work. > > Paul >

[julia-users] Re: Pyplot superscripts using the ouput of a numerical value

2016-08-12 Thread Steven G. Johnson
On Thursday, August 11, 2016 at 4:57:25 PM UTC-4, Juan Carlos Cuevas Bautista wrote: > > Hi All, > > I am using Pyplot in Julia to plot some fits in my data. I would like to > have a legend with my fit, however I am having problems to use the > coefficients of my fit like superscripts in the l

Re: [julia-users] Re: "eval cannot be used in a generated function"

2016-08-12 Thread Erik Schnetter
On Fri, Aug 12, 2016 at 4:06 AM, Tomas Lycken wrote: > Julia’s parametric types are not generic enough to support this. > > In my experience, any time I’ve been inclined to reason like this about > one of my use cases, someone (usually Tim Holy :P) has been able to show me > a way that works just

Re: [julia-users] Re: "eval cannot be used in a generated function"

2016-08-12 Thread Erik Schnetter
In what sense does a generated function need to be pure? I was not aware of this. Does this mean that (1) the generating function needs to be pure (and return only a quoted expression, not modifying any state), or that (2) the quoted expression needs to be pure? The documentation of generated migh

[julia-users] Re: ANN: Julia 0.5.0-rc2 now available

2016-08-12 Thread Uwe Fechner
Thanks your hard work! Nevertheless I am a little bit disappointed with the time, needed for including my own code. With Julia 0.5.0rc2 it needs 11.5 s, with Julia 0.4.6 it was only 6.34 s. Is this to be expected? I am using packages like PyPlot and JuMP, but I think they are precompiled. (On

[julia-users] Arrays of user defined types, indexing and copying.

2016-08-12 Thread Jan
I have a beginner question for which I cannot find the answer after quite some searching. type MyType a::Array{Float64,1} end # Fill an array with "independent" instances of MyType. (By the way, is there a shorter way to do this?) MyType_Vec = Array(MyType, 3); for i in eachindex(MyType_V

Re: [julia-users] Inset plots with Gadfly?

2016-08-12 Thread Cory Simon
Thanks Tom, this was helpful. FYI, with the newer version the command is: using Compose final = compose(context(), (context(.5, 0.31 ,0.4, 0.5), render(myplot_1)), (context(0, 0, 1, 1), render(myplot_2))) draw(PDF("model.pdf", 6inch, 4inch), final) where myplot_1 and myplot_2 are Gadfly plots e

Re: [julia-users] Array of Strings

2016-08-12 Thread Stefan Karpinski
No worries. Sorry the answer was so short! On Fri, Aug 12, 2016 at 6:45 AM, Stefan Kruger wrote: > Thank you for taking the time to answer what must be a common newbie query. > > On Thursday, 11 August 2016 15:45:01 UTC+1, Stefan Karpinski wrote: >> >> This is called "parametric invariance"; you

[julia-users] How to switfh off combine functrion in sparse?

2016-08-12 Thread programistawpf
How to switfh off combine functrion in sparse? I need to ingore new value if in data is duplicat row/col. Somthing like this : sparse(I,J,V,m,n,+=0) but this dont work. Paul

Re: [julia-users] Setting random number generator seed using sequential integers

2016-08-12 Thread James Douglas
Yes, testing whether the random numbers given by rand() lie within some continuous range is indeed what I am doing. I think I understand the problem now better, thanks to your answers and the discussion in the issue filed above. It is of course true that any set of N fixed seeds can only produ

Re: [julia-users] Array of Strings

2016-08-12 Thread Michael Borregaard
So in answer to your question you would write function hello_array{T<:AbstractString}(dat::Vector{T}) map(println, dat) end

[julia-users] ANN: Julia 0.5.0-rc2 now available

2016-08-12 Thread Tony Kelman
I have just tagged and uploaded release candidate 2 for Julia version 0.5.0. Binaries are available from https://s3.amazonaws.com/julialang/bin/linux/x64/0.5/julia-0.5.0-rc2-linux-x86_64.tar.gz https://s3.amazonaws.com/julialang/bin/linux/x86/0.5/julia-0.5.0-rc2-linux-i686.tar.gz https://s3.a

Re: [julia-users] Adding tuples

2016-08-12 Thread 'Bill Hart' via julia-users
Ah, ok. Thanks for clarifying this. We probably have the optimum for now. There are other things we can do in our application to get better performance anyway, so we'll focus on those now. Thanks for all the help! Bill. On 12 August 2016 at 13:46, Kristoffer Carlsson wrote: > > Since they are

Re: [julia-users] Numer of ones in bitstype

2016-08-12 Thread jw3126
Thank you both! On Thursday, August 11, 2016 at 9:17:13 PM UTC+2, Erik Schnetter wrote: > > See also "leading_zeros". > > -erik > > On Thu, Aug 11, 2016 at 1:52 PM, Tom Breloff > wrote: > >> help?> count_ones >> search: count_ones count_zeros >> >> count_ones(x::Integer) -> Integer >> >> Numb

Re: [julia-users] Adding tuples

2016-08-12 Thread Kristoffer Carlsson
> Since they are mutable (I assume) They are not. They are basically wrappers around a tuple with conveniently defined methods on them to make them act like vectors / matrices. You cannot in Julia store mutable objects inline in an array. On Friday, August 12, 2016 at 1:22:44 PM UTC+2, Bill Har

Re: [julia-users] Adding tuples

2016-08-12 Thread 'Bill Hart' via julia-users
Awesome, I didn't realise this. I will definitely give them a try (and possibly eventually report back). It very likely makes more sense for our application for us to use these than an immutable tuple. Since they are mutable (I assume), we can pass them as an argument to a function to be written to

Re: [julia-users] overwrite function value

2016-08-12 Thread digxx
Yes and that is how I am doing it now...Though from somewhere else I was used to do it (see above) the other way by overwriting it inside...

Re: [julia-users] Array of Strings

2016-08-12 Thread Stefan Kruger
Thank you for taking the time to answer what must be a common newbie query. On Thursday, 11 August 2016 15:45:01 UTC+1, Stefan Karpinski wrote: > > This is called "parametric invariance"; you can find the term if you > search the Julia manual and archives of this list. > > On Thu, Aug 11, 2016 at

Re: [julia-users] Adding tuples

2016-08-12 Thread Kristoffer Carlsson
They are bitstypes so if you have a vectoe of them they will be stored "inline" in the vector.

[julia-users] Performance tips for network data transfer?

2016-08-12 Thread Matthew Pearce
Dear Julians I'm trying to speed up the network data transfer in an MCMC algorithm. Currently I'm using `remotecall` based functions to do the network communication. Essentially for every node I include I scale up by I incur about 50mb of data transfer per iteration. The topology is that vario

Re: [julia-users] Adding tuples

2016-08-12 Thread 'Bill Hart' via julia-users
We will have many of them, i.e. billions. Are FixedSizedArrays or StaticArrays individually allocated, e.g. if we have an array of them? Or would a large array of them be allocated once? Bill. On 12 August 2016 at 07:48, Andy Ferris wrote: > Bill, you might also consider FixedSizeArrays or Stat

Re: [julia-users] Re: "eval cannot be used in a generated function"

2016-08-12 Thread Tomas Lycken
Julia’s parametric types are not generic enough to support this. In my experience, any time I’ve been inclined to reason like this about one of my use cases, someone (usually Tim Holy :P) has been able to show me a way that works just fine, without magic, by just using the type system in a sm

[julia-users] Re: plotly error in 0.5

2016-08-12 Thread Andreas Lobinger
Hello colleague, looks like a problem with Requires and maybe was caused by some missing 'other' update. The CI shows Plotly working: http://pkg.julialang.org/logs/Plotly_0.5.log You could check, if all required packages are at the correct version. Wishing a happy day, Andreas

[julia-users] plotly error in 0.5

2016-08-12 Thread Henri Girard
Any help, I am trying to run plotly on julia-0.5 RC+1, because on my ubuntu 16.04 neither 0.4.5 or 0.4.6 work : ERROR: LoadError: LoadError: InitError: type Method has no field func in macro expansion at /home/pi/.julia/v0.5/Requires/src/require.jl:9 [inlined] in (::Requires.##8#9)() at /home