Monday, September 24, 2018

AWS - concepts and features

AWS has stood on top in the area of *aaS cloud infrastructure provider. It is one of the prime reason as to why so many startups spin up and have an IT system running in no time...

Some concept on AWS are explained below -

IAM - Identity Access Management -  this is basically the authentication and authorization system for an AWS service. Needed for security, identity and compliance and segregation of duties.

Features -
  • Centralized access to AWS account
  • Shared access to AWS account
  • Access to a program / user
  • Granular access
  • Password rotation policy
  • Multifactor authentication - this can be setup in 3 ways - a. virtual device b. hard device c. SMS facility. Option c is going to be not supported from Q2 2019. Option b has some cost. Option a is totally free and one needs to simply download a token generating software mobile app e.g. Google Authenticator and add AWS account there.
  • Identity federation (google, linkedin, facebook or active directory :))
  • Supports PCI-DSS compliance
  • Integrates with many other AWS services
Terms:
  • Users and User Groups (say admin group, dev group, hr group)
  • Roles (assigned to aws resources)
  • Resources (e.g. aws ec2 instance, or aws s3 instance, aws db instance)
  • Permissions (set of policies)
  • Policy - Technical representation (in JSON) of an entitlement telling what actions can be done on what resources.
         Example of a Policy (it allows all actions on all resources, could be an admin level permission)

 {
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "*",
      "Resource": "*"
    }
  ]
}

AWS comes with a lot of pre-canned permissions for almost all of the AWS resources, so all we need to do is to create a user, optionally put him/her in a resource group and attach permissions to it.

Region:

Select a region which is closed to you. It is quite possible that some of the AWS services might not be available on that region, so the region needs to change.
  • IAM is universal and not Region dependent.
  • Root account has complete Admin access
  • New user has NO permissions to start with. They are assigned Access Key ID and Secret Access Keys when first created. These are used to access AWS via command line or via APIs. They are once view types can't be reused. Need to regenerate.
  • Always setup MFA on root account
  • You can create and customize password strength and rotation policies.
  • Power User allows access to all AWS services except management of groups and users within IAM.
AWS S3  - It is simply a "file system as a service". 

  • It is an object based storage. Files and documents can be stored. You simply upload files via Http. 
  • 0 to 5 TB is the limit to file size. 
  • Unlimited storage. 
  • Files are stored in buckets (having a universal namespace). e.g. s3-eu-west-1.amazon.aws.com/
  • Data consistency - Read after Write for PUTs of new files; Eventual Consistency for override PUTs and DELETES. S3 is spread across multiple availability zones, so there can be dirty reads due to replication latency.
  • S3 is object based key value store: Object consists of Key, Value, Metadata, Version, Sub-Resource (ACLs, Torrents). 
  • Availability: Built for 99.99% availability. Gives 99.9% availability. 
  • Durability: 11 9s durability.
  • Tiered Storage, LifeCycle mgmt., Versioning, Encryption and Securing using ACLs and bucket policies.

MongoDB - features

MongoDB is a very popular NoSQL schema-less database written in C++ and it is easy to configure and administer. MongoDB is well suited for Bigdata, mobile & social infrastructure. Initially released in 2009.

Some of its features are:

1. Support for ad-hoc queries 
In MongoDB, you can search by field, range query and it also supports regular expression searches.
2. Indexing
You can index any field in a document. It allows what is known as secondary indexes.
3. Replication & Consistency
MongoDB supports Master Slave replication. A master can perform reads and writes and a slave copies data from the master and can only be used for reads or back up (not writes). It is eventually consistent.
4. Duplication of data (High-Availability)
MongoDB can run over multiple servers. The data is duplicated to keep the system up and also keep its running condition in case of hardware failure.
5. Load balancing
It has an automatic load balancing configuration because of data placed in shards(#4).
6. Supports map reduce and aggregation tools.
7. Uses JavaScript instead of procedures.
8. Provides high performance.
9. Stores files of any size easily without complicating your stack.
10. Easy to administer in the case of failures.
11. Supports JSON data model with dynamic schemas
12. No triggers

Friday, September 21, 2018

System Design concepts

Following are some of the system design concepts asked in an interview for a technical architect/senior software engineer position. It might be a good way to judge a candidate's breadth -

High Level Design:
  • Vertical vs Horizontal scaling
  • CAP theorem
  • ACID vs BASE (atomicity, consistency, isolation & durability; basically available soft state eventual consistency)
  • Partitioning/Sharding of data
  • Consistent Hashing
  • Optimistic vs Pessimistic locking
  • Strong vs Eventual consistency
  • Relational DB vs NoSQL DB
  • Types of NoSQL DBs-
  • Key Value (Redis cache)
  • Wide Column (Cassandra)
  • Document based (MongoDB)
  • Graph based (Neo4J)
  • Caching
  • Data center/Racks/Hosts
  • CPU/Memory/Harddrive/Nw bandwidth
  • Random vs sequential read write on disk
Low Level Design:
  • Http vs Http2 vs Websockets
  • TCP/IP model
  • IP4 vs IPv6
  • TCP vs UDP
  • DNS lookup
  • HTTPS & TLS/SSL
  • Public key infrastructure & certificate authority
  • Symmetric vs Asymetric key
  • Load balancer
  • CDNs and Edge servers
  • Bloom filters and Count-min sketch
  • Design Patterns & OOD
  • Virtual Machines and containers
  • Publish-Subscribe/Queues
  • Map Reduce
  • Multi-threading, concurrency, locks, synchronization, CAS.


Thursday, September 20, 2018

Distributed Systems - CAP Theorem

Distributed caches or databases are based on the CAP theorem. CAP stands for Consistency, Availability and Partition Tolerance. Lets see what each of these are and subsequently understand the theorem.

Consistency - This is not the Consistency in ACID in RDBMS world. In NoSQL world, this means that every read will return back the most up-to-date copy of the data and every write will modify the most up-to-date copy of the data or return with an error. i.e. system is giving consistent results no matter what node in the system the request lands up into.

Availability - This means that no requests returns with an error, with out the guarantee that it contains the most recent write.

Partition Tolerance - Network partition gets created when few nodes in the cluster are not able to talk to the other nodes due to some network failures, packet losses etc. Partition Tolerance means that system continues to operate despite an arbitrary no of messages being dropped (or delayed) by the network between the nodes.

Now, CAP theorem says that it is not possible for a distributed system to simulteneously provide more that 2 out of the above 3 guarantees.

Most distributed systems are AP compliant. i.e. the give up on Consistency but ensure Availability and Partition Tolerance.

In presence of a network partition which is quite normal, a request can either be denied service (unavailable) but remaining consistent, or can return results (hence be available) but serviced on an inconsistent copy (created due to n/w partitioning) of data. Thus, you have to choose from either consistency or availability in presence of a network partition.

If there is no network partition, the system is consistent and available.

Database systems designed with traditional ACID guarantees in mind such as RDBMS choose consistency over availability, whereas systems designed around the BASE philosophy, common in the NoSql movement for example, choose availability over consistency.

Wednesday, September 19, 2018

Big Data Landscape

Big Data Landscape

Analytics tools & frameworks:
  • Zookeeper
  • Hadoop (HDFS)
  • YARN
  • Pig
  • Hive
  • HBase
  • Kafka
  • Spark
  • Storm
  • Flume
  • Oozie, Thriftserver
  • Provided by Cloudera, Hortonworks

No SQL data stores:
  • Amazon Dynamo DB
  • Apache Cassandra
  • MongoDB
  • Couchbase
  • HBase

Search tools:
  • Solr
  • Elastic Search
  • Amazon CloudSearch

Distributed Caches:
  • Redis
  • MemCache
  • Aerospike
Cloud (*aas) providers:
  • Amazon AWS
  • Microsoft Azure
  • Google cloud
Programming languages for analytics, machine learning algos:
  • Python
  • Scala
  • R

Product Ideas

You sign up on various tools, websites, use interfaces and some user experience simply says to shout  wow! and then you forget. This blog is and effort towards capturing those ideas -

a. A simple short sign up email directly from the co-founder, ceo, cto enquiring about :
  • what made you come here?
  • what did you like, what you didn't?
  • what can be improved better?
b. make the interface more catchy and cool. Use cool, catchy names for e.g say for a chatbot for servicing.

more to come...as and when discovered!

Monday, September 17, 2018

Whats new in Java 7 and Java 8

Java 8 is released much time back now, with the much awaited functional programming constructs, lambda expressions, streams api. Numerous other related enhancements like default functions, functional interfaces needed to be introduced to support above much wider and powerful constructs. Here is a summary of the enhancements.

It is to be noted that some of these feature are (borrowed or present) in the newer programming languages like scala or python.

Java 7 Features:

Code Conciseness, Redundancy:
  • Automatic type inference in generics instance creation.
  • try with resources for automatic cleanup of resources without the need of writing a finally block, if there is a finally block it is executed after the resources are auto cleaned up.
  • switch-case statements can work on string literals.
  • Multiple Exceptions can be caught in one catch block helping in code reuse.
Readability:
  • Numeric literals can contain _ for better readability
Performance and Concurrency:
  • JVM Performance improvements
  • Multithreaded custom class loaders
  • Concurrency Utilities - Fork/Join Framework, ThreadLocalRandom, Phaser class introduced similar to CyclicBarrier
Other Features:
  • SafeVarargs annotation
  • Internationalization support
  • Several enhancements in the Java swing framework

Java 8 Features:


Functional Programming:
  • Functional interfaces
  • Lambda expressions - treat functionality as method argument and code as data, instances of single method interfaces called functional interfaces.
  • Method references
Performance and Concurrency:
  • Sequential or parallel map reduce transformations.
  • Parallel Sorting using Arrays.parallelSort(). It uses fork/join pool introduced in java 7.
Annotations:
  • Repeating Annotations
  • Type annotations (annotations can now be added where-ever a Type is used)
New APIs:
  • New Stream API (java.util.stream) - provide functional style operations on a stream of elements, integrated with collections api to enable collections-stream conversion. 
  • Interfaces can now default and static methods avoiding the need of utility classes. e.g. forEach default method now in the "Collection" interface.
  • Java IO API improvements
  • Java Collection API improvements
  • New Date-Time package.
  • Java DB 10.10.
JVM:
  • PermGen is removed in HotSpot JVM.

Others:
  • Improved type inference when passing generic arguments
  • Method parameter reflection

Consistent Hashing

"Hashing" is a well known mechanism to enable fast searches. A "hash" is obtained by applying "some" (mathematical or a characteristic) function on the input(s). For an example -

Say we want to store a n words in a hash-table, such that retrieval of a word is faster than the normal O(n) search. A simplest hash function in this case would be to simply get the first letter of the word. The hash-set obtained will be [ab...z]. "america", will map to bucket 'a', "hash" will map to the bucket 'h'. To search of for a word, simply get the first letter and directly jump to that bucket; and then perhaps do a linear search.

Another hash function could be len(string).

Obviously, these approaches are sub-optimal, since multiple words will have a common hash and hence need to search linearly once a bucket is known. This can be bettered by using a hash function, such that a unique hash is generated for a word, but the trade-off is that it will lead to a much bigger and dynamically (sized) hash table.

A balance is generally made by adopting the following approach. A mathematical fn is used to calculate the hash first and then a fixed size (say N) hash table is formed. The hash obtained is mod'ed (hash % N) to obtain a number between 0 to N-1. Thus, whatever be the hash, by doing the mod we have ensure that the bucket index to put the input in is always between 0 and N-1. Hence, fixed sized hash table works. To keep a fixed cap on the search operation, we also need to ensure that, the size of each bucket is also fixed to say O(k), k being called as the load factor. If we found that, a bucket has over grown the size k, it suggests that we need to increase the hash table size to a value greater that N (say 2N).

Now that is a heavy operation, in the sense that all the keys need to be remapped by doing the new mod with 2N.

As an example, consider the following words, say 3 buckets, this is how they are assigned.

WORD | HASH | BUCKET
jue        | 32434 |  1
same     | 34244  |  3
jelly      | 7686   |  1
aman     | 35734 | 2
anuj      | 45642 | 1
deepak  | 226    |  3
julie      | 24324 | 2

So, jue, jelly, anuj got assigned to "1"; aman, "julie" to "2" and "same","deepak" to "3"
or this is how the map looks:

 1 -> jue, jelly, anuj
 2 -> aman, Julie
 3->  same, deepak

Say, load factor was 4, hence adding a new word say "foo", fell to bucket 1 and hence reached the load factor threshold and hence, we increased the no. of buckets to say 6(2*3). we will remod each entry now by 6, calculate new bucket position and done! This requires some good cpu cycles and performance overhead, since all the keys need to be remapped to new buckets.

The approach of CONSISTENT HASHING comes to rescue here which is detailed below. Before delving into that, lets also understand that same hashing/consistent hash approach is also used in distributed caches or distributed data stores (redis, kafka, load balancers, sharding system) to balance the load or data to multiple nodes (machines). Since the volume dealt in these system is huge, talking about billions and trillions of records, re-hashing is never a choice, hence CONSISTENT HASHING is used.

The approach ensures that upon resizing the buckets in the cache or with increase or decrease in the no. of nodes in the cluster only k/N keys needs to be remapped as opposed to re-mapping entire k keys, where N is the max of nodes (before and after).

It starts with mapping the hash to a circle instead of a array of fixed size and also mapping the available nodes (servers) to the same circle. E.g. With in a hash boundary say 0 to MAX_INT, 0 being mapped to 0 degrees, and MAX_INT mapped to 360 degrees, any hash in between 0 and MAX_INT will map to some point on the circle based on it degree by this formula:
(hash/MAX_INT)*360.

Similarly, using the same pattern, the nodes are also put on the circle.

A convention can be chosen that, any "input" will be put on the nearest node found by moving in the clock wise (or anti-clockwise based on the agreed convention).

Example - four nodes fall as below on the circle:

A (10 degrees)
B (60 degrees)
C (135 degrees)
D (200 degrees)

Say, input "julie" resulted to 100 degrees, moving in clockwise direction it will map to Node C. Say, "aman" resulted to 50 degrees, so it will map to Node B.

Say, in event of node failure of say node B, only B's entries will be moved to Node C. Rest entries of on A, C and D will remain as is.

Now, you might argue that this approach might be biased to make a particular node loaded with all the data (or requests). This can be fixed by assigning equals weights (or may be different weights if nodes differ in capacity). Say we assign a weight 10 to each node. So, we will distribute A1 to A10 randomly on the circle, B1 to B10 randomly on the circle and so on D1 and D10 randomly on the circle.
Now the angle of the input can fall close to any of An or Bn or Cn or Dn, hence getting mapped to a random node, more the weights better the chances of an inputs arriving to that node.

That in summary what is called consistent hashing, and doesn't suffer from the cluster re-size performance problem. Used very heavily in distributed systems, no-sql data stores like Redis Cache, Cassandra and Kafka, CDNs and load balancers.

For further reading refer -

https://en.wikipedia.org/wiki/Consistent_hashing

Sunday, September 16, 2018

Coding Guidelines

I think writing code is an "art", it has to be intuitive, free-flowing, easy to understand and maintain. It is easier said than done. Hence, some guidelines should be followed.

The following are guidelines that help achieve this. These are gained (some learnt and discovered) over my last 11+ years of software development experience. Primarily they are java centric but (in most cases) apply to other programming languages as well.

Naming Conventions:

1. variable naming - a variable name should be descriptive and in camel case. It is a noun. Best is camel case e.g. secondsPerMinute. If a variable name is used multiple times in the code, better to shorten it and put a comment. e.g. fooCount can be fooCnt with a nice comment that it stores the number of foo in the system. adding context to the name helps understand the code better. Avoid a, b, j as names, use "counter, index" instead for simple counter variables in loops instead of j,k.

Sense tells me that there should be a limit to the length as well. Try to use sensible short forms for words if the full-form makes the length goes beyond 25 chars. e.g noOfEmployeesInAfghanistan can be emplInAF //not bad!

This applies to all types of variables - local, class-level, method parameters.

2. constants - general guideline is to use CAPITAL_CASE (or UPPER_CASE) with an underscore separating words.

3. function naming - should again be descriptive and in camel case. It is a verb. e.g. getDefectedCars(), calculateFoo() etc. Overloaded methods with same type and no. of arguments are better distinguished by including the differentiator in the method name. e.g.
  • getEmployeeById(String employeeId), 
  • getEmployeeByName(String employeeName)
4. Class, Interface naming - Should be in CamelCamelCase. e.g. InsurancePolicy, NumberComparator. Class names are singular and are nouns or verbs. again descriptive...absolutely no cost (except a little bit memory but that's okay) involved in long names.

5. Package names - they are flatcase with each word separated by . e.g. com.hgoyal.metrics.domain

Class Design

1. Should be catering to a single functionality or domain.
   e.g. a separate class for reading data from the database, a different class for accessing cache,  different for transformations.

2. Always extend an Interface or more appropriately first define an interface then a class implementing it.

3. Avoid very long classes - bigger means there is scope to split into multiple.

4. Carefully pay attention to declaring members as public, protected or private. Limit the visibility as much as possible.

5. Methods should be small in size, encapsulate logic in smaller methods.

6. use composition over inheritance.

7. use "design patterns" as much as possible with appropriate tweaking.

Organization

1. Organize classes into meaningful packages. again pay attention to growing package size.

2. Choose different folders or source code, test cases, images, static content like html, jsps, javascripts.
src/main/java - for java source files
src/test/java - for corresponding test files - the package names for test classes is same as the package name for source classes. See below:
resources - for test case inputs, images.
WEB-INF/images/ - for images
WEB-INF/html/ - for html files
WEB-INF/js/  - for javascript files

3. a read-me.txt file at the root of the project containing a brief description about the project and its usage helps.

4. Always format the code to ensure consistency. Stick to a "brace" convention - e.g.

for ()
{

}

or

for () {
}

Needless to say that nicely formatted code is easier to read, debug, understand.

Documentation

1. This aspect is as important as rest of the above. Self documenting code should address 50% of the documentation concerns, but it is also essential to provide additional documentation for fairly involved logic snippets, methods, class usage, use case patterns, edge cases, possible exceptions and errors.

2. Do write class level, method level comments. use java-docs format for java.

3. package-info.java gets created by Eclipse IDE for writing a brief about the package. It gets used by the java docs.

4. Generate java docs and ask for review from the end users/incorporate feedback. add version, date, author info wherever necessary. refer to other classes/methods in the documentation wherever necessary.

Error Handling & Logging

1. Use logging as much as possible.

2. Choose log level carefully from - info, debug, warn, error, fatal.

3. Check to see if the logger implementation used is an asynchronous one. If not extensive logging can lead to a lot of IO, hence degraded performance.

4. Tune logging configuration appropriately. There are ways to turn off logging for a library at a package level or to choose the logging level at package level. Check for log file size, log rotation policy.

5. Log statements should be consistent as well. Use string formatters.

6. Consider confidential information is not logged e.g. passwords, information which is stored as encrypted.

7. Use error codes mapped to error messages. Consider externalizing this either in a database table or a config file. Consider for internalization use cases.

8. Basic information like sessionID, transactionID, threadID, userID should always be associated with the log statement. Very important.

9. Throw exceptions as and when necessary. Use exceptions that come with the JDK instead of inventing your own. e.g. IllegalArgumentException, FileNotFoundException etc.

Unit Testing / TDD

Always write a test case for the new functionality added. Ensure to cover all paths in the method by writing multiple tests. A coded test case helps in a long run when the method is tweaked after a long time and a quick way is needed to ensure it hasn't broken rest of the functionality. Well tested code with working tests should be only checked in to the repository.

Saturday, August 04, 2012

Scribblings on the eve of friendship day..

I, me, myself boring hai
US and WE interesting hai
internet hai to friendship hai
friendship hai to sharing hai
jo tera hai wo mera hai
jo mera hai wo tera hai

ungliyon se mujhe drag kar le
maze ke har pal tag kar le
mera naashta tera cup plate ho
feeling teri mera update ho
jokes par mere wink bhej de
jaye tu jahan mujhe link bhej de
jo tera hai wo mera hai
jo mera hai wo tera hai

jeb teri mera kharcha ho
blog mera, tera charcha ho
main aur tu se hum bane
hum se bane hum sab
sab se jude toh zindagi
hey zindgi wassup!!
jo tera hai wo mera hai
jo mera hai wo tera hai

tera bike mera hike
tera post mera like
tera sur mera geet
tera gossip mera tweet
jo tera hai wo mera hai
jo mera hai wo tera hai

...

~TOI 5th Aug 12.

Friday, December 31, 2010

Stepping into the new decade commencing with the year 2011...

I was ensconced on the mattress laid at my friends flat(obviously I happened to peek in there for today only) and thought to pour thoughts occupying my mind in here at this point in time, as we both waited to step in this new decade starting with 2011...

There were not only him and myself, but, a couple more guys and a gal (not to name her here :D), she was one of them's fiancee..

I was thinking that this day would be just another 'new year day', but was eager and keen to turn this day eventful and rejoiceful; though my inherent laziness was trying hard to let me stay motionless and idle and refrain from indulging into higher and ecstatic celebrations.

It so happened that I uttered loudly in an effort for atleast not to let this evening go dry and simple, and asked all of us to have our toungue get a little wet - you now know what I was pointing it to -- some softs drinks wrinks ...SO IT HAPPENED..we ordered some of them to do a cocktail of bacadi, tubog, pints, vodka and some snacks.

Some of us played notes on guitar, some occupied themselves with keyboard, some busy on social networking portals or on cellphones wishing their near and dear ones HNY, while the goodies arrived.

It was still an hour & a half to go for the clock to strike 12, we idled our time roaming inside the flat here and there, singing, cajoling others to dance and wait for the final moment. AZ and BY (names changed) had later dinner at around 11 with a scourge full of maggi and little sweet corn soup with breadsticks (wow!!).

The bell rings now and the delivery man arrives at the door with the liquids. I've to go move now to enjoy the moments a little and say cheers!

Wishing everyone a gorgeous and humorous new year and decade, full of discoveries and fantasies!

Hip Hip Hurray!

cheers!
harry.

Saturday, June 26, 2010

GYAN unleashed !!

Somebody intrigued me to unleash "gyan" from my so called mouth..and I started thinking to write..

Gyan is "geometric yoga around noise". Doing this transforms an animal to a human being and a super human a simple human being..haha amazed or upset?..the mirror opposite of this is Nayg which expands to "Noise around yogic geometry" which is defined as the cacophonic disturbances surrounding a geometric figure apt for performing yogic postures.

What I wrote above I don't know. This was the result of someone asking me Gyan!!

I haven't got the appetite more to puzzle myself more or make my readers baffle around this and think that this guy has gone CRAZY!!

~ harry.

Sunday, February 14, 2010

valentine rhymes..!!

its time to celebrate
to go out and agitate
have fun and shout at the gate
and wish happy valentine's date..

boy n girl long for the day
on which they can openly say
that i love ya so deeply -
i can't wait for yet another valentines day..:)

somebody told me
the funda of roses
to be-friend a 'she'
analogous to moses..

a red to express love
a pink for admiration
where loyality is defined by a white
with purple signifying love at first sight!

...
Hershit.

Sunday, January 24, 2010

175 in vain!

What a pity! Yet so close and yet so far...

No body could have imagined that India could repeat the massive run chase similar to done some 10 years back at sharjah with the little master playing in clinical style against aussies today, blistering some classic shots. But though he indeed took us
inches closer to history with a massive 175 singlehandedly, proving once again the worth of us calling him cricket 'God'.

But you call it destiny or fate, his runs went in vain as India lost by mere 3 runs chasing a mamoth 350! I am disappointed, and so was the little master himself, as was apparent on his face in his after-match presentation. He planned his innings
right from the start and his strokes indeed reminded of his early 20's as he punished the aussies all over the circle.

The worse part of this match and the utmost cause of disappointment is that 4 international players can't score run a ball to total last 25 - 30 runs and succumbing to pressure and getting run-outs and causing others to run-out..shame! Its an irony that one man stands through right from the beginning till the end and no body else could give him support. Its time for GAry to build some temparament and provide some batting practise to indian balling spearheads. As it is apparent in this series, this has happend the third time that india have lost while being so close to win, be the first match at baroda loosing by 4 runs, the 4th loosing by a margin of 10-20 runs or this Big one!

On the other side, I think credit would be given to the Aussies and esp Ricky Ponting who being in trouble as he was playing with 5 of his playing 11 out due to injuries. The aussies yougsters kept there cool till the end, though they win by only 3 runs, but in the history its a Win. There fielding has been at par in the series as well.

I strongly feel for Sachin and could only imagine him hapless, ensconced disappointingly some where...

Can Dhoni come back winning the last two..?

5th Nov 09
Harry.

Monday, September 14, 2009

entangled by cobwebs !

Uff..time has been so shity..i can't withstand that pain which is mingled with ecstasy at the same time being compounded with agony, despair and oft letting to encourage the blatant urge to go out and do things which viciously culminate in what i call "desires leading to pleasures and unprecedented generosity". Exasperated! Huh..Its been long while since that recalcitrant behaviour has popped up suddenly and when it leads to nurturing the eternal dilemma or connundrum, it speaks for itself! Life hasn't been so fruitful, so demanding, so fulfilling, so contenting, so revealing, so swimmingly going and yet so sad! What is this? Is this the inception of a journey which might deviate showing aberrations, and finally straigtening down under utter penitence?

Hurdles, goals, destiny, deeds, desires, ambitions are often furnishing the same odour with limitless intensity and unfathomable reach. Dude! its time to unwind the myriads tenants of ancient Philosophers and look to poke holes & surpass their vision transcending human mind. Is it the era of social, political, scientific, economic, physical uproar against subtle nuances of this material world?

I reckon, its a call to stand tall, and tall enough to sneak into that hazy cloud of goodies. The diaspora and unsatiable glue lying in front will prove to cajole out the malicious weeds and will let you speak up and no single one will be worthy of this debacle.

What are you thinking? Standoffish or Mingled :(

cheeers,
Hershit.

Friday, August 21, 2009

wo kavita hi kya...

wo baag hi kya jismein maali na ho
wo ped hi kya jispe daali na ho
wo gaal hi kya jispe laali na ho
wo baat hi kya jismein gaali na ho
wo jeeja hi kya jiski sweet saali na ho
wo kawwal hi kya jisse kawwali na ho
wo ghar hi kya jismein deewali na ho
wo koyla hi kya pant jisse kaali na ho
wo salary hi kya door jisse kangaali na ho
wo wallet hi kya note jismein jaali na ho
wo mard hi kya sahan jisse gharwali na ho
aur wo kavita hi kya jispe taali na ho !

Saturday, August 01, 2009

haan maine bhi 'chori' ki hai...

haan maine bhi chori ki hai
tere paas aane ki hi koshish ki hai...

bahut lamba tha ye faasla
jaise ho raat se din ka bhagna
thi gamon ki kasti sath
jo le aayi hone ko ye mulaqaat
par main bhula nahin paaya ki

haan maine bhi ye kashti chori ki hai
tere paas aane ki koshish ki hai...

duniya se door bhethe the kuch mazboor
chahte hai tujko dil se wo
marz hai unka ye zalim duniya ka dastoor
bus apna pet palte hain, aur keh nahin pate ki..

haan humne bhi chori ki hai
apni garibi mitane ki koshish to ki hai...

dard dil mein dabaye kya payoge janab,
gar musqurana chahte ho to
bolo hai kabool dwahrana darmiyan e khwab? ki..

haan maine bhi chori ki hai..
sach ka saamna karne ki koshish ki hai..

aagaya tha ruksati ka waqt karib
dulhan bhethi thi palqi mein garib
dulha khush tha bahut
par tha is baat se bekhabar jo hai ek sach ajib, ki..

uske father-in-law ne bhi chori ki hai
beti ka dahej jutane ki koshish ki hai...

bol to dein zor se hum
par kya wo sunenge, hai itna unmein dum,
khud ke liye wo khuda ko nahin bakhste,
kya karenge wo chande lamhe apni zindgi se kum?

gar aisa ho to koi nahin kahega ki ki..

haan unhone bhi koi chori ki hai
bus unke jaldi karib aane ki hi koshish ki hai...!

Sunday, July 26, 2009

Friendship Anniversary?

IT's surely not bad to atleast think about the day YOU first met. Beware - here i am talking about to celebrate, which has some incentive attached! Some folks may boo about this idea, but at the same time, some might appreciate.

The friendship anniversary is certaily a great occasion. It gives pleasure to think about the day when you first befriended someone and ponder over the inhibitions resisting you in doing so and how you countered them with finesse accost and confidence. It will be worthwhile to evaluate how your friendship proceeded over the days, had the bond become stronger than you first thought or there is work needed to tighten the screws from both sides. This not only will help you better confront the idiosyncrasies of your social behaviour, but will also help analyse the subtleties of sharing a social connection.
Alas! this is a modern world with influences from west trying to contaminate the true essence of friendship. Immortal sayings like a friend in need is a friend indeed, have not lost from the minds of young generation, rather, the way they are interpreted and applied has change dramatically.

There has to be methodical approach to determine why youths have the propensity to befriend someone. Now a days, chatting, social networking sites have been the finest mechanisms to get this done, and ppl dont feel shy when they are remarked as 'intexticated'. I don't see an issue with this unless it is done to find a true friend and not many untrue friends. People wait for friday to end, so that they can start their venture into the inevitable journey for finding a fri-end :P. But since you were successful in doing so, why not celebrate the completeness of one year of your success, no matter you now realize that it was not worth, but considering the points mentioned above it would surely call for remembrance atleast!

Let's go back and try to contemplate upon the ecstasies when you try to befriend someone of opposite sex. Remember it is always a two way sword, a push from one side will have an effect on the other and viceversa. So all you have to apply is slightest effort in influencing your partner, getting to know his/her desires and tastes. If you are 100% in achieving this, no matter what happens, you'll ultimately get it! But this is not all, this has to be continued till the time it transfers to an eternal bond which ironically will can get broken by a mere breeze of infidelity...!

hope this sounds fresh and healthy to my readers at the same time appearing cryptic too .. :P

signing off!
Hershit.

Tuesday, May 19, 2009

D IPL clamour - can you hear it?

THE urge to enjoy the happiness and satisfaction that surrounds after one has finished writing a blog, has made me to getup and start tapping on my lappi's keyboard. i quickly thought wat cud be the topic, immediately it striked how about IPL - which is not so popular this time around - so y not try to turn the cards by throwing some light onto this seasons cricket league !

IPL in itself is a great business idea which took birth in the mind of Lalit Modi. Not many and that too not many cricket fans must have heard his name before, who only came to limelight after he started fighting to make way to have this happen.
He (is an MBA) used to be linked to BCCI at some post, came up with this lucrative business idea of "franchise owned cricket", which at its mere introduction seems to be a best bet in a cricket fanatic nation like ours. And then mixing glamour with it makes it, makes it all the more exciting with short 20 20 matches serving like a movie entertainment.

On a serious note, to me it seemed in that last year's IPL, the two teams who came up in the finals, were exceedingly the best amongst all in terms of how their captains showed leadership, team management and building skills, be it the Warne's RR or the Dhoni's superkings, they had in them. It was indeed a close match and no one cud have expected a better finish with one team ending on a loosing by a margin of mere 1 run - and at the end of which seeing Dhoni walking around gathering his boys saying - "we haven't lost"! i felt, he was right. If 1 team has to win, other has to loose and loosing by 1 run is not a loss! It shows how competetive the two teams are and are fighting for the best sPOt..

This season's IPL - unfortunately or fortunately has to be moved to South Africa, as the dates were coinciding with that that of general elections (another
exciting show - i often find the results declaration analogous to some exam result declaration with leader being the exam givers :-)).
Any country would have jumped on to this opportunity (mind it - hostign such a big event means huge profit to the hosting nation), whcih came to some folks as Modi's good negotiating skills and relentless urge to have it oranized at any cost.

Finally it was there (thought it happend with 8 days delay). It started off with KKR's victory, which ironically couldnt register another win for a very long time (11 consecutive losses) until it came in their second last league match only yesterday! There is something whcih can be attributed to their downfall, ppl speculate that it is coz of presence of so many leaders in their camp - which is sometimes called xtra baggage - ganguly, then srk, then coach john buchanan, phisio john gloster, separate fielding coach, then mc cullum the captain himself...and lots of supporting staff!

It also came in the talks that this IPL will be different from what cud it be if it was hosted in India, that games will be low scoring and SA pitches are
not suited to bat on. teams which have good bowling line up will have an advantage - which came to be the right hypothesis as MI (with malinga, bhajji, zaheer ),
did seem to be strong by winning matches by virtue of good bowling.
Till the mid way of the tournament, it was not clear as to which team would be going into semis. DD and CSK were at the top 2 positons, but the race for 3rd
and 4th positions was still on for rest of 6 teams which diminished to 4 teams after KKR and MI made themselves out of the tournament. Still it is in b/w
deccan chargers and RR's, but KXIP and BRC are also fighting hard to sneak in into that position. CSK loosing to KKR and DD loosing to BRC in the last two games makes
it all the more exciting as the two spots are still open !!

I for one would like to see CSK and DD in the finals with DD's moving away with the tropy!

cheers!
signing off ..happy ipl!

Thursday, December 11, 2008

kya main bhi shayar hoon?..yes..hoo !. :-)

dard bola to sunaayi dega
mera her ashq dikhayi dega

ishq tujhse hai kambakht mujhe
ab to barson ki judaayi dega

waqt rukta nahi rahon ke beech
tu kya manjil ko wafaayi dega

tu aashiq hai mera, katil bhi
aage khudaa ko kya safaayi dega?

jakhm diyen hein gin gin ke tune
ab kya gin gin ke dawayi dega

main chahun na tujhe aisa ho nahin sakta
par tu hai ki har wakt rulai dega

tu ruswa ho na jaye islie mile nahin tujshe
par tu hai ki hami ko ruswai dega

tu apna to ho nahi paya kabhi
besharm,  kya kisi aur ke ho jane ki mithai dega

kharch karta nahi tu mujh per chand lamhen
kisi aur ko kya apni kamaayi dega? !!