fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.8K
active users

#programminghumor

1 post1 participant0 posts today

Paul Graham writes Lisp code that's mostly understandable... unless you try reading it 🤔. With names so short they resemble a cat walking on a keyboard, and a love for deeply nested "if" statements, it's a wonder anyone can decipher his cryptic masterpieces. Apparently, loops are for amateurs 🌀.
courses.cs.northwestern.edu/32 #PaulGraham #LispCode #CrypticMasterpieces #ProgrammingHumor #CodeReadability #HackerNews #ngated

courses.cs.northwestern.eduNotes on Graham's ANSI Common Lisp

🍓Introducing Berry Script: because writing in C is just too mainstream for your microcontroller (that's already struggling to blink an LED) 😅. Now you can enjoy the luxury of a "dynamically typed" language that fits in the palm of a toddler's hand! Just don't expect it to turn your toaster into a supercomputer anytime soon. 🔧😜
berry-lang.github.io/ #BerryScript #Microcontrollers #DynamicallyTyped #ProgrammingHumor #TechInnovation #HackerNews #ngated

The Berry Script LanguageThe Berry Script LanguageBerry is a ultra-lightweight dynamically typed embedded scripting language. It is designed for lower-performance embedded devices.

I just remembered I wrote a free Rust crash course years ago, I think all of you will find it useful. It's slightly outdated by new syntactic sugar post-1.70 but it's very good for crash course on other stuff nonetheless

https://github.com/korewaChino/rust-brainrot-guide #rust #programming #programminghumor

Rust and Functional programming for brainrotted SWEs - korewaChino/rust-brainrot-guide
GitHubGitHub - korewaChino/rust-brainrot-guide: Rust and Functional programming for brainrotted SWEsRust and Functional programming for brainrotted SWEs - korewaChino/rust-brainrot-guide

🎉 Oh joy, another 5000-word ode to the thrilling world of #1970s code glitches! 🖥️ Because obviously, nothing screams "must-read" like #BASIC tokenizing and whitespace handling. 🤯 Strap in, nerds, it's gonna be a wild ride—if you can stay awake. 😴
masswerk.at/nowgobang/2025/go- #codeglitches #programminghumor #techhistory #HackerNews #ngated

Now Go Bang! — mass:werk / Blog(Now Go Bang!) Go, PET, Let HenCurious adventures in (Commodore) BASIC tokenizing.

Ah, yes, the thrilling tale of translating a colossal math software into #C++20 modules, brimming with groundbreaking insights like "we did it" and "it worked" 😂. This riveting PDF is the comedic equivalent of watching paint dry, but with more acronyms and self-congratulation. 🎉📄
arxiv.org/abs/2506.21654 #mathsoftware #translation #softwaredevelopment #programminghumor #techinsights #HackerNews #ngated

arXiv logo
arXiv.orgExperience converting a large mathematical software package written in C++ to C++20 modulesMathematical software has traditionally been built in the form of "packages" that build on each other. A substantial fraction of these packages is written in C++ and, as a consequence, the interface of a package is described in the form of header files that downstream packages and applications can then #include. C++ has inherited this approach towards exporting interfaces from C, but the approach is clunky, unreliable, and slow. As a consequence, C++20 has introduced a "module" system in which packages explicitly export declarations and code that compilers then store in machine-readable form and that downstream users can "import" -- a system in line with what many other programming languages have used for decades. Herein, I explore how one can convert large mathematical software packages written in C++ to this system, using the deal.II finite element library with its around 800,000 lines of code as an example. I describe an approach that allows providing both header-based and module-based interfaces from the same code base, discuss the challenges one encounters, and how modules actually work in practice in a variety of technical and human metrics. The results show that with a non-trivial, but also not prohibitive effort, the conversion to modules is possible, resulting in a reduction in compile time for the converted library itself; on the other hand, for downstream projects, compile times show no clear trend. I end with thoughts about long-term strategies for converting the entire ecosystem of mathematical software over the coming years or decades.

🕵️‍♂️🔍 A noble quest to decode the mysteries of a bot detection script, because, you know, #privacy matters, or something. The author's Herculean effort to untangle #JavaScript spaghetti would be impressive if it weren't so pointlessly convoluted. 🧩🤦‍♂️ Just remember, kids: everything's a string until you need it to be an integer!
nullpt.rs/reversing-botid #botDetection #codingMysteries #programmingHumor #developerLife #HackerNews #ngated

www.nullpt.rsReverse Engineering Vercel's BotIDVercel recently announced BotID, an anti-bot meant to protect against bots without requiring manual intervention. This post reverse-engineers the script and takes a peek inside.