Francesco Bigiarini: defeating AIs with a screwdriver

I am a father, a programmer, a lover of languages, and a hacker

  • I found that BibLaTeX nowadays supports URLs, Unicode characters, and all the modern stuff. I’ve always been a great LaTeX fan, since my university days. My book had a very complex millimeter-precise pagination such as: So, why not create a WordPress plugin that generates a BibLaTeX entry of the current post? But, even more funny,

    Read more

  • Some years ago, I was at one of those shops where you can buy useless, but funny, objects that you can forget in one of your desk drawers. There was one hand-made of wood, that kind of pretty, creepy one, you can move parts, and that 99% of the time has been positioned to flip

    Read more

  • Hey! Unintentional clickbait! I am not talking about how a space character has length 36 in Hacker News! If you are coming here from HN the above 🤦🏼‍♂️ emoji have been replaced with a space! Edit: Success! HN has renamed my entry to It’s Not Wrong that (for HN) “[facepalm emoji]”.length == 36. At least

    Read more

  • One day, during a weekend, I was writing some code for my Mojibake library when I saw a strange output in my CLI for the U+10C0 codepoint chosen by random. Uh? The Unicode Georgian block (MJB_BLOCK_GEORGIAN) has ID 36, and not 0. Even stranger the name of the block was correct. Just the ID was

    Read more

  • In Mojibake, the low-level Unicode library I am writing the first rule is: be small. I am using the SQLite amalgamation to index the hundred of thousands on codepoints/characters/etc. These are the numbers on SQLite 3.50.2, standard amalgamation. Once built with a very basic run of clang: We can do better because in Mojibake I

    Read more

  • I like parts of developing that are not very trendy nowadays. Whatever LLVM I use makes a lot of very basic mistakes, produces slow code, and generally makes code that makes me smile. I had time for myself for the last two days, and I asked Cursor to count the commas in a string, in

    Read more

  • I was a Perl programmer many years ago. I remember having a program called good.pl, as in “good morning,” that at login runs my terminal, my text editor, SVN, the browser, etc. The 80-character line was a big deal, and with Perl, it was easy; that’s one of the reasons I really liked it. I

    Read more

  • In Italy we have something that I call the WhyUPLUSC388 curse, AKA the Alt+0200 curse, AKA “how do I write PERCHÉ“. That LATIN CAPITAL LETTER E WITH GRAVE and LATIN CAPITAL LETTER E WITH ACUTE, together with few other accented characters and the euro symbol are the only characters of the latin-1 encoding used all

    Read more

  • Let’s take some rest from the Unicode world and speak about JSON. There are multiple parsers in the wild, all with different approaches. I will use the Lemon Parser Generator and not some more famous ones. Lemon is an LALR(1) parser generator for C. It does the same job as “bison” and “yacc” … In

    Read more

  • Welcome, this is the third episode of Write a JSON parser in 64 hours. My idea of creating new code is: “make it testable, think about a test, write the code that will pass that test”. When you start touching the test world, the time flies, so this third hour seems to be finished after

    Read more