Sunday, April 22, 2012

Simple recursive file traversal in Elisp

Really quick: I wrote a simple bit of elisp to eval a body over each of the files in a directory, recursively. Looking around for a little bit, I found a couple of options, including Findr, which has its own queue implementation (pretty short), and whose main function is a whopping 55 lines!

Monday, February 27, 2012

The Ongoing Saga of Making Ubuntu 11.10 Usable

Alright, I installed Ubuntu 11.10 (aka "lost all common sense" edition) on a new computer, so I have the memory of trying to make it bearable still in my head. The absolute necessary first thing to do is:

And set your login session to "Gnome fallback". This gives you a passable facsimile of Gnome 2 (aka "worked and was not useless" edition). I am a little... offended is to strong, but miffed that "fallback" means "what to use if you want to get work done and are not, in fact, a hipster," but whatever.

Wednesday, February 15, 2012

Set ordering in Python: why I didn't sleep last night

In yesterday's class of the Python-infused Linear Algebra course I'm taking, a fellow student noted the strange ordering of items in a set when printed. It seemed that the printed order of the set items always swapped the first two items, but left the rest unchanged. I don't know what sets he tried, but I was interested in the general behavior, and so began my quest through the Python source code...

Tuesday, December 13, 2011

What a functional desktop looks like

As a followup to my first Un-Terrible-ize
Ubuntu 11.10
post, I thought I'd show everyone what my computer looks like
after reverting the desktop to a working state.

Configuring Printers in Ubuntu 11.10

Welcome back to my ongoing adventures in making
Ubuntu work
once again. Today's episode features printing!

So upon trying to print a document, I found that my printer hadn't been set up.
No problem! I guess I had forgotten to do so. So I jetted on over to the "System
Settings" application, which helpfully had a "Printers" button. "Why hello Mr.
Printers button," I said. "Let's go on a magical printer-configuring adventure,
just the two of us!" Clicking on Mr. Printers, I was greeted with the Nice™,
Shiny™, Sexy™ Interface below:

Monday, October 24, 2011

Un-Terrible-ize Ubuntu 11.10

Oh my god. After years of being a great, easy-to-use Linux distribution, Ubuntu finally has failed me and may need to be dumped. I just upgraded to 11.10 (Oneiric Ocelot) and they have made it more difficult than before to return to a not-terrible window manager. I think the idea behind Ubuntu's new "Unity" interface are cute, but is just god-awful for people who want to use their computer for things and don't like desperately trying to hunt them down. What was wrong with an "applications" menu that had an "Office" tab under it with office-related applications? Now, you open the side panel overlay bar thing and it takes up the whole screen but presents you with almost exactly zero useful information. It has something like 3 applications along the top and then says "fuck you, go figure it out" if you want anything more. Alt-F2 doesn't work to open a launcher to launch an application. Alt + middle-click doesn't resize windows any more. Just getting out of my damn way and letting me use the computer like I have for years doesn't even close to work.

Tuesday, October 18, 2011

Changing up the style

You may have noticed a change in the style of the site. That's because I changed the style of the site.

Okay, seriously, I switched to the new Blogger interface/template, so things look a bit different. I tried fiddling around with some things, and hopefully nothing broke. To all of you massive numbers of readers of this blog, let me know if anything went wrong in the upgrade.