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
  • HSE 2025 Result : Science Full Result
  • HSE 2025 Result : Arts Full Result
  • HSE 2025 Result : Commerce Full Result
  • HSE 2025 Information / Abbreviation
  • HSE 2025 Topper : Science
  • HSE 2025 Topper : Arts
  • HSE 2025 Topper : Commerce
  • HSE 2025 : Pass Percentage
  • HSE 2025 : Result Abstract
  • HSE 2025 : Candidates with Highest Marks
  • Violence in Manipur 2023-2025 : Timeline
  • Khongjom Day - April 23 #1 : Gallery
  • Thang Ta finds new energy amid peace
  • Tawang: Geostrategic importance for India
  • Thadou appeal for community understanding
  • Census 2001 & delimitation in Manipur
  • Condemns Pahalgam Terror- Calls for Action
  • Failing to read & control situation
  • Visible efforts essential for public trust
  • MK Binodini Devi's short story 'Tune'
  • Prof Moirangthem Marjit chairs SETSM, Hanoi
  • Will the two Asian giants always be in Rivalry?
  • Rebellion surfaces in rebel group NSCN-IM
  • Child Labour :: Poem
  • Pharmaceutical Waste: Threat to public health
  • Call for delimitation, NRC : Check illegal
  • Death knell for noble healthcare schemes
  • 175th Anniv- Maharaj Narasingh #2 : Gallery
  • World Earth Day : Gallery
  • Understand Suicide & Mental Health Support
  • Manipur champion @ Natl School Games
  • World Earth Day celebrated at MTU
  • The Earth Day 2025: Our power, our planet
  • How long will PR continue ?
  • Eviction drive need of the hour
  • Tamnalai : World Theater Day #1: Gallery
  • Chumthang Makhong : Play Synopsis
  • The demands of village volunteers
  • Missing you :: Poem
  • AI offers hope for beekeepers battling pest
  • Rural women, climate shock: Beijing report
  • From March 8, 2025 to April 22, 2025
  • Boosting morale of job seekers
  • Radio E-pao: 5 new songs added ...
  • The Power of Confident Communication
  • 2nd State Level Soccer Futsal Championship
  • April 21: National Public Relations Day
  • The resurrection of Jesus & its impact
  • Bhalla saab solution kithe ?
  • Training on Mushroom Cultivation
  • JNIMS turned into a dumping site
  • Sub-par work as centre vows US-level roads
  • Cheiraoba by Manipuri in Korea : Gallery
  • Kallakchei, Hungchor, Gainilung : eMing
  • Sri Lanka "Ayubowan" lasting impression
  • GoI must prepare to handle post-Muivah
  • Vice President felicitated Mughavi Tuccu
  • The Power of Poppy - 77 :: Poem
  • Rabies outbreak in Manipur
  • Athoubashinggi Numit #2 : Gallery
  • Pangolin & fight against Climate Change
  • Condemn violent assault against Konsakhul
  • Spring's symphony in my farmhouse :: Poem
  • National Conference on Elderly at RGU
  • The corruption & materialism of Judas
  • Manipur under PR for over 2 months
  • Bid to form government amid public scrutiny
  • 175th Anniv- Maharaj Narasingh #1 : Gallery
  • AI & technology in Manipur's agriculture
  • 4 Manipur players in Indian Women's Hockey
  • Gender justice & health equity are linked but ...
  • Digital marketing: Oxygen of modern business
  • Spring fruits that boost collagen in your body
  • Pot holed roads & others: Surviving Manipur
  • Frustration over centre failure to resolve crisis
  • Pichakari @Govindajee Temple #2 : Gallery
  • Poshan Pakhwada @ MU : Gallery
  • Startup Surge Manipur: Startup Venture Fund
  • My messy room :: Poem
  • Why WAQF Act, 2025 is unconstitutional
  • Emerging politics at play
  • National Fire Service Week
  • Observance of Thang-Ta Day #2 : Gallery
  • Cheiraoba in South Korea
  • Festival of Maram Achouba Khoushaba
  • The Hidden Strength in Falling Short
  • World Health Day 2025 & our Environment
  • Career after marriage: Flight or confusion?
  • Ban on SUP has come into force
  • Preying on abandoned houses
  • Sajibu Cheiraoba Chak Katpa #2 : Gallery
  • Climate Change : Spring revival in Ukhrul
  • Merger Agreement: Meaningless paper ?
  • Yaingang in sunscreens
  • Will all children be born free of HIV by 2030 ?
  • Athoubashinggi Numit #1 : Gallery
  • Day 4 : Yaoshang Sports #1 : Gallery
  • Narendra Ningomba - 'Iboyaima Award 2025'
  • Naga leaders Isak Sumi & Tikhak expound
  • Parrotisation in post-colonial intellectualism
  • Call me Burma :: Poem
  • Claim the crown if you have 30 !
  • Marching towards the 2 year mark
  • Train service vow amid fear over migrants
  • Cheirao-chingkaba @Chinga : Gallery
  • Why words matter in Manipur
  • Appeal for a Way Forward in Manipur
  • Birth Anniv of BR Ambedkar at MU
  • Final Call : Phase-2 of MFA 2024-25
  • The Power of Poppy - 76 :: Poem
  • Astronauts as a Career Choice
  • 16th Annual Art Exhibition #1: Gallery
  • Classic FA's Inspirational Journey in RFDL
  • Shifting weather patterns driving dengue cases
  • Early Childhood Caries: Public health concern
  • Lord Ramacandra's glorious examples
  • Media, women, & sensationalism
  • Cocking a snook at Delhi meet
  • Lobbying for preferred place of posting
  • Indo-Naga Talks (From 2012) :: Timeline
  • Ougri Lirol :: Part 1 : Ooba Video
  • Privileges & Safeguards for STs of Manipur
  • Personal & Professional Development
  • Ode to Peace :: Poem
  • Entries for 17th Manipur State Film Awards
  • Makeup tips to illuminate your look this spring
  • AI-based drones to revolutionise agriculture
  • Of shabby & pot holed roads: Defining Imphal
  • Mizoram feeling heat of sheltering refugees
  • The last ember glows : Will we let it burn ?
  • Business Idea Competition @ Manipur Univ
  • 1/2 of women cant make decision on health
  • 2nd State Level Soccer Futsal Championship
  • The life of Mahavir Bhagwan
  • 'Yummy Talent Fest' at Shillong
  • Another ban on single use plastic
  • Reasons for dissent against AFSPA
  • Mei Loukhatpa @Laipubam : Gallery
  • RK Bidur : Honouring a legacy
  • Appreciates peace dialogue at Delhi
  • Sigiriya : Sri Lanka's top tourist attraction
  • Mami Numit & Foundation Day SN Chand
  • Study Tour to Sikkim & Darjeeling
  • Mum on pre-conditions at Delhi
  • Tension over land disputes amid ethnic feud
  • Indigenous People's Fest #2 : Gallery
  • Jugeshwar Kshetrimayum: Martial Art Champ
  • Delimitation based on Census 2001 - II
  • Defending Our Faith, Our Lands, Our Rights
  • Tariffs: Time for Manipur to Rethink Its Future
  • Is deliverance always proportional to faith ?
  • 3rd AGM of Madhurupa Cancer Society
  • Phamba Challadi Hippa Challi
  • BJP on the back foot
  • Yaoshang Halankar #1 : Gallery
  • Condemns heinous incident at Konsakhul
  • Hun-Thadou Cultural Festival Concluded
  • World Health Day 2025
  • Living in Zone-V: The vulnerability
  • Solidarity with Myanmar Earthquake Victims
  • Career in sports can be rewarding
  • After Delhi meet of April 5, what next ?
  • Multiple rounds of tripartite talks inevitable
  • Pot Lannaba : Mera Houchongba #2 : Gallery
  • Delimitation : Why NRC must precede
  • Manipur tourism - insights from Sri Lanka
  • Mathematics as most useful & easiest subject
  • 10 Habits That Will Make You Unstoppable
  • The Power of Poppy - 75 :: Poem
  • Freedom of authorship Vs editorial policy
  • 3-language study model that aligns with NEP
  • Observance of World Aquatic Animal Day
  • World Autism Awareness Day 2025
  • Upliftment of Langmei Hr Secondary School
  • Setting pre-conditions for Delhi talk
  • Cong leaders note menace of drugs, influx
  • Yaoshang Mei Thaba #3 : Gallery
  • CAU produces hygienic Hawaijar maker
  • Delimitation based on Census 2001 #1
  • Is long HIV treatment good as daily pills ?
  • Sunburn : EDM festival at Shillong
  • Boost your skin with spring fruits
  • 23 months on and Delhi still lost !
  • Growing pitch for NRC
  • Thabal Chongba reclaims its cultural soul
  • Caregiver burden of raising an Autistic child
  • Supreme Court Judges visit : Gallery
  • Manipur: Champion 21st Natl Mountain Biking
  • Solution to water crisis
  • The Eternal I
  • Setting pre-conditions for talks
  • AFSPA expanded in 'peaceful' valley
  • Id-ul-Fitr @ Yairipok, Kshetrigao : Gallery
  • NRC before Delimitation in Manipur
  • Zeilad Lake : A common heritage
  • Right to safe abortion cannot be dislocated
  • World Theater Day
  • The shackles of ideas in digital India
  • The stand against delimitation
  • Myanmar earthquakes & vulnerable Northeast
  • Shortcomings - Delimitation in Manipur
  • "Tulsi Nonglik" at CAU, Lamphelpat
  • The Power of Preparation
  • Catherine Soyamphi: Turn waste into wealth
  • 'Common Platform' and 'Common Draft'
  • The Wounded Mercenary :: Poem
  • Mohan and Modi in Nagpur
  • Sajibu Cheiraoba Chak Katpa #1 : Gallery
  • 27th PANE Foundation Day
  • MoU with Nittur IAS Academy
  • Sleep State Impasse : A mass digital disorder
  • TIM to attend Hun Thadou Cultural Fest
  • First-ever ABH-incompatible Kidney transplant
  • Yaoshang Sports @ Kwakeithel #2 : Gallery
  • April Calendar for Year 2025 : Tools
  • Tamnalai :: Play Synopsis
  • Sajibu Cheiraoba- Meitei New Year Day: Book
  • Rise of AI: Story of future, dreams & nightmare
  • Funding crisis into opportunity to end TB
  • The Power of Poppy - 74 :: Poem
  • Saroi Khangba @ Imphal #2 : Gallery
  • Indigenous Women's Rights in Manipur
  • A review of In Xanadu: A Quest
  • Open Letter to Shri Amit Shah
  • Strategy for resource mobilization
  • Haircare tips to bloom in spring
  • Over a month since PR came into force
  • Near consensus on NRC update
  • Dr Aheibam Koireng: A prolific academician
  • Abolish Institution of Hereditary Chieftainship
  • Seminar on Career Choice at Kanglatongbi
  • TCI condemns Kuki diktats
  • Diktat to cancel Hun-Thadou fest
  • Objection To "Hun" Celebration
  • How to choose right career after XII class ?
  • Details of drug smuggling coming to light
  • Robust anti-drug units must to nail kingpins
  • Rare grasshoppers, crickets recorded in Zeilad
  • The Laiphadibi :: Poem
  • Policy proposal for ending ethnic conflicts
  • Entrepreneurship with mushroom cultivation
  • Condemns illegal diktat by Kuki SoO groups
  • A woman - Does she need fixing ?
  • Understanding Ponzi, digital banking fraud
  • Step down nudge to political appointees
  • Rivers turning into dumping zone
  • The Power of Forgiveness & Leadership
  • Yaoshang Sports @ Kwakeithel #1 : Gallery
  • Non-violence for defeating Kuki militants
  • World Water Day @ MU : Gallery
  • 14th AMWJU Annual Sports Meet #2 : Gallery
  • Thang-Ta for emotional balance
  • Yaoshang Mei Thaba #2 : Gallery
  • Day 5: Yaoshang Sports : Gallery
  • National Bamboo Festival : Gallery
  • Yaoshang Pichakari #2 : Gallery
  • Yaoshang Mei Loukhatpa #4 : Gallery
  • Yaoshang Mei Loukhatpa @Kangla : Gallery
  • Yaoshang Mei Thaba @ Imphal #1 : Gallery
  • 1st AMAND Football Cup @ Pune : Gallery
  • The Untold Meaning of MEETEI and MEITEI
  • In Memory of Aheibam Koireng
  • Featured Front Page Photo 2025 #1: Gallery
  • Moirangthem Marjit chairs CCCIS, Hong Kong
  • President's Rule in Manipur : 1967 - 2025
  • AIR Radio Imphal Station - Live streaming
  • Meitei Mayek Tamba : Online Classroom #5
  • Downloadable Manipuri Calendar :: 2025
  • GHOST of PEACE :: Download Booklet