1.1.1.1 is a palindrome

39 points by fanf 12 hours ago on lobsters | 12 comments

icefox | 10 hours ago

A new generation learns about endianness. XD

Pomax | 8 hours ago

Complete sidenote: please capitalize all those "i" if you don't just mean the letter i... If code needs to do the right thing, so does language =S

i believe it’s an artistic choice of the author. the website is completely void of any capitalization except for the one mention of LLMs.

it can be bit of an eyesore though.

WilhelmVonWeiner | 8 hours ago

The "right thing" for language to do is communicate to the reader (arguably the right thing for code to do as well), so it seems to be working fine for the author as you got the gist

ryan-duve | 8 hours ago

I started noticing more longform all-lowercase documents shortly after LLMs became capable of writing coherent blog-sized pieces with perfect punctuation. I baselessly assume the response we see in posts like this is to intentionally distinguish the writing from stock LLM output.

sarah-quinones | 5 hours ago

i've been writing like this for over a decade it's not that deep lol

edit: im not the author

WilhelmVonWeiner | 4 hours ago

ken thompson has been writing emails like that for decades too, iirc.

dchest | 4 hours ago

He had only uppercase for a long time, so probably had to compensate.

kornel | 6 hours ago

I assume that's countersignaling due to LLMs appropriating superficial indicators of high-quality text.

fs111 | 8 hours ago

Wouldn't one IPv6 test case have prevented this? DNS resolvers are far less likely to be on palindrome ipv6 addresses.

[OP] fanf | 8 hours ago

The code paths for v4 and v6 are usually disjoint, so working v6 is unlikely to imply working v4. The main mistake is treating the IPv4 address as a u32 rather than a [u8; 4]; an IPv6 address is almost never treated as a u128 so it won’t have this bug.

MatejKafka | 7 hours ago

BSD socket's, ehm, creative decision of accepting IPs and ports in network order strikes again.