Objective-C and Swift

I’ve decided to embark on learning how to code in Objective-C (as I already have a book on it) and eventually Swift. The main reason for this is just to learn something new that I can have fun with. The goal is not to retire early on App Store earnings, although if that happens it would be a nice bonus!

The book I have is called Programming in Objective-C 2.0 (Second Edition) by Stephen Kochan: http://www.amazon.com/Programming-Objective-C-Edition-Developers-Library/dp/0321967607

I just finished the programs and exercises in chapter 2, but because WordPress does not honor code indentation (if there is a way please let me know) you can see my code in all its glory on paste bin: http://pastebin.com/MH3W7BN4

Debian

Well, that didn’t take long! I have switched both my primary laptop and my Raspi to a Debian based distro. On the laptop I am running Linux Mint 15 and on the Raspi I am running the more widely used and supported Raspbian Wheezy OS.

I will then run RHEL/CentOS/Fedora in VM’s for when I need to refer to them as part of my LPIC 1 cert homework. I’m pretty sure I spend more time switching between different distro’s than actually learning anything useful! Hopefully I will stick with this setup long enough to finally obtain my LPIC 1 certification… We’ll see!

Image

Checking out Pidora

I am going to utilize the Fedora Spin for Raspberry Pi, which is suitably named Pidora. I am going to be running my home infra solely on RedHat (or CentOS if I choose to not pay) for the backend and Fedora as my main computer. All instances of Debian-based distro’s wil be run in VM’s for educational purposes.

The plan is to utilize the Pi as a 389 Directory Server as well as a NAS device with the eventual goal of having an Active Directory like setup for the home computers to securely share data and run backups while guest devices that are not part of the directory will be cut off from the important data.

Image

Fedora 19 bug

This bug is actually not just related to Fedora 19, but was actually introduced back in version 15. You can get through the installation just fine via the Live CD, but once you boot into your newly installed Fedora OS the screen is blank and pressing the brightness buttons on the keyboard has no effect. If you put a torch (or in this case my iPhone’s camera light) up to the screen you can just about make out the login screen. So, using the tab key to navigate your way to the username and password screen you can successfully login and once you’re in the brightness buttons on the keyboard work and voila! you can see again.

Well, it looks like this problem is specific to the HP Pavilion dm4 notebook. Bloody typical, eh?! Of all the laptops in the world I happen to have this one ha ha! Ubuntu works just fine, so it’s clearly a Fedora thing. Anyway, I just signed up to FedoraForum.org and will start contributing to the following report: http://forums.fedoraforum.org/showthread.php?p=1630193#post1630193