News for hackers. Stuff that matters.
Re:Julia 1.9 Highlights by markkitti on Wednesday May 10, 2023 @05:43AM (#35885427)
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.

Re:Julia 1.9 Highlights by geokon on Wednesday May 10, 2023 @06:19AM (#35885583)
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

Re:Julia 1.9 Highlights by sundarurfriend on Wednesday May 10, 2023 @06:47AM (#35885722)
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.

Re:Julia 1.9 Highlights by geokon on Wednesday May 10, 2023 @08:42AM (#35886491)
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

Re:Julia 1.9 Highlights by goerz on Wednesday May 10, 2023 @05:19PM (#35893679)
It’s pretty typical for the conventions of Julia package naming… Plots, Statistics, DifferentialEquations, …
Re:Julia 1.9 Highlights by stellalo on Wednesday May 10, 2023 @06:58AM (#35885779)
The library is called Plots because it plots, what is confusing about it?
Re:Julia 1.9 Highlights by freilanzer on Wednesday May 10, 2023 @05:56AM (#35885481)
> 1. I run Julia on my smartphone and often use it as calculator.

How?

Re:Julia 1.9 Highlights by geokon on Wednesday May 10, 2023 @06:28AM (#35885634)
You could probably run Termux and launch a REPL from the command line?
Re:Julia 1.9 Highlights by cookieperson on Wednesday May 10, 2023 @07:01AM (#35885798)
Great way to eat a quarter gig of RAM before doing anything on a small compute device...
Re:Julia 1.9 Highlights by jrockway on Wednesday May 10, 2023 @09:04AM (#35886753)
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.

Re:Julia 1.9 Highlights by cookieperson on Thursday May 11, 2023 @06:49AM (#35900360)
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...
Re:Julia 1.9 Highlights by galangalalgol on Wednesday May 10, 2023 @09:13AM (#35886866)
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.