10.24.2012

Speaker's Graduation Speech

This inspired me a lot after reading this. Currently, I don't have any failing grade in my subjects but during college I've experienced many challenges, so hard, to the point that I give up many times but then I stand up again twice as the times when I gave up .



REPOST. 

A must read graduation speech, focus on the message, not in the words. Ang haba pero i'm sure magiging worth it pag natapos mo lalo na sa mga college students dyan.

This speech was delivered by a La Sallian engineer in one of the graduation ceremonies at the UP College of Engineering.

"Ngayong araw na ito, sa ating pagtatapos, mayroon akong dalang Transcript of Record. Ang estudyanteng may-ari ng transcript na ito ay nag-aral sa De La Salle University. Sa unibersidad na ito, kapag ikaw ay isang undergraduate, may ID number ka na nagsisimula sa “94” at pataas, kung lumipas ang isang buong school year at umabot ka sa 15 units na bagsak, masisipa ka sa paaralan.

Ang transcript na hawak ko ay mayroong 27 units ng bagsak. 12 sa mga ito ay tinamo ng estudyante sa iisang schoolyear lang. Ang isang subject ay kadalasang may bigat na 3 units. Kung iisiping mabuti, isang subject na bagsak na lang ay pwede na masipa ang estudyanteng may-ari ng transcript na ito.

Ang speech na ito ay hindi ko ginawa para i-acknowledge ang paghihirap ng ating mga magulang sa pagpapaaral satin. Hindi ko din ito ginawa para maghayag ng political statement, o kumbinsihin kayo na huwag umalis sa bansa at tulungan itong makaahon. Ang speech na ito ay para sa mga normal na estudyante na kagaya ng may may-ari ng transcript na hawak ko, dahil madalas, wala talagang pakialam ang unibersidad sa mga achievements nila. May mga awards na gaya ng “Summa Cum Laude”, “Best Thesis Award” at “Leadership Award.” Pero ni minsan, hindi pa ako nakakakita ng unibersidad na nagbigay ng “Hang-on and managed to graduate despite nearly getting kicked-out during his academic stay” award.

Maaaring isang malaking kagaguhan ang konseptong ito para sa karamihan. Bakit mo pararangalan ang isang estudyanteng bulakbol, bobo, tamad o iresponsable? Hindi ba dapat isuka ito ng unibersidad? Ito yung mga tipo ng estudyanteng walang ia-asenso sa buhay, hindi ba?

Ayun. Natumbok niyo.Iyun na nga ang dahilan.

Madalas, pag ang isang estudyante ay may pangit na marka sa paaralan, lalong lalo na sa kolehiyo, nakakapanghina ito ng loob. Nandiyan yung tatamarin ka mag-aral, nandyan yung iisipin mo “Ano pa kayang trabaho ang makukuha ko? Call center na naman o clerical? Ba’t kasi ang bobo ko. Kung matalino lang ako, sana, sa Proctor and Gamble ako, o kung saang sikat na kumpanya.”

Mas mahirap ang dinadaanan ng mga estudyanteng bumabagsak. Kahit na sabihin mong kasalanan nilang bumabagsak sila, hindi ninyo alam kung ano ang pakiramdam ng ganun. Madaling sabihin na “Kaya mo yan, mag-aral ka lang,” pero alam ba natin talaga ang sinasabi natin?

Kapag ang isang estudyante ay bumabagsak sa unibersidad, nandiyan yung tatawanan niya lang yan. O di kaya naman, ipagmamalaki niya pang “TAKE 5 NA KO!!!” o “Pare, magpi-PhD na ako sa Anmath3/Calculus/etc.” Pero hindi alam ng mga isang Summa Cum Laude kung ano ang nasa isip ng isang normal na estudyante sa tuwing matutulog ito at alam niyang pag-gising niya, kailangan niya na namang ulitin ang isang subject na nakuha niya na sa susunod na term.

Kahit kalian, hindi naging problema sa “Star Student” na sabihing “Nay, bagsak ako.” at hindi kailanman sumagi sa isip nila na “Paano kaya kung sa walang-pangalang kumpanya lang ako makapagtrabaho?” Dahil sigurado sila sa kinabukasan nila.

Huwag na tayong maglokohan. Grades are everything. Kahit bali-baligtarin mo iyan, hindi magiging patas ang mga kumpanyang kumukuha ng fresh graduates para magtrabaho sa kanila. Minsan din naman, nadadaan sa palakasan, pero ganun pa din. Kung hindi ka academically good, wala kang patutunguhan. Kung hindi man yun, mas mahirap yung dadaanan mo para lang makaabot sa prestihiyosong posisyon.

Kaya ngayong graduation, ang speech na ito ay inaaalay ko para sa mga estudyanteng lumagpak, muntik-muntikan nang masipa o yung sa lahat ng paraang pwede, ginawa na para lang makatapos. Gagawin kong patas ang mundo para sa inyo kahit isang araw lang. Kahit ano pa ang sabihin ng ibang tao, kesyo kasalanan mo man na pangit ang marka mo o muntik ka nang makick-out, saludo ako sa hindi mo pagtigil sa pag-aaral. Saludo ako na may lakas ka ng loob na harapin pa rin ang mundo kahit alam mong hindi ito magiging patas sa iyo. Saludo ako na kahit pangit ang transcript mo, taas noo ka pa rin ngayong graduation at proud na proud sa sarili mo.

Ano ngayon ang mangyayari sa mga graduates pagkatapos nitong graduation? Ayoko nang puntahan yung pwedeng mangyayari sa mga Cum Laude. Baduy. Alam mo namang may patutunguhan ang buhay nila e. Pero dun sa mga lumagpak, ano ang meron?

Maaring makakuha kayo ng mediocre na trabaho lang. Pwede ka rin swertehin, baka makapagtrabaho ka sa magandang kumpanya. Madami pang pwedeng mangyari. Huwag kayong mawalan ng pag-asa. Kung nung college, nagtiyaga kayo e ba’t titigilan niyo yung pagti-tiyaga ngayon?

Pwede ring ganito: Mag-aral ka ulit. Ipakita mo sa kanila na kung sisipagin ka lang, malayo ang mararating mo. Subukan mong patunayan sa kanila na kapag pinilit mo, kaya mo ring abutin yung naabot nila. Na hindi ka bobo, kundi tinamad ka lang.

Baka sabihin ninyo, drowing lang ako.

I’ve been on both sides. Naranasan ko na ring lumagpak, at muntikan na din akong masipa. Naranasan ko na ang umulit ng 4 na beses sa iisang subject. Naranasan ko na ang masumbatan ng magulang, kapatid at kung sino-sino pang propesor na walang pakialam sa pakiramdam ng estuyante. Naranasan ko nang hindi makatulog ng maraming gabi sa pagiisip kung paano ko na naman sasabihin sa magulang ko na may bagsak na naman ako. Kaya alam ko ang pakiramdam ninyo.

Akin ang transcript na ito.

Pagkagraduate ko ng college, ano ang ginawa ko? Eto. Nagtrabaho muna ng konti, tapos aral ulit. Kuha ng Masteral sa kurso ko. Hindi para sa trabaho o kung ano man. Kundi para patunayan sa sarili ko na noong mga panahong bumabagsak ako, tinatamad lang ako.

This is a rebellion. I raise my middle finger to every professor, over-achiever, naysayer and detractor THAT TOLD ME THAT I CAN'T MAKE IT. I raise my middle finger to every valedictory or graduation speech that only gratifies the university, those who were achievers in school or those who gratify the country when it’s supposed to be the graduate’s moment of glory. You are supposed to acknowledge EVERYONE. Even those who failed many times.

Kaya sa inyong mga graduates na medyo hindi maganda ang marka, para sa inyo ito. Kung kinaya ko ito, kaya niyo rin to. Imposibleng hindi."

10.15.2012

Copy Files from root in Ubuntu

I'm using Ubuntu 12.04. Today there are files I wanna copy in my root to some folder outside the root without really logging in in the root user. These files are from my github. I've searched and searched the net for clear instructions and I've found this in answer in one of the forum. Thank God! 

Here's how to: 


  1. Press alt+f2 to get a run dialogue and in that type gksu nautilus. This will open up a file browser window running as root. Copy your files across but be careful, you can nuke the system like this.
  2. A much more direct method is just loading up a terminal and writing:
    sudo cp -R /path/to/files/you/want/copied/ /copy/to/this/path/
    
    (the -R is just there to recursively copy directories)
If you ever want to fire off multiple commands as root without prepending them all with sudo you can run sudo -i or sudo su and you'll get a root terminal. But again, be careful what you do.

Thank you Oli!(username of the one who've answered) 
I tried the step2.  WORKS for me!! :)

10.13.2012

Ubuntu apt-get update PROBLEM!!

So everytime I update in my terminal, I always get this problem.



















So what I did is, I follow these steps taught to me by mu Ubuntu Geek Prof. :)

1. Check if there's a proxy problem, you just type this in terminal,
                    echo $http_proxy

2. Type in the terminal: sudo-i
3. Type your password
4. Then: unset http_proxy

Check again if there's a proxy running, follow step 1.


Humanities - study the best that man has created

So here I am studying for my final exam in Humanities. Let me share what I've learned in studying this minor subject I have in my 4th year in IIT.

The Scope of our exam is the following topics: Baroque and Rococo, Neo-Classicism, Romanticism, Realism, Modern Art, Classifying Philippine Art and Readings in the Philippine Arts and Letters.

Source: The Human Image in the Arts - Introduction to Humanities by Steven Patrick C. Fernandez
About the Author: Prof. Fernandez is a professor in the MSU-IIT. An artist and currently the moderator of IPAG.

Baroque and Rococo happened way back in 17th and 18th centuries. What happened in this century is that there is what we call the Reformation Movement that were led by Martin Luther, John Calvin and John Knox. This Reformation Movement accused the Church of grave abuses of authority. They established a separate Protestant church. So the Church had to redeem itself together with the Council of Trent where it set policies on various subjects including Art. They made its own movement, the Counter Reformation.



Algorithms for efficient use of memory

We have this assignment from Operating System. I'm not sure though if it is correct but from what I have learned, here are my answers :)

1. Given 5 memory partitions of 100KB, 500KB, 200KB, 300KB, and 600 KB (in order). How would each of the first-fit, best-fit and worst -fit algorithms place processes of 212KB, 417KB, 112KB, and 426KB (in order) ?

 =======================================

This exercise is what we call memory allocation, where it is the process of assigning blocks of memory on request. There is this allocator that receives memory from the OS in a small number of large blocks. It must divide up to be able to satisfy the requests for smaller blocks. Also, it should make any returned blocks available for reuse.

So first, the definition or process or how to do the First-fit, Best-fit and worst-fit algorithms are the following:

First-fit -> the allocator keeps a list of free blocks, also know as the free list.

1.  If it receives a request for memory, it first scans along the list for the first block that is large enough to satisfy this request. 
2. Then if this chosen block is larger than what is requested, it splits and 
3. the remainder is added to the list as another free block.

In recycling free blocks, there is a choice as to where to add the blocks to the free list -- effectively in what order the free list is kept.

Best-fit -> where the allocator places a process in the smallest block of unallocated memory in which it will fit.

* the problem in Best-fit is that it has an expensive search of the entire free list to be able to find the best hole. Also, it leads to fragmentation - creation of lots of little holes that aren't enough to satisfy any requests.

Worst-fit -> memory manager places process in the largest block of unallocated memory available.

*Problem is that this will create the largest hole after the allocations. It is an another process that can use the hole created as a result of external fragmentation

Credit to these Sources:
http://www.memorymanagement.org/articles/alloc.html
http://stargazer.bridgeport.edu/sed/projects/cs503/Spring_2001/kode/os/memory.htm#bestfit

===================
Answer to assignment:

1) 5 memory partitions: 100KB, 500KB, 200KB, 300KB, and 600KB (in order)
 Processes: 212KB, 417KB, 112KB, and 426KB (in order)

a) First-fit
·         Process 212KB will be placed in the 300KB partition then the memory partition split. From 300 KB partition, there will be a 212KB partition and 88KB (300KB-212KB) memory partition.
·         Process 417KB will be placed in the 500KB partition then memory partition splits into two, 417KB partition and 83KB(500KB-417KB) new partitions.
·         Process 112KB will be placed in the 200KB partition then splits into new memory partition, 112KB and 88KB(200KB-112KB) partition.
·         Process 426KB will be placed in the 600KB partition then splits into new memory partition, 426KB and 174KB (600KB-426KB) partition.

b) Best-fit
·         Process 212KB will be placed in the 300KB memory partition
·         Process 417KB will be placed in the 500KB memory partition
·         Process 112KB will be placed in the 300KB memory partition
·         Process 426KB will be placed in the 600KB memory partition

c) Worst-fit
·         Process 212KB will be placed in the 500KB memory partition
·         Process 417KB will be placed in the 600KB memory partition
·         Process 112KB will be placed in the 200KB memory partition
·         Process 426KB will wait.