Click here to Skip to main content
11,434,695 members (47,322 online)

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy except programming questions.

Technical discussions are encouraged, but click here to ask your programming question.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.
 
GeneralRe: Triboelectric Power Pin
Roger Wright24-Jan-14 21:58
memberRoger Wright24-Jan-14 21:58 
GeneralChrome is listening Pin
Shameel24-Jan-14 9:38
memberShameel24-Jan-14 9:38 
GeneralRe: Chrome is listening Pin
OriginalGriff24-Jan-14 9:43
protectorOriginalGriff24-Jan-14 9:43 
GeneralRe: Chrome is listening Pin
Shameel24-Jan-14 10:03
memberShameel24-Jan-14 10:03 
GeneralRe: Chrome is listening Pin
OriginalGriff24-Jan-14 10:07
protectorOriginalGriff24-Jan-14 10:07 
GeneralRe: Chrome is listening Pin
Cristian Amarie24-Jan-14 11:08
memberCristian Amarie24-Jan-14 11:08 
GeneralThis is FREAKING AMAZING! Pin
ahmed zahmed24-Jan-14 9:13
memberahmed zahmed24-Jan-14 9:13 
GeneralRe: This is FREAKING AMAZING! Pin
Mike Hankey24-Jan-14 9:48
memberMike Hankey24-Jan-14 9:48 
GeneralRe: This is FREAKING AMAZING! Pin
Matt T Heffron24-Jan-14 12:10
professionalMatt T Heffron24-Jan-14 12:10 
JokeA little something to help you through Friday Pin
Mike Hankey24-Jan-14 8:26
memberMike Hankey24-Jan-14 8:26 
GeneralRe: A little something to help you through Friday Pin
GuyThiebaut24-Jan-14 10:44
memberGuyThiebaut24-Jan-14 10:44 
GeneralRe: A little something to help you through Friday Pin
Espen Harlinn24-Jan-14 12:14
mentorEspen Harlinn24-Jan-14 12:14 
GeneralRe: A little something to help you through Friday Pin
Mike Hankey24-Jan-14 12:48
memberMike Hankey24-Jan-14 12:48 
GeneralFriday afternoon mini challenge Pin
harold aptroot24-Jan-14 6:46
memberharold aptroot24-Jan-14 6: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 6:49
memberDalek Dave24-Jan-14 6:49 
GeneralRe: Friday afternoon mini challenge Pin
harold aptroot24-Jan-14 6:53
memberharold aptroot24-Jan-14 6:53 
GeneralRe: Friday afternoon mini challenge Pin
Ranjan.D24-Jan-14 7:07
mvpRanjan.D24-Jan-14 7:07 
GeneralRe: Friday afternoon mini challenge Pin
harold aptroot24-Jan-14 7:10
memberharold aptroot24-Jan-14 7:10 
GeneralRe: Friday afternoon mini challenge Pin
Ranjan.D24-Jan-14 7:15
mvpRanjan.D24-Jan-14 7:15 
GeneralRe: Friday afternoon mini challenge Pin
harold aptroot24-Jan-14 7:20
memberharold aptroot24-Jan-14 7:20 
GeneralRe: Friday afternoon mini challenge Pin
d@nish 24-Jan-14 8:00
member d@nish 24-Jan-14 8:00 
GeneralRe: Friday afternoon mini challenge Pin
harold aptroot24-Jan-14 8:01
memberharold aptroot24-Jan-14 8:01 
GeneralRe: Friday afternoon mini challenge Pin
d@nish 24-Jan-14 8:10
member d@nish 24-Jan-14 8:10 
GeneralRe: Friday afternoon mini challenge [modified] Pin
ProgramFOX24-Jan-14 8:41
mvp ProgramFOX24-Jan-14 8:41 
GeneralWINNER Pin
harold aptroot24-Jan-14 8:45
memberharold aptroot24-Jan-14 8:45 
GeneralRe: WINNER Pin
ProgramFOX24-Jan-14 8:51
mvp ProgramFOX24-Jan-14 8:51 
GeneralRe: Friday afternoon mini challenge Pin
harold aptroot24-Jan-14 9:00
memberharold aptroot24-Jan-14 9:00 
GeneralRe: Friday afternoon mini challenge Pin
ProgramFOX24-Jan-14 9:03
mvp ProgramFOX24-Jan-14 9:03 
GeneralAPOD: Stella nova Pin
Gregory.Gadow24-Jan-14 4:45
memberGregory.Gadow24-Jan-14 4:45 
GeneralRe: APOD: Stella nova Pin
Argonia24-Jan-14 5:00
memberArgonia24-Jan-14 5:00 
GeneralRe: APOD: Stella nova Pin
Dave Kreskowiak24-Jan-14 5:16
mvpDave Kreskowiak24-Jan-14 5:16 
GeneralRe: APOD: Stella nova Pin
Argonia24-Jan-14 5:38
memberArgonia24-Jan-14 5:38 
GeneralRe: APOD: Stella nova Pin
Dave Kreskowiak24-Jan-14 5:51
mvpDave Kreskowiak24-Jan-14 5:51 
GeneralRe: APOD: Stella nova Pin
UsernameNotDefined 24-Jan-14 6:23
member UsernameNotDefined 24-Jan-14 6:23 
GeneralRe: APOD: Stella nova Pin
Dan Neely24-Jan-14 11:49
memberDan Neely24-Jan-14 11:49 
GeneralRe: APOD: Stella nova Pin
Mike Hankey24-Jan-14 5:16
memberMike Hankey24-Jan-14 5:16 
GeneralRe: APOD: Stella nova Pin
Bergholt Stuttley Johnson24-Jan-14 5:32
memberBergholt Stuttley Johnson24-Jan-14 5:32 
GeneralRe: APOD: Stella nova Pin
glennPattonWork24-Jan-14 6:24
professionalglennPattonWork24-Jan-14 6:24 
GeneralRe: APOD: Stella nova Pin
Rage24-Jan-14 6:28
professionalRage24-Jan-14 6:28 
GeneralRe: APOD: Stella nova Pin
Motel Kamzoil24-Jan-14 6:53
memberMotel Kamzoil24-Jan-14 6:53 
GeneralRe: APOD: Stella nova Pin
Gregory.Gadow24-Jan-14 7:27
memberGregory.Gadow24-Jan-14 7:27 
GeneralRe: APOD: Stella nova Pin
Motel Kamzoil24-Jan-14 7:33
memberMotel Kamzoil24-Jan-14 7:33 
GeneralRe: APOD: Stella nova Pin
Gregory.Gadow24-Jan-14 12:06
memberGregory.Gadow24-Jan-14 12:06 
GeneralRe: APOD: Stella nova Pin
d@nish 24-Jan-14 8:03
member d@nish 24-Jan-14 8:03 
GeneralWhat a timing... Pin
Suvabrata Roy24-Jan-14 4:19
professionalSuvabrata Roy24-Jan-14 4:19 
GeneralRe: What a timing... Pin
Sampath Lokuge24-Jan-14 4:33
memberSampath Lokuge24-Jan-14 4:33 
GeneralOooo shiny! Pin
DaveAuld24-Jan-14 3:21
protectorDaveAuld24-Jan-14 3:21 
GeneralRe: Oooo shiny! [modified] Pin
Argonia24-Jan-14 3:28
memberArgonia24-Jan-14 3:28 
GeneralRe: Oooo shiny! Pin
Mike Hankey24-Jan-14 4:49
memberMike Hankey24-Jan-14 4:49 
GeneralRe: Oooo shiny! Pin
glennPattonWork24-Jan-14 6:29
professionalglennPattonWork24-Jan-14 6:29 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.150428.2 | Last Updated 5 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid