Comment on
What are your programming hot takes?
Software was a mistake
Comment on
What are your programming hot takes?
Software was a mistake
Comment on
Every time I turn around, there's another damn Linux fanboy crawling out from under a rock
You seem fun
Comment on
Trump's mug shot
I need this on a t-shirt
Comment on
AI Image Rule
IANAL but this seems stupid to try in court assuming the footage is under good chain of custody.
Comment on
What are your programming hot takes?
Reply in thread
Counterpoint: it's indispensable and nothing really fills the same niche.
Comment on
Why did you choose your username?
My initials if my middle name were Keith
Comment on
Maybe it's just something you ate
House will just do both at once.
Comment on
What is the best memory model for a Tic Tac Toe grid? (References and ownership)
A simple vector seems fine. Each item in the vector is an enum representing cell state. You can translate x y coordinates to an index pretty easily.
Comment on
What is the best memory model for a Tic Tac Toe grid? (References and ownership)
Reply in thread
Nothing wrong with that. My idea was to do a vector (or fixed-size array if you prefer) in one dimension. An example would be something like [0, 1, 2, 0, 1, 0, 2, 0, 2] (where O is 1, X is 2 and 0 represents an empty cell). The math to get the index is similar to this:
https://bfnightly.bracketproductions.com/chapter_3.html#building-a-simple-map
Might be overkill for a simple tic-tac-toe game, but if you want to rotate the board or whatever, you can just change the math you do to get the index. I'm not at all a math expert, but it seems like a reasonable approach.
Comment on
Disney and Hulu raising prices again
Idk The Bear is very good. Might be worth it.
Comment on
Found a guy
Reply in thread
He is my friend
Comment on
Can you recommend contemporary music artists without lyrics?
Little People
Comment on
hey guys. new to Kenshi, only 40 hours in so far. I finally started an outpost. not because it's cool, but because I needed to.
Sounds like a good start to me. If you're not happy with the location, I think you can relocate your main base if you have the time and patience to tear everything down and store the raw materials. You're in Shek territory if you're south of the Hub so expect them to stop by to demand tribute. Which to them means forcing their way to your food storage and stealing what they can. It's probably the easiest next to UC (which just want money).
I started my first base in Bast. Ended when I was raided by slavers (I accepted an escaped slave a few days prior).
Comment on
Allo Allo (1982-1992)
Good moaning
Comment on
How best to control No Man's Sky?
Keyboard and trackpad on my laptop as god intended. Or my mx ergo if I'm feeling fancy.
Comment on
Top physicist says chatbots are just ‘glorified tape recorders’
Comment on
New Zealand bans plastic bags for fresh produce in supermarkets
Nah. Don't want loose produce rattling around my cart. I'm OK with reusable shopping bags, but let me keep the plastic sacks for produce TIA
Comment on
Hexbearian jerking themselves off about how valuable they are to the rest of the fediverse, suggests "performing a coup"
Who gives a shit?