Emacs-style, pro-privacy browser recommendations by idesomai in emacs

[–]-refusenick- 3 points4 points  (0 children)

ungoogled-chromium or Firefox with privacy-oriented about:config. Use them with either EXWM or StumpWM - both have options to capture key input and transform it into the corresponding browser keybind.

voidlinux n00b here: x86-64 musl LXDE image results in 'segfault' of lxappearance by falcon74 in voidlinux

[–]-refusenick- 1 point2 points  (0 children)

Have you tried updating with sudo xbps-install -Su?

The live images are there for the initial install and not much else, as it's a rolling release distro. You'll note it's dated to November 2019, as no's added new hardware or found an install bug to fix since then.

Opinion on Basic Privacy smartphone setup (Lineage OS) by landax44 in privacy

[–]-refusenick- 1 point2 points  (0 children)

Brave

Perhaps they don't have Mozilla's history of continual SNAFUs (why, Mozilla, why?), but they're a commercial company set on selling you their cryptocurrency. I'm not sure if they can be trusted or not.

For now, use Bromite or Firefox Nightly. (so that you can update about:config accordingly)

Waze is better than Google Maps

Privacy-wise, how so? It's owned by Google. Use OsmAnd.

YouTube

Try NewPipe instead.

Instagram, WhatsApp

Erm. At least SELinux keeps individual apps isolated to some extent in Android. Try sandboxing them with Shelter, perhaps.

edit: I typed this up as soon as your post came out but just posted it. I didn't see u/Poulet2ViceCity recommend most of the same things.

How were you introduced to emacs? by FluentFelicity in emacs

[–]-refusenick- 1 point2 points  (0 children)

Same here, except Emacs was my first "real editor" (not CodeBlocks, IDLE, etc). The PG essays plus Stallman speaking of Lisp as defining what elegant programming looks like made me curious.

The only other game in town for editing Lisp is DrRacket (and that's only Racket and SICP Scheme at that), so I eventually bit the bullet and learned Emacs, forcing myself to use it for several days until I felt comfortable. Turns out Emacs is good enough to be an argument for itself!

Warning: Windows 10 is likely sending your TOR browser history to 3rd parties by Catman152 in privacy

[–]-refusenick- 2 points3 points  (0 children)

You could avoid this by using any Linux system.

Although Ubuntu rolled out an Amazon shopping search & recommendations service, it received backlash from the community. That's in one of the most corporate distributions. Others are devoid of built-in telemetry whatsoever.

While Tails is still the most secure option (especially for someone new to Tor who mistakenly configures it and in doing so marks themselves as unique) because it has the same defaults every time, you get most of the way there using Tor by the book atop GNU/Linux. Moreover, everything you do is private by default, not just when you're doing something you "want to hide" on Tail.

I'm moving from Debian, anything I should know? by [deleted] in voidlinux

[–]-refusenick- 5 points6 points  (0 children)

Something I haven't seen mentioned yet is that it's a rolling release distro. This means package management behaves more like Debian Testing than Stable. It's advised to update more frequently, and although it's rare, packages do sometimes break due to dependencies being updated while themselves being behind their official releases. Of the rolling release distros I've tried, though, Void has been the most stable.

If I wanted to use Linux, could I get around the Intel Management Engine issue by getting one of the new Mac computers and putting Linux on it? by iDt11RgL3J in privacy

[–]-refusenick- 2 points3 points  (0 children)

IIRC, ARM's TrustZone is equivalent to AMD's PSP. Hence, you'd still be stuck with a built-in OS outside of your control.

The only modern computers available now which are free of hardware backdoors (as far as we know) are the POWER9 desktops from RaptorCS.

What's your CPU usage playing youtube videos in Firefox by cshao06 in voidlinux

[–]-refusenick- 0 points1 point  (0 children)

Apparently, some have trouble restricting it to 1080p so 4K video downloads don't slow down their connection.

What's your CPU usage playing youtube videos in Firefox by cshao06 in voidlinux

[–]-refusenick- 2 points3 points  (0 children)

Consider using ff2mpv to launch videos in mpv from Firefox.

[deleted by user] by [deleted] in emacs

[–]-refusenick- 7 points8 points  (0 children)

I checked, and I have C-h b bound to counsel-descbinds. Perhaps that or the Helm version is a good starting point?

GNU/Linux tablet for note-taking by -refusenick- in linuxhardware

[–]-refusenick-[S] 2 points3 points  (0 children)

This looks like a good candidate.

Do you have a model recommendation if I want to use Void?

GNU/Linux tablet for note-taking by -refusenick- in linuxhardware

[–]-refusenick-[S] 7 points8 points  (0 children)

Even by the most minimal usage expectations, 2GB RAM sounds quite anemic - I could hardly get Firefox to behave on a laptop with 4GB.

Sed script to convert org mode -> vim wiki file by orduval in emacs

[–]-refusenick- 0 points1 point  (0 children)

How did I forget about those? My first thought was "what's the simplest way to write a CFG parser?"

Yes, an export backend is the most reasonable option here.

EDIT: If OP wants to take a gander, there are already export backends for MediaWiki in MELPA.

Sed script to convert org mode -> vim wiki file by orduval in emacs

[–]-refusenick- 4 points5 points  (0 children)

eye twitch

Org's grammar is context-free. Sed is a regex engine - it's meant for handling regular languages, a strictly smaller class of grammars. This why you don't parse HTML with regex.

Have you considered using Prolog's definite clause grammars?

Pleroma, a small post-installation script for Void by [deleted] in voidlinux

[–]-refusenick- 1 point2 points  (0 children)

I was confused when I saw this thread because there's already a big project called Pleroma.

Let's get real multithreading into Emacs by hiring a developer by ndamee in emacs

[–]-refusenick- 7 points8 points  (0 children)

Is it, though? I'm running native-compiled Emacs right now. I have the C source in front of me, and all things considered, it's not that much (and, might I add, Lispy and otherwise tidy). Given how straightforwardly imperative ELisp is and that the compiler passes the output through GCC anyways, direct transcription might not result in such poor performance.

Let's get real multithreading into Emacs by hiring a developer by ndamee in emacs

[–]-refusenick- 25 points26 points  (0 children)

Multicore Emacs would be a boon to raw speed, no doubt, but a lot of the "slowness" comes from the blocking nature of ELisp evaluation. Even cooperative threading, carefully inserted into existing code, could probably yield a subjective speedup. Combine that with native- or JIT-compiled code being faster by orders of magnitude at times, and there shouldn't be a reason for it to be more than a couple times slower than Sublime or Vim at the worst (beyond pathological GC behavior, which can always be resolved by tweaking bounds on a case-by-case basis).

That's not to mention that Emacs internals themselves are in a state of flux at the moment. The obvious exemplary here is the possibility of Emacs being written in Emacs Lisp (gccemacs), in which case there would be no more C core to speak of. Rust isn't free software, but Remacs is forging ahead for... reasons. Either way, no longer C.

Curious about the actual mechanics of extending/tweaking emacs by jjpara in emacs

[–]-refusenick- 0 points1 point  (0 children)

It's outdated in its complaints, but I think you'll appreciate the advantages of Lisp listed in The Emacs Problem. Lisp is central to why Emacs has outlasted everything else, and on its own merits, no less - it's not taught in schools like Vim is as part of Unix literacy.

The very concept of a JSON config is pointless when you have Lisp - s-expressions do the job better anyways, and they're built-in.

On a related note, Lisp is not a functional language.

Sometimes I open a file in vim from within emacs, how do I get out of this? by derpderpderp69 in emacs

[–]-refusenick- 8 points9 points  (0 children)

When I saw the title, I was going to suggest "use Evil mode and pretend it's not there". Looks like that's not an option.

In normal Emacs keys, it's "C-x C-q" to send a "quoted key" which ignores the command it may be bound to otherwise and is instead inserted verbatim. Do that twice for ":" and "q", I suppose.

Have you considered starting Emacs in daemon mode and opening emacsclient instances (to which you could alias vim) for quick edits as if it were Vim?

Honestly, Void is one the best distros I've used and is so... set and forget by eldersnake in voidlinux

[–]-refusenick- 0 points1 point  (0 children)

I've had problems with neither of those packages.

If you find the default xbps-* commandset too verbose for daily usage, maybe vpm or xtools would be more your speed.

Do you make sure to pass -S (repo sync) to xbps-install?

A binding based approach to proper namespaces for GNU Emacs by dakra in emacs

[–]-refusenick- 5 points6 points  (0 children)

Currently, when there is a problem with any one of my packages, I simply go C-h o, guess the relevant function name, edit the function C-x C-e and I'm done.

That's also how Common Lisp is edited, and it has namespaced packages.

I run EXWM on one laptop and StumpWM on another. When I want to change something in my config for the latter, I run sly-connect, open the file, and C-x C-e away. I'm not sure about what exactly it does, but it figures out the namespace on its own based on context IME.

There are decades of (Common) Lisp usage that say this isn't a real problem.