HackerTrans
TopNewTrendsCommentsPastAskShowJobs

hibbelig

no profile record

comments

hibbelig
·11 giorni fa·discuss
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
·mese scorso·discuss
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 mesi fa·discuss
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 mesi fa·discuss
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 mesi fa·discuss
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 mesi fa·discuss
Telnet was available in the 90s. I reckon /dev/tcp is way more recent. GP did say a long time ago.
hibbelig
·8 mesi fa·discuss
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 mesi fa·discuss
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
·2 anni fa·discuss
You may not be aware that it's a false friend. The German word Billion exists, and it means trillion.

So the German reader will read the English article (in English, not auto-translated), see the word billion, think “oh that looks familiar” and might assume it means the same as the German word Billion.

Machine translation makes quite a few mistakes, so I think if you have some decent knowledge of a language, you might be better off reading the original rather than a machine translation. At least my point of view from a couple of years ago. But it's also possible that machine translation has gotten WAY better in the last couple of years, I'm not sure.
hibbelig
·5 anni fa·discuss
> 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 anni fa·discuss
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 anni fa·discuss
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 anni fa·discuss
The IntelliJ dark theme is called Darcula. Nice pun.
hibbelig
·7 anni fa·discuss
Interesting! I always use Cmd-Shift-/, which focuses the search field in the help menu, and Ctrl-b and Ctrl-f do not escape from there.

But focusing the menu bar with Ctrl-F2 does indeed allow me to use Ctrl-f and Ctrl-b. And after hitting Return to open a menu, I can use Ctrl-n and Ctrl-p to navigate down and up.

Interesting.

I will have to try more, but I still think that there are places in macOS where Ctrl-b and Ctrl-f do not work, and I have to use the arrow keys, instead.
hibbelig
·7 anni fa·discuss
It’s not about the size for me. Sure the full height inverted T is easy to use. The half height inverted T also works. But the one that isn’t inverted T is difficult.
hibbelig
·7 anni fa·discuss
It doesn’t work in the menus for example. The cursor keys are still important.
hibbelig
·7 anni fa·discuss
The lady and right keys are easy. But up and down are difficult. With the half height left and right keys it’s easier to find the up and down keys. The down key is between left and right and the up key is an island (or a peninsula at least). Does that make sense?

I bought the last half height model when I upgraded my MBP 13”.
hibbelig
·7 anni fa·discuss
> 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...
hibbelig
·7 anni fa·discuss
GP loves the Messages integration in macOS and misses it on Linux.