HackerTrans
トップ新着トレンドコメント過去質問紹介求人

Coder1996

no profile record

投稿

[untitled]

1 ポイント·投稿者 Coder1996·3 年前·0 コメント

コメント

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