Sunday, November 29, 2009

LOL computer scientist

Computability Theory


Kami ang nagsimula ng “Theoretical Computer Science”. Kami ang pinakamataas na uri ng tao sa earth. Ang pinag-aaralan namin ay hindi nag-eexist sa real world. Grasp namin ang higher math. Si Cantor ang aming Diyos, David Hilbert ang propeta at si Allan Turing ang aming Hesu-Kristo. Okey lang samin ang kahit anong sexual orientation at tanggap namin ang sekswalidad ng aming Hesu-Kristo. Gamit ang aming super math skills (tulad ng wtf diagonalization method) at ang teoretikal na makinang inimbento ni Turing ay kaya namin sabihin kung ang isang problema ba ay kayang isolve o hindi. Kaya nga namin malaman at ipakita ang pruweba kung nabibilang ba ang isang type ng number o hindi. Sa ngayon ay naklasipika na namin ang mga problema at convinced na kami na may mga bagay talaga sa mundo na hindi kaya isolve ng isang tao o makina. Hindi namin kailangan ng computer para magtrabaho. Ang kelangan lang namin ay utak, papel, lapis, at motor skills sa kamay para makapagsulat.


Complexity Theory


Nagsimula ito noong nabasa namin ang resulta ng pag-aaral ng mga tao sa relihiyong “Computability Theory” at pinagtuunan namin ang mga problemang solvable lamang. Wala kaming pakialam sa mga problemang di kaya isolve duh ano gagawin namin dun. Ang tanging layunin namin ay iklasipika ang mga solvable problems sa mundo at ito ay magdedepende kung gaano katagal at kung gaano kalaking espasyo ang kinakain para masolve ang naturang problema. Minulat kami ng aming sugo na si Steven Cook. Nalaman namin na may mga problemang kaya isolve in a blink of the eye at meron ding problemang kahit pagsama samahin pa ang mga pinakamabilis na kompyuter sa earth ay bilyong taon pa rin ang gugugulin nito para matapos ang kompyutasyon. Naklasipika rin namin ang 2 type ng problem kung saan ang una, mga problemang derederetso na ang pagsolve, at yung pangalawa, kelangan mo muna “manghula ng sagot” sa simula tapos i-verify na lang ito kung tama nga to o mali. Actually nasa ere lang talaga ang term na “non-determinism”. Anu ba talaga yan? Duh. Sa ngayon ay nahati sa 2 grupo (parang Couples for Christ) ang relihiyong ito dahil sa PvsNP (or P=NP. Google nyo nalang at try niyo isolve baka mabigyan pa kayo ng $1 million) debate.


Hindi rin namin kailangan ng computer para magtrabaho.


Artificial Intelligence


Nabrand na ang aming relihiyon as “Artificial Intelligence” pero isang application or part lang naman yan ng aming pinag-aaralan. Dahil siguro sa media exposure kaya tinawag kaming Artificial Intelligence, maganda sa pandinig e, mukang sobrang cool. Tinatry namin isolve ang pinakamahihirap ng problema sa earth (NP-complete/NP-hard). Pero dahil sobrang mahirap sila, nakakakuha lang kami ng solutions using “intelligent guesses”. Nakakabuo kami ng algorithms sa iba't ibang paraan. Minsan sa certain type of problems ginagaya namin ang utak ng tao para masolve ng problema. Pinagaaralan namin ang galaw ng mga langgam (ant colony), ang galaw ng mga ibon (particle swarm), simulated annealing, etc. para makakuha ng optimal na solution sa solution space(pool of solutions). Gamit na gamit ang “heuristics”. Ang galing diba?! Ang pinakasikat ngayon ay nakakakuha kami ng solusyon sa problema through bird signs! Deh joke. At marami pang iba (Logic, reasoning, etc). Nakakagulat nga mga resulta ng research namin pati nga kami nagugulat. Ang problema namin ngayon ay ang mga problemang sinosolve namin ay napaka general kaya bibihira pa lang ang application (compared sa exact solutions). Pero malay natin baka magamit ng mga tao sa susunod na henerasyon yang mga pinag-gagagawa namin si Euclid nga 100 years after niya mamatay tsaka pa lang na-apply ng mga tao mga works nya duh.


Algorithms


Perpeksyonista kaming mga nasa Algorithms. Kami ang gumagawa ng pinaka-eleganteng paraan para masolve ang isang problema. Malinis, Walang dudang tama, at efficient ang aming inooffer na solusyon. Walang hula hula, di tulad ng AI. Martyr kami, naglolook forward kami na may exact solutions ang lahat ng bagay. Maraming teorya ang mga tao dito ukol sa pagooptimize ng solutions. Ung iba sabi Randomization ang sagot sa lahat. Isang success story ng Randomization ay yung quicksort. Ung iba probabilities/stat stuff. Ung iba parallel processing. Yung mga nawawalan na ng pag-asa para makakuha ng eleganteng solusyon ay lumilipat sa dark side, which is AI.


Computer Systems


Software Engineering


Computational Science


Cellular Automata People (Minority)


Kami ay mga taong wala nang magawa sa buhay dahil lahat ng bagay sa mundo ay sobrang simple para sa samin. Kaya gumawa nalang kami ng bagong modelo ng komputasyon. Ito ay nagcoconsist ng cells and states. Meron siyang initial config at depende na sa rules kung ano magyayari sa future. Ang pinakasikat na example nito ay yung “Game of Life”. Iprogram niyo para maintindihan nyo. Kaunti lang kami ngunit mayron kaming Wolfram na sobrang henyo at siya ang nagsusulong ng aming quest for Jihad.


Quantum Computation People (Minority)


Matalino kami dahil gamay namin ang modern Physics tapos magaling rin kami sa computers at computation. Ginagamit namin ang quantum shit stuff para mapabilis ng sobra sobra sobra ang kompyutasyon ng ilang problema (eg. RSA decryption in a blink of an eye). Pero actually medyo hindi pa stable ang mga inaaral namin kasi mismong depinisyon ng “computation” sa quantum shit e malabo pa. Inaasahan nalang namin ang mga kulto ni Einstein para mapabilis ang aming research.

Sunday, May 31, 2009

linux on acer aspire 4530

I love linux. Now i'm using ubuntu but i want it to call jubuntu because it sounds funny. Here is my step-by-step setup of Jubuntu Jaunty on my acer aspire 4530-801G16Mn (w/ turion x2 zm-82 2.2ghz!). I'll also include some cool apps to use.

1.) Get Jubuntu

First you must get the iso file of the latest version of Jubuntu which is Jubuntu Jaunty. I prefer to download it using torrent. Then i put it in a 1gb usb flashdrive to install it on my lappy using Jubuntu's USB Startup Disk Creator (if you have Windows you can google how to do this using Windows). Thats it! When you boot the flashdrive a Jubuntu bootup screen will show up and it will tell you how to install it. You can finish the installation by clicking next until the end but i recommend to manually partition your hard drive so it will be easier to fix your Operating System when something goes wrong. Ok?

2.) Creating Partitions

During the installation process you will be ask whether to automatically create partitions or manually create them. Choose manually create partitions. Mine has 4 partitions. I'll tell you later why.

hda1 (sdaX, hdbX or whatever) 10gb (no filesystem)
hda2 20gb ext3 /
hda3 4gb swap partition
hda4 remaining 126gb ext3 /home

my hda1 partition has 10gb. I'll install windowsXP in that partition and make my system dual-boot, which means when i turn on my computer, i can choose to either boot jubuntu or boot windows. I never intended to install windows. But I must do it to play the upcoming Starcraft 2.

The Jubuntu OS and its bundled applications and utilities will be installed in hda2, the / partition (the root partition). If you accidentally destroyed (unfixable) your OS you can format and reinstall Jubuntu there. The swap partition is the swap partition. Its like pagefile.sys in windows. It extends the OS virtual memory blablabla (do your research). Finally hda3 or the /home partition. All your user info, music, docs, vids, etc will be saved here. so even if you reinstalled ubuntu it will not affect your stuff.

ps. ext3 is the most popular and recommended filesystem for linux desktop OSes. just pick it then ignore it.

3.) Install nvidia driver Not the Debian/Ubuntu way

When you start Jubuntu after the installation you'll find it ultimately slow. It's because you have no compatible driver for your video card (nvidia 9100m). To fix this problem the easiest way is download the latest driver here:

http://www.nvidia.com/object/unix.html

and get the latest version on IA32 (if your using 32bit Jubuntu). Then open a terminal and follow this:

//stop GUI
/etc/init.d/gdm stop

//log-in as root
sudo su -
//go to the directory where the driver is located
cd xx/xxx/xxxx/

//install the driver
sh NVIDIA-Linux-x86-XXXXXXX.run

//Then start the GUI or reboot.
/etc/init.d/gdm stop (OR)
reboot

If it searches for dependecies install it the ubuntu way. Just google it. eg.
sudo apt-get update
sudo apt-get install xxxx (where xxxx is the dependency)

4.) I can't play my music and videos!
Haha! To download the codecs follow these:
sudo apt-get install gstreamer0.10-plugins-good
sudo apt-get install gstreamer0.10-plugins-base
sudo apt-get install gstreamer0.10-plugins-ugly
sudo apt-get install gstreamer0.10-plugins-bad
sudo apt-get install gstreamer0.10-ffmpeg

i think thats all.

5.) My audio output doesn't work, I cant use my earphones :(
Ofcourse it won't work. Because it's a known bug! Pero puwede remedyohan. Right click on the audio control on one of your taskbar then click on 'Open Volume Control'. Choose HDA Nvidia (alsa mixer). Go to Preferences, check Front and Surround and click on close. Then follow these:

Unmute Surround so audio will come out on your audio output
Mute Front so your laptop speakers will be muted without affecting the audio output

6.) Other Cool Apps

vlc - standalone audio/video player. supercool
others.



This guide is the worst Jubuntu guide you'll be finding on the internet. Just ignore this one.

header

lol editing the title is super easy.

Concept of beauty

How do you tell if a person is beautiful or not? Is beauty natural occuring? or it is merely a social construct? If beauty naturally occurs, then it is just around us and is being discovered. It is universal. Maybe if your left side of your face is symmetric to your right, you're beautiful. If you have curves or muscles and your flawless skin in super white, then your beautiful. Maybe beauty is being tall and having long hair.

Yes, one can just say this is exactly right and walk away, who cares anyway? But one can also argue that society dictates beauty. People which is a part of a group or a culture creates this concept and they behave as if it is a rule because almost all of them agree to each other. And it cannot be the same on various cultures because cultures in different places and in different time are diverse. Why is it long time ago in Thailand women who are considered beautiful have long necks? Why in old China they want women with small feet? In Japanese society hundred of years ago if men see a woman's heel or the part above the heel, they go crazy like they saw a woman's cleavage. Why is it in the renaissance period people like to paint fat women? These are some of the many evidence that proves beauty is a social construct.

But even a social construct is affected by many hidden forces inside or even outside a society. (itutuloy gutom na ako e.)

LOL

i'll gonna start blogging again. yey. By the way i started my blog before they air the commercial "my name is rain", so its not my problem if you find it corny or something. I'm thinking of changing it to "Cidd Is Damn Dominating", (its a recursive hack of CIDD. get it?) but i don't know how. that's all