follow the code @manicasteroid

*RANT* Apple’s ridiculous lack of download resume

August 2, 2011 No comments yet

Why is it that since the zmodem protocol was introduced early in the 90′s a transfer could be resumed but here in 2011 Apple cannot do a freaking resume of a download in iTunes. I’ve just done the 5th attempted download of iOS update and when it fails a 630MB download at the 620MB mark and cannot resume I just can’t take it …

Besides the fact it cannot resume, they appear completely incompetent and as usual not bothered to do partial upgrades. Why the big download? what about XCode, it is even worse with a 4.3GB download everytime they update the SDK or the tools ….

Apple should care but they don’t, they want market share but it is a slow gain and this kind of crap doesn’t help.

*sigh*

My song choice for 2011 :)

August 1, 2011 No comments yet

Enjoy this from Bad meets Evil!

http://itunes.apple.com/us/album/lighters-feat.-bruno-mars/id440330623?i=440330682

I have it in my “Coder” playlist, just the right rhythm :)

HTTPS, EC2 Elastic Load Balancer and iOS

July 29, 2011 No comments yet

Who isn’t using an EC2 server these days? You’re not!? *shock* … it’s a heavy rock right? :)

I ran into a little issue that really should not exist but it did and when you read this it might be fixed by the great unknown powers at Amazon. If you’re wanting to host your web services on an EC2 server and use SSL termination at the load balancer (Elastic Load Balancer), you may need to install your changing certificate PEM.

Amazon claim this is only required for untrusted chains and since I was using a trusted one I didn’t consider it an issue BUT … of course on any iOS device the SSL connection was failing and this was why. Testing from a desktop etc worked fine just not any Apple products.

Once you’re done with the painful process of converting your certs into PEM files, take the last cert which is usually your upstream cert and install that as well.

Then all will be well. Why bother with ELB SSL termination? because it is the year 2011 and Amazon still think a server can only have 1 public IP address …

Awesome iPhone Games

July 25, 2011 No comments yet

I usually don’t post much non-tech related but after finding these games on my iPhone this past week I just had to share. Some games are good and some are ok but these pair from FullFat Games are just incredible. Not only do you have great use of the touch screen but the best HD I’ve ever seen. Flick Golf allows you to play great green shots just by flicking the ball and that coupled with same incredible scenery is something every iPhone gamer must try.

image

Above is an image of their first golf game Flick Golf. Keep in mind it isn’t your usual 18 hole full golf game, just great shots with lots of air-time!. Here is the iTunes link.

 

image

This is the next version, the Flick Golf Extreme – great visuals again with some super creative designs. Here is the iTunes link again.

image

The jury is still out on Coin Drop however, the visuals are exceptional with some interesting ideas but so far I just cannot get a feel for the game and cannot score to save my life :) Maybe I need more time in the tutorial ;)

 

Fixing XCode 4 on OS X Lion

July 22, 2011 No comments yet

What a disaster this was, Apple’s OS upgrader simple ignores the fact that it breaks critical products like their own development tools. Was a new XCode ready when Lion was released … no.

Many people however found that XCode had been updated in the AppStore the day after. If you’ve installed this then you’re probably getting the following error “Couldn’t load plug-in ‘com.apple.dt.IDE.IDEiPhoneSupport’” – the fix is actually pretty easy.

Just head over to Apple’s site, download iTunes 10.4 and install it. Even if you’ve already updated to 10.4 – re-install it. You should be good now.

-c

Github for mac!

June 22, 2011 No comments yet

Ok I cleared this title up a little, it isn’t Git for the Mac but a Github GUI and so far it is really great. I currently manage over 30+ repos some private and some public and this is so much quicker than trying to manage everything directly from their site.

It also support all your local Git repos, allows super quick and easy repo cloning but wait! it also supports the org. view so you can see your private login and any orgs that you also manage and their repos.

Great job so far Github team. thanks!

Find it here – Github for the mac.

Titanium and XCode custom build paths

June 14, 2011 No comments yet

[Note! updated to a better fix with the latest tools - Custom build paths part 2.]

You’re probably not going to run into this issue if you’re a noob and haven’t even used XCode before using Appelerator’s Titanium. Many though started building iOS application with XCode and are now looking for something faster and cross platform. Those who are maybe a little more advanced will be using custom XCode build paths.

I did this because I didn’t want dropbox trying to sync all the build and back ground build changes etc. The issue is once this path is set and especially after upgrading to XCode 4 – Titanium won’t be able to build your iPhone projects and you’ll get [ERROR] Your TARGET_BUILD_DIR is incorrectly set. Expected dir x and got dir y.

Wow – crazy hey, firstly I have no idea why they don’t just change this during the build or allow custom build folders but anyway, that is I change I am making for another posting with a compiler code change. For now the fix has been really easy and worked on the mobile SDK 1.6 and 1.7 RC and final.

Basically open the SDK XCode template, fix the build path and save. Done. Here is how, the project will be under your SDK folder:

/Library/Application Support/Titanium/mobilesdk/osx/1.7.0/iphone/iphone/Titanium.xcodeproj

I’m going to assume next you have XCode 4, if not – crawl out from the rock and install it :)

Open the project, click on the project name (not the targets), select the build settings tab and then change from Basic view to All. You will see the build locations and they’re probably wrong.

Delete any values in the Build Products Path and Intermediate Build Files Path. Then under per-configuration build products path enter the following:

Debug enter - $(BUILD_DIR)/build/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)

Release enter - $(BUILD_DIR)/build/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)

When you’ve enter those it will show as /build/Debug-iphoneos and /build/Release-iphoneos.

Project is saved automatically, exit XCode and run the Titanium compiler again and you should be good! Remember to do this for each platform SDK you’re using.

You can now KEEP custom build paths for other native XCode product while having Ti still work.

 

Titanium mobile 1.7 released

June 13, 2011 2 comments

The much anticipated titanium mobile 1.7 is now released, if you’re running the studio it will install the updates for you. I did notice it won’t remove the RC SDK which is ok, just remember to change your app’s SDK reference.

Dropbox security

June 4, 2011 No comments yet

After reading this http://tirania.org/blog/archive/2011/Apr-19.html I decided to post this … :)

Worse than that, dropbox generate a checksum of each file, if that file already exists it is not stored again even across user accounts. What? yep – you can verify this by uploading a crazy large file on one user account, say 1GB and then  upload the exact same file on a completely unrelated, unshared user account. The upload is instant – 1GB, in about a few seconds? wow – I wonder if cable know they gave me so much bandwidth ;-) The only logical conclusion is they’re only storing one copy. Not a problem for those with nothing to hide but if you’ve got a stash of torrent videos (not that I do), any org. could prove they exist on dropbox and demand usernames … just something to make you sleep tight :)

Now of course I cannot verify this claim so do your own research, I did try get an answer from Dropbox and just got silence … so there you go. I hope it isn’t so and honestly it is the smart thing to do in terms of storage but for those with files they shouldn’t have, its a problem.

 

Appcelerator finally gets it!

May 31, 2011 No comments yet

Pricing for Appcelerator’s Titanium Mobile finally makes some sense … I say some because you don’t get a whole lot for your money as an Indie developer but at least they’re finally acknowledging the existance of non-enterprise developers!

Depending on when you buy you can get an Indie subscription for around $400 a year if you pay for the entire year or around $50 a month. For this you get some training, not worth much but you get more documentation and debugging in the new Aptana based IDE called Titanium Studio.

What they currently fail to mention is that Studio is still in beta so you can actually get it for free including debugging up until the product is released. I’m still looking for that “extra” documentation so the jury is out on that :)

Of course now with an investment in Titanium I need to get cranking on some mobile applications. I’ve followed their advice on JavaScript architecture and so far so good. Application development has been easy and the studio has been bug free.

I plan to release an iPad version of UWENi based on titanium. The development has been radically faster than native objective-c and far more stable. Stay tuned for more results from that project….