Stage Fright

Giving presentations at work has made me realize something.

I don’t actually have stage fright.

I’m simply afraid of not knowing what the fuck I’m talking about in front of other people.  It happens more often than I care to admit.

I’m perfectly able to get up and talk IF I know the subject, have some idea of what I’m going to say, and have something (anything!) to refer back to in order to help keep me on point.  Like a PowerPoint presentation, or an index card.

All these years I thought it was stage fright that gave me the dry mouth and jitters.  Now I realize that I rarely know anything about anything, and have less to say about anything, and that’s what made me nervous.  Who knew.  (Obviously not me, hardy har.)

vim, screen, and bracketed paste mode

A little while back an update was introduced, somewhere, that has been driving me nuts.  I didn’t record exactly when it happened or what changed.  I suppose it doesn’t matter now.

The behavior wasn’t easy to pin down at first since it was the confluence of several things: 1) pasting 2) into vim while 3) using a non-xterm terminal like mate-terminal and 4) inside a screen session.

The behavior exhibits in several ways:

  • Pastes appear to be incomplete, or (more correctly) some number of characters at the beginning of the paste go “missing” and actually become commands to vim
  • Pastes are complete but they’re bracketed with \e[200~content\e[201~
    • some people report 0~content1~ instead, but it appears to be the same phenomenon

What’s going on?  It’s a feature called “bracketed paste mode”.  You can google it read up on it, it has some utility.  As far as I can tell it’s related to readline.  But more importantly, there is a fix.

Add this to your ~/.vimrc:

" fix bracketed paste mode
if &term =~ "screen"
  let &t_BE = "\e[?2004h"
  let &t_BD = "\e[?2004l"
  exec "set t_PS=\e[200~"
  exec "set t_PE=\e[201~"
endif

source: https://vimhelp.appspot.com/term.txt.html#xterm-bracketed-paste

In which my new hat is almost patriotic (just not sure for which country)

My knitting mojo is back! I guess the job was making me more nuts than I realized. So glad I found a new one!

I cast on Scopes again. I love the pattern, it is super easy, and it looks amazing. I wanted to use up stash yarn (I’m not quite SABLE, but it’s getting close). Found yarn that refused to be a Christmas stocking, and cast on.

Looking at my color choices later, with the big, bold stripes, I realized something.

“I think I’m making a flag hat by accident.”

Quinn, who is sitting next to me surfing Reddit, looks at the hat, and starts googling for flags with white, red and green.

Depending on where you are in the pattern, a case can be made for the flag of either Hungary or Bulgaria. I still love it. I’m just going to call it the Hungary Bulgarian hat on the project page. 😁

The soon-to-be Hungary Bulgarian hat.