HackerTrans
トップ新着トレンドコメント過去質問紹介求人

hibbelig

no profile record

コメント

hibbelig
·9 日前·議論
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.
hibbelig
·先月·議論
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.
hibbelig
·2 か月前·議論
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.
hibbelig
·4 か月前·議論
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.
hibbelig
·5 か月前·議論
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.
hibbelig
·5 か月前·議論
Telnet was available in the 90s. I reckon /dev/tcp is way more recent. GP did say a long time ago.
hibbelig
·8 か月前·議論
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.
hibbelig
·8 か月前·議論
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.
hibbelig
·5 年前·議論
> So the massive drawback of fish is it's incompatible with bash (and other shells people use).

This drawback is also its advantage, as it doesn't need to repeat all the Bourne-ish problems. (You seem to like this :-), just pointing it out for the others.)

I think people who are interested in how they use the command line will not have a problem to learn two shells, fish for the personal use and something Bourne-ish for scripts that might run on other machines, or by other users.
hibbelig
·5 年前·議論
They could have written "Fish the shell" to disambiguate from "fish the animal" and nobody would have complained. But they left out "the", and now it's redundant?

Isn't it funny how the mind works?
hibbelig
·7 年前·議論
I apologize for being dense. Are you saying that informed people will advise against health? I think you meant something different but I’m too dense to understand.
hibbelig
·7 年前·議論
> What can you accomplish with goto that you can't accomplish with try/catch and custom errors?

You can program in C. C doesn't have try/catch...