I’m deliberately giving myself fewer of these this year, partly because I particularly don’t want to start the year feeling as if I’m already behind, so I’m trying to make the first quarter, at least, one in which I don’t have a pile of self-imposed tasks. So, this year, a shorter list of goals. [more...]
I feel as if I did worse than usual on my goals for 2011, but that could be due to getting a bunch of them done early, with not many coming in the second half of the year. [more...]
I wasn’t a big Steve Jobs fan; despite my working almost exclusively on Mac hardware for the last several years, I disagreed strongly with the direction I thought he was moving computing in. I was surprised to find myself feeling very sad at the news of his passing.
I’m not entirely sure what drove the extent of that sadness. [more...]
The year is 2011, and sophisticated AIs carefully watch for arbitrage opportunities, tracking/correlating/analyzing vast amounts of data at split-second speed to keep ahead of their competitors even in comparatively small arenas.
That, or overly simplistic scripting that seemed clever when it was written fails to take certain conditions into account, leading to the $23,698,655.93 (& $3.99 shipping) book.
The year is 2011, and sophisticated AIs carefully watch trends and track/correlate/analyze vast amounts of data to inform sophisticated maneuvers in the global markets.
I’ve been struggling all week with a JavaScript issue that’s either caused or uncovered by Internet Explorer 9, and while this video has nothing to say on that front, it’s still fascinating to me:
I’m still trying to cut down on the number of books I have in my apartment. That still feels wrong, but the shift to ebooks is making it a little easier. Now I’m getting rid of books that aren’t big favorites of mine, weren’t given to me as gifts, and aren’t in the poorly-defined category of “classics I want to keep”.
Because I’m a pack rat and a data geek, I have a hard time getting rid of books if I haven’t recorded the metadata about them I want to record. Unfortunately, I’m not always diligent about noting that info as I read the books, so the majority of the books I wanted to give away or sell were books where I hadn’t done so—and I really didn’t want to go through them one by one.
I upgraded this blog today, the first time I’ve done that in over a year. Everything looks okay.
I’ve become slightly less paranoid about it; I still back everything up first, but I no longer preview the upgrade in my development environment, instead being prepared to restore from backups if something goes wrong. This might not be wise, but I’ve been lulled by the smooth upgrades the past few times.
I hate giving up on projects. Especially projects that I’ve spent a lot of time on, that have had some success, and that have come close to being finished without making it the final, crucial steps. I really wanted to get a new version of sfmagic.org written, in Python, with good web development practices from top to bottom, but it’s far past time to let that go. [more...]
I’ve mentioned pandoc once before, and it’s again proved rather useful. I’ve been looking for more ways to use it, as I love its core principle (although I naturally wish that it focused on reStructuredText rather than Markdown) of being a comprehensive text format converter. It might at one point be the answer for getting from reST to PDF—something that the current reST tools don’t help me with because I insist on using Unicode, and XeTeX isn’t yet supported. But today pandoc helped with a different task: going from reST to plain text. [more...]
Chad Birch has written a fantastic dive into some of the guts of Pac-Man’s ghost behavior mechanics, and found it highly enjoyable and illuminating, despite not having played Pac-Man in years. Definitely worth reading. I’d previously read Susan Lammers’ interview with Toru Iwatani, which Birch refers to in his post and which I’m happy to see is available online.
If that’s not enough depth about Pac-Man for you, there’s also an entire “dossier”.
This post is actually aimed more at my less technical readers than my programmer friends.
Google Refine, formerly Freebase Gridworks, is a data cleanup and transformation tool. These days, though, it seems as if everyone has to work with messy data. Lists of addresses, employment rosters, film collections, sports stats, and/or any amount of public material. Such data is rarely clean, and that’s precisely what makes a tool like Google Refine so useful. [more...]
Sometimes it’s the little things that make life better, the small victories in ongoing daily battles.
I recently did an overhead squat at 185 pounds (or about 84 kilos, or 13 stone 3); I weigh a little under 180 (that day, 178 pounds) and so that was a bodyweight overhead squat. It actually represents two achievements, because in order to get the bar into the overhead position, I had to push jerk it from behind my neck to locked out above my head, which counts as my best push jerk ever, albeit an unorthodox one. From the overhead locked out position, it’s down into a deep squat and back up; the harder part for me was going down, as once I was at the bottom it wasn’t hard to keep my balance coming back up. [more...]
I frequently run across the need to add key/value pairs to a dict subject to some condition. The “traditional” version of that pattern looks something like this:
This post is about keyboard shortcuts, remappings, application switching, and a little bit of workflow, primarily in the context of OS X and Vim, so it might not be of interest to all readers. [more...]
I’ve been slow in upgrading to MacVim 7.3, which came out about a month ago. I’m happy with it, but there are only a couple of features that really matter to me so far:
colorcolumn
Python 2.6 support.
colorcolumn lets you specify columns that will have a different background color—this is primarily useful for source code where you want to stick to line length limits. This is one of the few features I was still missing from jEdit, although I think jEdit’s solution was nicer: in jEdit the visual line was thin and went between the columns, so between columns e.g. 79 and 80 you could have a line; in Vim 7.3 either column 79 or 80 would have a “line”, i.e. a different background color. Still better than the kludge I use now, though.
Python 2.6 support is nice due to the number of Python scripts I’ve written for Vim, which used to have to be compatible with Python 2.3. The main things I really like here are the ability to use .format on strings, conditional expressions, built-in set support, and generator expressions. That list is inspiring me to edit some of my old scripts right now.
The officialannouncements are out, and my former employer Metaweb no longer exists. I’m happy that the ideas, and most of the people, have found a home, but it feels strange that the company is no longer a distinct entity. In many ways it makes a lot of sense for Google to end up owning them, and I hope the former-Metaweb-now-Google employees prosper. [more...]
One of the great things about unit testing is that you can get into a game-like mode where you make incremental but measurable progress—“flow”, basically—but what if it’s just not similar enough to a game for you?
Install Unit Testing Achievements, a Python package that works with nose, unittest, and Django. Somewhat crazy, definitely hilarious. Some of the achievements themselves are excellent, such as My God, It’s Full of Dots: The suite has at least 2,001 passing tests.
Sadly not yet working is another one I like, Heisenbug: Make a passing suite fail without changing anything.