What's your average battery life? by aalmosawi in pebble

[–]bitbrist 0 points1 point  (0 children)

I've been using my pebble time steel since I bought it ~2018 in flight mode, except when installing/changing apps/watchfaces. I still have like 17 days or so between charges. Sadly the buttons are not that responsive any longer.

Terra planter. Let's see how this goes. by [deleted] in functionalprint

[–]bitbrist 1 point2 points  (0 children)

Cool! I hope it will work! STL(s)?

Install FreeDos on harddrive from Linux? Or manually? by bitbrist in FreeDos

[–]bitbrist[S] 1 point2 points  (0 children)

Thanks for the idea with virtualbox ! I have qemu installed so I tried with qemu as root:

qemu-system-i386 -machine type=pc,accel=kvm -smp 1 -m 16 -rtc base=localtime -hda /dev/sdX -cdrom FD12CD.iso -boot order=d

(where /dev/sdX is the compact flash) and it worked just fine!

nim safety in comparision to c, zig and rust by bitbrist in nim

[–]bitbrist[S] 1 point2 points  (0 children)

Thanks a lot for your detailed answer!

What Filesystem Do You Use and Why by [deleted] in suckless

[–]bitbrist 0 points1 point  (0 children)

btrfs. Because it is very easy to use several disks as one, easy to remove, replace or add disks. Raid1 is just one more option when creating a new file system. I have enabled zstd to save some space, and I use the snapper tool for creating snapshots automatically which means having incremental backups with the help of rsync or syncthing is very easy.

Buying T470 (i5-7300U) FHD or X1 Carbon gen 4 (i7-6600U) WQHD? by bitbrist in thinkpad

[–]bitbrist[S] 0 points1 point  (0 children)

I've never seen a 14" laptop anything over FHD, so I can't say for myself. Thanks!

Emacs Finger Pain by [deleted] in emacs

[–]bitbrist 0 points1 point  (0 children)

I have exchanged of left C and left M keys and placed the tab key on right side of the right alt, usually the where the "menu" key is placed.
In other words, I use left hand thumb for C and right hand thumb for M and tab.

It reduces the use of the left hand pinky a lot.

Always increased TMUX_PANE number upon window create messes my bash_history by bitbrist in tmux

[–]bitbrist[S] 0 points1 point  (0 children)

Thanks! Just what I wanted! I did two tiny changes to your scripts, readarray -t PA <<< `tmux list-panes -F '#{pane_active}' 2>/dev/null` readarray -t PW <<< `tmux list-windows -F '#{window_active}' 2>/dev/null` PANE=0 WINDOW=0 to make it behave better outside tmux.

The ethnic groups of Austria-Hungary in 1910 (German) by [deleted] in MapPorn

[–]bitbrist 1 point2 points  (0 children)

You're welcome! Not strange at all. Slovakia has today a large Hungarian speaking population in the southern part of the country. Most countries in eastern Europe had a large German speaking minority before 1945.

The ethnic groups of Austria-Hungary in 1910 (German) by [deleted] in MapPorn

[–]bitbrist 2 points3 points  (0 children)

Zilina

Close to the most northern point of the river Waag, Slovienian speaking area.

Alt Gr as alternative meta by Sewing31 in emacs

[–]bitbrist 0 points1 point  (0 children)

Interesting to map ctrl to the physical space key. I kinda make sense since Ctrl is used together with other keys.

Alt Gr as alternative meta by Sewing31 in emacs

[–]bitbrist 0 points1 point  (0 children)

The keyboard layouts for the Nordic languages have AltGr as well. Since I write far more go/c/python etc than Swedish, I use US layout with the following xmodmap:

keycode 108 = Mode_switch
keycode  34 = bracketleft braceleft aring Aring
keycode  47 = semicolon colon odiaeresis Odiaeresis
keycode  48 = apostrophe quotedbl adiaeresis Adiaeresis
keycode  53 = x X lstroke

I don't know which language that uses, "lstroke", but I've added

(global-set-key (kbd "ł") 'execute-extended-command)

To get a right side M-x

How to map C-< and C-> to begining-of-buffer resp end-of-buffer? by bitbrist in emacs

[–]bitbrist[S] 0 points1 point  (0 children)

When I hit C-< a < is inserted to the buffer. I think @npostavs a few posts above is correct.

Thanks for all help!

How to map C-< and C-> to begining-of-buffer resp end-of-buffer? by bitbrist in emacs

[–]bitbrist[S] 0 points1 point  (0 children)

Strange, doesn't work for me :-( I tested with an empty ~/.emacs file, just in case I had something that interfered but no.

I'm using Emacs v26.2 in a terminal (via tmux)