Archive | Technology RSS feed for this section

geoDefense Swarm Medium Level 7 Solution

As I’ve been writing my next yet-to-be-published blog post, ’8 iPhone Games You Must Have’, I’ve been getting deeper and deeper into geoDefense Swarm. It’s really difficult as the dynamics of the game keep changing from level to level and each level often has a unique solution. I’ve been struggling with medium level 7 ‘Nucleotide’, it’s really hard. So hard in fact, that I haven’t been able to find a sure-fire solution for it online.

Well, I’ve just spent a part of my train journey back from Scotland trying to crack this nut. And you know what? I have prevailed. In the end, it was pretty easy; all I needed as to think of what does ‘Deoxyribonucleic acid‘ mean. (This is written on the starting screen of the level.) From that I started thinking that perhaps it’s a hint on the form of defences you have to build.

I first tried with missile towers but the rockets are too slow so ended up using thumps. Upgrade those to level 7 as soon as. I usually do them in pairs so that two will be maxed out before any of the others are upgraded at all.

First time I managed this level, I only let one creep go through. Not bad.

Update: To clarify a little, Deoxyribonucleic acid is, of course, DNA in everyday language. The form that your defences are to take, resembles its form.

Comments { 10 }

Pano Versus AutoStitch – iPhone Panorama App Comparison

What follows is a quick comparison review of two of the most popular iPhone panorama apps. Both are in the don’t-need-to-think-to-purcase category, which is to say under £2 ($3). At the time of writing, AutoStitch (version 1.0.1) is £1.19 and Pano (version 3.2) £1.79 from iTunes App Store.

First main difference with these two apps is that Pano uses iPhones camera to take the photos while with AutoStitch you use pre-existing photos from your iPhones library. Pano also has a quide that appears after the first photo to assist in aligning the next shot. This is very helpful but turns out it reveals the applications biggest flaw. We’ll get to that through the examples.

Examples.

First two examples were taken inside my house resting the iPhone on a beer can to achieve relatively static position for the camera to rotate around.

Pano (fig. 1):

click to enlarge

click to enlarge

AutoStitch (fig. 2):

click to enlarge

click to enlarge

Pano wins hands down. Panorama produced is ready to be tweeted or posted on a blog with out needing any cropping or adjusting. Both handle slight exposure variations pretty well, but if you look at the top right corner of figure 2, you’ll notice that there’s a considerable amount of bleeding.

These two examples were taken in my garden. Weather was almost overcast but light levels did keep changing between some of the shots. I also timed the process of creating these panoramas starting from launching the app – or in AutoStitches case, Camera – taking the photos, compiling the panorama and saving it to iPhone’s gallery. Both took about 3 minutes with only few seconds difference.

Pano (fig. 3):

click to enlarge

click to enlarge

AutoStitch (fig. 4):

click to enlarge

click to enlarge

Now, figure 3 shows Pano’s first flaw, in bright light or with a strange camera angle, it’s really quite hard to look at the alignment assist and get you photos to match. Notice how there’s a fair bit of ghosting and duplication in the photo. Not so good. Pano seems to solely rely on your alignment skills in making the panorama, rather than applying some crazy maths to do the job for you. Figure 4, while un-cropped, does a nice job of showing the scene with out any ghosting or other madness.

Other features worth mentioning

To use Pano in landscape format, you need to change a setting. AutoStitch does this by noticing that photos you’re loading are in landscape, as you’d expect. Pano only uses photos that are shot in the app itself and doesn’t save those separately, which I find quite annoying. Also, taking photos with Pano is slower than using Camera app – you can’t just click click click – each photo needs to be OKed before the app lets you take the next one. Not good when making a panorama with people as subject or if you’re in a hurry.

Meanwhile, AutoStitch is lot more flexible. You can take your photos quickly and process the panoramas later. You’re also not limited in making horizontal, one row panoramas, you can make things like this:

click to enlarge

click to enlarge

Pretty cool. It’s made of 22 photos! Can’t do that in Pano.

Conclusion

Get AutoStitch and then spend £1.79 on Photogene to deal with cropping and adjusting (see below) you master pieces.

click to enlarge

click to enlarge

Comments { 4 }

Caught on Camera

Click to enlarge

Click to enlarge

“+100 geek points” – Alex Kent.

Had no idea they caught me on their wheeling cameras but they did. Pretty cool. I’m the only person I know on there. It really puts those privacy issues on to another level when it’s you. It’s the same with a lot of other things. We know that the ‘information technology workers’ at your ISP (or your company’s IT dept) ARE reading your email. Or that each of us are recorded some 100 time a day on CCTV. Or that everytime you pay at a parking meter, that coin is DNA analyzed and added to the states records. With your name on it.

But when this information is actually made easily available, to everybody, it becomes a little invasive. Especially 1) if you have something to hide and/or 2) if you’re bothered. I think Google Streetview still falls into the ‘security through obscurity’ category in that if I wasn’t now shouting of my existence there, nobody would know. And with that photo, nobody from outside my circle of friends would recognize me. I obviously don’t think Google is invading my privacy – but I also understand those caught in less favorable situations. What’s good about it is that it really reminds us that we are constantly being watched and recorded, and if we’re not happy about it, we better start behaving.

[Important Update] Just to be clear – and to make me not look like a Tory ***t – I am against bio-metric ID cards and governments cataloging our DNA just in case we might do something. There’s been too many cases of people being wrongly accused and arrested for that to make sense in anyway. It’s preemptive invasion of privacy. CCTV is supposed to prevent crime by making it clear that you’re on camera and your wrong doings can be proven with it. BTW, those records are public, you have the right to ask for the tapes and watch them. Within the last 6 months, I’ve reported to two crimes to the police, both of which were committed under CCTV cameras. What did the Police do? Nothing. CCTV didn’t prevent the crimes, neither did the Police use them to solve the crimes.

So, to sum up, and clarify the last few words in the original post; It’s not great that we’re being followed with all the cameras but we haven’t got that much to worry about either as we’re still pretty anonymous.

Comments { 0 }

Scheduling Time Machine Backups with AppleScript and iCal

Great news to all Time Machine users! It’s actually possible to schedule when you allow backups to happen. Problem has been that Time Machine tends to go on at times when it’s really not that convenient; when your working on something heavy and don’t want the extra CPU usage or when you need to leave your flat but don’t want to abruptly stop it backing up (latter can be really harmful to your backup so should be avoided). Two lines of AppleScript and few iCal events will fix this!

Few easy steps:

The Script

1: Open Script Editor.app from Macintosh HD/Applications/

2: copy and paste this in to the window:
do shell script "defaults write /Library/Preferences/com.apple.TimeMachine AutoBackup -bool true"

3: Save As: “TM-On” in Macintosh HD/Library/Scripts/Time Machine/

You don’t need to change the defaults

4: Open a new document in Script Editor

5: copy and paste this in to the window:
do shell script "defaults write /Library/Preferences/com.apple.TimeMachine AutoBackup -bool false"

6: Save As: “TM-Off” in Macintosh HD/Library/Scripts/Time Machine/

In iCal

(As there’s going to be repeating calendar entries for every day I’d suggest adding a new calendar so you can hide it.)

1: Create a new calendar entry for today.

2: Decide what time you want to turn Time Machine on. I’ve set it to 13:00 so it’ll be on when I get home. Also set it to repeat daily.

3: Set Alarm to Run Script and underneath File… and browse to /Macintosh HD/Library/Scripts/Time Machine/TM-On.scpt

4: Set it to go 1 minute before the event (if you set it to ‘on date‘, repeat wont work)

5: Repeat above steps for turning Time Machine of and you’re done. I’m turning mine off in the wee hours of the morning but if you like watching stuff on you laptop in bed you might want to turn it off – say – 21:00 so it won’t be backing up when you want to go to sleep.

6: Relax… or watch the video below. It shows how this is done in about 4 minutes. Click here to watch this video in HD on Vimeo.

[Update 1] If you’re having problems using this, it might be that you don’t have a .plist for Time Machine. As odd as it sounds, Darina’s MacBook was missing this completely. In order to create it, just go to TM preferences and add something to the excluded list. This will create a file called com.apple.TimeMachine.plist in your systems main library.

Comments { 16 }

EU vs Microsoft, Why?

I don’t really understand this case. Opera complains to the European Commission about Microsoft bundling Internet Explorer with the operating system. The Commission takes it on and is now waiting for Microsoft’s response to the accusations.

As much as I hate IE (especially 6 and 7, hating 5.5 would be like hating a dead dictator) I can’t see this making any sense. Microsoft makes the OS and therefor has the freedom to choose the browser they want. Period. The fact that it’s not the best browser you can get and is not in the interest of their customers, doesn’t make it any different. Should they bundle different makes of Solitaire as well? And Mine Sweeper? Paint?

Why isn’t Opera complaining about Apple? If this case goes through, wouldn’t it mean that Mac OS X should be pre-loaded with Firefox, Opera, Camino, Flock, OmniWeb, iCab, Shiira etc. Who draws the line and where do you draw it?

Perhaps there’s more to this. Maybe there’s is something I don’t know about Windows that makes it hard for people to download and use different browsers but right now I feel like this is a case that’s taking advantage of EU’s long term grudge against Microsoft. If EU really wanted to hurt Microsoft, they should just move their systems to run on Linux. Couple of million workstations across Europe running Ubuntu would certainly send the messages to Redmond.

Firefox is a proof that it’s possible to get large amounts of people interested in a browser other than IE. I think Opera should concentrate their efforts on telling people how good their product is rather than on drumming how badly their big cousin behaves.

PS. Let’s all give it a try, especially if you’re running IE, click one of the links below to get another browser for your system:
Opera
Firefox

Comments { 2 }

If Any More Prove Was Needed…

… That Microsoft doesn’t excel at making adverts for their products, watch this ad.

Something to notice is that Songsmith – the product it advertices – doesn’t run on a Mac.

They also haven’t realized that when other companies use real people as actors they’re actually ‘real’ people – actors. Maybe MS should send their engineers and product managers back behind their desk to do their real jobs.

–kristian

Comments { 0 }

Apple Drops iPhone SDK NDA

Fantastic news:

We have decided to drop the non-disclosure agreement (NDA) for released iPhone software.

We put the NDA in place because the iPhone OS includes many Apple inventions and innovations that we would like to protect, so that others don’t steal our work. It has happened before. While we have filed for hundreds of patents on iPhone technology, the NDA added yet another level of protection. We put it in place as one more way to help protect the iPhone from being ripped off by others.

However, the NDA has created too much of a burden on developers, authors and others interested in helping further the iPhone’s success, so we are dropping it for released software. Developers will receive a new agreement without an NDA covering released software within a week or so. Please note that unreleased software and features will remain under NDA until they are released.

Thanks to everyone who provided us constructive feedback on this matter.

Reason, of course, why this is great is that this allows developers to talk to other developers about their apps and issues they might have come against. Having the NDA was a bit like Grain Corp. selling a grain but not allowing farmers to talk to each other how to best grow that grain.The Pragmatic Programmers has already reversed their decision to pull the production of an iPhone app development book. So it’s pretty good news.

What surprises me though is the way Apple has worded the announcement. They are apologetic not that it’s taken so long to reverse the decision but that they had it in place in the first place. That strikes me as being slightly odd. They could have easily just said this was their plan along and that the SDK is in a good enough state that it can be talked about.

On the other hand, maybe they’re apologising for this to make it easier to ignore people complaining about those few apps that haven’t been allowed into the App Store. Remember “…dropping it for released software…” means that you still can’t talk about it if your app is stopped at the gates of Apple*.

Nevertheless, I’m sure 99% of iPhone devs are happy to hear these news.

kristian

*Most famous case of an app being rejected entry to the App Store was ‘Podcaster’, an app that would allow you to subscribe to and listen to podcasts on your iPhone. What made it unique over iTunes/iPod combo on the iPhone was that it allowed you to download them directly on it without tethering to a computer. Pretty cool feature if you listen to a lot of podcasts like myself. Reason Apple gave for the rejection was that it ‘duplicated functionality of iTunes’. Fair enough reason as that’s warned about in the SDK. But doesn’t that mean that Apple is worried that someone might do things better than they do? Isn’t it just slightly anti-competitive?

Comments { 0 }

ISS Got Infected

Just quick note to the people in charge of ISS (International Space Station); go get yourselves some MacBook Airs and stop having to worry about viruses. Seriously, this is almost as bad as those US voting machines needing anti-virus software. To quote xkcd: “It’s better that the alternative – yet someone is clearly doing their job horribly wrong”.

–kristian

Comments { 0 }

iPhone Planets 1.2

Are you sick of looking at Earth on your iPhone wallpaper? Would you rather see Africa than the US side of Earth? Or do you just want more options? To scratch your itch I’ve created iPhone Planets 1.2.

New features in 1.2

  • Legacy planet, Pluto, added
  • the Moon
  • Asteroid Itakawa
  • Death Star
  • iPod Touch now supported

Other features:

  • Mercury
  • Venus
  • Earth (alternative view)
  • Mars
  • Jupiter
  • Saturn
  • Uranus
  • Neptune

Installing is easy:

  • Download above .zip file
  • Use iPhoto/Aperture and iTunes to transfer images to your iPhone
  • Navigate to the planets on your iPhone
  • Enjoy and share with others!

Compatible with iPhone and iPhone 3G. All images courtesy of NASA. Thank you.

Comments { 2 }

iPhone 2.0 – Few Quick Notes

So I managed to download the 2.0 update sometime before coming available on as an official update (as of writing this, it’s still not available)

Here’s few initial thoughts, for your pleasure:

  • App Store is very nice to use, as easy as it was to use the Wi-Fi iTMS, it’s soo-u easy to download apps. Almost too easy, you can quite quickly end up downloading all sorts of little apps. I haven’t tried un-installing any yet, but I’m sure I’ll get to do that very soon.

Few Apps I downloaded

  • Remote. iTunes library remote control. Uses Wi-Fi to connect and surprisingly works on my PowerMac G4 which doesn’t have an Airport card itself but is connected to the Time Capsule. One less reason to get off the sofa. I hope Eye TV will develop something similar.
  • Super Monkey Ball. It’s harder than it looks in the SDK demos. And I can’t seem to be able to continue from same level after leaving the game. This might not be true, I haven’t played it that much yet.
  • NetNewsWire. Fantastic. Reason why I won’t even look at any other aggregator is that this syncs with the desktop and web interface of NetNewsWire. This is probably what I’ve been mostly missing with the iPhone. I get most of my news and blogs through RSS (I can’t understand why so many people still don’t use it) and have become quite reliant on it. It’s a simple, free and a must have app.

Other notes:

  • You can now search for contacts. I’m not sure if I like the way this is implemented- you have to scroll to top of contact list to search, rather than there being a dedicated button.
  • International keyboards! My favorite new feature after Apps. Maybe 15% of texts I send are in Finnish and this just got a lot easier. I hated the way it used to try and correct my words to English. (i.e. when spelling the word ja [Finnish for and] it would always correct it to the English word is. Super annoying but it’s fixed now, thank you.)
  • MobileMe supports contact/iCal etc. syncing. I think it’s disappointing that you need to pay £59 per year for something that should really be free. Seeing how easily the Remote app works with iTunes, the only reason Apple wants us to pay for that sync is that MobileMe still lacks useful functionality for most consumers. Which really comes down to greed. Perhaps someone else will develop a sync app, I’d be happy to pay money for it.

OK, that’s it. More to come when I have more time to spend with this. BTW, I’m not sure when I’m getting the 3G, could be bothered rushing to O2 store. They kept texting me saying how scarce they are and how if you want one this summer, you have to get it now. No thanks, I’m sure I can get one this weekend.

–kristian

Comments { 0 }