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
  • Yaoshang Mei Loukhatpa #3 : Gallery
  • Violence in Manipur 2023-2026 : Timeline
  • Ibempishak, Moingpha, Thansomi : Eming
  • Showcasing Manipur @Switzerland : Gallery
  • Criticism Without an Alternative is Not Enough
  • Arambam Somorendra: A Visionary
  • A Little Bird and My Net :: Poem
  • Meritorious Award distributed at Singjamei
  • 'Experience LPU- Day of Lifetime Inspiration'
  • Increasingly seen as being partisan
  • The Lament of a Silent Tree
  • Behavior, Psychology & Society
  • 1st Peaceful Coexistence Award 2026
  • Snakebite: A Public Health Emergency
  • Events- Kuki militant & Naga village volunteer
  • A spiral of violence and turmoil :: Poem
  • HSLC Compartmental Exam 2026
  • World Environment @Lamdeng #1 : Gallery
  • India Isn't Becoming a Superpower
  • World Environment Day @ MU
  • World Environment Day @ Moirang College
  • CM @ World Environment Day
  • World Environment Day - For nature
  • Where there is no vision, the people perish
  • Mosquitoes returning in March
  • Fractured Forever :: Poem
  • Waking up to yet another killings
  • Ahingee Laan : Dance-drama #2 : Gallery
  • Tree Plantation @Taobungkhok : Gallery
  • Violation of SoO can lead to termination
  • Application of AI in livestock production
  • Mass Cleanliness Drive @MU
  • Anupam Andhar: Beauty of darkness
  • Feeling the heat? It might be ageing you faster
  • Missing since May 13, 2026
  • Abdul Hafiz graveyard at Imphal War Cemetery
  • Homecoming : Exhibition at Washington DC
  • Why NSCN-IM & ZUF must preserve Naga
  • The Funeral of Kindness :: Poem
  • Dignified menstruation for gender equality
  • World Environment Day 2026
  • Welcomes New DGP
  • Coming together of the indigenes
  • Martyrs' Day @ Cheiraoching #3 : Gallery
  • Showcasing product from IDPs at Switzerland
  • The abduction & 'murder' of 6 Naga civilians
  • Why keep returning to Regional Politics ?
  • One missed coffee & a full existential crisis
  • Trekking, Camping banned in Nongmaiching
  • Avocados Cultivation Programme at Pangin
  • Guwahati Open PWR 200 concluded
  • Focus on flip flop stand of the UNC
  • The King Who Came from the Sky: Pakhangpa
  • SoO : An assault on native people of Manipur
  • Manipur - Example of Underdevelopment
  • Cries in Agony :: Poem
  • 'CCpur & Kpi Road no longer safe'
  • Home Ground: Meghalaya Future of Tourism
  • Burnout healthcare staff & patient safety
  • Fate of hostages : Flip of the coin ?
  • Chakan Gang-Ngai 2026 : Ooba Video
  • Unfinished requiem- Linthoingambi & Hemanjit
  • "Ningol Van" Launched at Taobungkhok
  • Calm reflection vis a vis brute violence : Poem
  • Foundation Days of States/UT
  • World No Tobacco Day 2026
  • Breast Cancer Awareness in Guwahati
  • Licensed to create mayhem ?
  • How to Break Manipur w/o Breaking Any Laws
  • 17th Manipur State Film Awards (MSFA), 2025
  • World We Make, World That Makes Us : Poem
  • Counting Right, Voting Right: What SIR means
  • Calls on Indonesia to ratify tobacco treaty
  • Honourable exit for Ashutosh & Kailun
  • Police Museum at 1st Manipur Rifles
  • Eid-Ul-Zuha @Sangaiyumpham : Gallery
  • June Calendar for Year 2026 : Tools
  • 16th Manipur State Film Awards (MSFA), 2024
  • KIM's proposed rally must be called off
  • International Menstrual Hygiene Day
  • Plants : The force that engineered Earth
  • AC: How does it affect the skin ?
  • Onslaughts at Ukhrul district
  • Lhangpat Mei @Keishamthong #2: Gallery
  • Anthem of Switland :: Poem
  • CM visits Makhan Naga Village
  • Manipur University needs fresh air
  • False Narrative on Killing of Thadou Christian
  • Summer Coaching Camp 2026 @NSU
  • Tribute to Pu Mangvung Paokholun Haokip
  • Incursion from across the border
  • Radio E-pao: 5 new songs updated
  • Manipuri Community in Assam Calls for Vision
  • School dropouts & never-enrolled children
  • M. Tech at Assam University
  • Under One Sky or Leased ? :: Poem
  • When AI speaks in tribal languages
  • 'The Unbecoming' makes Northeast debut
  • After crossing the three year mark
  • Cheirao-chingkaba on Cheiraoba #2: Gallery
  • Anoi Group Art Exhibition 2026 : Download
  • Exploring Hyderabad's Museums #1
  • Maharaja Garib Niwaz : Manipuri civilisation #4
  • IEC Campaign at Willong Khullen
  • World Emergency Medicine Day 2026
  • Liver & GI super-speciality clinic
  • Adding more muscle to State Police
  • Rally at New Checkon- May 25 : Gallery
  • Hritwika Majumder at Miss Grand India 2026
  • How social media fuels division & ethnic tension
  • Saving Manipur's vanishing paddy & wetland
  • Helpline for Thadou people
  • 477 new Manipur Police Vehicles
  • NDPP-NPF merger accepted by ECI
  • Seeking to pitch Nagas against Meiteis
  • 63rd Mr. Manipur #3 : Gallery
  • Why CJP resonates with Manipur's youth
  • A moral, humanitarian reflection on violence
  • Financial assistance to IDPs
  • Legally binding treaty for older persons
  • Zoonotic Disease : Link animal & human
  • Jealous of Meloni
  • Making the bodies disappear !
  • Yaoshang - Cooking Competition : Gallery
  • Manipur State Award for Literature 2024
  • Manipur's unresolved Political Journey
  • 'Kuki is not an ethnic name'
  • Miyawaki Plantation Experiment at Langol
  • A Ploy to Keep the Chasm Wide Open : Poem
  • 45th Water India Expo 2026
  • Beating of the Retreat #1: Gallery
  • Martyred Rev Dr Vumthang Sitlhou
  • When Ima Weeps in Silence :: Poem
  • International Eld's Deer Day
  • Sticking to a consistent narrative
  • Arms recovered from Lamdeng: Gallery
  • Exploring Kolkata: College Street #1
  • Wetland grabbing, hydropower, & ecologies
  • Condoles Demise of Khangembam Kuleswar
  • Upgradation of Imp-Jiri road: Poor planning
  • IEC Campaign at Phaibung, Senapati
  • In a mess for over 3 years now
  • The King Who Built a Golden Bridge : Kyampa
  • Mother's Day at Pukhao : Gallery
  • Manipur in India Constitutional Transition #3
  • Satyajit Ray's universal language
  • Decoding MLR & LR Act, 1960 & Article 371C
  • National Endangered Species Day 2026
  • India-New Zealand step into a new eco league
  • Posers over fate of abducted 6 Naga men
  • Sit-in protest @Kanglatongbi [May 18]: Gallery
  • Why communities must abandon hostility
  • Apatani's Next Top Model @Arunachal
  • The Fog of Uncertainty :: Poem
  • IEC Campaign at Song Song, Senapati
  • Supports TIM Proposal for Thadou-Naga
  • NE's Largest Psychiatric Hospital
  • Triangular clash underway in Manipur
  • Lamjen @ Thangjing Haraoba #1: Gallery
  • From Sympathy to Supremacy :: Poem
  • History repeats itself
  • Church Teams to visit Kangpokpi & Senapati
  • Workshop on Analytical Chromatography
  • Criminal Neglect, Terror Shielding
  • Summer make-up tricks to beat the heat
  • Pulling the strings to block the highways
  • Manipur Art Festival 2025 #3: Gallery
  • Manipur fermented food & scientific recognition
  • Seminar : Development of NE Region
  • Cheiraoba Chak Katpa #2: Gallery
  • Maharaja Garib Niwaz : Manipuri civilisation #3
  • Yumjao Lairembi Haraoba #1 : Gallery
  • Manipur in India Constitutional Transition #2
  • Sit-in protest @Kanglatongbi [May 14]: Gallery
  • Int'l Triathlon Yengkhom Suraj felicitated
  • Colonial Knowledge Production in NE #22
  • Condemns Killing of Thadou Church Leaders
  • Candlelight Vigil @ Bangalore #2 : Gallery
  • Maharaja Garib Niwaz : Manipuri civilisation #2
  • The Green Foundation recognised as a SIRO
  • Waithou Rally condemn civilian killing: Gallery
  • Chahi Taret Khuntakpa
  • HSLC Exam 2026 : Full Result
  • HSLC Exam 2026 : Pass % : Govt Schools
  • HSLC Exam 2026 : Pass % : Aided Schools
  • HSLC Exam 2026 : Pass % : Private Schools
  • HSLC Exam 2026 : Withheld-students
  • HSLC Exam 2026 : Compartmental candidates
  • HSLC Exam 2026 : Statistical Abstract
  • HSLC Exam 2026 : Important Information
  • Chandel District Head Quarters : Gallery
  • Indigenous Leaders Call for Global Recognition
  • Subika Art Exhibition @Washington : Gallery
  • Vegetables @ Waithou Keithel #2 : Gallery
  • Conflict, Displacement in Manipur (2023-2026)
  • Tronglaobi: 2 children laid to rest : Gallery
  • Martyrs' Day @ Cheiraoching #2 : Gallery
  • Featured Front Page Photo 2026 #2: Gallery
  • Free Online access to 'Asangba Nongjabi
  • Candlelight vigil: Killing at TM Kasom : Gallery
  • Fractured sovereignty : Proxy war
  • Mama, I love you- Then the world went silent
  • Khongjom Day @ Khebaching : Gallery
  • Final Merit List : Manipur Civil Services 2022
  • HSE : Pushpa K, H Keniya, P Taibangnganba
  • Yohen Longjam : HSE 2026 : Science Topper
  • Sarangthem Ayingbi : HSE 2026 : Arts Topper
  • Thoihenba Thongam : HSE 2026: Commerce
  • HSE 2026: Science Full Result
  • HSE 2026: Arts Full Result
  • HSE 2026: Commerce Full Result
  • HSE 2026: Pass % - Govt / Non Govt
  • HSE 2026: Pass % - District Institutes
  • HSE 2026: Subject-wise Pass %
  • HSE 2026: Candidates securing Highest Mark
  • HSE 2026: Science Topper List
  • HSE 2026: Arts Topper List
  • HSE 2026: Commerce Topper List
  • The great Manipur betrayal
  • Most Heinous Murder: Derailing Normalisation
  • Martyrs' Day @ Cheiraoching #1 : Gallery
  • Killing of 2 children @ Tronglaobi : Gallery
  • Yaoshang Thabal Chongba #2: Gallery
  • Boong: India's 1st BAFTA in children's cinema
  • PUCL Tribunal report: A shadow of partiality #3
  • PUCL Tribunal report: A shadow of partiality #2
  • PUCL Tribunal report: A shadow of partiality #1