Jonathan Lethem on the impetus for his new short story:

What would it be to think you’ve gone about halfway, or not even halfway, down some irreversible ethical path, then got stuck there?

Posting JSON via curl

Authenticate (by digest) and POST JSON from the command line using curl:

curl -i -X POST -H 'Content-Type: application/json' -d '{"name": "The Wind Rises", "year": "2013", "rating": "5"}' --user username:password --digest http://localhost:3000/api

Digital Witness

The new St. Vincent album is out at the end of the month, and I’m loving what she’s released so far. This one’s been on repeat in my head for a couple days now.

Responsive YouTube

YouTube embeds don’t always play super-well with responsive layouts. This StackExchange thread has a nice solution. In the stylesheet:

.videowrapper {
	float: none;
	clear: both;
	width: 100%;
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 25px;
	height: 0;

.videowrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

And within a responsive element on the page:

<div class="videowrapper">
  <iframe src="funvideo"></iframe>

And now you can spend five minutes resizing your window over and over, if you’re anything like me.

A festival of links

NC Literary Festival 2014 Lineup
The author lineup for April’s North Carolina Literary Festival is fantastic. Karen Joy Fowler, Junot Diaz, Peter Straub, and many, many more. I’ll be going if at all possible; anyone near the Triangle should give it a look.

Hello Ruby by Linda Liukas
A Kickstarter for a lovely-looking children’s book that teaches the basics of Ruby programming, from a co-founder of Rails Girls. Seems warm and playful and genuinely kid-oriented, which is really cool to see.

Ruby art by Linda Liukas

Horrifying Business Cliches We’re All Tired and Terrified of Hearing

“Let’s make sure that our bases will touch. I will touch your base to my base.”

“Together, we will all circle back. The circle will be mandatory, and it will never end.”

“You are the Thought Leader; you must lead our thoughts.”

Now you must bear the key takeaway. We have taken the key away and entrusted it to you. We only hope we will not Regret Our Investment.