549 points · by nixcraft · 3y ago · 408 comments
I was a bit disappointed that most of the questions ignored his talk about a very cool jukebox he built and focused on OS drama.
He built a jukebox with all hit songs he could find in it 1900-2000 and for prerecorded music, got a player piano and sheet music and midi and integrated the whole thing. Touch screens, voice activation and so on. Hardware and software and data hoarding project.
He said he has massive cabinets of CDs, all the music he ripped and tested audio encoders with his own ears.
Ken is 80, and still building cool side projects and scratching his own itch! That's the story.
Be like Ken by building something cool, not by using whatever OS.
His slides were incredibly minimal throughout and then, at the end, he played a video of maple leaf rag pouring forth from his player piano midi setup and it was like choirs of angels singing.
How many boring ass talks have I sat through that I’ll never remember — but I suspect I’ll remember his talk for a long long time.
(By 'good' I mean accurate, neutral, and representative of the talk as a whole.)
((The submitted URL was https://www.youtube.com/watch?v=kaandEt_pKw&t=3473s, but our software swapped in the canonical URL, which has no timestamp.))
Edit: I've put a placeholder up there for the time being until we get a better suggestion. Submitted title was "Unix legend Ken Thompson announces he's switching From macOS To Raspbian Linux". I agree with the parent that this is trivializing (also cherrypicking and editorializing) and we should focus on the substance of the talk.
> I have for most of my life, because I was sort of born into it, run Apple.
Assuming that's actually still Ken Thompson talking, that makes absolutely no sense. He's several years older than Woz, never mind Apple itself. He was already well into developing Unix on DEC minicomputers when the Apple I came out in 1976. Then, all through the 80s and 90s, I'm sure he used whatever non-Apple computers they used at Bell Labs. I think I read somewhere that by the 90s they were using x86 PCs. Anyway, you get the idea. So I wonder if he was totally messing with us in that answer.
Although we didn't write code to do it on purpose, I think removing timestamps from videos (and similar things, like removing HTML anchors) generally does more good than harm, because people tend to use those to cherry-pick some detail they think is important rather than letting the reader make up their own about the whole submission. Generally we try to discourage that (see e.g. https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que..., which is about titles but makes more or less the same point).
If anything, there should be a separate submission with the new title.
You're right that titles dominate discussion though. That's one of the most reliable phenomena on HN, for better or worse.
it was cool to hear that he's still working on chess endgames, an interest which goes back many decades too [1].
I have to say I was disappointed by the question at 59:23. They seemed to expect a retrospective on Ken’s career or some grand philosophical statement on software or open source. To be honest, I was pretty surprised by the direction of the talk myself, but I ultimately enjoyed it.
You see, Ken decided to talk about his 75 year project: his music collection. He talked about audio formats, collecting music from different groups, sourcing metadata, building hardware to play music and more. He was deeply interested in the topic and honestly probably a bit obsessive for multiple decades. This was very humanizing. And to be completely honest he reminded me a lot of my girlfriend’s father who we think is undiagnosed autistic.
Ultimately, I think the reason why Ken was so prolific over such a long time is his ability to be deeply interested in problems. He was not too fussy about tools. He didn’t push Go or Linux or UNIX. He wasn’t self aggrandizing. He just wanted to tell people about his project that he’s been working on. Honestly, I thought it was a great lesson that might have gone over a lot of people’s heads.
---
This comment was copied from lobste.rs. https://lobste.rs/s/htwiag/ken_thompson_reveals_his_surprisi...
I met Ken the day before and he told me he was nervous about his talk. I hope he knows that most of us in the audience really loved what he shared.
Well ok, I guess he can do whatever he wants. There's expectations from the context though.
That speech was the first time I understood how people can become too famous for their own good.
I saw him the day before (and I've got the photos to prove it) and he made a bunch of factual mistakes. Nobody cared enough to push back. I only did a little when he claimed raspberry pi prices have been stable and plentiful throughout the pandemic. But even I quickly gave up and I'm usually an asshole about things being right. (2019: 1gb pi4 was $35.00 and now it's $132.95 for the record. Buying 1000 cheap computers to sit on them 4 years and then just resell would have made you about $100,000)
He can basically say whatever and do whatever and people just politely murmur in approval because he's computer royalty. There's no real feedback loop or anything to keep him in check.
It'd be like if Beyonce held a concert and then instead of singing, talked about composting and gardening. I mean sure, whatever.
High status gives people a pass
I met him Saturday too and I was struck by how lovely and down to earth he seemed.
Who cares if he isn’t intimately familiar with RPi4 prices and availability? The cyclical and location-based nature in how these things work makes it impossible for anyone not absurdly obsessed to keep track. (I bought 8GB units in 2020, 2021, and 2022 at list price. If I wasn’t trying to get some CM4 units, I wouldn’t even be aware there is an ongoing shortage and I consider myself to be incredibly plugged in)
I found his talk about his home stereo to be far more interesting than a talk about the inner-workings of UNIX that’s he’s undoubtedly given a thousand times before. To each their own.
Hmmm. I meant for that to be snarky, but it is a better headline.
(i have no beef with CDs, it's just a headline)
the computational requirements to store and play music are so minimal now, I'd rather just take care of it myself
(i love DSP, calm down, but i also like lossless English)
Computer: You're also collecting music?
Thompson: It's kind of a personal/research hobby/project. Let me explain it from an external point of view. Basically, I'm just collecting music. I'm getting lists from various sources—top 10s, top 50s—and I try to collect the music.
Right now, my list has around 35,000 songs, of which I've collected around 20,000. I compress the songs with a Bell Labs-invented algorithm called PAC [Perceptual Audio Coding] and store them on a jukebox storage system. I started this before MP3 was heard of on the network. PAC is vastly superior to MP3.
My collection is not generally available because of the legal aspects. I went to legal and told them I was collecting a lot of music, but I don't think they realized what I meant by "a lot." Anyway, they said that in the case of research there's something similar to fair use and that they'd back me, but wouldn't go to jail for me. So I can't release it generally. But it's pretty impressive. It's split-screen like a Web browser; you can walk down lists, years, or weeks.
Computer: It's a personal hobby.
Thompson: It's hard to differentiate since, if you haven't noticed, almost everything I've done is personal interest. Almost everything I've done has been supported and I'm allowed to do it, but it's always been on the edge of what's acceptable for computer science at the time. Even Unix was right on the edge of what was acceptable at Bell Labs at the time. That's almost been my history.
Source: http://genius.cat-v.org/ken-thompson/interviews/unix-and-bey...
(with no random dude on github deciding to add microsoft directly into apt's trusted keys/repository list)
I'm not happy about "Apple Silicon", it does feel restrictive and often times the only way to get around it is to use licensed VMs, which feels like a bit of a rip off. At the same time, my laptop runs phenomenally well, does everything I need it to do, and it never dies or gets overheated under normal use. I can't really complain.
This is definitely a distro for people who want to get involved in the sysadmin part of it. A distro like Fedora will have a new release every 6 months and each release and ~390 days of support. You aren't expect to do manual intervention, just let it update itself upon reboot/poweroff from times to times and do a major upgrade, every 6 months to 1 year. Debian has 2y releases cycles and +- 3y of support, in the ubuntu world it is like Fedora or LTS (5y of support). If you want the longest extended lifecycle, RHEL and its clones have pretty much 10years of support without any fuss. Add to that the immutable distros like Fedora Silverblue, OpenSUSE MicroOS and some others where it is virtually impossible to make it shit the bed, even while being stupid.
So in the linux world you can definitely choose your poison, from the less eventful one to the one needing more attention. It looks like you didn't choose wisely. If I had to setup a distro for the least knowledgeable people, I would set it up with an RHEL or Almalinux and install a more modern browser through Flatpak. As long as the hardware is supported from day 1 they would expect a desktop that do not change at all for 10years.
I believe that spending 15mins on the arch forums or IRC would probably result in somebody helping you out with the right pacman incantation. YMMV, my personal experience.
On a tangent, I would love to hear more about any Debian stable users out there and their experience with the conservative approach to updating. I am particularly fond of this Debian wiki article on DontBreakDebian: https://wiki.debian.org/DontBreakDebian
Also loved the video of his wife enjoying the setup - straightforward and effective.
announcement: https://www.youtube.com/live/kaandEt_pKw?feature=share&t=347...
I own mostly but Apple gear right now but I’m being pulled back towards more open and extensible hardware and software.
The GPU is a big one. Nvidia hardware unlocks a lot of gaming, graphics, video and machine learning stuff.
Open vs closed is another one. Android development unlocks so much more hardware and software and peripheral and protocol support.
For the first time in a decade do have an Android device I develop on, and am very close to building a PC with a GPU and am considering a Steam Deck.
Open and hackable and extensible for the win.
Seconded. However, with each release of Android, Google tends to lock things down further.
I really like what Google has been doing with ChromeOS and Chromebooks. I wish there were a program like Chromebooks for a Linux desktop. Arguably that is ChromeOS itself, but the Linux environment you use is a VM.
The one thing you need to know is that, just as with Windows, occasionally, you must reformat your machine and reinstall the OS clean.
Do not migrate your files & settings. Backup your files, yourself, manually, by hand. Clean install the OS, reinstall the apps you need, yourself, manually. Then copy back your data.
If you use an automatic backup tool, it also brings all your cruft back. Don't do that. Do it by hand and only keep the stuff you need, not what some automatic wizard app thinks you need, because they don't think.
It is, in my experience, much less of an issue with Linux. Helps there occasionally, too, though.
Old Macs are still perfectly usable if you do your housekeeping. They have not mystically slowed down over the years or anything.
Very happy with FreeBSD + KDE which gives me configuration choices again.
But my personal reasons are:
- Less commercial influence on the OS and "distro" development process (think of things like Canonical pushing snap and other not-invented-here behaviour)
- A stable (release-based) base OS with rolling packages. The perfect combination which for some reason is not as common in the Linux world. There it's usually all-rolling or all-release.
- The ports collection - Recompile any repository package with any parameters you like
- Excellent documentation because the world is not as fragmented as on GNU/Linux
- Not as much drive to constantly change things as on GNU/Linux (which is partly driven by point #1 of course)
- ZFS on root <3 And jails and bhyve
But I've heard WiFi drivers in particular are not so good - never really looked into it because I wire all my stuff up anyway.
I use a thinkpad laptop for work and a cheap $150 Chuwi laptop for the makerspace but that's all.
I have had a dozen Linux computers with various systems on them. I don’t know if it’s because they were Dell machines, or if it’s an Ubuntu thing, but I have had almost every single one turn into a brick after a Canonical-issued update.
The kind of brick where you have to boot into the boot loader and into single user mode (?) and start issuing arcane commands to try to recover your system with some old kernel.
The thing that keeps me on my Mac is that I can mess around with Unix computing all day, and then go back to being with done when I want to get back to using my computer. I don’t feel confident like that with Linux.
Of course this only applies to more recent GPUs so doesn’t invalidate your comment
Certainly no involuntary grub prompts to date, thankfully! Happy as a clam with my Linux laptop as a daily driver, including for gaming (!) and work.
Use whatever you like.
I have to give this a try.
Funny story: even Apple switched to Linux in the Data Center. They doubled down on Appliances (which happen to run an OS).
Are people pressed that an appliance won’t fit hacker workstation/embedded needs!?
Why? If your software runs smoothly of. Raspberry Pi then you know it will fly on typical PCs.
1. Alternative to magnet or any window management systems that does not require elaborate tmux setup.
2. More adoption of snapstore and auto-updates.
3. Comparable performance and battery life to today's arm laptops.
Try Pop_Os or install Gnome extention on you're current install (https://support.system76.com/articles/pop-shell/)
> 2. More adoption of snapstore and auto-updates.
Flatpak is what you're looking for.
> 3. Comparable performance and battery life to today's arm laptops.
While I agree with this one, I think this is more on the chip and hardware manufacturers.
I use it full time for work and home. Chrome, VS Code and Steam all work flawlessly. It's also nice to be able to develop software in containers without needing any VM layer.
the other question that I have about the video is, which one is "the alligator talk"?
> Recently, meaning the last 5 years or so, I have become more and more depressed...
> (laughter)
> And what Apple is doing to something that should allow you to work is just atrocious.
> But they are taking a lot of space and time to do it, so it's okay.
> And I have come, in the last month or two, to say even though I've invested a zillion years in Apple, I'm throwing it away.
> And I'm going to Linux, to Raspbian in particular
> (applause)
> Anyway, I'm half transitioned now.
Raspberry Pi hardware would be the obvious constraint. Though, that only pushes the question one step further: Why a Raspberry Pi hardware? I... don't know. If you went from Apple devices, it seems like a non-sequitur. There are much, much better options, unless on an extremely limited budget.
But, I also don't know his use case. Does he have a gazillion of them for some (I assume interesting) reason?
Also, he said "Raspbian", rather than the "Raspberry Linux" in the title...which I don't think is a thing.
Raspberry Pi put our their own images based on this, and called it Raspbian until about 2020 [2] when they started calling it "Raspberry Pi OS" after they started producing aarch64 images.
[2] https://www.raspberrypi.com/news/8gb-raspberry-pi-4-on-sale-...
Further reading:
[4] https://www.tomshardware.com/news/raspberry-pi-os-no-longer-...
Google results only seems to show those words as a deliberate name for a few niche things like "RT Raspberry Linux". Meaning, I still don't think "Raspberry Linux" is a thing. HN should probably change the post title here.
rpi-imager - Raspberry Pi imaging utility
That tool gets you the option to install the image of your choosing.8GB can be exhuasted, use a System Load Viewer dock widget and btop to spot/stop/start the process over-consuming your memory. Typically, the web browser hogs up to 1GB then I quit it. The next upgrade is to 16GB or 32GB from 8GB for me. I went from the Mac Mini at 8GB to Rpi 4GB then 8GB.
Q: What's your operating system of choice, today?
A: I have for most of my life, because I was sort of born into it, run Apple. Right now, recently, meaning within the last five years, I’ve become more and more and more depressed and [Laughter] what Apple is doing to something which should allow you to work is just atrocious, but they are taking a lot of space and time to do it so it’s ok. [Laughter] And I have come within the last month or two to say even though I’ve invested a zillion years in Apple, I’m throwing it away and I’m going to Linux -- to Raspbian in particular. [Applause]. Anyway, I'm half transitioned now.Anyone know what his specific issues are?
That said, I agree that the macOS implementation has issues. It’s tricky though, because if they make it as simple as confirm/deny dialogs, you’ve set users up to quickly succumb to “yes-click syndrome” which is likely why Apple went with the “flip a switch in a preference pane” design for some permissions instead.
It’s an improvement for users because it means that not all random applications and programs that run can act as keyloggers. It’s optimising for the common use case (random people running random software and being very annoyed if they get ransomed) against the rare case. It’s the same thing with debuggers and attaching to other processes. In the end it is a good thing to not be able to do that without explicit authorisation.
> So I had a very expensive laptop and the OS didn't let me use it freely.
It does not prevent you from doing it. It added some friction, sure, and you can find that this friction is unacceptable (and changing OS every now and then is a good idea in general anyway). But from a fundamental perspective the functionality is still there. The OS still lets you do this.
> I created the best looking/most usable desktop experience MacOS will never have.
It is great that you have both the ability and the time to do this. I’ll look into it for my Linux boxes.
However, my experience is that it’s never actually “the most beautiful/user-friendly/consistent/polished” (things we see all the time with new DEs). They all tend to fall apart with millions of corner cases and inconsistencies every time you get off the beaten path. In any case, good luck with your project.
(Disclaimer: Apple fan/user since 1985.)
An example is the latest System Preferences. It's virtually unusable.
The latest update added "Stage Manager" or whatever, tried it out for an hour...didn't really like it and turned it off, it never gets in my way trying to force itself on my like Windows does with all of its anti-features.
People complain about system preferences but I use spotlight to find settings when I need them, which works great - and once a setting is set I rarely change it. I don't think I've touched the preferences "app" since I initially setup my mac studio. The moaning and groaning about how bad it is just seems so.....pointless to me.
Most people are familiar with the iOS model already. It's rare to find Mac users who aren't.
I think many of us watching Apple for the past two decades have seen the OS move slowly towards closed standards and tighter control instead of openness and functionality. Each time I boot my PowerBook G4 running Leopard for a nostalgia kick, I'm reminded of how great OS X once was.
But as Ken pointed out, they've been doing it over a long period of time, so it's OK (i.e., it's given us plenty of time to move to other alternatives).
It’s just that I still need macOS for iOS dev right now, but that might change in coming months ...
In the earlier Mac OS X era they used to be very open (and free) with their tools and actively encouraging.
It feels very backwards now. For example, Microsoft was really restrictive with its expensive tools at that time and gradually opened them up. It's like the two companies reversed positions. As a kid, I could never afford to buy pro dev tools, and while it's not as expensive currently, I think that's the way Apple is headed. It's not going to help more people get into programming.
if you watch this talk you can tell that gatekeeper is taking away your freedoms. they are trying to turn each and every binary on your machine into a walled garden.
https://developer.apple.com/videos/play/wwdc2019/701/?time=1...
this will put apple in a superior position - the only company able to make a binary that can use every resource in the OS - and will put developers at a great disadvantage!
It seems like you have to buy software to do anything on macos more conveniently.
Why can't I write a script in python? or a gui script in python? it's the top language.
You can use say swift, but even with "oh we opened it up", it's really an apple-specific language, and it's compiled.
Yes you can get brew going, but that's not apple.
and ios - what a travesty. You don't own your phone. You can't access your filesystem. you have to ask permission to do anything (and they don't grant it for most things)
> Why can't I write a script in python? or a gui script in python? it's the top language.
You definitely don’t need to buy Python, it’s F/OSS and one command away.
An interesting thing to note is that even with software that states support for an older version of the OS, it usually is more buggy, so there is a tendency for software to degrade over time as it gets updated.
Even the much-lauded excellence in UX doesn't really hold up any more.
But at least you can close the lid on a Macbook, put it in your bag and be secure in the knowledge it won't decide to switch on and probably cause permanent heat damage to itself. (looking at you windows...)
Macs have the same issue, but you can turn off the feature that causes it.
I’d say System 76 is doing that but their execution has stumbled for the past year or so. They are working on their own Rust-based DE, to some level of success. I hope they get back on track.
Everything that was easy in *nix was a massive PITA in MacOS. I'm talking about things like basic desktop customization (focus follows mouse, customized mouse buttons + keyboard hotkeys combos to move/iconify/resize windows, etc). I ended up using open source X11 based utils for most things but my web browser & mail because as long as I stayed within X11, I could satisfy my 20+ year old muscle memory with focus-follows-mouse and my hotkeys. However, every now and then I'd blindly start typing and the focus was still on my mail client or browser and random things would happen (adding bookmarks, deleting emails, etc) After a year I never managed to unlearn ffm & my hotkeys, so I gave up, gave the iMac to my then in-laws, and built a new whitebox.
I realize there are extensions for ffm, but ffm on MacOS is a crapshoot in my experience and I was never able to find an extension that I like. Similarly, at the time, I could not find any extension that satisfied my muscle-memory window management hotkey/mouse button combos. I don't mind click to focus so much on a laptop, but I can't stand it on a desktop.
Over the years I have settled on *nix on a desktop and MacOS on a laptop..
I ran Linux solely from 1997 to 2004 on the desktop and switched back because it was such a pain in the ass to manage. Every time I go back, it just isn’t catching up to the mainstream OSs’ ability to manage without “futzing”.
My M2 currently lasts all day on the battery while spending half of it on conference calls and half of it writing code. Nothing can match that right now, but I am still hopeful for a Linux future.
Outside of that, you lose no performance when running on battery, you get full performance when you need it, and high efficiency when you don't. Needing to manually choose a power/performance profile feels incredibly archaic to me, though I appreciate that some folks may want that level of manual control.
I have one 4 year old system 76 notebook with the NVIDIA gpu and that thing when running the 3d graphics mode is terrible (<3 hours), but its a gaming laptop and a beast (well 4 years ago it was..). I have 2.5 TB of storage, huge memory. Its more of a portable desktop than a notebook.
I really like software development on Linux much better than mac. There are a few things I miss from the apple side, but generally its been great.
On the Linux side, I've had great luck with AMD + recent kernels. I get around 6 hours now on my Thinkpad X13 gen 2 which is good enough for me.
I pick the right tool for the job and try not to apply ideology to tool choice.
This is exactly how I feel about Microsoft Windows.
it's becoming more and more unbearable to use them even just part-time for testing purposes, etc
recently I'm more concerned about the lack of real alternatives for mobile
The early versions of the Google Go compiler used Ken's C compiler (kencc, originally written for Plan 9) as part of the toolchain.
You could even run the bundled compiler directly on Linux, Windows, etc.
Stay tuned for the next bit of Ken trivia!
https://alexellisuk.medium.com/upgrade-your-raspberry-pi-4-w...
>Interestingly, the SD card gave a seemingly better buffered disk read than the M2 SATA SSD at 43.35 MB/sec
https://raspberrytips.com/raspberry-pi-usb-vs-sd/ says their SD card latency was 1.15x the USB disk.
Note that the sample size is just 1, so I wouldn't place value on any single benchmark (it could just be that they chose their USB disk and SD card poorly or it was too cloudy that day). This is evident in my URL's hdparm result being wildly different from yours.
[0]: https://dietpi.com/
Sorry about that :(
But, as an end user, what Apple is doing (bringing sandboxed apps and better security to the desktop) is inarguably the right thing to do. It’s a far superior position for the user and it greatly raises the bar for malware.
As developers, to me, it feels a little bit backwards. I guess my critique is that there must be a nuanced way to say “hey Apple you need to do a better job at supporting valid developer use cases” (and I’ll be the first to admit I have many grievances) while at the same time acknowledging that the increased complexity of modern computing systems is moving the needle meaningfully from a security standpoint and so we should be okay with having to work harder to keep our users secure. Like, I’d truly hope if we all switched to Linux, we’d find a way to make secure boot and code signing standard. Not just say “ah isn’t the old dying way of user-domain permissions nice let’s live here forever”.
Even Microsoft is pushing code signatures and sandboxed apps. We should be making a stink and pushing for these platforms to allow custom root signing keys and fully secure/sandboxed replacements for the functionality they’re taking away. Not just throwing up our hands and saying fuck security I’ll just use Linux. Not a great image…
In fact, the move towards sandboxes apps makes native apps closer to browser apps.
I’m not even saying it’s a good thing. Just that gimping native apps isn’t the footgun it would have been 10 years ago.
If users don't need desktop software, then why do they need desktop hardware?
Speak for yourself.
> We have terms like DX and UX. It’s not a false dichotomy at all.
It's still a false dichotomy, because they're not necessarily opposed. Making the native Mac software DX worse can also make the UX worse, and making the DX better can make the UX better. When I said "Eventually everything on the Mac will just be a cross-platform afterthought", I meant that the UX is becoming totally crappy. We get Electron, we get Catalyst, we get iOS apps on macOS. Crap. Bad UX.
Lack of powerful software, due to excessive security restrictions, is also a bad UX. Endless "Cancel or Allow" dialogs are a bad UX.
I'm not sure what you're asking for, here. People have protested OS changes from Apple and Microsoft for decades, but it's never worked. Your only viable method of protest is using an OS where you control the featureset, which (as you've pointed out) is an unrealistic and bad habit.
Maybe to get that nostalgic "let's wait 4 minutes for our 20 line program to compile" feeling again that he must have had in the late 60's and early 70's :P
People: "Linux is not ready for the desktop."
Ken: "You know nothing. Compared to what I'm used to, it's been ready since version 0.01."
(He has previous form for trolling/having a laugh)
At the Microcenter near me, they kept stacks of them in a cabinet near the cash registers, and would offer them up at a discount when checking out.
That's a lot of devices. I've got six of the Model 4 Rpi and whilst they're fun to play with, they're not ideal in terms of their hardware and it's a pain trying to find a decent USB drive to boot them from to get decent performance (they'd be so much better with an M2 interface). The only one that I use regularly is one that I've got LibreElec installed on and running as a Kodi box.