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...
@nst021.bsky.social
๐จ๐ผโ๐ป Software eng. manager, EMBA โ๏ธ Software security, anti-corruption ๐จ๐ญ Swiss ultra trail runner โฐ๐๐ผ 2D graphics programming and art ๐จ
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...
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
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 :)
08.10.2025 15:23 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0PostScript Brainfuck interpreter down from 6 lines to 5 :-)
github.com/nst/bfps
Did I mention how much I love PostScript?
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
1127 bytes version ๐ช gist.github.com/nst/92886e50...
03.10.2025 12:04 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0Hike and Run is now open-source github.com/nst/HikeAndRun
01.10.2025 16:16 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0Still true with macOS 26.0 (25A354)
01.10.2025 16:15 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0Same, including puzzle visualization ๐
gist.github.com/nst/d8c27b14...
and extreme minification
gist.github.com/nst/92886e50... (1155 bytes)
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...
triangle edge matching puzzle (photo)
triangle edge matching puzzle (software generated)
4x4 square edge matching puzzle, software generated
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
Lecornu dรฉmission !
09.09.2025 18:20 โ ๐ 26 ๐ 7 ๐ฌ 0 ๐ 0Fake Mac Apps on GitHub:
mjtsai.com/blog/2025/09... #mjtsaiblog
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โ
Good news about the cutting-edge AI tools from the $3-trillion-dollar company.
02.09.2025 00:10 โ ๐ 8547 ๐ 2166 ๐ฌ 249 ๐ 335Curious 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.
23.08.2025 18:09 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0Swissquote 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.
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!
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
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!
YouTube www.youtube.com/watch?v=BvZX...
01.08.2025 16:27 โ ๐ 3 ๐ 1 ๐ฌ 0 ๐ 0Can't wait to present in Brazil ๐ง๐ท and meet crazy, like-minded artists, developers and hackers ๐
11.07.2025 16:47 โ ๐ 6 ๐ 1 ๐ฌ 0 ๐ 0Apple 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'
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.
29.06.2025 20:32 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0The fastest way to detect a vowel in a string austinhenley.com/blog/vowels....
15.06.2025 15:03 โ ๐ 0 ๐ 1 ๐ฌ 0 ๐ 0No answer about 63, but my human written implementation in PostScript instead gist.github.com/nst/bfa440c6...
25.06.2025 18:46 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0Two weeks ago, I presented my talk about PostScript programming at #DevDaysEurope, Vilnius, Lithuania. Slides on seriot.ch/projects/pro...
03.06.2025 06:23 โ ๐ 4 ๐ 1 ๐ฌ 1 ๐ 0Et sans dรฉchets
30.05.2025 17:11 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0Alt-Txt: Two people stand before multi-color strips of paper with text on them that stretch down an entire wall and onto the floor. The title of the installation "I Agree" appear in all caps on the wall, too.
Love this. In his โI Agreeโ installation Dima Yarovinsky-Yahel took the content from terms of service statements for companies like Facebook, Snapchat, Instagram, Tinder and printed them out on A4 paper with a standard font size for legal contracts to demonstrate the length of these agreements.
27.04.2025 19:52 โ ๐ 3116 ๐ 1301 ๐ฌ 23 ๐ 57