elf_m_sternberg

Joined 12 years ago

Karma
13
Submissions
12
Member since
Mar 20
View on Hacker News

Recent submissions

Comment · 8 years ago
Comment · 9 years ago
I found "Writing an Interpreter in Go" to be a much better read. It was actually completely portable to C++ and Rust, and that made it useful to pretty much anyone.
Comment · 9 years ago
Olympus WS-600 dictation device. It's a slim thing about the size of a cigarette lighter, but it has actual physical buttons, and a built-in USB connector to dump it to my laptop. I review it every morning, and depending on the nature of the note, it goes into (a) Google Calendar, (b) a hand-written notebook, (c) an Emacs Org Wiki which I sync between my devices with Syncthing, or (d) the Notes folder for any of my specific projects.

It's the same thing Newt is speaking into in the movie Pacific Rim. I was tickled when I saw that. They're hard to get nowadays; the later 700 and 800 models are bigger, clunkier, and cheaper-feeling.

Comment · 9 years ago
There are a few projects on my github (elfsternberg) that I've used Hy for.

One thing that I've also done is write the first draft in Hy, and then used Hy2Py to generate the version that I'm going to publish. This does result in a lot of compiling-by-hand, but the end product is often surprisingly robust.

On the other hand, it's also very (!) un-pythonic. Hy discourages classes in favor of closures, like Scheme, so I end up with a lot of nested sub-functions. My project git-linter looks like that. Hy encourages highly functional thinking, and git-linter is just that: the inputs are things like the configuration file, available linters, the command line, and (depending on the command) either the output of a "git-status --porcelain" or just "find . -type f"; the output is a report on the various outputs of the linters. It's a very straightforward map/reduce/filter, so no object-orientated code at all was required.

To an engrained Pythonista who must make a class for every last step, this land-of-verbs approach tends to look strange.

Comment · 10 years ago
It's sorta clever how Elon Musk convinced Ayn Rand-besotted train-crazy tech bros to invest in his testbed for a Clarke Mass Driver.
Comment · 11 years ago
I had two beers Wednesday. A glass of wine Monday night. The week prior was a bit like the same. Some weeks it's "none", some weeks it's "more than seven times in seven days." I don't think that constitutes a problem. I've missed more dates because I was writing code and forgot the clock (twice in my lifetime) than I have due to intoxication (zero so far).
Comment · 11 years ago
Ditto. Used them all of my professional life. I've also had a Dell, a Toshiba, an HP, and two Macbooks. The Thinkpads were the only things that worked well.

I've been using an IdeaPad (The Thinkpad's consumer-oriented co-brand), namely a Yoga. Although I miss the red mouse pointer thing, it's otherwise an ideal development platform, with enough disk space for Docker and VirtualBox. Oh, and it runs Mint perfectly so my Docker images are compatible with almost any Debian-based deployment environment.

Comment · 11 years ago
Interesting, but woefully incomplete since it doesn't include a single turnstile-based statement. I'm still looking for the cheat sheet that includes an explanation for how to read and comprehend anything written by Simon Peyton-Jones.
Comment · 12 years ago
Yes. Liferea. I've been using it pretty much since the Death of Usenet.
Comment · 12 years ago
I don't see any suggestions for a replacement technology.
Comment · 12 years ago
Great work! There are a couple of other projects like this. Are you familiar with Wisp or Outlet? This is good work; I've been trying to hack my own Lisp -> JS transpiler, and not having much work.

Your 'Nodes' file shows a strong familiarity with what's going on inside Coffeescript, too. :)

Comment · 12 years ago
Ditto everyone else's comments. This is a really good book. Readers should be aware that Irvine's goal of "persistent tranquility" isn't really what the Stoics had in mind; their objective was much more radical, in the same way that TED-talk "mindfulness" is a parboiled version of a much more radical Buddhism.

But still, a good intro.

There are other good Stoicism books, and anyone who's been through cognitive behavioral therapy will find Irvine's book a bit of a refresher course. Anyone have any comments about "Philosophy for Life" or "Stocism and the Art of Happiness"?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton