General Discussions

Dining Philosopher’s Problem

The Problem The dining philosopher’s problem is a problem frequently used in concurrent algorithm design to demonstrate the synchronization issues and methods for resolving them. It was originally formulated in 1965 by Edsger Dijkstra [1] and later, Tony Hoare gave the problem its present formulation [2]. There is a dining room containing a circular table with five chairs. At each… Continue reading Dining Philosopher’s Problem

General Discussions

System – Tabuada’s Way

Paulo Tabuada uses 6 tuples to represent a system. A hybrid system to be more specific. Here is how the six tuples are identified and defined: Let us take a very simple example to have a better understanding of the notions. Consider a Latch.

General Discussions

Software Architectures -A Quick Peek

Essential components of any kind of software system includes an input, processing and an output. Engineering confirms a quality system when the system is well understood through requirements and represented with an appropriate design. A design captures the information of the system by building an architecture diagram. Though there is no one standard definition of software architecture(SA), most of… Continue reading Software Architectures -A Quick Peek

General Discussions

Operations on Structures

Following are the things to keep in mind while operating on structures: Comparison 1. Two structure variables cannot be compared. Whether they are of same type of dissimilar, they can’t be. 2. Members of two structure variables of same type can be compared using relational operators. Copying 2 structure variables 1. One structure variable can… Continue reading Operations on Structures

Python Codes

Getting Adjacent Colors – Python Code

Adjacent colors are obtained by rotating 30 and 360 degrees of any given color from the color wheel. Below is the Python code to achieve the same. The input supplied is Hex value of color and output is the list of two adjacent colors (Hex value).

General Discussions

Analysis Of PH Bytes

Originally posted on ibinjosephij:
PH BYTES is a technical blog which is owned by prakash hegade. The blog has got an interesting tagline which is that, MAN, MACHINE AND PIECE. Thus the blog mainly talks about the technical sides of programme coding. The blogger is basically a programme developer, so he mainly writs about all…

General Discussions

The Original MVC Reports

NOTE: MVC reports was originally drafted by Trygve Reenskaug, as on February 12, 2007 . I dont claim any originality of this post. I have just posted the summary and take away of the report. Many Thanks to Trygve Reenskaug for the MVC revolution. MVC : Model – View – Controller The paper/report talks about giving users the… Continue reading The Original MVC Reports

General Discussions

Every Language Has A Story

You don’t read a romantic novel expecting horror story in it right? So are all the programming languages. They have some objectives and principles behind them. You can’t expect anything beyond for what it was designed. PHP is a hyper text preprocessing language. PERL is for extraction and reporting. R is mainly for data analysis.… Continue reading Every Language Has A Story

General Discussions

What is Hashing?

This is a # and this is a #Tag. Hash table and Hashing has yet lot to do. So, we have yet lot to understand. A first-class amount of background information will make the study more than interesting. Let’s settle down the dust and chew the fat! Say you have an inclination of writing a… Continue reading What is Hashing?

General Discussions

Pointers and Conventions (C)

This note covers various types of pointers to be aware of and a few notations used with pointers. Types of Pointers Pointer: Pointer is a variable which holds the address of another variable NULL Pointer: A null pointer has a value reserved for indicating that the pointer does not refer to a valid object. It… Continue reading Pointers and Conventions (C)