Page 1 of 1

Hit Ctrl+V!

Unread postPosted: Thu May 10, 2007 2:58 pm
by Zemyla
I want to see what's on people's clipboards.
typedef unsigned long int u4; /* unsigned 4-byte type */
typedef unsigned char u1; /* unsigned 1-byte type */

/* The mixing step */
#define mix(a,b,c) \
{ \
a=a-b; a=a-c; a=a^(c>>13); \
b=b-c; b=b-a; b=b^(a<<8>>13); \
a=a-b; a=a-c; a=a^(c>>12); \
b=b-c; b=b-a; b=b^(a<<16>>5); \
a=a-b; a=a-c; a=a^(c>>3); \
b=b-c; b=b-a; b=b^(a<<10>>15); \
}

/* The whole new hash function */
u4 hash( k, length, initval)
register u1 *k; /* the key */
u4 length; /* the length of the key in bytes */
u4 initval; /* the previous hash, or an arbitrary value */
{
register u4 a,b,c; /* the internal state */
u4 len; /* how many key bytes still need mixing */

/* Set up the internal state */
len = length;
a = b = 0x9e3779b9; /* the golden ratio; an arbitrary value */
c = initval; /* variable initialization of internal state */

/*---------------------------------------- handle most of the key */
while (len >= 12)
{
a=a+(k[0]+((u4)k[1]<<8)+((u4)k[2]<<16) +((u4)k[3]<<24));
b=b+(k[4]+((u4)k[5]<<8)+((u4)k[6]<<16) +((u4)k[7]<<24));
c=c+(k[8]+((u4)k[9]<<8)+((u4)k[10]<<16)+((u4)k[11]<<24));
mix(a,b,c);
k = k+12; len = len-12;
}

/*------------------------------------- handle the last 11 bytes */
c = c+length;
switch(len) /* all the case statements fall through */
{
case 11: c=c+((u4)k[10]<<24);
case 10: c=c+((u4)k[9]<<16);
case 9 : c=c+((u4)k[8]<<8);
/* the first byte of c is reserved for the length */
case 8 : b=b+((u4)k[7]<<24);
case 7 : b=b+((u4)k[6]<<16);
case 6 : b=b+((u4)k[5]<<8);
case 5 : b=b+k[4];
case 4 : a=a+((u4)k[3]<<24);
case 3 : a=a+((u4)k[2]<<16);
case 2 : a=a+((u4)k[1]<<8);
case 1 : a=a+k[0];
/* case 0: nothing left to add */
}
mix(a,b,c);
/*-------------------------------------------- report the result */
return c;
}

Though I really should be getting back to work on my code...

Unread postPosted: Thu May 10, 2007 3:57 pm
by Justice Augustus
www.altontowers.com

I was linking it for a friend.

Not all of us are special like coders.... :nyoron:

Unread postPosted: Thu May 10, 2007 4:48 pm
by Spleen
Nothing; I restarted my computer this morning and haven't had cause to do a C&P yet.

Unread postPosted: Thu May 10, 2007 5:02 pm
by Mechanisto
Perfect timing, you!

Four pages of an introduction post from an RP I'm reviving.

Unread postPosted: Thu May 10, 2007 5:41 pm
by Zemyla
Suicidal Sprite wrote:Not all of us are special like coders.... :nyoron:

Actually, I only remembered I had that when I actually pasted it.

On-topic:
Ctrl+V wrote:http://www.youtube.com/watch?v=ZDFTNRD3rhU&mode=related&search=

A funny video that I was linking for another chat. Look at what happens at the end.

Unread postPosted: Thu May 10, 2007 6:41 pm
by Jak Snide
(S2/O30)

Trauma Center has been causing me grief. D:

Unread postPosted: Thu May 10, 2007 8:25 pm
by Archmage

Unread postPosted: Fri May 11, 2007 12:45 am
by PriamNevhausten
Image

So contained herein due to the headings on the blue bars at the bottom.

Unread postPosted: Fri May 11, 2007 8:54 pm
by glu-glu
WARNING! PNG TRANSPARENCY, FIREFOX RECOMMENDED!
FULLVIEW IS A MUST, best viewed at 1024 x 768 resolution.


just a stupid warning for a pic i was about to upload on DA, but it went system maintenance on me.

Unread postPosted: Sat May 12, 2007 12:17 am
by PriamNevhausten
That video is only funny to people who have not played the game =(

Unread postPosted: Sat May 12, 2007 6:23 am
by pd Rydia
The areolas look funny because they are so small also ^_^

Unread postPosted: Mon Jun 25, 2007 11:40 pm
by Alexander
http://www.youtube.com/watch?v=ECSWSBH7Ltg

The Fist of the North Star opening. Man, they don't make them like they used to.

Unread postPosted: Tue Jun 26, 2007 12:50 am
by glu-glu
016B


yeah...well, that's up for you to find out.

Unread postPosted: Tue Jun 26, 2007 1:22 am
by KingOfDoma
Spider-Man: One More Day

Unread postPosted: Tue Jun 26, 2007 2:25 am
by Ark
昭和72年 夏。

俺、津積保彦(つみやすひこ)は現在海の上人だ

乗り込んクルーザデッキから東京

な南空を見げ昔と思い出してた

あれ3前成式日ジャナリスト母がに『

』言葉贈っく


No, I don't know what it means either.

Unread postPosted: Tue Jun 26, 2007 7:58 am
by PriamNevhausten
It seems to be:

Japan, Showa era year 72, Summer.

I, Tsutsumi Yasuhiko, a priest of water, board the deck of the cruiser.

From Tokyo we head south, and I remember the journalist at those three Maenari days. "

", my mother would say.


This translation is not precise by any means, but that's kind of the idea. The placement of those quote brackets is weird, though.

Unread postPosted: Tue Jun 26, 2007 8:39 am
by Ark
Cool!
What a strange thing to have on my Ctrl+V.
You read it yourself or use some translator? Maybe thats just the way they set up there sentences. Rather then have the speech in the marks, they have 'em before so you know they'll be speaking!? I honestly have no idea though.

Unread postPosted: Tue Jun 26, 2007 2:36 pm
by PriamNevhausten
I actually used an online dictionary, because to hell with learning a bunch of kanji right now. But it helped a lot, having (very) basic knowledge of Japanese particles and alphabet.

Unread postPosted: Tue Jun 26, 2007 8:10 pm
by Spleen

Unread postPosted: Fri Jun 29, 2007 8:38 am
by Justice Augustus
Take 09:01 from Barnes Bridge, 09:23 from Clapham Junction (to Eastbourne/Southampton Central)


I is planning a trip.

Unread postPosted: Fri Jun 29, 2007 12:04 pm
by Jak Snide
Jr083661295gb


Package tracking. In vain. Stupid Royal Mail strike. D:

Unread postPosted: Sat Jun 30, 2007 4:07 pm
by Kai
I just want to see characters doing more than sitting around being described.

Unread postPosted: Sat Jun 30, 2007 5:41 pm
by Besyanteo
http://questionablecontent.net/view.php?comic=651


Something I was linking to Pervy. :o

Unread postPosted: Sat Jun 30, 2007 5:41 pm
by glu-glu
quetzalcuetzpalin


This it's also for you to find out.

Unread postPosted: Tue Jul 03, 2007 12:23 am
by Dragon Sage007
http://www.cnn.com/2007/US/07/01/vampir ... index.html

FLEE THE PEACOCKS OF DOOM.

...Yeah, that's what I had.

Unread postPosted: Tue Jul 03, 2007 11:15 am
by PriamNevhausten
Female Speaker:


Also for you to figure out!

Unread postPosted: Tue Jul 03, 2007 12:01 pm
by Jak Snide
overlord


Overlord!

Unread postPosted: Wed Jul 04, 2007 4:18 pm
by Archmage
Because the presence ofan audience has an emotional impact

Unread postPosted: Wed Jul 04, 2007 9:45 pm
by Besyanteo