Nicolas Seriot
@nst021.bsky.social
110 followers 110 following 48 posts
👨🏼‍💻 Software eng. manager, EMBA ⚖️ Software security, anti-corruption 🇨🇭 Swiss ultra trail runner ⛰🏃🏼 2D graphics programming and art 🎨
Posts Media Videos Starter Packs
nst021.bsky.social
Thanks for the hint! More natural indeed, but won't beat the 5-lines version, and won't ignore non-BF chars.

github.com/nst/bfps/blo...
github.com
nst021.bsky.social
You can't redefine <>]

gs -q -dNODISPLAY -c "/]{}def" -c
Error: /unmatchedmark in --]--

gs -q -dNODISPLAY -c "/>{}def" -c
Error: /syntaxerror in /----nostringval----

But I have another idea, will try tonight :P
nst021.bsky.social
Good question! This was my 1st intent 2 years ago, but it didn't work out eventually, I'm not sure why. I'll try again tonight and will let you know :)
nst021.bsky.social
PostScript Brainfuck interpreter down from 6 lines to 5 :-)

github.com/nst/bfps

Did I mention how much I love PostScript?
nst021.bsky.social
Paged Out!, a free mag of one-page reads on programming and hacking, has just release its #7 issue.

Learn how to install a Tic-Tac-Toe game on your printer by copy-pasting a few lines of PostScript from my “Print to Play” article (page 38). #hacking #printers #programming #postscript
nst021.bsky.social
Still true with macOS 26.0 (25A354)
nst021.bsky.social
Same, including puzzle visualization 👀

gist.github.com/nst/d8c27b14...

and extreme minification

gist.github.com/nst/92886e50... (1155 bytes)
nst021.bsky.social
And yes, this is a (not so) minified PostScript solver for square, 3x3 edge-matching puzzles 🦠🔬

emp_mini.ps gist.github.com/nst/431fa964...

emp_full.ps gist.github.com/nst/1e754c88...
nst021.bsky.social
I turned a dusty family puzzle into code.

A 🧩 generator, solver and visualizer.

Small, documented, and fun to hack.

Give it a ⭐ github.com/nst/EdgeMatc...

#Puzzles #Python #Algorithms
triangle edge matching puzzle (photo) triangle edge matching puzzle (software generated) 4x4 square edge matching puzzle, software generated
Reposted by Nicolas Seriot
Reposted by Nicolas Seriot
anildash.com
Good news about the cutting-edge AI tools from the $3-trillion-dollar company.
Google AI search result for “was 2010 fifteen years ago?” returning: “No, 2010 was 14 years ago, not 15 years ago. The current year is 2025, and to find the number of years ago 2010 was, you subtract 2010 from 2025, which equals 14. 
Current Year: 2025
Past Year: 2010
Years Ago: 2025 - 2010 = 14 years”
nst021.bsky.social
Curious about passkeys? I created a quick PoC with Claude seriot.ch/pk/pk.php Then I sniffed the network with Charles and documented the protocol informally seriot.ch/pk/202508_pa... I also identified a few security smells.
Reposted by Nicolas Seriot
grapheneos.org
Swissquote has launched official support for GrapheneOS for their main app instead of it only being available for Yuh:

play.google.com/store/apps/d...

> What’s new
> - We now officially support GrapheneOS!
> - Bug fixes and minor improvements

They're verifying GrapheneOS via hardware attestation.
Swissquote - Apps on Google Play
Trade, invest and bank! Your all-in-one banking solution for smarter finances.
play.google.com
nst021.bsky.social
Releasing a curated list of my finest mountain hikes and races, with GPX files available for each route.

seriot.ch/mountains/to...

More to come, feedbacks are welcome!
nst021.bsky.social
Convert several JPG files into one PDF file with

magick *.jpg x.pdf

I wish I had known that earlier!

quickies.seriot.ch?id=631
nst021.bsky.social
Mon talk à @lu.voxxeddays.com sur la programmation en langage PostScript est disponible sur YouTube en français www.youtube.com/watch?v=2ree...
Au menu:
- histoire, principes et environnement
- jeux sur imprimante et dans GhostScript
- code golfing, sécurité
Merci à @zepag.fr et toute l'équipe!
nst021.bsky.social
Can't wait to present in Brazil 🇧🇷 and meet crazy, like-minded artists, developers and hackers 😃
gambiconf.dev
Mambi @gambiconf.dev · Jul 11
Talk "Games in PostScript – Play Chess Against Your Printer" by @nst021.bsky.social (in 🇺🇸)

Write games in PostScript, the '80s printer language. Sokoban & Tetris running on desktop, Tic-Tac-Toe & Chess on printer, printer vs human.
nst021.bsky.social
Apple Preview 11.0 (macOS 15.5) does crash while opening gist.github.com/nst/373748f2... as x.pdf (malformed ICC profile).

[com.apple.Preview] CoreGraphics assert(cs != NULL) failed in img_pixels_for_destination: colorspace missing
CoreGraphics/Images/CGSImage.c:4029: failed assertion `cs != NULL'
gist.github.com
nst021.bsky.social
The third picture shows the ninth generation of three crystal seeds growing inside a 32×32×32 cube with transparent faces, revealing the crystals' internal structure.