Re: [julia-users] Re: @sprintf with a format string

2015-09-23 Thread Tomas Lycken
That depends on what you do in your “production work” ;) 0.4 RC2 is good enough that it would become 0.4 if no serious bugs or regressions are found. There’s currently one issue tagged with milestone 0.4.0 , and another one tagged backport

Re: [julia-users] Re: @sprintf with a format string

2015-09-23 Thread Daniel Carrera
This implementation requires Julia 0.4. I use Julia in production work, and 0.4 is in RC2. Is it safe to migrate or should I just wait? Cheers, Daniel. On 23 September 2015 at 03:34, Tim Holy wrote: > On Tuesday, September 22, 2015 05:21:10 PM Luke Stagner wrote: > > Would

Re: [julia-users] Re: Julia code 5x to 30x slower than Matlab code

2015-09-23 Thread Páll Haraldsson
On Monday, September 21, 2015 at 12:18:12 AM UTC, Daniel Carrera wrote: > > > On 21 September 2015 at 01:36, Páll Haraldsson > wrote: > >> I know about @devec but wander how close Julia is also able to match the >> speed of its looks with more condensed code or

[julia-users] formatting questions: DataFrame and Array output

2015-09-23 Thread Peter Ruch
Hi, I just started out with Julia coming from R and have two questions regarding the DataFrames package: *Is there a way to format the output of a DataFrame so that numbers are aligned by the last digit (Integer) or decimal point (i.e. Double) ?* for comparison: ## R Code >

Re: [julia-users] Re: IDE for Julia

2015-09-23 Thread Páll Haraldsson
Sorry, kind of of-topic for the thread, mostly about Cxx.jl/C++: On Friday, September 18, 2015 at 8:05:07 AM UTC, Uwe Fechner wrote: > > I like QT a lot. There is more then one open source, QT based IDE out > there, e.g. QT Creator. > QT has a GUI builder, that is much better then the GUI

Re: [julia-users] Re: @sprintf with a format string

2015-09-23 Thread Tim Holy
It Just Works. --Tim On Tuesday, September 22, 2015 08:22:32 PM ele...@gmail.com wrote: > Tim, > > How well does it work if, instead of pi, the thing being printed is some > abstract type so its concrete type is only known at runtime? > > Cheers > Lex > > On Wednesday, September 23, 2015 at

[julia-users] What are the "strengths" of the Julia "ecosystem" (e.g. for bio and quants/finance)? This is not a very specific question (while sub-questions are), you've been warned..

2015-09-23 Thread Páll Haraldsson
[I have friends who might benefit from Julia.] Say for, quants/finance and bio (genome sequencing and systems biology). And for me, for web use (what is recommended, Escher; Mux, isn't that Sinatra-style? Nothing available similar to Django/Rails? Or needed? Would Python/Django and Julia work

Re: [julia-users] Re: @sprintf with a format string

2015-09-23 Thread Tim Holy
If you're willing to make updates to your own code---and possibly contribute fixes to packages you depend on---I highly recommend migrating. In my hands, it's more stable & predictable than julia 0.3 despite 0.3's long history. --Tim On Wednesday, September 23, 2015 01:14:33 PM Daniel Carrera

Re: [julia-users] Re: IDE for Julia

2015-09-23 Thread Uwe Fechner
Keno's Cxx.jl " currently requires the head version of LLVM. This is fragile, but furthermore the compilation with the newest version of LLVM is very slow. These are issues that are currently being addressed (see: https://github.com/JuliaLang/julia/issues/9336) but probably not fixed before

[julia-users] Re: What are the "strengths" of the Julia "ecosystem" (e.g. for bio and quants/finance)? This is not a very specific question (while sub-questions are), you've been warned..

2015-09-23 Thread Randy Zwitch
Julia is as capable as any of the languages you have mentioned as far as I'm concerned. When I read "people want to get work done", I read that as "people want SOMEONE ELSE to do the work". Julia probably isn't the place for them now, if they are looking for someone else to have already

[julia-users] Re: Juliabox down?

2015-09-23 Thread Seth
Working for me at Wed Sep 23 07:13:36 PDT 2015 On Wednesday, September 23, 2015 at 7:11:55 AM UTC-7, Lars Ruthotto wrote: > > Dear all, > > I just noticed that Juliabox doesn't work right now. Is there an expected > maintenance going on and does anybody know when it will be back? > > Thanks, >

Re: [julia-users] Re: IDE for Julia

2015-09-23 Thread Uwe Fechner
Julia, including 0.4RC2 is using LLVM 3.5 as default. Cxx.jl needs LLVM 3.7 or LLVM 3.8SVN (I am not sure, but it does not work with older LLVM versions). Julia can be compiled against LLVM 3.7 (and sometimes also against LLVM SVN), but then the just-in-time compilation of Julia is much slower

Re: [julia-users] Re: Juliabox down?

2015-09-23 Thread Michiaki ARIGA
Hi, Lars Are you using Juliabox with over 20 person or more? Once I held hands on at Julia Tokyo with 30+ participants, JuliaBox suddenly returns 503. Now I access JuliaBox and I see same error. > Failed to load resource: the server responded with a status of 503 (Service Unavailable: Back-end

Re: [julia-users] Re: Julia code 5x to 30x slower than Matlab code

2015-09-23 Thread Milan Bouchet-Valat
Le mercredi 23 septembre 2015 à 05:15 -0700, Páll Haraldsson a écrit : > > > On Monday, September 21, 2015 at 12:18:12 AM UTC, Daniel Carrera > wrote: > > > > On 21 September 2015 at 01:36, Páll Haraldsson < > > pall.ha...@gmail.com> wrote: > > > I know about @devec but wander how close Julia

[julia-users] Re: Juliabox down?

2015-09-23 Thread Lars Ruthotto
Thanks, Seth. Now it works for me again too. Problem solved :) On Wednesday, September 23, 2015 at 10:13:43 AM UTC-4, Seth wrote: > > Working for me at Wed Sep 23 07:13:36 PDT 2015 > > On Wednesday, September 23, 2015 at 7:11:55 AM UTC-7, Lars Ruthotto wrote: >> >> Dear all, >> >> I just

[julia-users] Re: Juliabox down?

2015-09-23 Thread Lars Ruthotto
Sorry! but now it does seems to be down again. Does anyone know why? On Wednesday, September 23, 2015 at 10:15:14 AM UTC-4, Lars Ruthotto wrote: > > Thanks, Seth. Now it works for me again too. Problem solved :) > > On Wednesday, September 23, 2015 at 10:13:43 AM UTC-4, Seth wrote: >> >>

Re: [julia-users] Re: Julia code 5x to 30x slower than Matlab code

2015-09-23 Thread Daniel Carrera
On 23 September 2015 at 16:38, Páll Haraldsson wrote: > Yes, > > What prompted my question was Tim Holy: "String is not a concrete type. > Consider ASCIIString or UTF8String." Maybe ok in this case. If he meant it > as a general advise, > This is not advice. Tim was

[julia-users] Re: What are the "strengths" of the Julia "ecosystem" (e.g. for bio and quants/finance)? This is not a very specific question (while sub-questions are), you've been warned..

2015-09-23 Thread Páll Haraldsson
On Wednesday, September 23, 2015 at 12:35:47 PM UTC, Randy Zwitch wrote: > > Julia is as capable as any of the languages you have mentioned as far as > I'm concerned. When I read "people want to get work done", I read that as > "people want SOMEONE ELSE to do the work". > And you would be

Re: [julia-users] Re: @sprintf with a format string

2015-09-23 Thread Tom Breloff
Tim: I love that you just whipped up a generated function for this (one great thing about Julia is how many different ways you can tackle a problem), however do you see this type of solution as being better than Formatting's sprintf1? I would be worried about the sheer number of compiled

Re: [julia-users] Re: @sprintf with a format string

2015-09-23 Thread Michael Hatherly
But Michael Hatherly’s showed code above that uses a generated function to solve this. What am I missing? It’s probably because the thread was getting quite long and what I wrote simply got missed. — Mike ​ On Wednesday, 23 September 2015 03:15:23 UTC+2, Bob Nnamtrop wrote: > > But Michael

Re: [julia-users] Re: @sprintf with a format string

2015-09-23 Thread Daniel Carrera
On 23 September 2015 at 13:51, Tomas Lycken wrote: > That depends on what you do in your “production work” ;) > What I mean by that is that there is basically no tolerance for errors or bugs. What I do with Julia is not overly complex, but it is a critical part of my

Re: [julia-users] Re: @sprintf with a format string

2015-09-23 Thread Tim Holy
Actually, I looked back for what you wrote and didn't find it---even search (probably badly) julia-users on Google Groups. May this lazy-good-for-nothing request a link? --Tim On Wednesday, September 23, 2015 08:04:44 AM Michael Hatherly wrote: > But Michael Hatherly’s showed code above that

Re: [julia-users] Re: Juliabox down?

2015-09-23 Thread Kristoffer Carlsson
http://downforeveryoneorjustme.com/www.juliabox.org/ On Wednesday, September 23, 2015 at 5:23:22 PM UTC+2, Michiaki Ariga wrote: > > Hi Lars, > > I can see only empty site, and Google Chrome Console shows following error > message. > >

Re: [julia-users] Re: Julia code 5x to 30x slower than Matlab code

2015-09-23 Thread Daniel Carrera
On 23 September 2015 at 14:15, Páll Haraldsson wrote: > > On Monday, September 21, 2015 at 12:18:12 AM UTC, Daniel Carrera wrote: >> >> >> On 21 September 2015 at 01:36, Páll Haraldsson >> wrote: >> >>> I know about @devec but wander how close

[julia-users] Juliabox down?

2015-09-23 Thread Lars Ruthotto
Dear all, I just noticed that Juliabox doesn't work right now. Is there an expected maintenance going on and does anybody know when it will be back? Thanks, Lars

Re: [julia-users] Re: IDE for Julia

2015-09-23 Thread Páll Haraldsson
[Sorry, again, off-topic, a follow-up question about Cxx.jl and some extra.] On Wednesday, September 23, 2015 at 11:30:45 AM UTC, Uwe Fechner wrote: > > Keno's Cxx.jl " currently requires the head version of LLVM. This is > fragile, but furthermore the compilation with > the newest version of

Re: [julia-users] Re: Julia code 5x to 30x slower than Matlab code

2015-09-23 Thread Páll Haraldsson
Yes, What prompted my question was Tim Holy: "String is not a concrete type. Consider ASCIIString or UTF8String." Maybe ok in this case. If he meant it as a general advise, I thought maybe a Union of the UTF encodings (and ASCII?) would be needed to be general. Or not, as you say (and I), this

Re: [julia-users] Re: Juliabox down?

2015-09-23 Thread Lars Ruthotto
Hi Michiaki, I'm using juliabox only on my machine and there are a few (around 8) students in the department here that need to finish some homework. I doubt that that should challenge EC2. for me the website https://juliabox.org/ is completely empty. No error message at all. How does it look

Re: [julia-users] Re: Juliabox down?

2015-09-23 Thread Michiaki ARIGA
Hi Lars, I can see only empty site, and Google Chrome Console shows following error message. https://dl.dropboxusercontent.com/u/171669/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202015-09-24%200.16.26.png When the same problem occurred, people who connect

Re: [julia-users] Re: @sprintf with a format string

2015-09-23 Thread Tom Breloff
The original PR: https://github.com/JuliaLang/Formatting.jl/pull/10 The tests (which show some basic usage): https://github.com/tbreloff/Formatting.jl/blob/tom-fmt/test/fmt.jl In addition to this, we could have a `@fmt` macro which is analogous to `@show`, but uses fmt instead. Also, I think

Re: [julia-users] Re: IDE for Julia

2015-09-23 Thread Stefan Karpinski
On Wed, Sep 23, 2015 at 7:30 AM, Uwe Fechner wrote: > Keno's Cxx.jl " currently requires the head version of LLVM. This is > fragile, but furthermore the compilation with > the newest version of LLVM is very slow. These are issues that are > currently being addressed

Re: [julia-users] Re: @sprintf with a format string

2015-09-23 Thread Michael Hatherly
May this lazy-good-for-nothing request a link? Of course, https://groups.google.com/forum/#!msg/julia-users/hBbEGEopi0A/fKQcqDEVBgAJ. Took me a while to actually find it again myself… Implementation-wise they were pretty similar. I was dispatching of an instance Formatter{...}() rather than

Re: [julia-users] Re: Julia code 5x to 30x slower than Matlab code

2015-09-23 Thread Milan Bouchet-Valat
Le mercredi 23 septembre 2015 à 07:38 -0700, Páll Haraldsson a écrit : > Yes, > > What prompted my question was Tim Holy: "String is not a concrete > type. Consider ASCIIString or UTF8String." Maybe ok in this case. If > he meant it as a general advise, I thought maybe a Union of the UTF >

Re: [julia-users] Re: IDE for Julia

2015-09-23 Thread Yichao Yu
On Sep 23, 2015 11:27 AM, "Uwe Fechner" wrote: > > Julia, including 0.4RC2 is using LLVM 3.5 as default. Cxx.jl needs LLVM 3.7 or LLVM 3.8SVN (I am not sure, but it does not work with older LLVM versions). > Julia can be compiled against LLVM 3.7 (and sometimes also

Re: [julia-users] Re: @sprintf with a format string

2015-09-23 Thread Stefan Karpinski
That 1MB is allocation done by code generation. And this generates the code every time it runs. That's why it's bad. On Tue, Sep 22, 2015 at 8:10 PM, Daniel Carrera wrote: > Really? What does it *DO* that needs 1MB? I admit I don't really know how > it works. I have tried to

Re: [julia-users] Re: @sprintf with a format string

2015-09-23 Thread Stefan Karpinski
sprintf1 avoids the combinatorial explosion issue since it only supports a single format specification. On Wed, Sep 23, 2015 at 12:29 PM, Tom Breloff wrote: > But we could also do code caching with @printf by just maintaining a dict >> mapping format strings to generated code

Re: [julia-users] Re: @sprintf with a format string

2015-09-23 Thread Tim Holy
The size of the method cache is definitely something to consider. An advantage of the current @(s)printf, when the format string is known explicitly, is that it works at the call site and doesn't add to the cache. And yes, I like your proposal quite a lot. I don't have any personal experience

Re: [julia-users] Re: @sprintf with a format string

2015-09-23 Thread Stefan Karpinski
At this point it's safe to switch to 0.4-rc2 with one important condition: when 0.4 comes out, switch to it as soon as you can. There *can* be incompatibilities between release candidates and releases, so if you linger too long on a candidate, you can find yourself a bit stuck later on when you

Re: [julia-users] Re: @sprintf with a format string

2015-09-23 Thread Stefan Karpinski
This is very but it doesn't entirely solve the problem. The f"..." macro still entails code generation, which *can* be done at compile time, but to support runtime formats the code generation has to be deferred until run time – and the exact same thing could be done with the @printf macro. The

Re: [julia-users] Re: @sprintf with a format string

2015-09-23 Thread Stefan Karpinski
On Wed, Sep 23, 2015 at 12:21 PM, Stefan Karpinski wrote: > This is very cool

Re: [julia-users] Re: @sprintf with a format string

2015-09-23 Thread Tom Breloff
> > But we could also do code caching with @printf by just maintaining a dict > mapping format strings to generated code AFAIK, this is exactly what Formatting's sprintf1 does (except it calls @sprintf instead of @printf, so that change would be easy). On Wed, Sep 23, 2015 at 12:22 PM, Stefan

Re: [julia-users] Accessing `--code-coverage` option from Julia?

2015-09-23 Thread Isaiah Norton
Base.JLOptions().code_coverage (see https://github.com/JuliaLang/julia/blob/68b403f820fbd2f7401e12a90d487f41c96ca652/base/options.jl ) On Wed, Sep 23, 2015 at 1:05 PM, Erik Schnetter wrote: > The MPI self tests start new > Julia

Re: [julia-users] Re: IDE for Julia

2015-09-23 Thread Stefan Karpinski
Maybe we can use Mechanical Turk to get handwritten assembly code. Honestly, I'm not sure exactly how this is going to get solved, but it obviously has to get fixed – we can't be stuck on LLVM 3.3 forever, and getting Cxx and Gallium in a state where you don't have to jump through so many hoops to

Re: [julia-users] Re: @sprintf with a format string

2015-09-23 Thread Tim Holy
This does work at runtime, i.e., with a format string that is not known at compile time. A new format string (one you've never seen before) will indeed cause codegen, but only once; after that, every usage of the same format string will be fast. It's basically a cached-method-table version of

Re: [julia-users] Re: IDE for Julia

2015-09-23 Thread Tim Holy
That is astonishingly good news. What are the heroes doing behind the scenes? Replacing LLVM's innards with bionic components? --Tim On Wednesday, September 23, 2015 12:40:06 PM Stefan Karpinski wrote: > On Wed, Sep 23, 2015 at 7:30 AM, Uwe Fechner > > wrote: > >

[julia-users] Image data AS arrays

2015-09-23 Thread Kuba Roth
Though I will ask first. I'm looking for a minimal way o working with images in the same spirit as in python where the channels are represented by multidimensional numpy arrays. Can this be achieved using Cairo library only? What I am looking for is a minimal dependency setup and the fast

[julia-users] Re: Array of vectors of variable number and lengths

2015-09-23 Thread Scott Jones
Do these really need to be arrays (or vectors)? If they are sparse, could you use a structure like Dict{Tuple,Any}? (you might want a SortedDict though). On Monday, September 21, 2015 at 4:08:13 AM UTC-4, Alan Crawford wrote: > > Hi, > > I'd like to be able to define an array of vectors where

Re: [julia-users] Image data AS arrays

2015-09-23 Thread Tim Holy
Images does allow you to work with image data this way. See the "separate" and "reinterpret" methods. Most/all of the algorithms in Images should work with such arrays; feel free to report bugs if you find that not to be the case. --Tim On Wednesday, September 23, 2015 10:49:29 AM Kuba Roth

Re: [julia-users] Image data AS arrays

2015-09-23 Thread Kuba Roth
Thanks for fast reply. Since you mentioned 0.4 what is the current state of libraries at the moment? I'm aware there have been quite a few breaking changes recently introduced to the core Julia. Is Images library up to date with these changes? At the moment I'm still on 0.3 branch just to avoid

Re: [julia-users] Image data AS arrays

2015-09-23 Thread Kuba Roth
Thanks for fast reply. Since you mentioned 0.4 what is the current state of libraries at the moment? I'm aware there have been quite a few breaking changes recently introduced to the core Julia. Is Images library up to date with these changes? At the moment I'm still on 0.3 branch just to avoid

[julia-users] Blosc has build errors

2015-09-23 Thread Nils Gudat
When trying to precompile HDF5, I'm getting: This is 0.4.0-pre+7340 on Ubuntu 14.04.3 Any ideas on how to solve this?

Re: [julia-users] Re: Julia code 5x to 30x slower than Matlab code

2015-09-23 Thread Páll Haraldsson
On mið 23.sep 2015 15:34, Daniel Carrera wrote: To match MATLAB in speed, Julia code should typically be about the same length. That is good enough for me (to match MATLAB and Python's length and at least not be slower) and then no big concern there. C/C++ doesn't even have real macros, and

Re: [julia-users] Re: Juliabox down?

2015-09-23 Thread Seth
That's actually not a good test, since the inability to get to notebooks is different from the inability to get to the main site. On Wednesday, September 23, 2015 at 8:28:18 AM UTC-7, Kristoffer Carlsson wrote: > > http://downforeveryoneorjustme.com/www.juliabox.org/ > > On Wednesday, September

Re: [julia-users] Juno stopped working - error message

2015-09-23 Thread Haoran Jiang
I have tried this before, but i can try it again now. Just want to make sure in ahead, I need to delete the Julia in where I installed, plus the .julia file in C drive, is that be all? to answer your second question, I didn't type anything, I just installed julia, then unzip the lighttable

Re: [julia-users] FFTW.REDFT00 and FFT.RODFT00 are ~10x slower than other routines?

2015-09-23 Thread Sheehan Olver
Hi Steven, OK that makes sense. But why is Julia 2x slower than Matlab for some values of n (see below, the timing difference is consistent when looped over)? Shouldn’t they both be using FFTW? julia> r=rand(200);plan=plan_fft(r); @time plan*r; 0.080122 seconds (12

Re: [julia-users] Juno stopped working - error message

2015-09-23 Thread Sisyphuss
`symbol` is replaced by `Symbol`? On Wednesday, September 23, 2015 at 10:08:58 AM UTC+2, Greg Plowman wrote: > > Hi, > > I'm aware that there are problems with Juno at the moment (I've had my > share of problems). > I'm not really expecting a resolution to the following issue, but > rather

Re: [julia-users] @code_warntype and for loops

2015-09-23 Thread Mauro
> Thank you, Kristoffer. I have read the manual and your post about not > getting carried away by the red == bad assumption > . > Yet, for a for loop, one would not expect so

[julia-users] @code_warntype and for loops

2015-09-23 Thread Kristoffer Carlsson
It can be a bit difficult to read the output from code_warntype. A good heuristic is to just look at the variables on the top and the final return type. If these are concrete then you are fine. If not, then you can look at the messy code in between to find where the instability occurs. For

Re: [julia-users] @code_warntype and for loops

2015-09-23 Thread Michele Zaffalon
Thank you, Kristoffer. I have read the manual and your post about not getting carried away by the red == bad assumption . Yet, for a for loop, one would not expect so much

Re: [julia-users] Juno stopped working - error message

2015-09-23 Thread 'Greg Plowman' via julia-users
Hi, I'm aware that there are problems with Juno at the moment (I've had my share of problems). I'm not really expecting a resolution to the following issue, but rather reporting it in case it is useful or important. The message says to submit a bug report and seems to be coming from Julia

Re: [julia-users] Image data AS arrays

2015-09-23 Thread Isaiah Norton
> > Can this be achieved using Cairo library only? Yes, but Cairo only supports reading PNG files AFAICT (cairo_image_surface_create_from_png). And Cairo is still a binary dependency. Unless you want to write format readers in pure Julia (which I believe was started for TIFF), then there will

Re: [julia-users] Re: Julia code 5x to 30x slower than Matlab code

2015-09-23 Thread Daniel Carrera
On 23 September 2015 at 20:21, Páll Haraldsson wrote: > Between API calls. "second class platform" was probably too strong a > language. I'm not sure if UTF8 is preferred anywhere in Julia (in Base). I honestly don't know if UTF8 is preferred. I have never heard

Re: [julia-users] Image data AS arrays

2015-09-23 Thread Tim Holy
It works on the latest 0.4. There was a recent big naming deprecation and some of Images' test-dependencies haven't yet updated, but Images itself is current. Best, --Tim On Wednesday, September 23, 2015 11:56:10 AM Kuba Roth wrote: > Thanks for fast reply. Since you mentioned 0.4 what is the

[julia-users] Re: Blosc has build errors

2015-09-23 Thread Nils Gudat
Yep, that did the trick! That's what happens when Windows users have to use Linux on servers... Thanks!

[julia-users] Re: What are the "strengths" of the Julia "ecosystem" (e.g. for bio and quants/finance)? This is not a very specific question (while sub-questions are), you've been warned..

2015-09-23 Thread Andrei Zh
If you are looking for a best in the class libraries, you probably won't find many. This is implied by a simple fact that most such libraries had already been created in other languages by the time Julia was born. However, if you want something comparable to such best libraries, then I would

RE: [julia-users] Re: What are the "strengths" of the Julia "ecosystem" (e.g. for bio and quants/finance)? This is not a very specific question (while sub-questions are), you've been warned..

2015-09-23 Thread David Anthoff
Optimization should definitely be on this list. The JuMP package is just phenomenal, in my mind a much better overall experience for many problems than any existing alternative. From: julia-users@googlegroups.com [mailto:julia-users@googlegroups.com] On Behalf Of Andrei Zh Sent: Wednesday,

[julia-users] Re: Juno stopped working - error message

2015-09-23 Thread Sisyphuss
Juno works fine for me on 0.4.0-rc1+33 On Friday, September 18, 2015 at 6:35:56 PM UTC+2, Serge Santos wrote: > > Hi, > > Juno was working fine, but I had to restart Juno and now it keeps churning > after successfully connecting with Julia but I cannot use the shell to work > (nothing happen).

Re: [julia-users] Why is juliabox.org offline?

2015-09-23 Thread Viral Shah
AWS seems to have resolved its issue and the site is accessible again. -viral On Thursday, September 24, 2015 at 4:17:09 AM UTC+5:30, Stefan Karpinski wrote: > > https://groups.google.com/forum/#!topic/julia-box/_CVqq9yX8BI > > If you're a regular user, you may want to join the mailing list. >

[julia-users] Re: transparent color in gadfly

2015-09-23 Thread Li Zhang
Hi Tim, I Checked out the Compose and Gadfly, and set transparent color works in ``` theme(default_color=RGBA(1.0,0.0,0.0,0.3)) ``` but stack overflowed when set transparent color in ``` Guide.manual_color_key("legend",["label"],[RGBA(1.0,0.0,0.0,0.3)]), and

[julia-users] Documentation of operators

2015-09-23 Thread Alex Copeland
Hi, Can someone point me to the documentation for '..' and '->' as in 'include ..Sort' and x -> x[2] . I've dug around in the source and in readthedocs but patterns like this are the devil to search for unless they have a text alias (that you happen to know). Thanks, Alex

[julia-users] Why is juliabox.org offline?

2015-09-23 Thread Matthias Redies
I wanted to try https://www.juliabox.org/, but I can only load an empty white page. Is this just me? When will it be back up?

[julia-users] Matrix multiplication: "_unsafe_getindex" and "_unsafe_batchsetindex"

2015-09-23 Thread Benjamin Born
Hey everybody, I'm a Julia beginner slowly transitioning from Matlab to Julia (0.4 RC2 on Win 7 64bit) and I haven't been able to figure out the following problem. Profiling my code I have received the following message for a line of my code that multiplies three matrices D=A*B*C: 839

Re: [julia-users] Why is juliabox.org offline?

2015-09-23 Thread Stefan Karpinski
https://groups.google.com/forum/#!topic/julia-box/_CVqq9yX8BI If you're a regular user, you may want to join the mailing list. On Wed, Sep 23, 2015 at 6:00 PM, Matthias Redies < matthiasred...@googlemail.com> wrote: > I wanted to try https://www.juliabox.org/, but I can only load an empty >

RE: [julia-users] Why is juliabox.org offline?

2015-09-23 Thread David Anthoff
Same here. From: julia-users@googlegroups.com [mailto:julia-users@googlegroups.com] On Behalf Of Matthias Redies Sent: Wednesday, September 23, 2015 3:00 PM To: julia-users Subject: [julia-users] Why is juliabox.org offline? I wanted to try

[julia-users] Re: What are the "strengths" of the Julia "ecosystem" (e.g. for bio and quants/finance)? This is not a very specific question (while sub-questions are), you've been warned..

2015-09-23 Thread Jonathan Malmaud
The webstack has seen considerable improvement lately. Mux is the most mature and supported webapp framework at this point. On Wednesday, September 23, 2015 at 4:58:01 PM UTC-4, Andrei Zh wrote: > > If you are looking for a best in the class libraries, you probably won't > find many. This is

Re: [julia-users] Re: Documentation of operators

2015-09-23 Thread Erik Schnetter
Yes, operators are difficult to search for. There should be a table of them... The two dots .. are not an operator; they specify an access path to a module. See The arrow -> defines an anonymous function. See <

[julia-users] [ANN] ShaderToy.jl

2015-09-23 Thread Simon Danisch
Hi, you want to try out GPU accelerated ray tracing? You want some quick and easy start for GPU accelerated fractal rendering? You can do this quite easily now! ShaderToy allows you to only specify a fragmentshader, which is an OpenGL program which

[julia-users] Re: Documentation of operators

2015-09-23 Thread Alex Copeland
For example, I find this on line 518 of base/sort.jl (/usr/local/Cellar/julia/HEAD/share/julia/base/sort.jl on homebrew julia) 5 ## fast clever sorting for floats ## 516 517 module Float 518 using ..Sort 519 using ...Order On Wednesday, September 23, 2015 at 4:30:01 PM UTC-7, ele...@gmail.com

[julia-users] Re: Documentation of operators

2015-09-23 Thread Alex Copeland
Update from OP: Not sure it matters, but on the off chance the syntax is new, I'm running julia> versioninfo() Julia Version 0.5.0-dev+318 Commit 3b189b9* (2015-09-22 15:28 UTC) Platform Info: System: Darwin (x86_64-apple-darwin12.4.0) CPU: Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz

[julia-users] parse(BigFloat,string(Float64))+similar <--> (Float64,Float64) is not quite right?

2015-09-23 Thread Jeffrey Sarnoff
Working on double-double math, I found this to be a problem. It makes validating high precision numerics more difficult than it should be. The example illustrates what is going on. #= parse(Float64,string(BigFloat)) is less accurate than it should be at least in this case BigFloat is the

Re: [julia-users] Matrix multiplication: "_unsafe_getindex" and "_unsafe_batchsetindex"

2015-09-23 Thread Tim Holy
Welcome to Julia! Can you clarify the precise nature of your concern? I'm not sure I see a problem. To make sure you're interpreting this right, it's indicating that 741/839 = 88% of your execution time is in gemm!, which is the core routine for matrix-matrix multiplication. The "unsafe"

Re: [julia-users] transparent color in gadfly

2015-09-23 Thread Tim Holy
It should work, but it's possible you might need to `Pkg.checkout("Gadfly")` and `Pkg.checkout("Compose")`. See https://github.com/dcjones/Gadfly.jl/pull/689 --Tim On Wednesday, September 23, 2015 06:39:29 PM Li Zhang wrote: > Hi there, > > i found no way to get transparent colors in gadfly,

Re: [julia-users] Re: Interview with the Julia language creators in The Programmer magazine (Chinese)

2015-09-23 Thread Roger Luo
if there si no VPN in China,it would be hard to access google services and there seems to be international export limitations(which may also led to the Xcodeghost happened in China) 2015-09-21 17:04 GMT+08:00 Sisyphuss : > GitHub was blocked between Jan 20, 2013 to Jan

[julia-users] [ANN] Plots 0.2.0

2015-09-23 Thread Tom Breloff
I'm happy to announce a new tagged release of https://github.com/tbreloff/Plots.jl, a plotting package that is simple and easy to use, and which I hope will one day offer the union (not an intersection) of functionality between underlying backends. This is still a work in progress, but it's

[julia-users] Re: Documentation of operators

2015-09-23 Thread elextr
On Thursday, September 24, 2015 at 9:37:01 AM UTC+10, Alex Copeland wrote: > > For example, I find this on line 518 of base/sort.jl > (/usr/local/Cellar/julia/HEAD/share/julia/base/sort.jl on homebrew julia) > > 5 ## fast clever sorting for floats ## > 516 > 517 module Float > 518 using ..Sort

[julia-users] Juno cannot build?

2015-09-23 Thread Roger Luo
It was fine before.but when I tried to build a function on juno it seems never to finish building,the call stack is like this in server at /home/roger/.julia/v0.3/Jewel.jl/src/Jewel.jl:18 in include at boot.jl:45 in include_from_nodel at loading.jl:128 in process_options at ./client.jl:285 in

Re: [julia-users] FFTW.REDFT00 and FFT.RODFT00 are ~10x slower than other routines?

2015-09-23 Thread Steven G. Johnson
On Wednesday, September 23, 2015 at 3:47:43 AM UTC-4, Sheehan Olver wrote: > > OK that makes sense. But why is Julia 2x slower than Matlab for some > values of n (see below, the timing difference is consistent when looped > over)? Shouldn’t they both be using FFTW? > I think that maybe

Re: [julia-users] FFTW.REDFT00 and FFT.RODFT00 are ~10x slower than other routines?

2015-09-23 Thread Sheehan Olver
OK that makes sense. But then why is rfft on a vector length 2*(n-1) more than 2x faster than FFT.REDFT00? julia> r=rand(10);@time for k=1:100 FFTW.r2r(r,FFTW.REDFT00) end; 2.496130 seconds (8.30 k allocations: 76.703 MB, 0.76% gc time) julia> r=rand(2*(10-1));@time for k=1:100

[julia-users] transparent color in gadfly

2015-09-23 Thread Li Zhang
Hi there, i found no way to get transparent colors in gadfly, anyone have done this, or a issue should be filed?

[julia-users] Subtyping from DArray.jl

2015-09-23 Thread naelson
Is it possible to subtype a concrete type, like DArray.jl? I need to do it, but I don's know how to.

Re: [julia-users] Subtyping from DArray.jl

2015-09-23 Thread Spencer Russell
Nope, it is not possible. See http://docs.julialang.org/en/latest/manual/types for more info. Particularly the section: One particularly distinctive feature of Julia’s type system is that concrete types may not subtype each other: all concrete