[julia-users] Re: Julia vs C++-11 for random walks

2015-01-06 Thread Frank Kampas
Microsoft C code is not very fast these days. You might want to compare with MinGW. On Monday, January 5, 2015 9:56:07 AM UTC-5, lapeyre@gmail.com wrote: > > Hi, here is a comparison of Julia and C++ for simulating a random walk > . > > It i

Re: [julia-users] Re: [ANN] Blink.jl – Web-based GUIs for Julia

2015-01-06 Thread Mike Innes
Well, the abstraction is already there – you can call JS pretty directly

Re: [julia-users] Re: Nullable use cases / expected behavior?

2015-01-06 Thread Seth
On Tuesday, January 6, 2015 4:43:16 AM UTC-8, Milan Bouchet-Valat wrote: > > > > > > Yeah, (==){T}(a::Nullable{T}, b::T) should be able to be defined as > > !isnull(a) && get(a) == b > I'd consider this definition (which is different from the ones I > suggested above) as unsafe: if `a` is `nu

Re: [julia-users] Re: [ANN] Blink.jl – Web-based GUIs for Julia

2015-01-06 Thread Jeff Waller
Hmm Atom eh? I read that you're communicating via TCP, but I wonder If there is some sort of abstraction possible, and it need not be process to process. Have not thought it through, but feel something is there.

Re: [julia-users] Re: Nullable use cases / expected behavior?

2015-01-06 Thread elextr
On Tuesday, January 6, 2015 10:43:16 PM UTC+10, Milan Bouchet-Valat wrote: > > Le mardi 06 janvier 2015 à 04:38 -0800, ele...@gmail.com a > écrit : > > > > > > On Tuesday, January 6, 2015 7:38:00 PM UTC+10, Milan Bouchet-Valat > > wrote: > > Le lundi 05 janvier 2015 à 19:16 -0800,

Re: [julia-users] Setting CPU affinity? Taskset does not work

2015-01-06 Thread Isaiah Norton
I think we do want to respect taskset when it is explicit. Please file a bug -- or PR if you can test this (second answer): http://stackoverflow.com/questions/4592575/is-it-possible-to-prevent-children-inheriting-the-cpu-core-affinity-of-the-paren See some discussion here: https://github.com/Juli

Re: [julia-users] Julia REPL segfaults non-deterministically...

2015-01-06 Thread Isaiah Norton
Looks like: https://github.com/JuliaLang/julia/issues/8550 If you can find a semi-reproducible test case and/or gdb backtrace, that would be great. On Mon, Jan 5, 2015 at 7:59 PM, Tomas Lycken wrote: > I just got the following in the REPL: > > julia> module Foo > >type Bar{T} end > >

Re: [julia-users] Re: Nullable use cases / expected behavior?

2015-01-06 Thread Milan Bouchet-Valat
Le mardi 06 janvier 2015 à 04:38 -0800, ele...@gmail.com a écrit : > > > On Tuesday, January 6, 2015 7:38:00 PM UTC+10, Milan Bouchet-Valat > wrote: > Le lundi 05 janvier 2015 à 19:16 -0800, ele...@gmail.com a écrit : > > My reasoning for Nullable{T} is that it is type stable. T

Re: [julia-users] Re: Nullable use cases / expected behavior?

2015-01-06 Thread elextr
On Tuesday, January 6, 2015 7:38:00 PM UTC+10, Milan Bouchet-Valat wrote: > > Le lundi 05 janvier 2015 à 19:16 -0800, ele...@gmail.com a > écrit : > > My reasoning for Nullable{T} is that it is type stable. Taking your > > example, None and Int would be different type objects, introducing a

Re: [julia-users] Re: [ANN] Blink.jl – Web-based GUIs for Julia

2015-01-06 Thread Mike Innes
Sure, if you have a window object you can call `tools(w)` from Julia to open the dev tools. If you end up using Blink.jl I'd love to hear about it! On 6 January 2015 at 11:21, Eric Forgy wrote: > Hi Mike, > > This is awesome! > > Please forgive a question before doing my homework, but is there a

[julia-users] Re: [ANN] Blink.jl – Web-based GUIs for Julia

2015-01-06 Thread Eric Forgy
Hi Mike, This is awesome! Please forgive a question before doing my homework, but is there a way to access a javascript console in the window? I think I can use this for something I'm working on. I almost have a basic javascript/d3 version of GUIDE working together with my own homegrown data

Re: [julia-users] [ANN] Blink.jl – Web-based GUIs for Julia

2015-01-06 Thread Mike Innes
Shashi, go ahead and say that here ;) On 6 January 2015 at 06:24, Shashi Gowda wrote: > I love the display system > > in Blink. This makes much more sense than the cu

[julia-users] [ANN] MatrixDepot.jl v0.1 (Better Documentation)

2015-01-06 Thread Weijian Zhang
Hello, I would like to announce the release of MatrixDepot.jl v0.1: a test matrix collection for Julia. https://github.com/weijianzhang/MatrixDepot.jl. The major change is the documentation. It is now hosted on Read the Doc. http://matrixdepotjl.readthedocs.org/en/latest/ You can find in

Re: [julia-users] string literals split to multilines?

2015-01-06 Thread René Donner
hi, this should work: d = """aaa bbb ccc""" Rene Am 06.01.2015 um 11:15 schrieb Andreas Lobinger : > Hello colleagues, > > is there a counterpart for the string literal split to multiple lines like in > python? > > d = '09ab\ > eff1\ > a2a4' > > Wishing a happy day, >Andreas >

[julia-users] string literals split to multilines?

2015-01-06 Thread Andreas Lobinger
Hello colleagues, is there a counterpart for the string literal split to multiple lines like in python? d = '09ab\ eff1\ a2a4' Wishing a happy day, Andreas

[julia-users] status of reload / Autoreload

2015-01-06 Thread Andreas Lobinger
Hello colleagues, in one of the threads here, John Myles White commented > > > I think there are two schools of thought on that question: > > * Matlab users like the automatic reloading they’re used to from Matlab > and find Autoreload really helpful to their productivity. > * Users of langua

Re: [julia-users] sum of 1-element array of composite type returns reference

2015-01-06 Thread Milan Bouchet-Valat
Le lundi 05 janvier 2015 à 18:53 -0800, Greg Plowman a écrit : > > The only reason I can think of is that a copy may be > costly for certain > types, and it's not needed in most cases since the > summation will create >

Re: [julia-users] Tips and tricks for figuring out where allocation occurs

2015-01-06 Thread Milan Bouchet-Valat
Le lundi 05 janvier 2015 à 20:48 -0800, Petr Krysl a écrit : > Hi guys, > > How does one figure out where allocation of memory occurs? When I > use the @time macro it tells me there's a lot of memory allocation > and deallocation going on. Just looking at the code I'm at a loss: I > can't see

Re: [julia-users] Re: Nullable use cases / expected behavior?

2015-01-06 Thread Milan Bouchet-Valat
Le lundi 05 janvier 2015 à 19:16 -0800, ele...@gmail.com a écrit : > My reasoning for Nullable{T} is that it is type stable. Taking your > example, None and Int would be different type objects, introducing a > type instability and potential performance penalty. But Nullable{T} > is always type Nu

<    1   2