Cay Horstmann

Cay Horstmann

@horstmann.com

Nothing to see here...keep moving! Specifically, to Mastodon: https://foojay.social/@cayhorstmann

366 followers268 following65 posts

Why not allow special characters and longish file names in a contact form? Making it difficult to do something easy is a German specialty. We call it the Korinthenkacker (raisin shitters). And apparently the IT outsourcing providers support it as a service when bidding on German jobs.

After a day of interacting with German web sites, I am reminded of Hanlon's razor (https://en.wikipedia.or...: "Never attribute to malice that which is adequately explained by stupidity." Or it's corollary, Grey's law: "Any sufficiently advanced incompetence is indistinguishable from malice."

Cay Horstmann reposted

Want to see what Native Image does with your code?🤔 Paste a snippet into this browser-based playground, compile it into a native executable, and inspect the generated machine code in ~10–15 seconds! 🚀 Try yourself: godbolt.elide.dev

At Basel One, I will present a workshop on Java for small coding tasks on October 14 and a deep dive into Java streams internals on October 15. This is one of my favorite conferences for networking. Hope to see you there! More at https://baselone.org

PSA about white space in modern Java. Character::isWhitespace and String::strip are aligned. But the regex "(?U)\\s" differs in code points 28, 29, 30, 31, (Information separator 4...1) , 133 (Next line), 160 (No-break space ⚠), 8199 (Figure space), 8239 (Narrow no-break space).

I've been paying #Kagi for search since it's worth my time to get results instead of ads and slop. Added benefit: their translate service is fantastic for language learners. Where Google Translate gives the minimum, Kagi goes all out.

Is there any AI software that can watch a boring compliance video (emergency procedures, nondiscrimination, hazard communication, etc.) and answer the multiple choice questions that check for comprehension? Asking for a friend...

Check out this fun project—Java in your browser in the most inefficient way imaginable, by having Wasm emulate x86_64 instructions running Linux running Java: https://bmarti44.substac... Jeff Martin and myself will explore better use cases for Java/Wasm at JavaOne.