[julia-users] Re: Are print, warn, etc. "preemptible"?

2015-11-19 Thread vmarsi75-ggroups via julia-users
Thanks, Jonathan. On Friday, 20 November 2015 00:18:02 UTC+5:30, Jonathan Malmaud wrote: > > Yes, all IO functions yield.

[julia-users] Are print, warn, etc. "preemptible"?

2015-11-18 Thread vmarsi75-ggroups via julia-users
Hi, I have a fairly typical 2-task write/read scenario, with one task writing into a fixed-length buffer, and the other task reading from it. I have the following piece of code in the write task: function bufWrite(buf, value) if buf.full warn("Buffer is full") print("full = $(buf.full

[julia-users] Re: PyPlot3D error

2015-10-06 Thread vmarsi75-ggroups via julia-users
Just do a show() at the end. That works for me... On Wednesday, 7 October 2015 09:50:35 UTC+5:30, halim hamadi wrote: > > I have tried plotting in 3D using PyPlot, and the code are: > > using PyPlot > x = linspace(0,2*pi,1000) > y = sin(3*x + 4*cos(2*x)) > z = [sqrt(i)for i in (x.*x + y.*y)] > gri

[julia-users] Re: Looking for ideas and topics to include in an introductory workshop in Julia

2015-09-09 Thread vmarsi75-ggroups via julia-users
The best way I've found to get people up-to-speed on Julia is to open an IJulia notebook and walk through something on the lines of this: http://learnxinyminutes.com/docs/julia/ After that, with more time, you can delve into providing deeper insights into coroutines, parallelism, etc. And since

[julia-users] Re: Trouble compiling Julia v0.4

2015-08-27 Thread vmarsi75-ggroups via julia-users
Thanks, Jameson and Elliot. I was able to compile with: make -j 1 USE_SYSTEM_LIBGIT2=1 Regards, Ravi

[julia-users] Loading a module in pwd() in Julia 0.4

2015-08-27 Thread vmarsi75-ggroups via julia-users
Hi All, It used to be (in 0.3) that if the pwd contained mymodule.jl, I could load it simply with "using mymodule". However, in 0.4, it appears that loading.jl does not include the pwd() as part of the search path. jjulia> using mymodule ERROR: ArgumentError: mymodule not found in path in req

[julia-users] Trouble compiling Julia v0.4

2015-08-21 Thread vmarsi75-ggroups via julia-users
Hi Folks, I'm having trouble compiling the v0.4 git head: [ 0%] Linking C shared library libgit2.dylib Undefined symbols for architecture x86_64: "_libiconv", referenced from: _git_path_iconv in path.c.o "_libiconv_close", referenced from: _git_path_direach in path.c.o _git