[julia-users] ASTs of complete modules/packages?

2016-09-23 Thread Andreas Lobinger
Hello colleagues, i'm playing around with some ideas for testing and i searching for something like this: * read-in (from the original file or via name) a complete module (or package) * transform/parse to AST * insert additional Expr/code in dedicated places (to count calls etc.) * eval, so the

[julia-users] Re: ASTs of complete modules/packages?

2016-09-25 Thread Andreas Lobinger
Hello colleague, On Monday, September 26, 2016 at 12:50:44 AM UTC+2, Cedric St-Jean wrote: > > I faced very similar issues with ClobberingReload.jl. > https://github.com/cstjean/ClobberingReload.jl/blob/master/src/ClobberingReload.jl > Check > out parse_file (courtesy of @stevengj), parse_modul

[julia-users] Re: Broken PyPlot... need to revert to a previous version asap.

2016-09-29 Thread Andreas Lobinger
Hello colleague, On Thursday, September 29, 2016 at 9:36:43 AM UTC+2, Ferran Mazzanti wrote: > > Nobody is using PyPlot under OSX, please? > your description of the error/failure is quite broad. Please file an issue to the package and provide details. I'm not a OSX user (and also not pyplot), b

[julia-users] Re: What is best practice for determining if a URL exists?

2016-10-06 Thread Andreas Lobinger
I haven't used it, but https://github.com/JuliaWeb/Requests.jl looks reasonable On Thursday, October 6, 2016 at 2:01:54 PM UTC+2, Jeffrey Sarnoff wrote: > > ok, how (within Julia)? > > On Thursday, October 6, 2016 at 6:19:00 AM UTC-4, Johan Sigfrids wrote: >> >> I would probably do a HTTP HEAD re

[julia-users] Re: Julia and the Tower of Babel

2016-10-07 Thread Andreas Lobinger
Hello colleague, On Friday, October 7, 2016 at 5:35:46 PM UTC+2, Gabriel Gellner wrote: > > Something that I have been noticing, as I convert more of my research code > over to Julia, is how the super easy to use package manager (which I love), > coupled with the talent base of the Julia communi

[julia-users] Re: Linux distributions with Julia >= 0.5.0

2016-10-08 Thread Andreas Lobinger
Hello colleague, On Saturday, October 8, 2016 at 12:23:00 PM UTC+2, Femto Trader wrote: > > my main development environment is under Mac OS X > but I'm looking for a Linux distribution (that I will run under VirtualBox) > that have Julia 0.5.0 support (out of the box) > > Even Debian Sid is 0.4.7

[julia-users] @testset in v0.4 testing?

2016-10-08 Thread Andreas Lobinger
Hello colleagues, it's quite nice to structure testing with @testset in v0.5 (and higher), but it doesn't exist in 0.4. And it's not expected to be backported. Could Compat be a place for this? Or just build two blocks (>0.4 and <= v0.4) in runtests.jl ?

[julia-users] Re: How to convert a jpeg base64 encoded string to Image

2016-10-13 Thread Andreas Lobinger
Why does stringmime("image/png" produce jpeg? On Thursday, October 13, 2016 at 7:44:42 AM UTC+2, love...@gmail.com wrote: > > I have some jpeg images saved as base64 encoded strings (such strings can > be produced by ```stringmime("image/png", convert(Image, rand(5,5)))``` > using Images.jl). bu

[julia-users] Re: [Announcement] Moving to Discourse (Statement of Intent)

2016-11-06 Thread Andreas Lobinger
Hello colleague, On Tuesday, November 1, 2016 at 2:43:50 PM UTC+1, Valentin Churavy wrote: > > The Julia community has been growing rapidly over the last few years and > discussions are happening at many different places: there are several > Google Groups (julia-users, julia-dev, ...), IRC, Gitt

[julia-users] event based simulation / protocol simulator (in julia)

2015-01-20 Thread Andreas Lobinger
Hello colleagues, i scanned the usual sources, but didn't find a clear answer. Is there any project looking at using julia to build a protocol simulator? Wishing a happy day, Andreas P.S. I'm not a protocol expert ...

[julia-users] Re: poly2mask in Julia?

2015-01-26 Thread Andreas Lobinger
Hello colleagues, i think you could do (if i get the upper description correctly) just setup a grid of points and feed it through something like inpolygon - might be not the optimized case, but should work. There have been questions about that here (i know, because i posted code) before. But i

[julia-users] Re: Writing a configuration file through templating

2015-01-28 Thread Andreas Lobinger
Hello colleague, it would be interesting to hear, what you miss from what plotting package. And why you decided to spend time/code for interfacing, rather than contributing to available packages. If thinking now for some time about plotting with julia and apart from the obvious usability and

[julia-users] Re: Quantitative Economics with Julia (great PDF doc)

2015-02-11 Thread Andreas Lobinger
1) is it julia 0.3 or 0.4 centric? 2) ... it's a nice description of statistics and statistical models, but why do they call this economics?

Re: [julia-users] Re: Quantitative Economics with Julia (great PDF doc)

2015-02-11 Thread Andreas Lobinger
this falls under SCNR and is some kind of insider joke. Economics was for long time (and successfully) a social sciences. Economic problems were e.g. Unemployment or Market Failure. Nowadays this Quantitative Economics view drives topics like HFT where they intentionally create market failure .

[julia-users] Re: Problems using Winston in fresh OSX install

2015-02-13 Thread Andreas Lobinger
Hello colleague, first of all it's not a bad idea to raise this as issue on Winston.jl itself: https://github.com/nolta/Winston.jl/issues and btw this here looks similar: https://github.com/nolta/Winston.jl/issues/204 afaik getgc methods are usually located in the drawing libraries (like Cairo

[julia-users] Re: Julia Notebook Graphics Problems

2015-02-14 Thread Andreas Lobinger
Hello colleague, looks like: https://github.com/nolta/Winston.jl/issues/203 and https://github.com/nolta/Winston.jl/pull/202

Re: [julia-users] isa should be user friendlier

2015-02-18 Thread Andreas Lobinger
This is a little bit out-of-context, but could you qualify this a little bit more? On Tuesday, February 17, 2015 at 5:07:03 PM UTC+1, Tim Holy wrote: > > This has nothing to do with isa. In julia, a scalar is different from a 1- > element array. Matlab doesn't make that distinction, because in M

[julia-users] getting into a clean state (Errors on Gtk and Winston)

2015-02-19 Thread Andreas Lobinger
Hello colleagues, Gtk 0.8.0 seems to be seriously broken - at least on my box. I try to checkout v0.7.10. Then Winston is in this missing-Graphics-package stage. Can someone please share the steps needed to get Gtk back to displaying windows again (and not segfaulting when closing) AND Winston t

[julia-users] Re: getting into a clean state (Errors on Gtk and Winston)

2015-02-21 Thread Andreas Lobinger
Hello colleagues, thanks for the hints per email. I somehow reached stability by * back to julia 0.3.6 * Gtk v0.7.10 * Winston at master but replacing ctx = Gtk.getgc(c) in line 16 of src/gtk.jl Wishing a happy day, Andreas

Re: [julia-users] isa should be user friendlier

2015-02-21 Thread Andreas Lobinger
Hello colleague, i guess we cannot reach a conclusion, but 1. i couldn't see the difference between scalars and matrices of 1x1 in your example. And btw: mysum simply does not make sense; in any case i'd expect a sum operator within the language (which is pretty efficient in Matla

[julia-users] Re: Matlab keyboard command in Julia?

2015-02-22 Thread Andreas Lobinger
Hello colleague, ... using which definition of 'soon'? On Sunday, February 22, 2015 at 9:49:30 AM UTC+1, Viral Shah wrote: > > It is not good as having a real debugger (coming soon), but perhaps it may > get you started. > > -viral >

[julia-users] Re: Bokeh.jl update released: call for feedback

2015-02-24 Thread Andreas Lobinger
Hello colleague, could you elaborate a little bit on this: On Monday, February 23, 2015 at 11:21:31 PM UTC+1, Simon Danisch wrote: > > Also I'm slowly moving forward with an opengl accelerated 2D drawing api, > which will be really awesome (possibly a lot faster than other libraries, > includin

[julia-users] Re: Bokeh.jl update released: call for feedback

2015-02-24 Thread Andreas Lobinger
[Note to myself: Choose carefully in which window to press the post button.] ...Again... So if i can make a suggestion for you project: Try to stay as close as possible to the Cairo API. There are already too many (fast) 2D drawing APIs around. And people keep inventing (e.g. https://www.bassi.

Re: [julia-users] Bokeh.jl update released: call for feedback

2015-02-24 Thread Andreas Lobinger
Hello collea *gue,* On Tuesday, February 24, 2015 at 11:17:44 AM UTC+1, Eric Forgy wrote: > > On Tuesday, February 24, 2015 at 3:19:17 AM UTC+8, Samuel Colvin wrote: >> >> (and saying someone mildly antagonistic to kick off some debate, sorry). >> > > Hehe. I can't resist :) > > One of the nice th

Re: [julia-users] Bokeh.jl update released: call for feedback

2015-02-25 Thread Andreas Lobinger
Hello colleague, On Tuesday, February 24, 2015 at 4:32:56 PM UTC+1, Samuel Colvin wrote: > > I've just read you post and done a double take. > > You're suggesting in the medium term future that the only browsers > available will either not be able to execute js or won't have a rendering > engine

Re: [julia-users] Bokeh.jl update released: call for feedback

2015-02-25 Thread Andreas Lobinger
Hello colleague, On Tuesday, February 24, 2015 at 4:37:04 PM UTC+1, Simon Danisch wrote: > > Well, sticking to the Cairo API is not an option, quite frankly. > I want to create something completely interactive at high speeds. I want > to see, if I can actually compile parts of my event tree comp

[julia-users] Re: using Gadfly and PyPlot at the same time

2015-03-06 Thread Andreas Lobinger
Hello colleague, On Friday, March 6, 2015 at 2:05:19 PM UTC+1, Andrei Berceanu wrote: > > Hi guys, > > when I do > > using Gadfly, PyPlot > > i get > > Warning: using PyPlot.plot in module Main conflicts with an existing > identifier. > > And other warning of the same type. How can I solve this

[julia-users] search for files along path

2015-03-14 Thread Andreas Lobinger
Hello colleagues, is there a simple method to search for data files (so not code) along a given path? data_path = ['/usr/local_data','/opt/all_data'] f = find_file("a.data",data_path); Wishing a happy day, Andreas

Re: [julia-users] Re: indexing with non Integer Reals is deprecated

2015-03-16 Thread Andreas Lobinger
On Monday, March 16, 2015 at 8:46:36 AM UTC+1, Christoph Ortner wrote: > > > I agree it is easy to learn, but numerical analysts are *not* computer > scientists, nor should they be expected to be. > >From wikipedia i read: Numerical analysis is the study of algorithms

[julia-users] ambiguous Pkg.status()?

2015-04-03 Thread Andreas Lobinger
Hello colleagues, why do i get different status? julia> Pkg.status() 12 required packages: - Autoreload0.2.0 - Cairo 0.2.26 - Clang 0.0.5 - Debug 0.1.2 - Docile0.4.8 - Gadfly

Re: [julia-users] ambiguous Pkg.status()?

2015-04-03 Thread Andreas Lobinger
No ... (note to myself: mark backups with non-ambiguous names) Thank you. (i wasn't aware of Pkg.dir()).

Re: [julia-users] Re: Qwt plotting

2015-04-25 Thread Andreas Lobinger
Hello colleague, On Saturday, April 25, 2015 at 5:03:15 PM UTC+2, Tim Holy wrote: > > From the tiny bit I've used Qwt...it was quite a lot faster (5x?) than > Cairo- > based plotting. > > Can you give more details?

[julia-users] the state of GUI toolkits?

2015-04-28 Thread Andreas Lobinger
Hello colleagues, what is status of availability and usecases for GUI toolkits. I see Tk and Gtk on the pkg.julialang.org. Gtk has the tag 'doesn't load' from testing, Tk seems OK. In a recent discussion here, Tim Holy mentioned himself tesing Qwt and Qt in general seem to be a testcase for Cxx

Re: [julia-users] the state of GUI toolkits?

2015-04-30 Thread Andreas Lobinger
Hello colleagues, On Tuesday, April 28, 2015 at 1:11:17 PM UTC+2, Tim Holy wrote: > > Also, on 0.3 Gtk loads just fine for me. Not sure why it's not working on > PkgEvaluator. > That it works for you and (assumingly) others in the Gtk.jl development i already learned from the local issue discu

Re: [julia-users] the state of GUI toolkits?

2015-04-30 Thread Andreas Lobinger
Hello collegue, On Tuesday, April 28, 2015 at 11:11:27 AM UTC+2, Tim Holy wrote: > > Here's one vote for Gtk. Currently it might need some love to fix up for > recent > julia changes---presumably you (or someone) could fix it up in a couple of > hours. > i already spend some time looking into

[julia-users] Re: the state of GUI toolkits?

2015-04-30 Thread Andreas Lobinger
Hello colleague, On Wednesday, April 29, 2015 at 9:52:40 AM UTC+2, Steven Sagaert wrote: > > I'd love to see a Qt5/QML wrapper. I find Qt5 superior to Gtk. Also it's > available on more platforms (mobile). > Looking at the technology (and the claims) of Qt5 i'd also prefer a working Qt5 adaptat

[julia-users] Re: the state of GUI toolkits?

2015-05-01 Thread Andreas Lobinger
just for the record: On Friday, May 1, 2015 at 11:07:53 AM UTC+2, Steven Sagaert wrote: > > The advantage of doing the "modern" way is that you then can also use GUI > design tools like Qt Quick designer to graphically do your GUI layout, let > it generate QML and you can just copy paste that in

[julia-users] Re: the state of GUI toolkits?

2015-05-05 Thread Andreas Lobinger
Hello colleagues, just a few words. I started the thread to get an overview of what's available and to decide for myself where i'll spend time (when available). And it's interesting what others perceive as possible solutions. I think the main part of the story is: We still need more infrastuctur

[julia-users] Re: the state of GUI toolkits?

2015-05-05 Thread Andreas Lobinger
So if you want spend time on interfacing Qt, just get your CXX working and take your Qt manual and hack away. Some people might argue their programming skills are not enough, but believe me: Julia is a quite nice laboratory for library interfacing.

[julia-users] Re: String performance in Julia

2015-05-12 Thread Andreas Lobinger
One thing, since i read the PR, isn't this something you could get from a library? Re-implementing the whole UTF-X/UTF-Y zoo looks like re-inventing the wheel.

[julia-users] Re: (Faster?) interactive image overlays with PyPlot and Interact

2015-05-15 Thread Andreas Lobinger
Hello colleague, On Thursday, May 14, 2015 at 11:24:49 AM UTC+2, Andrew Gibb wrote: > > I'd like to create an interactive tool which draws a circle over an image. > Sliders will enable the radius and centre position of the circle to be set. > The following code works, but is very slow: > > using

[julia-users] Re: Why does language X beat Julia?

2015-05-15 Thread Andreas Lobinger
Hello colleague, On Friday, May 15, 2015 at 12:08:10 PM UTC+2, Páll Haraldsson wrote: > > > Do I need to be worried? My guess is 0.4 might be faster and maybe already > be faster in all the cases below (do you know?): > i'm allowed to write that, because i already did my share in benchmarking s

[julia-users] known, working, recent examples for Clang.jl?

2015-05-17 Thread Andreas Lobinger
Hello colleagues, i seem to have problems with Clang.jl (master, on 0.4dev). The listed or included examples give me all kind of 'deprecated' or missing warnings and errors. I recognize, that all the underlying technology are not really easy to understand, still i'm looking for an out-of-the-bo

Re: [julia-users] known, working, recent examples for Clang.jl?

2015-05-17 Thread Andreas Lobinger
On Sunday, May 17, 2015 at 4:44:29 PM UTC+2, Tim Holy wrote: > > I don't know if it's currently working, but CUDArt has a Clang script that > was > working a couple of months ago. > > Thank you. I wasn't looking into it, because i'm not part of the CUDA club, but the structure helped me start

Re: [julia-users] known, working, recent examples for Clang.jl?

2015-05-18 Thread Andreas Lobinger
On Sunday, May 17, 2015 at 7:06:34 PM UTC+2, Isaiah wrote: > > > (please file issues...) > Just a side question: If i run wrap_c on one of the larger system libraries (e.g. X11.h) and get an error; is it more likely it uses a rather esoteric cpp features (and therefore isn't covered in the curr

[julia-users] Re: Winston package problem

2015-05-21 Thread Andreas Lobinger
Probably related: https://github.com/nolta/Winston.jl/issues/220

[julia-users] debugging import conflicts?

2015-05-22 Thread Andreas Lobinger
Hello colleagues, maybe it's obvious, how do i track down import conflicts (not in my code)? I have here _ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_)| Documentation: http://docs.julialang.org _ _ _| |_ __ _ | Type "help()" f

[julia-users] fatal: 'XCB' does not appear to be a git repository, i tend to disagree...

2015-05-24 Thread Andreas Lobinger
Hello colleagues, might be a glitch somewhere, a missing file, a missing information... lobi@orange4:~/juliarepo$ ../julia04/julia _ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_)| Documentation: http://docs.julialang.org _ _ _| |_

[julia-users] Re: fatal: 'XCB' does not appear to be a git repository, i tend to disagree...

2015-05-24 Thread Andreas Lobinger
Not a julia problem, git config and connection problems... Still, i wonder if Pkg.update() should stop in this case.

[julia-users] Re: fatal: 'XCB' does not appear to be a git repository, i tend to disagree...

2015-05-24 Thread Andreas Lobinger
Drop my previous comment... lobi@orange4:~/juliarepo$ ../julia04/julia _ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_)| Documentation: http://docs.julialang.org _ _ _| |_ __ _ | Type "help()" for help. | | | | | | |/ _` | |

[julia-users] Re: fatal: 'XCB' does not appear to be a git repository, i tend to disagree...

2015-05-24 Thread Andreas Lobinger
Or too much information. On Sunday, May 24, 2015 at 10:43:29 AM UTC+2, Andreas Lobinger wrote: > > Hello colleagues, > might be a glitch somewhere, a missing file, a missing information... > I deleted the XCB package from my .v0.4 package directory and still get the same erro

[julia-users] Re: fatal: 'XCB' does not appear to be a git repository, i tend to disagree...

2015-05-25 Thread Andreas Lobinger
On Sunday, May 24, 2015 at 9:34:38 PM UTC+2, andrew cooke wrote: > > > there's the file REQUIRE in ~/.julia/v > Thank you. In my case somehow the XCB label has found its way into the (local) git config. One thing further: the docu (http://docs.julialang.org/en/latest/manual/packages/) talks ab

Re: [julia-users] How to import names that clash?

2015-05-26 Thread Andreas Lobinger
Hello colleagues, On Tuesday, May 26, 2015 at 10:29:27 AM UTC+2, Mauro wrote: > > To me, this seems like an issue with Logging.jl. Either it should > extend (and possible overwrite) the methods of the generic functions > `warn` & `info` of Base or else use another name for that function. > i

Re: [julia-users] How to import names that clash?

2015-05-26 Thread Andreas Lobinger
Hello colleague, On Tuesday, May 26, 2015 at 12:48:58 PM UTC+2, Mauro wrote: > > > Mauro, > > > > Yes, its probably true that Logging intends to extend the base warn and > > info functions so in this case it should. But people should not think > that > > is the general requirement just becau

Re: [julia-users] How to import names that clash?

2015-05-26 Thread Andreas Lobinger
On Tuesday, May 26, 2015 at 2:58:49 PM UTC+2, ele...@gmail.com wrote: > > >> But another thing came to my mind: a 'using_without_export' operator that >> imports a package and builds the module but doesn't do the exports. So i >> could load/import e.g. two plotting packages both defining 'plot'

[julia-users] some newer documentation on cfunction?

2015-05-27 Thread Andreas Lobinger
Hello colleagues, i'm doing some adaptation of a GUI thing (mostly for learning purposes) and try to get a full picture about callbacks or closures. The latest docs.julia on Calling C etc. is referencing a blog article of may2013 (and talking about v0.2). Is there something newer? I understan

[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

  1   2   3   4   >