HackerTrans
トップ新着トレンドコメント過去質問紹介求人

adunk

4,853 カルマ登録 14 年前
dunkels.com/adam

投稿

But Nothing Has Changed on Our Side

cacm.acm.org
53 ポイント·投稿者 adunk·7 日前·13 コメント

Prompts in Manuscripts Exploit AI-Assisted Peer Review

cacm.acm.org
2 ポイント·投稿者 adunk·15 日前·0 コメント

The truth about being a manager

sofiakodar.github.io
113 ポイント·投稿者 adunk·18 日前·64 コメント

Shoehorning Flying Toasters into a ESP32-S3

taoofmac.com
3 ポイント·投稿者 adunk·25 日前·0 コメント

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

charitydotwtf.substack.com
3 ポイント·投稿者 adunk·先月·1 コメント

Prototype of the ' first fluid circuit board'

tomshardware.com
2 ポイント·投稿者 adunk·先月·0 コメント

The Pressure

daniel.haxx.se
46 ポイント·投稿者 adunk·2 か月前·5 コメント

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

strivle.com
1 ポイント·投稿者 adunk·2 か月前·0 コメント

GPT Guesses Between 1 and 100

github.com
87 ポイント·投稿者 adunk·2 か月前·73 コメント

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

dunkels.com
2 ポイント·投稿者 adunk·2 か月前·1 コメント

Don't Roll Your Own

susam.net
161 ポイント·投稿者 adunk·2 か月前·126 コメント

Curly braces: An evolution of Unix and C

thalia.dev
4 ポイント·投稿者 adunk·2 か月前·1 コメント

Tracking 100k Assets Before Having 100k Assets to Track

dunkels.com
2 ポイント·投稿者 adunk·2 か月前·0 コメント

Microsoft is retiring Teams' Together Mode

theverge.com
2 ポイント·投稿者 adunk·2 か月前·0 コメント

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

dunkels.com
1 ポイント·投稿者 adunk·2 か月前·0 コメント

Berget Code – Agentic coding on European infrastructure

berget.ai
3 ポイント·投稿者 adunk·2 か月前·0 コメント

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

github.com
2 ポイント·投稿者 adunk·2 か月前·0 コメント

Screenshots of Old Desktop OSes

typewritten.org
710 ポイント·投稿者 adunk·2 か月前·394 コメント

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

dunkels.com
165 ポイント·投稿者 adunk·2 か月前·64 コメント

Vibe Maintainer

steve-yegge.medium.com
4 ポイント·投稿者 adunk·2 か月前·1 コメント

コメント

adunk
·3 か月前·議論
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?