Haskell and other programming

On September 5, 2010, in Uncategorized, by Domness

Deciding to learn some more Haskell programming for this year at university. Also, just had the idea of updating TerraCoding.com fully now me and Robert have worked a lot more on a number of projects!

 

iTunes 10 & iPad iOS 4.2

On September 1, 2010, in Uncategorized, by Domness

So! Apple have just announced iTunes 10 with Ping social networking! It seems that Apple is really interested in turning iTunes into a social application as well as a music one. Apparently “It’s like Facebook and Twitter meets iTunes”. Although, I’m not to keen on the logo..

One thing that I’m really looking forward to, is the ability to play music from iTunes through the iPad!

 

SVN & XCode

On August 31, 2010, in Other, by Domness

Recently I decided to have a look at what the XCode built-in SVN client was like.. Fortunately it worked quite well — Saving money on buying a standalone SVN client for the Mac (despite the fact that Versions.app looks and runs really well).

One factor that I really love about XCode’s built in SVN, is its Annotate and Compare features, this means i can load up two of the same file and it automatically shows me any changes that have been made so any errors since the last file can easily be found and corrected, speeding up programming time.

Me and Robert are now both using SVN to collaborate our TerraCoding work and produce code in a much faster time, sharing and helping each other out.

 

Recent downtime

On August 31, 2010, in Other, by Domness

Sorry about the recent downtime on the blog. This was due to me making some changes with the MySQL database for other projects so I had to change a few things. But thankfully, it’s now back up and running.

In other news, I’ve been starting to get into some new iPhone and iPad projects :) — Some details I can’t give away yet, so you’ll have to hold on tight and see what the TerraCoding team comes up with this time around ;)

— But I have to say, we ARE also working on a personal iPhone app but we will be putting this on sale for the public to download at their free will. We’ll be releasing more details on it in the near future as the project is coming along quite well!

 

Haskell & MBP Full Reinstallation

On August 25, 2010, in Other, by Domness

After many months of random shut downs and restarts from my MacBook Pro, I felt it was time to try a wipe and reinstallation of Snow Leopard. After the reinstallation I not only found my Mac a LOT faster again, but also ever since I’ve not had a single restart needed. Definitely something I had downloaded must have been corrupting my Mac somewhere. I can finally rely on my Mac to do my DJing and other important tasks without it crashing.

Also, today I downloaded the Haskell Platform for the first time onto my MacBook Pro. I found that I will be learning Haskell over the second year at university so I decided to install the platform and have a quick play around ready for when the lectures and assignments come pouring in.

 

IBIZA!

On August 9, 2010, in Other, by Domness

I’ve just recently come back off a weeks holiday to Ibiza! It was seriously the best experience I’ve had in my entire life and something that I’m now definitely missing a lot and hoping to go back there another summer in the future! Visited all the main spots like Café Del Mar, Privilege, Amnesia, Es Paradis, West End Strip etc.

But now I’m back it’s time to start some proper work, earn money and back into normal routines. Finally the new house has internet so I can sit at home doing work. This has taken its sweet time!

I’ve applied for 10 jobs and waiting on 9 of them now. This year I’m going to be doing a LOT of work, university work and generally trying to gain a profit to put into my bank accounts.

Until my next blog post.. Au revoir!

 

Moving House

On June 27, 2010, in Other, by Domness

I’m heading back to Sheffield tomorrow to get ready to move house again. This time into a house down the road with 4 other mates for the year. It’s going to be one hell of a year! But it now means learning another address, getting used to walking up the STEEP hill to get to the house, as well as sorting out all the billing details such as the gas, electricity, water, phone and broadband.. great.

Me and one other are moving in on the 1st ready to set up the house for when the other housemates join us a few days later. Hopefully we can make it a quick move in and get the old flat cleaned up fully for the next people who will be moving into their in September.

Until then, I’ve got a lot of work to do finding a job for the year as well as my iPhone/iPad/Web programming work.

Oh! And I’ve got to find a cool holiday to go on as well…

 

As something else to post on this blog, I thought I’d add some code help. Going through a number of questions on StackOverflow that’s reached a number of thousand views, I thought I’d post some of them up on here.

To set a text character limit in an NSTextField, the following code should be placed into your view controller and make sure NSTextField delegate is set to self.


-(BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string {
//limit the size :
int limit = 20;
return !([textField.text length]>limit && [string length] > range.length);
}

 

iPhone 3GS Replacement [O2]

On June 20, 2010, in iPhone Development, by Domness

Finally, O2 decided to accept my claim and are replacing the iPhone on Tuesday I think is what the phone operator had said.

I really can’t suffice with this iPhone 3G… And can’t wait to be back on Multitasking with iOS 4.0. Oh, and back onto normal 4.0 development with things such as in-app development and Apple’s iAds.

 

iOS 4.0 Multitasking

On June 19, 2010, in iPhone Development, by Domness

Something I’ve found pretty cool with the new iOS 4.0 is the multitasking coding. Firstly, keep the code exactly the same from a 3.x app and just compiling it for iOS 4.0 works some cool things to the app.

For example, if I build the app for 3.x.x and install it on an iOS 4.0 device, the multitasking doesn’t work too great. I leave the app, come back and it loads back from the beginning.

If I then build it for 4.0 and install it on the device, then when I load up the app and switch to another, the app comes back to the same place as I left it exactly. I was loading a profile on the Twitter app, and switched to read a text for a second to Messages.app, when I came back to the Twitter app, the profile had loaded. Also, also when I quit the app to the homescreen, and load it back home from the homescreen icon, it comes back to where i left it, AGAIN :)

Anyway, my point is that keeping the code the same and just building it for iOS 4.0 means that some multitasking works already for the app without the need to code for certain actions from the user.