Archive for August, 2011

Day 13

I think today is Day 13.

So finally I’ve had a chance to sit down and nut this out. First things first, getting hello world to run on the iPhone. Finally I worked out how to self sign a certificate, and get Xcode to build it, then using a custom script I found on the net, sign the code so the iPhone will run it. Yay! Hello World runs on the iPhone!

Next step. Get a GPS app running on the iPhone. After following a pretty good tutorial from http://www.vellios.com/2010/08/16/core-location-gps-tutorial/ I finally got a GPS test app running. (After making some changes so it would run on iOS 3.1). However, this is the end of the good news. So far, as I suspected, the iPhone 3GS isn’t performing well on the GPS. Accuracy of 1km isn’t good enough, that can be achieved with just network location! We need down to about 10m. I’m thinking maybe I will need to upgrade to a newer iOS to see if it’s an issue with the hardware or the software. However I want this app to run on iOS 3.1, so am hesitant to do any upgrades.

The last of the good news is that the Objective-C is starting to make some sense to me, and I’ll now work on learning the major differences, and some more subtle ones, between Objective-C, C++ and C.

Share

Day 6

So not much has happened over the weekend due to it being very busy. Today the mini-DVI to HDMI adapter arrived, so I could finally “dock” the Macbook at my desk. After “docking” it with my monitor, keyboard and mouse, it suddenly feels less like a laptop and more like a desktop! More screen realestate is a big bonus. But being able to just pick it up, pull out a few cables and take it with me, tether it to my mobile via wifi and work on the go, just makes such a difference to having a separate desktop and laptop!

As I already used a password manager under Linux, I wanted an application that was compatible with my existing password database. Thankfully, Password Gorilla runs on OS X, and all the other platforms, and reads the same password database as pwsafe does. So while I was out today, I finally migrated a number of machine passwords into a secure “safe”. The GUI is rather nice on the Mac, so I may considering using it under Linux too.

I’ve also installed Qumana which will allow me to blog without using a browser. This is something I did many moons ago, and so thought I’d try it again for this Project as it assists in making me use the Mac for the whole time, rather than using interfaces/apps/things that I am already comfortable with.

As I have a few uni assignments due this week, I probably won’t spend much time working on the project. And unfortunately, at least for one of the assignments, I will have to use my Linux machine to complete it due to some tools that aren’t available for Mac. I have contemplated installing Linux on the Mac, but for now figure that the time spent doing that is better spent on the assignments.

Interestingly, while setting in a shopping centre working today, some random walked past and said something like “Mac’s are nice aren’t they?” So for all those who want people to stop and talk to you, get a Mac!

I think I have gotten this Mac to the point that it’s now very usable for me. I’ve installed enough apps to get me going, and I’m forcing myself to learn all the Mac shortcuts. Now I’ll use it for all my Assignments this week as much as possible, and I think by the end of the week, I’ll probably be using my Linux machine via VNC on my Mac!

Powered by Qumana

Share

Day 3

I’ve decided to blog this journey of learning and challenge. I am developing a mobile app, initially for iOS and eventually for Android. I have given myself an initial 60 days to get it done, 60 days from getting the equipment.

Being an iOS app, I required an Apple Mac computer to run the required development tools. Tuesday afternoon an iPhone 3GS and a MacBook arrived, curtsey of a friend of Jun’s. First thing I needed to do was download the Lion update, so I could run XCode 4.1. This started Tuesday evening and was finished by Wednesday morning (Day 1). I then prepared a USB Drive to boot the installer from, and went and purchased a new laptop HDD to upgrade the MacBook. By lunch time I’d fitted the new 500Gb HDD and the OS X Lion install was finished. Now started the 6-8hr download of XCode. Meanwhile I spent some time getting aquainted with this MacBook and OS X. No, I’m not converted like some people have been asking, however it probably will be my main computer for the next 60 odd days.

Yesterday (day 2) I wrote a Hello World app in XCode for iOS. It was copied straight from a tutorial on the net, and I quickly discovered that Apple wants $99 from me to be able to even test it on my iPhone! Come on Apple, you already get the money for the MacBook, the iPhone, and now you want more money just so we can test apps on our OWN devices!?!? Eventually we’ll need to fork out this money so we can sign our apps and put them on the App Store. For now though, I think I’ll just jailbreak for testing purposes.
I’ve continued getting acquainted with the MacBook. It now runs Firefox and Thunderbird, iCal is 2 way syncing my calendar. Clementine has become my music player (iTunes, no thanks), LibreOffice is installed. TextWrangler may become my other code editor if it is good enough. Dropbox is setup for syncing between my MacBook and certain folders on my main computer. So far, it’s been nice using this computer, however it’s certainly not better than similar hardware running Linux. For a start, it took me a long time to get network shares with our NAS working well, even though it supports AFP. Eventually it was easier to just setup NFS. I’m getting used to all the keyboard shortcuts, which once learned certainly speed up some navigation. Annoyingly, there have been some things where a keyboard doesn’t work and you have to use a mouse.

Regarding code, it looks like I’ll probably use Git for the SCM as its built in to XCode.

Thats all for Day 3 so far. I need to get some uni work done and we have a busy weekend. I look forward to next week when I’ll have to make this iPhone run my apps!

Share

Gmail account hacked :(

For someone that prides himself on security, it is rather embarrassing to get hacked. I currently don’t know how they got in, or exactly what they have done. I have changed my passwords and security questions though.

So far, I know that my account was accessed from Poland (194.181.62.13) with last access at 8:49 am today. It only appears to have been accessed via a browser, and there don’t seem to be any extra filters (forwarding) setup. I do know that it appears everyone in my address book has been sent a link, although the link I can see that was sent (thanks to a bounce back) doesn’t appear to work. They also deleted everything from my sent box and trash, which is probably what annoys me the most. I don’t know if anything else has been deleted.

The most likely method they got in by was from an attack on another site, that revealed my password from when I used the same password in more than one place. As I no longer do this, I’ve been slowly changing my passwords to all be unique, however I should have changed my gmail one along time ago.

So 2 morals to this story. Even security conscience people can get hacked. And backup your data from the cloud if you wish to avoid loosing anything. I’m now in the process of setting up version controlled backups of my gmail data.

Share