Tech

Older posts

April 222010


Apple's new iPhone/iPad development terms


Comments (0)

When iPhone OS 4 was announced on 8th April, it came with new iPhone Developer Program License Agreement. The now famous section 3.3.1 states:

3.3.1 — Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs. Applications must be originally written in Objective-C, C, C++, or JavaScript as executed by the iPhone OS WebKit engine, and only code written in C, C++, and Objective-C may compile and directly link against the Documented APIs (e.g., Applications that link to Documented APIs through an intermediary translation or compatibility layer or tool are prohibited).


If you want to read a good article on why Apple did this, I recommend Daring Fireball. And for a more light-hearted look at the issue, try The Macalope.

For me personally, it's a pain. I am a long time user of Revolution for rapid application development, so I was thrilled when they announced revMobile which would allow me to use the same programming language for iPhone & iPad development.

Now I am stuck in limbo waiting to see if the Revolution people can do some sort of deal with Apple to get revMobile listed as an acceptable programming language in one way or another.

I've done some Xcode programming for iPhone, but I am so much more productive in Revolution. And as a good programmer, I am lazy and want to be able to do things quicker and more easily.

With my Apple supporter's hat on, I can see exactly why Apple is doing what they are doing. They have introduced a new type of computer with the iPad and they want developers to produce apps that are designed from scratch to work in this new environment. They do not want ported apps that look like they were designed to run on Windows and have been quickly hacked to run to the iPad. I think they also want to increase the standard of software development so that people no longer have to expect that their computers will crash at any moment. But this isn't really helping me right now, so I can only wait and hope.

Meanwhile, has anyone else noticed how Microsoft seems to have become completely marginalised? The blogosphere used to be filled with Microsoft vs. Apple debates, but now the battle has moved off the desktop and into the mobile devices. Google has taken over as the competitor to Apple and Microsoft isn't even playing the same game at the moment. Apple needs to start a new series of ads: "Hi, I'm an iPad", "And I'm an Android". Could be some funny stuff there.

Update: 11th May 2010
RunRev has just announced that there will be no further work on revMobile for iPhone and iPad. Check out the RunRev Blog for all the details.

April 202010


Blocking spam comments


Comments (7)

I have had a lot of trouble with spammers inserting multiple comments in this blog, with links advertising the usual spammer wares. Even though I had added some basic checking, it didn't do enough to block this. The problem was so extreme that I actually shut down the ability to add comments for a while.

Captchas are very popular as a human verification method, but I don't like them. As a user I find them a pain and they put the burden on to the user instead of on to the site's manager. I'm sure this stops a lot of legitimate posts.

So I have been searching for alternative methods and this is my first attempt. I am keeping the original method were users have to answer a simple sum before posting a comment, but then I am using a lot more validation in the server-side processing. Hopefully I can find a combination of methods that will allow legitimate comments while stopping the mass of spam.

January 282010


The iPad


Comments (0)

So after months of feverish speculation, Steve Jobs has finally announced what we were all waiting for: the Apple tablet, to be called the iPad.

In my poll as to the expected release date, 28% voted for January and 48% voted for the first half of 2010. I guess both those groups are correct since it has been announced in January but won't be released until later in the year.

So what's good about the iPad? It's basically a big iPhone without the phone. It does all the other things the iPhone does: photos (although without it's own camera), movies, music, web surfing, email, calendars. And very importantly, it will run the iPhone apps from the App store without any modification, although developers can now take advantage of the larger screen.

In my opinion, the killer apps for the iPad are the iWork apps. While I can't imagine typing a long document on the on-screen keyboard, there is a keyboard dock accessory. Keynote will be fantastic since the iPad can connect directly to a projector. Numbers and Pages will make this a working computer, rather than just a portable communication device.

Sticking my neck way out here, I see the iPad as the beginning of the end for laptop computers. Steve Jobs sees it as filling a niche between the iPhone and a laptop, but if you have an iPad, what do you really need a laptop for?

And consider the price. A MacBook plus iWork costs $1078 at the US online Apple store. An iPad plus the 3 iWork apps will cost $528.97 as well as being smaller, lighter and easier to use.

I have 2 main questions which are due to my location in Australia. We have legislation forbidding the purchase of books from overseas publishers if they are competing with local publishers. This will probably make the new iBook store useless over here, at least at the start.

The second thing is to do with playing movies. In Australia, all internet accounts have monthly download limits beyond which you have to pay penalty rates or get slowed to dial-up speeds. This means that buying or renting movies from the iTunes store is not a viable option and instead we buy or rent DVDs for playing movies. Currently a MacBook makes a very good portable movie player. An iPad would be physically more convenient and I think the screen will be better, but how can I get a movie from a DVD to the iPad? I am hoping that there will be a disk-sharing facility like there is for the MacBook Air, but I am afraid that Apple thinks DVDs are extinct, so they will not even consider such a thing.

My last wild guess is that this is another blow to the PC manufacturers and to Microsoft. The iPhone has been adopted by millions of people, regardless of whether they use Macs or PCs. But the iPad will be creating and editing iWork documents. I wonder will the iPad versions have the ability to export files in MS Office format? If not, the iPad will be another incentive to switch.

And for all the millions who are not very computer literate but have learnt the very intuitive methods of using an iPhone, this gives them a laptop that they already know how to use.

Then there is the situation for developers. Thousands of people are making apps for the App store, and now these people will be extending their work to the iPad. But this development can only be done on a Mac. We now have a major operating system to compete with Windows and Mac OS X, but the new system requires the Mac. This has got to increase the flow of people to Mac.

Am I going to buy one? I need to wait and see whether it will allow me to play DVDs and whether I can buy books. But yes, I will get one at some stage.

October 292009


Apple's Magic Mouse


Comments (0)

I had a chance to play with a Magic Mouse at the local Apple store yesterday. First impressions were negative, but then I got more used to it and started to appreciate it.

It is very flat, so if you are like me and prefer a chunky mouse under your hand, you will find it a bit difficult to get used to. The mouse movement seems precise, without appearing noticeably better than other optical mice.

The mouse buttons are hidden under the smooth upper surface, but the clicks are much more obvious that in the old Mighty Mouse. You actually feel a distinct click when you press which is a big improvement.

I'm not sure if this is still the case, but you may need to go into System Preferences and setup the mouse to allow right-clicking. For some unknown reason, this always used to be turned off by default. Hopefully this is no longer true.

I had wondered if the tracking sensors meant that the whole mouse could be used as a trackpad, but this is not the case. However scrolling is very nice. Just flick your finger and the window scrolls just like an iPhone scrolls i.e. starting off fast, then slowing as the momentum runs out. This works up, down or sideways.

I didn't get to test most of the multi-touch features. In Safari, a two-fingered sideways swipe is the same as clicking the forward & back buttons, but that's as far as I got.

As of today (29th October 2009), the Magic Mouse is still not available as a separate product, although it comes bundled with new Macs. The online Apple store lists 5-7 days delivery, so I expect they will be out soon.

I haven't decided yet whether I will buy one - I will probably wait until the next person I know gets a new Mac and make a more detailed assessment then.

Oh and by the way, the new 27" iMac is gorgeous!

September 212009


Digital Cameras - how much is enough?


Comments (0)

The digital camera world has gone through a couple of development stages. At first, it was all a battle get more mega-pixels. But at about 3 megapixels, this increase flattened out, and the emphasis was on features. Since then we have had another leap to the 10 - 12 megapixel bracket and again, this seems to be holding for a while. Now we are seeing an increase in digital SLRs with their wider range of features and changeable lenses.

So what do we really need?

Before buying a new camera, I stopped to think about how I use the photos produced by a digital camera. With a film camera, you get the packet of prints or the box of slides back from the developer, and everyone has a look, then they all go back in the packet. With digital photos, they go onto the computer. They get made into screen savers, slide shows, emails and web pages. So we use our photos far more, but in a very different way.

Most usage of digital photos is on the computer screen, so any resolution that looks good on the screen is high enough. If you really need to print high quality photos, then that is when you need the extra megapixels.

I calculate my printing like this:
If I want a standard photo print, it measures 6 inches x 4 inches.
300 dpi gives me a good quality print out, so for 6 inches, at 300 dpi, I need 1800 pixels (6 x 300). The overall image needs to be 1800 x 1200 pixels which is just over 2 megapixels.
Applying the same calculations to a standard sheet of paper (US Letter or A4), I find I need 8 - 9 megapixels. Any resolution greater than that is more than I need for what I do.

In fact, my most frequent editing of photos is to shrink them to fit on to web pages or into emails. Luckily Apple Mail does this automatically for emails, but I have to do it myself for web pages.

The other major factor in using a digital camera is convenience. How many more photos will you take if you have a camera with you all the time? You have to make a decision to carry around an SLR, but the camera in your phone goes with you. Apparently 40% of new photos published on Flickr are taken on an iPhone. It's only 3 megapixels, but for sharing photos on a web site, this is good enough.

So I have my iPhone for spur-of-the moment pictures, and a compact 7.1 megapixel camera which is easy to carry around and goes with me when I expect to take photos.