[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,

[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).

[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: 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] 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

[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

[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),

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

2016-09-26 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),

[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

[julia-users] Re: Plotting lots of data

2016-09-21 Thread Andreas Lobinger
Hello colleague, On Wednesday, September 21, 2016 at 8:34:21 PM UTC+2, Chris Rackauckas wrote: > > I've managed to plot quite a few large datasets. GR through Plots.jl works > very well for this. I tend to still prefer the defaults of PyPlot, but GR > is just so much faster that I switch the

[julia-users] deprecating julia v0.3 -> are there still 0.3 users?

2016-09-16 Thread Andreas Lobinger
Hello colleagues, some packages have started, some are in the process to fix their requirements to julia > v0.3. My question, especially to the universities/teaching communities: are there still 0.3 users? (and maybe you provide a 'why' along that) Wishing a happy day, Andreas

Re: [julia-users] debugging tips for GC?

2016-09-14 Thread Andreas Lobinger
Hello, On Tuesday, September 13, 2016 at 10:17:30 PM UTC+2, Yichao Yu wrote: > > On Tue, Sep 13, 2016 at 4:11 PM, Yichao Yu > wrote: > >> I'm able to reproduce it in rr and found the issue. >> TL;DR the issue is at >>

Re: [julia-users] debugging tips for GC?

2016-09-13 Thread Andreas Lobinger
Hello colleague, On Tuesday, September 13, 2016 at 7:25:38 PM UTC+2, Yichao Yu wrote: > > > On Tue, Sep 13, 2016 at 12:49 PM, Andreas Lobinger <lobi...@gmail.com > > wrote: > >> Hello colleagues, >> >> i'm trying to find out, why this >> ... &g

[julia-users] debugging tips for GC?

2016-09-13 Thread Andreas Lobinger
Hello colleagues, i'm trying to find out, why this _ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_)| Documentation: http://docs.julialang.org _ _ _| |_ __ _ | Type "?help" for help. | | | | | | |/ _` | | | | |_| | | | (_|

[julia-users] Re: Can someone please update Winston?

2016-09-04 Thread Andreas Lobinger
btw: i'm running this now with the MetServiceDev/Tk.jl (actually only a small change) only and Winston from master in 0.5-rc3 sucessfully. For Winston/Gtk there is an Gtk issue opened.

[julia-users] Re: Can someone please update Winston?

2016-08-29 Thread Andreas Lobinger
Hello colleague, On Saturday, August 27, 2016 at 12:04:22 AM UTC+2, K leo wrote: > > so that it works with version 0.5. could you please list/report what errors you get? Do you use Tk or Gtk? I looked a little bit around yesterday (with Gtk) and it looks like plotting does work, but not

[julia-users] Re: Pkg.update() error, 0.4.6

2016-08-27 Thread Andreas Lobinger
Hello colleague, On Saturday, August 27, 2016 at 9:20:32 AM UTC+2, Liye zhang wrote: > > Julia and its packages are installed using the network at my home. When I > try to install new package using the network in my company, there are > errors as mentioned above. > > When I update using the

[julia-users] Re: TK dependency woes

2016-08-26 Thread Andreas Lobinger
https://github.com/stevengj/PyPlot.jl/issues/164

Re: [julia-users] correct typing for unsafe_wrap

2016-08-21 Thread Andreas Lobinger
Hello, On Sunday, August 21, 2016 at 1:16:22 PM UTC+2, Milan Bouchet-Valat wrote: > > Le dimanche 21 août 2016 à 01:36 -0700, Andreas Lobinger a écrit : > > Hello colleagues, > > > > i'm trying to use unsafe_wrap from a pointer from an external call > >

[julia-users] correct typing for unsafe_wrap

2016-08-21 Thread Andreas Lobinger
Hello colleagues, i'm trying to use unsafe_wrap from a pointer from an external call (cfunction) to an array access. Looks like i have type problems: function read_from_stream_callback(s::IO, buf::Ptr{UInt8}, len::UInt32) #b1 = zeros(UInt8,len) #nb = readbytes!(s,b1,len)

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

2016-08-18 Thread Andreas Lobinger
Hello colleague, On Thursday, August 18, 2016 at 10:47:27 AM UTC+2, Ferran Mazzanti wrote: > > Dear all, > > looks like lots of messing around with versions had rendered PyPlot > unusable in 0.4.6 under OSX (at least). > Now I need to do some work that requires its use so I need to have it up >

Re: [julia-users] Re: Symbols as Dict keys - efficiency / memory allocation?

2016-08-17 Thread Andreas Lobinger
Hello colleague, On Wednesday, August 17, 2016 at 3:01:37 PM UTC+2, Oliver Schulz wrote: > > > unless they just became numbers to index into a global array somewhere > > I had assumed that this is basically what Symbols (being interned strings) > are. > I might write something stupid here, but

[julia-users] Re: Symbols as Dict keys - efficiency / memory allocation?

2016-08-17 Thread Andreas Lobinger
Hello colleague, On Wednesday, August 17, 2016 at 11:12:51 AM UTC+2, Oliver Schulz wrote: > > Sure - I was assuming that as Symbol (as an interned string) is basically > just a pointer. So comparisons are O(1), etc. What I'd like to understand > is, why can't it be a bitstype? Currently, it's

[julia-users] Re: Does Julia always need internet access when loading a package?

2016-08-16 Thread Andreas Lobinger
Hello colleague, On Wednesday, August 17, 2016 at 5:10:49 AM UTC+2, Jan Hlavacek wrote: > On Tuesday, August 16, 2016 at 3:26:44 PM UTC-4, Andreas Lobinger wrote: >> >> >> Looks like the local julia installation has identified a missing package >> repository and

[julia-users] Re: Does Julia always need internet access when loading a package?

2016-08-16 Thread Andreas Lobinger
Hello colleague, On Tuesday, August 16, 2016 at 5:41:47 PM UTC+2, Jan Hlavacek wrote: > > They have recently installed a whole bunch of packages system wide, so > that they are available in all projects without having to install them > locally. However, when I try to use a package from one of

[julia-users] Re: working with tree-like type

2016-08-13 Thread Andreas Lobinger
Hello colleague, On Saturday, August 13, 2016 at 6:38:31 PM UTC+2, Steven G. Johnson wrote: > > > On Friday, August 12, 2016 at 2:45:12 AM UTC-4, Andreas Lobinger wrote: > > can someone please point me to some (more) documentation/packages about >> handling tre

[julia-users] Re: plotly error in 0.5

2016-08-12 Thread Andreas Lobinger
Hello colleague, looks like a problem with Requires and maybe was caused by some missing 'other' update. The CI shows Plotly working: http://pkg.julialang.org/logs/Plotly_0.5.log You could check, if all required packages are at the correct version. Wishing a happy day, Andreas

[julia-users] working with tree-like type

2016-08-12 Thread Andreas Lobinger
Hello colleagues, can someone please point me to some (more) documentation/packages about handling tree structures in types? AbstractTrees.jl leaves me a little bit alone without docu (yes, i've seen the comments in source, but still...) and an example without comments. Wishing a happy day,

Re: [julia-users] Re: map(mean, zip(v...)) doesn't scale

2016-08-10 Thread Andreas Lobinger
There is a memory allocation(?) bug in 0.5.0-rc1+0, recommendation is to go to rc1+1. On Wednesday, August 10, 2016 at 12:04:36 PM UTC+2, Tamas Papp wrote: > > Thanks. Forgot to say that I am using v"0.5.0-rc1+0". > >

[julia-users] Re: Why is Julia 0.5 built from source almost twice as large (on disk) as Julia 0.4?

2016-08-10 Thread Andreas Lobinger
Hello colleague, On Wednesday, August 10, 2016 at 10:11:46 AM UTC+2, Tomas Lycken wrote: > > Both instances of Julia are runnable, so I don’t think I deleted something > I shouldn’t have in either folder. > > What has changed to make Julia 0.5 so big? Are there any build artifacts I >

[julia-users] Re: Setting random number generator seed using sequential integers

2016-08-09 Thread Andreas Lobinger
Hello, we somehow have similar problem (not in julia, but matlab). One idea is to have a long (624 32-bit int) (random) number available and multiply by the single seed. Or get /dev/random for seeding and store it along the output.

[julia-users] Re: Pkg.init() problems on 0.5-rc0

2016-08-01 Thread Andreas Lobinger
So do i understand correctly that the current win64 build doesn't include git/ssh via proxy? Or is just the setting in (where?) missing? Is there a counterpart to the https-insteadof-git setting available? I know it's not helpful, but i get (behind a company http/https proxy) the same error

[julia-users] Re: I'd like to see something like the Rust platform proposal in the Julia ecosystem

2016-08-01 Thread Andreas Lobinger
My first reaction was: Just go forward and do it. Then i started to read the comments in https://internals.rust-lang.org/t/proposal-the-rust-platform/3745/35

[julia-users] Re: @inbounds and @simd not showing any sign of speedup

2016-07-29 Thread Andreas Lobinger
Hello colleague, On Friday, July 29, 2016 at 8:59:36 AM UTC+2, Juan Lopez wrote: > > Hello, > > I have a function which is doing basically an operation inside a loop and > when adding @simd or @inbounds time doesn't improve, in any case it seems > slightly worse. > > Is there an explanation

Re: [julia-users] How to install julia-0.5.0-rc0 on Ubuntu Linux

2016-07-28 Thread Andreas Lobinger
On Thursday, July 28, 2016 at 4:37:24 PM UTC+2, Uwe Fechner wrote: > > The following command fixed the problem: > sudo apt-get install libssl-dev > > Perhaps this command could be mentioned in the section "Ubuntu" of > Readme.md > it actually is, in section Required Build Tools and External

Re: [julia-users] How to install julia-0.5.0-rc0 on Ubuntu Linux

2016-07-28 Thread Andreas Lobinger
As the error message relates to a missing OpenSSL -> try to find setttings for: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR, it might be an idea to install the openSSL development package.

Re: [julia-users] Re: Which package downgrades other packages?

2016-07-26 Thread Andreas Lobinger
Hello colleague, On Tuesday, July 26, 2016 at 5:58:28 PM UTC+2, Stefan Karpinski wrote: > > On Mon, Jul 25, 2016 at 1:23 PM, Stefan Karpinski > wrote: > >> Compat.jl does this extensively with respect to Julia itself. > > > Another example, just submitted to BinDeps: > >

Re: [julia-users] Re: Which package downgrades other packages?

2016-07-25 Thread Andreas Lobinger
Hello colleagues, On Monday, July 25, 2016 at 4:40:10 PM UTC+2, Stefan Karpinski wrote: > > The difference between the Julia package ecosystem and DLL hell is that > DLLs expose static interfaces and cannot adapt to their environment. If > libA.dll expects on interface from libC.dll and

[julia-users] Re: A Very Simple Benchmark for Brutal-force Loops in Several Languages: revised, Julia is fast!

2016-07-12 Thread Andreas Lobinger
just my two cents... On Tuesday, July 12, 2016 at 5:28:24 AM UTC+2, Chris Rackauckas wrote: > > > MATLAB really improved their JIT in 2015b, but as you can see, it cannot > come close to Julia. The main reason is that, although it can do quite a > bit because it ensures type stability, it has

[julia-users] Re: A Very Simple Benchmark for Brutal-force Loops in Several Languages: revised, Julia is fast!

2016-07-11 Thread Andreas Lobinger
On Monday, July 11, 2016 at 6:38:13 PM UTC+2, Sisyphuss wrote: > > It's surprising to see Python so slow and Matlab so fast. > > Matlab: does the JIT compiler translate the loops to C? > Not to C, rather directly to machine code. LLVM seems to be in use here, also.

[julia-users] Re: A Very Simple Benchmark for Brutal-force Loops in Several Languages: revised, Julia is fast!

2016-07-11 Thread Andreas Lobinger
2 small things: * a more recent Matlab should already be faster, especially in this loop thing * random generators' runtime -depending on the complexity they spend- really makes a difference.

[julia-users] Re: Plotting lots of data

2016-06-13 Thread Andreas Lobinger
Hello colleague, On Sunday, June 12, 2016 at 10:31:06 PM UTC+2, CrocoDuck O'Ducks wrote: > > Hi there! > > I have been experimenting a little with many plotting packages recently. > Being used to Matlab PyPlot seemed to work well for me... until this bug >

[julia-users] local package, howto?

2016-06-12 Thread Andreas Lobinger
Hello colleagues, like with similar problems, i don't know how i ended up there, but my question is how to avoid Being asked for githup authentification for a package that exists only locally (i.e. has no remote on github or similar)? julia v0.4.5 was not updated for long, but yesterday i ran

[julia-users] Re: Pkg.update() fails on local package

2016-06-10 Thread Andreas Lobinger
Hello colleague, i ran (twice) into a problem that looked similar by the symtoms. In both cases the git configuration of METADATA were corrupted and in the recent case the remote setting was somehow routed to the Package name. -> Look in .julia/v0.4/METADATA/.git/config. If you see your

[julia-users] Re: installation one side of a company firewall

2016-06-08 Thread Andreas Lobinger
For clarification, i'm using now git config --global url."https://@".insteadOf git:// so including my github name for even anonymous access. Works somehow.

[julia-users] installation one side of a company firewall

2016-06-02 Thread Andreas Lobinger
Hello colleagues, i'm trying to get julia (v0.4.5) running on a windows box inside company firewall (actually a cloud instance) which has valid and working http/https proxy, I was able to configure git to use https isteadOf git and set http and https proxy. Pkg.status() clones and installs

[julia-users] Re: julia equivalent of python [] (Part II)

2016-06-01 Thread Andreas Lobinger
On Wednesday, June 1, 2016 at 8:49:44 PM UTC+2, Ford Ox wrote: > > When we are on this topic > > Why does > [1 + 2] > result in > [3] > instead of > [1 + 2] > > well, in v0.5 with the correct element limiter _ _ _ _(_)_ | A fresh approach to technical computing

[julia-users] Re: Is Julia slow with large arrays?

2016-06-01 Thread Andreas Lobinger
It's valid and interesting to measure full roundtrip including compile time like you do, however in examples like this, the julia overhead on compiling dominates your measurement. You could put your code into a package and pre-compile. In any case your not measuring the time to run the code

[julia-users] Re: julia equivalent of python [] (Part II)

2016-06-01 Thread Andreas Lobinger
On Wednesday, June 1, 2016 at 11:30:01 AM UTC+2, Lutfullah Tomak wrote: > > Do what the warning says. Replace ',' with ';', meaning ["8"; 9; 10; c] or > ["8"; 9;10; [12; "c"]] > julia> b = ["8";9;10;[12;"c"]] 5-element Array{Any,1}: "8" 9 10 12 "c" I'd like to have b[4] =

[julia-users] julia equivalent of python [] (Part II)

2016-06-01 Thread Andreas Lobinger
Hello colleagues, i actually was a little bit puzzled by this: _ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_)| Documentation: http://docs.julialang.org _ _ _| |_ __ _ | Type "?help" for help. | | | | | | |/ _` | | | | |_|

[julia-users] Re: Plots gadfly

2016-06-01 Thread Andreas Lobinger
On Wednesday, June 1, 2016 at 10:44:42 AM UTC+2, Henri Girard wrote: > > Gadfly is deprecated : Does it mean we shouldn't use it anymore ? > Where did you get the message that Gadlfy is deprecated? If you mean, you get a lot of deprecation warning, when trying to run Gadfly on julia v0.5dev,

[julia-users] Re: Julia developing

2016-05-25 Thread Andreas Lobinger
Discuss ideas here or over there at julia-dev. Development work will happen in https://github.com/JuliaLang/julia http://docs.julialang.org/en/release-0.4/ contains a part developer documentation.

[julia-users] Re: julia equivalent of python [] (aka list)

2016-05-25 Thread Andreas Lobinger
Hello colleagues, thanks for all answers. And now the punchline: How do i find this in the documentation? Wishing a happy day, Andreas

Re: [julia-users] julia equivalent of python [] (aka list)

2016-05-24 Thread Andreas Lobinger
Stefan Karpinski wrote: > > Since Julia 0.4 [] is what you're looking for. > > On Tue, May 24, 2016 at 1:06 PM, Andreas Lobinger <lobi...@gmail.com > > wrote: > >> Hello colleagues, >> >> it really feels strange to ask this, but what is the julia equivalent of

[julia-users] julia equivalent of python [] (aka list)

2016-05-24 Thread Andreas Lobinger
Hello colleagues, it really feels strange to ask this, but what is the julia equivalent of python's list? So. 1. can by initialised empty 2. subject of append and extend 3. accepting Any entry 4. foolproof usage in type definition... (my real problem seems to be here)

[julia-users] Re: github missing Create Pull Request button

2016-05-23 Thread Andreas Lobinger
Example? (i had today some intermediate github problems with connectivity and functions) On Monday, May 23, 2016 at 7:06:44 PM UTC+2, Cedric St-Jean wrote: > > I'm up to my 15th pull request or so, and almost every time I do > Pkg.submit("PackageName"), the opened webpage is missing the green

[julia-users] Re: Pkg.update for packages that changed repository (git remote)

2016-05-23 Thread Andreas Lobinger
On Sunday, May 22, 2016 at 11:06:49 PM UTC+2, Tony Kelman wrote: > > URLs in metadata need to be manually updated when repos are moved. It > doesn't need to be done right away because github puts in place a redirect, > but that redirect can be interfered with. > > What problems did you have

[julia-users] Pkg.update for packages that changed repository (git remote)

2016-05-22 Thread Andreas Lobinger
Hello colleagues, looking at METADATA for e.g. Gtk.jl i recognized that the development was moved from JuliaLang to JuliaGraphics. Will this be updated in a single step by Pkg.update or are there manual steps needed? (i had some problems with the ShowOff move). Wishing a happy day,

[julia-users] OT: getting a sublime text license

2016-05-22 Thread Andreas Lobinger
Hello colleagues, it's offtopic, but i had the feeling i'm not alone testing sublime text. Do you know a way to pay for the license without using Paypal? I'm not a Paypal user and never wanted to be and the classical way of passing through Paypal via valid Credit Card seems now to be

[julia-users] Re: static compilation

2016-05-06 Thread Andreas Lobinger
Hello colleague, this topic is still seen as experimental and not that many of julia users could be considered expert on this... If the recipe given (long time ago i tried to follow this on a linux installation which i general has more tooling to get shared libraries and compilation

[julia-users] Re: Compose.jl drawing in IJulia

2016-05-03 Thread Andreas Lobinger
Hello colleague, how did you set the correct dimensions? On Tuesday, May 3, 2016 at 10:53:59 AM UTC+2, Christoph Ortner wrote: > > If I create a context using `compose`, and then call `display(ctx)`, then > I end up with an image that looks roughly right but doesn't have the > correct

[julia-users] Re: What to do with those Gadfly warning/error messages?

2016-04-25 Thread Andreas Lobinger
These are Glib or Gtk warnings and in the first entry you see, which program/process caused them. Strange is, that you get them in your julia REPL. I see similar warnings in the terminals, where i started e.g. firefox. On Tuesday, April 26, 2016 at 4:06:09 AM UTC+2, K leo wrote: > > Plots work,

[julia-users] Julia Package Ecosystem Pulse Last updated 2016-03-17?

2016-04-20 Thread Andreas Lobinger
Hello colleagues, i learned this is triggered manually and not regularly, however looking at the webpage updates of 7 or 14 days are mentioned. Wishing a happy day, Andreas

[julia-users] Re: 'do' notation in documentation?

2016-04-18 Thread Andreas Lobinger
Thank you for all answers. I remembered, that i saw something in the documentation, but i rather suspected it in Control Flow. Actually the foo(a,b,c) do x notation i also see as benefit. The foo(a,b,c) do without argument is leading to the 'wrong' assumptions, code would look clearer

[julia-users] 'do' notation in documentation?

2016-04-17 Thread Andreas Lobinger
Hello colleagues, although it's around and found in some/many lines, where is actually the documentation of the 'do' notation. I'm sitting here, trying to debug a Pkg problem and the lines cd("METADATA") do something end give me some problems in understanding. While it's obviously some kind

[julia-users] Re: Compose Plotting from REPL

2016-04-15 Thread Andreas Lobinger
On Friday, April 15, 2016 at 6:35:15 PM UTC+2, Christoph Ortner wrote: > > many tanks for this - that looks perfect. > > unfortunately my Gtk installation seems broken, so it will be a while > until I can try this out. > _ _ _ _(_)_ | A fresh approach to

[julia-users] Re: Vectorised usage of Compose

2016-04-15 Thread Andreas Lobinger
Hello colleague, On Friday, April 15, 2016 at 6:30:51 PM UTC+2, Christoph Ortner wrote: > > right I mean b) - I have 1000, say, line segments or polygons, each with > the same number of points. All I can do is loop, yes? > > Thanks, > Christoph > > > > you are saying this is currently not

[julia-users] Re: Vectorised usage of Compose

2016-04-15 Thread Andreas Lobinger
Hello colleague, On Friday, April 15, 2016 at 5:17:29 PM UTC+2, Christoph Ortner wrote: > > I understand from the example > how to vectorise drawing of circles. > > The syntax for a two-point line segment seems to beline( [(x0, y0), > (x1, y1)] ) I don't see an analogy with `circle`? > >

[julia-users] Re: Compose Plotting from REPL

2016-04-15 Thread Andreas Lobinger
Hello colleague, On Friday, April 15, 2016 at 4:00:34 PM UTC+2, Christoph Ortner wrote: > > > I am trying to use Compose.jl directly instead of going through a plotting > package. From iPython notebooks invoking compose will immediately create > the output. > > But when I am in the REPL, how

Re: [julia-users] Re: GtkIDE.jl, a semi-functional editor for Julia

2016-04-14 Thread Andreas Lobinger
Hello colleague, On Thursday, April 14, 2016 at 2:34:28 PM UTC+2, lawrence dworsky wrote: > > I don't seem to be able to get any of this to work. Both Pkg.add entries > return > > > fatal: your current branch 'master' does not have any commits yet > ... > ... > in add at

[julia-users] package testing, other OSs

2016-04-11 Thread Andreas Lobinger
Hello colleagues, i think i asked this here some time before, but maybe there is an update... 1) Is there a recommendation how to test packages on Windows, if one doesn't have a windows computer available? Travis-ci supports linux+OSX on x86-64 but that's it. (?) 2) pkg.julialang.org is run

[julia-users] Re: Macro expansion for ccall with tuple argument

2016-04-07 Thread Andreas Lobinger
Hello colleague, i'm not an expert on macros, but if you try to learn correct macroexpansion you should use a different target than ccall. ccall looks like a regular function call but has special handling (you could see this in lowered code) and that's the reason the arguments are expected to

[julia-users] Re: check exit code from ccall

2016-04-03 Thread Andreas Lobinger
ccall provides as output the return value of a call. If your library calls exit(1) then it interacts with the OS and asks for process termination. On Sunday, April 3, 2016 at 9:52:08 AM UTC+2, Martin Kuzma wrote: > > > > Hi, > is there a way to check exit status code from call to ccall? The c

[julia-users] from 0.4 to 0.5

2016-03-25 Thread Andreas Lobinger
Hello colleagues, i'm currently looking into the 0.4/0.5 transition (on my own code first, but) and i'm missing the big picture how to deal with syntax/language changes. Someone pointed out, Gadfly isn't usable (in 0.5 recent) and looking into Compose i see at least in one place (the makeform

Re: [julia-users] Re: cross-module exports / extending modules

2016-03-21 Thread Andreas Lobinger
in some places and is/might be a 0.6 issue. Because knowing in advance what type of system should be supported by a package is tricky... On Monday, March 21, 2016 at 11:24:36 AM UTC+1, Milan Bouchet-Valat wrote: > > Le lundi 21 mars 2016 à 03:19 -0700, Andreas Lobinger a écrit : >

[julia-users] Re: cross-module exports / extending modules

2016-03-21 Thread Andreas Lobinger
use "import Base.getindex" then write a new function with new types > args. > for exemple to add methods in B.jl on functionA from A.jl > import A.functionA > > function functionA(...) > > end > > Is what you were looking for? > > Le dimanche 20 mars 2016

[julia-users] cross-module exports / extending modules

2016-03-20 Thread Andreas Lobinger
Hello colleagues, i remember a discussion about this, but maybe without conclusion and maybe without the right keywords. Let's have module A (from package A.jl) with certain funcitionality and maybe some types. Now module/package/code B.jl that somehow extends A with optional functions. How

[julia-users] Re: QML (Qt5) binding for Julia (GSOC?)

2016-03-14 Thread Andreas Lobinger
Hello colleagues, On Friday, March 11, 2016 at 4:35:27 PM UTC+1, Maurice Diamantini wrote: > > So I wonder if there is some interest for a QML binding which would allows > Julia code to display simple QML file (with callback to Julia methods!). > ...That seems to be a true Julia GSOC candidate

Re: [julia-users] Re: Status of Plots.jl?

2016-03-14 Thread Andreas Lobinger
Hello colleague, On Sunday, March 13, 2016 at 5:32:46 PM UTC+1, Josef Heinen wrote: > > GR supports the wxWidgets and Qt4 toolkits. Last week I added support for > Cairo graphics, which can be used as a drawing library for GTK+. So, > support for the GTK+ toolkit is on my radar .. > now i

[julia-users] Pkg.publish() fails with ERROR: strangely formatted HTTP response

2016-03-13 Thread Andreas Lobinger
Hello colleagues, i'm pretty sure i use the correct PW, but get julia> Pkg.publish() INFO: No new package versions to publish INFO: Validating METADATA INFO: Submitting METADATA changes INFO: Forking JuliaLang/METADATA.jl to lobingera Enter host password for user 'lobingera': ERROR: strangely

Re: [julia-users] What to read to understand finishing v0.5?

2016-03-11 Thread Andreas Lobinger
Hello colleague, On Friday, March 11, 2016 at 2:56:02 PM UTC+1, Daniel Carrera wrote: > > Hi Tim, > > I'm leaving on a work trip on Monday, but let's see if I can manage to > make a Julia contribution on a weekend. I need some help, as I've never > submitted any code for Julia before. I left a

Re: [julia-users] Re: What to read to understand finishing v0.5?

2016-03-10 Thread Andreas Lobinger
Afaics Gallium.jl is a thin layer on some other debugging/compiling infrastructure. The main work is not in Gallium.jl iself, but in the lower layers. On Thursday, March 10, 2016 at 10:45:15 AM UTC+1, DNF wrote: > > On Thursday, March 10, 2016 at 7:00:46 AM UTC+1, Viral Shah wrote: >> >> This

[julia-users] What to read to understand finishing v0.5?

2016-03-09 Thread Andreas Lobinger
Hello colleagues, i need a bigger picture of the status of v0.5, dates, timelines, missing features, missing testing, expected closing. Just go to github and select the v0.5 milestone gives me a diverse picture. Wishing ahappy day, Andreas

[julia-users] Re: Diverging Colormap (like RdBu) with opacity going from 1 to 0 in the middle and back to 1

2016-02-12 Thread Andreas Lobinger
In the discussions about ColorTypes it showed up, that the majority prefered color independent of opacity. I'd guess you need to get the colormap via Colors.jl and then add the opacity information (created by linscale etc.). But i'm not sure that applying a color defined as color+transparency

[julia-users] Re: Diverging Colormap (like RdBu) with opacity going from 1 to 0 in the middle and back to 1

2016-02-12 Thread Andreas Lobinger
discussion was about ColorTypes but not in -> https://github.com/JuliaLang/Color.jl/issues/101

[julia-users] Re: Coordinates of graph layout algorithms

2016-02-11 Thread Andreas Lobinger
On Thursday, February 11, 2016 at 12:13:21 AM UTC+1, hustf wrote: > > There was an inspiring related thread a little while ago: > > > https://groups.google.com/forum/#!searchin/julia-users/graph$20glvisualize/julia-users/ybGrFVKGyDA/KEf6mY0mCwAJ > > My impression is that this subject is full of

[julia-users] Re: Coordinates of graph layout algorithms

2016-02-11 Thread Andreas Lobinger
Hello colleague, i touched the topic of a 'layout engine' a few times in various julia plotting discussions and would really like to see a package that deal with this, with an abstract interface and not tied to a special rendering step (different than d3.js). Graph layout would be a sub task

[julia-users] Color.jl - Colors.jl?

2016-02-06 Thread Andreas Lobinger
Hello colleagues, although i was somehow connected to the discussion about this transitions, i'm a little bit lost right now. Is Colors.jl replacing Color.jl completely? Or it's 'just' a fork for the use of the new ColorTypes? And why do i miss to see an issues tab on the githup page? Is the

[julia-users] Re: incompatibility of Tk and PyPlot

2016-02-02 Thread Andreas Lobinger
Hello colleague, this is clearly a bug but i cannot track down where. I'd recommend an issue on PyPlot. On Tuesday, February 2, 2016 at 5:04:28 PM UTC+1, Bernd Blasius wrote: > > > One a side note, does anybody know if it is possible in a single program > to draw on a canvas in Tk AND use a

[julia-users] Re: recommended graphics packages for multiple curves on a single canvas

2016-02-01 Thread Andreas Lobinger
Hello colleague, Tom Breloff maintains the Plots.jl (https://github.com/tbreloff/Plots.jl) package which is a meta-plotting thing (a layer above the actual plotting and rendering toolkits) and he collects some examples in https://github.com/tbreloff/ExamplePlots.jl, e.g.

Re: [julia-users] Re: Adding another function to Cairo.jl

2016-01-26 Thread Andreas Lobinger
It took me some iterations to get a PR and the git/github logic correctly (you might look into my old and closed PRs). I'd recommend (because i believe in testing) to do add an example along the implementation. And i want to turn around your comment: The thing about Cairo and Cairo.jl is —

[julia-users] Re: Adding another function to Cairo.jl

2016-01-25 Thread Andreas Lobinger
Hello colleague, i agree, this is missing and should show up in a PR. Wishing a happy day, Andreas

[julia-users] Re: problems reading a file

2016-01-24 Thread Andreas Lobinger
Hello colleague, i think i once had a similar problem. https://github.com/JuliaLang/julia/issues/12764 Wishing a happy day, Andreas

[julia-users] Re: Shell commands in Julia 0.4.2 in Windows 10

2016-01-20 Thread Andreas Lobinger
Hello colleague, On Wednesday, January 13, 2016 at 11:28:39 PM UTC+1, Tony Kelman wrote: > > Unix shell commands that we happened to be getting from git are no longer > on Julia's path. This is not temporary. Windows is not unix. If you want to > use unix shell commands on windows, either

Re: [julia-users] trying to build Cxx, general

2016-01-10 Thread Andreas Lobinger
Hello colleagues, On Sunday, January 10, 2016 at 7:15:33 PM UTC+1, Isaiah wrote: > > - Cxx.jl master > - Julia with `LLVM_VER=3.7.1` > - and manually patched LLVM (but this is probably only necessary on Mac) > https://github.com/JuliaLang/julia/issues/14585#issuecomment-169712071 > > However, at

Re: [julia-users] trying to build Cxx, unable to access llvm.org/git

2016-01-10 Thread Andreas Lobinger
Thanks for the reply. Waiting only (for llvm.org to come back) helped already... On Saturday, January 9, 2016 at 6:05:44 PM UTC+1, Isaiah wrote: > > HTTPS://github.com/llvm-mirror > > You can set custom irks in make.user > > On Saturday, January 9, 2016, Andreas Lobinger

[julia-users] trying to build Cxx, general

2016-01-10 Thread Andreas Lobinger
Hello colleagues, i ran now into a build problem (like this: lobi@orange321:~/julia05$ make CC src/codegen.o In file included from /home/lobi/julia05/usr/include/llvm/ADT/SmallVector.h:20:0, from /home/lobi/julia05/usr/include/llvm/Support/Allocator.h:24,

Re: [julia-users] trying to build Cxx, general

2016-01-10 Thread Andreas Lobinger
Thanks for the short answers. On Sunday, January 10, 2016 at 5:22:36 PM UTC+1, Isaiah wrote: > > 1) Can i get Cxx somehow as package? > > No > >> >> 2) Are the recent build instructions available that target a >> debian/ubuntu out-of-the-box? > > No > >> >> 3) I have some reasons to believe

[julia-users] trying to build Cxx, unable to access llvm.org/git

2016-01-09 Thread Andreas Lobinger
Hello colleagues, is this some kind of wrong pointer, or is llvm.org down? Cloning into '/home/lobi/julia05/deps/srccache/llvm-svn/projects/compiler-rt'... fatal: unable to access 'http://llvm.org/git/compiler-rt.git/': Recv failure: Connection reset by peer And if, is there a mirror of the

[julia-users] Re: current time with miliseconds?

2016-01-02 Thread Andreas Lobinger
That's fine. But i didn't get it from the docu. On Friday, January 1, 2016 at 8:29:52 PM UTC+1, Tobias Knopp wrote: > > On Julia 0.4 this is possible: > > > *julia> **Dates.unix2datetime(time())* > > *2016-01-01T19:24:14.674* > > > >

  1   2   3   4   >