I find that developers tend to become increasingly negative as they become more tired, stressed out, and overcommitted.
What tricks do you use to keep a positive attitude?  Are there books or blogs you find helpful?  Particular activities?  
I'm looking for morale boosters.
Edit: Making this a community wiki
...
            
           
          
            
            Hi, I have f.eks
X = 01001001 and Y = 10101010
If I want to add them together how do I do that? They are "Two's Complement"...
I have tried a lots of things but I am not quite sure I am getting the right answer since there seems to be different type of rules.
Just want to make sure it is correct:
 1. Add them as they are do not convert...
            
           
          
            
            So I thought that negative numbers, when mod'ed should be put into positive space... I cant get this to happen in objective-c
I expect this:
-1 % 3 = 2
 0 % 3 = 0
 1 % 3 = 1
 2 % 3 = 2
But get this
-1 % 3 = -1
 0 % 3 = 0
 1 % 3 = 1
 2 % 3 = 2
Why is this and is there a workaround?
...
            
           
          
            
            I have use an expression for validating positive number
^\d*.{0,1}\d+$
when i give input -23 then it check it is negetive but when i give input +23 then showing invalid number.
what is the problem ????
any one can give a solution that With +23 it will return (positive)
...
            
           
          
            
            I am trying randomly generate a positive or negative number and rather then worry about the bigger range I am hoping to randomly generate either 1 or -1 to just multiply by my other random number. 
I know this can be done with a longer rule of generating 0 or 1 and then checking return and using that to either multiply by 1 or -1. 
Hop...
            
           
          
            
            Is there a way to add up all of the positive numbers in a row/column but ignoring all of the negative numbers?  Like SUM(), except that it ignores negative numbers.  Would I have to use VBA?  If so, how would I do it in VBA?
If it can't be done in Excel, can it be done in OpenOffice Calc?
...
            
           
          
            
            I want to check if user input a positive integer number.
1    = true
+10  = true
.1   = false
-1   = false
10.5 = false
Just a positive number. 
No characters.
No special character.
No dot.
No minus sign.
I tried is_int() function but it is returning false even on positive integers. Is there a string to int problem?
Thanks
...
            
           
          
            
            Hello,
How can I tell in objective-c coding if an integer is positive or negative. I'm doing this so that I can write an "if" statement stating that if this integer is positive then do this, and if its negative do this.
Thanks,
Kevin
...