Thursday, May 23, 2013

My Stikky (23 May)

get the max of two integers without using if/else or < , > operators

int z = x ^ y;
int b = getB(z); // the highest diff-bit index between x and y
int sX = (x & z) >> b;
int sY = (y & z) >> b;
int max = 
(x * sX + y * sY + x * (sX ^ sY ^ 1)) & ~((x >> 31) ^ (y >> 31))
+
(((x >> 31) ^ (y >> 31))&1) * (((x >> 31)&1)*y + ((y >> 31)&1)*x);

Sunday, February 24, 2013

Sunday, January 20, 2013

My Stikky (20 Jan)

" Any fool can write code that a computer can understand
Good programmer write code that human can understand "
Martin Fowler

Sunday, January 13, 2013

My Stikky (Jan 13)



I will choose a lazy person to do a difficult job;

because, he will find an easy way to do it!

© Bill gates quote


so I will keep waiting for their call :D

Wednesday, January 2, 2013

My Stikky (Jan 02)

Whether you think you can, or you think you can't--you're right” 

Tuesday, January 1, 2013

My Stikky (Jan 01) [2]

There are 10 types of people:
those who understand binary,
and those who don't !!


©CSED 2010  (Alexandria University, Faculty of Engineering, Computer and System Engineering dept)

My Stikky (Jan 1) [2013]

1/1/13

Just to be the first to post on the first day of

the year 2013.

Monday, December 31, 2012

My Stikky (Dec 31) [2012]

that is the decision-making statement


photos from

©http://gettyfamilyjourney.blogspot.com/2012/01/im-busy-bee.html

©http://www.vectorvaco.com/vector-green-leaf-11027/

©http://brambles-sonning-common.co.uk/?page_id=69


Tuesday, December 25, 2012

My Stikky (Dec 25)

make it in one page 
that contains only your 
A+ s

© The Google Resume (Gayle McDowell)

Sunday, December 23, 2012

Friday, December 21, 2012

Thursday, December 20, 2012

Tuesday, December 18, 2012

My Stikky (Dec 18)

Google 
is 
the Nerdiest of the Nerdy

© The Google Resume (Gayle McDowell)

Saturday, December 15, 2012

My Stikky (Dec 16)


"Can We Do Better ?!"

it is the question that makes Algorithms exist

My Stikky (Dec 15) [3]


Development does not comprise having a good-looking UI, it comprises of having a sell-able product. Anyone can make something look good, few can make it work.

My Stikky (Dec 15) [2]


finding the bug makes you happier than finishing the task !!

My Stikky (Dec 15)


impossible 
is 
impossible

Thursday, December 13, 2012

Wednesday, December 12, 2012

My Stikky (Dec 13) [2]

Algorithms 
are 
the Fine Art
of 
programming

My Stikky (Dec 13)

Startups 
are 
Sexy

© The Google Resume (Gayle McDowell)

My Stikky (Dec 12) [3]

   Nice blog bro, I am happy that I am now one  of the contributors

   ያምራል። በጣም ተመችቶኛል ።

   Keep "StiKkying"

My Stikky (Dec 12) [2]

  There are two rules for success

   1) Never tell everything you know.



© Roger H Lincoln quote

My Stikky (Dec 12)

The WiseMan 
Solves 
1,000 problems 
with 
Single Solution

Tuesday, December 11, 2012

My Stikky (Dec 11)


  while(newDay() == newOpportunity() ){
    don't give up;
  }

  // infinite loop, huh?!  :D

Monday, December 10, 2012

My Stikky (Dec 10)

Build     SomeThing
or
Create   SomeThing
or
Lead      SomeThing

not to be Nothing

Sunday, December 9, 2012

Wednesday, December 5, 2012

Welcome post

  Hi every one, this is my new blog "Stikky Notes"

  it is stikky not sticky because the second is already reserved  :D

  Any way, I made this blog so I could share my sticky ... , sorry I mean my stikky notes with you.
  Also you can put yours,

  The main idea about the stikky notes is that it is used to remind us,
  not only tasks but sometimes we use it to write something that we don't want to forget like   ideas, goals, effective words ,...

  so let's start sharing our stikky notes, let's share our idea , goals , tips , tricks , advices , ......

  Everyone has the right to share his stikky note; as it is not harmful to someone else  :D

  Thanks,