frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

A Letter from Dijkstra on APL

https://www.jsoftware.com/papers/Dijkstra_Letter.htm
22•tosh•4h ago

Comments

wood_spirit•1h ago
The opening paragraphs about how people enamoured by a shiny gadget will overlook a terrible interface brings immediately to my mind the modern day LLMs.
asdfasgasdgasdg•1h ago
I don't find this observation of Djikstra's to be one of his best. If there is a gadget that does a thing that no other gadget does, what does it even mean for the interface to be "terrible?" How can you even know if the interface is terrible, given that a better one has yet to be invented? Maybe the interface is as good as it can be for the tool in question.

I also don't love your mapping of this observation onto modern LLMs. The interface of an LLM is natural language text, along with some files written in plain text or markdown. Can it be improved? Undoubtedly! But as a baseline, it doesn't seem half bad to me. If it is so terrible, it should not be hard to propose an interface that will be significantly more productive. Can you?

empath75•16m ago
> If there is a gadget that does a thing that no other gadget does, what does it even mean for the interface to be "terrible?" How can you even know if the interface is terrible, given that a better one has yet to be invented? Maybe the interface is as good as it can be for the tool in question.

That's just a taste judgement, and you can decide the interface sucks on a one of a kind item quite easily, and people often do.

Hendrikto•1h ago
Ironically, I think the examples given in the post validate Dijkstra’s points, instead of disproving them, as the author intended.
bear8642•1h ago
How so?

I'm struggling to see how Roger's manipulation of the expressions without executing each line validates Dijkstra's point...

empath75•30m ago
"This is easy to understand, see:"

5 lines of completely inscrutable symbols follow.

If you are expecting someone to learn a completely new notational language before you can communicate a basic algorithm, you have gone wrong somewhere.

You could also similarly write down merge sort in pure lambda calculus, which is interesting as an exercise, but not especially useful as working code, or as a way to explain how merge sort works.

Almondsetat•1h ago
One can appreaciate striving for simplicity (a programming language that can be taught and explained with pen and paper), but one must also consider that computers are meta-devices.

Before computers, we could write things only on paper, either with our hands or a typewriter. So, naturally, when computers came about, the way of thinking about programming was very text-driven, with an emphasis on what a typewriter could represent.

But then, code could be written directly with computers, opening up more typesetting possibilities thanks to keyboards not being bound anymore by the mechanical limitations of typewriters. You could add keys and combinations to your heart's desire, and they would be natively digital and unlimited.

Now, with graphics, both 2D and 3D, and a myriad or other HIDs, shouldn't we try to make another cognitive jump?

VorpalWay•1h ago
We do have syntax highlighting these days. And our editors work like hypertext, where I can go to definitions, find usages, get inheritance hierarchies etc. Quite a ways from your suggestion, but also a few steps removed from a type writer.

I think any such leap would have to be a really big one to catch on though, due to inertia. Colorforth is not exactly popular, and I can't think of any other examples.

jmalicki•47m ago
With LLMs you can write your code by hand drawing a diagram on a touch screen.
ModernMech•28m ago
This has been possible since Sketchpad in 1963.
segmondy•1h ago
We already did, it's natural language. Talk to your computer and get code, aka vibe coding.
Almondsetat•14m ago
So humans just have a mouth and that's it? Language is the be-all-end-all of how humans can interact with the world and express themselves?
mlochbaum•1h ago
It's very strange to see handwriting lumped in with typewriting, to be described as limited relative to screens! Iverson notation was a 2D format (both in handwriting and typeset publications) making use of superscripts, subscripts, and vertical stacking like mathematics. It was linearized to allow for computer execution, but the designers described this as making the language more general rather than less:

> The practical objective of linearizing the typography also led to increased uniformity and generality. It led to the present bracketed form of indexing, which removes the rank limitation on arrays imposed by use of superscripts and subscripts.

(https://www.jsoftware.com/papers/APLDesign.htm)

I think this is more true than they realized at that time. The paper describes the outer product, which in Iverson notation was written as a function with a superscript ∘ and in APL became ∘. followed by the function. In both cases only primitive functions were allowed, that is, single glyphs. However, APL's notation easily extends to any function used in an outer product, no matter how long. But Iverson notation would have you write it in the lower half of the line, which would quickly start to look bad.

le-mark•47m ago
All those things can be specified in text. Fortress was a language that had the facility to use mathematical notation. Turned out to be not so compelling iirc.

https://en.wikipedia.org/wiki/Fortress_(programming_language...

shrubble•44m ago
I wonder if EWD would have had the same opinion if he were alive today, with every Unicode font having the APL characters immediately available on the screen.

Did he feel the language design was bad, or would having TTF fonts being able to show "rho", "iota", "grade up" have removed one or more of his objections?

mlajtos•1m ago
Oh, he would definitely hate it even more. It was too high-level for his taste.

What I would like to know is how he would bend Algol 60 if he had tablet with pencil that could evaluate it in real-time.

adregan•21m ago
APL is the only language I've ever dreamt about writing (as in: I could see the characters); I'd dreamt about programming in the past, but those dreams were usually what I would categorized as a nightmare—desperately trying to fix a bug that I couldn't figure out.

Due to my affinity for the language, and my wish to have worked in its heyday (would love to have an APL gig someday), I have been exposed to various writings and recordings of Ken Iverson. I've also been exposed to a few of Dijkstra's thoughts on APL.

I have to say that Iverson generally comes across as a very generous and curious individual while Dijkstra seems to have been a miserable ass. Maybe, given the lens, I've not given Dijkstra a proper chance to demonstrate a more positive attitude, so I'm open to any suggestions of writings where he doesn't seem like such a grump.

mlajtos•7m ago
> Maybe, given the lens, I've not given Dijkstra a proper chance to demonstrate a more positive attitude, so I'm open to any suggestions of writings where he doesn't seem like such a grump.

Kinda hard to find where Dijkstra praised something (except Algol 60).

One funny example: he called FORTRAN "an infantile disorder", though he said this about the team behind it: "At that time this was a project of great temerity and the people responsible for it deserve our great admiration.".

On LISP: "LISP has jokingly been described as 'the most intelligent way to misuse a computer'. I think that description is a great compliment because it transmits the full flavor of liberation: it has assisted a number of our most gifted fellow humans in thinking previously impossible thoughts."

Alan Kay on Dijkstra: "Arrogance in computer science is measured in nano-dijkstras."

mlajtos•17m ago
Dijkstra's go-to language (pun intended) was Algol 60 (& Pascal) – everything else was shit in his view. Some of his comments:

FORTRAN — "an infantile disorder"

COBOL — "the use of COBOL cripples the mind"

BASIC — students exposed to it are "mentally mutilated beyond hope of regeneration"

PL/I — "the fatal disease"

APL — "a mistake, carried through to perfection"

He liked his languages and programs to be easily traceable with pen & paper. He always wrote programs on the paper (and proved correctness) and only then into computer. REPL-driven development (what APL pioneered) was a foreign concept to him. He would be so appalled by LLM code generation.

GhostBox – disposable little machines from the Global Free Tier.

https://www.ghost.charity/
73•keepamovin•58m ago•34 comments

whohas – Command-line utility for cross-distro, cross-repository package search

https://github.com/whohas/whohas
15•peter_d_sherman•49m ago•2 comments

Ask HN: Who is hiring? (May 2026)

27•whoishiring•50m ago•37 comments

Your Website Is Not for You

https://websmith.studio/blog/your-website-is-not-for-you/
181•pumbaa•4h ago•117 comments

Running Adobe's 1991 PostScript Interpreter in the Browser

https://www.pagetable.com/?p=1854
66•ingve•3h ago•15 comments

I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA

19•proberts•43m ago•16 comments

Ask HN: Who wants to be hired? (May 2026)

13•whoishiring•50m ago•39 comments

Sally McKee, who coined the term "the memory wall", has died

https://www.online-tribute.com/SallyMcKee
15•deater•1h ago•4 comments

Apple accidentally left Claude.md files Apple Support app

https://x.com/aaronp613/status/2049986504617820551
278•andruby•4h ago•198 comments

New copy of earliest poem in English, written 1,3k years ago, discovered in Rome

https://www.tcd.ie/news_events/articles/2026/caedmons-hymn-discovery/
148•giuliomagnifico•2d ago•91 comments

Advanced Quantization Algorithm for LLMs

https://github.com/intel/auto-round
52•lastdong•6h ago•8 comments

Show HN: Perfect Bluetooth MIDI for Windows

76•mayerwin•5h ago•19 comments

An open letter asking NHS England to keep its code open

https://keepthingsopen.com
22•tvararu•34m ago•1 comments

Grok 4.3

https://docs.x.ai/developers/models/grok-4.3
251•simianwords•7h ago•356 comments

OpenWarp

https://openwarp.zerx.dev
153•zero-lab•13h ago•113 comments

Shai-Hulud Themed Malware Found in the PyTorch Lightning AI Training Library

https://semgrep.dev/blog/2026/malicious-dependency-in-pytorch-lightning-used-for-ai-training/
434•j12y•23h ago•161 comments

Show HN: Loopsy, a way for terminals and AI agents on different machines to talk

https://github.com/leox255/loopsy
7•todience•5h ago•0 comments

Show HN: WhatCable, a tiny menu bar app for inspecting USB-C cables

https://github.com/darrylmorley/whatcable
266•sleepingNomad•7h ago•99 comments

If I could make my own GitHub

https://matduggan.com/if-i-could-make-my-own-github/
86•matricaria•1d ago•107 comments

Opus 4.7 knows the real Kelsey

https://www.theargumentmag.com/p/i-can-never-talk-to-an-ai-anonymously
408•ilamont•1d ago•226 comments

Maladaptive Frugality

https://herbertlui.net/maladaptive-frugality/
161•herbertl•2d ago•157 comments

Softmax, can you derive the Jacobian? And should you care?

https://idlemachines.co.uk/essays/softmax
86•smaddrellmander•3d ago•24 comments

Our agent found a bug with WireGuard in Google Kubernetes Engine

https://lovable.dev/blog/hunting-networking-bugs-in-kubernetes
51•vikeri•7h ago•26 comments

How an oil refinery works

https://www.construction-physics.com/p/how-an-oil-refinery-works
488•chmaynard•1d ago•165 comments

Claude Code refuses requests or charges extra if your commits mention "OpenClaw"

https://twitter.com/theo/status/2049645973350363168
1249•elmean•1d ago•685 comments

I built a Game Boy emulator in F#

https://nickkossolapov.github.io/fame-boy/building-a-game-boy-emulator-in-fsharp/
314•elvis70•22h ago•72 comments

A Letter from Dijkstra on APL

https://www.jsoftware.com/papers/Dijkstra_Letter.htm
22•tosh•4h ago•19 comments

CPanel and WHM Authentication Bypass – CVE-2026-41940

https://labs.watchtowr.com/the-internet-is-falling-down-falling-down-falling-down-cpanel-whm-auth...
134•zikani_03•17h ago•50 comments

Can I disable all data collection from my vehicle?

https://rivian.com/support/article/can-i-disable-all-data-collection-from-my-vehicle
681•Cider9986•19h ago•290 comments

Roboticist-Turned-Teacher Built a Life-Size Replica of Eniac

https://spectrum.ieee.org/roboticist-turned-teacher-eniac-replica
50•oldnetguy•2d ago•10 comments