The Official Happiness Thread
- INSANEdrive
- Posts: 2642
- Joined: Sun Jul 18, 2004 1:42 pm
- Location: Cell Block #Q (There are a lot of strange people in the world. I should know; I'm three of them...)
- Contact:
![]() |
- FleetAdmiralBacon
- Posts: 2377
- Joined: Sat Nov 26, 2005 7:01 pm
- Location: Ohio
- Contact:
![]() |
![]() |
![]() |
I found out why Pandemic wasn't working. Jarocks made my subdomain redirect with a "moved permanently" over to pandemicim.com - which screwed up all of my Auto-update stuff. I fixed it by changing it back, now you can use Pandemic again. (I hadn't noticed because I've been writing new clients in Python and Java)
Also, disorganized threading is Java is extremely easy which makes me extremely happy. Now to find some MD5 hashing code that will produce a 128 digit hexadecimal string with no salt...
Edit: Done. Works quite nicely.
Special thanks to a few posts on the Sun forums and Google's cache of said forum posts.
Also, disorganized threading is Java is extremely easy which makes me extremely happy. Now to find some MD5 hashing code that will produce a 128 digit hexadecimal string with no salt...
Edit: Done. Works quite nicely.
Code: Select all
public static String MD5(String source) {
try {
java.security.MessageDigest md5 = java.security.MessageDigest.getInstance("MD5");
md5.update(source.getBytes("UTF-8"));
return toHexString(md5.digest());
} catch (Exception e) {
return "ERROR";
}
}
private static String toHexString(byte[] v) {
StringBuffer sb = new StringBuffer(v.length * 2);
for (int i = 0; i < v.length; i++) {
int b = v[i] & 0xFF;
sb.append(HEX_DIGITS.charAt(b >>> 4))
.append(HEX_DIGITS.charAt(b & 0xF));
}
return sb.toString();
}
private static final String HEX_DIGITS = "0123456789abcdef";
Last edited by FleetAdmiralBacon on Wed Sep 12, 2007 1:57 pm, edited 2 times in total.

Everything you'll ever need to know about me.
Need help with Linux, C#, C, Python, Java, PHP, Javascript, CSS, or VB? I'm available from 3:00PM-8:00PM EST on weekdays.
- HPDarkness
- Posts: 1925
- Joined: Tue Mar 22, 2005 6:57 pm
- Location: Boston
- Contact:
![]() |
- GametagAeonFlux
- Posts: 9320
- Joined: Sun Jun 06, 2004 7:27 pm
- Location: Lincoln, NE
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Wait, they're releasing a public Crysis demo? I saw that there was a beta available to subscribers at File Planet or something...bu-
http://gamernode.com/News/3900-Crysis-d ... index.html
Fuck yes, that just made the 25th even better.
http://gamernode.com/News/3900-Crysis-d ... index.html
Fuck yes, that just made the 25th even better.
- CabooseJr
- Posts: 4592
- Joined: Wed May 11, 2005 8:09 am
- Location: Valve knows a lot about my cookies.
- Contact:
![]() |
![]() |
![]() |
![]() |
![]() |
I'm happy because I get to play Team Fortress 2 next week.

© Newest AudioSurf Run = Miku Hatsune - Black★Rock Shooter(AudioSurf)
Newest YouTube Video= Portal: Project Beta(Small Promo)
-
- Posts: 2154
- Joined: Sat Nov 26, 2005 7:17 pm
- Location: In a cave smokin up with tupac and big foot.
![]() |
![]() |
I was just about to say that.Ombre wrote: Pretty sure everyone knows by now.
I'm not trying to sound like an ass here, but I don't really care about what happened that day anymore. It's been pushed in my face too many times... I mean, yeah, it was horrible, but the day it becomes a routine to mourn on those who died, is the day I loose interest in it... And that day has passed.

-
- Posts: 2154
- Joined: Sat Nov 26, 2005 7:17 pm
- Location: In a cave smokin up with tupac and big foot.
![]() |
![]() |
ahh i get pushed around all the time the only thing keeping me from kicking there asses is the thought of being grounded for a yearHawaiian Modder wrote:Only if he pussies out.Pyroman wrote:Tell us the outcome in the rant thread.Hawaiian Modder wrote:I'm finally gonna fight this kid thats been giving me **** for ever.![]()
He's gonna get his ass beat.![]()
Then I'll kill him.


thanks for the sig dagger12 ill give you something someday, maybe.