Click here to Skip to main content
15,892,059 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.

 
GeneralRe: 44 inch Space 1999 Eagle collectors? Pin
Mike Hankey17-May-19 3:05
mveMike Hankey17-May-19 3:05 
GeneralRe: 44 inch Space 1999 Eagle collectors? Pin
CodeWraith17-May-19 3:41
CodeWraith17-May-19 3:41 
GeneralRe: 44 inch Space 1999 Eagle collectors? Pin
Mike Hankey17-May-19 4:23
mveMike Hankey17-May-19 4:23 
GeneralRe: 44 inch Space 1999 Eagle collectors? Pin
CodeWraith17-May-19 8:16
CodeWraith17-May-19 8:16 
GeneralRe: 44 inch Space 1999 Eagle collectors? Pin
Mike Hankey17-May-19 8:23
mveMike Hankey17-May-19 8:23 
GeneralRe: 44 inch Space 1999 Eagle collectors? Pin
CodeWraith17-May-19 8:36
CodeWraith17-May-19 8:36 
GeneralRe: 44 inch Space 1999 Eagle collectors? Pin
Mike Hankey17-May-19 8:44
mveMike Hankey17-May-19 8:44 
GeneralFriday Afternoon Puzzle Pin
harold aptroot17-May-19 1:45
harold aptroot17-May-19 1:45 
An other puzzle, easier than last time.

The encoded message is 0x74736f6c20756f59, it has been encoded with
C#
static ulong encode(string msg)
{
    ulong x = BitConverter.ToUInt64(Encoding.ASCII.GetBytes(msg), 0);
    x = foo(x, 0x000000003a229013, 32);
    x = foo(x, 0x00002fb000009e23, 16);
    x = foo(x, 0x00c10061005400c2, 8);
    x = foo(x, 0x0e0e05070b020902, 4);
    x = foo(x, 0x1002200011133031, 2);
    x = foo(x, 0x1114544041540141, 1);
    x = foo(x, 0x2100022031313022, 2);
    x = foo(x, 0x0c0d08070f070506, 4);
    x = foo(x, 0x002c004c001b001f, 8);
    x = foo(x, 0x00001d670000fc2f, 16);
    x = foo(x, 0x000000001cf1aa86, 32);
    return x;
}

static ulong foo(ulong x, ulong m, int k)
{
    ulong t = ((x >> k) ^ x) & m;
    x = (x ^ t) ^ (t << k);
    return x;
}
The message again consists of two words and some punctuation. Actually this time, the encoded message does too.
GeneralRe: Friday Afternoon Puzzle Pin
megaadam17-May-19 2:17
professionalmegaadam17-May-19 2:17 
QuestionProgramming Question of the Week? Pin
megaadam16-May-19 23:16
professionalmegaadam16-May-19 23:16 
AnswerRe: Programming Question of the Week? Pin
dan!sh 17-May-19 1:50
professional dan!sh 17-May-19 1:50 
GeneralRe: Programming Question of the Week? Pin
megaadam17-May-19 2:14
professionalmegaadam17-May-19 2:14 
GeneralWSO CCC OTD 2019-05-17 Pin
OriginalGriff16-May-19 21:52
mveOriginalGriff16-May-19 21:52 
GeneralRe: WSO CCC OTD 2019-05-17 Pin
pkfox16-May-19 22:28
professionalpkfox16-May-19 22:28 
GeneralRe: WSO CCC OTD 2019-05-17 - we have a winner! Pin
OriginalGriff16-May-19 22:40
mveOriginalGriff16-May-19 22:40 
GeneralRe: WSO CCC OTD 2019-05-17 - we have a winner! Pin
pkfox16-May-19 22:48
professionalpkfox16-May-19 22:48 
GeneralRe: WSO CCC OTD 2019-05-17 - we have a winner! Pin
OriginalGriff16-May-19 22:56
mveOriginalGriff16-May-19 22:56 
GeneralRe: WSO CCC OTD 2019-05-17 - we have a winner! Pin
pkfox17-May-19 0:33
professionalpkfox17-May-19 0:33 
GeneralRe: WSO CCC OTD 2019-05-17 - we have a winner! Pin
OriginalGriff17-May-19 0:49
mveOriginalGriff17-May-19 0:49 
QuestionHow to implement bitbliting in C#?? Pin
shreebhavya16-May-19 18:07
shreebhavya16-May-19 18:07 
AnswerRe: How to implement bitbliting in C#?? Pin
GKP199216-May-19 18:18
professionalGKP199216-May-19 18:18 
GeneralRe: How to implement bitbliting in C#?? Pin
Richard MacCutchan16-May-19 22:05
mveRichard MacCutchan16-May-19 22:05 
AnswerRe: How to implement bitbliting in C#?? Pin
#realJSOP16-May-19 23:23
mve#realJSOP16-May-19 23:23 
GeneralRe: How to implement bitbliting in C#?? Pin
megaadam16-May-19 23:51
professionalmegaadam16-May-19 23:51 
PraiseRe: How to implement bitbliting in C#?? Pin
GKP199217-May-19 2:07
professionalGKP199217-May-19 2:07 

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.