[julia-users] Black screen/window with OpenGL

2014-05-31 Thread Toivo Henningsson
Hi! I just installed the OpenGL.jl, SDL.jl, and GLUT.jl packages, and tried to run some of the NeHe tutorials. But no matter which one I tried, the result is only black. With SDL.jl, I get a window titled e.g. NeHe Tut 2 with only black contents. When it has focus, it responds to the q button

Re: [julia-users] pmap/map avoid return by value

2014-05-31 Thread Kuba Roth
Hi Amit, Well in my case I'm parsing a bunch of files, store results in dictionaries which are merged back into one big array of dictionaries. Since each file can be parsed independently pmap seems to be good and clean fit. But because size of each Dictionary is quite big merging the data back

[julia-users] Inlining question

2014-05-31 Thread Tim Besard
I have a small test-case which is slow when benchmarked from a loop, but fast when benchmarked from a function: using Images function expensive(img) img[1, 2] * img[3, 4] + img[5, 6] - img[7, 8] end function benchmark(img) for i in 1:100 expensive(img)

Re: [julia-users] Re: Addition of (unused uninstatiated) type, slows down program by 25%

2014-05-31 Thread Mike Innes
You should definitely open an issue about this – if your timings are right it's definitely not desirable behaviour. https://github.com/JuliaLang/julia/issues?state=open On 31 May 2014 11:00, mike c coolbutusel...@gmail.com wrote: I've narrowed down the problem. It's not a profiling problem.

[julia-users] parsers?

2014-05-31 Thread andrew cooke
are there any libraries for parsing in julia? either parser combinator or something more traditional (maybe a wrapper for something like antlr)? all i can find is an old discussion started by leah h in which jeff b suggests doing everything in julia. that included a pointer to

[julia-users] Re: Will Julia be ready for commercial deployment within a time-frame of 3 years?

2014-05-31 Thread Andreas Lobinger
Hello, On Saturday, May 31, 2014 4:40:02 PM UTC+2, Robert Gates wrote: Dear Julia users: my colleagues and I are planning on writing cross-platform (Linux variants, OS X, Windows) commercial software for the research community, preferably in Julia. Our projected release date will be some

Re: [julia-users] parsers?

2014-05-31 Thread Isaiah Norton
There was a nice looking PEG system previewed a few days ago if you search the users list (and I think there was another one several months back by Michael Fox). On Sat, May 31, 2014 at 1:22 PM, andrew cooke and...@acooke.org wrote: are there any libraries for parsing in julia? either parser

Re: [julia-users] parsers?

2014-05-31 Thread andrew cooke
https://groups.google.com/d/msg/julia-users/t56VxOX1vvk/nszQYWP_pm4J https://groups.google.com/d/msg/julia-users/6jz3Ow5SAAE/TgKHQ48gUG4J thanks! On Saturday, 31 May 2014 14:04:28 UTC-4, Isaiah wrote: There was a nice looking PEG system previewed a few days ago if you search the users list

[julia-users] Re: Stiff ODE solver available now?

2014-05-31 Thread Paweł Biernat
Hil, DASSL.jl supports multiple equtions, I have just added an example to the readme file [1]. If you need any further help with setting up DASSL.jl I am ready to help you. [1] https://github.com/pwl/DASSL.jl/blob/master/README.md W dniu czwartek, 29 maja 2014 19:31:19 UTC+2 użytkownik

[julia-users] Re: Will Julia be ready for commercial deployment within a time-frame of 3 years?

2014-05-31 Thread Tobias Knopp
Robert, These questions are hard to answer without knowing a little bit more about what you are planning. How many people will be working on the project. What are the tools used to date? What would be the considered alternative to Julia? These are quite essential questions. If the alternative

[julia-users] Re: Will Julia be ready for commercial deployment within a time-frame of 3 years?

2014-05-31 Thread Steven G. Johnson
On Saturday, May 31, 2014 10:40:02 AM UTC-4, Robert Gates wrote: my colleagues and I are planning on writing cross-platform (Linux variants, OS X, Windows) commercial software for the research community, preferably in Julia. Our projected release date will be some time in the next 3-4

Re: [julia-users] Compilation to hardware (ASICs)

2014-05-31 Thread David Ainish
It seems the idea of JIT Hardware Compilation has been around for a while: http://link.springer.com/chapter/10.1007%2F978-3-540-78791-4_12#page-1 http://www.informationweek.com/jit-compilation-to-hardware/d/d-id/1073781?

Re: [julia-users] Re: Addition of (unused uninstatiated) type, slows down program by 25%

2014-05-31 Thread mike c
On Sunday, 1 June 2014 00:21:07 UTC+10, Simon Kornblith wrote: Yes, this is kind of a toy solution to a toy example. It sounds like what you describe is implementable as: f(i, object, objects..) = min(intersect(object, i), f(i, objects...)) f(i) = 0.0 I did try something like that in

Re: [julia-users] Type stability of map - is there a better way to do this?

2014-05-31 Thread Isaiah Norton
There are a number of issues about type inference for `map` and similar functions. See 6692 and the issues linked therein: https://github.com/JuliaLang/julia/pull/6692 On Fri, May 30, 2014 at 4:27 AM, Tomas Lycken tomas.lyc...@gmail.com wrote: I have a `DataArray{Float64,1}` named `ps` with a

[julia-users] Re: Surprising behavior of singleton types

2014-05-31 Thread David Moon
On Saturday, May 31, 2014 1:08:29 PM UTC-4, Iain Dunning wrote: And I don't necessarily think this is wrong - look at the code it generates f{t,n}(::Type{Array{t,n}},::Array{t,n}) at none:3 f{t,n}(::Type{Array{t,N}},::Array{t,n}) at none:2 There is nothing to distinguish these two from a

Re: [julia-users] parsers?

2014-05-31 Thread Abe Schneider
I should add that PEGParser's code is fairly new and untested (besides having an uninspired name). I'm also hoping to have better action semantics soon. On Saturday, May 31, 2014 2:17:27 PM UTC-4, andrew cooke wrote: https://groups.google.com/d/msg/julia-users/t56VxOX1vvk/nszQYWP_pm4J