Re: [julia-users] Re: Failure of installing Julia 0.4 (latest master) on Mac OS X 10.10

2014-10-30 Thread Jameson Nash
one option would be to split deps/Makefile into N different deps/ABC.make files (one for each dependency), so that each makefile could have a dependency on itself otherwise, authors just need to be careful to introduce a makefile dependency on the new build artifact whenever they add a patch

[julia-users] Re: how to add processes at other hosts from inside julia instead of via --machinefile file on the command line

2014-10-30 Thread moritz braun
Dear all I found the answer in another post on julia users there is a method for addprocs taking a list of machines! regards Moritz On Thursday, 30 October 2014 08:32:41 UTC+2, moritz braun wrote: Dear All I am working on using julia with LSF and bsub. As you might be aware the bsub

[julia-users] problems with remote hosts parallel julia with --machinefile sometimes it works sometimes it doensnt!

2014-10-30 Thread moritz braun
Dear All I am now testing the parallel execution of tasks in julia using the julia --machinefile file option. The problem is it works sometimes while sometimes I get the following error message: ssh_askpass: exec(/usr/libexec/openssh/gnome-ssh-askpass): No such file or directory Host key

[julia-users] Installation on REHL

2014-10-30 Thread Andy Reagan
I've gotten pretty far installing 0.3.2 on a Red Hat Enterprise Linux cluster, reading other posts, but have hit a issue I can't find anywhere else. The tail of output from make is: Making install in tests Making install in tune /bin/mkdir -p

[julia-users] Re: Julians in Colorado?

2014-10-30 Thread Viral Shah
I have found having GitHub names that match real names to be generally useful. I guess one can still have the profile photo as an outlet of creativity! -viral On Tuesday, October 28, 2014 9:32:49 PM UTC+5:30, Sean Garborg wrote: Hi Taylor, I've seen you around JuliaStats -- nice to have a

Re: [julia-users] Installation on REHL

2014-10-30 Thread Elliot Saba
This was a mistake on my part; the 0.3.2 release that was originally tagged had a typo in it, and the tag was subsequently moved. See this link https://github.com/JuliaLang/julia/commit/8227746b95146c2921f83d2ae5f37ecd146592d8 for the proper gitsha corresponding to the 0.3.2 tag. Finally,

Re: [julia-users] Re: Customize REPL autocomplete

2014-10-30 Thread xiongjieyi
It will be prefect if the Tab can also auto-complete the argument names of a function, like what R did. Actually I have other complaints about REPL: 1. Ctrl+w delected all the line rather than only the last word. It really make me crazy 2. If I push F1 in the REPL in termnal window (it is

[julia-users] Re: problems with remote hosts parallel julia with --machinefile sometimes it works sometimes it doensnt!

2014-10-30 Thread moritz braun
Dear All I found the solution! run a bash script like #!/bin/bash for i in `seq -w 1 128` do outtext=`echo $i` outtext2=`ssh hpc$i uptime` echo hpc$outtext

[julia-users] Equivalent command to IPython's %run in Julia REPL

2014-10-30 Thread Martin Klein
Hi, when using Python I usually execute my programs within IPython by using the %run command, which executes a given script with the given arguments, but keeps all of the defined variables in the namespace after execution. Unfortunately, I couldn't find any fully equivalent command for the

Re: [julia-users] Re: Customize REPL autocomplete

2014-10-30 Thread Ivar Nesje
We have different level of experience with key bindings, and we are used to different things. You won't get far with It really make me crazy that Julia doesn't work exactly as Matlab or R, but there are definitely still possibilities to change behaviour if you manage to convince the community

Re: [julia-users] Re: Customize REPL autocomplete

2014-10-30 Thread xiongjieyi
I see, I should use meta-Backspace instead. And the undocumented shortcut for function arguments is cool! I didn't find that before! Just for fun, I changed my code a little, to show help by function_name?\t, like: julia sin?\t Base.sin(x) Compute sine of x, where x is in radians julia sin?

Re: [julia-users] Re: Customize REPL autocomplete

2014-10-30 Thread Kevin Squire
Actually, you could already do that if you typed the ? first... Thanks for the enthusiasm, though! Cheers, Kevin On Thu, Oct 30, 2014 at 3:43 AM, xiongji...@gmail.com wrote: I see, I should use meta-Backspace instead. And the undocumented shortcut for function arguments is cool! I didn't

Re: [julia-users] Re: Customize REPL autocomplete

2014-10-30 Thread xiongjieyi
The advantage is you don't need to remove the whole line to check the help information. It could also used to check the information of variable while typing. What's ever, maybe it is nothing more than a toy. Let me work with it for a while first. :) The REPL is written by Julia itself, which

Re: [julia-users] Re: Customize REPL autocomplete

2014-10-30 Thread xiongjieyi
Maybe a little flaw for the filename auto-completion, that path started with ~ ($HOME) can not be completed.

[julia-users] Re: Equivalent command to IPython's %run in Julia REPL

2014-10-30 Thread David P. Sanders
El jueves, 30 de octubre de 2014 07:42:28 UTC-6, Daniel Carrera escribió: How about this macro: macro run(file, args...) return esc(:(ARGS = $args; include($file))) end That's a very simple and nice solution! I have also missed this functionality from IPython. Maybe this could go

[julia-users] Re: Equivalent command to IPython's %run in Julia REPL

2014-10-30 Thread Martin Klein
Am Donnerstag, 30. Oktober 2014 14:42:28 UTC+1 schrieb Daniel Carrera: How about this macro: macro run(file, args...) return esc(:(ARGS = $args; include($file))) end For example: - $ cat ./test.jl #!/usr/bin/julia for a in ARGS

Re: [julia-users] Installation on REHL

2014-10-30 Thread Andy Reagan
Awesome thanks!! I will try. On Thursday, October 30, 2014 4:36:26 AM UTC-4, Elliot Saba wrote: This was a mistake on my part; the 0.3.2 release that was originally tagged had a typo in it, and the tag was subsequently moved. See this link

Re: [julia-users] Re: new REPL

2014-10-30 Thread cdm
loosely related request ... could someone point me to where customizations of the REPL are described? for example, suppose the user was interested in changing the color schemes in the REPL so that the julia prompt was say yellow instead of the green from the three dots logo, and user entry was

Re: [julia-users] Re: new REPL

2014-10-30 Thread T3X
On Thursday, 30 October 2014 16:46:55 UTC, cdm wrote: also is there a command to generate the Julia logo header that is served at the start of every REPL launch. Base.banner()

Re: [julia-users] Re: new REPL

2014-10-30 Thread Steven G. Johnson
On Thursday, October 30, 2014 12:46:55 PM UTC-4, cdm wrote: for example, suppose the user was interested in changing the color schemes in the REPL so that the julia prompt was say yellow instead of the green from the three dots logo, and user entry was in the same purple from the three

Re: [julia-users] Re: new REPL

2014-10-30 Thread Steven G. Johnson
On Thursday, October 30, 2014 1:46:11 PM UTC-4, Steven G. Johnson wrote: On Thursday, October 30, 2014 12:46:55 PM UTC-4, cdm wrote: for example, suppose the user was interested in changing the color schemes in the REPL so that the julia prompt was say yellow instead of the green from

[julia-users] Conceptual Issue

2014-10-30 Thread Kanu Sahai
Hello I am a beginner in Julia and have been trying to build an application in it. Although, I am facing a conceptual doubt. I am working with 4 worker processes on one node. addprocs(4) I define a variable 'a' on all the processes. julia @everywhere a=4 Next, I try to modify the value of

Re: [julia-users] Redirect stdout to /dev/null or similar

2014-10-30 Thread Frank Davidson
Awesome! Thanks, guys! Yes, it's a weird file and there are a huge number of columns... On Tuesday, October 28, 2014 8:40:24 PM UTC-4, John Myles White wrote: Can you give an example? The default DataFrames printing should only render a few rows, although it will render all columns by

[julia-users] Southern California Julia users?

2014-10-30 Thread Jim Garrison
Hi there, I am quite excited about Julia and am considering organizing a Julia Meetup group (or otherwise) in Southern California. I live in Santa Barbara, but I'm betting it will be easier to find a critical mass of people in Los Angeles first. Please get in touch if you are interested

Re: [julia-users] Southern California Julia users?

2014-10-30 Thread Stefan Karpinski
Viral and I met in grad school at UCSB – it's cool that there might be a Santa Barbara Julia Meetup soon! On Thu, Oct 30, 2014 at 2:23 PM, Jim Garrison j...@garrison.cc wrote: Hi there, I am quite excited about Julia and am considering organizing a Julia Meetup group (or otherwise) in

[julia-users] readdlm( file.txt, Int64 ) destroys information

2014-10-30 Thread DavidH
It seems that readdlm reads numbers as Float64s and then converts to Int64 - but not every Int64 is exactly representable in a Float64. I'm trying to read an array of Int64s and I'm getting errors for large numbers. Seems like a bug to me. At least it should be documented... I guess I have

Re: [julia-users] Southern California Julia users?

2014-10-30 Thread cdm
Gauchos. i am not one ... but, mentally, this happens julia UCSB == GAUCHOS true later, cdm

Re: [julia-users] Re: new REPL

2014-10-30 Thread cdm
figures, it would be easy. why is everything so easy in Julia ... ? cdm

Re: [julia-users] Re: new REPL

2014-10-30 Thread Jiahao Chen
On Thu, Oct 30, 2014 at 3:02 PM, cdm cdmclean@gmail.com wrote: why is everything so easy in Julia ... ? Why is everything so hard in not-Julia?

[julia-users] Re: readdlm( file.txt, Int64 ) destroys information

2014-10-30 Thread Ivar Nesje
It seems like a bug to me too. Would you open an issue on github? kl. 19:55:59 UTC+1 torsdag 30. oktober 2014 skrev DavidH følgende: It seems that readdlm reads numbers as Float64s and then converts to Int64 - but not every Int64 is exactly representable in a Float64. I'm trying to read an

Re: [julia-users] Re: new REPL

2014-10-30 Thread Stefan Karpinski
LoL. That's flattering. There are certainly other languages that like to make things easy, we just follow in that tradition as much as possible. On Thu, Oct 30, 2014 at 3:22 PM, Jiahao Chen jia...@mit.edu wrote: On Thu, Oct 30, 2014 at 3:02 PM, cdm cdmclean@gmail.com wrote: why is

Re: [julia-users] new REPL

2014-10-30 Thread Rob J. Goedman
Wow, works! No more compiling of 0.3.2 for me!!! Thank you! Rob J. Goedman goed...@icloud.com On Aug 21, 2014, at 11:57 AM, Rob J. Goedman goed...@icloud.com wrote: Just wondering, I used to change the color of the help prompt by editing REPL.jl and re-making julia. With the release

Re: [julia-users] Re: new REPL

2014-10-30 Thread cdm
On Thursday, October 30, 2014 1:04:52 PM UTC-7, Stefan Karpinski wrote: LoL. That's flattering. There are certainly other languages that like to make things easy, we just follow in that tradition as much as possible. flattering and COMPLEMENTary !

[julia-users] Unexpected heavy memory allocation

2014-10-30 Thread Douglas Bates
I haven't finished with the notebook http://nbviewer.ipython.org/github/dmbates/JuliaWorkshop/blob/master/ParallelGLM.ipynb but, unfortunately, must turn my attention to something else. I'll get back to it tomorrow. In the meantime, if someone has a hint as to where the memory allocation is

[julia-users] typejoin and other expressions in super type parameter

2014-10-30 Thread Shashi Gowda
Consider: julia abstract A{T} julia type B{X, Y} : A{typejoin(X, Y)} x::X y::Y end julia super(typeof(B(1, a))) A{ASCIIString} julia super(typeof(B(a, 1))) A{Int64} Which is odd. And, julia type C{X} : A{super(X)} x::X end ERROR: `super` has no

Re: [julia-users] Conceptual Issue

2014-10-30 Thread Tim Holy
Others know much more about this area than I do, so hopefully they'll chime in and correct anything I say that's wrong. @spawnat (and similar functions) localize variables on remote workers by effectively wrapping them in let blocks. That means that when the command finishes, the (new) a goes

[julia-users] Re: How to assign names of a RArray object in Rif.jl?

2014-10-30 Thread lgautier
I turns out that: 1- the error message is wrong (fixed in master) 2- it should be Rif.R(`names-`) 3- better to open an issue on github than post on the list 4- the alternative (getrnames/setrnames) should now be the in latest release of Rif. Just update. On Wednesday, October 29, 2014 5:15:09

[julia-users] Re: How to assign names of a RArray object in Rif.jl?

2014-10-30 Thread lgautier
I'd be happy to follow the naming convention for generics when handling named arrays. On Monday, October 27, 2014 11:17:47 AM UTC-4, David van Leeuwen wrote: Hi, There is a package NamedArray that attempts to make it possible to work with named indices and dimensions in native Julia

Re: [julia-users] Unexpected heavy memory allocation

2014-10-30 Thread Tim Holy
Did you try julia --track-allocation=user (or all, if necessary)? See the docs: http://docs.julialang.org/en/latest/stdlib/base/#Base.clear_malloc_data --Tim On Thursday, October 30, 2014 02:16:37 PM Douglas Bates wrote: I haven't finished with the notebook

[julia-users] ANN: JLTest (An xUnit like testing framework)

2014-10-30 Thread Sal Mangano
I wanted a unittest framework that worked more like unittest in python (or xUnit in in other languages) so I wrote g...@github.com:smangano/JLTest.git. If you find it useful great. I am still new to Julia so if you find anything showing poor taste I am happy to get critique and/or suggestions

Re: [julia-users] Conceptual Issue

2014-10-30 Thread Kanu Sahai
Thanks Tim. One more work around which I found for this was : julia @spawnat 2 global a=5 This references the global variable 'a' from inside the function. I don't know if this would be a correct way to do it, but it seems to work. On Thursday, 30 October 2014 17:30:20 UTC-4, Tim Holy wrote:

[julia-users] Re: ANN: JLTest (An xUnit like testing framework)

2014-10-30 Thread Sal Mangano
https://github.com/smangano/JLTest https://github.com/smangano/JLTest On Thursday, October 30, 2014 8:08:23 PM UTC-4, Sal Mangano wrote: I wanted a unittest framework that worked more like unittest in python (or xUnit in in other languages) so I wrote g...@github.com:smangano/JLTest.git.

Re: [julia-users] Southern California Julia users?

2014-10-30 Thread Kevin Squire
Hi Jim, I'm in LA, which isn't quite Santa Barbara (I like SB better), but is within striking distance. I know that there are some users at UCLA (I was there until earlier this year), but I'm not sure how active they are. I'd also be happy to know of other users in the area, and would be

Re: [julia-users] Re: Package build errors

2014-10-30 Thread Miguel Belbut Gaspar
It worked. Thanks. using WinRPM push!(WinRPM.sources, http://download.opensuse.org/repositories/home:kelman/openSUSE_13.1;) WinRPM.update() WinRPM.install(tk) Then I think things should work again for you. Please let me know if not.

Re: [julia-users] Southern California Julia users?

2014-10-30 Thread Stefan Karpinski
Split the difference? Oxnard Julia Users Group? On Thu, Oct 30, 2014 at 8:57 PM, Kevin Squire kevin.squ...@gmail.com wrote: Hi Jim, I'm in LA, which isn't quite Santa Barbara (I like SB better), but is within striking distance. I know that there are some users at UCLA (I was there until

[julia-users] Re: Equivalent command to IPython's %run in Julia REPL

2014-10-30 Thread David P. Sanders
El jueves, 30 de octubre de 2014 09:11:08 UTC-6, Martin Klein escribió: Am Donnerstag, 30. Oktober 2014 14:42:28 UTC+1 schrieb Daniel Carrera: How about this macro: macro run(file, args...) return esc(:(ARGS = $args; include($file))) end For example:

[julia-users] Re: Equivalent command to IPython's %run in Julia REPL

2014-10-30 Thread David P. Sanders
El jueves, 30 de octubre de 2014 20:01:40 UTC-6, David P. Sanders escribió: El jueves, 30 de octubre de 2014 09:11:08 UTC-6, Martin Klein escribió: Am Donnerstag, 30. Oktober 2014 14:42:28 UTC+1 schrieb Daniel Carrera: How about this macro: macro run(file, args...) return

Re: [julia-users] Re: Equivalent command to IPython's %run in Julia REPL

2014-10-30 Thread Stefan Karpinski
You can't really without resorting to a fragile hack – stuff that's not in double quotes must be valid Julia syntax and the macro will not get it in raw form but in parsed form. On Thu, Oct 30, 2014 at 10:13 PM, David P. Sanders dpsand...@gmail.com wrote: El jueves, 30 de octubre de 2014

[julia-users] Re: Stiff ODE solver available now?

2014-10-30 Thread cdm
On Saturday, May 31, 2014 12:11:02 PM UTC-7, Paweł Biernat wrote: Hil, DASSL.jl supports multiple equtions, I have just added an example to the readme file [1]. If you need any further help with setting up DASSL.jl I am ready to help you. Paweł ... i added DASSL with Pkg.add(DASSL)

Re: [julia-users] Re: Equivalent command to IPython's %run in Julia REPL

2014-10-30 Thread David P. Sanders
El jueves, 30 de octubre de 2014 20:17:55 UTC-6, Stefan Karpinski escribió: You can't really without resorting to a fragile hack – stuff that's not in double quotes must be valid Julia syntax and the macro will not get it in raw form but in parsed form. Does the following count as a

Re: [julia-users] Unexpected heavy memory allocation

2014-10-30 Thread Sam L
I tried calling XtWXXtWZ! with a Distribution object e.g. Bernoulli() instead of a type, likewise for Link, as in XtWXXtWz!(XtWX,XtWz,Xt,β,y,wt,Bernoulli(),LogitLink()) and changing the appropriate lines to μ = linkinv(*typeof*(L),η) μη = dμdη(*typeof*(L),η) W