HNHacker News
TopNewBestAskShowJobs

eigenhombre

1,051 karma · joined April 12, 2013

http://johnj.com
submissionscomments
eigenhombre··on Centralia Mine Fire
"The Centralia mine fire is a coal-seam fire that has been burning in the labyrinth of abandoned coal mines underneath the borough of Centralia, Pennsylvania, United States, since at least May 27, 1962."
eigenhombre··on Writing code with pencil and paper (2022)
Am surprised by all the negative comments about writing code by hand. Many of the comments here speak about moving or thinking faster, but where I have always found pen and paper most helpful is when I've needed to slow down, focus, feel out edge cases, and give my intuition and experience more chances to engage with the problem. Occasionally for purely algorithmic things I've written out an entire function or loop, but more often it's a table of the program state during an iteration, or a diagram of how two things talk to each other, or what calls what in what order... just the little bits I need to think about, get clear on, before I go back to my editor for the next steps to address the problem. If you've ever driven a manual transmission, it feels a little like downshifting to get extra power on a steep hill climb.

It has been suggested ([1],[2]) that writing by hand helps with memory retention and probably other aspects of cognition; in my case, it may just be that writing [edit: by hand] "feels calmer," so, if I have a hard problem to think through, the pen usually comes out.

[1] https://pubmed.ncbi.nlm.nih.gov/33815075/

[2] https://journals.sagepub.com/doi/abs/10.1177/095679761452458...

eigenhombre··on Ask HN: How are you using LLMs in your command-line?
ShellGPT https://github.com/TheR1D/shell_gpt does pretty well for a lot of use cases. I mostly use it in REPL mode, switching topics as needed. I have wrappers around the `sgpt` command to, say, start a REPL with a particular topic, say, Python, which loads my previous history on that topic as part of the prompt.

I also have an alias to save existing chats as text files so I can go back and review history.

Finally, there is an alias to load a question up in an editor if I need to enter multiline text, e.g. to discuss code fragments, etc.

I expect command-line workflows to be pretty individualized and I'm curious what others do. For me (old programmer), using a command line REPL feels much more natural (and blissfully noise-free) than going to a Web page to talk to, say, ChatGPT.

eigenhombre··on The real cost of a preventive health scan goes well beyond the price tag
> And an MRI will find something...

Not my/my family's experience - in fact MRI were used to clarify CAT scan false alarms / rule out real issues.

eigenhombre··on I won't deliberately use AI for programming
I have mixed feelings about this. I switch back and forth between two editors: Emacs for Clojure and other lisps (and Org Mode and Magit), and VSCode with Copilot for, well, most everything else. This ad hoc setup provides a little bit of "personal A/B testing" -- feeling the difference Copilot makes.

When I was learning Go I had Copilot on most of the time. I was amazed at how much progress I could make despite being new to the language. And, when switching to Emacs, I'd notice myself reflexively waiting for Copilot to supply autocompletions that weren't there.

Yet, strangely enough, I can actually write Go code now (with or without Copilot). All the troubleshooting, refactoring, redesigning, bug fixing, etc. that I still had to go through saw to that. (Presumably having programmed already for many years didn't hurt.) Repeated and quick exposure to the relevant idioms supplied by my tooling seems to have helped at least as much as it set me back.

On the lisp (Clojure, Elisp, ...) side of things, I have found Copilot (and ChatGPT) much less helpful, presumably because of the relative paucity of training data. Simple things such as matching parentheses seem to elude these tools, and hallucinations are worse and more frequent. I'm still feeling out how this difference w.r.t VSCode/Copilot and other languages affects my experience and the quality of my output, but it definitely feels different (and, frankly, a little clumsier).

Over time I've learned how helpful different kind of tools are for making software. Learning one's editor well. Writing good (and fast) tests. Using linters and code formatters. Using type systems when available. The new AI tools certainly involve trade-offs, but as I gain experience with them I am becoming convinced that putting them aside will make programming a different, and probably much slower, experience than what most programmers come to experience. (Slow can be good, but probably not what most of us want.)

eigenhombre··on FP-Go: Functional programming library for Golang
Not picking sides here (though disclosure: I use and like FP techniques/tools/languages/libraries).

Go provides a set of nice features (fast startup, easy cross-platform building, great tooling, good package management) that can be hard to come by with other languages. It is not unreasonable to want to have your cake (all of the above features) and eat it too (occasionally use functional idioms in addition to the usual imperative ones).

For this reason I try to keep abreast of the various FP libraries in Go, though I have yet to use one in anger.

eigenhombre··on Ask HN: Any interesting books you have read lately?
+1 for 50 Years. Did not expect to be pulled into the writing so much, it was like reading a novel. Had been waiting for the print version for nearly a year when the PDF version came, blazed my way through half the PDF before the book came and then just kept going. Reed did an amazing job and I have a lot of follow-up reading to do (there are extensive links / bibliography after each chapter).
eigenhombre··on Amazon is getting ready to launch a lot of broadband satellites
Launch the Hypno Drones.
eigenhombre··on Ask HN: Could you share your personal blog here?
Well, it seems people are still posting here, so here's mine:

http://johnj.com

"I post things here related to programming and art..... You can also find many blog posts written during ten trips to Antarctica here."

eigenhombre··on Show HN: Hacker News user blogroll
Same, I think this is a great idea and would like to submit mine as well -- maybe an "add" feature on the page would make sense, or re-inquire here at intervals, maybe monthly/yearly?
eigenhombre··on Car quality is suffering as automakers shift focus to technology
A lot depends on the size of your kids, and the layout of your neighborhood, and your local climate. In my neighborhood (south side of Chicago) a lot of people schlepp their kids around on the back of bikes (electric or otherwise), either long bikes with a[n extra] seat on the back, or with a trailer, or both. Not sure how that stands safety-wise, but it sure is a lot lower-impact than even my Prius hybrid. Anecdata, but I feel like I'm seeing more of these families lately.

edit: add clarifying word

eigenhombre··on Ancient lead pollution in a Roman harbor (2017)
The jury is still out on Chicago going extinct :-) though I see your point, and I wonder how serious the problem actually is. TIL: the danger depends on your water chemistry[1], which I expect is monitored in cities like Chicago.

[1] https://www.treehugger.com/lead-in-water-pipes-4018249

eigenhombre··on Ancient lead pollution in a Roman harbor (2017)
Indeed. I live in Chicago. Several years back, mid-winter, we suddenly had a geyser in the middle of our courtyard: burst pipe. Called in experts, and several hours and one coffin-sized hole in our yard later, we had running water again. I asked them for the 10" / 25 cm spliced-out bit of pipe, and still have it -- it is amazingly heavy, and definitely lead.
eigenhombre··on Purely Functional Data Structures (1996) [pdf]
Borges meets Knuth.
eigenhombre··on Why Lisp?
Is Arc still built on top of (formerly PLT Scheme, now) Racket? The Wikipedia page[1] says so. I'm more familiar with Common Lisp (which blazes) than Racket, but these seem like impressive stats to me.

[1] https://en.wikipedia.org/wiki/Arc_(programming_language)

eigenhombre··on 40 Years of Koyaanisqatsi
Seeing this post/thread brings back some good memories!

Am happy to see Phillip Glass is on Bandcamp. I found an old cassette copy of Koyaanisqatsi kicking around but also just got a digital copy of the soundtrack there; happy to support a living artist.

eigenhombre··on Morse, an open-source interactive tool for inspecting Clojure
We specifically preferred Leiningen for all new projects at my last job because of a number of plugins we still used that were unsupported by Deps. This was a year ago, so that may have changed since I left.

I still find Lein a little easier to use, and use it for personal projects, but appreciate Deps's more data-driven, "simpler" approach -- and it seems faster.

eigenhombre··on Ask HN: Most interesting tech you built for just yourself?
Enso looks really nice, as does Sit and your about pages.
eigenhombre··on Highway to Ruin: The crash of Southern Airways flight 242 (2022)
Amazing video in that link!
eigenhombre··on Highway to Ruin: The crash of Southern Airways flight 242 (2022)
I wonder about the "Last" in the title, and how common road landings are in general. We had one not far from us awhile back: https://www.youtube.com/watch?v=2QOMDyMZD3k, saw the plane from a bridge on my bike commute home... a strange day was had by all, with zero casualties.
eigenhombre··on Clojure 1.12.0-Alpha2
If Borkdude says it's the best, I'm listening. Why is it the best release ever?
eigenhombre··on Why Janet?
That doesn't seem that bad to me for a Lisp.

Common Lisp / SBCL equivalent for me is 41MB.

Clojure überjar size for the same is 4.6MB.

There is a cost to having so much language ("all the language, all the time") available at different stages of the program lifecycle (macroexpand, compile, runtime, ...). Not sure if a Janet program can run eval, but it still has a garbage collector, etc.

Even a Go equivalent is 1.9MB.

eigenhombre··on Dice roll settles tie in small Wisconsin town election
"Best known for being home to a marina and a restaurant with goats on its sodded roof, the tie is one of the more exciting things to happen in the little town of 1,160 near the Canadian border."

I've been to Sister Bay many times, usually headed to Washington Island. "Near the Canadian border" is a bit of a stretch -- but a cute town.

eigenhombre··on Could audiobooks be the next frontier for advertising?
Wouldn't listen to audiobooks if they had ads.

Am surprised nobody has mentioned Libro.FM here - I get most of my audiobooks from them. They claim to give a portion to my local bookseller, though they don't provide any evidence to this effect and I would continue to use them even if they didn't. It's a monthly subscription which gives you a new book every month, but you can pause any time and the books are still around, then resume when you need more books. Your mileage may vary; the model works well for me.

eigenhombre··on Why take a compiler course? (2010)
If you're interested in compilers and language implementation, it may not be obvious, but one needn't be a university student or devote a semester to the topic.

Taking a four-day compiler course[1] (now five days) whetted my appetite for implementing languages and learning new ones, and led to a number of toy language projects. Also mentioned here, the book Crafting Interpreters is wonderful.

The world may not need many more programming languages, but making your own is a heck of a lot of fun. I find it especially satisfying when tests written in the new language start to surprise me by already passing, because enough of the language is working.

[1] http://www.dabeaz.com/compiler.html

eigenhombre··on Clinic to open near Ohio derailment as health worries linger
The data on the site is fascinating, and can be downloaded as CSV, XLS, etc. (I live about 100m from a rail corridor, and though I love trains, I do worry occasionally about accidents).
eigenhombre··on Tell HN: DigitalOcean is doing layoffs
Have been a mostly happy DO customer for some time. Would be interested to know if the layoffs were carried off skillfully/compassionately or messily/carelessly.
eigenhombre··on Last Flight Out
Previous discussion here: https://news.ycombinator.com/item?id=34658286
eigenhombre··on After Callous Layoffs, Workers Are Done with the Full-Time Work
Here's the former CTO of my last salaried job talking about part time work and the arrangement I had there: https://youtu.be/Gsai-2ZCHwk?t=431
eigenhombre··on After Callous Layoffs, Workers Are Done with the Full-Time Work
I've worked less than full time for a good portion of my career -- sometimes salaried, sometimes on contract. If you can make it work financially, I highly recommend it. I can do unrelated personal work at a much higher level when I have 10+ hours per week available to advance it. And my energy for the "day job" is at its best when it doesn't eat up all my time, so my results per hour are better.

The pattern is rare enough that there is a cultural barrier, at least in the US (and possibly worse elsewhere?). I accept that there will be fewer opportunities, and plan to do outstanding work during the hours I'm engaged. My employer gets a happy me and benefits from (by now) decades of experience. I hope that more tech (and non-tech) workers will join me in advocating for this sort of arrangement so it becomes more common.

← PreviousPage 2 of 6Next →