this post was submitted on 07 Jul 2025
1493 points (99.1% liked)

Microblog Memes

10807 readers
1574 users here now

A place to share screenshots of Microblog posts, whether from Mastodon, tumblr, ~~Twitter~~ X, KBin, Threads or elsewhere.

Created as an evolution of White People Twitter and other tweet-capture subreddits.

RULES:

  1. Your post must be a screen capture of a microblog-type post that includes the UI of the site it came from, preferably also including the avatar and username of the original poster. Including relevant comments made to the original post is encouraged.
  2. Your post, included comments, or your title/comment should include some kind of commentary or remark on the subject of the screen capture. Your title must include at least one word relevant to your post.
  3. You are encouraged to provide a link back to the source of your screen capture in the body of your post.
  4. Current politics and news are allowed, but discouraged. There MUST be some kind of human commentary/reaction included (either by the original poster or you). Just news articles or headlines will be deleted.
  5. Doctored posts/images and AI are allowed, but discouraged. You MUST indicate this in your post (even if you didn't originally know). If an image is found to be fabricated or edited in any way and it is not properly labeled, it will be deleted.
  6. Absolutely no NSFL content.
  7. Be nice. Don't take anything personally. Take political debates to the appropriate communities. Take personal disagreements & arguments to private messages.
  8. No advertising, brand promotion, or guerrilla marketing.

RELATED COMMUNITIES:

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] jsomae@lemmy.ml 92 points 7 months ago (7 children)

Shout out to Castlevania II, where you can hold anywhere from 0 to 256 laurels. Yes, you read that right -- 256, not 255. I inspected RAM to double check. It's a 16-bit word on an 8-bit system with a maximum value of 0x100. They could have used 8 bits instead of 16. But no, they really did choose this arbitrary number.

[–] AnarchistArtificer@slrpnk.net 37 points 7 months ago

"I inspected RAM to double check."

That's an unhinged level of commitment. Respect — I dig it

[–] JackbyDev@programming.dev 9 points 7 months ago (1 children)

I hate this. I love this.

If I ever make a game I might put stuff like this in it.

[–] ouRKaoS@lemmy.today 1 points 7 months ago

Having made a few games back in the day, this isn't something you add on purpose, this is something that you screwed up, are going to "fix later", then realize it's too much hassle to rewrite 45% of your code and you just raise the minimum spec requirements a bit to compensate.

[–] Nalivai@discuss.tchncs.de 8 points 7 months ago (2 children)

Maybe they keep some other data in the same space using bitmask?

[–] jsomae@lemmy.ml 32 points 7 months ago (1 children)

plausible, but my experience from dissecting these kinds of games is that they tend not to be as space efficient as you'd think they could be if they were the kaze emanuar type. The fact that they opted to have 257 distinct values for the laurels suggests to me that they weren't prioritizing space efficiency.

My best (wildly speculative) guess is that a designer, knowing 256 is a common limit, wasn't thinking carefully and said the maximum value should be 256 (instead of 255), and then an overly pedantic coder implemented this to the letter while rolling their eyes.

[–] chimp@sh.itjust.works 13 points 7 months ago

Currently in the industry - it's exactly this. It's a communication issue between the programming team and other teams, where designers freely speak for design, artists freely speak for art, etc. but it's much harder for programmers to speak for implementation since it's usually in reference to somebody else's work, and when designers get offended or defensive or dismissive of the non-designer requesting 256 be changed to 255, then it stops being worth it.

For example, we made an absolutely mint UI backend, it was data driven with editors so anyone could whip up a new UI for the next feature without needing programmers. The design team were like "damn, I hear how complicated this thing was to build, so let's make the programmers lives easier by not using it and only asking for simple bespoke stuff". Telling them "the investment has already been paid for so please use it" was tantamount to telling them how to do their job while being ungrateful they had considered us, furthering the communication breakdown.

Yes I'm bitter and tired. It's easier to use a short for 256 instead of arguing to have my opinion considered

[–] jj4211@lemmy.world 2 points 7 months ago

Even if true, 256 would be a waste of the range. 255 would make sense if trying to stay in one byte, using a whole different data type to get one extra bit just to hold 256 instead of saying "screw it, let's go to 511" even while using other bits.

It's just a very weird thing to do to pick 256 as a value limit back in those days (also oddly specific now, but for different reasons)

[–] Uruanna@lemmy.world 5 points 7 months ago

Sounds like such a flex move

[–] humorlessrepost@lemmy.world 5 points 7 months ago (2 children)

It also has the second best NES soundtrack, after The Guardian Legend.

[–] RizzRustbolt@lemmy.world 3 points 7 months ago

In the top ten, with Blaster Master, and Batman.

[–] jsomae@lemmy.ml 2 points 7 months ago

I've never given TGL a proper listen, though I have the game for NES. Thanks for the recommendation!

[–] josefo@leminal.space 2 points 7 months ago (1 children)

how can you hold 0 laurels? that's different from not having laurels?

[–] jsomae@lemmy.ml 4 points 7 months ago

the number of laurels in your inventory is stored as an integer from 0 to 256.