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
  • Kang Chingba @Kakwa, Singjamei : Gallery
  • Violence in Manipur 2023-2026 : Timeline
  • Yaoreingam, Lamjingrenbi : Eming
  • That FB/X Post didnt come from Politician
  • Posts @ Life Sciences, Manipur Univ
  • The Blueprint of Ruins :: Poem
  • Implications of Bahuda Rath Yatra
  • Nari Shakti, from promise to delivery
  • SoO at the centre of storm
  • Flag off: 135th Durand Cup @Sendra : Gallery
  • Manipur's booming bridal makeup culture
  • Inclusive Preparedness at Ideal Blind School
  • Army brings the Durand Cup to Imphal
  • Evolving strategies- aftermath of 3 May 2023
  • Communities must be financed, says UNAIDS
  • Pro Health Physical Therapy at Guwahati
  • Make the War on Drugs meaningful
  • A rainy day @ Ima Keithel : Gallery
  • The law of Karma and Manipur
  • Awareness Programme on POSH ACT, 2013
  • Admissions @ North East Career Centre
  • Millets and Human Health
  • Poppy Cultivators & Traitor :: Poem
  • No EV Monopoly, let users pick best tech
  • Taking note of PUYA's campaign
  • Naga Peace Process: Indo-Naga Talk: Timeline
  • Ahingee Laan @ JNMDA #3 : Gallery
  • 'Homecoming Ceremony' KCP-PWG : Gallery
  • The Gates of Birahari :: Poem
  • GPF Statements for 2025-26 Available
  • Leadership at JNIMS must inspire confidence
  • Sound of happiness: What our applause says
  • DAC Meeting of MY Bharat, Imphal East
  • Silence of guns is not normalcy
  • Early History of Manipuri Sahitya Parishad #3
  • Oken Amakcham (1962 - 2026)
  • Tribute to football coach Oja Kamini Kumar
  • Tobacco products demand in Manipur
  • Live Laser Proctology Surgery performed
  • Film Appreciation Course at MSFTI
  • Tripura Wins Best National Costume 2026
  • Demonstrating merit of team work
  • The Forgotten Kings : A Hearthside Story
  • Linthoi Chanambam : Gold at Asian Judo
  • 4th Phase "Ningol Van" at Golapati Hatta
  • We are just 33 lakh
  • Monsoon skincare tips for babies
  • Call for closed door meeting with CSOs
  • Trouble makers with an agenda
  • Exploring The Vanishing Self #2
  • The politics of devotion & syncretism
  • Sunita- Best Manipuri Film @72nd Nat'l Award
  • China-Myanmar with a Shared Future
  • North East India Festival 2026 at UK
  • A gory slaughter :: Poem
  • Kang Chingba @Thangal Keithel : Gallery
  • A World Cup football final 40 years ago
  • Manipur needs a livelihood policy, not relief
  • The Puzzle Unsolved :: Poem
  • IndiGo from T2 Terminal Guwahati Airport
  • Manipur Electricity Regulations, 2026 draft
  • India's Tribal Perspective to 19th UN EMRIP
  • Imphal, Delhi : Losing the plot
  • Kang Chingba @Govindajee Temple : Gallery
  • Kanto Sabal & security questions
  • Rights of Freedom of religions & beliefs
  • Lord Jagannatha's processional chariot fest
  • Condemns Kanto Sabal Arson Attack
  • Love Will Find a Way :: Poem
  • The killing and anti-AFSPA stand
  • 77th Republic Day @ Kangla #3: Gallery
  • 2004 Kangla Protest: Anti-Repression Day
  • Make every effort to do what leads to peace
  • 'Trust Deficit Towards Govt of India'
  • On the grand road of Puri
  • Day 2: Hands On Training- Yelhou Hidak 2026
  • 23rd Technothlon at Techniche IIT Guwahati
  • Playing the victim card will not do
  • 63rd Mr Manipur @ MU #5 : Gallery
  • Thank you, Cristiano Ronaldo
  • Ethics of financing armed groups in Manipur
  • Dylan Thokchom @ Badminton Asia C'Ship II
  • What do recent initiatives of young people say?
  • Day 1: Hands On Training- Yelhou Hidak 2026
  • Of health, water & power supply
  • Cultural @ Beating of Retreat #3 : Gallery
  • Underpaid nurses : A look at pathetic salaries
  • Manipur : Living under shadow of violence
  • Wild Nature :: Poem
  • Fulfil the 2027 #EndTB commitments
  • Walking Lens 3.0 concluded
  • Up in flames since May of 2023
  • Seasonal Fishes @Ima Keithel #3: Gallery
  • Meetei Mayek High School : Subroto Cup
  • Trend of mislabelling in recent times
  • AI revolutionize early disease detection in crop
  • Khemchand the Sardar Patel
  • 4-year integrated teacher education (ITEP)
  • Fibre Economy: India's next big opportunity
  • Right under the nose of Army : Leimakhong
  • Exploring The Vanishing Self #1
  • The names behind the arrest
  • 2026 FIFA World Cup - new global standard
  • 10th NE Int'l Fashion Week 2026 announced
  • A girl in the temple :: Poem
  • 'Overwhelming Meetei Support For ST Status'
  • Oncology OPD Services launched
  • 77th Republic Day @ Kangla #2: Gallery
  • National Drone Innovation Challenge 2025-26
  • The Next Market Day :: Poem
  • Manipur airfare crisis: Way out is beyond reach
  • Posts @ Dept of Art & Culture, Manipur
  • Monsoons beauty
  • Transformative journey on Reform Express
  • Reading the stand of the Kuki CSO leader
  • Early History of Manipuri Sahitya Parishad #2
  • 35th NAMA Annual Convention at New Jersey
  • British Coin Puzzle
  • The story of Citrus
  • Pride Ride 2026 Pedals in Agartala
  • BRICS & the New Geography of Agri-Trade
  • Seeing, treating all as equals
  • Unravelling the knot: Reclaiming Thaksi-Khasi
  • The making of a Social Worker
  • Enough is Enough :: Poem
  • Online submission- Class XI & XII to COHSEM
  • Rising above HIV diagnosis
  • 12 years of Science in service of India
  • Six Naga men : The hurt, pain still lingers
  • Solo Dance: Wahengbam Debina #2: Gallery
  • Dylan Thokchom @ Badminton Asia C'Ship
  • 'Imp-Jiri Highway to Be Ready by Dec 2026'
  • Reassessing Manipur's geopolitical conflict
  • A Walking Life :: Poem
  • Something on Scrub Typhus
  • Making it to the news for right reasons
  • Yumjao Lairembi Haraoba #2 : Gallery
  • Border Flames: CoBRA, Crisis in Kamjong
  • A Fool's Cry :: Poem
  • Manipur Displacement Crisis- Security Failure
  • Why are we still not on track to end TB
  • Development Vision for Assam & North-East
  • Delhi: Noting new area of conflict
  • 63rd Mr Manipur @ MU #4 : Gallery
  • Hundred Flowers Institute of Medical Sciences
  • 3rd 'Ningol Van' Tree Plantation at Kongba
  • Possible way out of festering conflict
  • Draft Electoral Rolls for Imphal West
  • 3 ACs - Draft Electoral Rolls for Senapati
  • Draft Electoral Rolls for Imphal East
  • The sunshine of civilization :: Poem
  • Working on a Saturday
  • Present signature for February 30 !
  • Boy Who Dredged the Rivers: Taothingmang
  • Day 3 : Yaoshang Festivities : Gallery
  • Golden Jubilee of JNMDA (Prod Unit)
  • The failure of selective liberalism
  • Apatani's Next Top Model 2026 : Grand Finale
  • The Faithful Pen :: Poem
  • Obesity - Mother of many lifestyle disorders
  • Fuzzy Clearances in Mapithel Project
  • E20 Petrol in India: Controversy Behind Biofuel
  • Ratify UN Convention Against Torture
  • When Manipur University says No to Drugs
  • Teaching : The most judged profession
  • Cloud of Death: Tobacco's Global Shadow
  • Time to show there is a Govt in place
  • World Environment @Lamdeng #2 : Gallery
  • Why Kuki failed to co-exist with communities
  • Apatani Fashion Week 2026 at Hija
  • Admission Notice : Dhanamanjuri University
  • 41 yrs of healing lives & strengthening Manipur
  • Smart protected cultivation : For climate smart
  • Heatwave makeup guide
  • Call for conscientious voting
  • Ningol Phida @Shumang Leela #1 : Gallery
  • Two civil society reports on violence in Manipur
  • Influenza : A potential for another pandemic ?
  • Who Shapes Whom ? :: Poem
  • Rejects KZC's June 25 Press Conference
  • Science behind the RSS Shakha
  • Paradox of devotion, power of babas & justice
  • Impact of inter-district blockade
  • Day 3 : Yaoshang Sports : Gallery
  • World Motor Cycle Day @Andro : Gallery
  • SoO & selective law application
  • New thaw of Indo-Myanmar relationship ?
  • Transparency in rehabilitation centre evaluation
  • Mother Earth :: Poem
  • Patriarchal resistance in Africa- gender equality
  • After Sharda who, is the question
  • Sillam Sintha Jagoi @ATINGA : Gallery
  • Featured Front Page Photo 2026 #3: Gallery
  • Constitutional and federal discourses
  • Guru Shishya Parampara Scheme 2026-2027
  • The Personal MBA is no less than an MBA
  • A surge of love :: Poem
  • Walking Lens - 3rd Edition
  • Selling false sense of normalcy
  • Ethnic conflicts & effects on local fisheries
  • July Calendar for Year 2026 : Tools
  • Seminar: NE Traditional Knowledge System
  • Youth, Education & the Road to Peace
  • I Will Not Be a Footnote :: Poem
  • Rejects KZC's Contradictory Statements
  • Being Indian/Manipuri citizens
  • The politics of shutdown & blockade
  • 360° panoramic view of spots in Manipur
  • Tangkhul Meiphung: The wounds of Time
  • Arambai Tenggol & the law of defence
  • SWC Khongman Mourns Demise of Founder
  • A New Skyline for Imphal
  • Legal for Inmates of Manipur Central Jail
  • Demands Abrogation of SoO
  • How Football Connects Us Across Generations
  • Homecoming @ Washington DC : Gallery
  • BSc (Horticulture) State Govt Nominee
  • The World Drug Problem
  • Senior Media Delegation Visits Karkinos
  • ANSAM Rally demanding justice : Gallery
  • Imokanta's Shumang Lila of Manipur : Review
  • KZC's 25 June PR Exposes Brutality
  • Three-day Rise Up Summer Camp 2026
  • Tips for healthy & beautiful nails in summer
  • The yarn about return of peace
  • Workshop- 'AI in Journalism' : Gallery
  • Exploring The Vanishing Self - Book Launch
  • A convoy that deepened fears of proxy war
  • 25th The Great June Uprising #2 : Gallery
  • Day 2 : Yaoshang Mei Loukhatpa : Gallery
  • How Manipuri Cinema is Reimagining Future
  • A Dime A Dozen # 1 : Author's Warning Note
  • 3 yrs on, Manipur demand an honest reckoning
  • Financial traps you should avoid
  • NE India Infrastructure Summit 2026
  • Stand to contest coming Assembly polls
  • Manipuris (Meitei) and Bishnupriyas
  • Kamesh Salam Recognized by Business Today
  • Manipur's children are watching
  • Nungshiba Leinamna : Weaves Love & Legacy
  • The albatross of mid-June :: Poem
  • On Working Committee, NNPG's statement
  • Workshop : Application of AI in Journalism
  • Emergency shutdown politics of CoTU
  • 26th Death Anniv : Arambam Somorendra
  • Yaoshang Pechakari @ Govindaji: Gallery
  • Understanding infertility in a changing world
  • The Cry of My Six Brothers :: Poem
  • ANSAM rally at Imphal : Call of indigenes
  • Candle Light Vigil @ New Checkon : Gallery
  • B.Sc @ CMC College of Nursing, Koirengei
  • Cultural @ Beating of Retreat #2 : Gallery
  • Tree Plantation Drive @ Mekola : Gallery
  • 35th State Thang-ta Championship 2026
  • 25th The Great June Uprising #1 : Gallery
  • AMD Academic Accelerator Program, Pune
  • Manipuri and Bishnupriya Manipuri
  • June 18 : A Day of Unity, Sacrifice
  • Protest erupted @RIMS [15 Jun] : Gallery
  • Massacres perpetrated by Kukis during British
  • Khuiyoi Tompok & Sound of the Drum
  • 28th Meira Paibee Numit @Khurai : Gallery
  • 3rd anniv- Khamenlok 'massacre' : Gallery
  • Healthcare for Manipuris in Bangalore
  • AI : Explore 25+ yrs of Manipur archives
  • Remains of 6 Naga hostages @JNIMS: Gallery
  • The Lost Paradise
  • Moirangthem Chandra's collection of Puyas
  • What Manipur conflict reveal about oppression
  • 'No NRC Update No Census' Rally : Gallery
  • Yaoshang Mei Loukhatpa #3 : Gallery
  • Showcasing Manipur @Switzerland : Gallery
  • 1st Peaceful Coexistence Award 2026
  • Events- Kuki militant & Naga village volunteer
  • Martyrs' Day @ Cheiraoching #3 : Gallery
  • The King Who Came from the Sky: Pakhangpa
  • Chakan Gang-Ngai 2026 : Ooba Video
  • >
  • How to Break Manipur w/o Breaking Any Laws
  • 17th Manipur State Film Awards (MSFA), 2025
  • Eid-Ul-Zuha @Sangaiyumpham : Gallery
  • 16th Manipur State Film Awards (MSFA), 2024
  • Radio E-pao: 5 new songs updated
  • Yaoshang - Cooking Competition : Gallery
  • Manipur State Award for Literature 2024
  • 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
  • Tronglaobi: 2 children laid to rest : Gallery
  • Free Online access to 'Asangba Nongjabi
  • Final Merit List : Manipur Civil Services 2022
  • Killing of 2 children @ Tronglaobi : Gallery
  • PUCL Tribunal report: A shadow of partiality #3
  • PUCL Tribunal report: A shadow of partiality #2
  • PUCL Tribunal report: A shadow of partiality #1