|
True, I can sit and code for many hours a day.
I do all my own stunts, but never intentionally!
JaxCoder.com
|
|
|
|
|
An other puzzle, easier than last time.
The encoded message is 0x74736f6c20756f59, it has been encoded with
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.
|
|
|
|
|
so we only have too reverse foo
oof! Thats too easy
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
Does your kid sister wear cool threads?
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
only in pool.
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
So she takes her sockets off.
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
Riddle-fish rings sister-pirate's drink (9)
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Conundrum ?
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
You are up Monday.
Riddle
fish CO D
rings (about)
sister NUN
pirate's drink RUM CONUNDRUM
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Pirates drink gave the game away
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
It was always a risk. I was hoping that the hyphens would send you down the wrong rabbit holes: "riddle-fish" and "sister-pirate"
Well done though!
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
You could say your hopes were dashed - boom boom
|
|
|
|
|
Minus the enthusiasm, of course.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Hi,
I am trying to implement the code for Bitbliting in C#? which documents is help full?and if anyone implemented please do share here.
Thank you
Shree
|
|
|
|
|
A simple google search lead me to this CP article[^].
Please refrain from asking programming question on the lounge. This is not the appropriate forum for that.
Use ask a question[^] instead.
|
|
|
|
|
It's hardly a valid programming question, as the answer is, as so often, Google.
|
|
|
|
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Dolor indeed!
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
I think I laughed too hard on this.
|
|
|
|
|
Quote: dolor in reprehenderit in voluptate In fact!
He just wants to find pleasure!
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Possibly see your dentist who's better trained in such matters.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
public static IEnumerable<IList<T>> Split<T>(this IEnumerable<T> collection,T delim,IEqualityComparer<T> equalityComparer = null)
public static IEnumerable<T> Join<T>(this IEnumerable<IList<T>> segments, IEnumerable<T> delim)
public static IEnumerable<T> Replace<T>(this IEnumerable<T> collection,T oldValue, IEnumerable<T> newValues, IEqualityComparer<T> equalityComparer = null)
Guess I could use LINQ but nah.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
A small consolation maybe, you can use aliases like this:
using MyDictionary = Dictionary<string, List<int>>;
|
|
|
|
|
You can't do like
using MyDict<TValue>=IDictionary<string,TValue>;
so it's of little help to me in this. I really wish .NET had something as flexible as C++'s typedef
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|