[julia-users] Why two (qualified) macro invocation forms?

2016-07-08 Thread Hans-Peter
Acc. to the manual [1] either `Mod.@mac` or `@Mod.mac` can be used. What is the reason for the second form? Is it necessary to make me (other people?) think which form should be used preferably? Maybe there is a reason (didn't find something in issues/maillist) but with my current knowledge I'd

Re: [julia-users] Re: Arrow Keys when debugging

2016-04-26 Thread Hans-Peter
On Monday, 25 April 2016 23:34:03 UTC+2, chobb...@gmail.com wrote: > > ... want to see which constructor is called for construction, if multiple > constructors exist > ^ Do you know the @which macro? E.g. @which DateTime(2016) or @which DateTime("20151204"). To

[julia-users] Re: Do I have to workspace() when a new breakpoint is introduced?

2016-04-25 Thread Hans-Peter
> have to clear everything in the workspace by workspace() [...snip...] ignore all my changes for debugging (remark: I didn't yet try out the debugger) You may put your code into a temporary module such that you only need to reload the code you are working on, see e.g.

[julia-users] Re: Unload dynamic library after ccall

2016-04-18 Thread Hans-Peter
It works well with a symbol, sorry for the noise. Code: @assert length(filter(x->contains(x, "hello"), Libdl.dllist())) == 0 hellohdl = Libdl.dlopen("/Users/chappi/_curr/c_und_julia/hello") hellosym = Libdl.dlsym(hellohdl, :my_main) @assert length(filter(x->contains(x, "hello"), Libdl.dllist()))

[julia-users] Unload dynamic library after ccall

2016-04-18 Thread Hans-Peter
I'm playing around with calling c code. After changes in my code and thus in the shared library I need to restart Julia in order to make the new code available in Julia/ccall. Question: is it possible to unload (and reload) a library? (It works using dlopen/dlclose without a ccall. But as soon

[julia-users] Re: possibility to define a type that is subtype of more than one supertype

2016-04-04 Thread Hans-Peter
Not possible. See this issue where it has been discussed: https://github.com/JuliaLang/julia/issues/5. I think traits (mauro3/Traits.jl) could be helpful for you (just a guess, don't know trait specifics atm)

[julia-users] Re: ANN: A potential new Discourse-based Julia forum

2016-03-09 Thread Hans-Peter
There is a new discourse blog post were Discourse offers free hosting for 'community friendly Github projects'. I think Julia would qualify and this would solve the question about

[julia-users] Interesting: Plotly has become open source

2015-11-17 Thread Hans-Peter
See announcement: https://plot.ly/javascript/open-source-announcement/. I only used PyPlot so far but this sounds interesting. Offline 'plotly plotting' without api key should be possible now.

[julia-users] Re: Moore foundation grant.

2015-11-11 Thread Hans-Peter
Great! Congratulations!! I read about an IDE. Do you already have ideas, plans what such an IDE could look like? And/or a word about technology? On Wednesday, 11 November 2015 09:00:50 UTC+1, Viral Shah wrote: > > Yes, we are really excited. This grant is to focus on core Julia compiler >

[julia-users] Re: WARNING: [a] concatenation is deprecated; use collect(a) instead

2015-09-11 Thread Hans-Peter
See https://github.com/JuliaLang/julia/issues/10290 (most relevant are the last view comments of the issue)

[julia-users] Juliacon 2015 videos?

2015-07-01 Thread Hans-Peter
Will there be videos of the 2015 Juliacon? Where... :-) Thanks.