Re: [julia-users] trying to build Cxx, general

2016-01-10 Thread Andreas Lobinger
Hello colleagues, On Sunday, January 10, 2016 at 7:15:33 PM UTC+1, Isaiah wrote: > > - Cxx.jl master > - Julia with `LLVM_VER=3.7.1` > - and manually patched LLVM (but this is probably only necessary on Mac) > https://github.com/JuliaLang/julia/issues/14585#issuecomment-169712071 > > However, at t

Re: [julia-users] Stepping avg. How faster to compute?

2016-01-10 Thread Pranit Bauva
There is no "fast" way of calculating average of many numbers. Though the algorithm used for generating random numbers is not exactly "perfect". There is a probability distribution function involved. If you analyze that graph, then the descriptive statistics will be approximately same for all pract

[julia-users] WebAssembly: Here Be Dragons

2016-01-10 Thread Eric Forgy
Hi, Thought others might find this interesting. I was just watching: - 2015 LLVM Developers’ Meeting: Jf Bastien & Dan Gohman “WebAssembly: Here Be Dragons" Of course, was thinking about how WebAssembly and Julia can work together (and dro

[julia-users] Re: How to resolve "WARNING: both Compose and PyPlot export "draw"; uses of it in module Main must be qualified"?

2016-01-10 Thread EvanB
Thanks for the help. Using ' Compose.draw(img, compose(sierpinski(8), linewidth(0.1mm), fill(nothing), stroke("black"))) ' results in no plot output whatsoever. Using ' PyPlot..draw(img, compose(sierpinski(8), linewidth(0.1mm), fill(nothing), stroke("black"))) ' results in the following

Re: [julia-users] Daemonize a process

2016-01-10 Thread Stefan Karpinski
You can always just ccall fork. Not portable but it should work. On Sunday, January 10, 2016, Thomas S Hatch wrote: > Thank you for the confirmation. One valid point in the Linux world is that > is daemons are being started via systemd there is little need for the old > pid fork anyway as system

[julia-users] Re: What happens when I do x[:] when x::SharedArray{Float64,1}?

2016-01-10 Thread Tony Kelman
I think this differs between master and release, a few of us are still not happy with similar of a SharedArray not returning a SharedArray. I wouldn't rely on anything staying unchanged here.

Re: [julia-users] trying to build Cxx, general

2016-01-10 Thread Isaiah Norton
- Cxx.jl master - Julia with `LLVM_VER=3.7.1` - and manually patched LLVM (but this is probably only necessary on Mac) https://github.com/JuliaLang/julia/issues/14585#issuecomment-169712071 However, at this point, unless you are willing/able to debug LLVM-level issues, I don't recommend using this

Re: [julia-users] trying to build Cxx, general

2016-01-10 Thread Andreas Lobinger
Thanks for the short answers. On Sunday, January 10, 2016 at 5:22:36 PM UTC+1, Isaiah wrote: > > 1) Can i get Cxx somehow as package? > > No > >> >> 2) Are the recent build instructions available that target a >> debian/ubuntu out-of-the-box? > > No > >> >> 3) I have some reasons to believe peo

Re: [julia-users] Moore foundation grant.

2016-01-10 Thread Nils Gudat
Any news on the JuliaStats team's roadmap? On Thursday, December 17, 2015 at 11:20:45 PM UTC, Viral Shah wrote: > > > The JuliaStats team will be publishing a general plan on stats+df in a few > days. I doubt we will have settled on all the df issues by then, but at > least there will be somethi

Re: [julia-users] trying to build Cxx, general

2016-01-10 Thread Isaiah Norton
> > 1) Can i get Cxx somehow as package? No > > 2) Are the recent build instructions available that target a debian/ubuntu > out-of-the-box? No > > 3) I have some reasons to believe people are using Cxx with a v0.4 > (non-dev), any clue how you got it running? > At least for me, by fixing prob

[julia-users] Change DataArray/DataFrame column type

2016-01-10 Thread Cedric St-Jean
I have a dataframe which contains `NA` and float values. I would like to change the datatype of one of its columns from `Any` to `Float64`. The solution I found on the web df[:x] = float64(df[:x]) yields a deprecation warning to use `map(Float64, df[:x])` and a conversion error. The map soluti

[julia-users] trying to build Cxx, general

2016-01-10 Thread Andreas Lobinger
Hello colleagues, i ran now into a build problem (like this: lobi@orange321:~/julia05$ make CC src/codegen.o In file included from /home/lobi/julia05/usr/include/llvm/ADT/SmallVector.h:20:0, from /home/lobi/julia05/usr/include/llvm/Support/Allocator.h:24,

Re: [julia-users] trying to build Cxx, unable to access llvm.org/git

2016-01-10 Thread Andreas Lobinger
Thanks for the reply. Waiting only (for llvm.org to come back) helped already... On Saturday, January 9, 2016 at 6:05:44 PM UTC+1, Isaiah wrote: > > HTTPS://github.com/llvm-mirror > > You can set custom irks in make.user > > On Saturday, January 9, 2016, Andreas Lobinger > wrote: > >> Hello col

Re: [julia-users] Defining function's argument to be either Int or Float

2016-01-10 Thread Mauro
>> > It would be interesting to learn why this is the case because I would >> think it should be. >> >> Have you read through the, I think linked, wikipedia article? You only >> need to read the Array section: >> >> https://en.wikipedia.org/wiki/Covariance_and_contravariance_%28computer_science%29