Better HN
topnewbestaskshowjobs
Log inSign up

beefburger

702 karma · joined Dec 5, 2009 (16y ago) · 67 submissions

Submissions

1.

Curl was accidentally Turing-complete for nine months(seriot.ch ↗)

29 points · by beefburger · 3w ago · discuss

2.

A Minsky machine in ncurses terminfo(seriot.ch ↗)

36 points · by beefburger · 1mo ago · 12 comments

3.

IPC Panic, a 4-call kernel panic in Apple XNU, up to macOS and iOS 26 included(seriot.ch ↗)

3 points · by beefburger · 2mo ago · discuss

4.

Show HN: An Unexpected Computer – Universal computing: echo, ed, test and exec [pdf](seriot.ch ↗)

4 points · by beefburger · 3mo ago · discuss

comment 3mo ago · link · parent

Wooden prototype: https://seriot.ch/resources/computiles.jpg

6.

Show HN: Computiles – A Geometric Binary Calculator. Only Correct Results Fit [pdf](seriot.ch ↗)

1 points · by beefburger · 3mo ago · 1 comment

comment 4mo ago · link · parent

Search is working as intended, but the demo only covers Switzerland. It's a bake of the Geofabrik Switzerland extract. Try "Zermatt" or "Basel". You can bake any region yourself from a .pbf: python3 bake.py --pbf glasgow.osm.pbf.

Fair point that the error message should say so. I'll make it read "not found — this demo covers Switzerland only."

8.

Show HN: Cartopolis – OpenStreetMap rendered like it's 1999(seriot.ch ↗)

13 points · by beefburger · 4mo ago · 2 comments

comment 4mo ago · link · parent

No, standard transliterators like Latin-Katakana are designed to always terminate. What the article demonstrates is that the underlying rule language is powerful enough that one could write custom rules that loop infinitely.

In practice, the ICU implementation does limit the number of rewrites, even though the specification doesn't.

comment 4mo ago · link · parent

I've been wondering for a while if anything in Unicode could accidentally compute. It turns out that UTS #35 transliteration rules are Turing-complete. I show how to compute Collatz with just 3 rewrite rules running on stock ICU.

11.

Unicode's transliteration rules are Turing-complete(seriot.ch ↗)

131 points · by beefburger · 4mo ago · 31 comments

comment 6mo ago · link · parent

Indeed. The Jira rules implement test-then-decrement correctly, but the notation was ambiguous. I’ve fixed the pseudocode so that the test explicitly precedes the decrement. Thanks for the careful read!

13.

Jira IS Turing-Complete(seriot.ch ↗)

3 points · by beefburger · 6mo ago · discuss

14.

Show HN: RFC Esolang – RFCs as executable programs(seriot.ch ↗)

2 points · by beefburger · 7mo ago · discuss

comment 7mo ago · link · parent

RFC Esolang is a programming language in which the specification document is the source code.

Requirement levels like MUST, SHOULD, and MAY act as control flow. Section numbers define labels. Packet-diagram labels serve as registers.

Executing RFC 9379 outputs the powers of two. Pre-existing RFCs MAY parse as valid programs, forming a historically accidental standard library.

16.

RFC Esolang – RFCs as executable programs(esolangs.org ↗)

11 points · by beefburger · 7mo ago · 1 comment

17.

An audio modem in 5 lines of Awk(pagedout.institute ↗)

2 points · by beefburger · 8mo ago · discuss

18.

An AWKward Modem(seriot.ch ↗)

4 points · by beefburger · 9mo ago · discuss

19.

Games in PostScript [pdf](seriot.ch ↗)

2 points · by beefburger · 10mo ago · discuss

comment 1y ago · link · parent

How to install a Tic-Tac-Toe game on your printer by copy-pasting a few lines in PostScript.

21.

"Print to Play" article in Paged Out magazine [pdf](seriot.ch ↗)

1 points · by beefburger · 1y ago · 1 comment

comment 1y ago · link · parent

Solvers and visualizers in Python, C and PostScript

23.

Edge Matching Puzzles(seriot.ch ↗)

1 points · by beefburger · 1y ago · 1 comment

comment 1y ago · link · parent

I've been experimenting with PostScript programming over the past two years, creating several small games (Tic-Tac-Toe, Chess, Sokoban and Tetris) all running in Ghostscript or directly on printers. Here are my annotated slides about this quirky and fun journey, filled with insights, code snippets, and lessons learned.

25.

Programming in PostScript – Retro Coding Fun: Games on Your Printer(seriot.ch ↗)

2 points · by beefburger · 1y ago · 1 comment

comment 1y ago · link · parent

How I shrank Takashi Hayakawa's 33 years old tiny ray tracer by 33 bytes

27.

Shrinking PostScript Tiny Ray Tracer(seriot.ch ↗)

4 points · by beefburger · 1y ago · 1 comment

comment 1y ago · link · parent

I've just implemented Tetris in PostScript, pushing the limits of a document-processing language to run a realtime game. It works in GhostView on macOS.

* 600 lines / 10 KB * 69 different PostScript operators, no external libs * Realtime input, direct drop, increasing speed levels * 7-tetrimino random bags * Nintendo-style scoring and high score tracking

This project builds on my earlier experiments with PSChess and PSSokoban.

It show that PostScript is a lightweight, expressive, and surprisingly interactive programming language. A perfect tool for hacking on unexpected platforms.

123