OO in Python is mostly pointless
Note from 2025 me - I largely still agree with myself - and I still see the same crappy OO code getting pumped out. The final point in "Exceptions" is worth emphasising more.
The latest blog posts to take off on Hacker News. 49,243 posts.
Note from 2025 me - I largely still agree with myself - and I still see the same crappy OO code getting pumped out. The final point in "Exceptions" is worth emphasising more.
Stop procrastinating, go off the happy path, learn just-in-time, and get your hands dirty.
Explaining the difference between Mock Objects and Stubs (together with other forms of Test Double). Also the difference between classical and mockist styles of unit testing.
[Note: if you prefer audio, you can listen to this essay narrated by Grognor on his excellent podcast Second Enumerations . —Ed. ]
This post explains the project's motivation from several perspectives. Unix shell is an old and successful technology, so there are many ways of looking at it.
Silicon Valley is shutting down speech loopholes. The latest target: live content
This is the story of how I found what I believe to be scientific misconduct and what happened when I reported it. Science is supposed to b...
As of 3-30-2020, if you want the “paste-one-line-it-just-works” go to: vpetkov.net/2020/03/30/raspberry-pi-netflix-one-line-easy-install-along-with-hulu-amazon-prime-disney-plus-hbo-spotify-pandora-and-many-others/ ^^^ Please use the post linked above for my “one-line it just works” install ^^^ (Ignore everything…
You may have heard that TypeScript has been taking the web development space by storm in the last few years , bringing to it static types. I believe the same thing is starting to happen in the world of Python, where type checkers like mypy , Pyre , and Pyright are increasingly used, at least where Python is used by…
I've told this story at conferences - but due to the general situation I thought I'd retell it here. A few years ago I was doing policy research in a housing benefits office in London. They are singularly unlovely places. The walls are brightened up with posters offering helpful services for people fleeing domestic…
I went looking for a defining color of the personal computer era. I found it in an old jar of paint.
Jeanne reveals which branches of the evolutionary tree of plants bear edible leaves and speculates about why that is. Most of the 300,000 + plant species have leaves, and the function of all of the…
A few months ago I experimented with DigitalOcean spaces as my backup solutionthat could replace Dropboxeventually.
When we can’t trust each other, nothing works. As we participate in our communities less and less, we find it harder to feel other people are trustworthy. But if we can bring back a sense of trust in the people around us, the rewards are incredible.
Latches and barriers are coordination types that enable some threads to wait until a counter becomes zero. You can use a std::latch only once, but you can use a std::barrier more than once. Today, I have a closer look at latches.
Nadia Eghbal’s new book, Working In Public: the Making and Maintenance of Open Source Software, may not have been on your short list of books to read this year. It’s admittedly a nerdy topic: …
Stop chasing your feature development plan and start crafting strategic product roadmaps
In this video, Alan Kay talks about his vision of object oriented programming and how to design scalable systems.
I’ve spent a lot of time recently thinking about different proof-of-work mechanisms. When I say proof-of-work, I’m not talking about consensus algorithms like the ones that some crypto currencies use. I’m talking about social networks.
You’re probably familiar with the concept of Choose Boring Technology. If you’re not, I’ll wait for you to read the excellent blog post by…
Alex Danco's Newsletter, Season 3, Episode 2
Link to: https://oblador.github.io/hush/
At some point, I realized I would've argued the exact opposite position on a lot of topics just a few years ago.
Parenthetically Speaking: Articles by Shriram Krishnamurthi