What is Emacs?
Emacs is a very nerdy text editor/email program/development suite/nuclear reactor.
It’s ugly and weird and hard to use because it dates back to a time before computers had mice. But for that same reason, it has amazing tools and shortcuts for rapidly editing and moving through text with only your keyboard.
Mac OS X has always had some of these shortcuts baked in. For instance, type Ctrl+e in an OS X text field and the cursor will jump to the end of a line. Type Ctrl+k and everything between the cursor and the end of the line will be deleted (this is crazy useful when editing; I suggest trying it out).
I learned these shortcuts for convenience sake a few years back, but recently the trackpad on my Macbook Pro died and I was forced to turn to them full time. The problem is that by default, OS X only allows you to use a few select Emacs shortcuts that utilize the ctrl key. Many other powerful Emacs shortcuts are unavailable (including every shortcut that uses the alt key, referred to as the “meta” key in Emacs lingo).
But you can change this.
Changing Mac OS X Key Bindings
These directions are adapted from this excellent 2006 article by Jacob Rus and this excellent 2011 post by Brett Terpstra.
- Create a folder named “KeyBindings” in the ~/Library directory.
- Download this DefaultKeyBinding.dict zip file.
- Unzip the files and place the DefaultKeyBinding.dict file into the newly created KeyBindings folder.
Now as soon as you restart any running apps, you’ll have access to an insanely powerful list of keyboard shortcuts in almost every Mac OS X application.
You can do crazy powerful things like uppercase words with Ctrl+U or copy entire paragraphs instantly by typing Alt+y. You can move paragraphs using only your keyboard (Ctrl+Command+K) or delete trailing whitespaces off a line (Ctrl+Alt+Right Arrow).
These key bindings will be overkill for most people, and they may even break a few shortcuts on your computer, but the possibilities are incredible. You can even customize them yourself by editing the DefaultKeyBinding.dict file in a text editor, adding to or tweaking the shortcuts to fit your own workflow.
If you spend a lot of time typing text or coding on Mac OS X, you owe it to yourself to play around with a few of these shortcuts and see how they can speed up your life.
One interesting side note to today’s Supreme Court decision regarding Proposition 8:
The Court’s reasoning does not take into account the fundamental principles or the practical dynamics of the initiative system in California, which uses this mechanism to control and to bypass public officials—the same officials who would not defend the initiative, an injury the Court now leaves unremedied. The Court’s decision also has implications for the 26 other States that use an initiative or popular referendum system and which, like California, may choose to have initiative proponents stand in for the State when public officials decline to defend an initiative in litigation.
By finding that the proponents of a ballot measure have no standing to sue in federal court, the majority has set up a system in which California and other states can roll back voter initiatives they disagree with by simply refusing to defend them in federal court.
This is undemocratic and strange, but I have to admit it doesn’t bother me much because…
The Initiative System Sucks
The initiative process in California is fundamentally broken. Rather than encouraging democracy, it undermines it by diffusing authority for basic decisionmaking in the state. No politician in California is ever responsible for anything because everything is subject to referendum. Voters elect politicians who cannot change how money is spent or raised or how crimes are punished. Then we all complain that nothing gets done in Sacramento.
Worse, the initiative process distills every complex issue into a binary choice: Yes or no with no potential for compromise or revision.
True, sometimes the system does good work. It offers chances for reform on issues like drugs or political redistricting that would probably die in the capitol. But more often it works as a system for millionaires and corporations to foist their personal agendas on California. A 1960s proposition sponsored by theater owners banned cable television in the entire state, and Proposition 13 famously destroyed local politics in California by capping property taxes.
The initiative process has become less odious in recent years (Prop 8 excepted) simply because liberals have gotten better and better at abusing it the way conservatives did thirty years ago. Despite that, I’m glad that the Supreme Court inadvertently smashed up the intiative system in their zeal to avoid deciding on gay marriage directly.
I previously voiced my displeasure with Microsoft’s planned console DRM scheme. In short, it had more restrictions than digital distribution systems like Steam or iOS while offering few of the benefits.
I wasn’t the only person annoyed. Sony drew blood with vicious and biting videos at Microsoft’s expense, and even US military publications spoke out against the system. Microsoft tried to stanch the bleeding, promising that you could share your game with ten friends and log in your console from your phone and etc etc, but these were complicated digital solutions to problems that don’t exist with current generation consoles.
It’s not a huge surprise then that Microsoft has folded their hand and given up on the whole scheme.
This was an unforced error by Microsoft. They designed the new system around their own corporate needs and only belatedly considered how the changes would affect real users. They never made an affirmative case for why this system would be better than the status quo. They just tried to muscle it through. I think the final straw for Microsoft was realizing that none of the major publishers, the very companies this system would most benefit, publicly backed Microsoft’s position during the controversy.
Film Crit Hulk’s latest article dives into convoluted blockbusters like Star Trek Into Darkness, and he makes a particularly deep point about the difference between story and plot:
And so when we look at the stories in Abrams’ work we don’t find much in the way of story at all. We find plots. It’s all master secretive plans built on reveals upon reveals upon reveals. We watch as brilliant characters play a high-stakes game of trying to outsmart each other. We watch those plans get teased out in incomprehensible ways. We watch them unravel a story without a hint of organic discovery.
Lost fans should be shaking their heads in recognition right now.
Hulk’s post clarifies a lesson I’ve been trying to learn. Screenplay is a way to tell a story, but it is not the story itself.
Story is something underneath the screenplay. It’s what the dialogue, action, plot, and pacing of the screenplay are trying to convey.
Without a story, a screenplay is just empty mechanics. It’s hollow and unfulfilling. In short, it’s Transformers 2.
I am so glad to hear that Apple is adding a password auto-generator to future versions of Safari on Mac and iOS.
As someone who has worked tech support as a personal assistant (and for my parents), I can tell you that people use terrible passwords. They pick a common word, maybe slap a number on the end, and then use that same password for everything.
Normal people don’t realize how easy it is to crack even the most eXtR3m3!! passwords.
I use 1Password to generate random unique passwords for every online account, and I’ve tried to set that system up for other people too. But it’s fiddly and complicated. It requires a browser extension, and it requires the user to remember to actually use the damn thing.
Apple’s solution will not be the best password solution, but just as they did with personal backups and Time Machine, they’re taking something complicated and vital and distilling it down to something simple enough for my mom to use.
I think this will be a huge security improvement for average users.
“As a culture we have moved into a realm where the consumption of news is a near-constant process. Users with smartphones and tablets are consuming news in bits and bites throughout the course of the day — replacing the old standard behaviors of news consumption over breakfast along with a leisurely read at the end of the day.”
I don’t like Google’s explanation for killing Google Reader.
Yes, Twitter and social media have changed how we consume news and internet posts. But the niche Google Reader and RSS serve is not about “leisurely” browsing of the internet over eggs and bacon.
By checking my RSS feed, I can skim and select from hundreds of stories from my favorite sites and authors in less than a minute.
In contrast, Twitter and Facebook give me a random shotgun blast full of memes, links, and advertisements. I do not want to like or follow every public figure, author, or company that interests me and then have those people shit up my social feed. My social feed is just that, social. It shows me what other people think I should be reading, which is not always what I want to read.
I understand that RSS has always been a niche technology and that Google is probably making the right choice by focusing their efforts on more casual users. But I think Wired hits on a darker, potentially more accurate explanation for the change:
Now and Plus do one thing: They keep you in Google’s world. It’s a de-emphasis of content source. In other words, rather than reading Cat Fancy religiously, you’re reading the Animals category religiously — a category populated by the sites Google’s products think you’ll enjoy most.
Imagine if it had come out in the 1980s that Japanese intelligence agencies were tracking the location of every Toyota and Honda vehicle, and then the big response from the Japanese government was to reassure people that Japanese citizens weren’t being spied upon this way. There would have been—legitimately—massive political pressure to get Japanese cars out of foreign markets.
Matt Yglesias has a great blog post puncturing some of the insular, parochial American reactions to the spying scandal.
Very few Americans seem to care about civil liberties or the Bill of Rights, but have we considered how these national security programs could hobble our biggest exports? If you lived in another country and were using products made by US companies like Google, Apple, Facebook, etc., would you be okay with those products feeding your information directly to a foreign government?
Kotaku has a cynical rundown of how Xbox One will handle used games. Basically, my fears are confirmed:
The Xbox One will allow the sale of used games, at “participating retailers”, but only if the publisher allows it. Publishers being the very people opposed most fiercely to used video game sales.
Microsoft understands that this change is going to piss off a lot of people, so they’re trying to pull a Pontius Pilate and offload the final decision onto the publishers. “Oh we really wish you could still buy and sell used games, but we left it as an option for the publishers, and those gosh darn meanies didn’t implement it!”
Fruit flies are tiny insects that lay their eggs on the skin of ripe or fermenting fruit. They’re harmless, but you’ll occasionally find a batch of them swirling around your kitchen.
Here’s an easy way to get rid of them:
- Take a wine glass.
- Pour in some apple cider vinegar.
- Put in a couple drops of dishwashing liquid.
The flies are attracted to the vinegar, but the curved glass and the dishwashing soap make it impossible for them to land on the surface, so they fall through and drown.
There are other elaborate traps you can make (and obviously you should clean your kitchen as well), but the simple trap works very well.
Do not ask me to enter the minds of the totalitarians running this city.
The Wall Street Journal has done the world a great service by posting a video interview with one of their editorial board members. In five excruciating minutes, Dorothy Rabinowitz demonstrates that the Journal’s editorials are written by elderly cranks who think New York’s bike-share program is akin to Stalin’s Five Year Plan.
What I love about this interview is that you could have a more articulate discussion about bike-sharing with any random person on the street. Despite being an editorial board member for a prestigious national paper, she brings no factual knowledge or experience to bear. She makes repeated ad hominem attacks, and she relies entirely on anecdotal evidence gathered from her isolated life as a very wealthy woman living in New York.
This is your crazy Aunt or Uncle being given the ear of 2.4 million subscribers.