Which Programming Language are you?

Posted by Jerry Mon, Apr 30 '07

You are PHP.  You enjoy the World Wide Web.  You are constantly changing the way you do things, and this tends to confuse people who work with you.

Favorite question: “If you bumped into Paris Hilton at a party you would:”

  • Hit on her
  • Hit her (LOL)
  • Take a picture on my cell phone and send it to all your friends
  • Ask for her autograph
  • Wonder what hallucinogen you had just taken

'Tis a no-brainer; I’d suspect someone just fooled me into puffing a joint/poured a whole bottle of Vodka into the punch. xP

Now, it may or may not be a bad thing that I still haven’t learn PHP yet… nowadays mainstream languages like Java and C and .NET get all the attention that that’s all tertiary institutions ever teach. I’m not particularly keen on picking it up – don’t people complain about how ugly it is? (Myself, I prefer Python. Perfect mixture of OO-ness, whitespace and brackets) It is a pretty popular language in newspaper job listings over here though. Maybe sometime in the future when I decide to migrate to Drupal or Wordpress and learn by hacking bits and pieces onto the blog system. Where’s Boo, D, Erlang and Scheme anyway? I’m sure Bash and SQL would like a nibble of action as well. :P

# Posted in 13 years ago comments
 

Why I no longer enjoy TV shows

Posted by Jerry Sun, Apr 29 '07

Watched Primeval on TV over dinner on Friday night (actually, via a USB TV receiver on laptop, we don’t have a TV here… but I digress)... couldn’t stop laughing! See, that’s what an education of science and computing does to you. You can’t even enjoy a mainstream TV show without suspending your disbelief in a straightjacket, locking it key and chain in a cement-enforced trunk and sinking it into the harbour on a dark stormy night. It’s just as bad as watching hip hackers assemble virus code on a multipanel 3D interface, or infecting an alien spaceship using code written on an Apple laptop.

But back on topic. Some rants:

  1. You find a live frickin’ wormhole that transports you millions (billions? My science is rusty) of years back in time/into a parallel universe with live prehistoric reptilians roaming the earth, and you don’t even drag a bunch of the world’s best scientists out there to record, analyze and hopefully learn to recreate it lest it disappears? Albert Einstein must be spinning in his grave…
    1. You find a live frickin’ wormhole, and you only send 2 men, both who are completely unconcerned about this greatest breakthrough of science ever, through it?! How about at least gathering some samples of soil, vegetation and live fauna? (Counter-argument, see 1.2) How about some photos so you can document it?!
    2. Ok, maybe you’ve read Ray Bradbury’s A Sound of Thunder (1952) and decided not to mess with anything. How about putting on some protective garments so you won’t accidentally pollute the timeline and rewrite history so an ape president rules over humans on Earth?! On 2nd thought, maybe they already did that in America...
  2. You find a live frickin’ dinosaur many dinosaurs, one witnessed to be twice the size of a London bus and carnivorous, and you don’t even immediately deploy a battalion to defend yourself/quarantine the area/clear nearby townsfolk? Are you desperately hoping to be the recorded as the first modern human to become dino-chowder in the big book of Guinness? (See 3)
    1. You find a live dinosaur with wings, and you don’t/can’t even properly capture one (at least secure it so it doesn’t escape and then waste 5 minutes running through a building chasing the flying bastard) and analyze it in the name of science? Why is its poo green? I suspect it doesn’t have a chlorophyl-rich diet.
    2. When you find a live dinosaur, although it appears to be herbivorous, and it appears to be agitated by your presence, and it appears to have a huge, thick, fleshy tail, don’t go near it. Observe the majestic animal with respect from a distance, take your pictures, whatever. You don’t know its defense mechanisms, and you don’t want to try it first-hand. (Do dinosaurs growl like big cats, anyway?)
  3. See? That’s what happens when you only have a bunch of puny humans armed with silly little rifles. Everyone gets scared shite-less when a carnivorous dinosaur twice the size of a London bus suddenly appears at the camp, lives fall into mortal peril, and god knows what priceless data got lost when the raging thing kicks over a bunch of electronics.
  4. You ram a jeep at, what, 60km/h into a dinosaur twice the size of a London bus. The dinosaur flies a few feet. The jeep barely gets a wrinkle. The driver scrambles out unharmed and unfazed by the impact. That’s a darn good vehicle there, I’m convinced. What’s the brand, and where do I buy it? /sarcasm

Maybe I should watch more Youtube videos of people getting pwned in le groins to balance out my mental perspective so I can properly enjoy TV again.

# Posted in 13 years ago comments
 

Deadlines

Posted by Jerry Sat, Apr 28 '07

MSN nick last weekend: “Jerry – ye olde arts of procrastination”, mostly doing nada, some guilty thesis research.

Monday: “Jerry – Haunted by deadlines // coding”, pounded on keyboard for Distributed Systems Elvin programming assignment.

Tuesday: “Jerry – Haunted by deadlines // reading”, started flipping through Spatial Database notes and speed-reading through first few chapters of library books.

Wednesday: “Jerry – Haunted by deadlines // researching”, furiously skimming through book and lecture PDFs, writing on LyX.

Thursday: “Jerry – Haunted by deadlines // 3am sprint!”, 3am: just chat with Fieran for ~2 hours, paper due in 12 hours, type dammit type! 3.30am: Sod it, I’m going to sleep. 9am: Woke up, wolfed down sandwich, 200mg caffeine, finished up last question, submission, woot!

Friday: Commented code a bit, due date is delayed so less rush, woot!

On the other hand, still on the Todos-hovering-malevolently-around-the-corner list:

  • Web programming for thesis
  • Start preparing on thesis seminar
  • Clean up submission for Elvin code
  • J2EE code for next Wednesday’s tutoring session
  • Start C coding for Advanced Networking assignment
  • More experiments on sleep-hacking (More on this soon. :))
  • Start cleaning up and publishing the ol’ Tomboy proposal, and aiming for GNOME 2.20!

Also, just watched Death Note 26 and 27. Holy crap, this story arc is going to be on a completely different level isn’t it?! Decided to go to AniDB page and change my old vote from 9 (the “Pretty Awesome” vote) to 10 (the “Frickin’ love it!!11” vote).

P.S – Just rolled my own Drivel 2.0.3 to work around the lighttpd + Expect HTTP header bug. Tried upgrading to lighttpd 1.5 (took some time to figure out how Debian packaging works) and running for the past few weeks, but for some reason PHP+fastcgi doesn’t send the MIME types properly = Firefox refuses to load Drupal test site CSS = ugly, and no Drupal testing. Now everything should be hunky dory. :)

# Posted in 13 years ago comments
 

Random fortune cookie: Toad

Posted by Jerry Wed, Apr 11 '07
“You will be reincarnated as a toad; and you will be much happier.”

Wow, really? Um, hello, whichever great Deity on-shift listening in on reincarnation requests from mortals today? Yes, hi. Whatever You do, could You please not make me a Australian Cane Toad; and in case toad queues are full and we’d have to settle for frogs, please please please don’t drop me on Earth within 100 kilometres of a Chinese restaurant or any of the countries in that link, okay? This is of the utmost froggy life-and-death importance. Oh, and if you can somehow fit in a distraught princess from an exotic country into my fates, I promise I will spend the rest of my amphibian life croaking your religion to my future fellow pond-mates. Kthnx.

# Posted in 13 years ago comments
 

Rediscovering laptop touchpads

Posted by Jerry Fri, Apr 06 '07

Ever since my old Creative mouse turned faulty (possibly by damaged copper causing intermittent shorts…) and started causing my Ubuntu to freakout and launching itself into a crazed stuttering fit every time I type, I’ve switched to touchpad-ing. Took some time getting used to, but eventually grew into it. Perhaps it’s just more natural for southpaws?

Anyway tickering around with Feisty’s settings lately I’ve noticed web pages seemed to jumped around randomly sometimes when I’m just moving my mouse. Then I realized I’ve accidentally enabled 'vertical scrolling’ in Synaptics… something I never knew exist after 5 years in possession of this machine! Dude – Human interface devices rock.


Please excuse the gunk.

As you can see, I’m also rediscovering how to draw on touchpads. It’s no Kit (the SXSW baby firefox mascot is drawn on a touchpad. Now that deserves the term 1337 h4×0r skillz), and I sucked playing Chick Chick Boom, but hey, I’m learnin’!

As a side note, this completely refreshed my perspective on touch-screen UIs. OpenMoko, the Qtopia Greenphone and the Nokia N-series (not the plain-Jane 2 digiters, I mean 770 and the especially geekalicious n800) are going to rock the industry hard.

# Posted in 13 years ago comments