Live data from Hacker News

Try Julia

forio.com

21–30 of 105 posts

Re: Try Julia

#21

You can also try Julia in your browser here: https://cloud.sagemath.com However, you have to (1) make a free account, (2) create a project, (3) open project, click on "+New", click Terminal, (4) type "julia". If you create a .jl file instead of a Terminal (at +New), you'll have proper Julia syntax highlighting and indentation; you can then run that file from the terminal... (Disclaimer: I'm the founder of SageMathClo…

You could have had more users if your url was:

https://cloud.sagemath.com/new/jl ;-)

Re: Try Julia

#22
I've been struggling with building a C++ library for astrodynamics simulations (anything involving the motion of objects in space) within my research group for the last four year. The biggest problem is that for our applications, performance-wise a lot of high-level languages just don't cut it (particularly MATLAB, which is pushed down our throat from freshman year onwards). After some deliberation (and before Python really caught my eye) I opted for C++. That unfortunately brings with it an incredibly steep learning curve for new students who typically aren't interested in programming, but just want to get to the fun space mission analysis stuff. As a result, the project has grown a lot, but interest is waning. Julia seems like the ideal blend between high-level and high-performance.

As a general question, is Julia Studio the best way to go about setting up a workflow? Or should I go with something like a Julia plugin for Sublime Text (which I believe exists). Or are there any other tools out there that make Julia dev straightforward?

Re: Try Julia

#23
Is round(x) broken?

    Julia's standard library includes a host of mathematical functions, in addition to the standard operators. Complex numbers are also supported, using the built-in im unit:

    round(pi) 
    lcm(54, 392, 232) # least common multiple 
    sqrt(square(100)) 
    e^(pi * im) 
    log(e ^ 2) + log10(100)

    When you're ready, type "next" to continue
    julia> round(pi)
    no method round(MathConst{:π},)

Re: Try Julia

#24

I've been struggling with building a C++ library for astrodynamics simulations (anything involving the motion of objects in space) within my research group for the last four year. The biggest problem is that for our applications, performance-wise a lot of high-level languages just don't cut it (particularly MATLAB, which is pushed down our throat from freshman year onwards). After some deliberation (and before Python…

Regarding workflow, the best option is IJulia (https://github.com/JuliaLang/IJulia.jl) which has nice integration with plotting and useful things like LaTeX. Vi and Emacs are well-supported, and I know the Sublime tools have gotten a lot of attention from several people.

Not directly related to performance, but you might be interested in this: https://github.com/helgee/JPLEphemeris.jl

Re: Try Julia

#26
post #3
post #2

Not seeing a prompt. It might be because of the internal "POST http://forio.com/julia/repl/sessions 503 (Service Unavailable)" error?

Probably got "slashdotted".

Yes, we've been slammed. We are shrinking the timeout and bring up more servers. But our capacity is not unlimited. Folks might have to come back later.

Re: Try Julia

#27

Everything returns: Undefined 500 Is this broken?

Our Julia REPL servers been slammed. We are shrinking the timeout and bring up more servers. But our capacity is not unlimited. Folks might have to come back later. Sorry about that.

Re: Try Julia

#28
The Server version of Ubuntu or the 12.04 version does not have the add-apt-repository command. How can i add a PPA to the server without this command? Answer in http://askubuntu.com/questions/38021/how-to-add-a-ppa-on-a-s...

There are several options, I chose the one with sudo gedit /etc/apt/sources.list and

1514 sudo gedit /etc/apt/sources.list 1515 sudo apt-get update #not needed 1516 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3D3D3ACC 1517 sudo apt-get update 1518 sudo apt-get install julia (there are broken dependencies) 1519 sudo apt-get install libopenblas-base 1520 sudo apt-get update 1521 sudo apt-get install libopenblas-base 1522 sudo apt-get install libatlas-base-dev 1523 sudo apt-get install libopenblas-base 1524 sudo apt-get install julia 1525 julia 1526 history | tail 1527 history | tail -n 20

Re: Try Julia

#29
post #5

a big white page is not really the best introduction ever (or am i missing the point/humor?)

It was working, until I submitted it here. Maybe too many people Trying Julia.

Yup, we've been properly slashdotted. Attempting to bring up more servers and shrinking session timeout. But...

Re: Try Julia

#30

I've been struggling with building a C++ library for astrodynamics simulations (anything involving the motion of objects in space) within my research group for the last four year. The biggest problem is that for our applications, performance-wise a lot of high-level languages just don't cut it (particularly MATLAB, which is pushed down our throat from freshman year onwards). After some deliberation (and before Python…

Regarding workflow, the best option is IJulia ( https://github.com/JuliaLang/IJulia.jl ) which has nice integration with plotting and useful things like LaTeX. Vi and Emacs are well-supported, and I know the Sublime tools have gotten a lot of attention from several people. Not directly related to performance, but you might be interested in this: https://github.com/helgee/JPLEphemeris.jl

Very cool, thanks for the tips!

That JPL Ephemeris library has given me an idea. I think I might try porting over the NAIF Spice [1] toolkit to Julia. It has MATLAB, IDL, C and FORTRAN ports so I think Julia would fit right in there.

[1] http://naif.jpl.nasa.gov/naif/

Post reply on HN