Posts

Operating Systems in a nutshell

Image
Operating systems are the software that makes the hardware usable. Operating systems perform the following rudimentary functions -  Process Management Process Scheduling Process Synchronization Memory Management In addition, an operating system (OS)    also provides facilities like a GUI or embedded application software that make the system more user-friendly. OSs generally deal with allocation, scheduling and monitoring of resources available to the system. Popular examples are the Windows, Linux and Mac OS series. A process is a program in execution. Processes require resources to complete execution and the allocation of these resources is fulfilled by the operating system. Appropriate allocation algorithms must be utilized to avoid deadlocks. A deadlock occurs when the system is in a standstill because the requirements of all processes can't be met due to a lack of available resources. Common examples of deadlock are the dining philosophers problem and...

Story - Beyond The Mundane

Archael shot himself into the sky and burst across the horizon. He sensed a presence pursuing his energy. It was his twin, Azrael trailing behind him. They were late for class.  Having made sure their presence was hidden, they teleported into their classrooms. Archael made a decent decoy with his limited magic power like he usually did and snuck out of class. Azrael, the more studious of the brothers, preferred meditating by himself in his seat, augmenting his magical energy. Archael, or Arch as his friends used to call him, was always hyperactive and rebellious in class. Although, this description was of the clones he used to make for the most part. He rarely attended class himself. Azrael was much more proficient in creating clones and would maintain about fifty or so clones at all times to do all sorts of odd jobs and chores. Archael focused more on his athletic abilities and would hone his agility and strength by battling monsters and lesser demons while his clone was causing...

Drawings - Part 3

Image
Rough sketch of Teen Gohan SS2, my favourite dragonballz character. 

Goodbye Tofu(⏔)? - Google's Noto Project

Image
When text is rendered by a computer, characters in the text can't be displayed at times, because no font that supports them is available to the computer. When this occurs, small boxes are shown to represent the characters. In slang those small boxes have sometimes been called "tofu"(⏔). Noto as in "No Tofu", aims to remove tofu from the Web. Google recently released its open source Noto font which aims to create a united platform for several languages used around the world, rare or common. As of 8/10/2016 there are 114 Noto fonts, of which 95 are sans-serif style, 13 are serif style, and six fonts are not classified as serif or sans-serif. The Noto Color Emoji font only works under Android and Linux, and cannot be installed under Mac OS or Microsoft Windows. All these fonts are available for download in the url below- https://www.google.com/get/noto/ They can be downloaded in batch or individually .

Drawings Part 2

Image
Simple sketch of a model on some magazine.

DBMS cheatsheet

Image
Database  is a collection of related data and data is a collection of facts and figures that can be processed to produce information. A  database management system  stores data in such a way that it becomes easier to retrieve, manipulate, and produce information. A 3-tier architecture separates its tiers from each other based on the complexity of the users and how they use the data present in the database. It is the most widely used architecture to design a DBMS. Database (Data) Tier  − At this tier, the database resides along with its query processing languages. We also have the relations that define the data and their constraints at this level. Application (Middle) Tier  − At this tier reside the application server and the programs that access the database. For a user, this application tier presents an abstracted view of the database. End-users are unaware of any existence of the database beyond the application. At the other end, the database tier ...

Why I like programming

Image
I remember the days I spent as a kid wreaking havoc on friends' computers by making them click on different Windows batch files I made with appealing names like, "Try Your Luck" and whatnot. They usually contained code like: shutdown -s or the more sophisticated (at that time): :loop start goto loop Once I learned C programming I went with less transparent methods using the more difficult to edit executable files. Here's a snippet of code whose consequences most programmers would understand: for(;;) system("start"); Of course, this wouldn't potentially be harmful to an operating system other than a Windows one. For Windows, this would cause what I like to call a "process bomb" - multiple instances of cmd eating up your system resources in this case. I wasn't really satisfied with this, so I took things a bit further: main() {     for(;;)     {         system("start");         system("notepad");     ...