Advertise here with Carbon Ads

This site is made possible by member support. 💞

Big thanks to Arcustech for hosting the site and offering amazing tech support.

When you buy through links on kottke.org, I may earn an affiliate commission. Thanks for supporting the site!

kottke.org. home of fine hypertext products since 1998.

Beloved by 86.47% of the web.

🍔  💀  📸  😭  🕳️  🤠  🎬  🥔

kottke.org posts about video

How NASA Writes Space-Proof Code

When you write some code and put it on a spacecraft headed into the far reaches of space, you need to it work, no matter what. Mistakes can mean loss of mission or even loss of life. In 2006, Gerard Holzmann of the NASA/JPL Laboratory for Reliable Software wrote a paper called The Power of 10: Rules for Developing Safety-Critical Code. The rules focus on testability, readability, and predictability:

  1. Avoid complex flow constructs, such as goto and recursion.
  2. All loops must have fixed bounds. This prevents runaway code.
  3. Avoid heap memory allocation.
  4. Restrict functions to a single printed page.
  5. Use a minimum of two runtime assertions per function.
  6. Restrict the scope of data to the smallest possible.
  7. Check the return value of all non-void functions, or cast to void to indicate the return value is useless.
  8. Use the preprocessor sparingly.
  9. Limit pointer use to a single dereference, and do not use function pointers.
  10. Compile with all possible warnings active; all warnings should then be addressed before release of the software.

All this might seem a little inside baseball if you’re not a software developer (I caught only about 75% of it — the video embedded above helped a lot), but the goal of the Power of 10 rules is to ensure that developers are working in such a way that their code does the same thing every time, can be tested completely, and is therefore more reliable.

Even here on Earth, perhaps more of our software should work this way. In 2011, NASA applied these rules in their analysis of unintended acceleration of Toyota vehicles and found 243 violations of 9 out of the 10 rules. Are the self-driving features found in today’s cars written with these rules in mind or can recursive, untestable code run off into infinities while it’s piloting people down the freeway at 70mph?

And what about AI? Anil Dash recently argued that today’s AI is unreasonable:

Amongst engineers, coders, technical architects, and product designers, one of the most important traits that a system can have is that one can reason about that system in a consistent and predictable way. Even “garbage in, garbage out” is an articulation of this principle — a system should be predictable enough in its operation that we can then rely on it when building other systems upon it.

This core concept of a system being reason-able is pervasive in the intellectual architecture of true technologies. Postel’s Law (“Be liberal in what you accept, and conservative in what you send.”) depends on reasonable-ness. The famous IETF keywords list, which offers a specific technical definition for terms like “MUST”, “MUST NOT”, “SHOULD”, and “SHOULD NOT”, assumes that a system will behave in a reasonable and predictable way, and the entire internet runs on specifications that sit on top of that assumption.

The very act of debugging assumes that a system is meant to work in a particular way, with repeatable outputs, and that deviations from those expectations are the manifestation of that bug, which is why being able to reproduce a bug is the very first step to debugging.

Into that world, let’s introduce bullshit. Today’s highly-hyped generative AI systems (most famously OpenAI) are designed to generate bullshit by design.

I bet NASA will be very slow and careful in deciding to run AI systems on spacecraft — after all, they know how 2001: A Space Odyssey ends just as well as the rest of us do.

Fave · 0

How Wes Anderson Uses Miniatures to Create His Distinctive Worlds

Vox talks to prop & model maker Simon Weisse, who made miniatures for Wes Anderson’s Asteroid City, about the perhaps surprising popularity of miniatures in contemporary filmmaking, when the technique works and when it doesn’t (e.g. when unscalable elements like rain or fire/explosions are involved), and why certain directors use it instead of CGI.

Miniatures in movies are way more common than you may realize, and one of the most stylish filmmakers keeping them alive is Wes Anderson. In this video we spoke to Simon Weisse, prop maker and model marker for some of Wes Anderson’s recent projects, like The Grand Budapest Hotel, The French Dispatch, and Asteroid City.

Older movies, like 1977’s Star Wars: Episode IV — A New Hope, had no choice but to use miniatures to make their worlds feel real. But even in the modern day of CGI, filmmakers are still using minis — just look at projects like The Mandalorian, Blade Runner 2049, Harry Potter, and The Dark Knight series. In those movies, miniatures are used for expansive sets that establish the world of a film, otherworldly vehicles like spaceships, and more.

It’s perfect for Anderson’s storybook aesthetic, of course…it looks great in Asteroid City (which I really enjoyed overall).

Fave · 0

Lego Stop-Motion Recreation of Iconic Scenes From The Shining

The creepy twins. Jack feverish at the typewriter. Danny riding his Big Wheel through carpeted hallways. The elevators of blood. These familiar scenes from Stanley Kubrick’s horror classic The Shining (and several more) have been recreated in this Lego stop-motion animation. The video took 50-60 hours over a three-week period to make and was an exercise in constraints:

“Mostly, it came down to choosing the right pieces,” he says. “I made this movie only with pieces I already had in my collection, so I had to do with just what I had laying around. For instance, the famous carpet pattern in the hallway could have been more realistic, but with the pieces I had, it became a little more abstract. I went with clay for the bloody elevator scene also because I do not have thousands of red translucent pieces.”

(via boing boing)

Fave · 0

The Trailer for 3 Body Problem

I loved Liu Cixin’s The Three-Body Problem trilogy (read it twice!) and was excited/apprehensive when Netflix announced they’d partnered with Game of Thrones showrunners D.B. Weiss and David Benioff to adapt the books into a TV series. Well, the first trailer is here and has tipped my scales more towards excited. Really looking forward to when this premieres in January March 2024 — if they get it right, this could be something really special.

Fave · 0

The Reason Why Cancer Is So Hard to Beat

Using the metaphor of a cancerous tumor as an unruly village, Kurzgesagt explains how cancer develops in the human body, how the body fights against it, and how, sometimes, the cancer develops into something unmanageable.

In a sense this tiny tumor is like a rogue town. Imagine a group of rebels in Brooklyn decided that they were no longer part of New York but started a new settlement called Tumor Town, which happens to occupy the same space. The new city wants to grow, so it orders tons of steel beams, cement and drywall. New buildings follow no logic, are badly planned, ugly and dangerously crooked. They are built right in the middle of streets, on top of playgrounds and on existing infrastructure. The old neighborhood is torn down or overbuilt to make room for new stuff. Many of the former residents are trapped in the middle of it and begin to starve. This goes on for a while until the smell of death finally attracts attention. Building inspectors and police show up.

Fave · 0

Why Pop Radio Stations All Sound the Same

On his YouTube channel this week, Phil Edwards explores the question of why all pop music radio stations in the US sound the same. The short answer is consolidation caused by deregulation but the longer answer is worth watching. And if you want more information, Edwards’ list of sources in the video description is pretty extensive.

Fave · 0

Meet Mr. Doodle

For some reason, a chap calling himself Mr. Doodle has covered his entire house, like every single inch, with black and white illustrations. As a top commenter says on YouTube, “I would 100% go insane after my 2nd day living in that house but the props I give this man for his work are absolutely immense”. (via boing boing)

Fave · 0

How Rebar Is Produced in a Japanese Factory

The immense scale of the factory and the intense temperatures involved (along with a musical soundtrack that sounds like Interstellar by way of Philip Glass) makes this video about how rebar is made compelling viewing. There are several scenes from this video that would not be out of place in this collection of Real-Life Infrastructure That Looks Like Sci-Fi. And there’s a color gradient moment near the end that’s really lovely. (thx, alex)

Fave · 0

The Supreme Court Just Made This Gerrymandered Map Illegal

This short video from Vox takes a look at the recent Supreme Court decision that struck down a gerrymandered congressional map in Alabama.

In 2013, a divided Supreme Court gutted one of the major pillars of the 1965 Voting Rights Act. In the 10 years since then, the court has moved even farther to the right. So when the Voting Rights Act came before the Supreme Court again in 2022, it didn’t look good for the law. But then something completely unexpected happened: in a 5-4 decision, two of the conservative justices voted with the 3 liberal justices to preserve the Voting Rights Act. And the effects could be huge.

At stake in the case was the way that Alabama divides up its Congressional districts. Alabama has seven districts, one of which is what’s called a “majority-minority district” in which Black Americans are the majority of the population. In 2022, a group of Black voters sued the state, saying that under the law, Alabama should actually have two majority-minority districts. And the Supreme Court agreed.

The decision could affect recently redrawn district maps in other states, which could in turn affect the balance of power in the House of Representatives. You can read more about these gerrymandering cases at the Brennan Center for Justice: Allen v. Milligan: Gerrymandering at the Supreme Court (Formerly Merrill v. Milligan) and Redistricting Litigation Roundup.

Fave · 0

The New Rubik’s Cube World Record Is Just 3.13 Seconds

In roughly the time it took you to read this sentence, Max Park solved a Rubik’s Cube. With his time of 3.13 seconds, Park bested Yusheng Du’s 2018 mark of 3.47 seconds. Just watch the video above…it’s ridiculous. I love how the judge comes in to preserve the scene as everyone goes bananas.

Park was one of the subjects of the excellent documentary, The Speed Cubers (trailer).

Fave · 0

Logo Factory

Jigar Patel uses 3D modelling software to imagine factory production lines that “build” logos and app icons for brands like Instagram, Netflix, Apple, Spotify, Amazon, and many others. He’s also posted a bunch of behind-the-scenes videos about how he does it — love it when artists show their work.

You can also follow Patel’s work on Instagram and TikTok.(thx, michael)

Fave · 0

The Absurd Logistics of Concert Tours

I was totally fascinated by this look at the absurd logistics of concert tours and now have a newfound appreciation for all the people involved who collaborate to make the magic happen (and perhaps also a little bit more forgiving about the high price of tickets (but Ticketmaster can still go to hell)).

Now, to an outsider, the load out process might look chaotic, and the pace of the tour may seem unsustainable or unmanageable. But though grueling and exhaustingly complicated, these massive, nation-wide tours function remarkably smoothly considering the variety of variables.

(via open culture)

Fave · 0

The Spider-Verse Lego Scene Was Created By a 14-Year-Old Animator

After 14-year-old Preston Mutanga’s Lego version of the trailer for Spider-Man: Across The Spider-Verse (embedded above) went viral, the team hired him to animate a short Lego sequence for the actual film.

In the brief scene, we see a Lego version of Peter Parker as he observes a dimensional anomaly and sneaks off to the Daily Bugle’s bathroom to alert another Spider-Man about the issue. While the scene is short, it killed in my theater and it also looked as good as anything in the recent Lego films. After seeing it, a few friends of mine even commented that it must have been the same team that animated it. But nope! It was a lone teenager, actually.

You can check out more of Mutanga’s work on his YouTube channel.

Fave · 0

Before She Was Famous: Demo Tape of Madonna Performing With Her Post-Punk Band

In 1979, just a few short years before she hit it big as a pop artist, Madonna was in a post-punk rock band called The Breakfast Club — she sang and played the drums. In the video above, the band rips through four demo songs in just over 8 minutes. From Dangerous Minds, some context:

Hardcore fans will also know Madonna has been known to perform versions of these songs (and other early material) live. Here’s the thing — much like the early days of the Go-Go’s, Madonna is definitely flexing her affinity for punk rock while mixing it with her own brand of spirited pop which the entire world would soon embrace and others would emulate. Now, if you’ve never heard this version of Madonna, and dig your punk with a side of pop, you are going to love these raw jams. It’s also quite compelling to hear them, knowing what was to come from Madonna in a few short years.

(via open culture)

Fave · 0

Swimming Pool Stories

Icelandic filmmaker Jón Karl Helgason has made a film called Sundlaugasögur (Swimming Pool Stories) about the central role of the swimming pool in Icelandic life. The trailer is above. From Fatherly:

The swimming pool is first and foremost a communal space. “The swimming pool is your second home,” Helgason says. “You are brought up in the swimming pool.” There may be only 160, or so, swimming pools in the entire country (which is roughly 305 miles wide by 105 miles long), but every one of them is the essential social hub of a community, large or small.

The swimming pool is a public utility — as critical as the grocery store or the bank. “The British go to the pub, the French go to the cafes — in our culture, you meet in the swimming pool,” says Helgason. Swimmers come from all walks of life, from farmers to artists to clergymen to celebrities. “You can have 10, 15, 20, 30 people [in the pool] — they’re talking about politics and about their lives.”

Fave · 0