iPad and App Store error 1004
The solution seems to have been flushing Safari’s cookies. Or maybe its cache or history. One way or the other, the iPad App Store had the wrong idea about my login. And now I have to log in to everything again.
The solution seems to have been flushing Safari’s cookies. Or maybe its cache or history. One way or the other, the iPad App Store had the wrong idea about my login. And now I have to log in to everything again.
If you’re the type of guy who reads directions, you already have that odd directory in your PATH. Because brew install python told you to do that. You can see it again, go run brew info python. See? This is all well documented, too. I’m not the kind of guy to read directions. Years of using Debian has conditioned me that the package manager will install things cleanly and for the very few things that need intervention I’ll get a little console warning in bright colors. Homebrew’s not like that, many packages print caveats and you’re expected to read them. (In the same vein, if you’re doing geo-hacking and use gdal, you might want to check brew info gdal and whether your PYTHONPATH includes /usr/local/lib/python. Also see these notes on building numpy on Lion.)
I opened a github issue suggesting brew doctor diagnose this missing Python path. I’d just write the patch, but the hurdle of doing Ruby and github right is a little high for me right now.
Designing is where TileMill really shines, a beautiful browser-hosted GUI for making maps. You style the map in Carto, a simple CSS-like language (here’s my style file). The development environment includes a live view of generated tiles and a great little editor. Really a joy to use, especially considering all the complex Mapnik stuff going on behind the scenes. TileMill is capable of more complex design than I used, like labels and interaction, but it’s also deliberately simplified compared to using the underlying tools directly.
Publication is simple. You can create single PNG or PDF images like this. Or you can generate an MBTiles file, a bundle of all the pregenerated tiles for a web map. Hosting a map at web scale yourself is a bit complicated. But you can upload your tiles to the inexpensive TileStream hosting service or just copy it to the free iPad app for personal use.
I’ve been learning about open source geo for a year now and it’s easy to get overwhelmed. TileMill is impressive in how it combines so many powerful tools into an easy to use product. Great work by Development Seed, the company behind TileMill. They’re supporting a lot of interesting humanitarian projects with great mapmaking tools.
Map data has become much more accessible to journeymen hackers; I did most of this work without using or, honestly, understanding most traditional GIS tools like GRASS and the various ESRI products. A lot of my hacks have been motivated by Polymaps and how easy it is to make maps in Javascript with data overlays.
I just launched an update on my Wind History project at windhistory.com. The big new feature is month filtering. You can now choose to look at prevailing winds for a specific month or animate a map of the shifting winds over the year. Try it out in the Bay Area, you can clearly see how the winds change in the winter. The rotating Kansas winds are interesting, too.
I also snuck in a couple of minor changes. The main map page now uses the geolocation API to initially position the map near where you are. And I improved the station page a bit, adding some much-needed tick marks on the radial axis.
Microsoft provides the images for Virtual PC, but they work in the free VirtualBox VM as well. Here are detailed notes on getting Vista with IE7 running on a Mac running Lion. The idea should be the same for other systems.
A few caveats.. I’m no VirtualBox expert, there’s probably cleaner ways to configure the virtual machine so it runs better. I never could get the Windows XP system to boot. Also the virtual Windows boxes are still subject to Windows Activation, so you’ll need to rebuild your machine from scratch every 30–90 days.
By the way, there are other ways to try a site on many browsers. A service like browsershots or BrowserLab is great for a quick check. But if you want a full interactive experience, a VM is a good way to go.
Fortunately there’s a fix. Long story short: you set your MacOS browser to a little program that tells Chrome to open a new window. Tabs still work like normal in Chrome, but external links now always create windows and, as a side effect, avoid the horrible Space switching.
That little program is in AppleScript, an ancient, opaque language. (Compiled scripts? Really?) Here’s the nut:
on open location theURL
tell application "/Applications/Google Chrome.app"
make new window
activate
set URL of active tab of first window to theURL
end tell
end open location
It’s a bit promiscuous with the windows if you’re used to the new tab behavior. The ideal thing may be to re-use an existing window if one is visible in the space, otherwise open a new Window. It’s a bit of a mystery why Chrome lacks a new window preference.
The most popular airports are San Carlos and Santa Fe, no doubt because I use them as examples. Folks are also notably interested in Snyder, TX (from an AOPA discussion); Camp Bondsteel (in Kosovo) and the NAS Whidbey Island and neighboring Oak Harbor in Washington.
The nice thing about a static site like this is it takes no maintenance. But I’m playing with some new features now. Geolocation API to move the map to where you are, fancier wind rose diagrams, and static HTML for dumb ol’ Googlebot.
The new developers absolutely nailed what made the original Deus Ex so great: gameplay options. You can sneak through levels avoiding the bad guys entirely, or go in guns-a-blazin and murder everyone, or hack your way through security, or find the hidden air ducts. It’s amazingly fun and they really got the gameplay right. The story’s quite good, too, with some good characters. Also some beautiful set design despite some limited graphics capabilities.
The game is a success in almost every way. The one failure is the boss fights, they’re awful. Weirdly, they were made by a third party. There’s various ways to cheap you way through them, best to just kill the boss quickly and move back to the fun game. And there’s a whole lot of fun in the game. May end up being the best game of the year.We have a traditional understanding of journalism with the exception of TechCrunch, which is different but is transparent about it.
The new CrunchFund is the big drama of the blogosphere today. If you’ve followed Arrington’s career it won’t surprise you, of course he thinks he can be the editor of a major tech publication while also investing in tech companies. He did it for years, with varying levels of disclosure quality. It’s part of the package along with the shoddy editing, the ignorance of basic concepts like off the record, the crazy personal vendettas. Arrington’s a blogger. A very effective, powerful blogger. He’s not a journalist. (Not that he disagrees: NYT, TechCrunch comments).
The frustrating thing is there is some actual good journalism at TechCrunch. I feel bad for the good reporters there: apparently they feel bad, too. I’d like to call out MG Siegler (aka parislemon) in particular for regularly writing well researched stories with insight and accuracy.
Maybe a real news outfit will hire the good folks out of TechCrunch. Both the Wall Street Journal and the New York Times have excellent blog-style tech coverage with proper journalistic methods and ethics. They should hire everyone away from the AOL clown car as soon as their acquisition lockups expire.