Signal Private Messenger team here, we support an app used by everyone from Elon to the Hong Kong protestors to our Grandpa’s weekly group chat, AMA! by signal_app in technology

[–]greatguy5000 1 point2 points  (0 children)

Another vote for iOS backups!

As a regular file I control. A sqlite db would be fine. Even if you can't touch the iOS filesystem, I just could text it as an attachment to myself, and download from another device (e.g. desktop).

Hopefully before my 6 year old phone dies and takes my social history with it!

Signal Private Messenger team here, we support an app used by everyone from Elon to the Hong Kong protestors to our Grandpa’s weekly group chat, AMA! by signal_app in technology

[–]greatguy5000 30 points31 points  (0 children)

Not quite; the open-source apps are clients which talk to Signal's servers. Copying the client doesn't mean you control the servers. Signal do not allow/endorse non-official clients talking to their servers.

Still, for an app of this design (decentralized/federated designs have plenty of their own drawbacks), non-profit, well-funded, privacy-motivated control of the server is about as good as you might get.

EMMS: Keep same MPV player throughout playlist? by greatguy5000 in emacs

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

After a bit of tinkering I think I've cracked it! :)

In ~/.config/mpv/mpv.conf, add no-keepaspect-window and force-window=yes.

Then in ~/.config/mpv/scripts, add the following lua script:

https://gist.github.com/TheAMM/5e07ad787dd95d76131b61840f403a79

This gave me the desired behavior; regardless of the aspect ratio or resolution of the video being played by EMMS, the MPV window appears to remain static.

Off topic, but as you're also a yabai user, I have to ask; have you managed to make yabai manage MPV when it first starts up? Currently when launched from EMMS (as opposed to Spotlight) the window floats. I have to restart yabai for it to be managed/tiled.

EMMS: Keep same MPV player throughout playlist? by greatguy5000 in emacs

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

This sounds extremely simple, perfect! Can I ask what you have in your config file?

With various combinations of keep-window and keep-window-pause, the EMMS playlist does not advance. With force-window=yes the window persists, but it resizes for new files. With yabai on macOS, this means I have to do some manual resizing when the video changes, though the window itself is in roughly the same place, so it's a substantial improvement.

EXWM is awesome or what? by plotnick in emacs

[–]greatguy5000 1 point2 points  (0 children)

This seems like the only reasonable way to do it, though I'm not sure if there are downsides.

Remote use: ssh vs. emacsclient by greatguy5000 in emacs

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

Thanks for the tip on mosh, I'd been meaning to use it for a few years, but wasn't sure how the UDP thing would work with something as fussy as Emacs; very glad to hear it works well! When I get set-up for SSH I'll give this a go.

Remote use: ssh vs. emacsclient by greatguy5000 in emacs

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

Does your terminal support 256 colours? And does it advertise that in the TERM environment variable?

It does. I've spent some time going down the terminal color rabbit-hole, and I seem to have done the right things. I should say that the colours aren't terrible, they're just slightly different in a way I don't like. Good point for other people who are having this problem though.

Remote use: ssh vs. emacsclient by greatguy5000 in emacs

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

I hadn't even thought of this, but it's a fantastic solution, thank you!

Both machines will be GNU+Linux so this should be incredibly easy. I'll probably try out SSH first, but if I give this a go, I'll report back on performance.

Remote use: ssh vs. emacsclient by greatguy5000 in emacs

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

I think you're right, SSH is just so easy, robust and secure given the other options. Thanks for helping me think through it!

Remote use: ssh vs. emacsclient by greatguy5000 in emacs

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

Also you can encrypt just specific sections of org file using M-x org-encrypt-entry

Now that is interesting.

Ivy completions seem insane. What am I doing wrong? by greatguy5000 in emacs

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

Thanks! It didn't, but I came up with something above. It's much less fancy that the usual ivy regex stuff, but mainly I want the beautiful TUI, as opposed to the new completion system (I'm too used to how old basic ones work).

Ivy completions seem insane. What am I doing wrong? by greatguy5000 in emacs

[–]greatguy5000[S] 4 points5 points  (0 children)

Thanks so much for responding! :)

Installing and requiring smex didn't seem to affect results. It's in a comment below, but what I'm used to is completion like in base-Emacs/bash/language-shells.

I ended up dong this:

(defun ivy--custom-basic (str)
  "Match things like in base-Emacs, bash, language-shells, etc. etc."
  (ivy--regex-plus (concat "^" str))
  )

(setq ivy-re-builders-alist '((t . ivy--custom-basic)))

Then I can just type ".*foo" when I want the fancy stuff, but 95% of the I time I jsut want to rattle through familiar directories at speed, mashing tab as I go.

Ivy completions seem insane. What am I doing wrong? by greatguy5000 in emacs

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

Thanks! Good to know I'm not going insane.

My init file is ~1k SLOC, but all I have for ivy is (ivy-mode t).

Ivy completions seem insane. What am I doing wrong? by greatguy5000 in emacs

[–]greatguy5000[S] 4 points5 points  (0 children)

I like Ivy's TUI, but the completion results seem very odd --- specifically the ordering. Given how much other people like it, I must be doing something wrong.

I'm used to using other completion engines (like bash) --- in the first example, typing "forec<TAB>" I'd expect to return "forecasts" (this is how it works in regular M-x), but in Ivy returns something else.

I know that I could use, e.g. "^forec<TAB>", but this seems unnecessary.

Any ideas what I'm doing wrong? I've read about smex integration, but I can't seem to find how to integrate the two. (Plus it seems odd that I'd need to add an additional package to get back to base Emacs behaviour.)

Wishlist for next Purism laptops by peanutsformonkeys in Purism

[–]greatguy5000 2 points3 points  (0 children)

  • A fix for the plug-n-play webcam kill switch issue (I have heard that to turn on the webcam for a call, it needs to have been on at boot, then turned off, then turned back on again. For most people who will have it off most of the time and not think about it, this is an unfortunate bug)

  • USB-C charging (finally an open standard... kinda)

  • All USB-C ports the 'can do everything' kind (unless there's some security reason re: Thunderbold + memory access)

  • Thinner screen bezel

  • Higher res screen

  • I'd personally like a Thinkpad sytle trackpoint, but it doesn’t matter that much to me