frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Lisping at JPL (2002)

https://flownet.com/gat/jpl-lisp.html
73•adityaathalye•3d ago

Comments

adityaathalye•3d ago
Tells one of my all-time favourite stories.

> 1994-1999 - Remote Agent

> Debugging a program running on a $100M piece of hardware that is 100 million miles away is an interesting experience. Having a read-eval-print loop running on the spacecraft proved invaluable in finding and fixing the problem. The story of the Remote Agent bug is an interesting one in and of itself.

tonyarkles•2h ago
Not quite the same scale but one of my personal favourite stories involved hardware buried under a highway. The Ethernet stopped working, but the PoE was still ok. We had the foresight to install a serial line to the console on the equipment too. This meant that I could power cycle the hardware at will (through the managed PoE switch) and talk to the boot loader (U-boot) over serial. While not exactly a REPL in the conventional sense, it had enough functionality to be able to talk directly to the MAC and PHY to determine what was going on.

Sadly we couldn’t convince it to work, even at 10 Mbit. My suspicion is salt water ingress into the vault. What we did manage to do, though… There were just enough tools installed on it that I could cross-compile zmodem at home, convert it to a hex file, upload the hex file by essentially just running cat > on the target, convert it back into a binary using… Perl I think? Or xxd? And then doing the daily data offload over zmodem every night instead of over TCP as was originally planned. It was a crazy weekend…

anthk•22m ago
Uboot compared to Forth it's very odd to use.
potholereseller•1h ago
Unfortunately, the relevant link in the TFA is dead, but IA has it: <https://web.archive.org/web/20111019054900/http://ti.arc.nas...>.

Here's some interesting quotes:

> during a task’s release of a lock, but before its actual release, the task may get interrupted by the daemon if the property gets broken. This means that the task terminates without releasing the lock. The error is particularly nasty in the sense that all code, except the lock releasing itself, had been protected against this situation: in case of an interrupt the lock releasing would be executed.

> The modeling effort, i.e. obtaining a PROMELA model from the LISP program, took about 12 man weeks during 6 calendar weeks, while the verification effort took about one week. ... The translation phase was non-trivial and time consuming due to the relative expressive power of LISP when compared with PROMELA.

> Java PathFinder (JPF) is a translator from a non-trivial subset of Java to PROMELA.

> The translator is written in 6000 lines of LISP, and was developed over a period of 8 months. JPF has been applied to a number of case studies, amongst them a 1500 line game server, a NASA file transfer protocol for satellites, and a NASA data transmission protocol for the space shuttle ground control.

anthk•3d ago
Forth would be a good choice too. No GC, use 'forget'.
adityaathalye•2d ago
Forth, in fact, is. https://www.forth.com/resources/space-applications/
ssrc•34m ago
'Was' is more likely. The list is from 2003, and if FORTH Inc, the (only? biggest?) remaining forth company hasn't updated it...
anthk•27m ago
Forth is used in firmware and tons of places. There's ANS Forth and no need to 'update' anything, as there are tons of implementations.

As with Lisp, you can bootstrap themselves with very few primitives.

anthk•2d ago
Also, as a very tiny and minimal Lisp:

http://t3x.org/zsp/index.html

Easier than SICP for Scheme and Intro to Symbolic Computation for Common Lisp.

jmclnx•2h ago
> The demise of Lisp at JPL is a tragedy. The language is particularly well suited for the kind of software development that is often done here

That is a shame, but this can be said about many languages of time past. Do schools even teach lisp these days ?

IMO, another casualty of our WEB only environment :(

Lyngbakr•1h ago

    > Do schools even teach lisp these days ?
IIRC, grads that I interviewed from the University of Waterloo tended to have experience in Racket.
adamgordonbell•1h ago
Version with some pictures here:

https://corecursive.com/lisp-in-space-with-ron-garret/

It's an interview I did with Ron Garrett about the history of Lisp at the JPL.

anthk•50m ago
Very tiny Lisp, Forths and some Pascal like at http://t3x.org

One of them whole numbers as lists. I saw no floats, but there are fractional numbers.

    (- '#2 '#3)
    => '#-1

If you want to know what is truly Lisp about:

Easy mode:

http://t3x.org/zsp/index.html

You are Alonzo Church reincarnated:

http://t3x.org/clc/code.html

hatmatrix•35m ago
> At the time it was more or less taken for granted that AI work was done in Lisp. C++ barely existed. Perl was brand new. Java was years away. Spacecraft were mostly programmed in assembler, or, if you were really being radical, Ada.

Given the choices, Lisp made a lot of sense when they started. After 2001-2004, there were other options - not to say they were necessarily better, but a mainstream language that enables a large number of people working together (interchangeably) has its value. Lisp is indeed "one-of-a-kind, highly dynamic applications that must be developed on extremely tight budgets and schedules" - but has a reputation for fostering lone geniuses and bad for large teams working together and maintaining legacy codebases.

(I write this as a big fan of Lisp.)

anthk•24m ago
>enginner >can't do anything with 128MB. In 2002.

In my country an Engineer with a Bachelor would implement a Forth in KB's in days by just reading the specs or books related to building one.

A Microlisp maybe in weeks.

lisper•10m ago
Author here. This pops up on HN regularly, which I'm happy to see, but it's pretty dated at this point. Here is a more recent update:

https://blog.rongarret.info/2023/01/lisping-at-jpl-revisited...

And, as always, AMA.

Plwm – An X11 window manager written in Prolog

https://github.com/Seeker04/plwm
92•jedeusus•3h ago•14 comments

Lottie is an open format for animated vector graphics

https://lottie.github.io/
207•marcodiego•6h ago•84 comments

Path to a free self-taught education in Computer Science

https://github.com/ossu/computer-science
104•saikatsg•4h ago•54 comments

Writing your own CUPS printer driver in 100 lines of Python (2018)

https://behind.pretix.eu/2018/01/20/cups-driver/
109•todsacerdoti•5h ago•9 comments

Ask HN: What are you working on? (May 2025)

32•david927•1h ago•92 comments

Lisping at JPL (2002)

https://flownet.com/gat/jpl-lisp.html
73•adityaathalye•3d ago•16 comments

Claude 4 System Card

https://simonwillison.net/2025/May/25/claude-4-system-card/
495•pvg•15h ago•194 comments

Writing a Self-Mutating x86_64 C Program (2013)

https://ephemeral.cx/2013/12/writing-a-self-mutating-x86_64-c-program/
54•kepler471•4h ago•16 comments

Show HN: Zli – A Batteries-Included CLI Framework for Zig

https://github.com/xcaeser/zli
41•caeser•4h ago•11 comments

Design Pressure: The Invisible Hand That Shapes Your Code

https://hynek.me/talks/design-pressure/
110•NeutralForest•7h ago•29 comments

Show HN: DaedalOS – Desktop Environment in the Browser

https://github.com/DustinBrett/daedalOS
79•DustinBrett•5h ago•15 comments

Koog, a Kotlin-based framework to build and run Al agents in idiomatic Kotlin

https://github.com/JetBrains/koog
14•prof18•3d ago•0 comments

Denmark to raise retirement age to 70

https://www.telegraph.co.uk/world-news/2025/05/23/denmark-raise-retirement-age-70/
179•wslh•4h ago•424 comments

CAPTCHAs are over (in ticketing)

https://behind.pretix.eu/2025/05/23/captchas-are-over/
75•pabs3•20h ago•73 comments

Martin (YC S23) Is Hiring Founding AI/Product Engineers to Build a Better Siri

https://www.ycombinator.com/companies/martin/jobs
1•darweenist•4h ago

Wrench Attacks: Physical attacks targeting cryptocurrency users (2024) [pdf]

https://drops.dagstuhl.de/storage/00lipics/lipics-vol316-aft2024/LIPIcs.AFT.2024.24/LIPIcs.AFT.2024.24.pdf
79•pulisse•9h ago•55 comments

'Strange metals' point to a whole new way to understand electricity

https://www.science.org/content/article/strange-metals-point-whole-new-way-understand-electricity
81•pseudolus•7h ago•25 comments

Show HN: SVG Animation Software

https://expressive.app/expressive-animator/
151•msarca•10h ago•66 comments

Is TfL losing the battle against heat on the Victoria line?

https://www.swlondoner.co.uk/news/16052025-is-tfl-losing-the-battle-against-heat-on-the-victoria-line
54•zeristor•12h ago•79 comments

Tariffs in American History

https://imprimis.hillsdale.edu/tariffs-in-american-history/
55•smitty1e•1d ago•86 comments

Can a corporation be pardoned?

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5202339
36•megamike•4h ago•56 comments

What happens after you run Git push?

https://www.blacksmith.sh/blog/security
5•tsaifu•2d ago•0 comments

On File Formats

https://solhsa.com/oldernews2025.html#ON-FILE-FORMATS
100•ibobev•4d ago•63 comments

Dependency injection frameworks add confusion

http://rednafi.com/go/di_frameworks_bleh/
80•ingve•13h ago•87 comments

Reinvent the Wheel

https://endler.dev/2025/reinvent-the-wheel/
549•zdw•1d ago•209 comments

Programming on 34 Keys (2022)

https://oppi.li/posts/programming_on_34_keys/
49•todsacerdoti•8h ago•67 comments

Now you can watch the Internet Archive preserve documents in real time

https://www.theverge.com/news/672682/internet-archive-microfiche-lo-fi-beats-channel
95•LorenDB•2d ago•9 comments

Show HN: AI Baby Monitor – local Video-LLM that beeps when safety rules break

https://github.com/zeenolife/ai-baby-monitor
63•zeenolife•4d ago•45 comments

The Newark airport crisis

https://www.theverge.com/planes/673462/newark-airport-delay-air-traffic-control-tracon-radar
87•01-_-•4h ago•65 comments

Show HN: Wall Go – browser remake of a Devil's Plan 2 mini-game

https://schaoss.github.io/wall-go/
20•sychu•6h ago•7 comments