## A Rant on Redis

Posted Sat 14 December 2013 14:53 under category tech

It's been a while since I posted, and I've been spending a lot of time fighting with Redis, one of the darling databases of the NoSQL era, at work, so I thought I'd grace y'all with a brief rant on Redis, what it's good at, what it's bad at, and so on.

### What is Redis?

Redis is an open-source moderately-structured in-memory key-value store. This means that, unlike full relational databases, it doesn't have a fixed schema, and it can't perform server-side operations like joining and filtering data1, and theoretically it's ...

## Serious question about urban planning policy

Posted Fri 26 July 2013 10:30 under category politics

Skye retweeted an article today which made me realize that I really don't understand something: what do people who are profoundly anti-gentrification want? The argument that I see usually goes like this:

1. Rich people are moving into a traditionally mixed neighborhood
2. The big spike in demand drastically drives up rent
3. "Normal" folk can't afford to live there (usually "normal" is defined as "poor and racially diverse", sometimes it's instead defined as "people who've lived here longer than these whippersnappers")

I generally agree that a lack of diversity is bad but, uh, what's ...

## BART strike remarks

Posted Wed 03 July 2013 16:45 under category politics

This post is primarily a response to the article on the BART Strike from The Nation that seems to be making the rounds on Facebook, Twitter, and all of the other blagoblag echo chambers. I've adopted this post from a Facebook message conversation I had, so it might be a little strangely-phrased. I apologize for any inaccuracies, I do not speak for my employer, and all of that necessary prelude.

I found the Nation article on the BART strike this week frustrating and inaccurate and, because someone is wrong on the Internet, I had to write a response. The BART strike is one of the more visible bits of organized labor work in the last few years, and it makes me embarassed as a stereotypical liberal that those defending to it are doing such a bad job. If the union is striking for more money, then say that. But don't misrepresent statistics to justify it. And if the union is striking for other reasons, then it would be lovely as a Bay Area resident and news-reader to know exactly what those reasons are. This well-disseminated article is nothing more than one-sided, poorly-researched editoralism masquerading as news.

## GPG (2013 Update)

Posted Fri 14 June 2013 09:30 under category tech

In light of all of the hullabaloo about PRISM and other spying technology, I thought it'd be good to remind all of your dear readers that we've had the technology to ensure private communications on the Internet for 22 years in the form of Pretty Good Privacy (and the much-more-commonly-used implementation, GnuPG). Ars Technica had an okay article about e-mail encryption with PGP which I recommend reading, although you should keep in mind that most security professionals would consider infrastructural PKI like SSL and S/MIME to be compromised by nation-state-level adversaries (and all associated MIC contractors).

Anyhow ...

## Changes

Posted Mon 08 April 2013 00:05 under category personal

Hello dear readers. I just thought i'd give you a life update, since it's been nearly a year since my last post. In no particular order, some things that have happened since then:

• I've been dating a lovely young woman for the last eight or so months who actually gives me a reason to go home from work at the end of the day. Which is a refreshing change!
• I got some new musical instruments and computers and things (my custom shop '52 reissue tele is pretty much the most pleasant guitar I've ever played, even ...

## <3 sed

Posted Fri 27 April 2012 17:41 under category tech

I wrote a fun sed script today:

sed -E -n -e ':t ; s/(.{21})(.*)/\\bf\{\1\}\n\2/ ; p ; s/\\bf\{(.*)\}\n.*/\1/ ; h ; :q { n ; G ; s/(.{21})(.*)\n\1/\2/ ; tp ; s/(.+)\n.*/\1/ ; bt} ; :p { P ; bq }'


Short, but effective. Can you figure out what it does?

(solution after the break)