blog archives of jonas.ph

june 2005 – june 2010

Archive for January, 2007

Hallelu-YACC by Bam Boo

And there comes our machine problem on CS 155 or Compilers. Our task is to translate a program written in C to my dreaded Assembly through the help of yet another compiler compiler, YACC.

[audio:http://www.snapdrive.net/files/504729/music/Bamboo%20-%20Hallelujah.mp3]
Hallelujah as popularized by Bamboo

Anong balita sa 1-5-5 MP
Ganun pa rin kumakapa sa dilim
Minsa’y naisip ko na umalis na lang dito
Limutan ang lahat, lumipad, lumayo

Bato bato sa langit
Tamaan wag magalit
Alam naman natin na YACC ay tuso

Sa bawat token-g pumalpak singil ko ay ‘dollar’
Sa bawat buffer na overflow — dahil kay ‘sval’

May pag-asa ba kapatid? Kaibigan?
After bukas ng 1 pm, tiyak may minus pa

As usual, if submitted late, you earned deductions.

Hallelu – YACC!!!
Sinong sawa sinong galit
Sumigaw ngayong gabi
Hallelu – YACC!!!
at LEX!

Blinded by RULES
I could barely see TOKENS in front of me

Very 155, hehe.

Asking me where do we begin
They are the scars from within

I’m ashamed of what I’ve become in the MP
The face of LEX, one true enemy

Hallelu-YACC!
It’s a bad day!!!

Let take control
If I have to take this message door to door

Save myself
Save every soul
With permission I make this my personal mission
Save me from five… from five…
Save me from five…

Tweak courtesy of Ia. Sounds much better than ‘… from failing’.

Ngayong gabi ako’y bangag tulad mo
Habang iba’y tulog ako’y gising nakabantay sa MP – kasi mahal ko siya
Tingnan mo ang oras ko’y sa MP lamang

Applicable to all machine problems of our subjects.

May pag-asa ba kapatid? Kaibigan?
After bukas ng 1 pm , tiyak may minus pa

Hallelu – YACC!
Sinong sawa sinong galit
Sumigaw ngayong gabi
Hallelu – YACC!

Sinong sawa sinong galit
Sumigaw ngayong gabi
Hallelu – YACC!

Ooohhh… Hallelu – YACC!
Ooohhh… Hallelu – YACC!

I have a joke…
Anong tawag sa bangag na gumagawa ng CS 155 MP?
Nontoken
Huh?
Nontoken… Hindi pa natutulog.

  • 0 Comments
  • Filed under: Decompositions
  • 145 Rhapsody by Queens

    This is inspired by Frank and Jael sensational exchanges of first and second voice in singing Bohemian Rhapsody. I’m not bored alone. This was written one week after Hanggang Kailan and it only means we’re not done yet after a week of the first deadline. 145 Rhapsody is again praising the subject while Queens gave honor to the face card, queen.

    Mama, just passed our proj
    Played his cards against AI
    No server GU-I, no we’re dead
    Mama, minus had begun
    And now we’ve to overhaul it all away

    To play the game is Sir Sanjay’s way, and no other way, to check the functionality of the MP. His doing some stress test to our Artificial Intelligence (AI) and if we succeeded we earned bonus to compensate for the minuses we harvested being late.

    Mama, ooooh
    Did he mean to make us cry?
    If we’ll not pass again this time, tomorrow
    Carry on, carry on, as if nothing really matters

    Too late, the time has come
    Send shivers down my spine
    Body’s working all the time
    Bye MH209 – I’ve got to go
    Gotta leave you all behind and face the truth

    Body’s working all time in our beloved Pinoy Slave Drivers House, MH209. And literally true, send shivers that even our air conditioning unit started to spit frozen water.

    Mama ooooh
    I don’t want to fail
    I sometimes wish I’d never enrolled at all

    We had given a choice before to take the equivalent EEE (Electronics and Electric Engineering) subject that semester or take 145 next semester. Oh well, sometimes we wish we’d never enrolled at all.

  • 0 Comments
  • Filed under: Decompositions
  • I was so desperate to finish our CS 145 Machine Problem on time when I wrote the lyrics below. CS 145 is a three-unit subject in Computer Science that deals with computer networks. The machine problem, which is the term for a take-home small programming exercise, is for four computers play poker with or without human intervention where information about the card is passed and listened through sockets. Hanggang Kailan by Orange and Daemons comes from the original song of Orange and Lemons with the same song title.

    [audio:http://www.snapdrive.net/files/504729/music/Orange%20And%20Lemons%20-%20Hanggang%20Kailan.mp3]
    Hanggang Kailan as popularized by Orange and Daemons

    Labis na naiinip
    Nayayamot sa bawat socket
    Kapag nagka-exception ka
    Wala naman akong magawa

    Gumana ka na baby
    Di na ako pasa pag wala ka
    Mahirap ang magrepeat
    At sa gabi’y dinedebug debug kita

    Hanggang kailan ako magcocoding
    Na tiyak overnight pang muli
    Sa MP kong puno ng paghihirap

    At tanging MP lamang
    Ang papawi sa mga luha at
    Naglalagay ng ngiti sa ‘king standing…

    Di mapigilang mag-isip
    O baka sa tagal
    Mag-listen ang port mo sa iba
    Nakakabalisa
    Knock on wood wag naman sana…

    Gumana ka na baby
    Di na ako pasa pag wala ka
    Mahirap ang magrepeat
    At sa gabi’y dinedebug debug kita

    Hanggang kailan ako magcocoding
    Na tiyak overnight pang muli
    Sa MP kong puno ng paghihirap
    At tanging MP lamang
    Ang papawi sa mga luha at
    Naglalagay ng ngiti sa ‘king standing…

    Mag-Broadcast ka na baby…
    Mag-Listen ka na baby…

    The first two stanzas deal with my helplessness debugging which line in the code was the source of the exception. If I don’t pass, then I will take the subject next semester. Why settle for that case if the teacher is the same?

    The chorus narrates our overnight sessions encoding the solution. I believe this is the first and last in the history of Computer Science Department that students were allowed to stay overnight in a laboratory. Unfortunately, the said MP is the only hope for most of us to pass the course since we failed the exams in a row. Broadcast and listen are two of the services the socket can provide.

  • 0 Comments
  • Filed under: Decompositions
  • Illusions

    How many people do you see?

    optical illusion, illusion

    And here… (creepy!)

    optical illusion, illusion

    And my favorite illusion…

    optical illusion, illusion

    More illusions on this page.

  • 0 Comments
  • Filed under: Internet Stuff
  • Word Squares

    A word square is a kind of acrostic. It is formed of several different words, all of the same length. The words contain as many letters as there are words across or down (known as the “order” of the square). When the words are written one under each other, the same words read both horizontally and vertically. A popular puzzle dating well into ancient times, the word square is related to the magic square.

    Examples

    Here are examples of English word squares up to order eight:

  • 0 Comments
  • Filed under: Internet Stuff
  • The F* Words #1

    Featured words (1/15/07)

    jot or tittle
    Meaning: 1. A tiny amount.
    Origin: The phrase ‘jot or tittle’ is somewhat tautological, as both jot and tittle refer to tiny quantities. It has passed into English via William Tindale’s translation of the New Testament in 1526. It appears there in Matthew 5:18: One iott or one tytle of the lawe shall not scape.

    Rip Van Winkle
    Meaning: 1. One who fails to keep up with the times.
    Origin: After Rip Van Winkle, a character in a story by Washington Irving (1783-1859). Rip falls asleep for 20 years in the Catskill mountains and wakes up to discover the world around him has changed. He finds that the American Revolutionary war has taken place and instead of being a subject of His Majesty George the Third, he is now a free citizen of the United States.

    foofaraw
    Meaning: 1. Excessive or flashy ornamentation or decoration. 2. A fuss over a matter of little importance.

  • 0 Comments
  • Filed under: Internet Stuff
  • Free Napster’s

    As of writing, I have 16.0 GB of MP3s of OPM and International hits. Oh yeah, they are considered pirated and killing the music industry. But part of blame points to Apple and other MP3 player manufacturers. They are the ones taming the industry. What will be the sense of x-GB size gadgets if you are not loading them songs.

    Anyways, I started collecting (and stealing) songs 4 years ago from another collection of my friend. I ended up at least 10-CD-worth of copied MP3s. Then I copied another one from my instructor who’s ripping her original albums. It was an additional of 6 CD’s.

    But during the Dark Ages, when I can’t find another pirate, I came across with an online OPM streaming page from Tristan Cafe. The playlist is updated with recent OPM hits. This became my radio during the thesis days.

    Suddenly, I got tired of downloading low-bit rate Flash documents. While Googling for free downloads of OPM songs, Kaye Solomon‘s site. Presto! Lots and lots of OPM songs.

    But my ups and downs in pirating the sea of MP3s continued when her site was brought down. Thanks to Google’s cache functionality and I was able to exhaust all of the likable MP3′s.

    Then, Mai introduced me the biggest Free Napster online, it’s Multiply.com. And yeah! Search in a breeze and several results of MP3s for public will be returned. Update: The button to download is now gone!

    Don’t waste your time and money in buying music from Microsoft and Apple. Click on those three links and listen to your favorite MP3s.

  • 1 Comment
  • Filed under: Nazty Life
  • Create Your Own Movie

    Finally, a dream came true. Thanks to D Film Movie Maker!

  • 0 Comments
  • Filed under: Nazty Life
  • 3D Rooms

    Enjoy more pictures on 3D Painted Rooms site.

  • 0 Comments
  • Filed under: Internet Stuff
  • Sweet Lemoning Reject Letter

    Herbert A. Millington
    Chair – Search Committee
    412A Clarkson Hall, Whitson University
    College Hill, MA 34109

    Dear Professor Millington,

    Thank you for your letter of March 16. After careful consideration, I
    regret to inform you that I am unable to accept your refusal to offer me
    an assistant professor position in your department.

    This year I have been particularly fortunate in receiving an unusually
    large number of rejection letters. With such a varied and promising field
    of candidates, it is impossible for me to accept all refusals.

    Despite Whitson’s outstanding qualifications and previous experience in
    rejecting applicants, I find that your rejection does not meet my needs at
    this time. Therefore, I will assume the position of assistant professor
    in your department this August. I look forward to seeing you then.

    Best of luck in rejecting future applicants.

    Sincerely,
    Chris L. Jensen

    Taken from The Ultimate Reject Letter.

  • 0 Comments
  • Filed under: Nazty Life