frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

LLM agents work for their parent companies, not for you

https://michaelharley.net/posts/2026/11/01/llm-agents-work-for-their-parent-companies-not-for-you/
371•surprisetalk•2h ago•146 comments

Who in Washington owns and trades Nvidia stock

https://www.kadoa.com/congress/insights/trump-nvidia
191•hubraumhugo•3h ago•83 comments

2035 Came Early

https://fzakaria.com/2026/11/23/2035-came-early
517•setheron•8h ago•198 comments

Worshipping at the Altar of Brendan Gregg

https://fzakaria.com/2026/11/12/worshipping-at-the-altar-of-brendan-gregg
110•kqr•4h ago•14 comments

The new set of problems for engineers to solve

https://www.katelynlesse.com/blog/new-problems-for-engineers-to-solve
41•ot•1d ago•27 comments

Ladybird is now in alpha

https://ladybird.org/posts/alpha/
2214•janvdberg•22h ago•535 comments

Quad9 pulled their DNS service from France

https://quad9.net/news/blog/quad9-service-deactivation-in-france/
98•farrokhi•6h ago•35 comments

How a Mechanical Watch Keeps Time (Interactive 3D)

https://martincmartin.github.io/slidev-stem/watches/article/1/
65•martincmartin•2d ago•20 comments

Stalwart is now a drop-in replacement for Microsoft Exchange

https://stalw.art/blog/microsoft-exchange-replacement/
575•shaunpud•16h ago•302 comments

An anti-slavery sugar bowl (2024)

https://www.vam.ac.uk/blog/museum-life/an-anti-slavery-sugar-bowl
57•leonry•2d ago•30 comments

AMD EPYC Zen 6 vs. Zen 1 Performance: 12.1x Geo Mean in Less Than 10 Years

https://www.phoronix.com/review/amd-epyc-9006-7601
164•zdw•9h ago•90 comments

Just a Few Bugs

https://www.justafewbugs.xyz/
67•jjjegly•5h ago•22 comments

SeaStore: Redesigning Ceph's Storage Back End for CPU-Efficient NVMe Performance

https://dl.acm.org/doi/10.1145/3828523.3857112
8•shraddhaag•1d ago•0 comments

Nvidia Reinstates Jensen Huang as CEO

https://www.cnbc.com/2026/11/23/nvidia-jensen-huang-ceo.html
2706•jaz•1d ago•3555 comments

GTA 6 Recomp (Leonida) banned from GitHub while lead dev was in school

https://github.com/ItsNotRexed/Leonida/issues
170•smuhakg•13h ago•195 comments

Drone Maps of Salvage Yards

https://salvageyarddrone.wordpress.com/
140•uptrails•11h ago•52 comments

Becoming a Magician

https://autotranslucence.wordpress.com/2018/03/30/becoming-a-magician/
63•robertvc•1d ago•8 comments

Del Casher–guitarist who was driving force behind the wah-wah pedal–dies at 88

https://www.nytimes.com/2026/11/17/obituaries/del-casher-dead.html
41•bookofjoe•2d ago•5 comments

Arctic: A Practical Lock-Free Adaptive Radix Tree

https://www.usenix.org/conference/osdi26/presentation/ni
79•grep_it•2d ago•8 comments

GTA 6 Running on Windows

https://twitter.com/raul_bs3/status/2125213756238291075
34•andrem•1h ago•3 comments

Declare is a UI language for you and your AI

https://davidtemkin.github.io/declarelang/
79•ilamont•12h ago•56 comments

GPUI is getting its own repository

https://github.com/zed-industries/gpui
337•EvilGoose•18h ago•117 comments

Modernizing iperf/iperf3 and introducing fireperf

https://blog.daniel-baumann.ch/posts/20261122-1.html
141•edward•1d ago•11 comments

New York Bans Subscription and Post-Purchase Fees on Cars

https://www.governor.ny.gov/news/money-your-pockets-governor-hochul-signs-bill-restricting-exploi...
564•DeepLogin•12h ago•260 comments

Bored.com: Fun, interesting and cool websites to explore when bored

https://www.bored.com/
297•susam•18h ago•62 comments

Anthropic is below its IPO price

https://www.msn.com/en-us/money/top-stocks/anthropic-stock-sinks-below-ipo-price-why-that-s-happe...
9•novaRom•29m ago•2 comments

"Dario is hyping the dangers so OSS models are illegal and he stays in control"

https://twitter.com/ylecun/status/2124550037912920090
1872•MrBuddyCasino•22h ago•1083 comments

Making a dumb TV just smart enough

https://qsantos.fr/2026/11/19/making-a-dumb-tv-just-smart-enough/
139•andai•12h ago•40 comments

Lowering Perplexity Without Scaling

https://micjm.com/blog/lowering-perplexity-without-scaling/
84•qlte•1d ago•19 comments

Free alternative TV network built from the Internet Archive's forgotten videos

https://spelunkr.tv
1042•SockThief•1d ago•178 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.