Saturday, May 12, 2012

Zurker Social Networking Site

New Trends in Social Networking - It started with Zurker

I would like to share the my views on Zurker Social Networking. Before that i would like to brief about facebook.com

Do we use Social Networking or They use us ??


History of Facebook

Its started on October 28, 2003 with Facemash within Harvard university where users has to rate Hot or Not observing two randomly displayed images. Zuckerberg (facebook founder) hacked Harvard's computer network to get the private ID images (pictures). Facemash has a recorded number of hits within first 4 hours.

Later in Jan 2004 Zuckerberg began writing code for a new website "Thefacebook.com". Six days of launch Cameron Winklevoss, Tyler Winklevoss and Divya Narendra, accused Zuckerberg of intentionally misleading them into believing he would help them build a social network called HarvardConnection.com.

 The Social Network is about "Accidental Billionaires" shows how facebook was started and resulting lawsuits against zuckerberg.

Facebook now about to release IPO (Initial Public Offering) from May 18th.


Zurker - Beta Project - Join here

Cameron Winklevoss and Tyler Winklevoss  - two twin brother got 650 million dollar in 2007 for singing a non disclosure agreement with facebook.

Now twin brothers are back with Zurker with a unique style but with old concept of Multilevel Marketing.

First time a Social Network which gives it shares to the users. They say Zurker is owned by their users. Every user earns with referrals.

This concept is bit old like MLM schemes (Multilevel Marketing) where a  user 'X'  purchases a product and refers two other users to get share(commission). This kind of MLM schemes are banned in india and some companies like speak asia got sued in the past.

Of course good news is Zurker ,not hard product  which doesn't require initial capital to join :) but rest protocols  stand same as MLM.

Let wish Zurker all the best !!!!!!!!!




Here is a referral link : http://www.zurker.in/i-141397-phbskktscz

Please share your thoughts with comments - Thanks


Local Newspaper Ran a competition asking for a rhyme with the most
Romantic First Line... but the Least Romantic Second Line.
Here are some of the entries they received.

I thought that I could love no other
Until, that is, I met your brother..

Roses are red, violets are blue, sugar is sweet, and so are you.
But the roses are wilting, the violets are dead, the sugar bowl's empty and so is your head.

 Of loving beauty you float with grace
 If only you could hide your face

 Kind, intelligent, loving and hot;
 This describes everything you are not

 I want to feel your sweet embrace
 But don't take that paper bag off of your face

 I love your smile, your face, and your eyes -
 Damn, I'm good at telling lies!

 My darling, my lover, my beautiful wife:
 Marrying you screwed up my life

 I see your face when I am dreaming.
 That's why I always wake up screaming

 My love, you take my breath away.
 What have you stepped in to smell this way

 My feelings for you no words can tell,
 Except for maybe "go to hell"

 What inspired this amorous rhyme?
 Two parts vodka, one part lime

Read More of this kind gags from my page
 https://www.facebook.com/TimepassUnlimited

Multiply two numbers without using operators

Write a program to multiply two numbers without using + , - or * operators ?



Multiplication is nothing but repeated addition, so as long as you could figure out a way to add two numbers, then repeating them will also provide you product of two numbers.

Since, Python is the best language, I am giving the solution in Python only.

import sys
def recurse(a,b):
  x = a^b
  y = a&b
  if y:
     return recurse(x,y<<1)
  else:
     return x

if __name__ == '__main__':
   a = int(raw_input("Enter value of 'a' --> "))
   b = int(raw_input("Enter value of 'b' --> "))

   product=0
   for i in range(0,b):
       product=recurse(product,a)
   print repr(a) + " x " + repr(b) + " = " + repr(product)

PS: Python rocks!!! and this is the way, it is done internally, that is by using bitwise operations.
----

For more info please contact me at rakeshkumar.techie@gmail.com



Happy Programming -- Happy Hacking

Friday, May 11, 2012

 

Year 2038 BUG similar to Y2K problem

 
Over view of Y2K Problem

Just to brief about Y2K BUG the year 2000 and 1900 would be same. This happened as the machines does not store the Century digits of dates like

        year 1998 was stored as 98 ,
        year 1999 was stored as 99 ,
        year 2000 was stored as 00 ,

Reason "Limited space for data on the cards led to wide-spread use of two-digit year fields"


Year 2038 BUG

Y2038 also similar to the Y2K in terms of date and time. Most of modern system we use system time as a signed 32 bit signed integer.

Range of 32 bit signed is  value is (-)2147483648 to (+)2147483647  

As the value of time reaches 2147483647  then it resets to (-)2147483648 and there after incrementing each second ( with negative value ) as shown in below figure(attached).

On "Tue Jan 19 03:14:07 2038"  the value of time will be (+)2147483647 and any increments further will result it to (-)2147483648 which is  Fri Dec 13 20:45:52 1901.
We can also call it Friday 13 BUG :)


Some of the modern systems use 64 bit singed integer and it  has a range upto 20 times greater than the age of universe( theoretical ).

Most of the todays Embedded systems fall into this category.

COBOL systems from the 1970s, 1980s and 1990s that have not been replaced by 2038-compliant systems -- Not sure about the authenticity


References
http://computer.howstuffworks.com/question75.htm
http://2038bug.com
http://en.wikipedia.org/wiki/Year_2038_problem