Readit News logoReadit News
crazygringo commented on I hacked Monster Energy   bobdahacker.com/blog/mons... · Posted by u/speckx
drc500free · 7 hours ago
The part where Gen-X is younger, maybe?
crazygringo · 4 hours ago
For all we know the document is from two decades ago.

Deleted Comment

crazygringo commented on It’s not wrong that "\u{1F926}\u{1F3FC}\u200D\u2642\uFE0F".length == 7 (2019)   hsivonen.fi/string-length... · Posted by u/program
PapaPalpatine · a day ago
I don’t know about advanced Unicode features… but I use them all the time as a backend developer to validate data input.

I want to make sure that the password is between a given number of characters. Same with phone numbers, email addresses, etc.

This seems to have always been known as the length of the string.

This thread sounds like a bunch of scientists trying to make a simple concept a lot harder to understand.

crazygringo · 9 hours ago
Practically speaking, for maximum lengths, you generally want to limit code points or bytes, not characters. You don't want to allow some ZALGO monstrosity in a password that is 5 characters but 500 bytes.

For exact lengths, you often have a restricted character set (like for phone numbers) and can validate both characters and length with a regex. Or the length in bytes works for 0–9.

Unless you're involved in text layout, you actually usually don't wind up needing the exact length in characters of arbitrary UTF-8 text.

Deleted Comment

crazygringo commented on Waymo granted permit to begin testing in New York City   cnbc.com/2025/08/22/waymo... · Posted by u/achristmascarl
aziaziazi · a day ago
Every fall on Brussels there's an ad for public bikes. It reads "Ride a bike, it warms you up" (Faites du vélo, ça réchauffe).
crazygringo · 9 hours ago
A slogan doesn't make something true.

And more specifically, your torso can be roasting while the freezing wind is giving your face frostbite, and your legs are frigid.

There's a reason why skiers wear face masks and huge goggles and snow pants. Not usually very practical in cities, however.

crazygringo commented on VHS-C: When a lazy idea stumbles towards perfection [video]   youtube.com/watch?v=HFYWH... · Posted by u/surprisetalk
betamaxc- · 2 days ago
It upsets me that so much video was recorded on tapes instead of film, because it didn’t wear well and looks awful today. The only hope we have now are approximations using AI.

Think of all of the 80s TV shows and movies we’d be streaming today if the quality weren’t so poor.

crazygringo · a day ago
It wasn't. 80s TV shows and movies were overwhelmingly recorded on film. Primarily because it was much easier to edit film than tape.

And we are streaming a ton of them now that they've gone back and scanned the original film in 4K.

It's awesome. Heck you can watch I Love Lucy from 1951 in glorious high definition, sharper than anyone ever viewed it originally. It's basically magic.

If you want 1980's, go watch St. Elsewhere or Cheers. They have cinema detail now instead of the fuzzy TV detail you would have seen in the 80's.

crazygringo commented on Waymo granted permit to begin testing in New York City   cnbc.com/2025/08/22/waymo... · Posted by u/achristmascarl
enricozb · a day ago
NYC is so dense it could be a bikers' paradise in the US. Why are we supporting even more car infrastructure :/
crazygringo · a day ago
Because half the year it's freezing cold or blistering hot?

With CitiBike and so many bike lanes it basically already is a biker's paradise. Obviously there could be lots more improvements, but the people who want to bike already do.

crazygringo commented on Waymo granted permit to begin testing in New York City   cnbc.com/2025/08/22/waymo... · Posted by u/achristmascarl
freeone3000 · a day ago
Imagine if we had dedicated lanes for giant Waymos, that could hold dozens of people. The future of transport.
crazygringo · a day ago
You joke, but the reality is going to be dynamic self-driving buses that don't have preset routes or stops but respond to instant demand.

You'll pay $$$ for a nonstop ride into midtown in a dedicated vehicle, or $ for a short dedicated ride to a self-driving bus you only need to wait a few minutes for, and which will drop you off on your destination block.

So yes -- self-driving buses seamlessly integrated into ride sharing are certainly going to be a major part of 21st century urban transportation. Which will save a ton of time compared to current buses.

Deleted Comment

crazygringo commented on Go is still not good   blog.habets.se/2025/07/Go... · Posted by u/ustad
roncesvalles · a day ago
I've always thought the point of the string type was for indexing. One index of a string is always one character, but characters are sometimes composed of multiple bytes.
crazygringo · a day ago
Yup. But to be clear, in Unicode a string will index code points, not characters. E.g. a single emoji can be made of multiple code points, as well as certain characters in certain languages. The Unicode name for a character like this is a "grapheme", and grapheme splitting is so complicated it generally belongs in a dedicated Unicode library, not a general-purpose string object.

u/crazygringo

KarmaCake day76187April 24, 2011View Original