[julia-users] I'm lost (again)

2015-05-31 Thread Andreas Lobinger
Hello colleagues, i'd like to do some GUI related things with julia and thought "hey, i'm doing quite nice things with pygtk, so let's try here also" and looked into Gtk.jl. Gtk.jl which is (seems to be) part of the official julialang repository on githup. So my expectation is: This is working.

Re: [julia-users] I'm lost (again)

2015-05-31 Thread Andreas Lobinger
Hello colleague, On Sunday, May 31, 2015 at 12:24:21 PM UTC+2, Milan Bouchet-Valat wrote: > > Le dimanche 31 mai 2015 à 02:30 -0700, Andreas Lobinger a écrit : > > I've forked a Gtk.jl to my githup presence and git cloned this to my local > copy, where i use a branch. &

Re: [julia-users] I'm lost (again)

2015-05-31 Thread Andreas Lobinger
Hello colleague, On Sunday, May 31, 2015 at 1:00:54 PM UTC+2, Jameson wrote: > > The dlopen API in base changed last week and I have not had time to update > Gtk.jl accordingly. I should be able to get back to soon however. > this was also my first guess, and that you work on your package is a

[julia-users] Re: Proposal for JSoC'15 by Rohit Kashyap - Invitation to comment

2015-05-31 Thread Andreas Lobinger
A document that is accessible without google log-in would raise the probability for comments...

[julia-users] Re: I'm lost (again)

2015-05-31 Thread Andreas Lobinger
Hello colleague, On Sunday, May 31, 2015 at 2:37:14 PM UTC+2, Tobias Knopp wrote: > > Andreas, > > unfortunately the Gtk/Winston/Cairo thing got a little unstable during the > last months. I tried two days a Winston/Gtk example and ran into the > Graphics issue. > in my native language we have

Re: [julia-users] I'm lost (again)

2015-05-31 Thread Andreas Lobinger
On Sunday, May 31, 2015 at 5:41:29 PM UTC+2, Tim Holy wrote: > > https://github.com/JuliaLang/julia/issues/1334 > Ah. Which could/should be raised in this v0.3/0.4/0.5 discussion. I see so many new features started, but basic error reporting should be rock-steady first. Before trying to give

[julia-users] c struct to Type?

2015-06-09 Thread Andreas Lobinger
Hello colleagues, i'm trying to get further interfacing to libcairo, but i somehow run into problems for matching c structures. My example using Cairo i = CairoImageSurface(100,100,Cairo.FORMAT_RGB24) cr = CairoContext(i) select_font_face (cr, "Sans", Cairo.FONT_SLANT_NORMAL,

[julia-users] Re: c struct to Type?

2015-06-09 Thread Andreas Lobinger
On Tuesday, June 9, 2015 at 9:15:44 PM UTC+2, Tobias Knopp wrote: > > Hi Andreas, > > the function cairo_copy_path does return a pointer to a cairo_path_t. So > the return value of your ccall is wrong. > function pdata_copy_path(ctx::CairoContext) c = ccall((:cairo_copy_path, Cairo._jl_lib

[julia-users] Re: How to contact the package maintainer ?

2015-06-12 Thread Andreas Lobinger
Hello colleague, if there's a problem with a package on github you can always open an issue and the maintainer will be informed. Within the issue you can address githup users with their name with @name. Wishing a happy day, Andreas

[julia-users] Re: how to move Julia packages from Ubuntu to OSX?

2015-06-12 Thread Andreas Lobinger
I'm not sure, but there seems to be some issues with homebrew on OSX which is the basis to use libraries like cairo, pango etc. So it could be the copy of the julia part of the package is correct, while the libraries the package tries to call isn't. Check both Cairo.jl and Homebrew.jl issues.

[julia-users] Re: Why Julia is not faster than Matlab ?

2015-06-12 Thread Andreas Lobinger
Hello colleague, you already gave the answer yourself: *Because all the programs that i implement are faster in Matlab than in Julia.* you just need to write faster julia programs (OK, that's not very helpful...). Although there are fast and slow computers there isn't the equivalent of fast o

[julia-users] Re: How to deploy Julia

2015-06-14 Thread Andreas Lobinger
Hello colleague, On Sunday, June 14, 2015 at 4:17:03 PM UTC+2, Daniel Carrera wrote: > > I never cease to be impressed by Julia's speed. I just wrote a test > program in Julia and Fortran 90 (it computes the gravitational force > between some planets). To my surprise, the Julia version was 7% fa

[julia-users] Re: Pkg support for custom external libraries location

2015-06-16 Thread Andreas Lobinger
Hello colleague, On Tuesday, June 16, 2015 at 8:32:42 AM UTC+2, Kuba Roth wrote: > > > It took me a while to figure out there is a hardcoded 'load dependencies' > search location in deps.jl which points to: > /usr/lib/x86_64-linux-gnu/... It expects libraries to be placed in a > system default

[julia-users] code style: indentation?

2015-06-16 Thread Andreas Lobinger
Hello colleagues, as julia is not whitespace sensitive and we still miss auto-format, i would guess, there are a few versions of indentation visible around. A PR of mine has just been criticised to use "unconventional" indentation, so i took a few minutes to update my know-how about conventiona

[julia-users] Re: code style: indentation?

2015-06-16 Thread Andreas Lobinger
Hello, On Tuesday, June 16, 2015 at 11:36:42 PM UTC+2, cormu...@mac.com wrote: > > "4 spaces per indentation level, no tabs" > so perhaps your use of 8 is the cause? > i found it, it was in the sample_copy_path.jl file and was searching in the update to Cairo.jl.

[julia-users] Re: code style: indentation?

2015-06-16 Thread Andreas Lobinger
Hello colleague, On Tuesday, June 16, 2015 at 11:16:18 PM UTC+2, Scott Jones wrote: > > Not whitespace sensitive? I thought julia was very whitespace > sensitive... blanks and newlines can make a big difference... > Did you just mean that julia is not sensitive to the number of tabs/blanks > (1

[julia-users] Re: how to move Julia packages from Ubuntu to OSX?

2015-06-18 Thread Andreas Lobinger
Hello colleague, On Thursday, June 18, 2015 at 10:34:47 AM UTC+2, K leo wrote: > > BTW, does anyone know what the following message is about: > > *julia> **using Winston* > > Warning: could not import Base.Text into Tk > There is a activity to move Base graphics calls into Graphics as a package

[julia-users] Re: how to move Julia packages from Ubuntu to OSX?

2015-06-18 Thread Andreas Lobinger
On Thursday, June 18, 2015 at 11:08:22 AM UTC+2, Andreas Lobinger wrote: > > Hello colleague, > > On Thursday, June 18, 2015 at 10:34:47 AM UTC+2, K leo wrote: >> >> BTW, does anyone know what the following message is about: >> >> *julia> **using W

[julia-users] Re: Using Winston in Julia 0.3.9

2015-06-23 Thread Andreas Lobinger
Hello colleague, i'm not sure, but you could try prefixing the add (or other Winston calls) with Winston -> Winston.add. The 'using'/'import' of Modules can interfere with each others 'exports' and add might be lost due to other imports before you import Winston.

[julia-users] Re: WebGL with Julia?

2015-06-23 Thread Andreas Lobinger
Hello colleague, On Monday, June 22, 2015 at 9:47:20 PM UTC+2, Uwe Fechner wrote: > Any suggestions? > Not really -> Start own development. One thing that's maybe far fetched at the moment. Your needed output is html5/js/WebGL. Emscripten is enabling this as compiler from C/C++ source includi

[julia-users] different failures in executing code as function or REPL

2015-06-24 Thread Andreas Lobinger
Hello colleagues, i think i've mentioned before: I'm not really a master on ccalls and the pointer/struct/Type architecture, so it might be obvious to someone else what's wrong here. I'm doing a library adaptation (on libxcb.so), one of the major X11 libraries to put literally everything on scr

[julia-users] Re: Escher/Compose/Gadfly for heavy visualization

2015-07-02 Thread Andreas Lobinger
Hello colleague, On Wednesday, July 1, 2015 at 7:56:06 PM UTC+2, Tom Breloff wrote: > > Has anyone used Escher/Compose/Gadfly for interactive > visualization/plotting with lots of data (million's of updates)? Is there > support for 3D visualization as part of this ecosystem? If not, is it > pl

[julia-users] Re: Escher/Compose/Gadfly for heavy visualization

2015-07-02 Thread Andreas Lobinger
I forgot: Gadfly and Compose have some future looking plans for 3D. Recently there was here: https://groups.google.com/d/topic/julia-users/DLFWlN-lj_Y/discussion

[julia-users] What happened to Timer?

2015-07-03 Thread Andreas Lobinger
_ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_)| Documentation: http://docs.julialang.org _ _ _| |_ __ _ | Type "help()" for help. | | | | | | |/ _` | | | | |_| | | | (_| | | Version 0.3.10-pre+4 (2015-06-04 13:19 UTC) _/ |\__'_|_|_|\__'_|

Re: [julia-users] What happened to Timer?

2015-07-04 Thread Andreas Lobinger
I might get something wrong here, but how do i get additional data input into the callback function?

[julia-users] Where do they come from: jl_uv_writecb() ERROR: bad file descriptor EBADF

2015-07-13 Thread Andreas Lobinger
Hello colleagues, i'm working on a library adaptation and if i close julia, i get a list of these: julia> jl_uv_writecb() ERROR: bad file descriptor EBADF jl_uv_writecb() ERROR: bad file descriptor EBADF jl_uv_writecb() ERROR: bad file descriptor EBADF jl_uv_writecb() ERROR: bad file descriptor

[julia-users] Re: navigating the help & documentation system

2015-07-15 Thread Andreas Lobinger
For 2) 2) A good lightweight graphics package for such simple-minded tasks as a 2D game board with round pieces on a square grid. The lowest common denominator for just drawing would be Cairo.jl, a declarative way to draw something would be Compose.jl (which then does the drawing via Cairo.jl).

[julia-users] Re: no method for int64

2015-07-15 Thread Andreas Lobinger
julia> methods(Cairo.set_source_rgb) # 2 methods for generic function "set_source_rgb": set_source_rgb(ctx::CairoContext,r::Real,g::Real,b::Real) at /home/lobi/.julia/v0.3/Cairo/src/Cairo.jl:510 set_source_rgb(gc::GraphicsContext,::Real,::Real,::Real) and btw: set_source_rgb needs a context as f

[julia-users] Re: How to obtain package version

2015-07-23 Thread Andreas Lobinger
Hello colleague, 1) please post the error message 2) think about filing an issue on githup, asking Pkg for information should not need write access (imho, maybe some caching attached here)

[julia-users] Re: How to obtain package version

2015-07-23 Thread Andreas Lobinger
I suspected caching; git update-index (... Modifies the index or directory cache...) sounds like this. -> issue > >

Re: [julia-users] mouse event

2015-07-23 Thread Andreas Lobinger
Can you describe, what you want to do?

Re: [julia-users] mouse event

2015-07-23 Thread Andreas Lobinger
On Thursday, July 23, 2015 at 2:03:47 PM UTC+2, Emerson Vitor Castelani wrote: > > In the first moment I would like to click and get the coordinates of the > point. Next, draw a (small) circle representing this point. > > Em quinta-feira, 23 de julho de 2015 05:55:16 UTC-3, A

Re: [julia-users] mouse event

2015-07-23 Thread Andreas Lobinger
Hello colleague, i somehow agree, that the pieces are there - toolkits like Gtk/tk - datastructures like quadtrees or other spacial trees - drawing with cairo or GL like drawing - coordinate transformation - 'raw' plotting like Winston - your example of selection by box but

[julia-users] Re: Equivalent of Matlab zpk()?

2015-07-31 Thread Andreas Lobinger
Depending how your filter is represented, zpkdata from Control.jl might be a good choice - i'm not using it, but the code looks promising.

[julia-users] in v0.4: WARNING: module M should explicitly import

2015-08-01 Thread Andreas Lobinger
Hello colleagues, is just updated to v0.4.0-dev+6455 and get longer lists of the above warning: julia> using Gtk WARNING: deprecated syntax "LListPair{L} (" at /home/lobi/.julia/v0.4/Gtk/src/GLib/glist.jl:61. Use "LListPair{L}(" instead. WARNING: module Graphics should explicitly import + from

Re: [julia-users] in v0.4: WARNING: module M should explicitly import

2015-08-01 Thread Andreas Lobinger
On Saturday, August 1, 2015 at 6:59:01 PM UTC+2, Tim Holy wrote: > > Pkg.update() is your friend... > and so is git merge ...

[julia-users] Re: julia 0.4 updated release date?

2015-08-07 Thread Andreas Lobinger
https://github.com/JuliaLang/julia/milestones afaics the only blocking feature is documentation.

[julia-users] Re: big matrices in Julia

2015-08-13 Thread Andreas Lobinger
If i read your example correctly, you are asking for a matrix size=65600x65600 of Float64 which is roughly 32GB. My first order assumption is, that julia asks the unterlying OS about getting this memory (btw: as a single block). It would be more intersting what actually your OS supports as cont

Re: [julia-users] Creating a bitmapped image with color bar

2015-08-14 Thread Andreas Lobinger
Hello colleague, i tend to agree, there is something wrong with Images.jl. I get lobi@orange4:~/juliarepo$ ../julia04/julia _ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_)| Documentation: http://docs.julialang.org _ _ _| |_ __ _

Re: [julia-users] Creating a bitmapped image with color bar

2015-08-15 Thread Andreas Lobinger
I was planning to test this a little bit more into detail (and then a PR should be possible). Two things hit me: * Image.jl seems to be unstable (segfault in Pkg.build, sometime in using) * afaics the code Maurizio is using, was your example in a previous discussion -> is this a valuable test or

Re: [julia-users] Creating a bitmapped image with color bar

2015-08-15 Thread Andreas Lobinger
two additional notes: I get the missing map information when trying to imwrite png julia> imwrite(img,"a22.png") ERROR: MethodError: `mapinfo` has no method matching mapinfo(::Type{Images. ImageMagick}, ::Images.ImageCmap{Color.RGB{T<:Union{AbstractFloat, FixedPointNumbers.FixedPoint}},2,Array{UI

[julia-users] fork (multitasking, not SW)?

2015-08-20 Thread Andreas Lobinger
Hello colleagues, i'd like to ask for som pointers (in documentation or example which already use/do this) for the following concept: fork processing (one shot) while continue running a program. Maybe multitasking, maybe multithreading, but what i want to do is to spin off some calculations at

[julia-users] Re: ANN: PLplot.jl

2015-08-23 Thread Andreas Lobinger
On Sunday, August 23, 2015 at 1:47:06 PM UTC+2, Sisyphuss wrote: > > I hope this package can be based on the data structure `AbstractArray` > instead of `DataFrame`. > Can you provide some background why and where's the problem with DataFrame in which plotting package?

[julia-users] Re: ANN: PLplot.jl

2015-08-24 Thread Andreas Lobinger
I had overlooked this: On Sunday, August 23, 2015 at 6:34:38 AM UTC+2, wil...@gmail.com wrote: > > > I currently wrapped routings which cover basic functionality and allow to > run most of examples. I've tried to make a Gadfly backend but unfortunately > the way PLplot works with colors makes it

[julia-users] Re: ANN: PLplot.jl

2015-08-24 Thread Andreas Lobinger
On Monday, August 24, 2015 at 3:48:03 PM UTC+2, Daniel Carrera wrote: > > > On Sunday, 23 August 2015 15:53:37 UTC+2, Andreas Lobinger wrote: >> >> >> Can you provide some background why and where's the problem with >> DataFrame in which plotting packa

Re: [julia-users] Protect Julia Code against reverse engineering / copying

2015-08-27 Thread Andreas Lobinger
Hello, is there some docu available on build_exec and similar. I've tried now a few times, but failed a few times like LoadError(at "sysimg.jl" line 319: LoadError(at "/home/lobi/julia04/base/userimg.jl" line 1: LoadError(at "/home/lobi/juliarepo/s1.jl" line 7: UndefVarError(var=:STDOUT

[julia-users] Re: Trivia question: Quaternions (ℍ), Octonions (𝕆), Sedenions (𝕊) etc. numbers are not supported, but are the in libraries or needed? And complex, vs. in others, say MATLAB..

2015-08-28 Thread Andreas Lobinger
> > > that is the right thing. I wander what MATLAB does, since all numbers(?) > are stored as complex. 0im special cased? > yes. Only real part is compared, if you need abs(a) > abs(b) or similar.

[julia-users] Re: Tk (Cairo) Canvas not scrollable?

2015-09-02 Thread Andreas Lobinger
Hello colleague, On Tuesday, September 1, 2015 at 8:17:18 PM UTC+2, Dömötör Gulyás wrote: > > I'm trying to build a scrollable Cario canvas in a Tk GUI, but I keep > getting "TclError("unknown option -xscrollcommand")" trying to add the > scrollbars, apparently the canvas is a frame ("winfo clas

[julia-users] Re: Tk (Cairo) Canvas not scrollable?

2015-09-02 Thread Andreas Lobinger
Hello colleagues, i was actually a little bit surprised that this using Gtk w = Gtk.@GtkWindow("a1",400,300) c = Gtk.@GtkCanvas(2300,2800); w2 = Gtk.@GtkScrolledWindow(c); push!(w,w2) show(w) show(c) show(w2) using Cairo

Re: [julia-users] The new Dict syntax in 0.4 is very verbose

2015-09-03 Thread Andreas Lobinger
I have to admit i didn't follow this discussion although i'm a big fan of structuring data into Dicts. I still understood http://julialang.org/blog/2012/02/why-we-created-julia/ as somehow setting the tone for Julia as a language. And i find > We want something as usable for general programm

[julia-users] Re: rownames in data matrices

2015-09-08 Thread Andreas Lobinger
Hello colleague, in the first order i think this could be emulated by a dictionary mapping the row name to an index into a matrix or DataFrame. Afaics calling this a 'misfeature' comes from trying to make a matrix datatype that has row names by default and many people with numerics/engineerin

[julia-users] Re: Pango Font calls - guidance on coding with an eye to adding to Cairo.jl

2015-09-13 Thread Andreas Lobinger
Hello colleague, 1 - you miss that actually Cairo.jl defines text setting with the 'toy' interface and setting via pangocairo. text uses a pango layout, set_text uses the cairo-only interface. I think used both already and fed fontfiles into pango. 2 - maybe/maybe not. In general i'd rather sp

[julia-users] Re: Pango Font calls - guidance on coding with an eye to adding to Cairo.jl

2015-09-14 Thread Andreas Lobinger
I think the \040 is an octal SPACE (hex:20, dec: 32) and might be handled differently when in text/labels. btw: Are you aware of Luxor.jl (https://github.com/cormullion/Luxor.jl)?

[julia-users] Re: Pango Font calls - guidance on coding with an eye to adding to Cairo.jl

2015-09-14 Thread Andreas Lobinger
On Monday, September 14, 2015 at 4:21:16 PM UTC+2, cormu...@mac.com wrote: > > Drawing.jl looks more sophisticated -- I might switch to it myself :) I > suppose the experts use Cairo or Compose directly, so the focus of these > type of packages should be on ease of use/simplicity... I'm using

[julia-users] Re: Anti-Grain Geometry and other alternatives

2015-09-15 Thread Andreas Lobinger
Hello colleague, On Tuesday, September 15, 2015 at 6:01:37 PM UTC+2, Tom Breloff wrote: > > Does anyone in the community have experience with Anti-Grain Geometry as > an alternative to Cairo? > > http://www.antigrain.com/ > > I know very little about it, but it could possibly be faster and more

Re: [julia-users] [ANN] Plots.jl, a plotting interface

2015-09-15 Thread Andreas Lobinger
On Monday, September 14, 2015 at 4:50:29 PM UTC+2, Daniel Carrera wrote: > > Hi Randy, > > To be clear, interactivity (as I understand it) is not something I want or > would use. I need to change the plot settings programmatically so I can > reproduce the exact same plot later if I need to. >

Re: [julia-users] Re: Anti-Grain Geometry and other alternatives

2015-09-15 Thread Andreas Lobinger
o many core dumps that happen within Cairo over my > career. They may not be Cairo's fault, but I've just gotten it in my head > that it can be a little unstable at times. YMMV > > On Wed, Sep 16, 2015 at 1:21 AM, Andreas Lobinger > wrote: > >> >> On T

[julia-users] test_error in running finalizer: Base.KeyError ?

2015-09-17 Thread Andreas Lobinger
Hello colleagues, i get (sometimes) and only on v0.4 this error: lobi@orange4:~/juliarepo$ ../julia04/julia _ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_)| Documentation: http://docs.julialang.org _ _ _| |_ __ _ | Type "?help"

Re: [julia-users] Where do they come from: jl_uv_writecb() ERROR: bad file descriptor EBADF

2015-09-17 Thread Andreas Lobinger
In the issue it is mentioned, that this should go away with something in the deprecation warning. I just got the same as above with a recent v0.4.0-rc1 but only sometimes. Should i just post to the closed issue, or open my own?

Re: [julia-users] Where do they come from: jl_uv_writecb() ERROR: bad file descriptor EBADF

2015-09-17 Thread Andreas Lobinger
still have that problem or one of your own finalizers writes to > STDOUT. > > On Thursday, September 17, 2015 at 5:40:24 PM UTC+10, Andreas Lobinger > wrote: >> >> In the issue it is mentioned, that this should go away with something in >> the deprecation warnin

Re: [julia-users] Where do they come from: jl_uv_writecb() ERROR: bad file descriptor EBADF

2015-09-17 Thread Andreas Lobinger
On Thursday, September 17, 2015 at 10:54:29 AM UTC+2, Jameson wrote: > > If RsvgHandle is a GObject object then, yes, it's almost certainly trying > to write to STDERR that it detected a double-free error (GObject handles > are finalized automatically by GLib.jl, so calling gc_unref manually wi

Re: [julia-users] Where do they come from: jl_uv_writecb() ERROR: bad file descriptor EBADF

2015-09-18 Thread Andreas Lobinger
This seems to be even more complicated, the Glib instance provided by Gtk and the glib imported at librsvg might not be the same. On Thursday, September 17, 2015 at 6:02:47 PM UTC+2, Andreas Lobinger wrote: > > > > On Thursday, September 17, 2015 at 10:54:29 AM UTC+2, Jameson wro

[julia-users] "WARNING: Base.String is deprecated, use AbstractString instead" en masse

2015-09-25 Thread Andreas Lobinger
Hello colleagues, the warning is quite nice, but a location would be nicer. How can i track down, which line triggered the warning? Wishing a happy day, Andreas

Re: [julia-users] "WARNING: Base.String is deprecated, use AbstractString instead" en masse

2015-09-25 Thread Andreas Lobinger
On Friday, September 25, 2015 at 2:52:43 PM UTC+2, Yichao Yu wrote: > > On Fri, Sep 25, 2015 at 8:25 AM, Andreas Lobinger > wrote: > > Hello colleagues, > > > > the warning is quite nice, but a location would be nicer. How can i > track > > down, which l

Re: [julia-users] Why is String deprecated in favour of AbstractString?

2015-09-27 Thread Andreas Lobinger
On Sunday, September 27, 2015 at 11:30:59 AM UTC+2, Gabor wrote: > > Of course, if you need Greek characters, then use UTF8String, > I used ASCIIString just for filenames > And if you encounter a filesystem that supports Unicode file names?

[julia-users] Re: What's the reason of the Success of Python?

2015-09-30 Thread Andreas Lobinger
Hello colleagues, On Tuesday, September 29, 2015 at 11:30:19 AM UTC+2, Sisyphuss wrote: > > While waiting Julia 0.4 stabilizing, let's do some brainstorming. > btw: it's not "waiting for Julia 0.4 stabilizing", the correct thing is: While we test release candidates of Julia 0.4 to help it stabil

[julia-users] metaprogramming, building full Expr

2015-09-30 Thread Andreas Lobinger
Hello colleagues, one of the USPs of julia is (should be) metaprogramming i.e. creating programs by running other programs. I'm playing around with Expr to create functions, but this look more complicated than the actual job... # three versions function f1(x::Int64) x+31 end function

[julia-users] function form of using/import

2015-10-01 Thread Andreas Lobinger
Hello colleagues, i just stumbled across julia> using Compose INFO: Precompiling module Compose... WARNING: `require` is deprecated, use `using` or `import` instead in depwarn at deprecated.jl:73 [inlined code] from deprecated.jl:693 in require at no file:0 in isinstalled at /home/lobi/.juli

[julia-users] Re: function form of using/import

2015-10-01 Thread Andreas Lobinger
On Thursday, October 1, 2015 at 8:21:34 PM UTC+2, Steven G. Johnson wrote: > > > On Thursday, October 1, 2015 at 4:36:07 AM UTC-4, Andreas Lobinger wrote: >> >> but afaics there is no replacement of require (in using or import) that >> enables this - importing fr

[julia-users] Re: GSOC 3D Visualizations plotting API - Make a wish!

2014-05-19 Thread Andreas Lobinger
On Monday, May 19, 2014 5:40:43 PM UTC+2, Job van der Zwan wrote: > > A library that would allow me to just feed a set of points at once, which > would then return the Voronoi cells and their vertices would be ideal for > this particular use-case, but I haven't found any (they mostly focus on

Re: [julia-users] GSOC 3D Visualizations plotting API - Make a wish!

2014-05-19 Thread Andreas Lobinger
Hello colleague, i really like the idea of splitting the instruction to plot to a what-where-how style. So an interface like plot(my_data[:,3:6],picture2, "marker with red outline"). Actually i'm testing some ideas to define "marker with red outline" in some sort of domain specific language - l

[julia-users] Re: GSOC 3D Visualizations plotting API - Make a wish!

2014-05-19 Thread Andreas Lobinger
Hello colleague, things that i would like to see in a plotting tool: 1) If it's interactive, somehow record the interactions. Like in a list "panned to 0,30,200; zoomed to .22; moved view axis to 0,22,-100; highlight dataset 2" etc. and have to counterpart available that all actions you do on

[julia-users] Re: Why do macros use the @ sign?

2014-05-20 Thread Andreas Lobinger
Hi, On Tuesday, May 20, 2014 3:13:15 PM UTC+2, Ivar Nesje wrote: > > Macros are somewhat weird and a somewhat weird syntax seems appropriate in > my opinion. A macro is very different from a function, and a syntax that > sets it clearly visually apart is a good thing. > In your opinion. A macro

Re: [julia-users] Re: how to apply vector on diagonal of matrix ?

2014-05-21 Thread Andreas Lobinger
Hello colleague, On Wednesday, May 21, 2014 7:33:01 AM UTC+2, Andreas Noack Jensen wrote: > > Please consider b += Diagonal(c) instead of diagm. Diagonal(c) only stores > the diagonal elements but works like diagm(c) for matrix arithmetic > > Vectorized code is always easier to understand > > > T

Re: [julia-users] Re: how to apply vector on diagonal of matrix ?

2014-05-21 Thread Andreas Lobinger
Hello colleague, On Wednesday, May 21, 2014 2:55:34 PM UTC+2, Tim Holy wrote: > > I agree that vectorizing is very nice in some circumstances, and it will > be > great if Julia can get to the point of not introducing so many > temporaries. > (Like Tobi, I am not convinced this is an easy probl

Re: [julia-users] Re: how to apply vector on diagonal of matrix ?

2014-05-21 Thread Andreas Lobinger
Hello colleague, On Wednesday, May 21, 2014 3:41:53 PM UTC+2, Tobias Knopp wrote: > > Julia does have high level SIMD constructs. > But again, does Matlab avoid temporaries in vectorized expressions? > I dont't know, but my matlab experience (and i belong to the group of profile users and my uni

Re: [julia-users] Re: Waterloo Graphics for Julia?

2014-05-24 Thread Andreas Lobinger
Hello colleague, On Saturday, May 24, 2014 2:39:49 PM UTC+2, Stefan Karpinski wrote: > > This seems pretty tenuously related to Julia and a lot like an ad. > Still, it raises the question about an easy way to interface julia + java (JVM).

[julia-users] Re: PEG Parser

2014-05-26 Thread Andreas Lobinger
Hello colleagues, just as i read it: On Monday, May 26, 2014 9:41:26 AM UTC+2, harven wrote: > > If you are interested by testing your library on a concrete problem, you > may want to parse comma separated value (csv) files. The bnf is in the > specification RFC4180. http://tools.ietf.org/html/

[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

Re: [julia-users] Re: Accuracy of timing macros

2014-06-02 Thread Andreas Lobinger
Hello colleague, On Monday, June 2, 2014 7:01:25 AM UTC+2, Jameson wrote: > > Unless you have custom-compiled a near-realtime (or realtime) linux > kernel, timing anything less than a few seconds (in aggregate) is unlikely > to give you a meaningful result. Although, even if you have a RT kernel

Re: [julia-users] Accuracy of timing macros

2014-06-04 Thread Andreas Lobinger
Hello colleague, On Wednesday, June 4, 2014 4:36:12 AM UTC+2, John Myles White wrote: > > I’m not sure there’s any single correct way to do benchmarks without > information about what you’re trying to optimize. > > If you’re trying to optimize the experience of people using your code, I > think

Re: [julia-users] Rounding and the IEEE rule

2014-06-04 Thread Andreas Lobinger
Hello colleagues, On Thursday, June 5, 2014 2:41:51 AM UTC+2, Stefan Karpinski wrote: > > It could, but it shouldn't. The rounding mode and how you round to > integers are completely different matters. > > Yes. If you deal with floating point numbers in signal processing or other system modelin

Re: [julia-users] Realistic Medium-Long Term Hopes for Julia Speed vs Fortran

2014-06-05 Thread Andreas Lobinger
@all: Are there any LLVM based fortran compilers around?

[julia-users] Re: Realistic Medium-Long Term Hopes for Julia Speed vs Fortran

2014-06-06 Thread Andreas Lobinger
Hello, On Friday, June 6, 2014 3:02:43 PM UTC+2, Reid Atcheson wrote: > > An important thing to factor in here as well is developer time. With Julia > you can arrive at a prototype functional code in far less developer time > than with C/Fortran. From there you can iterate on the code once you h

[julia-users] Re: animation using Gtk+/Cairo

2014-06-17 Thread Andreas Lobinger
Hello colleague, i'm doing Gtk(2)+cairo animations (in python to admit it) in a different context and i have done it using the gtk main loop and glib timers; but i had to put some effort into making the animation fast, so not to interfere with the gtk main for too long. In the Gtk.jl afaiu the

[julia-users] installation behind a few walls

2014-06-23 Thread Andreas Lobinger
Hello colleagues, initially this was: https://groups.google.com/forum/?fromgroups#!topic/julia-dev/BHAfR0PxEHo I have managed to set my/our http proxy for the git. So this works: D:\addprogram\Julia 0.3.0-prerelease>julia.lnk _ _ _ _(_)_ | A fresh approach to technic

Re: [julia-users] installation behind a few walls

2014-06-24 Thread Andreas Lobinger
Hello colleague, On Wednesday, June 25, 2014 4:59:21 AM UTC+2, Isaiah wrote: > > Hi Andreas, > > Unfortunately this seems like it might indeed be a proxy issue. A quick > google gives some results indicating that other people have experienced > similar issues when the size of a commit exceeds th

Re: [julia-users] installation behind a few walls

2014-06-25 Thread Andreas Lobinger
Looks like, i'm not alone: https://github.com/JuliaLang/julia/issues/7374

[julia-users] julia 0.3 prerelease, Windows, problems to start?

2014-07-08 Thread Andreas Lobinger
d:\addprogram\Julia 0.3.0-prerelease>julia.lnk ERROR: stat: connection reset by peer (ECONNRESET) d:\addprogram\Julia 0.3.0-prerelease>julia.lnk _ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_)| Documentation: http://docs.julialang.org

[julia-users] Re: julia 0.3 prerelease, Windows, problems to start?

2014-07-08 Thread Andreas Lobinger
Little bit better, but still not there... On Tuesday, July 8, 2014 11:26:40 AM UTC+2, Willy Heineman wrote: > > Try one of the newer builds (last week or less). This issue was addressed > in https://github.com/JuliaLang/julia/issues/5574 > > D:\addprogram\Julia-0.3.0-prerelease>julia.lnk

Re: [julia-users] Re: julia 0.3 prerelease, Windows, problems to start?

2014-07-08 Thread Andreas Lobinger
Thanks for the question. On Tuesday, July 8, 2014 4:38:15 PM UTC+2, Jameson wrote: > > Please open a github issue. What is your %HOMEDRIVE%%HOMEPATH%? > > afaics (i'm not really a windows commandline user, i use cygwin for that) HOMEPATH=\ HOMEDRIVE=H: and as you can assume, H: is only availabl

Re: [julia-users] Re: julia 0.3 prerelease, Windows, problems to start?

2014-07-11 Thread Andreas Lobinger
Just in case you are interested: On Tuesday, July 8, 2014 7:39:46 PM UTC+2, Andreas Lobinger wrote: > > > How can i choose the directories at installation time (to make sure H: > isn't used)? > I set the HOMEDRIVE to d: (in cmd.exe SET HOMEDRIVE=d:), called the installer

[julia-users] library called by ccall

2014-07-11 Thread Andreas Lobinger
Hello colleagues, i'm trying to debug a strange case where ccall-s by julia fail (with an error message from the called function) and the implementation in C succeeds. My first guess is, that actually different versions of a libXXX.so are called. How can i read which library julia is accessing?

Re: [julia-users] library called by ccall

2014-07-11 Thread Andreas Lobinger
Hello, On Saturday, July 12, 2014 6:41:10 AM UTC+2, Elliot Saba wrote: > > A more straightforward approach than Sys.dllist() is to use > Sys.dlpath(handle) where handle is the result of a call to dlopen(). > -E > the Sys.dlist() is already helpful. So how can i track down who calls dlopen for w

Re: [julia-users] Re: build-in function to find inverse of a matrix

2014-07-17 Thread Andreas Lobinger
Hello colleague, On Thursday, July 17, 2014 6:25:27 AM UTC+2, Stefan Karpinski wrote: > > It's a bit of numerical computing lore that inv is bad – both for > performance and for numerical accuracy. It turns out it may not be so bad > after all, but everyone

[julia-users] How to overcome versioning issues?

2014-07-21 Thread Andreas Lobinger
Hello colleagues, i just filed an issue to Gtk (because a basic functionality; getting the cairo context for a canvas; somehow doesn't work, at least in my environment, and it did in former times) and i'd bet a bottle of tomato ketchup on it: For sure it will be solved by git pulling the 'right

[julia-users] Re: How to overcome versioning issues?

2014-07-22 Thread Andreas Lobinger
Hello colleagues, On Monday, July 21, 2014 4:53:17 PM UTC+2, Tomas Lycken wrote: > > I think this problem must be resolved by better practices among package > maintainers: in short, the goal must be that as long as you only use (the > latest) tagged versions of any packages, everything should Ju

[julia-users] associative property of export/include/import?

2014-07-22 Thread Andreas Lobinger
Hello colleagues, i was for some time under the impression, that the exact sequence of imports do not matter (let's say, i hoped) as the definitions of types and functions are cumulative, modules should be self contained and use require where needed. Today: lobi@maroon:~/juliarepo$ ../julia/j

[julia-users] Re: associative property of export/include/import?

2014-07-22 Thread Andreas Lobinger
Hello colleague, On Tuesday, July 22, 2014 12:30:55 PM UTC+2, Ivar Nesje wrote: > > The problem is that both Gtk and Gadfly exports a draw function. > Internally those are scoped by module so that their name is Gadfly.draw() > and Gtk.draw(), and you can call them as such in your code. We can't

Re: [julia-users] Re: associative property of export/include/import?

2014-07-23 Thread Andreas Lobinger
Hello collague, On Tuesday, July 22, 2014 4:25:46 PM UTC+2, Mauro wrote: > > > I agree that there should be some means of resolving conflicts (by > warning, > > by precedence) but just dropping a whole set of methods because they > > conincidentially have the same name AND at the same time adve

  1   2   3   4   >