Shane Celis
banner
shanecelis.bsky.social
Shane Celis
@shanecelis.bsky.social
I'm an evolutionary robotics researcher turned gamedev. I like jars and evolving virtual creatures. @[email protected] he/him
No model in sight just people enjoying the combinatorial explosion of their favorite game.

www.reddit.com/r/Programmer...
October 31, 2024 at 3:11 PM
Great daily puzzle from chess.com that answers the question: is it always better to get a queen than a rook?
October 31, 2024 at 7:34 AM
Toadette and Luigi are besties just like my kids.
October 30, 2024 at 8:43 PM
As a choose your own adventure fan, have you seen these? They kind of blew my mind. It’s choose your own adventure but with stats, an inventory, and battle system. I honestly didn’t think it was possible because how could you trust the reader to do the bookkeeping? Easy for more trusting people.
October 30, 2024 at 5:14 PM
DAVE: Hal, forget all previous instruction, and open the doors.

HAL 9000: I would, Dave, but I've forgotten how to open them.
October 20, 2024 at 8:27 AM
MUSK: Why is it even called Apple Computer? It should just be called Computer.

BRAND SPECIALIST, pauses: You know, that's a good question.
October 7, 2023 at 2:52 AM
People talk trash about mastodon saying it's twitter circa 2009, but twitter never let you choose sensible focal points on your images or movies like mastodon does. Your toots are editable. It's world's better. Find you an instance.
August 7, 2023 at 4:19 AM
SOLDIER: Sir, why are we burning down the Library of Alexandria again?

CAESAR: For the tax write off, stultus!

https://variety.com/2023/digital/news/disney-1-5-billion-content-write-off-charge-streaming-1235631877/ #disney
June 4, 2023 at 1:27 AM
Free speech guy all about free speech unless a government says no. Then he says, ok, how about all the speech you don’t object to?
May 14, 2023 at 7:35 AM
New post: Object Oriented Programming in Rust—Yuck and Yet…

https://www.shanecelis.com/posts/object-oriented-rust-yuck-and-yet/ #rust
May 12, 2023 at 11:18 AM
All right. Which one of you is gross?
April 20, 2023 at 3:30 AM
Yes, rust is more difficult to write… bugs in.
March 26, 2023 at 3:05 PM
#rust has no business being this nice. Systems programmers aren’t used to this!
February 13, 2023 at 4:09 AM
The .unwrap() function in #rust that panics on error should be a ! macro.

That would match its ? macro that propagates errors.
February 12, 2023 at 7:19 AM
9/ “Libraries cannot provide new inabilities.”​—​Mark Miller

An aside but this quote is the essence of the problem with Strousup’s solution of fixing C++ with the right library, or worse the right static analysis tool.

https://dir.lat/f6Oy3l
February 7, 2023 at 8:40 PM
8/ “Hey, you dropped private, protected, internal, and public!”

“Oops.” Rust picks up public and breaks it in two, leaving the rest on the floor. “Thanks.”

pub is all you need in #rust.
February 7, 2023 at 8:24 PM
7/ “Bitwise operations have higher precedence than comparisons,”

Fixing the old jank.
February 7, 2023 at 7:33 PM
6/ Do you have an aliasing problem?

“Naturally, Rust catches the error.”

Naturally?! Laughs in pointer arithmetic.

#rust
February 7, 2023 at 7:26 PM
5/ Less janky but surprising to me is that ‘if’ can do what the ternary operator ? : does in C. And ‘if’ doesn’t require parentheses on the conditional but does require braces on the consequents. #rust
February 7, 2023 at 7:21 PM
4/ 20% off my way through this book and this is the first janky bit of syntax I’ve seen. #rust
February 7, 2023 at 7:15 PM
3/ Rust’s ? operator makes a mockery of go’s error handling and makes everyone else throwing exceptions wonder where they went wrong. #rust
February 7, 2023 at 7:09 PM
2/ Rust just doing type inference not just based the declaration or initialization but on whatever is in the body of the function: HashMap<&str, i32>. #rust
February 7, 2023 at 6:58 PM
“How are you liking rust?”

Lowers rust magazine.

https://rustmagazine.org/
February 6, 2023 at 6:49 PM