News for hackers. Stuff that matters.

cauthon

Re:Crimes with Python's Pattern Matching (2022) on Friday August 22, 2025 @08:01AM (#44983461)
TIL, thanks!

(I love being wrong on HN, always learn something)

Re:Crimes with Python's Pattern Matching (2022) on Thursday August 21, 2025 @08:59PM (#44980008)
You _can_ write pathological code like the Everything example, but I can see this feature being helpful if used responsibly.

It essentially allows the user to check if a class implements an interface, without explicitly inheriting ABC or Protocol. It’s up to the user to ensure the body of the case doesn’t reference any methods or attributes not guaranteed by the subclass hook, but that’s not necessarily bad, just less safe.

All things have a place and time.

Amazon famously more trustworthy
Why on earth would you want to do exploratory data analysis in a compiled language
I’d love a brood war remaster
Re:Zed, a collaborative code editor, is now open source on Wednesday January 24, 2024 @01:42PM (#39121051)
> In the last 7 days I spent 3-5hrs every day pairing with others

This sounds remarkably inefficient?

Re:Zoom Fatigue Is Real, According to Brain Scans on Wednesday November 22, 2023 @07:41PM (#38387555)
Zoom also has this option
Re:What Is the Future of the DAW? on Saturday September 30, 2023 @12:06PM (#37716777)
In the same way I don’t expect a biologist writing for biologists to explain “DNA” stands for “deoxyribonucleic acid”, it’s probably not necessary for a music producer writing for producers and engineers to define “DAW”.

Users here probably feel the same way about HTML, FIFO, DAG, etc

Re:macOS Sonoma is available today on Tuesday September 26, 2023 @07:15PM (#37667191)
Fedora mostly works out of the box on my 2015 MBP
They definitely did not fix housing prices. Demand and purchasing power are lower with the higher interest rates, but supply is abysmal for the reasons you mentioned.
Re:Nintendo demoed Switch 2 to developers at Gamescom on Thursday September 07, 2023 @10:33AM (#37419474)
Is a switch lite that much larger than a GBA or DS?
Re:BioWare is laying off 50 employees on Wednesday August 23, 2023 @06:32PM (#37242735)
When was the last BioWare game that was actually excellent? ME2 in 2010?
Re:Two men die in Ironman Cork competition in Ireland on Sunday August 20, 2023 @06:53PM (#37203709)
No, it's just pointing out the colloquialism.

"IRONMAN" and "IRONMAN 70.3" are the official names, even though "full" and "half" are how they're commonly referenced.

"so-called" isn't diminutive or derogatory

Re:Ask HN: Any interesting books you have read lately? on Thursday August 17, 2023 @06:07AM (#37159484)
Set Boundaries, Find Peace is another good one in this space
Re:The Jupyter+Git problem is now solved on Wednesday July 19, 2023 @05:39PM (#36793831)
right, so what's the issue with sharing a notebook (code) and rendered html (results)?

If someone starts playing with the inputs, they're going to lose the outputs you've created unless you have a saved rendered copy anyways

Re:The Jupyter+Git problem is now solved on Wednesday July 19, 2023 @02:29PM (#36791042)
> You want to share the outputs so that you can share the results while showing your work.

What's wrong with rendering to HTML?

Re:Advanced Python Mastery – A Course by David Beazley on Wednesday July 19, 2023 @12:49PM (#36789432)
For the purposes of discussion, it'd probably be helpful to describe the issues you would identify during review
Re:LazyVim on Monday July 17, 2023 @12:51PM (#36760617)
what's the current recommended package manager for vim? I used to use vundle but that seems to be unmaintained/deprecated and has broken on recent installs.
Re:The Awk Programming Language, Second Edition on Thursday June 29, 2023 @02:13PM (#36524473)
This is amazing, I may never use pandas again
I don't have bluetooth in my car. Going over about 10-15 mph seems to trigger it.
The automatic detection and activation of "driving focus" in iOS has been extremely accurate in my experience. Seems like it'd be easiest to simply filter out "car crashes" when the phone isn't associated with a "driving" state.
What is philanthropic about spending "a million dollars on gas" per trip to send some billionaires on a glorified elevator ride?
Treehouse too
And it was a national fad - sculpin and grapefruit sculpin were EVERYWHERE in the northeast circa 2017
Re:Disney cancels plans to relocate 2,000 jobs to Florida on Thursday May 18, 2023 @03:41PM (#35993034)
Then what are they even paying the fairy godmother for?
Re:Why Did Google Brain Exist? on Wednesday April 26, 2023 @08:49PM (#35721887)
That’s the opposite of what OP is observing. It’s easier to teach a domain expert “good enough” quantitative and technical skills than to teach a pure quant “good enough” domain expertise (and the corresponding intuition)
Re:Astral on Tuesday April 18, 2023 @05:37PM (#35620623)
thanks!
Re:Astral on Tuesday April 18, 2023 @03:31PM (#35618876)
just starting to dabble in Rust, and I've seen PyO3 mentioned a number of times for writing rust bindings. What's the difference between Maturin and PyO3?
Just to rephrase the OP’s point, I think they are drawing a distinction between “a feature not directly advertised to the user” and “a feature not authorized by whatever chain of command is supposed to be followed at the developer”.

The paw marks are an example of the former, but I believe OP was saying the latter is the fireable offense

Older »