Live data from Hacker News

Emacs appearances in pop culture

ianyepan.github.io

111–120 of 122 posts

Re: Emacs appearances in pop culture

#111
post #27

Earlier quoted context omitted.

now that's cool, the OG star gate movie? I watched SG-1 multiple times and watched the other ones too, too bad about the reboot being cancelled.

TV show, replicators didn’t show up in the movie, they were an Asgard/SG1 villain.

oh right, that was great the O'Neill here's a brand new ship, immediately sacrifices it to the replicators

Re: Emacs appearances in pop culture

#112

Earlier quoted context omitted.

There's two reasons for this, I think. The most obvious is that emacs has better CJK support compared to any other editor of the time. The less obvious is that Japan liked lisp machines and lisp in general a lot

Notably, Yukihiro Matsumoto took substantial inspiration from Lisp while designing the Ruby language. You can see historical Lisp terminology in the Ruby interpreter sources (at least last I checked, which was a long time ago), like the use of “Q” to refer to a dynamically typed datum that can be stored in a cell. (Hah, I just looked around a bit more, and Wikipedia cites an archived mailing list message that I don't…

Yukihiro Matsumoto is an Emacs user as well[1]. He is also the original author of ruby-mode.el[2].

[1] https://news.ycombinator.com/item?id=6094610 [2] https://github.com/emacs-mirror/emacs/blob/master/lisp/progm...

Re: Emacs appearances in pop culture

#113
post #90
post #50

Earlier quoted context omitted.

> I don't know anything so compelling about it For me, it'd be primarily having more than one undo. Not being able to undo the second-to-last change is pretty bad. In fact, vim's undo being set up as a tree that can be walked with g- and g+ is excellent. It's impossible to lose a state of the buffer, even if you undo and make changes. It's a lot more practical to navigate than Emacs' undo, too. EDIT: I just realized…

> It's a lot more practical to navigate than Emacs' undo, too. What the heck are you talking about? Emacs undo is simply the State monad over a zipper into a persistent tree of buffer states. I can't see how you could make it more practical?

[deleted]

Re: Emacs appearances in pop culture

#114
post #2

How to sell drugs online fast was a great show because they kept stressing how they had to have the test pass in their Vue front end. I always whenever I see code on a show/movie I wonder if it's real, a lot of times it's a mix of random languages. Sometimes just jibberish. Also recently watched Nirvana 1997 really good.

Mr Robot was generally pretty good for this kind of thing

They placed a lot of importance in realism, and the show had top notch advisors.

https://onlinegrad.syracuse.edu/blog/mr-robot-cybersecurity-...

Re: Emacs appearances in pop culture

#115

Earlier quoted context omitted.

Notably, Yukihiro Matsumoto took substantial inspiration from Lisp while designing the Ruby language. You can see historical Lisp terminology in the Ruby interpreter sources (at least last I checked, which was a long time ago), like the use of “Q” to refer to a dynamically typed datum that can be stored in a cell. (Hah, I just looked around a bit more, and Wikipedia cites an archived mailing list message that I don't…

Yukihiro Matsumoto is an Emacs user as well[1]. He is also the original author of ruby-mode.el[2]. [1] https://news.ycombinator.com/item?id=6094610 [2] https://github.com/emacs-mirror/emacs/blob/master/lisp/progm...

That's the source! That's the one I remembered but couldn't find! Thank you.

Re: Emacs appearances in pop culture

#116

Earlier quoted context omitted.

Notably, Yukihiro Matsumoto took substantial inspiration from Lisp while designing the Ruby language. You can see historical Lisp terminology in the Ruby interpreter sources (at least last I checked, which was a long time ago), like the use of “Q” to refer to a dynamically typed datum that can be stored in a cell. (Hah, I just looked around a bit more, and Wikipedia cites an archived mailing list message that I don't…

Yukihiro Matsumoto is an Emacs user as well[1]. He is also the original author of ruby-mode.el[2]. [1] https://news.ycombinator.com/item?id=6094610 [2] https://github.com/emacs-mirror/emacs/blob/master/lisp/progm...

He also wrote a emacs mail client

Re: Emacs appearances in pop culture

#117

There's an obscure Polish film from 2002, "Haker" (Hacker), obscure for many reasons and not in a good way; it's absolute drivel, not even accidentally funny in a MST3K, B movie kind of way - it's just really, really bad. In this gem there is a conversation about hacking into some system, and a character asks another a completely nonsensical semi jargon question, which goes like this: "Did you try Emacs via Sendmail?…

That's in TFA including a screenshot...

Wasn't there yet when I read it.

Re: Emacs appearances in pop culture

#118
post #88

Earlier quoted context omitted.

> you end up having to tell your colleagues "hey, you need to set your tabs to 4" Vim's modelines (and Emacs' equivalent) can solve this part at least, no?

Yes, but then how many different editors are people using? What about VSCode? SublimeText? Etc. you’re just trading one problem for another.

These days .editorconfig compliance is everywhere, thankfully, so there's a cross-platform solution. At least for that bit. (Note that while usually "cross-platform" means OS's, this time it means editors).

Re: Emacs appearances in pop culture

#119
post #61

Earlier quoted context omitted.

Just yesterday I stumbled across an article from 2005 titled "Why Ruby is an acceptable LISP": https://www.randomhacks.net/2005/12/03/why-ruby-is-an-accept... . I don't agree with all of his points about macros, e.g. I think his line about "The most common use of LISP macros is to avoid typing lambda quite so much" is simply incorrect. But his point about how Ruby allows building DSLs, and so it gives you quite a lot…

Having skimmed the article, I think he's correct about the most common use of macros (by far the single most common type of macro I write in CL is a body-to-lambda transformation, though being able to tweak the sugar makes a difference too), but then I think he kinda equivocates in implications between “80% of the usage” and “80% of the impact”. I also think Ruby DSLs cover a big chunk of that last gap (and it sounds…

Now that I've read through the Common Lisp HyperSpec and realized that there's no standard shortcut syntax for lambda, you have to spell it out every time (or define l as lambda), I'm realizing that yes, that is probably the most common use. I'm also starting to understand why Janet has the `short-fn` macro with special reader syntax for it: |(> $ 0) is short for (lambda (x) (> x 0)), which is SO much less typing. (It also handles multiple arguments: you can say |(> $0 $1) if for some reason you're allergic to just typing > to accomplish the same thing).

In fact, I think next time I'm writing Common Lisp code, I'm going to figure out how to create Janet's | as a reader macro.

Re: Emacs appearances in pop culture

#120
post #119

Earlier quoted context omitted.

Having skimmed the article, I think he's correct about the most common use of macros (by far the single most common type of macro I write in CL is a body-to-lambda transformation, though being able to tweak the sugar makes a difference too), but then I think he kinda equivocates in implications between “80% of the usage” and “80% of the impact”. I also think Ruby DSLs cover a big chunk of that last gap (and it sounds…

Now that I've read through the Common Lisp HyperSpec and realized that there's no standard shortcut syntax for lambda, you have to spell it out every time (or define l as lambda), I'm realizing that yes, that is probably the most common use. I'm also starting to understand why Janet has the `short-fn` macro with special reader syntax for it: |(> $ 0) is short for (lambda (x) (> x 0)), which is SO much less typing. (I…

FWIW, the common utility library Serapeum offers ‘op’ which it claims is from GOO, which is quite similar as a short positional function utility macro without being a reader macro that has more potential for character clashes: (op (> _ 0)). (But don't let that stop you from recreating it if you wanted to do so for educational purposes!)
Post reply on HN