HNHacker News
TopNewBestAskShowJobs

Coder1996

-1 karma · joined December 11, 2023

Autistic full-stack Web engineer.
submissionscomments
Coder1996··on US agency will not reinstate $900M subsidy for Starlink
I agree. I have a WISP and it is shite. $99/mo for up to (but almost never) 100 Mpbs down. Charter's trucks are now running lines to my property and we will be switching to Spectrum as soon as we can. Fuck Adaptive.
Coder1996··on US agency will not reinstate $900M subsidy for Starlink
I wonder who was ultimately approved for RDOF at my house. How do I find that out?
Coder1996··on 'Biocomputer' combines lab-grown brain tissue with electronic hardware
Yeah. I'm no scientist, but I am ML trained and it seems to me that if the tissue really is learning, the tissue output should be about the same for each speaker.
Coder1996··on 'Biocomputer' combines lab-grown brain tissue with electronic hardware
Well, this is just neuronal tissue that as far as we know, is only capable of what it has been trained to do. It has no emotions, no human experience.
Coder1996··on The Case for Memory Safe Roadmaps
I've never thought of security being a reason to use memory-safe languages, but I agree.
Coder1996··on Today Is One of the Biggest Surveillance Votes. Will the FBI Stop Spying?
Paranoid government will do what paranoid government does. They jump on any improbable event to justify the paranoia.
Coder1996··on Electing the Doge of Venice: analysis of a 13th Century protocol (2007) [pdf]
Also, why would computers eldct a leader? Surely they couldn't just vote on everything?
Coder1996··on Invisible Bunnies That Power World of Warcraft (2017)
I actually use a little bit of both OOP and functions.

What I don't understand, I suppose, is if a Component isn't an object that acts, then what is it?

Coder1996··on Invisible Bunnies That Power World of Warcraft (2017)
I suppose it depends on how the ECS is coded.

You could create a database table called "Boss," that contains all the Boss components. Then for each system, you create a function that operates on a Boss.

Coder1996··on Invisible Bunnies That Power World of Warcraft (2017)
I disagree re: React.

To me, class-based has one advantage over functional. A component is an object and therefore perhaps ought to be represented by a class.

That being said, functional maybe is a bit simpler.

Coder1996··on Invisible Bunnies That Power World of Warcraft (2017)
I asked ChatGPT 4 for an explanation and came up with this analogy,

Imagine all in-game characters have their data in a database. The database might have one or more tables representing an objects ID or another reference, its position, its health points, and image data representing how to draw the object. These three things are "components" and the IDs and references are "entities."

A system is anything that manipulates one of these components. Thus, a function that manipulates a component is a system.

Coder1996··on Invisible Bunnies That Power World of Warcraft (2017)
That just sounds like OOP but without subclassing.
Coder1996··on Magical Fibonacci Formulae
So, you created a function to generate a number containing digits of the Fibonacci sequence, then you used the generated number to create another function to compute a zfibonacci sequence, and thus you eliminated a need for looping or recursion.

Cool!