TODAY -
✦

E-Pao! Drug Awareness Education - Hey Computer Science Student!!!

Hey Computer Science Student!!!

sinuxs *



Are you arguably enjoying your intellectual fun with computer or just playing the mundane things of watching movies and listening songs?

Have you ever struck once or ever imagine, out of curiosity, how and why things work out inside a computer system?

Or, you simply think that it works like that, otherwise it won't incredibly be!

Are you not curious to know what's going at your computer system the moment you pass the 230 volt AC? Or, did you convict yourself pithily that the whole year of your life will be just going to keep on praising the discoveries of others?

Ken Thompson wrote the UNIX operating system in the 70s.
Richard Stallman started the GNU revolution in the 80's;
Bill Gates co-programmed the whole BASIC language then.
Larry Wall started Perl Language.
Linus Torvalds started writing the Linux operating system in the 90s.
Larry Page and Sergin Brin started the Google.
Tim O'rielly coined the web2.0 - the online networking system.
Mark Zuckerberg founded the 'FaceBook' in 2004.

What else could be next? - The coming of second life? My answer is straight and simple forward - You can do anything as innovative as these people are, as long as you're curious to know what's happening inside the computer box, at the same time, the eagerness to know why these people are doing those.

Simply raising curiosity on somebody's discovery doesn't make sense at all. Be a part of the discovery and then only going to feel a fun for being a part of it. I just make fun with Linux kernel.

Linux is incredibly a beautiful intimidating beast of a kind of operating system. It's evolving and its revolution has done it pompously already a decade ago. So often, I keep on wondering (and praising) why all the efficient algorithms and parameters of a known computer science paradigm are put on this open source kernel.

And frequently, I keep on asking myself, why the computer science students are not tempted to comprehend this beast instead of going through the despicable-cranky four year course. Every Linux kernel version assures to possibly deprecate the old concepts as much as scintillating the new efficient ones.

The x-86 assembly languages, the c data structures, the hardware dependency algorithms, the platform independent compilation techniques, the improving algorithms of CPU and hardware resource manager, the excusable borrowed concepts from contemporary operating systems and much more.

Where could you get such privilege to know all in one thing? Of course, the Linux kernel code is seriously intimidating. It is. But it's not written by an alien or Martian species. It's by our fellow being only. And even then, it's not written in cryptic zeroes and ones machine language - it's written in human readable form.

Why should be seriously find inexplicable excuse on the size of the subject? Why it shouldn't be fun? You got the opportunity to learn the assembly language while going through the booting phase - the process of loading the Linux kernel when the system is started first time.

While at the booting stage, you got the real mode assembly environment with the system BIOS calls and many possible things to interact with your basic hardware - CPU, mouse, disk, and adapter. These are seriously easy because the documentation is right there always at the finger of your tip - Google.

This in fact enforces you to learn the assembly language. Is this not practically a fun to learn one of your computer science courses - Assembly Language? Learning assembly language means learning underlying computer architecture - the Intel Microprocessor.

Now, your Microprocessor course is coming into picture. Interacting and configuring the hardware components through BIOS calls let you know why these damn BIOS is required during your computer start.

And BIOS is a read only memory implies the implication that all physical memory is not only RAM sticks but ROM stick also. Now you are going to know the concept of memory holes. Physical memory is not a contiguous addressable bytes but do contains a holes (a reserve space you cannot store user programs) - those region mapped by a system ROM and memory mapped devices.

Now the booting phase let the BIOS stores the interrupt vector table (an array of Interrupt service Routines) on the first part of the memory, letting you know the reason of "why my computer restarts on pressing 'CTRL-ALT-DEL' ".

During booting phase, you are required to know the Intel 8086 architecture and the 386 or Pentium architecture like real mode, protected mode, GDT, IDT, LDT (descriptor tables), cache mapping (n-way set-associative), paging, segmentation etc. Is this not the practical way of learning Microprocessor?

Now the booting phase is terminated (after basic initialization of the available hardware: Searching of hardware is done by a python script - anaconda.) by laying out the basic execution environment to run the c program. I'm describing a little bit to let you know how simple it is.

Linux kernel is nothing but a big c program with seemingly interspersed mingling of complex computer algorithms. At this first stage, no compiler/linker is there. The Linux kernel code has to manage itself to have its own execution environment.

It has defined its own stack (for any function/system call), page table (for mapping linear/virtual address to physical page), and Interrupt descriptor table (for any interrupt). These things imply that you've to define an efficient data structure for storing these kernel related data.

An algorithm is closely related with the underlying data structure which it's going to manipulate. The efficiency of the code depends on the complexity of the algorithm and this complexity is again a function of the data structure which it's going to handle.

For instance, you cannot apply quick sort algorithm on a large set of data. Because, worse case complexity is O(n square). That means the running time is at most the square of the size of input. The more the input, the horrible the running time will be. Choosing a better data structure implies knowing the algorithmic complexity of its associated algorithm.

For instance, sorting of a small set of data, people normally refer quick sort. But for large set of data, Heap sort is preferably use (complexity=O(nlogn)). Why not Merge sort? - the complexity equal to Heap-sort.

The space complexity of Heap sort is constant where as Merge sort is O(n). This is the reason. For your information, O(n) gives the time complexity (upper bound - ATMOST) and (n) gives the space-complexity(lower bound - ATLEAST).

All these pictures will be requiring painting if you seriously want to know why a particular thing or data structure is oriented or applied in Linux code. Linus Torvalds always ensures to use the best known algorithm at any point of Linux.

If a particular data structure is found to be incompatible with the real world, he will promise to deprecate it soon. One thing was happening at the scheduler of Linux version<=2.4. The complexity was O(n) - linearly dependent on the number of run able processes.

Whereas the latest running Linux version >=2.5 has O(1) - a constant time. O(1) (of Ingor Monar) implies that the running time is independent of the number of run able processes. Linux scheduler will execute at the same pace no matter how many run able processes are waiting on the processor queue.

Another conspicuous thing happens is on virtual region data structure. A virtual region is a homogeneous contiguous address space in a virtual address space like code segment, data segment or stack segment. Previously (24), the region is solely represented by AVL tree (balance binary tree of balance factor=1).

Now red-black tree also comes into picture at this structure. AVL is use for searching and red-black tree is use for insertion/deletion. The suddenly acceptation of Andrea Arcangeli's Red Black Tree implementation (of virtual regions) by Linus Torvalds is a noted one.

Linus has never been compromise on efficiency. Both the Binary Search Trees has the same efficiency theoretically (complexity of O(logn)) but practically, RB Tree shows good performance in the long run, because each tree requires rotation to balance itself.

The complexity of rotation in AVL Tree is more expensive (O(logn)) than the RB Tree (O(1)). When you come across here, you need to know the various possible operations of AVL and Red-Black Trees and how to implement them. Is this not a good way to learn computer science data structures? I bet you are.

Every data structure or code snippet gives the reason to think why it's like this and NOT that way. And the moments of knowing those REASONS are the real FUN to appreciate. Learning computer science subject theoretically is a real boredom. You learn it. You forgot it.

You start feeling computer as a multimedia kit. And finally, you start abusing the computer. And eventually, you end up in praising the innovations of others. And this loop continues forever. I'm saying from my point of experience. Learning Linux kernel is a FUN.

The only thing requires is the passion of learning. I know recently and exactly why Linus Torvalds said it so. Learning something is learning to help others. Today whole world is using Linux unbelievably at the cost of thousands of hackers. Knowledge sharing is the key to real happiness.

Knowledge sharing is again unbelievably easier these days at the cost of Google. I believe Google will always been inspire many generations to come. Hundreds of Linux hacker started migrating to Google. The use of Linux kernel in the recent Google Mobile OS, Android is a major step.

Ankit Fadia has properly coined today's generation - ICE AGE. ICE stands for Information Communication Entertainment. The coming of web 2.0 is the real boon of this running decade with social networking (Blogs) giving intense perspective.

We're started living at an environment where geography is the only barrier. Wikipedia and Face book have been the future promising web buzzwords. With all these tools and things, there is nothing sort of information a person can look for. The web is a learning platform.

There lies the real potential to search and discover your own talents. You might have stopped learning. But the web never stops.

If you're a serious programmer, come and join the real fun of learning new things. Among them, Linux is also waiting to play with you.

Playground: www.google.com

"If Linux is not FUN... why to DO it?" - Linus Torvalds


* sinuxs contributed this article to e-pao.net . The writer can be contacted at sinuxs(at)yahoo(dot)com . This article was webcasted on 21st December 2007.


* Comments posted by users in this discussion thread and other parts of this site are opinions of the individuals posting them (whose user ID is displayed alongside) and not the views of e-pao.net. We strongly recommend that users exercise responsibility, sensitivity and caution over language while writing your opinions which will be seen and read by other users. Please read a complete Guideline on using comments on this website.




LATEST IN E-PAO.NET
  • Exploring The Vanishing Self #16
  • Violence in Manipur 2023-2026 : Timeline
  • The borders the Nagas never chose
  • Bend, Don't Break :: Poem
  • NE moved out of tropical climate zone
  • SoO-less Gong-sound for Peace
  • 'Soil Intelligence' is reshaping infrastructure
  • Naga Peace Process: Indo-Naga Talk: Timeline
  • Noise protest: Manipur Violence : Gallery
  • Nasha Mukt Bharat: A message beyond slogan
  • Bringing books back to living rooms
  • Slams Govt over Escalating Violence
  • When truth becomes the enemy :: Poem
  • The neuroscience of learning
  • 'Hiraeth' at Asian Film Fest Barcelona
  • Marching towards the next Assembly polls
  • The story behind Chahi Taret Khuntakpa
  • Biofortified sweet potatoes in Manipur
  • Probe into alleged Political-militant Nexus
  • Nimai Sarungbam - Lalit Kala Akademi Award
  • "Issue is very Delicate & Sensitive"
  • Festive fitness
  • Shilp Samagam Mela 2026
  • Noting Oct 19, 20, 21 : CoBRA at Sinai camp
  • 48-hour shutdown: Sunurok Killing #1: Gallery
  • The long road without God for 75 years
  • 30 Candidates for Employment in Japan
  • Peace cannot become a political PR exercise
  • Searching for scientific consciousness
  • Time :: Poem
  • India's journey from cotton heritage to new age
  • Tragedy scripted by geo-politics
  • Northeast Book Fair Imphal #2: Gallery
  • World Space Week 2026: The rocket revolution
  • Nomination: RIST Scientist Award 2026
  • Myanmar's return from isolation
  • Deepest Solidarity to Families
  • ABHA and Medical Transcription
  • Manipur Police arrest Three Suspect
  • Sunurok massacre: Politics of selective silence
  • Langban Tha Katchaba @Haying #2 : Gallery
  • Prof Kamal Mitra Chenoy : Obituary
  • Tale of Ahu, Alang & Apapang: Amur Falcon
  • Consumerism :: Poem
  • Condemns Khamenlok Killings
  • Humble Appeal to All Concerns
  • Envious of the Chief Minister
  • Delivering a powerful point
  • Catholic Valley Schools Sports #1: Gallery
  • When the extraordinary becomes ordinary
  • The Map We Chose :: Poem
  • Dhakeswar Potsangbam : ToI Wellness Award
  • Nigeria calls on world to turn AMR pledges
  • Understanding the pressure students face
  • Training on Mushroom at Khagempali
  • Pointing finger of accusation
  • Digital Revolution & MK Binodini Devi
  • Exploring The Vanishing Self #15
  • Letter From A Lost Crony :: Poem
  • Procedural lapses in dismissal of Dr Bimol
  • Manipur Sanaleibak (The Golden land)
  • Training on Seismic Hazard @MU
  • 2026 edition of Hnahsin Kut
  • Oncology & Neurosurgery OPD launched
  • Yaoshang Thabal Competition #5: Gallery
  • Orchids of Manipur
  • Pharmacists: A misunderstood profession
  • Vision Service Week at Ibotonsana School
  • Drone Tech Bootcamp at NIT Meghalaya
  • Athokpam Krishnakanta : World 2% Scientist
  • No Solution Without Identifying "Kuki"
  • Stands in Solidarity with Prof Bimol
  • Taking the idea of Manipur to Senapati
  • Yumjao Lairembi Haraoba #3: Gallery
  • 'Enoong Ngallamdai' :: Movie Review
  • VanDyke Release: Diplomacy or US pressure
  • Mental Health Awareness at High Court
  • 2026 NAMA Research Grant [Upd]
  • Fermented food for beauty
  • Mizoram Targets 5-7% Tourism Share
  • The hills continue to burn
  • Hearthside Story of Naothingkhong #2
  • Between Delhi Power & Valley's Protagonists
  • The Zeliangrongpui at a crossroad
  • Mushroom Cultivation Training at Konthoujam
  • Break from within :: Poem
  • White Canes to Govt Ideal Blind School
  • Concerned: Conflict - Yimkhiung & Tikhir
  • Mizoram Travel Fest 2026
  • Condolence : Kh Armstrong Charang
  • Turning Imphal into a dumping site
  • Sushila & Bichu @Airport #2: Gallery
  • When prime-time spectacle replaces priorities
  • For a new world organization for peace
  • Intl Day for Disaster Risk Reduction @MTU
  • Solidarity with Professor Angomcha Bimol
  • Intl Day for Disaster Reduction @Wangkhei
  • Condemns Barbaric Killings
  • Schools, roads, power & water supply
  • 'Meeyamgi Khollao Khongchat' #2 : Gallery
  • RIST Talk #76: Gravitational-Wave
  • Breast cancer month, October, 2026
  • Free Screening of "Ishanou"
  • Unlocking potentials of 7 horticultural crops
  • Skies and me :: Poem
  • Eramdam hanna kanbiyu
  • The hills, the SoO camps
  • Mera Chaorel Houba @ Kangla #1 : Gallery
  • China's Mayor Economy
  • My muse :: Poem
  • Condemns Killings & Beheading of Civilian
  • Who doesn't do Vote Chori ?
  • EZE Perfumes Enters Northeast
  • One to one meet with PM
  • Exploring The Vanishing Self #14
  • 61st Hunger Marchers' Day #3 : Gallery
  • Humlennganba, Saka : Eming
  • Two interviews, one empty table
  • A landscape of silence :: Poem
  • NSS Runathon for Peace 2026
  • Gender equality- central to diplomatic leaders
  • Manipuri Calendar for year 2027 : Download
  • Meiteilon not Tibeto-Burman language: Rvw
  • Visit to George Gordon's tomb at Canchipur
  • Anandkumar Naorem: World Top 2% Scientist
  • Protect the hills to protect the valley
  • Call for Papers on Manipuri Pony
  • Ashok Singhal Ji - A Karmayogi
  • Addressing the basics of life
  • 228th Bheigyachandra @Nabadwip #1: Gallery
  • Wildlife Week Celebration at Thanga
  • Evolving women's role in Manipur tourism
  • Where do we go from here ?
  • Training Programme on Mushroom
  • Festival look for Navratras
  • Condolence : Demise of Adino Phizo
  • Significant Delhi invite to 3 leaders
  • Heterogeneous Structure of Meitei Society
  • Concert @ 18th Orange Fest #1: Gallery
  • When water management was Statecraft
  • Who switched off the respect :: Poem
  • All is not yet lost for Manipur
  • Wildlife Conservation: Securing the Future
  • Exam : Post of Under Secretary (Law)
  • Understanding narco-terrorism
  • 1500 Burma Refugees Families in 1968-1973
  • 17th World Bamboo Day : Gallery
  • Land affected families: NH-202 in Ukhrul
  • Training Programme on PCB Repair
  • World Habitat Day 2026
  • AMR survivor & WHO call to protect medicines
  • Cut fuel taxes, not food
  • Creating chaos on roads of Imphal
  • Sushila & Bichu @Airport #1: Gallery
  • Manipuri Pony: Case for Animal Science Univ
  • Hemp plant for sustainable textile & Manipur
  • Flame of the lamp & our cultural sensibility
  • Without you :: Poem
  • Welcomes Lalremsiami, Lalthantluangi
  • On the growing roadside eateries
  • 36 Names: Manipur at the Asian Games
  • Abok Ki Singju to Premiere
  • A vision fragmented by corruption :: Poem
  • Gandhi Ji's 3 monkeys and Manipur
  • AI-powered X-Rays are helping find TB
  • Mizoram Reward Lalremsiami, Lalthantluangi
  • 15 years in power Vs 10 years in power
  • Exploring The Vanishing Self #13
  • US-Manipur Digital Archiving Workshop
  • 8th Cultural/ Freshers' Meet for Rongmei
  • The Same Smoke :: Poem
  • Supriya looks at HYROX World C'ships
  • AI4SEVA Hackathon @IT SEZ, Mantripukhri
  • 38th Foundation Day- NIELIT Imphal #2
  • Heikru Hidongba @Bijoy Govinda : Gallery
  • Manipur's Indigenous Natural Farming System
  • Basic human needs a struggle for Sinakeithei
  • Demise of Pame, Marinmai, Lianvela
  • When I met the pugilist Sarita
  • 38th Foundation Day of NIELIT Imphal #1
  • Mizoram's Anthurium Festival Returns
  • Poll fever seems to be catching up
  • My attempt - Meiteilon is not Tibeto-Burman
  • XXXII National Thang-Ta C'ship concluded
  • One Village One Product: A better alternative
  • When machines can answer, who will judge ?
  • Explain motive- Tronglaobi Terror Attack
  • Merger of 5 elected members of NPP
  • Namghar Unites Assam & Maharashtra
  • Trade and commerce : In a limbo
  • 130th Irawat Anniversary : Gallery
  • Lamyanba Irabot Day at Itanagar
  • Irabot's Ideals Remembered at Mumbai
  • Coffee as a sustainable alternative to poppy
  • Her Godname :: Poem
  • Polyendocrine Metabolic Ovarian Syndrome
  • Rejoinder to NPCC
  • Need to get priorities right
  • Irawat and Meetei National question
  • XXXII National Junior Thang-Ta C'ship
  • World Heart Day 2026: Don't miss a beat
  • Science in everyday life
  • Nature Education Workshop
  • Rejoinder to Dr S C Jamir
  • Daslakshan Mahaparva: Festival of 10 supreme
  • Focus back on SoO camps
  • Raengdai Vs NEROCA : Durand Cup : Gallery
  • October Calendar for Year 2026 : Tools
  • Lebensraum or ethnic cleansing
  • World Alzheimer's Day 2026
  • Sensitization Workshop on POSH
  • Mourns Passing of Aribam Shantimo
  • Lecture on 'Indigenous Knowledge Systems'
  • Rejects allegations by NPCC President
  • The narrative Manipur needs
  • Tour Diaries of Maxwell & Higgins #2
  • Laitonjam Rishikanta @ Asian Bodybuilding
  • First poster of Interlude released
  • In the womb of time :: Poem
  • Running an abnormal State
  • Khunung Eshei & Mukna competitions
  • Conference: Challenge in Sustainable Science
  • Rolling back the highway blockade
  • Exploring The Vanishing Self #12
  • Manipur Mesopotamia Force WWI : Gallery
  • PhD in Manipur : Fund it, Fix it
  • Many Voices, One State: Manipur's dilemma
  • Me and Moon: Both do the night shift : Poem
  • Putting rights: Body autonomy & sexual health
  • Green Tea for beauty
  • Yaoshang Thabal @Khurai #2: Gallery
  • AI = Arangpham Intelligence, the Frankenstein
  • Chali-Saba - Kang Ningol Palli #1: Gallery
  • Book Release: Exploring The Vanishing Self
  • The paradox of Kukiland
  • Dr Wairokpam Yaiphaba : Fulbright Fellowship
  • Naothingkhong & Pitanga #1: Hearthside Story
  • Meiteilon is still not a Tibeto-Burman language
  • 52nd Foundation Day of AMWJU : Gallery
  • Another Langban has com :: Poem
  • 61st Hunger Marchers' Day #2 : Gallery
  • lEkoLdugi warisiH :: Seireng
  • Can Strong Anti-Racism Law save NE Indians
  • Culturals @Beating of Retreat #4 : Gallery
  • Justice for 6 Liangmai Nagas #2 : Gallery
  • 12th Manipur Legislative Assembly : Gallery
  • The 731, and those who may follow
  • Little Flower School, 1973 batch : Gallery
  • Bichu Kharibam: FIH Magic Skill Award
  • Tour Diaries of Maxwell & Higgins #1
  • Ningol Phida - Shumang Leela #2 : Gallery
  • Study: Social Worker on Counselling Practice
  • India-Myanmar boundary : Mistakes of 1967
  • Radio E-pao: 5 new songs updated
  • To our star Tamo Vicky, Vikram Chongtham
  • Vice President visited Manipur : Gallery
  • Langban Tha Katchaba @Haying #1 : Gallery
  • Hiring @ 4-Star Hotel in Udupi
  • Protest by Researchers @DM Univ : Gallery
  • Meitei Esei
  • US Ambassador @ CM Mantripukhri : Gallery
  • A teacher does not leave when his classroom
  • 'Meeyamgi Khollao Khongchat' #1 : Gallery
  • Candle Light- Chongtham Vikram : Gallery
  • Manipuri Pony Heritage Talk to Students
  • Colonial records: Hill Areas, 1891-1947
  • Joint Resolution: Abrogation of SoO
  • Justice for 6 Liangmai Nagas #1 : Gallery
  • Manipur Can Simply Be Manipur
  • PhD Admission at Assam University
  • Census 2027 for Manipur deferred
  • Read Meitei Mayek news in romanized English
  • 24-hour Gen Strike (Sep 1) : Gallery
  • Panthoibi Anoi Khuthek #1 : Gallery
  • 48-hour General Strike by JFD #3 : Gallery
  • The flame of Haipou Jadonang
  • Kang Khichri Chaba #2 : Gallery
  • Relevance of NRC, 1951 for immigrants
  • Featured Front Page Photo 2026 #4: Gallery
  • The King Who Caught a Bird : Konthoupa
  • 48-hour General Strike by JFD #2 : Gallery
  • 35th Manipuri Language Day, 20 August
  • The chappals we leave behind
  • Search 25 years of e-pao.net
  • Colonial Knowledge Production in NE India #23
  • 360° panoramic view of spots in Manipur
  • Final Merit List : Manipur Civil Services 2022
  • PUCL Tribunal report: A shadow of partiality #3
  • PUCL Tribunal report: A shadow of partiality #2
  • PUCL Tribunal report: A shadow of partiality #1