Cool paper animation

March 20, 2008

Check it out.


Trying SVN

March 13, 2008

I’ve been planning on using a content versioning system for sooo long and I’ve finally made the move. Im using TortoiseSVN. So far its been pretty straight forward, i can’t wait to start thrashing it for all my web dev (also gotta get an online server working somehow). I made the move because i’m going to attempt to get a working merged system of MODx & phpshop 1.2.

I have had one problem though, when creating a tag from the HEAD, it only copies the files and not the child directories and their folders… hrmrmrm

We’ve finally made our company website live.



March 11, 2008

Last night I decided to have a break from the code. So I decided to read up on RoR. Evan had been harping on about how glorious it is so I thought I would give it a shot. I had a look at this intro tute, decided to print it out and ended up staying up all night reading the entire thing. It seemed the more I read on, the more I came to realise the similarities of RoR to the CodeIgniter php framework that I have come to love. The first impressions I get of RoR is that it has a strong sence of an application development environment about it. The OOP, the automation, the testing, its all just too easy. A little too easy some might say. Anyway, being a developer based predominantly on php & javascript there were a few things that stood out to me which were:

  • The forced OOP
  • Ruby’s quick & simple syntax
    • Method dot notation & no requirement to tack on empty parentheses after a method call that has no parameters.
    • A method automatically returns the return value of the last line of code in the method.
    • The ! and ? method notations.
    • Shorthand setter method notation. eg: car.mileage = 5000 instead of car.mileage(5000)
    • No ++ or — operators 😦
    • Shortcut string declearations that use quotes. eg: %Q(Arnie said, "I'm back!")
    • Array decleration of just using brackets. eg: service_mileage = [5000, 15000, 3000]
    • Shorthand string array declearation. eg: %w ( red green blue black )
    • Hashes
    • Symbols (like a string literal but with basic functionality)
    • Blocks! (like prototype .each())
  • The automated 3 environments (development, testing, production)
  • MVC architecture
  • ActionPack including ActionRecord (which I love in codeIgniter)
  • ActionMailer (rail’s generic email handler)
  • Code generation
  • Testing & Debugging

I think my next little web app that I try will be in RoR 🙂

Can’t sleep

March 6, 2008

My mind is racing about work & rugby. Our first pre-season game is on Saturday and going of our recent trainings I have a bit to brush up on my ball skills, my passing is far from acceptable! Anyway, here I was trying to make myself go to sleep. I tried relaxing, forcing myself to feel my limbs are all heavy etc. I even tried the reverse of trying not to fall asleep (that usually works too). But I always seemed to tense up going over our backline moves and the timing and angle to run! Argh, i then thought about putting some GTD audio books onto my mp3 player and listening to them since whenever im trying to concerntrate on learning stuff I struggle to stay awake. Then I thought, there so has got to be some audiobooks/mp3s out there to help you sleep. I did a quick google search and found this. Its about: ‘Polyphasic sleep = not sleeping at night, but many naps throughout 24/7’ crazy concept but im too scared to try it.

The lame thing is I can’t find any free sleepy mp3s to download right now, just torrents. I just downloaded some gay named sounds of nature sleeping mp3s of *gasp* limewire. I was more after some information/explanation on how to get to sleep more efficiently but ill try these and see how they go lol.