this post was submitted on 17 Dec 2024
191 points (100.0% liked)

TechTakes

1481 readers
309 users here now

Big brain tech dude got yet another clueless take over at HackerNews etc? Here's the place to vent. Orange site, VC foolishness, all welcome.

This is not debate club. Unless it’s amusing debate.

For actually-good tech, you want our NotAwfulTech community

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] sailor_sega_saturn@awful.systems 9 points 21 hours ago (2 children)

Sadly all my best text encoding stories would make me identifiable to coworkers so I can't share them here. Because there's been some funny stuff over the years. Wait where did I go wrong that I have multiple text encoding stories?

That said I mostly just deal with normal stuff like UTF-8, UTF-16, Latin1, and ASCII.

[–] flowerysong@awful.systems 3 points 1 hour ago

My favourite was a junior dev who was like, "when I read from this input file the data is weirdly mangled and unreadable so as the first processing step I'll just remove all null bytes, which seems to leave me with ASCII text."

(It was UTF-16.)

You've got to make sure you're not over-specializing. I'd recommend trying to roll your own time zone library next.