I know you guys like funny or weird source code comments. Here are interesting comments in the source code of SQLite https://github.com/endlesssoftware/sqlite3/blob/master/os.h#L133
sqlite3/os.h at master · endlesssoftware/sqlite3

SQLite for OpenVMS. Contribute to endlesssoftware/sqlite3 development by creating an account on GitHub.

GitHub
@nixCraft it is indeed a crazy world we live in 🫠

@nixCraft

#curl: I have toyota corola

The main effect is that normal end users find my email address via the curl license text in products in cars to a higher degree. They usually find it in the about window or an open source license listing or similar. Often I suspect my email address is just about the only address listed.

This occasionally makes desperate users who have tried everything to eventually reach out to me. They can’t fix their problem but since my email exists in their car, surely I can!

@continue @nixCraft I got some *angry* e-mails because someone used some of my open source code in their app, and the only person’s name and web address users could find in the about screen was the credit to me.

I had a text-block set aside every time those arrived, explaining why I had no idea what their software even did and they should talk to whoever they bought it from, and eventually ended up just ignoring any further messages from such people.

@uliwitness @continue @nixCraft I've lucked out so far. The only email I've ever received was "hey, I saw you in the credits for Spider Man! Congrats!"
@hyc @continue @nixCraft I was lucky once. I had some code that added a "send feedback” screen to an app, and one guy integrated it and somehow forgot to change the e-mail address. Sent me an e-mail apologizing and bought me drinks at WWDC the year after 😅

@nixCraft

I always liked this:

/* We do this three times for luck */
for (i = 0; i < 3; i++) {
intel_de_write(dev_priv, DPLL(pipe), dpll);
intel_de_posting_read(dev_priv, DPLL(pipe));
udelay(150); /* wait for warmup */
}

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/i915/display/intel_dpll.c?h=v6.7-rc2#n1638

intel_dpll.c « display « i915 « drm « gpu « drivers - kernel/git/torvalds/linux.git - Linux kernel source tree

@nixCraft I'ma bout to call Linus Torvalds because I deleted the bin folder and it's not starting
@cinnamonmuffinmint @nixCraft the bin folder is like the trash right? OK to just empty it.
@falken yeah thats why i deleted, it's simple
@nixCraft Why we can't have good things, and why namespaces are so important.
@nixCraft This again shows that the challenges in software development often have more to do with people than with technology.
@nixCraft ugh, the fact that the developers had to do this AND it's probably the right solution pains me.
@nixCraft why, the heck, some shitty file is put in the root system directory? though, windoze is total crap on itself and has total mess with file system and files hierarchy, it's not a reason to make even more crappy software.
@iron_bug @nixCraft remember, this was Mcaffee they're talking about...

@nixCraft It's been my experience that there's a story behind most code comments. 😃

Thanks for sharing this one!

@nixCraft
Why not prefix with mcafee customer support phone number ?