frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Claude partial outage

https://status.claude.com/incidents/4xvtc2gnq73l
128•sidcool•1h ago•91 comments

macOS Golden Gate Is a Buggy Mess

https://www.squareorbits.com/blog/2026/09/macos-golden-gate-is-a-buggy-mess/
118•SquareOrbits•1h ago•66 comments

How Delhi Cut Electricity Loss from 50 to 5 Percent

https://spectrum.ieee.org/delhi-electricity-loss
204•rbanffy•2h ago•125 comments

AI companies leak data to advertisers [pdf]

https://jorgegarciaherrero.com/wp-content/interactivos/20260916-Prompt-like-a-butterfly-sting-lik...
326•damaru2•6h ago•105 comments

America.gov – Whatever you need from government, start here

https://america.gov/
30•plesiv•1h ago•11 comments

Jeeves. Reasoning improves Jev-like decision models

https://github.com/PostHog/jeeves
144•nicowaltz•4h ago•63 comments

Without the Hot Air

https://www.withouthotair.com/
68•0sake_rs•2h ago•35 comments

Unsurprisingly, Meta's new Muse AI agent blatantly ignores users permissions

https://appleinsider.com/articles/26/09/28/metas-new-ai-agent-blatantly-ignores-users-permissions
92•dkobia•1h ago•16 comments

You Are No Longer Invited to Dinner

https://www.derekthompson.org/p/the-death-of-the-american-host
434•barry-cotter•4h ago•378 comments

500k facial scans at UK stations yield no arrests, 1 false positive

https://www.theguardian.com/technology/2026/sep/29/trial-live-facial-recognition-cameras-london-s...
289•ilamont•3h ago•199 comments

What makes software development engineering

https://parksb.github.io/en/article/44.html
26•ibobev•2h ago•26 comments

Using any C++ library in Godot

https://blog.conan.io/cpp/conan/gamedev/godot/cmake/2026/09/29/Using-Any-Cpp-Library-In-Godot.html
119•czoido•6h ago•30 comments

Digital Audio on the ZX Spectrum's 1-Bit Beeper

https://bumbershootsoft.wordpress.com/2026/09/26/digital-audio-on-the-zx-spectrums-1-bit-beeper/
25•ibobev•1d ago•6 comments

Why Doesn't Anyone Want to Fix One of America's Scariest Roads?

https://www.newyorker.com/magazine/2026/10/05/why-doesnt-anyone-want-to-fix-one-of-americas-scari...
9•adrianhon•1h ago•7 comments

Google ending ChromeOS support two years early

https://www.theregister.com/os-platforms/2026/09/29/google-ending-chromeos-support-two-years-earl...
40•rbanffy•1h ago•18 comments

Phyllotaxis: An audio-reactive LED display

https://jagi.studio/posts/phyllotaxis/
202•evakhoury•23h ago•30 comments

1 in 8 cancer cases worldwide are caused by infections, study finds

https://www.cbc.ca/lite/story/9.7361622
70•colinprince•3h ago•44 comments

US sanctions force The Netherlands off Microsoft and toward alternative NixOS

https://www.tomshardware.com/software/the-netherlands-is-rolling-alternative-nixos-based-software...
299•mywacaday•3h ago•253 comments

Show HN: Raven – The harness of harnesses, built for RSI

https://github.com/EverMind-AI/Raven
42•cyfyifanchen•5h ago•34 comments

Booted up in 1993, this server still runs – but not for much longer (2017)

https://www.computerworld.com/article/1673071/booted-up-in-1993-this-server-still-runs-but-not-fo...
137•doener•1d ago•71 comments

Show HN: Jevstiller – Distill Jev into a local model, with a disagreement bound

https://jevstiller.pages.dev/posts/the-guarantee/
15•tgluck•3h ago•3 comments

Georeferencing Chernarus and visiting in real life (2021)

https://longcreek.me/blog/2021/chernarus-irl
8•carlos-menezes•1d ago•0 comments

California farmers are struggling to sell grapes as demand for wine drops

https://www.kqed.org/news/12101534/california-farmers-are-struggling-to-sell-grapes-as-demand-for...
312•randycupertino•19h ago•758 comments

The systems that no one will test

https://blog.christianperone.com/2026/09/the-systems-that-no-one-will-test/
117•perone•1d ago•50 comments

Software occlusion culling in Block Game

https://enikofox.com/posts/software-rendered-occlusion-culling-in-block-game/
67•airhangerf15•2d ago•4 comments

Four CHI '26 papers I wish I wrote

https://countingfromzero.blog/2026/04/24/four-chi-26-papers-i-wish-i-wrote/
32•luu•2d ago•8 comments

The Beatles have permeated research papers across academic disciplines

https://phys.org/news/2026-09-beatles-permeated-papers-academic-disciplines.html
15•pseudolus•2d ago•11 comments

Optimizing x264 settings and per-title ladders

https://streaminglearningcenter.com/articles/optimizing-x264-settings-and-per-title-ladders.html
20•dabinat•2d ago•4 comments

Pirating the Pirates

https://mubi.com/en/notebook/posts/pirating-the-pirates
652•piotrgrabowski•23h ago•337 comments

Tank Body Problem

http://www.jimsitu.com
163•jimbooonooo•14h ago•34 comments
Open in hackernews

Extending a Language – Writing Powerful Macros in Scheme

https://mnieper.github.io/scheme-macros/README.html
92•textread•1y ago

Comments

neilv•1y ago
A few formatting changes might make this advanced example easier to understand:

    (define-syntax trace-let
      (syntax-rules ()
        [(trace-let name ([var expr] ...) body1 ... body2)
         (let f ([depth 0] [var expr] ...)
           (define name
             (lambda (var ...)
               (f (+ depth 1) var ...)))
           (indent depth)
           (display "(")
           (display 'name)
           (begin
             (display " ")
             (display var))
           ...
           (display ")")
           (newline)
           (call-with-values
               (lambda ()
                 body1 ... body2)
             (lambda val*
               (indent depth)
               (fold-left
                (lambda (sep val)
                  (display sep)
                  (display val)
                  " ")
                "" val*)
               (newline)
               (apply values val*))))]))
The biggest one is to make the rule template pattern variables all-uppercase. I also made a few other tweaks, including using indentation a little more, and naming the named-`let` variable as "loop" (I usually name it `loop` or prefix the name with `loop-` if there's more than one):

    (define-syntax trace-let
      (syntax-rules ()
        ((trace-let NAME ((VAR EXPR) ...) BODY1 ... BODY2)
         (let loop ((depth 0)
                    (VAR   EXPR) ...)
           (define NAME
             (lambda (VAR ...)
               (loop (+ depth 1) VAR ...)))
           (indent depth)
           (display "(")
           (display (quote NAME))
           (begin (display " ")
                  (display VAR)) ...
           (display ")")
           (newline)
           (call-with-values (lambda ()
                               BODY1 ... BODY2)
             (lambda val*
               (indent depth)
               (fold-left (lambda (sep val)
                            (display sep)
                            (display val)
                            " ")
                          ""
                          val*)
               (newline)
               (apply values val*)))))))
Incidentally, all-uppercase Scheme pattern variables is one of the all-time best uses of all-uppercase in any language. Second only to all-uppercase for the C preprocessor, where a preprocessor macro can introduce almost arbitrary text. Using all-uppercase for constants in some language that has constants, however, is an abomination.

(My suspicion of why Java did all-caps is that they were developing a language for embedded systems developers who were currently using C and C++, and they wanted to make it superficially look similar, even though it was an entirely different language. And then, ironically, the language ended up being used mostly by the analogue of a very different developer of the time: corporate internal information systems developers, who, as a field, didn't use anything like C. It's too late to save Java, but to all other language and API developers, please stop the insanity of all-caps constants, enum values, etc. It's not the most important thing that needs to jump out from the code above all other things.)

Y_Y•1y ago
FWIW, all-caps makes this look much worse to me. I understand that people like things like Hungarian notation, arrows over vector names, and shouting Common Lisp symbols. I understand the argument that it can make reading easier. I just can't appreciate that benefit, and it seems to me an ugly hack which obscures the abstract and general symbolic manipulation going on.

This is all highly subjective of course, de gustibus non disputandem.

neilv•1y ago
You mean aesthetically, in that interspersed all-caps makes the code visually less soothingly sensual?

I can sympathize, but let me make a non-aesthetic argument...

In large blocks of code, with all-caps, you can see at a glance where all the template substitutions are happening, and also instantly know as you're reading code what are variables and what are template substitutions?

I'm asking because one of my realizations in recent years is that not everyone reads or sees code the same way.

For example, maybe some people are stronger "visual" and some people are stronger "verbal".

For another example of a different in how people perceive and think, some people can visualize an object in their mind almost as if they're looking at it, but other people can only know and describe what it looks like without bringing a visual of it into their head.

With the benefit of the all-caps, I can glance at this and immediately see much of the structure of the template. Without all-caps, I'd have to work harder to find all the pattern variables, and the structure would be obscured.

For a bit kludgy practical matter, as I'm quickly looking at pieces of code in a template, with all-caps, I can look at a fragment of code in isolation and know what are and aren't pattern variables. Without that, I have to go read the top of the template clause (and read through any syntactic scopes of `let-syntax`) and get that in my head, until I get to the fragment of code I originally wanted to look at.

IDE support can make this unnecessary, with a hypothetical great IDE, with familiar syntax coloring. But still, if there is one thing that all-caps should be reserved for, it's something like this.

With all-caps, your code can be sensual, and the jolting all-caps bits are look out, potentially arbitrary code gets pasted into here.

mnemenaut•1y ago
https://github.com/rogerturner/scheme-macros/blob/main/examp... shows stepwise development of a trace-let [the `(example: (fn arg) => result)` forms are tests - see check-examples library]
Y_Y
•
1y ago
Since you asked, my objection is both aesthetic and semantic, though I was really referring to the semantic part above.

I think you've hit the nail on the head with this visual vs. verbal distinction.

I can add a few clarifying details. I don't use IDEs as much as basic text editors maybe with highlighting, and I try not to rely on any fancy features. It does worry me that the allcaps use you describe is (afaik) not known to the editor or interpreter, so if you make a mistake or the symbol gets out of sync with its meaning (re: pattern variables) you may have a false signal. Finally I'll say that in the end I can't suggest a good way to treat these special variables, and so maybe I don't get it, or tastes like mine would be better served by a different formalism for macros.