News for hackers. Stuff that matters.

bittumenEntity

Re:I Don't Maintain My Homelab on Wednesday July 01, 2026 @06:35AM (#48744706)
Definitely opened this thinking it would be a story of handing the keys to AI. Refreshing, simple and to the point
Re:Plotnine on Tuesday June 23, 2026 @10:55AM (#48646000)
Sadly, this drive towards the API design that matplotlib resembles, the raison d'etre of this library is the unusual (imho, great) API
Re:Plotnine on Tuesday June 23, 2026 @10:53AM (#48645969)
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 ¯\_(ツ)_/¯

Re:Plotnine on Tuesday June 23, 2026 @07:51AM (#48643588)
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
Re:Plotnine on Tuesday June 23, 2026 @07:48AM (#48643556)
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

Re:Are Tech Meetups Dead? on Sunday May 24, 2026 @11:02AM (#48257805)
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

Re:Even the Mars Rover Uses Zip Ties (2021) on Thursday February 26, 2026 @02:39AM (#47163068)
It's an unpopular opinion, but I swear that cable ties are a far more effective problem solver than Jesus/duct/gaffers tape. I always bring tie, and never tape
Re:Microsoft forced me to switch to Linux on Wednesday January 28, 2026 @10:08AM (#46796301)
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

Re:Ask HN: What are you working on (August 2024)? on Sunday August 25, 2024 @08:13AM (#41346743)
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)

Re:My Favorite Programming Problem to Teach: Digit Length on Thursday June 06, 2024 @01:41AM (#40593899)
At the bottom of the article they mention that this was discouraged because they hadn't covered strings in the course yet
Re:Stuff that is backwards in Australia on Monday April 01, 2024 @03:34AM (#39891669)
Well, at least it does happen. More than I can say for a patriotic 4th of July
Re:Stuff that is backwards in Australia on Monday April 01, 2024 @02:53AM (#39891494)
Nice list, the but point 2 is a bit ironic, Australians don't celebrate 4th of July at all
Re:Memray – A Memory Profiler for Python on Saturday February 10, 2024 @10:13AM (#39326685)
I first heard of memray last week when Anthony Sottile covered it https://youtu.be/bw5AHdZA7e4?si=HCP1JQKXpkFCh7ul
Have you considered moving to the other address? /s
Re:Ask HN: How to give a crash course on Git? on Thursday July 27, 2023 @12:52PM (#36896434)
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.

Yeah this really doesn't give anything more than the headline.
In my poorer student days, I actually used one of these (stye) as my primary writing chair in my home. If it's the right size for your shoulders and arms, it works quite well
The fact that in the opening hook the author mistook the state of South Australia for a province just me doubt even more how close to reality this is.
Re:Some common geographic mental misplacements on Sunday October 30, 2022 @06:07AM (#33392969)
> some common geographic mental misplacement for continental United States residents