Thomas Tuegel

@ttuegel
11 Followers
31 Following
70 Posts
Haskell. NixOS. Physics.

Did you know birds sound like bats?
I actually am surprised this isn't common knowledge. One of our house used to be infested when I was a kid.

"It turns out bats (some bats anyway) sing — sing uncannily, spookily, like songbirds, with the trilling, the chirping, as if they were nightingales."
http://www.npr.org/sections/krulwich/2014/10/01/352586936/is-that-a-lark-i-hear-a-nightingale-surprise-its-a-bat

:bat: :bird:

Tired: "Clinton lost the election because of misogyny."

Wired: "Clinton lost the election because her campaign didn't resonate with the working class."

Woke: No campaign by Clinton could possibly resonate with the American working class, who revile the notion of a woman in power.

PRESENT PERFECT, PAST PERFECT, AND IMPERFECT ARE NOT INTERCHANGEABLE. :rage:
@mala @anildash @sarahjeong
"how do I solve Identity on the web?"
"I know, lets use Public Key cryptography"
"Now you have a Directed Acyclic Graph of problems"

With 500 characters, I can post useful snippets from #Emacs Wiki to Mastodon!

(defun unfill-region (beg end)
"Unfill the region, joining text paragraphs into a single
logical line. This is useful, e.g., for use with
`visual-line-mode'."
(interactive "*r")
(let ((fill-column (point-max)))
(fill-region beg end)))

Now all we need is a bot that scours the fediverse for definitions and publishes them to MELPA automatically! :grinning:

Emacs tip for academics:

Org-mode + BibTeX code blocks = Annotated bibliography.

#emacs

The latter point gave me hours of frustration. Trying to decode the buffer back into itself produces no error, it silently does nothing. 🙄

Emacs Lisp tip:

1. url-retrieve ignores the Content-type header, specifically the charset. The buffer is not decoded at all, as far as I can see.

2. You cannot decode *within* the buffer url-retrieve gives you, but you can decode the buffer (or better, the body of the response) into *another* buffer.

I still don't really get the ramifications of the Mastodon federation model, but I also feel like figuring that out already represents too much of conversation here.