JoeNr76 | 2 years ago | on: Fewer people are buying electric cars in the US
JoeNr76's comments
JoeNr76 | 2 years ago | on: Fewer people are buying electric cars in the US
If I invite people, I do it for the people, if I go out to eat I do it for the food. I don't see why this regrettable just because you think it is.
JoeNr76 | 2 years ago | on: Fewer people are buying electric cars in the US
You haven't eaten at a 2 or 3 star restaurant then. They use ingredients you don't have access too, using techniques you can't use at home and pair them with wines or juices you haven't heard about.
However good you think your home cooking is (I think I'm a fairly good cook), you don't come to the knees of a chef with such a restaurant.
Yes, they are not cheap. But neither is buying a bigger house.
And if it's about getting together, who cooked the food doesn't matter. Or even get together without food, that works too.
JoeNr76 | 2 years ago | on: TikTok is changing the way books are recommended and sold
I am 46yo. And I was in a reading slump for most of my fourties. I used to be an avid reader until I became a father and my 3 children began taking up more of my time. And I got a shorter attention span too.
I signed up for TT because my eldest child wanted an account and I wanted to see what he was sharing and seeing. He abandoned his account quite quickly, but I found fantasy booktok. And the Tiktokers' youthful enthusiasm was a big part of what got me out of my years-long reading slump.
I doubt if this happens often enough to be industry changing, but it does happen, even for someone very much outside the Tiktok demographic.
As an aside: where it does seem to have an influence is more people in the Dutch language zone reading books in English. I have been reading in English since I was 12 and at the time many people thought that was crazy. But nowadays every bookshop has a wall full of English Fantasy en YA books.
JoeNr76 | 2 years ago | on: The controller pattern is awful, and other OO heresy (2013)
"The HandlerCreationFactory created a Handler based on the Request." (oop)
"A Handler is created based on the Request." (passive) or "The program (or process) creates a Handler based on the Request. "
Only that the first one needs a lot more nouns, even when they look silly.
JoeNr76 | 3 years ago | on: EU will require Apple to open up iMessage (2022)
JoeNr76 | 3 years ago | on: EU will require Apple to open up iMessage (2022)
Setting a baseline for interoperability is not the same as requiring them all to be the same.
JoeNr76 | 3 years ago | on: EU will require Apple to open up iMessage (2022)
JoeNr76 | 3 years ago | on: An unexpected benefit of unit tests
JoeNr76 | 3 years ago | on: What the Hell Is Up with Dilbert?
JoeNr76 | 3 years ago | on: America’s favorite family outings are increasingly out of reach
JoeNr76 | 3 years ago | on: EU approves legislation to regulate Apple, Google, Meta, and other tech firms
Most of the other things: mostly good. Apple and Google need to be taken down a peg or 10.
JoeNr76 | 3 years ago | on: Dutch farmers organise mass protests in face of farm closures
It has nothing to do with greenhouse emissions, but with nitrogen compound emission. See https://www.dutchnews.nl/features/2022/06/whats-all-the-fuss... (the first english source I could find)
The source is mostly cattle. Which doesn't make up for Ukrainian grain.
JoeNr76 | 3 years ago | on: Learnings from 5 years of tech startup code audits
I blame the fact that design patterns and specific architectures are being taught to people who don't understand the problem those things are trying to solve and just apply them everywhere.
Any senior dev or architect should always live by this maxim: make it as simple as possible.
JoeNr76 | 4 years ago | on: Elon Musk makes $43B unsolicited bid to take Twitter private
JoeNr76 | 4 years ago | on: Unit Testing is Overrated (2020)
HOWEVER, I have skimmed through it by now and the last paragraph is actually quite good. It takes a while to get there and the chosen examples aren't great, though.
JoeNr76 | 4 years ago | on: Unit Testing is Overrated (2020)
So how do you test private methods? You don't, with the exception of testing during development, but those aren supposed to be kept around.
JoeNr76 | 4 years ago | on: Unit Testing is Overrated (2020)
"Considering the factors mentioned above, we can reason that unit tests are only useful to verify pure business logic inside of a given function."
That just isn't true and it makes the rest of the blogpost also not true.
A unit test should test "a unit of functionality" not just a method or a class. Your unit tests also shouldn't be coupled to the implementation of your unit of functionality. If you are making classes or methods public because you want to unit test them, you're doing it wrong.
The exception is maybe those tests you are writing while you're doing the coding. But you don't have to keep them around as they are.
JoeNr76 | 4 years ago | on: New research highlights the damage caused by processed food
The average American consumes more than 3,600 calories daily – a 24% increase from 1961, when the average was just 2,880 calories.
And that's just the average.
JoeNr76 | 4 years ago | on: New research highlights the damage caused by processed food