HNHacker News
TopNewBestAskShowJobs

TheBigSalad

423 karma · joined June 27, 2019

submissionscomments
TheBigSalad··on Scientific American's departing editor and the politicization of science
It's true that some of the people who questioned the science were right, but not because they knew something scientists didn't. A broken clock is right twice a day. If something like that happens again we may need to be more cautious than we were last time. It certainly makes sense to be as cautious as possible until we know for sure how deadly some new disease is. Another side effect is that people took sides and trenched in. When it started becoming clear that masks weren't as useful as once thought (at least for sure cloth masks), the other side refused to admit it. What we should do (but are incapable of) is make the best decision based on the current information and change practices as new information comes in or conditions change.
TheBigSalad··on Nobody knows why ultra-processed foods are bad for you
Proce-X'ed foods
TheBigSalad··on Scientific American's departing editor and the politicization of science
I don't think people who say "Trust the science" are saying that science has it all figured out. It's telling people that they should weigh scientific data into their thought process. In reality many people make all of their decisions based on emotions and "feels".
TheBigSalad··on Boeing workers vote to strike
This reads like someone just spouting off a preconceived notion. How much are they making now? What are they looking to make? What do you think is reasonable? The AP article says the union salaries haven't been visited in 16 years.
TheBigSalad··on The Atlantic is cooling at record speed and nobody knows why
A model that predicts what will happen in 500 years doesn't need to predict every minor deviation in ocean temperature for every quarter of every year.
TheBigSalad··on Apple introduces M4 chip
The point is: 8GB of RAM is really, really cheap. Like $20 retail.
TheBigSalad··on Ask HN: How do I stop political SMS spam?
If the messages are automated this works and is legally required. Many political messages may be a template but come from real humans. It's a way around the law.
TheBigSalad··on Tesla recalls all cybertrucks for faulty accelerator pedals
but it wouldn't be a big issue if it went 5 years unnoticed.
TheBigSalad··on If Inheritance is so bad, why does everyone use it?
For a simple example, I might have class A that contains an instance of interface/base type B and another field of interface/type C. If B and C each have 4 implementations that means class A can be composed 4 * 4 = 16 ways. But in practice there may only be matching types of B and C that line up such that there's really only going to be 4 distinct permutations of A. I could model this more easily with inheritance.
TheBigSalad··on If Inheritance is so bad, why does everyone use it?
Inheritance is more limited in what you can do and implies a finite set of behavior states. With composition you have a system that can, in theory, have an untestable amount of permutations of behavior strung together.
TheBigSalad··on If Inheritance is so bad, why does everyone use it?
Well in my game everything inherits from GameObject. GameObject has a draw method. Enemies, coins, the player, doors, they're all GameObjects. But when it comes to drawing things, the logic doesn't vary by those subtypes. Rather some things are pixel art with a collection of frame by frame animations. Other things are just a static image. Some things I render as text. Some things are really complex, I render them as composable components with different frames of animation/keyframes, created in a custom character editor program. Each of those render modes I described is a different DrawObject. So instead of having an insanely complex inheritance hierarchy of all permutations of things and how they are drawn (or trying multiple inheritance), I have GameObjects and they contain an property/object of type DrawObject. I have a shallow inheritance hierarchy of GameObjects and a shallow inheritance hierarchy of DrawObjects. And I can compose them together as I see fit.

I even have an AggregateDrawObject class for cases where I need to run two animations at once for a single object.

You can do something similar with UpdateObjects too and have composable behavior.

Note that I still use inheritance, but just don't let it get out of control. Anyone saying "inheritance is bad" is either a moron or really means "deep inheritance hierarchies are bad" or maybe "bad designs are bad".

TheBigSalad··on An FDA approved device offers a new treatment for tinnitus
I'm not doctor or scientist, but I think of it like the nerves in the ear are signaling off constantly. The brain is operating normally by listening to them, but what you really want is for it to adapt and start to ignore the bad signals. The brain can phase them out, but it can never stop receiving the signal, so you still hear it if you consciously focus on it. It sounds like this person is already there but still looking for a real cure, something to stop the signals.
TheBigSalad··on If Inheritance is so bad, why does everyone use it?
I've seen that same problem sans a deep inheritance hierarchy.
TheBigSalad··on If Inheritance is so bad, why does everyone use it?
Jesus, that's insane! The rule of inheritance is no more than 3 levels deep. 3!!
TheBigSalad··on If Inheritance is so bad, why does everyone use it?
Composition implies a level of complexity. There may be a near infinite number of permutations of things that can be combined. If in reality there are only a fixed set of variations, inheritance may model your system in a tighter way. The benefit can be simplicity.
TheBigSalad··on If Inheritance is so bad, why does everyone use it?
https://gameprogrammingpatterns.com/component.html
TheBigSalad··on The Wi-Fi only works when it's raining
Sure, but the title has you thinking "Why would this external weather event effect my in-home wifi?" when the answer is "because I have a weird thing outside of my house that makes the wifi work". I feel used.
TheBigSalad··on Ask HN: How bad is the xz hack?
wasn't trying to pass the torch the problem?
TheBigSalad··on Rebuilding Netflix's video processing pipeline with microservices
It's actually pretty wasteful that it doesn't work that way.
TheBigSalad··on Dangerous chemicals found in recycled plastics, making them unsafe for use
I'm picturing a giant box with raccoons strapped to ropes on pulleys, conveyor belts, a steam engine.
TheBigSalad··on 20.5 Years of XP and Agile (2020)
Why do people always say agile doesn't work and then tell some personal baggage story that clearly shows their company is doing it wrong. Is agile really to blame?
TheBigSalad··on ‘This Has Been Going on for Years’: Boeing’s Manufacturing Mess
Because people are emotional and don't respond to statistics like that. 2 planes crashed over a single, critical software usability defect. Now Boeing is a complete trash company and is doing many things wrong. Airbus is perfect and does nothing wrong. With such a small sample size, it could very well be that Airbus is much worse than Boeing. But that's just not how people will perceive it. These businesses know that and know they need absolute perfection.
TheBigSalad··on ‘This Has Been Going on for Years’: Boeing’s Manufacturing Mess
Isn't their core competency supposed to be building airplanes?
TheBigSalad··on Google Cuts Jobs in Engineering and Other Divisions
Nobody wants to work at a company that does layoffs after a huge year.
TheBigSalad··on Google Cuts Jobs in Engineering and Other Divisions
You really think this is the best interview process we can do?
TheBigSalad··on Did I destroy my friend's TV with a magnet? (2022)
I've had TVs move room to room and face a different direction and need to be fixed with a degaussing coil. I'm told it's from the Earth's magnetic field. Could also be that they were next to other TVs (arcade machines in this case).
TheBigSalad··on Japan says reason behind 1,200 tonnes of fish washing ashore is unknown
I don't see a single comment suggesting that.
TheBigSalad··on Epic vs. Google: Google Loses
I agree, but consumers have spoken with their wallets and overwhelmingly prefer a big corporation to have full control.
TheBigSalad··on AMD leaps after launching AI chip that could challenge Nvidia dominance
It barely moved. This stock goes up and down 5% all the time. It was at the current price a week ago.
TheBigSalad··on Games Nintendo didn't want you to play: Tengen (2022)
I was very young, but I don't recall anyone referring to it as a crash until 20 years later. At the time it just seemed like Atari came out, ran it's course, and then the NES came out and blew it away.
← PreviousPage 3 of 11Next →