frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Pragma Twice – A dystopian sci-fi themed programming game

https://www.bryanpg.com/pragma_twice/
2•umvi•37m ago
Hey HN, I'm Bryan. I released Pragma Twice earlier this week in anticipation for Steam's "Programming Fest". Pragma Twice is a programming puzzle game in the same vein as Untrusted (https://untrustedgame.com/). You have to write real JavaScript code to incrementally improve your playable character's "kernel" over the course of the game. Beating levels autonomously (without keyboard inputs) reveals a competitive time/code golf aspect to the game.

I started developing Pragma Twice over 4 years ago after playing Untrusted and loving it. It took so long to develop because I'm not a full time game developer... between my actual job, my kids, and my own self-motivation, it's taken a lot longer than I originally hoped to get this game shipped! It's definitely what you might call a passion project. Anyway, I plan to keep iterating on it, so give it a spin and let me know what you think!

A few technical details/challenges:

- The game was originally written in vanilla JavaScript, but I later converted it to TypeScript (which had an astonishing ROI)

- Uses PixiJS for the graphics and a custom game engine built around Web Workers + SharedArrayBuffer for sandboxing and guarding against things like infinite loops

- The web version is hosted on GitHub Pages, which was challenging because of the SharedArrayBuffer requirement (I use https://github.com/gzuidhof/coi-serviceworker to work around this)

- The linux/windows versions use Electron

- Uses CodeMirror for in-game editor/console

- Levels built with LDtk

- Automated game testing with Puppeteer

Steam: https://store.steampowered.com/app/3528840/Pragma_Twice/

Dev Notes: https://www.bryanpg.com/games/pragma_twice

The Same Matching Engine Measured 130k/s and 106/s

https://www.ovasylenko.com/blog/matching-engine-performance-benchmarking
1•_alphageek•1m ago•0 comments

Show HN: JavaScript grid and pivot library built for coding agents

1•yonl•2m ago•0 comments

Grafista: Graphic design platform fighting AI slop

https://grafista.io/
1•GiorgosGennaris•2m ago•0 comments

Before NTP there were Time and Daytime

https://www.jeffgeerling.com/blog/2026/rfc-867-868-time/
1•corvad•4m ago•0 comments

Aubusson Weaves Tolkien

https://www.cite-tapisserie.fr/en/le-musee/les-aventures-tissees/aubusson-tisse-tolkien
2•nfeutry•4m ago•0 comments

Some (mostly historical) issues with the Unix load average

https://utcc.utoronto.ca/~cks/space/blog/unix/LoadAverageHistoricalIssues
1•signa11•6m ago•0 comments

I ported a VB6 game to Flutter and generated all 14 art themes

https://apps.apple.com/cz/app/kirian/id6774868017
1•lioil•6m ago•0 comments

Show HN: Implementing Embedding Gemma in PyTorch

https://www.youtube.com/watch?v=rxOUmSJTQBk
2•prasoon21•7m ago•0 comments

OpenAI Gives US Agencies 50% Off Models, Ending $1 per Year Deal

https://www.bloomberg.com/news/articles/2026-09-10/openai-gives-us-agencies-50-off-models-ending-...
1•helsinkiandrew•9m ago•1 comments

Privacy on Bitcoin: what works and what doesn't

https://www.learnbitcoin.com/rabbit-hole/bitcoin-privacy
1•granya•11m ago•0 comments

iTerm 2 Companion App

https://iterm2.com/companion-app.html
1•fredley•13m ago•0 comments

Comparing performance of different offline first solutions

https://github.com/bkniffler/offline-sync-bench
2•quambo•14m ago•0 comments

AI Doomlord Jacob Coxon's Media Tour Has Begun

https://gizmodo.com/ai-doomlord-jacob-coxons-media-tour-has-begun-2000809720
3•jjj123•16m ago•0 comments

Transcompilation Express

https://blog.gingerbeardman.com/2026/08/31/transcompilation-express/
1•surprisetalk•17m ago•0 comments

1.1.1.1 now supports post-quantum DNSSEC, all 2,420 bytes of it

https://blog.cloudflare.com/post-quantum-dnssec-1111/
4•HieronymusBosch•18m ago•0 comments

Guiding AI writing to make technical text easier to review

https://a11.to/blog/claudisms
1•helenapankov•19m ago•2 comments

US Army places $11M bet on Austin-based GPS alternative Tern

https://techcrunch.com/2026/09/10/us-army-places-11m-bet-on-austin-based-gps-alternative-tern/
3•gemanor•19m ago•0 comments

What is the correct way to become a DevOps eng?

1•edviik•20m ago•1 comments

Show HN: AI Brand Visibility for Free Forever

https://app.geosurge.ai/login
3•jonsmostovojs•21m ago•5 comments

Janet 1.42.0

https://github.com/janet-lang/janet/releases/tag/v1.42.0
1•birdculture•21m ago•0 comments

Brax 2026 Roadmap: secure mobile phone, smart wall display, pocket AI phone

https://www.youtube.com/watch?v=jXzpwdtwVyk
1•cromka•22m ago•0 comments

Sheriff's investigator charged with misusing Flock camera data

https://www.timesunion.com/news/article/sheriff-albany-county-investigator-charged-22424123.php
2•throw7•22m ago•0 comments

Show HN: MorphMove – inspired by fast chess and NYT Games

https://morphmove.com
1•eropatori•23m ago•0 comments

Google's revived nuclear power plant gets $1.9B loan from US Government

https://techcrunch.com/2026/09/08/googles-revived-nuclear-power-plant-gets-1-9b-loan-from-us-gove...
2•pseudolus•24m ago•0 comments

UnifoLM-WLA-1.0

https://unigen-x.github.io/unifolm-wla.github.io/
1•ilreb•25m ago•0 comments

Never let your agent choose its own tool

https://www.promptone.ai/blog/agent-should-never-choose-its-own-tools/
2•chris_marino•25m ago•1 comments

Ask HN: Claude or ChatGPT? Which is better for me as a Tech guy?

1•skwasimin•27m ago•3 comments

The oldest known Snakes and Ladders board is probably a forgery

https://en.quantumgame.love/guide/how-old-is-snakes-and-ladders.html
1•AlexLeela•27m ago•0 comments

Another researcher says OpenAI trained on conversations, then claimed breakthrou

https://bsky.app/profile/did:plc:ckaz32jwl6t2cno6fmuw2nhn/post/3mv4mt4ikss2d
46•ColinWright•30m ago•13 comments

Readonly database access for your agent

https://gayanhewa.github.io/dbq/
1•filepod•32m ago•1 comments