HN user

bittumenEntity

31 karma
Posts0
Comments19
View on HN
No posts found.
Plotnine 29 days ago

Sadly, this drive towards the API design that matplotlib resembles, the raison d'etre of this library is the unusual (imho, great) API

Plotnine 29 days ago

Isn't this somewhat the point of python's override capability? You can exactly define what addition means here, just like you have to define what addition means for a matrix or another data structure.

Separately you might find this to be smelly design, but then you should remember that this at least has precedence ¯\_(ツ)_/¯

Plotnine 30 days ago

And a side note, R actually includes a pipe operator (as in Unix `|`), and said if they'd know about it at the time, they would have never used the `+` operator

Plotnine 30 days ago

It is! And that's kinda the point.

Like others mention, this is inspired by ggplot2, a Grammar of Graphics library. The whole idea is graphics are composed by adding "layers", not like layers on a canvas, but like pouring paint into a pot, then the library understands the content and paints it to the canvas.

Layers might be pure data, geometry (lines, points, ...), annotations, styles, axis, etc.

When you get familiar with it, it's much more natural way of describing plots, better composition and easier exploration

Seems hard to give an answer to this that isn't just anecdotal. Certainly some died during COVID, but some came back to life!

Perhaps the lesson from seeing a group die is that often the old organisers don't have the capacity for it anymore, but are happy and supportive to see it live on if you approach them with motivation.

Every Meetup happens because a few people decide to make it happen

Like the author says:

Linux is the preferred platform for development

Honestly I'm surprised he was using a non unix system this long, I guess it kinda proves his point that switching costs can seem huge

As I understand it, it's somewhat the opposite for internal resistance. You need to have current limiting in place because the internal resistance of the cell is turning that current into heat, and heat is the enemy of batteries.

(Probably there's also a complicated chemical reason for current limiting that I don't fully grasp)

Git GUIs are a crutch, perhaps that's what your pupil needs right now, but not forever.

Windows novices may not realise that git can be a local program contained in a folder, so making a repo to test how a verb works costs you nothing.