frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

When You Get to Be Smart Writing a Macro

https://tonsky.me/blog/hashp/
37•borjs•1w ago

Comments

EdwardDiego•2h ago
Very smart. But also a good example of why macros are brittle.
kazinator•2h ago

  #p x
is one character less than

  (p x)
When code golfing Lisps you can remove all whitespace after a closing paren, but not after a symbol. So in the following fully golfed token sequences, #p loses its one character advantage:

  #p x y
  (p x)y
I bring up code golfing because that's what this is about, presumably.

But what if the argument is a parenthesized expression:

  #p(x)
  (p(x))
#p is back in the game with a 1 char lead.

The thing is, we can make the printing operator take arguments and turn them into an expression. Suppose we make a cousin of p called q, such that:

  (q x) -> (p (x))

  (q x y z) -> (p (x y z))
q no longer loses to #p:

  (q x)
  #p(x)
asQuirreL•1h ago
I think what's more important than the character count is the fact that you can add #p with two key strokes.

Inserting parentheses requires moving your cursor around or invoking some shortcut in your editor if you use paredit, vim-surround, or a similar plugin. Applies equally for removing the invocation (although paredit makes that part easy).

VST3 audio plugin format is now MIT

https://forums.steinberg.net/t/vst-3-8-0-sdk-released/1011988
249•rock_artist•4h ago•55 comments

C64 Blood Money

https://lemmings.info/c64-blood-money/
21•mariuz•1h ago•1 comments

Google flags Immich sites as dangerous

https://immich.app/blog/google-flags-immich-as-dangerous
872•janpio•13h ago•332 comments

Programming with Less Than Nothing

https://joshmoody.org/blog/programming-with-less-than-nothing/
106•signa11•4h ago•26 comments

Radios, how do they work? (2024)

https://lcamtuf.substack.com/p/radios-how-do-they-work
69•aqrashik•4h ago•11 comments

Scripts I wrote that I use all the time

https://evanhahn.com/scripts-i-wrote-that-i-use-all-the-time/
843•speckx•19h ago•250 comments

Run interactive commands in Gemini CLI

https://developers.googleblog.com/en/say-hello-to-a-new-level-of-interactivity-in-gemini-cli/
125•ridruejo•6d ago•39 comments

Willow quantum chip demonstrates verifiable quantum advantage on hardware

https://blog.google/technology/research/quantum-echoes-willow-verifiable-quantum-advantage/
431•AbhishekParmar•18h ago•217 comments

Accessing Max Verstappen's passport and PII through FIA bugs

https://ian.sh/fia
439•galnagli•15h ago•88 comments

JMAP for Calendars, Contacts and Files Now in Stalwart

https://stalw.art/blog/jmap-collaboration/
326•StalwartLabs•16h ago•145 comments

Ovi: Twin backbone cross-modal fusion for audio-video generation

https://github.com/character-ai/Ovi
284•montyanderson•14h ago•105 comments

TP-Link conducts Wi-Fi 8 trials, promises better reliability and lower latency

https://www.techspot.com/news/109837-tp-link-conducts-successful-wi-fi-8-trials.html
30•thunderbong•4d ago•17 comments

Karpathy on DeepSeek-OCR paper: Are pixels better inputs to LLMs than text?

https://twitter.com/karpathy/status/1980397031542989305
259•JnBrymn•1d ago•84 comments

When You Get to Be Smart Writing a Macro

https://tonsky.me/blog/hashp/
37•borjs•1w ago•3 comments

Show HN: Silly Morse code chat app using WebSockets

https://noamtamir.github.io/morwse/
29•noamikotamir•4d ago•11 comments

Why SSA Compilers?

https://mcyoung.xyz/2025/10/21/ssa-1/
171•transpute•13h ago•52 comments

Play abstract strategy board games online with friends or against bots

https://abstractboardgames.com/
119•abstractbg•6d ago•51 comments

Element: setHTML() method

https://developer.mozilla.org/en-US/docs/Web/API/Element/setHTML
183•todsacerdoti•1d ago•100 comments

The first interstellar software update: The hack that saved Voyager 1 [video]

https://www.youtube.com/watch?v=p0K7u3B_8rY
70•daemonologist•1w ago•13 comments

Glasses-free 3D using webcam head tracking

https://assetstore.unity.com/packages/tools/camera/vr-without-glasses-for-webgl-332314
36•il_nets•4d ago•29 comments

A Distributed Emulation Environment for In-Memory Computing Systems

https://www.arxiv.org/pdf/2510.08257
4•oldfuture•1w ago•0 comments

Rivian's TM-B electric bike

https://www.theverge.com/news/804157/rivian-tm-b-electric-bike-price-specs-helmet-quad
199•hasheddan•15h ago•329 comments

Derek Sivers's database and web apps

https://github.com/sivers/sivers
75•surprisetalk•6d ago•26 comments

Common yeast can survive Martian conditions

https://phys.org/news/2025-10-common-yeast-survive-martian-conditions.html
80•geox•1w ago•55 comments

Show HN: Cuq – Formal Verification of Rust GPU Kernels

https://github.com/neelsomani/cuq
78•nsomani•14h ago•42 comments

VortexNet: Neural network based on fluid dynamics

https://github.com/samim23/vortexnet
34•vegax87•11h ago•1 comments

The mild mannered Englishman who was the most prolific ghost hunter

https://lithub.com/the-mild-mannered-englishman-who-was-the-worlds-most-prolific-ghost-hunter/
16•gmays•5h ago•1 comments

Sodium-ion batteries have started to appear in cars and home storage

https://cleantechnica.com/2025/10/22/the-sodium-ion-battery-revolution-has-started/
134•xbmcuser•8h ago•130 comments

InpharmD (YC W21) Is Hiring – NLP Engineer

https://inpharmd.com/jobs/inpharmd-is-hiring-ai-ml-engineer
1•tulasichintha•12h ago

LibCube: Find new sounds from audio synths easier

https://github.com/cslr/libcube-public/wiki
42•cslr•4d ago•5 comments