Recent submissions

Comment · 1 month ago
I want a car that can trumpet melodiously.
Comment · 1 month ago
Doesn’t almost everybody cook? With boiling water?
Comment · 2 months ago
The point is that most websites have sidebars, but this one doesn't.

Let's say my preferred text width is 10 units. Due to sidebars, most websites require a browser window width of 20 units to show me 10 units of main text.

Then I visit this person's website and get text 20 units wide and it's very uncomfortable to read.

The text width I like doesn't change but the browser window width I need does change, and I don't want to change it when navigating around, to be honest.

I guess I could use the browser functionality to inject my own CSS rules for specific websites, then I could change the single-column no-max-width websites to show me a sensible text width.

But I also suppose that I'm not alone with this preference. I believe there have been studies about a suitable line length that is easy to read, and this is reflected in printed media. So those websites ask everyone to make such changes. That doesn't seem right.

Comment · 2 months ago
Making the browser windows narrow is a bad suggestion. Because most websites have some sort of navigation bar on the left and another bar on the right, so we need a wide enough window to get enough of the main text (width).

There are very few websites without those columns.

Comment · 2 months ago
Oh yes. I discovered that there are two scrollbars. By clicking somewhere in the blog text, you activate the inner one and then scrolling with the keyboard works.
Comment · 4 months ago
How's that going with the numbers? Microsoft had this page where they explained that monetary amounts are formatted one way whereas other numbers are formatted another way. I found that most fascinating, but I don't know whether it matches reality. Also, how does software cope?

(Back in the eighties,) I had a teacher who taught both French and geography (I think), and he used the apostrophe as the thousands separator. With a twist. For example, he would write three million as 3'000'000, and then he would abbreviate that to 3''. Very fascinating. I wonder if that was somehow inspired by Swiss conventions.

Comment · 4 months ago
I believe GNU Emacs was created in 1984 or 1985, and it's still going strong. I guess it's not easy to work on it due to the long history, but I understand it's been refactored as the developers went along.
Comment · 5 months ago
Recursion. Very interesting. My daughter didn’t know much about programming, then started CS. The first semester language was Ocaml and they of course used recursion quite heavily and she’d didn’t know it was supposed to be complicated. The second semester had assembly, C and Java and suddenly it was a problem. I had to remind her that she’s had already done it in the first semester.
Comment · 7 months ago
I used to be a fan of tiling window managers, but I found out that I tend to use fairly visually heavy apps on a Mac. By this I mean apps that need quite a bit of screen real estate to show everything that needs to be shown:

The mail program has a folder tree on the left, the list of messages in the center, and the current message on the right. The IDE has all these tool windows that need showing, in addition to the actual editor. Websites also like it if the window size is a bit more.

Back when I was using Emacs and xterm, mainly, it was nice to show Emacs in the left half and then two xterms on the right.

So instead of tiling, I've come to realize that I only need a couple of window positions and sizes: Mail program and IDE are full screen. The browser occupies 70% width and height, in the top right corner, and the terminal is in the bottom left corner, 200 columns by 44 rows or so. (Lazygit works better if the terminal is a bit larger.) The chat program is full height, 60% width, left edge.

In this way, while the IDE is building or running tests, I can summon the web browser and still see at the bottom and on the left what is the progress of build or test. Also, when I use the software through the browser, I can see a couple of lines of log messages, which is enough to tell me whether to switch.

So I'm now happy with hotkeys in Hammerspoon that reposition and resize the current window to one of these presets, and to jump to a specific app with a keypress. I use a modal for this.

I dig the idea of having multi-level modals, somehow this idea never occurred to me.

Comment · 8 months ago
I switched from screen to tmux due to rumor about the screen code base. Maybe not a good reason. But I don’t regret it, tmux works well.

Just an honest opinion of someone who didn’t have skin in the game. Not sure if it helps.

Comment · 8 months ago
Telnet was available in the 90s. I reckon /dev/tcp is way more recent. GP did say a long time ago.
Comment · 11 months ago
It sounded like something a screen reader would say to help visually impaired visitors. But I don’t actually have a clue what screen readers do say.
Comment · 1 year ago
For the keys you don’t need to type quickly, M-x can also be typed as ESC x. For any character x.

So it works well with M-|, but not so well with M-f, for example.

Comment · 1 year ago
Your parent explicitly said amd64 which is the same thing as x86_64. Perhaps you misread amd64 and thought it was saying arm64?
Comment · 1 year ago
I used to use tiling window managers on Linux, but I found out that my Mac usage contains lots of “graphical” apps that don't like to live in a quarter of the screen or something like that.

So I've embraced overlapping windows. I strategically place them so that the import parts are visible. For example, my IDE is full screen, but the browser is only 70% with and height or so (so that the left 30% and the bottom 30% of the IDE are visible, which conveniently lets me peek into the log of the currently running program.

I have a Hammerspoon configuration that conjures up a modal window on a keypress, and then additional keypresses move the current window to a predefined position and size, e.g. m to maximize and p for the top right corner (70% width and 70% height).

I also have some keybindings in that modal window to jump to an app, e.g. w for the browser, i for the IDE, t for the email client, space for the terminal.

I very very rarely manually move a window around, one of the preset positions/sizes usually works for me.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton