HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Coder1996

no profile record

Submissions

[untitled]

1 points·by Coder1996·3 年前·0 comments

comments

Coder1996
·3 年前·discuss
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
·3 年前·discuss
I wonder who was ultimately approved for RDOF at my house. How do I find that out?
Coder1996
·3 年前·discuss
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
·3 年前·discuss
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
·3 年前·discuss
I've never thought of security being a reason to use memory-safe languages, but I agree.
Coder1996
·3 年前·discuss
Paranoid government will do what paranoid government does. They jump on any improbable event to justify the paranoia.
Coder1996
·3 年前·discuss
Also, why would computers eldct a leader? Surely they couldn't just vote on everything?
Coder1996
·3 年前·discuss
[flagged]
Coder1996
·3 年前·discuss
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
·3 年前·discuss
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
·3 年前·discuss
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
·3 年前·discuss
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
·3 年前·discuss
That just sounds like OOP but without subclassing.
Coder1996
·3 年前·discuss
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!