frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Xiaomi MiMo v2.6

https://mimo.xiaomi.com/mimo-v2-6
141•volf_•47m ago•43 comments

The NASA/ESA Mars Sample Return mission has been canceled

https://www.science.org/content/article/nasa-s-mars-sample-return-mission-dead
151•Muhammad523•1h ago•96 comments

What Sun got wrong

https://bcantrill.dtrace.org/2026/09/20/what-sun-got-wrong/
414•chmaynard•6h ago•234 comments

Attention is all you have

https://alicegg.tech/2026/09/21/attention
446•zer0tonin•6h ago•131 comments

AI coding has made CI a bottleneck, so we reworked ours to keep up

https://linear.app/now/ci-bottleneck-reworked
53•julian_digital•1h ago•27 comments

Why does mathmain need an encrypted loader?

https://safedep.io/mathmain-encrypted-loader/
73•abhisek•2h ago•18 comments

Transformers Explained Visually

https://poloclub.github.io/transformer-explainer/
23•aray07•1h ago•0 comments

The Advisory Group on Mathematics and Artificial Intelligence

https://terrytao.wordpress.com/2026/09/21/advisory-group-on-mathematics-and-artificial-intelligence/
32•digital55•1h ago•12 comments

Turn off and restrict access to Apple Intelligence features on Mac

https://support.apple.com/guide/mac-help/turn-restrict-access-apple-intelligence-mchlb2e44f94/mac
169•alwillis•3h ago•104 comments

In Search of a Compositional Theory of Self-Stabilization

http://muratbuffalo.blogspot.com/2026/09/in-search-of-compositional-theory-of.html
28•matt_d•1h ago•3 comments

Grok 4.7

https://x.ai/news/grok-4-7
408•meetpateltech•5h ago•335 comments

Divide by Depth for Instant 3D

https://gabrieloc.com/2026/09/15/perspective.html
13•gabrieloc•2d ago•3 comments

Apple Copland D11E4 Booting in the Browser

https://www.pagetable.com/300
32•luu•2h ago•4 comments

US halts flights at busy East Coast airports, says fiber line cut

https://www.reuters.com/world/us/faa-halts-some-us-east-coast-flights-due-communication-issues-20...
120•allanbreyes•2h ago•74 comments

Frontier AI on Your Own Hardware

https://timdettmers.com/2026/09/21/dlab-open-source-week/
24•pretext•2h ago•5 comments

Kev: Tiny Jev-like family of decision models built on top of Qwen3.5

https://github.com/jaredpalmer/kev/tree/main
361•tosh•13h ago•163 comments

A restored PDP-11/83 serving this page on 211BSD Unix

http://pdp1173.com/
75•davepl•5h ago•26 comments

Python Workers are now generally available

https://blog.cloudflare.com/python-workers-ga/
147•torutofu•7h ago•21 comments

This Digital Radio Gets Messages to the World’s Remotest Locations

https://spectrum.ieee.org/hermes-shortwave-radio-digital-data
60•SamuraiLion•4h ago•30 comments

RoboHarm: Do Frontier Robot Policies Refuse Unsafe Instructions?

https://robocurve.org/roboharm/
12•msadowski•2h ago•1 comments

How do Traffic Signals Work (2019)

https://practical.engineering/blog/2019/5/11/how-do-traffic-signals-work
44•at1as•4h ago•30 comments

Avoiding the babbling-idiot failure in a time-triggered communication system

https://ieeexplore.ieee.org/document/689473
18•ronfriedhaber•2h ago•5 comments

Show HN: A website that tracks US food prices every day

https://www.kadoa.com/food-prices
10•hubraumhugo•1h ago•2 comments

Grim Fandango Puzzle Document (1996) [pdf]

http://gameshelf.jmac.org/2008/11/13/GrimPuzzleDoc_small.pdf
344•kelseyfrog•15h ago•87 comments

Fable 5 – Median thinking declined in August

https://twitter.com/Lon/status/2101793422487204027
283•espeed•4h ago•188 comments

Show HN: Foremerge – Catch intent conflicts between parallel coding agents

https://github.com/naw103/foremerge
23•naw103•4h ago•0 comments

M5 Ultra Mac Studio Review

https://www.macstories.net/stories/m5-ultra-mac-studio-review-the-dream-mac-for-local-ai-agents/
205•piotrgrabowski•7h ago•191 comments

Noodle Gallery- Open-source, self-hosted alternative to Google Photos and Immich

https://digitalescapetools.com/tools/noodlegallery.html
43•xabd•6h ago•31 comments

macOS 27: Workaround to avoid downloading AI models and save storage

https://www.reddit.com/r/MacOSBeta/comments/1vlnf13/workaround_to_avoid_downloading_ai_models_and/
175•ano-ther•6h ago•81 comments

Heretic removes restrictions from language models

https://heretic-project.org/
208•Bluestein•16h ago•88 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.