Click here to Skip to main content
15,891,828 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralThis is FREAKING AMAZING! PinPopular
TheGreatAndPowerfulOz24-Jan-14 8:13
TheGreatAndPowerfulOz24-Jan-14 8:13 
GeneralRe: This is FREAKING AMAZING! Pin
Mike Hankey24-Jan-14 8:48
mveMike Hankey24-Jan-14 8:48 
GeneralRe: This is FREAKING AMAZING! Pin
Matt T Heffron24-Jan-14 11:10
professionalMatt T Heffron24-Jan-14 11:10 
JokeA little something to help you through Friday PinPopular
Mike Hankey24-Jan-14 7:26
mveMike Hankey24-Jan-14 7:26 
GeneralRe: A little something to help you through Friday Pin
GuyThiebaut24-Jan-14 9:44
professionalGuyThiebaut24-Jan-14 9:44 
GeneralRe: A little something to help you through Friday Pin
Espen Harlinn24-Jan-14 11:14
professionalEspen Harlinn24-Jan-14 11:14 
GeneralRe: A little something to help you through Friday Pin
Mike Hankey24-Jan-14 11:48
mveMike Hankey24-Jan-14 11:48 
GeneralFriday afternoon mini challenge Pin
harold aptroot24-Jan-14 5:46
harold aptroot24-Jan-14 5:46 
Simplify (x & ~y) > (~x & y)

I quite liked how it just works out, and it's a nice little puzzle assuming you haven't seen it before, not so hard that it'll cost you your weekend, but good enough to tease your brain for a couple of minutes.

The comparison can be taken as signed or unsigned.

ps: I actually needed this thing today, but the other way around. I had to compute what this thing simplifies to, but only had x & ~y and ~x & y available.
GeneralRe: Friday afternoon mini challenge Pin
Dalek Dave24-Jan-14 5:49
professionalDalek Dave24-Jan-14 5:49 
GeneralRe: Friday afternoon mini challenge Pin
harold aptroot24-Jan-14 5:53
harold aptroot24-Jan-14 5:53 
GeneralRe: Friday afternoon mini challenge Pin
Ranjan.D24-Jan-14 6:07
professionalRanjan.D24-Jan-14 6:07 
GeneralRe: Friday afternoon mini challenge Pin
harold aptroot24-Jan-14 6:10
harold aptroot24-Jan-14 6:10 
GeneralRe: Friday afternoon mini challenge Pin
Ranjan.D24-Jan-14 6:15
professionalRanjan.D24-Jan-14 6:15 
GeneralRe: Friday afternoon mini challenge Pin
harold aptroot24-Jan-14 6:20
harold aptroot24-Jan-14 6:20 
GeneralRe: Friday afternoon mini challenge Pin
dan!sh 24-Jan-14 7:00
professional dan!sh 24-Jan-14 7:00 
GeneralRe: Friday afternoon mini challenge Pin
harold aptroot24-Jan-14 7:01
harold aptroot24-Jan-14 7:01 
GeneralRe: Friday afternoon mini challenge Pin
dan!sh 24-Jan-14 7:10
professional dan!sh 24-Jan-14 7:10 
GeneralRe: Friday afternoon mini challenge Pin
Thomas Daniels24-Jan-14 7:41
mentorThomas Daniels24-Jan-14 7:41 
GeneralWINNER Pin
harold aptroot24-Jan-14 7:45
harold aptroot24-Jan-14 7:45 
GeneralRe: WINNER Pin
Thomas Daniels24-Jan-14 7:51
mentorThomas Daniels24-Jan-14 7:51 
GeneralRe: Friday afternoon mini challenge Pin
harold aptroot24-Jan-14 8:00
harold aptroot24-Jan-14 8:00 
GeneralRe: Friday afternoon mini challenge Pin
Thomas Daniels24-Jan-14 8:03
mentorThomas Daniels24-Jan-14 8:03 
GeneralAPOD: Stella nova Pin
Gregory Gadow24-Jan-14 3:45
Gregory Gadow24-Jan-14 3:45 
GeneralRe: APOD: Stella nova Pin
Argonia24-Jan-14 4:00
professionalArgonia24-Jan-14 4:00 
GeneralRe: APOD: Stella nova Pin
Dave Kreskowiak24-Jan-14 4:16
mveDave Kreskowiak24-Jan-14 4:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.