Re: [julia-users] Re: Why does the following give an error: p = 1; 2p+1 ??

2015-01-05 Thread Peter Mancini
That is a case of e being overloaded. It helps with the OP's issue though. For the scientific notation issue I would suggest choosing which is more useful, natural e or using e for a base ten exponent. On Monday, January 5, 2015 12:22:11 PM UTC-6, Stefan Karpinski wrote: On Mon, Jan 5, 2015

Re: [julia-users] printf float64 as hex/raw

2015-01-05 Thread Jameson Nash
https://developer.gnome.org/gdk3/stable/gdk3-Events.html#gdk-event-request-motions I've generally found the manual to have better information than the tutorials. Specifically, the tutorials generally don't seem to get updated as Gtk evolves (esp. those not hosted on the gnome site). That's

Re: [julia-users] K-means Clustering in matlab

2015-01-05 Thread Stefan Karpinski
This is a little confusing since it seems to be a question about Matlab. Did you mean to ask about how to do k-means clustering in Julia? On Mon, Jan 5, 2015 at 6:47 AM, Eng Noor engnoo...@gmail.com wrote: How to Perform a K-means Clustering in matlab and use it to select acluster head ???

Re: [julia-users] sub type definitions

2015-01-05 Thread Mike Innes
Yup, that's the one, my bad On 5 January 2015 at 18:35, Samuel Colvin s...@muelcolvin.com wrote: Great thanks a lot, now working. -- Samuel Colvin s...@muelcolvin.com, 07801160713 On 5 January 2015 at 18:32, Jacob Quinn quinn.jac...@gmail.com wrote: I believe it should actually be:

Re: [julia-users] Re: Why does the following give an error: p = 1; 2p+1 ??

2015-01-05 Thread Stefan Karpinski
To eliminate the ambiguity, one would have to disallow all variable names that start with the letter e. At which point, one might as well go all the way and just disallow using e altogether and rename the language to Gadsby. On Mon, Jan 5, 2015 at 1:41 PM, Peter Mancini pe...@cicayda.com wrote:

Re: [julia-users] Re: Why does the following give an error: p = 1; 2p+1 ??

2015-01-05 Thread Hans W Borchers
Does this mean you suggest to disallow variables names 'e', 'f', 'p' (and possibly others) in a programming environment for scientific computing? Hard to believe. On Monday, January 5, 2015 7:41:49 PM UTC+1, Peter Mancini wrote: That is a case of e being overloaded. It helps with the OP's

Re: [julia-users] Re: Why does the following give an error: p = 1; 2p+1 ??

2015-01-05 Thread Peter Mancini
No. I'm tongue in cheek pointing out the absurdity of the situation. On Monday, January 5, 2015 12:57:45 PM UTC-6, Hans W Borchers wrote: Does this mean you suggest to disallow variables names 'e', 'f', 'p' (and possibly others) in a programming environment for scientific computing? Hard to

Re: [julia-users] Re: Julia backslash performance vs MATLAB backslash

2015-01-05 Thread Tim Davis
The difference could be the BLAS. MATLAB comes with its own BLAS library, and the performance of the BLAS has a huge impact on the performance of UMFPACK, particularly for 3D discretizations. On Mon, Jan 5, 2015 at 6:21 AM, Ehsan Eftekhari e.eftekh...@gmail.com wrote: I'm solving diffusion

Re: [julia-users] reading compressed csv file?

2015-01-05 Thread ivo welch
hi kevin---I would be happy to open an issue, but I would prefer if the honor was left to someone (you?) who can articulate it better. I am a true novice here. if I understand it right, the fix is easy. is a Handle change complex and/or needed? just overload all functions that expect a Pipe to

Re: [julia-users] Re: Suggestion for tuple types explanation in manual

2015-01-05 Thread ivo welch
documentation is a tricky thing. I am pretty sure you do *not* want me to make doc changes. I am very qualified to state exactly where I am getting confused and where it could be better. alas, if I tried to write it, I would write incorrect explanation, which would probably be worse. so, this

Re: [julia-users] reading compressed csv file?

2015-01-05 Thread Steven G. Johnson
On Monday, January 5, 2015 9:09:41 AM UTC-5, Kevin Squire wrote: FWIW, I believe that there was concern that the behavior of open(process) might cause confusion when it was defined in this way. (A quick search didn't locate the issue.) See the discussion at

Re: [julia-users] Re: Suggestion for tuple types explanation in manual

2015-01-05 Thread Jiahao Chen
I am very qualified to state exactly where I am getting confused and where it could be better. alas, if I tried to write it, I would write incorrect explanation, which would probably be worse. so, this needs one person who is learning it (the consumer) and one person who is teaching it (the

Re: [julia-users] reading compressed csv file?

2015-01-05 Thread Jameson Nash
It seems perhaps that each Process instance should remember its IO streams, so that it could be used directly as an IO object. On Mon, Jan 5, 2015 at 2:32 PM Steven G. Johnson stevenj@gmail.com wrote: On Monday, January 5, 2015 9:09:41 AM UTC-5, Kevin Squire wrote: FWIW, I believe that

Re: [julia-users] [ANN] Blink.jl – Web-based GUIs for Julia

2015-01-05 Thread Ivar Nesje
Have you seen https://github.com/JuliaLang/julia/pull/8987?

Re: [julia-users] Re: Why does the following give an error: p = 1; 2p+1 ??

2015-01-05 Thread Viral Shah
There is also an issue filed: https://github.com/JuliaLang/julia/issues/9617 -viral On Tuesday, January 6, 2015 12:29:33 AM UTC+5:30, Peter Mancini wrote: No. I'm tongue in cheek pointing out the absurdity of the situation. On Monday, January 5, 2015 12:57:45 PM UTC-6, Hans W Borchers

[julia-users] Re: Warning: imported binding for transpose overwritten in module __anon__

2015-01-05 Thread John Zuhone
Simon, Thanks for looking into that! Steven, what are your plans for bumping PyCall to the next version number? Best, John On Sunday, January 4, 2015 6:39:33 PM UTC-5, Simon Kornblith wrote: https://github.com/stevengj/PyCall.jl/pull/110 On Sunday, January 4, 2015 9:34:14 AM UTC-5, John

[julia-users] Re: Julia vs C++-11 for random walks

2015-01-05 Thread lapeyre . math122a
Oh, and, (I forgot to mention!) the Julia code runs much faster. On Monday, January 5, 2015 3:56:07 PM UTC+1, lapeyre@gmail.com wrote: Hi, here is a comparison of Julia and C++ for simulating a random walk https://github.com/jlapeyre/ranwalk-Julia-vs-Cxx. It is the first Julia program

Re: [julia-users] [ANN] Blink.jl – Web-based GUIs for Julia

2015-01-05 Thread Mike Innes
Whoops, slight bug in the build script. A Pkg.update() (possibly followed by Pkg.build(Blink), if it doesn't happen automatically) should fix you up. On 5 January 2015 at 15:02, Rob J. Goedman goed...@icloud.com wrote: Hi Mike, Tried it a couple of times, but run into below error, in REPL.

[julia-users] Re: [ANN] Blink.jl – Web-based GUIs for Julia

2015-01-05 Thread Tracy Wadleigh
Nice work! I was just thinking about julia integration with atom-shell this morning. I'm excited to see where this goes.

Re: [julia-users] Re: Julia vs C++-11 for random walks

2015-01-05 Thread Isaiah Norton
Very neat. Just in case this gets posted to the interwebz, it is worth pointing out that the performance advantage for Julia can probably be explained by differences in the underlying RNG. We use dsFMT, which is known to be one of (if not the?) fastest MT libraries around. I could not find any

Re: [julia-users] Re: Why does the following give an error: p = 1; 2p+1 ??

2015-01-05 Thread Christoph Ortner
just noticed that Tamas already recommended that above. Just to reiterate I think this is the better way to resolve this particular issue. Christoph On Monday, 5 January 2015 15:04:27 UTC, Eric Forgy wrote: Maybe its not so bad if you just always include * where it should be, i.e. p = 1;

Re: [julia-users] Julia backslash performance vs MATLAB backslash

2015-01-05 Thread Viral Shah
Tim - thanks for the reference. The paper will come in handy. This is a longstanding issue, that we just haven’t got around to addressing yet, but perhaps now is a good time. https://github.com/JuliaLang/julia/issues/3295 We have a very simplistic factorize() for sparse matrices that must have

[julia-users] Re: Test-scoped requirements

2015-01-05 Thread Andrei Zh
Thanks, works like a charm. On Sunday, January 4, 2015 10:39:27 PM UTC+3, Michael Hatherly wrote: You can put a REQUIRE file in the test directory that should do what you want. — Mike ​ On Sunday, 4 January 2015 21:33:37 UTC+2, Andrei Zh wrote: I have a package A that has file-based

Re: [julia-users] Re: Julia vs C++-11 for random walks

2015-01-05 Thread lapeyre . math122a
Ok. It's done. Just to be sure I understood what I read on a github forum; there is no way for me to attach a label to the PR. So the labels are always added by someone else ? --John On Monday, January 5, 2015 9:25:18 PM UTC+1, Viral Shah wrote: Thanks. Do create a PR. -viral On

Re: [julia-users] Julia backslash performance vs MATLAB backslash

2015-01-05 Thread Tim Davis
oops. Yes, your factorize function is broken. You might try mine instead, in my factorize package. I have a symmetry-checker in CHOLMOD. It checks if the matrix is symmetric and with positive diagonals. I think I have a MATLAB interface for it too. The code is efficient, since it doesn't form

Re: [julia-users] How to overwrite to an existing file, only range of data? HDF5 can do this ?

2015-01-05 Thread Paul Analyst
Tim , thx for hints, but do not work without this line #fid[mygroup/A]=rand(2) becouse I vave not g , and nothing to declare in this line /dset = d_create(g, F, datatype(Float64), dataspace(10,10))/ / dset = d_create( F, datatype(Float64), dataspace(10,10))/ do not work ... Paul using

Re: [julia-users] Julia vs C++-11 for random walks

2015-01-05 Thread Viral Shah
I believe the labels can only be attached by those who have read/write access. -viral On 06-Jan-2015, at 2:20 am, lapeyre.math1...@gmail.com wrote: Ok. It's done. Just to be sure I understood what I read on a github forum; there is no way for me to attach a label to the PR. So the

Re: [julia-users] Julia backslash performance vs MATLAB backslash

2015-01-05 Thread Viral Shah
Thanks, that is great. I was wondering about the symmetry checker - we have the naive one currently, but I can just use the CHOLMOD one now. -viral On 06-Jan-2015, at 2:22 am, Tim Davis da...@tamu.edu wrote: oops. Yes, your factorize function is broken. You might try mine instead, in

Re: [julia-users] Julia vs C++-11 for random walks

2015-01-05 Thread lapeyre . math122a
Good. This is fine with me.Thanks. --John On Monday, January 5, 2015 9:52:58 PM UTC+1, Viral Shah wrote: I believe the labels can only be attached by those who have read/write access. -viral On 06-Jan-2015, at 2:20 am, lapeyre@gmail.com javascript: wrote: Ok. It's done.

Re: [julia-users] Julia backslash performance vs MATLAB backslash

2015-01-05 Thread Ehsan Eftekhari
Following your advice, I tried the code again, this time I also used MUMPS solver from https://github.com/lruthotto/MUMPS.jl I used a 42x43x44 grid. These are the results: MUMPS: elapsed time: 2.09091471 seconds lufact: elapsed time: 5.01038297 seconds (9952832 bytes allocated) backslash:

Re: [julia-users] Re: Suggestion for tuple types explanation in manual

2015-01-05 Thread Tim Holy
First, keep in mind that nothing gets committed without review, unless you already have push privileges. In the absence of being able to actually construct the change, I like the idea of tagging things that need fixing. You can do that just by editing the document to say This needs to be

<    1   2