Hacker News new | ask | show | jobs
by markkitti 1140 days ago
A lot has changed in a few years. This release is a big one.

1. I run Julia on my smartphone and often use it as calculator.

2. You typically only need Plots.jl for most needs. See https://docs.juliaplots.org/stable/

3. See https://juliaacademy.com

Another alternative environment are Pluto notebooks. It's reactive like a spreadsheet, but easy to use in your browser.

https://featured.plutojl.org/

I have several users without much coding experience using Pluto notebooks just to generate plots from CSV files. They are finding the combination of a web based interface, reactive UI, and fast execution easier to use than a MATLAB Live script.

2 comments

> 1. I run Julia on my smartphone and often use it as calculator.

How?

You could probably run Termux and launch a REPL from the command line?
I launch pluto from fedora running in termix, then I have a tab open in firefox pointed at localhost and have a pluto notebook to do stuff in. I don't do this often, typing in phones is hard for me.

Edit: I almost like unicodeplots.jl better though. Its much lighter weight and still lets me figure out most stuff I use plotting for. Through a ssh session if necessary.

Great way to eat a quarter gig of RAM before doing anything on a small compute device...
Probably less RAM than the average browser tab uses. 250MB of RAM? I've forgotten how to count that low.

Today's smartphone has higher specs than my $10,000 workstation from 10 years ago.

Compare the Julia repls memory consumption and resources used vs python for using it as a calculator. Looking at orders of magnitude in different resources consumed and time to first anything especially on a computer restrained device...Better yet do the same as the unix tool BC. I am very much aware of when I start tossing quarter to half gbs of RAM on small devices to do things like 1+1=2... Leave two or three of those open by being lazy/forgetful and yea there goes a huge chunk of RAM. To be fair I also don't spend thousands of dollars on the latest phones...
Not to detract from everything else.. I've gotta say, that's the most confusing library name possible. First I thought it's a website about Julia plotting libraries. Then I thought it's a new Julia default plotting interface (with actual plotting libraries as backends). Then after I saw the code I realized that it's a library that literally called "plots"...

I'm sure it's great SEO though

Are you referring to Plots.jl? All Julia libraries end with a .jl in their name; sort of like how many Python libraries start with `py`, and Rust libraries have `rs` as a suffix. Having it be universal makes it more consistent, and leaves the rest of the name to be completely about the content of the package. In my experience/opinion, that has lead to better package names (though Julia's package naming policies also help a lot).

> Then I thought it's a new Julia default plotting interface (with actual plotting libraries as backends). Then after I saw the code I realized that it's a library that literally called "plots"...

It's both. It's a library called Plots.jl, that's a plotting interface to backend plotting libraries. It's not "new", not "default" in the sense of built-in, but usually the recommend first option for most use cases.

the `.jl` was in effect dropped. Tbh, I landed on the page and started to skim it and it was highly confusing..

Just try to read the landing page without realizing "Plots" is a proper name :))

"juliaplots.org" - looks like a website about plotting in Julia

"Plots - powerful convenience for visualization in Julia" I guess they are...

"Almost everything in Plots is done by specifying plot attributes." I guess you could abstract all plotting that way.. interesting take

"Intro to Plots in Julia" an introduction to plotting in Julia!

"Plots is a visualization interface and toolset" I guess that's a way to think about plotting.. kinda philosophical.. but okay

Only when I got to this sentence "Plots might be the last plotting package you ever learn." did I realize this was the actual proper name of the library :))

I can also imagine using the name in conversation would lead to ridiculous things like "You should making your plots with plots" etc.

Anyway, it's just a bit confusing when you skim it. It's gotta be one of the most unusual library names I've seen

It’s pretty typical for the conventions of Julia package naming… Plots, Statistics, DifferentialEquations, …
The library is called Plots because it plots, what is confusing about it?