Skip to content

Instantly share code, notes, and snippets.

@taoeffect
taoeffect / Great Editor.md
Last active February 20, 2026 22:31
How To Build A Great Terminal Editor That Is Better Than Emacs and VIM

How To Build A Great Terminal Editor That Is Better Than Emacs and VIM

Everyone has their opinion. This is mine.

First, building an editor that is better than VIM is quite easy: avoid VIM and modal-based editing.

Why Modal Editing Is Wrong

Perhaps I'm an alien, or perhaps VIM users are aliens, but there is no reason for modal-based editing.

// r (4856-e156f4edcc8c53af.js:16)
// requestAnimationFrame
// (anonymous) (4856-e156f4edcc8c53af.js:16)
// periodicallyClear (3fec4828-4888b3807c1527b1.js:1)
// (anonymous) (3fec4828-4888b3807c1527b1.js:1)
// r (4856-e156f4edcc8c53af.js:16)
// requestAnimationFrame
// (anonymous) (4856-e156f4edcc8c53af.js:16)
// periodicallyClear (3fec4828-4888b3807c1527b1.js:1)
// (anonymous) (3fec4828-4888b3807c1527b1.js:1)
"use strict";
(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([[1362], {
11492: function(t, e, r) {
let n, s, i, a, o, l, d;
r.d(e, {
U: function() {
return rR
}
});
var u, h, c, p, g, m, f, _, y, I, b, C = r(30979), w = r(2467), v = r(79339), S = r(91267), A = r(45144), E = r(79114), k = r(37101), R = r(52074), T = r(16796), x = r(12022), M = r(35567), N = r(41430), D = r(14212), O = r(31470), U = r(2728), B = r(37513), L = r(58902);

The NSA-Activist Duality ☯

The Activist wants to protect people, but in doing so acknowledges their methods also protect bad people.

The NSA wants to protect people, but in doing so acknowledges their methods also harm good people.

@taoeffect
taoeffect / Espionage.dmg.sig
Created January 22, 2025 18:55
Espionage 3.7.4 signature.
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEgYtgnomHliYDCUth7GcgK+kJUkcFAmeQb9MACgkQ7GcgK+kJ
Uke5YhAAndIC+z/lZ49tnMIhYNimPemONmZlpHBjdyipj9vk3GTDx6e95ikiNYc6
DJx+7Aq1u2rIAGlmRvJSXmUrDLnTLpLjgYwFvVk/lJsVyoGwuyEI5PAcoNT0dvHh
6QtBdwE8wE6YW4pZ4urXOMe1TKGnEinjgTK46EN4bIdMUQhurXqE3go03VZhyfIm
RgBRMBDOAvOozeLF6F740B+RFaw/SSOF9hYZwtNvJKgILmWe0+/sC5HCAiNrSF6a
z2uT8NyL9ReKyzQ1VIIEn/We3cE/ojHw+E9jrOMnwcg/Jbdf2Kut45QV6ZEtW6GY
P9VjFetxtWcWAF4VXtZ/ikWMIgCaK5px/6mk4MQ5CfUkNxFAEa05TzBDOLzKaOBn
d1EWsErEOn65O0Hlk7ZVhjfxNzCFm7Av1olMSXstqoH1c0dFNlC3TcniqQVYu6uc

Understanding "Great Artists Steal"

When I first heard Steve Jobs quote Picasso saying, "Great artists steal", I didn't fully get it.

Today, decades later, while exploring various Nostr clients, I think I finally groked what he meant by this.

I had been raised to think, "stealing is bad", and indeed, it is bad. My position on that hasn't changed.

But what I understand now is that when it comes to great ideas, we sometimes have no choice but to steal them.

@taoeffect
taoeffect / federation.md
Last active July 18, 2024 03:58
What is "Federation"?

What is Federation?

I've tried to find a good explanation online to help me explain what it means for Shelter Protocol to be a federated protocol, but I can't find a simple definition anywhere! Even Wikipedia does a lousy job:

federation-wiki

So let's define it here in a way anyone can understand! 😄

Federation means designing software to use a federated protocol (defined next).

On Short Labels

Whether it's because of websites like Twitter, with its limit on character counts, or whether it's something else, the use of short labels is astonishingly common online, in both tweets and headlines.

What do I mean by "short label"? Things like:

  • Democrats
  • Republicans
  • Liberals
  • Conservatives

Thoughts On Stallman Drama

I find it’s often the case that behind instances of mass-stupidity there is great “intelligence” at work.

For example, why would a mob call Stallman (of all people) “racist”, “sexist”, “transphobic” and a “pedophile”? I could be wrong, but AFAICT he is none of those things, and the mob provided no supporting evidence.

I’m not denying the claims that Stallman might have clumsily attempted to date younger women, or that once he absent-mindedly ate something off of his foot during a lecture, or that people claim he pointed and shouted (in jest) "A GIRL!" during a male-dominated conference. You've probably done odd things too if you've lived long enough. None of those past behaviors seem to warrant (to me) the massive outcry and demand for his ostracization and ouster from the board of the FSF. And it's been categorically debunked by multiple people that he ever, in any way, defended Jeffrey Epstein. He very clearly called for him to be punished and imprisoned.

It’s interesting t

PoW vs PoS - Environment and Security

Date: Jul 21, 2019
Updated: See Github revisions timestamps

In questions sprouted from this thread: https://twitter.com/taoeffect/status/1151941939157012480

I copy them here into this gist in the hopes that it will serve others and so that in the future I have something I can link people to. My thanks to @Jehan for the opportunity to put my thoughts on this subject into a somewhat easier-to-read medium.

I've always had trouble understanding the narrative that the owners of huge