10 ms·
Ken Thompson quotes
- denzil_correa 9y ago> I must say the Linux community is a lot nicer than the Unix community. A negative comment on Unix would warrent death threats. With Linux, it is like stirring up a nest of butterflies. Interesting comment on the Linux, UNIX communities.
- DonHopkins 9y agoDeath threats for negative comments on Unix??! Pththththt! The Unix Haters Handbook [1] was dedicated to Ken and Dennis, and Dennis [2] wrote the anti-forward [3]. [1] http://simson.net/ref/ugh.pdf http://simson.net/ref/ugh.pdf [2] http://www.donhopkins.com/home/images/DennisRitchiePththththth.png http://www.donhopkins.com/home/images/DennisRitchiePthththth... [3] https://news.ycombinator.com/item?id=3106271 https://news.ycombinator.com/item?id=3106271 From: dmr@plan9.research.att.com Date: Tue, 15 Mar 1994 00:38:07 EST Subject: anti-foreword To the contributers to this book: I have succumbed to the temptation you offered in your preface: I do write you off as envious malcontents and romantic keepers of memories. The systems you remember so fondly (TOPS-20, ITS, Multics, Lisp Machine, Cedar/Mesa, the Dorado) are not just out to pasture, they are fertilizing it from below. Your judgments are not keen, they are intoxicated by metaphor. In the Preface you suffer first from heat, lice, and malnourishment, then become prisoners in a Gulag. In Chapter 1 you are in turn infected by a virus, racked by drug addiction, and addled by puffiness of the genome. Yet your prison without coherent design continues to imprison you. How can this be, if it has no strong places? The rational prisoner exploits the weak places, creates order from chaos: instead, collectives like the FSF vindicate their jailers by building cells almost com- patible with the existing ones, albeit with more features. The journalist with three undergraduate degrees from MIT, the researcher at Microsoft, and the senior scientist at Apple might volunteer a few words about the regulations of the prisons to which they have been transferred. Your sense of the possible is in no sense pure: sometimes you want the same thing you have, but wish you had done it yourselves; other times you want something different, but can't seem to get people to use it; sometimes one wonders why you just don't shut up and tell people to buy a PC with Windows or a Mac. No Gulag or lice, just a future whose intellectual tone and interaction style is set by Sonic the Hedgehog. You claim to seek progress, but you succeed mainly in whining. Here is my metaphor: your book is a pudding stuffed with apposite observations, many well-conceived. Like excrement, it contains enough undigested nuggets of nutrition to sustain life for some. But it is not a tasty pie: it reeks too much of contempt and of envy. Bon appetit!
- craftyguy 9y ago> Pththththt I've been trying to figure out what this is supposed to sound like.
- combatentropy 9y agohttps://upload.wikimedia.org/wikipedia/commons/8/8b/Blowing_a_raspberry.ogv https://upload.wikimedia.org/wikipedia/commons/8/8b/Blowing_...
- craftyguy 9y agoExcellent
- gruturo 9y agoTook me a few moments of frantic checking the linked article, plus Google, to make sure this wasn't an obituary.
- ldmosquera 9y agoSame O_O
- enriquto 9y agowhat a tasteless comment, really
- gruturo 9y agoMods - thanks for changing the subject, adding "quotes".
- dorfsmay 9y agoThis was a huge surprise for me, making me experience a cognitive dissonance. > I am a very bottom-up thinker. If you give me the right kind of Tinker Toys I am a boitom-up thinker, I cannot imagine a house if I don't know about what kind of bricks exist, which we use and why! I have blamed that trait for the main reason for stagnating in my carreer while idealising people like Thompson, due to their achievements.
- Sacho 9y agoHuh, I feel exactly the same way. I've never been employed in a position where the bottom-up approach was the one people were actually looking for, so I've always felt guilty about my work ethic - I feel like I'm satisfying my own curiosity on company time.
- dorfsmay 9y agoI don't feel like not adding value: Being a bottom-up thinker means I can get to the root cause of hard problems, or even warn and prevent bad solutions. My problem is that I have always felt that only top-down thinkers can do architecture and design. This article shows that this is not the case.
- DonHopkins 9y agoAnd that's why I named my company: http://ground-up-software.com/ http://ground-up-software.com/
- deleted 9y ago[deleted]
- petercooper 9y agoIf you like this sort of thing, we've been running a Twitter account for several years dedicated to pithy programming related quotes: https://twitter.com/codewisdom https://twitter.com/codewisdom
- smhenderson 9y agoHey, thanks, will check it out. These guys are pretty great too: https://twitter.com/EmacsHaiku https://twitter.com/EmacsHaiku https://twitter.com/ed1conf https://twitter.com/ed1conf
- vram22 9y agoFollowed it. iamdevloper ( https://twitter.com/iamdevloper https://twitter.com/iamdevloper ) is good too. DEVOPS_BORAT ( https://twitter.com/DEVOPS_BORAT https://twitter.com/DEVOPS_BORAT ), which was often hilarious, seems to have stopped a while ago.
- scriptproof 9y ago> I think the open software movement (and Linux in particular) is laudable.
- OskarS 9y agoHe didn't say "proprietary code is evil" or "property is theft", dude's not Richard Stallman. Also, Google does plenty of open source stuff, including Go, which Thompson works on.
- scriptproof 9y agoI am more thinking to Steve Ballmer. But I should have been more explicit.
- dm319 9y agoSome gems: > "I've seen [visual] editors like that, but I don't feel a need for them. I don't want to see the state of the file when I'm editing." -Thompson on the superiority of ed to editors such as today's vi or emacs, as summarized by Peter Salus in A Quarter Century of UNIX (Addison-Wesley, 1994). > The X server has to be the biggest program I've ever seen that doesn't do anything for you. and I'm glad linux has come to meet his expectations over the years... > Microsoft is really unreliable but Linux is worse. In a non-PC environment, it just won't hold up. If you're using it on a single box, that's one thing. But if you want to use Linux in firewalls, gateways, embedded systems, and so on, it has a long way to go. -1999 >I run Linux. And I occasionally look at code, but rarely, so I can't really tell whether the quality has gotten better or not [since 1999]. But certainly the reliability has gotten better. -2009
- OskarS 9y agoThat first one you quoted is pretty incredible. It's hard for me to even imagine writing many thousands of lines of code in ed today.
- Santosh83 9y agoI have no idea but perhaps in those days (60s & 70s), they wrote code on paper first before feeding it into the computer? If so, then ed was probably tolerable. It's nigh unthinkable these days of course.
- todd8 9y agoThat is how we coded. TECO, my first editor, requires keeping ones code in your head while typing in edit instructions. At 300 baud a teletype was pretty slow to print back the code that you had typed, so every dozen or so line edit commands I would print out the lines I was working on. Try out ed on a Unix or Linux (or MacOS) system to get a taste of the experience, and don’t forget that playback happened on a teletype printing back at around the speed of a fast typist. Nevertheless, this was much better than punching cards.
- Gracana 9y ago
- DonHopkins 9y ago"You can't trust code that you did not totally create yourself. (Especially code from companies that employ people like me.) No amount of source-level verification or scrutiny will protect you from using untrusted code." -Ken Thompson Reminds me of Theo de Raadt's quote about ESR's "many eyes" argument: "My favorite part of the "many eyes" argument is how few bugs were found by the two eyes of Eric (the originator of the statement). All the many eyes are apparently attached to a lot of hands that type lots of words about many eyes, and never actually audit code."
- neilsimp1 9y agoGiven enough eyeballs, all bugs are shallow. - Linus Torvalds
- systems 9y agowhat is that supposed to mean "all bugs are shallow" .. does he mean easy to find, or obvious , or look small .. what does he mean?
- Zelphyr 9y agoI think he means that given enough people looking at a particular code base, even the most obscure (deep) bugs will be found (made shallow).
- DonHopkins 9y agoPlease note that the quote is mis-attributed to Linus Torvalds, but it's actually from ESR. Reality has proven him quite wrong. http://heartbleed.com/ http://heartbleed.com/ Not only is ESR wrong, but also his mis-attributed slogan overpromises a false sense of security, which is dangerous. In response, he tried to construct a straw man argument that "proprietary software is worse than open source software", which does not in any way support his claim about "all bugs being shallow". http://esr.ibiblio.org/?p=5665 http://esr.ibiblio.org/?p=5665 Anyone who thinks all bugs are shallow under any circumstances just hasn't seen many interesting real world bugs with their own eyes. Their experience is limited and their confidence in their software, security and mastery of programming and debugging is pure Dunning-Kruger effect. I'm with Ken on this one.
- Waterluvian 9y agoOn his quote about educational value of UNIX and being so small you can go through it line by line to lean what it does. Can someone recommend a version appropriate for doing this?
- WoodenChair 9y agoMinix was designed (originally) for exactly this purpose.
- macintux 9y agoSomewhere I had a 3 ring binder of the complete source for Minix, can't remember where I picked it up, but long gone now, sadly.
- AimHere 9y agoAs well as Minix, which is intended as just such a teaching aid and comes with a textbook, there's the Lions book, which is a complete annotated source listing of an early Unix, and which was passed around as nerd Samizdat for a while, until the Unix copyright status was changed. http://www.lemis.com/grog/Documentation/Lions/index.php http://www.lemis.com/grog/Documentation/Lions/index.php
- Waterluvian 9y agoThank you, and thank you everyone else for all these resources. My wife will be rather displeased that I'm not playing Divinity 2 with her this holiday weekend ;)
- brkc 9y agohttps://github.com/mit-pdos/xv6-public https://github.com/mit-pdos/xv6-public
- DonHopkins 9y agoIndubitably: https://en.wikipedia.org/wiki/Lions%27_Commentary_on_UNIX_6th_Edition,_with_Source_Code https://en.wikipedia.org/wiki/Lions%27_Commentary_on_UNIX_6t... (That's what the sibling comments are also referring to!)
- corpMaverick 9y ago> "I'd spell creat with an e." :) My favorite. Implying that everything else is great.
- m_sahaf 9y agoAnd he did spell it with an e afterall :) https://twitter.com/_rsc/status/897555509141794817 https://twitter.com/_rsc/status/897555509141794817
- imglorp 9y agoAn observation about > The press, television, and movies make heroes of vandals by calling them whiz kids. ... There is obviously a cultural gap. The act of breaking into a computer system has to have the same social stigma as breaking into a neighbor's house. It should not matter that the neighbor's door is unlocked. If only it was just kids now. What's changed in the decades since is we have serious professionals beating on our doors now: state actors, mafia, miners, spammers, malvertisers, id thieves. They're well funded and organized. Amateurs don't stand a chance.
- darkcube 9y agowell, those whiz kids had to grow up to be someone, someday...
- henrik_w 9y agoThree quotes are from the book "Coders at Work". I can really recommend that one, very interesting read. My review of it: https://www.amazon.com/gp/review/R2OV0TG7MJGXGL https://www.amazon.com/gp/review/R2OV0TG7MJGXGL
- nappy-doo 9y agoYears ago, I started at Google, and was in Charlie's cafe, eating alone. I'm sitting there, and up walks Ken Thompson. He sits down, introduces himself as Ken, and asks me what I work on. We sat there for a good 40 minutes just chatting. One of my coolest memories of working at Google was that time. He was so down to earth, never bothered to talk up about who he was (even though I knew). I really appreciated that.
- pk2200 9y agoI have a similar Google lunch story. A guy sat down, introduced himself as Rob, and told me it was his first day at Google. We had a nice chat, and later I told my office mate that the new guy seemed really smart. He laughed and told me I'd just had lunch with Rob Pike. :)
- chauhankiran 9y agoWhen I see devs are talking/fighting for tech trends or programming patterns or frameworks, Ken's quote ( or message you say ) come in my mind always: "Many if not most of the software we use is probably obsolete according to the latest design criteria. Most users could probably care less if the internals of the operating system they use is obsolete. They are rightly more interested in its performance and capabilities at the user level." From The Tanenbaum-Torvalds Debate[0] [0]. http://www.oreilly.com/openbook/opensources/book/appa.html http://www.oreilly.com/openbook/opensources/book/appa.html
- metaobject 9y agoOf course users don't really care about the design principles used to organize source code. They care about features. The design principles are a concern for the developers, and if some standard isn't obeyed, then the users may not get those new, stable features they're craving.
- CalChris 9y agoWhen in doubt, use brute force. The first time I read that it was in something about Belle playing Q v R against Walter Browne. Belle had the R and Browne had to mate in 50 moves. Seven piece tablebases are achievable now.
- bgun 9y agoAlso seems equivalent to pg's "Do things that don't scale" maxim.
- acqq 9y agoIt seems this is a real story from the time Ken Thompson started to work at Google: "Q: I know Google has a policy where every new employee has to get checked out on languages before they're allowed to check code in. Which means you had to get checked out on C [which you co-created]. Thompson: Yeah, I haven't been. Q. You haven't been! You're not allowed to check in code? Thompson: I'm not allowed to check in code, no... I just haven't done it. I've so far found no need to." https://www.theregister.co.uk/2010/04/21/ken_thompson_take_our_test/ https://www.theregister.co.uk/2010/04/21/ken_thompson_take_o... "So Mr Thompson, you say you have some programming skills..." Does anybody have any update on that?
- packetslave 9y agoIf you don't have readability in a language, you just have to get a code review from someone who does have readability. You can still check in your code.
- acqq 9y agoThe topic was that apparently Google insisted on testing Ken Thompson if he knows C, because policy. Which if true means a stubborn bureaucracy running uncontrolled there. It's like hiring Andrew Tanenbaum and then insisting on him taking a test to check if he "knows" Linux. My question was in sense, did anybody right the wrong, once even the media recognized the absurdity of that particular case.
- feelin_googley 9y ago"It's way too big, way too complex."