Google toolbox for Mac 2008-08-19
Google toolbox for Mac is a useful looking set of testing utilities, for Mac developers.
Google toolbox for Mac is a useful looking set of testing utilities, for Mac developers.
As hinted in my last post, we've recently spent a week away. Visiting with Judi and Jonathan in Normandy in their ongoing barn conversion, failing to construct a goat-shed, appreciating unusual motor vehicles, hanging in a yurt, eating great food, drinking French beer, enjoying good company, and marvelling in some simply astonishing weather.
A few weeks ago, I had a day out in the country, by way of a stag 'do' for Mr. Mark Webster, whose nuptials are imminent. The main event was a piss-up in a brewery ; for a while the organisation looked sketchy enough to bring life to the hoary old cliché, but luckily enough everything came together right at the final hour, and all proceedings went swimmingly.
As a warm up to the main event, we spent the afternoon clay shooting courtesy of Avago entertainments. My nerves, already twisted by a long minibus drive, the rented bus an antique with a hundred and fifty thousand on the clock, the driver a first-timer, who kept commenting that he found the vehicle strange to drive as it had no brakes, I was feeling rather jumpy about spending the rest of the day discharging firearms. Luckily, just as we pulled up at the venue, I discovered my fears were all misplaced. We would, in fact, be laser shooting.
Effectively it is laser tag. The 'guns' are real deactivated shotguns, equipped with an infra-red sensor and transmitter. They communicate with the CPU in the scoreboard unit via a wireless network. The 'clays' are in fact miniature frisbees,covered with reflective stickers. You flick a switch to load your gun with two 'rounds', and if the gun receives a reflection back when you pull the trigger, it records a hit. The base unit plays sampled sound effects in sync to represent rounds fired and breaking clays, in the case of a hit. A small LED within the gun's sight flashes red or green to indicate a failure or success immediately after each shot.
It's a more effective system than I'd have predicted, and thus surprisingly good fun. The guns come across as accurate, and the full weight reinforces your suspension of disbelief. I found a real sense of development, in that I managed to improve measurably as the day wore on, and I accumulated practice, although I was suddenly, shockingly poor at the game where you had to pick up your gun from the floor, sight and fire while the clay was in flight. The event was well run, with a considered graduation of difficulty moving up from practice rounds, through to scoring, with enough changes in setting and rules to keep interest keen all the way through to the end of the session, where points were tallied, and the top scorers compete in a final shoot-off. I missed the cut, mostly due to the aforementioned speed round. Overall it's an absorbing afternoon's entertainment, and good value. I'd recommend it if you're looking for something to do with an appropriately sized group for around half a day or so.
It seems like the iPhone 3G has been another smash hit. Certainly here in the UK, with pretty universal 3G signal coverage, there's lots of interest, and the handsets are selling out as quickly as they come into stock. Several people I know who waited out the first generation immediately signed up for the 3G edition.
Responses to the new platform seem mostly positive, although there's already some mild grumbling seeping through across the web. There's more software glitches, unsurprising; given the rush of new third-party applications there's countless potential software combinations interacting in unpredictable ways. The new units eschew the metal casing of the original iPhone, for a return to possibly scratch-prone iPod plastic. 3G mode depletes the battery rapidly, just as Apple said it would, when they justified their initial transport choice of GPRS/EDGE. The camera is unimproved over the first generation (although I have always been rather impressed with the iPhone camera. For a phone, with no flash it takes great photos, a textbook-worthy example of why it's nothing to do with the megapixel count)
So maybe it's not the holy grail of portable devices. It's certainly not for me. I don't like the idea of being locked to a single phone company. I don't want a smartphone that can't be used as a 3G modem - I've grown too used to being able to connect a variety of devices up to the net, using USB / bluetooth or even infra-red links. It's a little big for my idea of a phone.
As a portable, internet connected, media player cum tablet, it can't be beaten. The mobile browser is immeasurably better than any others I've used. The iPod, photo, and movie playing is slick, and the iPod + iTunes combination still the best available digital music library implementation. The straightforward syncing of contacts and calender information beggars belief (at least for Mac users, such as myself ). Thrown in a few simple PIM applications, ebooks and games from the Application store, and you're looking at a compelling platform.
Of course, you can get the majority of this behaviour in the iPod touch. Smaller and lighter than it's phone siblings. Metal back. iPhone-trouncing storage capacity (up to 32GB). Runs the same operating system and applications, same beautiful interface. No contract. The downside being that you can only use it as an internet device over WiFi, which means you need to be tethered to a hotspot. Except it doesn't mean this at all.
There's a simple recipe to open up the iPod touch's internet capabilities to something much closer to the iPhone.
A gigantic Alan Moore interview, from a couple of years ago . Scanned in, from the looks of things, but covers some novel ground, devoting a lot of time to the mechanics and methods of comic book writing.
Cesare Bonizzi, a 62 year old Capucin monk from Milan, Italy fronts a genuine metal band . They have recently released their second album<a> . According to the BBC piece it's 'hard core' metal.
Every time I install a fresh debian derived linux, I subsequently find out that I'm missing the man pages for the C library. Usually many months later, it's not like I program in C for kicks. I then waste twenty minutes fruitlessly grepping around in apt using patterns like 'glibc'. The package name is actually 'manpages-dev' . Perhaps posting it here will fix this in my memory.
Articles in the Economist magazine are invariably concise and clear. Here is their style guide.
An excellent festival. More completely organised than I expected. This came to prominence straight away, when a rather spacey lady handling our tickets failed to give us one of the essential ID cards that pair up with the wristband to allow entry and re-entry. A security guard stopped us from heading back in to point out the error. Anticipating anguish at the gate, and hoping that a single card and a friendly attitude might get us through, we were met by a super-friendly chap, speaking perfect English, who whisked us back to the check-in, where we waited for the woman to confirm that her stack of cards and tickets were out by one, and furnished us with the missing card. And then we were in. Things do not run that smoothly at Glastonbury when your credentials go awry!
The venue is good, purpose built, although admittedly it does have a slight air of NCP car park to it. There are three amphitheatres with banked steps of seating set facing out to sea. These make up the RockDelux , ATP and the VICE stages. The other two stages, namely the CD Drome , and the Estrella Damm stage are set up on the main paved area that links the first three, with the food market between them. There are two gigantic arrays of solar cells, apparently the largest in Europe, which at least made a handy shelter during the couple of light rain showers, even if they sadly aren't used to directly power the festival itself . There is also an indoor concert hall, the Auditori, which I didn't manage to set foot inside once, a combination of not being nearby when anything compelling was happening there, plus not quite being able to figure out where the entrance actually was!
The festival runs over several days, Thursday to Saturday, and keeps to a gruelling schedule, starting at four or five p.m., and running through till four or five a.m the next morning. It's really all about the music, as there is little else to do onsite, other than browse a few T-shirt and record label stalls, eat functional outdoor food, or drink expensive sponsor beer from plastic cups.
It's far less wear upon the legs and feet than the typical British festival, the proximity of the stages, along with the near-universal seating, and paved footpaths rather than clogging mud fields thankfully mean that it's just the marathon running time contributing to your fatigue, not trudging miles around countryside inbetween sets. The climate was pleasantly appropriate, a few spots of light rain but it was mild enough to be comfortable in light clothing all the way through the evening, so you could just stick to the basic set of clothes you came in wearing, not wrestle with lugging around cumbersome outfit changes to cater to changes in the weather.
It may be just a result of the lack of crowding, but the toilet facilites were fine, little queuing, and freshly clean each day. I recommend taking a little dispenser of handwash gel, you can pick these up in the chemists nowadays.
Another benefit of the close site is the number of acts you can practically watch. As the stages are just separated by a minute or two's easy stroll you can mix and match to take in as much, or as little of a set as you fancy. It's quite possible to watch the start of one artist's set for a couple of songs, and then wander around another three stages watching a couple of numbers at each, and still return to the start to catch the final few of the original. This all makes it incredibly easy to sample new or interesting acts on spec without having to miss out on much if any of your must-see sets. Over the three days we easily managed to see dozens of acts, with comparatively little effort.
It would take too long to run through them all in detail, so I'll just group the highlights into some buckets.
Sometimes you run programs in xterm windows that try and do you a favour, by setting the xterm title property. Potentially useful enough, but aggravatingly some of them don't restore the previous title when they exit. If you're using some scheme of your own to set meaningful window titles, this is annoying.
Here's a shell one liner that you can use to grab the current title in an xterm. You could use this to write a wrapper script that gracefully launches any such rude application, and restores the rightful title property when it's done
/usr/X11R6/bin/xprop -id $WINDOWID | perl -nle 'print $1 if /^WM_NAME.+= \"(.*)\"$/'
We arrived in Barcelona a few days ahead of Primavera, to give us a chance to see the sights and relax a little. It's a compact city, although larger than I thought it would be, with a wide variety of flavours to the various districts. The weather has been variable, but never unpleasant.
It is a very clean city, they seem to constantly empty the bins on a daily cycle, and there are recycling stations everywhere. The architecture is wonderful. Not just the Gaudi, which is as astonishing as you'd expect, but there's an adventurous sense to public space everywhere, interesting modern building nestling up against 14th century alleyways, and giant lumps of sculpture sprouting everywhere, in a manner you only rarely see in conservative old Britain.
We've mostly been rehearsing our body clocks for the ever so slightly mental 5pm-5am Primavera schedule, and so we've not done so much cultural sightseeing, or eating out. I figured it can wait until the now inevitable follow-up visit.
Appearing as part of Dot to Dot , an excellent city-wide music hullaballoo, spanning multiple venues. As the schedule didn't really sit very comfortably with my travel plans, flying out to Barcelona the next morning, I didn't really get a chance to see many sets, just some of Fight like Apes ( excellent ), Montreal's We are Wolves ( good stage moves ), Two Gallants ( dull enough to make me wander away and play Sonic the Hedgehog tennis on a nearby X-Box demo machine. Two thumbs up for Sonic Tennis, though ).
In fairness, the latter looked like they might be quite interesting, given enough familiarity with the material, and I'm tempted to chance an album, but I wasn't really feeling it. And the main reason I was actually in the Trinity, was to catch the headliners, Spiritualized, one of my all time favourites.
I thought they played a blinder. The Trinity is fast becoming one of my favourite Bristol venues, great sound, good bar, and it's incredibly handy to reach on foot. And they keep booking my favourite artists.
The band were really together, there's the welcome return of the gospel backing singers, excellent lightshow, and J. Spaceman is looking great and singing better than he ever has, at least to my ears. New album out now-ish.
It's been a few years now since I last went to Glastonbury, and the last few summers have been festival-free for me, save for local city-wide affairs like Venn . I came very close to attending the 'End of the Road' festival last September, tempted by a very me-friendly line up, but it wasn't very compatible with school term dates, and last summer's terrible run of weather just left me procrastinating about it until it was far too late to bother.
In the U.K. there's almost too many to choose from now, spread right across the summer, with something happening seemingly every single weekend from May to September. This means that it's now becoming something of a stadium tour circuit, and with a depressingly production-line feel to the majority, it's increasingly hard to differentiate them.
End of the Road didn't seem to have as many must-see bands this year, and so my attention wandered a little further afield. A couple of years ago, I noticed the Primavera Sound festival, in Barcelona had a line up of acts very much in tune with my way of thinking. I've wistfully looked at it every year since then, and this time around I've actually decided to go.
It seems to be built around the music, with a thoughtful and genuinely alternative line up , very much my sort of thing. There's a great mix; bands I currently like very much and would really like to see ( Boris , Animal Collective , Okkervil River , Prinzhorn Dance School , Six Organs of Admittance , Om ), significant 'legacy' acts ( Devo , Public Enemy , Dinosaur Jr. , Shellac ), critically favoured 'name' acts ( Portishead , Cat Power , Rufus Wainwright ), favourite acts I've seen before ( De La Soul , Tindersticks , British Sea Power , Explosions in the Sky ), and, perhaps a new trend, bands with amusingly rude names ( Holy Fuck! , local outfit Fuck Buttons , and the charmlessly named Pissed Jeans ). My single line up complaint is that it's a European festival, and there's no dEUS , even though they have a new album out to promote.
Like every festival, it's sure to be pointless attempting to programme any kind of strict itinerary. Events will indubitably conspire to wreck it. Given my estimate of at least 70% of the acts being the sort of thing I'd go and check out if they were playing locally, I think the best policy is to be mostly be guided by serendipity. Suggestions for things to check out are welcome!
The festival site is next to the sea , and just a couple of km out of Barcelona itself. We're going for the whole week, flying out on the 24th and returning on the 1st of June. I've rented an apartment, right on the waterfront in Barcelonetta , which looks like it ought to be within fair walking distance of the site. This gives us a few days preceding to acclimatise, relax and see the sights before the festival properly starts.
A party to celebrate Mrs S's impending 30th birthday.
Lots of fun. Lots of great costumes. The standard of costume was high, people really made an effort. Even Andy wore a vaguely 70s T-shirt.
I took plenty of photographs, but my tiny little Canon IXUS is tragically poor at indoor and low light photography. Here’s most of the ones that are worth sharing.
Ever wanted to combine multiple individual PDF files into a single PDF document? Say you were scanning a paper document, a page at a time, and wanted to collate the digital pages back into a single document. Or collect together a number of similar PDFs you'd generated
via 'Print to PDF', perhaps to send via email.
You can do this incredibly simply in Leopard, without resorting to any additional software. PDF is such a fundamental component of Mac OS X, you can script operations like this using a very simple Automator workflow.
Just build the following sequence of actions.
1. Files & Folders: - Get Selected Finder Items
2. PDFs: - Combine PDF Pages
3. Files & Folders: - Open Finder Items
Select all the individual pages in a Finder window, and then run the workflow. After a short wait, while the actions are run, a multi-page PDF will open in Preview. Choose 'Save As', to create a new file. Notice the optional Quartz Filter operations you can apply to the new document when you save.