HNHacker News
TopNewBestAskShowJobs

leephillips

24,298 karma · joined February 22, 2012

Dr. Lee Phillips

https://lee-phillips.org

lee@lee-phillips.org

Einstein’s Tutor published by PublicAffairs, a book about Emmy Noether and her Theorem:

     https://lee-phillips.org/noether/
Practical Julia published by No Starch Press:

      https://lee-phillips.org/juliabook/
My book Gnuplot 5:

     https://alogus.com/publishing/gnuplot5/
submissionscomments
leephillips··on A New Typst Template for Pandoc (2025)
You want pandoc and markdown involved so that you can write once and transform your document into formats other than Typst.

https://lwn.net/Articles/1037577/

leephillips··on My I3-Emacs Integration
I set this up: https://hn-ai.org/

The problem now is that so many articles with innocent titles are really about AI slop. The title might be “A Space Exploration Game” and the content is about some vibe-coded garbage.

leephillips··on Ask HN: Do you have a colophon for your personal website?
My “about” page has sections about all that: https://lee-phillips.org/about/
leephillips··on Who's to Blame When an Ivy League President Drives into His Students?
I saw the videos. He didn’t “drive into” anyone. Some idiots stepped in the path of a moving vehicle. Some, apparently, deliberately in order to get bumped, so that they could play the victim.
leephillips··on A case against Boolean logic
Ternary logic seems to be widely regarded as useful in computation, because it’s implemented in several programming languages. For example, in Julia the “missing” value supplements true and false to form a ternary system.
leephillips··on Photo GIMP – A Patch for GIMP 3 for Photoshop Users
I probably won’t bother to try this because I think it’s unlikely that it fixes whatever is broken in Gimp that prevents me from using it. I use DWM. Gimp simply doesn’t work with that window manager. I won’t bore you with details, but other users of DWM or, possibly, similar WMs know what I mean.

It’s not DWM’s fault. It works fine with programs that support X11 properly. Krita, for example, works perfectly with DWM.

leephillips··on It is time to give up the dualism introduced by the debate on consciousness
Why the complete rewriting of the title?
leephillips··on Meta deletes popular 1M follower account after Kuwaiti request
Google (including YouTube) has black-holed content at the request of the Chinese and Pakistani governments and in response to domestic Muslim pressure groups. This effects content shown everywhere, including within the United States:

https://lee-phillips.org/youtube/

leephillips··on They Live (1988) inspired Adblocker
Hilarious because it never ends.
leephillips··on They Live (1988) inspired Adblocker
He’s had that in place for years. Yes, it’s special treatment for visitors from HN.
leephillips··on Unknowable Math Can Help Hide Secrets
This is pretty mindblowing stuff. And the presentation, although necessarily at a popular, schematic level, does a good job of making the ideas clear.
leephillips··on Show HN: Countries where you can leave your MacBook at a random coffee shop
My first day in Japan (early 90’s) I was in a train station in Tokyo. A suited businessman waiting in a long line put his briefcase on the floor and left the line for a few minutes. He returned to his spot with a newspaper. The case was still there. He had not looked around nor displayed any doubt nor hesitation. Nobody reacted or noticed.

I was born and raised in New York City. This was science fiction to me.

leephillips··on Making Julia as Fast as C++ (2019)
And yet Julia is used for large-scale simulations on giant HPC machines and Rust is not.

Recent versions of Revise let you redefine structs in the REPL.

You are not forced to use the REPL, ever. It’s a fantastic convenience, however.

My dev workflow is to write my code in Neovim, sometimes with a REPL attached to the editor to try out code snippets. I don’t need or use LSPs. I do enjoy the Aerial plugin, which pops up an outline of my code for easy navigation.

leephillips··on Do I just forget everything I've learned?
You are more fortunate than you can possibly understand right now, because you’re asking yourself these critical questions at the perfect time. Almost no one worries about these things until it’s too late; but because you are worrying about them now, you will have a richer life.

I got my B.A. in 1980. Life is full of regrets for everyone, but some of the things I regret the most are skills and knowledge that I allowed to decay and disappear. I used to be able to carry out rudimentary conversations in French, but, from disuse, no more.

Yes, it is absolutely worth knowing chemistry just for the sake of knowing it (and I say this as a physicist who never liked chemistry). As you know, it takes sustained, active effort to really learn anything about a subject, but, without some kind of knowledge maintenance, that knowledge will disappear over time without you even realizing it. Keep your textbooks (do colleges still use textbooks?). Make an outline of the subject and the parts that you don't want to forget. Make flashcards (I use Anki) with facts that you want to keep in active memory. Periodically, for the rest of your life, consult your outline and refresh your understanding of the subject, through your textbooks or any online resources that seem useful. Have conversations with people interested in chemistry or anything else that you want to keep alive in your brain.

The advantages surpass “for the sake of knowing it”. All of human knowledge is connected in a vast web whose nature we can barely see. If you maintain your knowledge of everything you have learned, you’ll eventually able to see some connections that neither you nor anyone else can imagine now. This, increasingly, is where new knowledge is created: at the boundaries between what we believe are separate disciplines.

More fundamentally, it feels good to know things, and to see the connections among things. Do it for this pleasure.

leephillips··on Your Terminal Is Burning Battery Like It's Mining Bitcoin
I‘m not sure I understand the question. Some people use similar kinds of sessions in terminal multiplexers such as tmux (is that what you have in mind?), but this leads to problems (interpretations of key sequences, etc.) that the Kitty solution sidesteps.
leephillips··on Your Terminal Is Burning Battery Like It's Mining Bitcoin
Aside from its well-known features, such as displaying images directly in the terminal over ssh, I use it to create TUI applications. The application is a saved Kitty session, with a defined arrangement of windows. Each window runs a specified program, and communicates with the other windows over a Unix socket. Kitty has a convenient tool to create these sessions. Once created, I can start the session-application like any other program. The sessions are defined in a text file, so I can edit it to adjust the window arrangement or other details.

I also use its shell integration features, such as putting the scrollback into a pager, constantly.

leephillips··on Your Terminal Is Burning Battery Like It's Mining Bitcoin
I don’t use MacOS or Claude Code, but I do use Kitty terminal on Linux, which the author suggests has the same issues that plague him using Ghostty.

Kitty is a magnificent piece of software that has radically enhanced the interface between me and my computer. And it does this while consuming negligible resources.

leephillips··on Quarkdown – Markdown with Superpowers
I agree with your preference, also largely because of filters. But note that the intermediate format is Pandoc’s internal abstract syntax tree, not JSON (https://lwn.net/Articles/1064692/).

The older filter mechanism acted on a JSON serialization of the AST, but the current recommendation is to use Lua filters that work with the internal AST directly.

leephillips··on Quarkdown – Markdown with Superpowers
By “The HTML generated by LaTeX” do you mean by latexml (the tool used, I think, by arxiv) or something else?
leephillips··on Quarkdown – Markdown with Superpowers
Almost nobody uses TeXmacs it because those who might be interested need LaTeX and its packages. This is not LaTeX. (In the future these authors might all be using Typst, but not this thing.)
leephillips··on Quarkdown – Markdown with Superpowers
Everything you say is true, although Typst is making slow headway¹.

Also, it’s possible, using some Pandoc magic², to enjoy aspects of Typst markup while generating a LaTeX document.

1 https://lwn.net/Articles/1037577/

2 https://lee-phillips.org/typstfilters/

leephillips··on Show HN: leaf – a terminal Markdown previewer with a GUI-like experience
Glow is also an excellent markdown viewer for the terminal, and it’s in most repositories.
leephillips··on Make Tmux Pretty and Usable (2024)
Recent versions of Kitty have sessions. https://sw.kovidgoyal.net/kitty/sessions/
leephillips··on CIA used "long-range quantum magnetometry" called "Ghost Murmur" in Iran
It is. One of the first magnetocardiographs was of my heart, because I happened to be in the basement when my fellow graduate students were looking for a subject (I’m a theorist and wouldn’t be allowed to actually touch anything). They used a SQUID that cancelled out the Earth’s field and its gradient; the sensor was close to my skin but not touching it.
leephillips··on Neovim 0.12.0
Not really. That’s what I do.
leephillips··on Scientific audio equipment analysis with analyzer shows no difference in quality
There is a critical difference with audiophiles: they suffer from a superstitious belief that their expensive cables and so forth actually make their systems sound better.
leephillips··on Firefox introduces Split View: Two tabs side by side, right where you need them
I get this with any browser, with DWM + fullscreen mode.
leephillips··on Is anybody else bored of talking about AI?
I’m certainly tired of hearing about it. HN is inundated by repetitive, boring AI articles. This helps a bit I think: https://hn-ai.org/.
leephillips··on Chuck Norris has died
We all do. That’s the only way you can do a pushup.

It would be more impressive to say that when Chuck Norris does pushups, he violates conservation of momentum and the Earth does not move.

leephillips··on 'I am blown away by it,' Ex-Windows Chief calls MacBook Neo 'paradigm-shifting'
Yes. It’s nearly unreadable.
← PreviousPage 4 of 34Next →