HackerTrans
TopNewTrendsCommentsPastAskShowJobs

adunk

4,853 karmajoined 14 лет назад
dunkels.com/adam

Submissions

But Nothing Has Changed on Our Side

cacm.acm.org
53 points·by adunk·7 дней назад·13 comments

Prompts in Manuscripts Exploit AI-Assisted Peer Review

cacm.acm.org
2 points·by adunk·15 дней назад·0 comments

The truth about being a manager

sofiakodar.github.io
113 points·by adunk·18 дней назад·64 comments

Shoehorning Flying Toasters into a ESP32-S3

taoofmac.com
3 points·by adunk·25 дней назад·0 comments

AI enthusiasts are in a race against time, AI skeptics in a race against entropy

charitydotwtf.substack.com
3 points·by adunk·в прошлом месяце·1 comments

Prototype of the ' first fluid circuit board'

tomshardware.com
2 points·by adunk·в прошлом месяце·0 comments

The Pressure

daniel.haxx.se
46 points·by adunk·2 месяца назад·5 comments

Strivle – LinkedIn alternative for founders who ship, ranked by output

strivle.com
1 points·by adunk·2 месяца назад·0 comments

GPT Guesses Between 1 and 100

github.com
87 points·by adunk·2 месяца назад·73 comments

6502 Emulator Runs 1 Instruction/S (Written in Markdown, Running in an LLM)

dunkels.com
2 points·by adunk·2 месяца назад·1 comments

Don't Roll Your Own

susam.net
161 points·by adunk·2 месяца назад·126 comments

Curly braces: An evolution of Unix and C

thalia.dev
4 points·by adunk·2 месяца назад·1 comments

Tracking 100k Assets Before Having 100k Assets to Track

dunkels.com
2 points·by adunk·2 месяца назад·0 comments

Microsoft is retiring Teams' Together Mode

theverge.com
2 points·by adunk·2 месяца назад·0 comments

A Basic Interpreter in Markdown, Running "Natively" in Claude Code

dunkels.com
1 points·by adunk·2 месяца назад·0 comments

Berget Code – Agentic coding on European infrastructure

berget.ai
3 points·by adunk·2 месяца назад·0 comments

TinyStories-260K running locally on a stock Game Boy Color

github.com
2 points·by adunk·2 месяца назад·0 comments

Screenshots of Old Desktop OSes

typewritten.org
710 points·by adunk·2 месяца назад·394 comments

How Fast Does Claude, Acting as a User Space IP Stack, Respond to Pings?

dunkels.com
165 points·by adunk·2 месяца назад·64 comments

Vibe Maintainer

steve-yegge.medium.com
4 points·by adunk·2 месяца назад·1 comments

comments

adunk
·3 месяца назад·discuss
That implementation of the max(A, X) operator that is described in the article is very clever. Obviously not super practical, since it needs to allocate one specific zeropage location for it to work ($8A), but that type of requirement is pretty typical for lovely tricks like this one! And the beauty here is in the trick, not whether or not there may be some practical application of it.

But this also raises the question: is there some clever way to use the undocumented SAX instruction, which does an AND between the A and the X registers, to achieve something similar? There is and old trick to compute min and max using no branches, which is not immediately applicable (https://graphics.stanford.edu/~seander/bithacks.html#Integer...) - but maybe there is some other trick hiding in there?