[julia-users] Re: Julia as a General Purpose Language

2014-02-19 Thread bp2012
I'm not a scientific programmer. In fact, I haven't been a professionally paid developer/dev mgmt for 8 years. However, being able to quickly code up a solution to a problem, to perform my own research on our data, and generate my own reports has proven to be highly valuable to my career on the

Re: [julia-users] Re: julia unable to install on Ubuntu 13.10

2014-01-28 Thread bp2012
Hi Rajn, I found that trying to use pre-packaged versions of python gave me a lot of trouble. You might be able to figure out, but I wasn't able to get enthought or anaconda to work well. So I use the standard 2.7.3 version of python already pre-installed. Then I run the following to get numpy,

Re: [julia-users] Re: julia unable to install on Ubuntu 13.10

2014-01-28 Thread bp2012
Also, I just got around installing an ubuntu vm from scratch on my work laptop. This process takes about an hour in total (mostly due to downloading the .iso and updates). I just finished with it and julia started right up. (this assumes you are installing on a 64 bit windows platform.) It's u

Re: [julia-users] julia unable to install on Ubuntu 13.10

2014-01-25 Thread bp2012
Is there a specific reason that you must build julia from source? I use the nightly builds and haven't had many issues. I've built a project that makes use of matplotlib and calls out to 3rd party apis and haven't found any instances where using the nightly builds has been an obstacle. On Satu

[julia-users] Re: I have this error with PyCall, I need some help

2014-01-25 Thread bp2012
That makes sense. I think the issue is my ingrained perspective on objects from oo programming. It didn't occur to me to think of a constructor as an ordinary function ;) On Saturday, January 25, 2014 2:10:12 PM UTC-5, Steven G. Johnson wrote: > > The basic issue is that you can't overload funct

Re: [julia-users] Re: not loading python module

2014-01-25 Thread bp2012
Rajn, If I could make a recommendation, perhaps you might find more success with ubuntu 12.04 on a virtual machine on your windows machine. I have step by step instructions here: http://juliaforall.blogspot.com/2014/01/installation-and-configuration-vm.html Then to get matplotlib working these

[julia-users] Re: I have this error with PyCall, I need some help

2014-01-25 Thread bp2012
Thank you for your post!! This has helped me tremendously with plotting TimeSeries data. I couldn't figure out how to instantiate the DateFormatter to format the axis. In python =>matplotlib.dates.DateFormatter("%b %d") This doesn't work in julia: @pyimport matplotlib.dates as mdates dtf =

[julia-users] Re: Error: no method display(DataFrame)

2014-01-23 Thread bp2012
To check Jacob's suggestion about versions mismatch I completely removed the DataFrames and ODBC packages using Pkg.rm and physically deleted the directories from disk. I then added them via Pkg.add and Pkg,update. I am running the julia nightlies build. julia> versioninfo() Julia Version 0.3.

[julia-users] Error: no method display(DataFrame)

2014-01-23 Thread bp2012
I'm using ODBC and DataFrames to query a database and just started getting this error on a query return: df = query("select * from tb1") ERROR: no method display(DataFrame) in display at multimedia.jl:159 df is populated correctly, but the error halts the running of my code. Pointing a new D

[julia-users] Re: ccall with callbacks question

2014-01-16 Thread bp2012
Corrected code in case it helps anyone looking at ccall and cfunction for the first time (fixed unnecessary parens and void return type in functions) > Using Match > > typealias Handle Ptr{Void} > typealias SessionStatus Cint > > lib = string(lib_path,"/../lib/libXC") > > dlopen(lib) > > functio

[julia-users] Re: ccall with callbacks question

2014-01-16 Thread bp2012
Thanks Ivar! That was exactly the problem. It works perfectly without the unnecessary parens. I had to laugh at myself on this one. I spent almost two hours reading and re-reading everything I could on ccall and cfunction. The simple answer was in front of me the whole time. It's funny how the

[julia-users] ccall with callbacks question

2014-01-15 Thread bp2012
I've been working on calling a c lib from julia. I can open the library and basic functions are working fine. However, I am stumped on the ccalls making use of callbacks. I've read through the documentation and am just not able to spot what I am doing wrong. (Admittedly, my C is very rusty.) Be

[julia-users] Re: Indentation in emacs ESS julia-mode

2014-01-15 Thread bp2012
workable, I still felt that achieving the appropriate > auto-indentation was a lot more natural. If you're interested, I'd suggest > that you try my little hack that I posted above. It eliminates the need for > any compensatory tabbing. > > On Wednesday, January 15, 2014 11:

[julia-users] Re: Indentation in emacs ESS julia-mode

2014-01-15 Thread bp2012
The default behavior for me is for 'end' to be indented incorrectly after pressing enter. However, pressing the tab key while anywhere on that line will correct the indentation. In fact, pressing tab on any line will correct the indentation. I found it to be very handy after I got used to it.

[julia-users] Re: Instalation on ubuntu 12.04 depedecy problem

2014-01-15 Thread bp2012
> > Try adding this: > >1. sudo add-apt-repository ppa:staticfloat/julia-deps >2. sudo apt-get update >3. sudo apt-get install julia > >

[julia-users] Re: Instalation on ubuntu 12.04 depedecy problem

2014-01-15 Thread bp2012
Try adding this: 1. sudo add-apt-repository ppa:staticfloat/julia-deps 2. sudo apt-get update 3. sudo apt-get install julia On Wednesday, January 15, 2014 4:30:31 AM UTC-5, Prokop Hapala wrote: > > I tried instal julia according the recomandation form PPA > > $ sudo add-apt-repository