Wednesday, 25 April 2012

As nice as blogger is I will be moving my blog to my new site soon, probably 2 or 3 NUTS (http://c2.com/cgi/wiki?NebulousUnitOfTime) away from now.

Here is the URL: http://www.mraandrews.co.uk/ (I know, not a very imaginative domain name)

Monday, 23 April 2012

Subversion (svn) password reset for eclipse

Kind of off topoic but....

For the past few weeks I have had an issue with my subversion password when interacting with the repository through eclipse, I thought maybe I had created a network password (as we use ldap integration) that was too long, but I have just had to change my network password and no, it wasn't that!  sadly I have no idea why this happened, all I know is what I had to do to fix it, I done the3 traditional google and cam up with this post that was most useful, so Thanks robbie (http://nlp.cs.byu.edu/~rah67/wordpress/?author=2):

http://nlp.cs.byu.edu/~rah67/wordpress/?p=4

Anyway, no more cutting and pasting 7 or 8 times to get code in or our of SVN = Happy Developer :-)

Maybe this will hep someone else?

Friday, 20 April 2012

Too much to do, not enough help!

Just found out my developer helper friend has no computer for the time being and can't help me with a Joomla template, That's not cool!

SO Looks like I'll be getting knee deep in HTML and CSS over the weekend.  I do hate creating a design, and then having to implement it myself!  Oh well, bring on the Joomla template design, last time I done this was version 1.x, how different can 2.5 really be?

Well I'll share my experience if I can find the time...

GNUstep/Objective-C - First Contact

I have been creating little Objective-C Programs on My Windows Machine (It's not really mine,I would never have a windows PC) just to get the compilation working, I started with Installing GNUstep - very easy:

Install all of these bits:
  • GNUstep MSYS System
  • GNUstep Core
  • GNUstep Devel
Then I created a simple program in a file called hello.m:



#import <stdio.h>
int main(int argc, const char *argv[]){
     int i = 1;
     int *iptr;
     iptr = &i;
     *iptr = 2;
   
     printf("result %d",*iptr);
     return 0;

}


Question:  Why isn't it easier to format code in this blog?


Anyway, this is a fairly simple piece of code, doesn't do much, a little with pointers (which as a Java developer I never had to worry about, and printf).  It compiles, it runs, it displays data!  easy!  to compile I use this line: 
 g++ hello.m -o hello 
To run it I type:
 ./hello.exe  and the output  is: result 2 
Simples, works like a charm, step one complete Big tick in the box

Learning Objective-C: The Start of My journey

Well, I'm not sure I really know why, I guess I love to learn new technology, but for the past 10 years it's always been Java, so now to start learning something new I'm finding it quite tough.  I think I probably make it tougher than it needs to be, but I really like to dissect everything and know exactly how it all works.

I have an iPhone, I have an iPad, I have a macbook pro, but have never been able to write any applications for these platforms, I used to have an Android phone, but that's Java, the thing I struggled with there was finding something to write!

Any way I'm waffling; Why?  I want to be able to say I'm an iOS developer (ipad and iphone), at the moment I work for a National Charity as a Java developer (Portal/J2ee), and in my spare time I develop PHP websites using open source technologies like Joomla CMS and Zen Cart for eCommerce.  A have also had a few people say that they would like iphone apps, and as I'm such an apple fan boy I thought I would learn and get an apple developer license.  I have produced a 'hello [user enters there name and gets it displayed back]' app so I could get familiar with xcode, and that's all well and good, and to be honest if you really wanted to you could do a fair amount of iOS development without even knowing how to program in Objectice-C, but become a cut 'n' paste code monkey!

Well, that's just not me!

So to do this I am trying two things:
Learning Objective-C using GNUstep (http://www.gnustep.org/)
Someone has asked me to develop a simple iPhone app that displays quotes of the day from a website

Wish me some luck...