Check out my new blog

Saturday, November 27, 2010

Ranking a semordnilap

Ever heard of semordnilap? As Wikipedia says, semordnilap is also known as volvogram, heteropalindrome, semi-palindrome, half-palindrome, reversgram, mynoreteh, reversible anagram, word reversal, or anadrome. It is basically a word that spells another word backwards.

What's cool about it?

Semordnilap spells Palindromes in a mirror. It is Palindrome when spells backward.

Semordnilap, as differs in palindrome, forms two different words. Two different words in one set of letters. Basically, they are both equal in the sense of word length. But frequently in computer science or programming, words must be treated to have a mathematical value.

As defined, semordnilap forms two different words and obviously, they both have different mathematical value. But how will semordnilap be ranked?

It is easy. Alphabetical order. The conventional way. Which ever comes first, must be first and always be first.

So let's take an example. Peek and Keep are words that are semordnilap with each other. So which ranks first? Which must be treated first? And as we all know...

K is always first than P.
K comes first in alphabetical order than P.

Thus, when ranked, Keep will come first than Peek. And it will always be like that if alphabetical order is in.

But if not the conventional way is used, the ranking might be different. Peek might comes first than Keep. It is just based on the ranker's own perspective.

Hey, it might be alphabetical order in descending order is what the ranker prefers much. And we can't do anything about it. :)

But again, semordnilap. Two different words. One set of letters. But one must rank higher than the other.

Saturday, November 20, 2010

Taylor Swift's concert ticket prices

The ticket pricing for concert of the Taylor Swift is posted below.

VIP - P12,000
VIP Lower Box - P7,500
Lower Box - P5,500
Upper Box A - P3,500
Upper Box B - 1,500
General Admission - P500

Patron is not yet available.

So, will you go and watch Taylor Swift's concert? Are you willing to pay with such an amount?

If I will watch, maybe I'll buy Upper Box B or even Upper Box A. It depends on my willingness to consume such an amount.

Well, as expected, ang mahal ng tickets. :(

Thursday, November 18, 2010

Mr. Facebook on Friendster

Friendster, where it all started. The trailblazing website that made a name for social networking websites. I watched how it grows, and saw how it falls. I also thought that it may come back again when they changed their layout.

Almost all of us have Friendster. Ordinary people have Friendster. And back in those days when Facebook is still not used as a word, Mark Zuckerberg also has a Friendster.


You can go to his Friendster page here.

In his Frienster page, you can see few of the Facebook staff when it still did not exist.

Read more about it here.

Tuesday, November 16, 2010

@facebook.com. Are you ready for change?

Email is a very convenient communication tool nowadays. It is like the pen and paper mail system but is implemented electronically. Through the years of email, I registered an address several times. My first email is created when I was in grade school. jolobalbin18@yahoo.com is what I think it is. Friendster is so popular back in those days that my inbox was flooded by numerous updates from Friendster. Yes, I still do not know how to turn off those notifications back then. If I was not mistaken, I did not managed to open it for more than four months that it was somewhat deleted.

Now, I have this email account, also in Yahoo that I used and maintained since high school. With that email, I also have three other email accounts. I have a Gmail as a formal email address, I have the DLSU mail that I seldom use, and an email in our own domain.

Facebook era has emerged and they are taking the world not by storm, but by innovation. They launch many features in the past and they are again launching a new feature, the Facebook mail. I think, there core idea for it is integration. Integrating all your messages into one place, the Facebook. Your text messages, chat messages, email messages and all other messages into one inbox. How cool is that? I still do not know. I still do not know how it will affect our daily lives, our daily work, or even our daily bread.

Facebook will giving each interested users with their own @facebook.com. Still, they say that it will not replace emails. They describe it as more of a conversational type of communication, maybe like instant messaging.

All messages in one place just like your letters that was kept in a box. Bringing the past to the future with a twist of technology, it is what the Facebook mail brings.

I imagined texting through Facebook. Or just texting will be replaced by Facebook-ing.

See the official Facebook post here.
You can also read here some advantages and disadvantages of the Facebook mail.

Monday, November 15, 2010

Group hug before thesis defense like no other

We have the thesis signing like no other last November 3 and you can watch it here. Our thesis group is so cool that we also have a group hug before thesis defense like no other.

And you can watch it here.


We supposedly have our thesis defense last Friday, but it was rescheduled for today. Luckily, it went well. The verdict for us is CP or conditional pass, which is the best possible verdict that we can get. OH YEAH!

We recorded our thesis defense but it is so lengthy to upload.

For the MOTA!

Sunday, November 7, 2010

Magkaribal. Ano nga ba ang nangyari?

Natapos noong Friday ang isa sa mga palabas sa ABS-CBN, ang Magkaribal. At kahit patapos na ito, ay nag iwan pa ng isa sa mga pinakamalaking misteryo sa larangan ng Philippine television. Nagtapos ito ng may mala-Inception na ending. Ano nga ba ang nangyari? Namatay nga ba si Gelai?


Hindi ko ito masyadong nasubaybayan, pero alam ko ang storya. Napanood ko ang simula nito at alam ko kung paano nagkahiwalay ang magkapatid. Si Gelai na ginaganapan ni Bea Alonzo at napunta sa mahirap na pamilya habang si Victoria o si Gretchen Barretto sa totoong buhay ay napunta naman kay Papang.

Mababasa ang buong kwento sa Wikipedia link na ito.

Hindi ko rin masyadong natutukan ang pag tatapos nito, pero napanood ko ang part kung saan pinatawad na nila si Vera at nagiiyakan na, classic Filipino shows. Umakyat si Vera sa stage at naglakad sila papuntang backstage. Bumagsak ang chandelier sa taas nila at di na nalaman kung ano ang nangyari pa.

Bago matapos, pinakita muna ang mga nangyari sa cast. Natapos ito sa dalawang bata na nangangarap tulad sa simula ng palabas. Sinundo sila ni Victoria at pinakita ang isang billboard kung saan nandun ang malaking picture ni Gelai.

Pinakita ang lahat ng cast maliban kay Gelai. Kaya ano nga ba ang nangyari sa kanya? Namatay ba siya?

Para sa akin, ang sagot jan ay hindi. Hindi siya namatay. Simple lang, paano siya magkakaroon ng billboard kung patay na siya? Hindi naman nila siguro gagawing endorser ang patay na.

Pero hindi rin ako sigurado jan. Baka nga. Abangan nalang natin sa book 2, kung meron man.

Basta ngayon, ang sagot sa totoong nangyari kay Gelai ay mananatili paring misteryo.

MagLaBa Interpreter

Meron kaming isang subject last term na kailangan gumawa ng programming language at ng isang interpreter para dito. At ang interpreter na iyon ang aming final project para sa COMPILE, ang subject na tinutukoy ko.

Step by step ang paggawa namin ng interpreter. Pinaggawa muna kami ng CFG o Context Free Grammar para ipaapprove. Ang grammar na ginawa namin ay nasa Filipino. Ang mga halimbawa nito ay:

simula = main
numero = int
lutang = float
sinulid = string
tauhan = char
para = for

Medyo hinaluan namin ng kalokohan ang aming grammar. Tulad nalang ng float, ginawa naming literal ang pag translate nito sa Filipino kaya naging lutang.


Dahil nga ito ay isang project lang tulad ng Pinoy Henyo namin, hindi ito kumpleto sa features. Wala itong switch statements at hindi siya nakakagawa ng isang executable file o isang class file. Tumatakbo lang ang sinulat mong code gamit ang aming interpreter, ang MagLaBa interpreter.

Pero kahit na ganun, naexempt kami sa final exam at nakakuha ng 4.0 dahil sa subject na ito.

Dalawa ang natutunan ko sa subject na ito...
  • Mahirap gumawa ng IDE.
  • At mahirap gumawa ng programming language.

Friday, November 5, 2010

May tanong ako.

Alam niyo ba ang paradox? Ayon sa Wikipedia.org...

"A paradox is a true statement or group of statements that leads to a contradiction or a situation which defies intuition."

Isa sa mga nakaka mindfuck na paradox na nabasa at nasabi ko sa mga kaibigan ko ay eto:

"Kapag ba sinabi ni Pinocchio na nag sisinungaling siya, ay hahaba ang ilong niya?"

Alam nating lahat na humahaba ang ilong ni Pinocchio kapag siya ay nagsisinungaling. Pero paano nalang kung sinabi niya na nagsisinungaling siya? Kung nag sisinungaling nga siya, dapat ay hahaba ang ilong niya. Pero kung hahaba ang ilong niya, ibig sabihin totoo nga na nagsisinungaling siya. At dahil nag sasabi siya ng totoo, di dapat hahaba nag ilong niya. AY EWAN. Ang hirap isipin. Ang hirap alamin. Di natin alam ang sagot.


Tapos may isa pa siyang paradox...

"Ano ang mangyayari kapag sinabi ni Pinocchio na hahaba ang ilong niya?"

Teka, ano nga ba? Kapag totoo ang sinasabi niya, hindi siya nag sisinungaling at hindi hahaba ang ilong niya. Pero ang sinabi niya ay hahaba ang ilong niya at kung nag sisinugaling nga siya, hahaba ang ilong niya.

NAKAKALITO ANO? ANG HIRAP ISIPIN. Ano nga ba talaga?

Thursday, November 4, 2010

Thesis signing like no other

The deadline for the submission of thesis documents was yesterday, November 3. And it is also yesterday when our adviser, Sir Borgz signed our document.

I first thought of taking a picture of the title page of our document. But on second thought, recording it is way better! So as a remembrance, we record it in a video and you can watch the memorable moment here.


Yes, our first thesis document is signed and ready for defense next week. Good luck to us!

By the way, you can watch it in 720p HD!

And lastly, the title page that was signed by Sir Borgz in the video is not the one that we submitted. We found a last minute error in the name of Excel and printed it again. Well, the signing of the new title page was not recorded because we are in the office.

For the MOTA!

Monday, November 1, 2010

Help us by answering this survey.

Can you help us by answering this survey? It is about the posts in your Facebook wall.

It is a Facebook application and you can go to there through here.

February 19, 2011. Taylor Swift live in Manila

And now a date. February 19, 2011 is the said date. From rumors of October then November and now, a date is set.

The concert is brought to you by Ovation Productions. And it will happen in the Big Dome, the Araneta Coliseum.

Tickets will be available at Ticketnet outlets on November 8, 2010. A date so soon.

Tara at manood tayo!

Source here.