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 11 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 11 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 11 years ago comments
 

Summer of Code 2007

Posted by Jerry Sun, Apr 15 '07

It’s finalized: My Google Summer of Code 2007 proposals for Tomboy weren’t accepted. :( After results were out apparently there was one free GNOME slot that got unallocated and Sanford Armstrong offered to help, but it still turned out to be far too late. Pretty disappointed that I won’t get the possibly-awesome T-shirt or valid excuses to replace my laptop, but oh well. Going to pluck out original ideas from the proposals and start cracking on Gtk#. Expect some more Tomboy love soon, folks! ;)

Anyway, a review on this year’s SoC: Enthusiasts should definitely check out proposals listed on their favourite organizations. I have a good feeling about GNOME, Firefox/Thunderbird and Gaim Pidgin. Am I looking forward to the next few months of the Linux feature-fest. :)

And finally, going to release my Tomboy proposals into the wild under the Creative Commons Attribution license and move TomboyPIM into blog-post form so comments will be enabled (and search engines can index it, and maybe I’ll get more Tomboy/Google hits :)). Should be getting on it as soon as I finish my thesis report, due tomorrow (Ack!). Meanwhile you can check them out here: Networked Tomboy, and Using Tomboy as a Personal Information Manager: Integration with Evolution.

# Posted in 11 years ago comments
 

Maemo + GPS

Posted by Jerry Sat, Apr 14 '07

Was thinking about possible uses for the Nokia N800 Linux tablet recently, and had a short discussion with my cousin on utilizing Google Maps on it to compensate for lack of built-in GPS. We exchanged ideas on how it would work as a vehicle GPS system purely via WiFi… maybe overlaying a speech synthesis system (screen scraping + Festival would work) onto the Google Maps direction, and use the stylus to update the vehicle’s position on the map? (Could be done every few traffic stops or by a second passenger… but I imagine it would be a pain to use) And not to mention the lack of Wifi coverage in non-urban areas… Looks like it would still be better off if packaged with a GPS module.

And then what about software support? Neither the N800 nor the OpenMoko Neo1973, which does have GPS, are sold here, so they probably don’t have map software for this region. There are GPS software for Symbian, but it’s… well, Symbian. ;) I’ve been wondering if there’d be popular GPS devices on the Australian market use Linux… looks like TomTom does! Now I’m left wondering when we’ll see some Maemo/TomTom love anytime soon… :)

# Posted in 11 years ago comments