Live data from Hacker News

A Project of One’s Own

paulgraham.com

381–384 of 384 posts

Re: A Project of One’s Own

#381
post #380

Earlier quoted context omitted.

That makes me curious what project you're working on, and you might be interested in my own pipe-dream project! There's a playfulness in doing something seemingly impossible, because succeeding at it simply means having fun playing with it.

TL;DR multiplayer roguelike (or general tile-based) framework in Typescript https://github.com/and0p/chaos-core

Oh very cool. You wrote your own ECS. I toyed with ECSY but realized it's not performant for games. Opinionated event messaging hmm.

Mine's a low-res MMO client/server in JS. I loved Ultima Online and experimented with 'military' isometric projection, but landed back on 3D.

Re: A Project of One’s Own

#382
post #352

Earlier quoted context omitted.

As an aside, it’s really strange how this book picked up so much steam at its time of publication. The book mostly centers around the mom pushing her two kids to be world-class violinists and her pushing causes one of her daughters to abandon the instrument. [1] If, anything, it’s a cautionary tale. [1] the violin is an incredibly difficult instrument to begin with and becoming a world-class violinist requires a metr…

She has since written some extremely questionable things about race and identity, and been credibly accused of grooming her law students to be sexually harassed both by her own husband and by Supreme Court Justice Brett Kavanaugh.

Oh...that...is an interesting turn of events 0_o

Re: A Project of One’s Own

#383
post #380

Earlier quoted context omitted.

TL;DR multiplayer roguelike (or general tile-based) framework in Typescript https://github.com/and0p/chaos-core

Oh very cool. You wrote your own ECS. I toyed with ECSY but realized it's not performant for games. Opinionated event messaging hmm. Mine's a low-res MMO client/server in JS. I loved Ultima Online and experimented with 'military' isometric projection, but landed back on 3D.

Yeah! More accurately just EC, no real systems here.

Roguelikes are highly deterministic and are not real-time, so a system updating all its respective components for every "tick" wouldn't really fit.

The biggest obstacle with roguelike development is the way the components that make up an entity have to communicate in an agnostic way. Think if a wizard tries to freeze a warrior, where in the code/flow do you specify if that is or is not allowed? And what happens when you have extreme edge cases like if a specific area, a status applied to a teammate, or some random event nearby maybe says that the warrior is actually immune to being frozen? And what if the wizard's freeze spell is so powerful that it can ignore all of those obstacles?

The approach I went with is that the EC side is relatively basic but all the components can optionally tap into a flux/redux-style event system, and those messages are very powerful in how they allow themselves to be modified or permitted/allowed while being deterministic.

(And of course the message system allows for easy client/server logic, and super easy unit or integration testing of gameplay systems which hasn't felt like anything I've used before.)

I'm quite liking it so far, hoping to have something more concrete in 5-6 months.

Re: A Project of One’s Own

#384

Good essay overall, but this footnote in particular stood out to me: > [2] Tiger parents, as parents so often do, are fighting the last war. Grades mattered more in the old days when the route to success was to acquire credentials while ascending some predefined ladder. But it's just as well that their tactics are focused on grades. How awful it would be if they invaded the territory of projects, and thereby gave the…

Very similar to my story. I grew up in a shitty industrial town of oil refineries. Schools and teachers were not that great, so I went to the local community college bookstore and stole programming books by stuffing them in my jacket and walking out. I got AOL, then internet and eventually IRC. I learned disassemblers, debuggers and x86 instruction set. Joined world-famous cracking groups and wrote key generators and…

This old school cracking scene is one of the things I think I really missed -- I was way too young back in the days, and maybe also lacked of self confidence, as assembler and hexadecimal looked like another dimension.
Post reply on HN