Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 25 of 25
Search took 0.02 seconds.
Search: Posts Made By: swestres
Forum: Existing Project Development Feb 9th, 2006, 11:12 AM
Replies: 7
Views: 207
Posted By swestres
Will you use a professional encryption algorithm,...

Will you use a professional encryption algorithm, or just some monoalphabetic substitution? OpenSSL's crypto library is quite nice, I guess blowfish whould do the trick nicely. Don't now if it...
Forum: Coder's Corner Lounge Feb 9th, 2006, 11:04 AM
Replies: 42
Views: 836
Posted By swestres
I have a hard time imagining that obesity will...

I have a hard time imagining that obesity will spell the end of the human race when a couple of hundred million people are starving and with the average life expectancy in Africa laying somewhere in...
Forum: Coder's Corner Lounge Feb 5th, 2006, 8:42 AM
Replies: 42
Views: 836
Posted By swestres
reggaeton_king: Freedom I guess... The...

reggaeton_king: Freedom I guess... The programming sub-forums arn't really that active so I thought I whould start a thread about my exam. It went kinda of topic, but discussions are allowed to do...
Forum: Coder's Corner Lounge Feb 4th, 2006, 1:41 PM
Replies: 42
Views: 836
Posted By swestres
Yeah, "att tala innan man tänker är som att torka sig...

Yeah, "att tala innan man tänker är som att torka sig i röven innan man skiter"... To talk before one think, is like wiping the ass before one takes a shit. When will I ever learn.
Forum: Coder's Corner Lounge Feb 4th, 2006, 11:49 AM
Replies: 42
Views: 836
Posted By swestres
Man, I should just stop talking for a couple of...

Man, I should just stop talking for a couple of years :\
Forum: Coder's Corner Lounge Feb 4th, 2006, 9:22 AM
Replies: 42
Views: 836
Posted By swestres
So it's Antarctica thats on land? I stand...

So it's Antarctica thats on land? I stand corrected.
Forum: Coder's Corner Lounge Feb 4th, 2006, 8:21 AM
Replies: 42
Views: 836
Posted By swestres
reggaeton_king: Sweden. She's (Aleida Guevara)...

reggaeton_king: Sweden. She's (Aleida Guevara) going to talk in Lund tomorrow.

Speaking of the polar ice caps, I've heard there's methane bound in ice crystals beneath the surface ice. A lot of it...
Forum: Coder's Corner Lounge Feb 4th, 2006, 1:28 AM
Replies: 42
Views: 836
Posted By swestres
We're not allowed to talk politics? Too bad....

We're not allowed to talk politics? Too bad. Well, I'm a marxist (maybe an anarchist, since I'm not in favor of the dictatorship of the proletariat) so I guess I whould be outgunned anyway. Aleida...
Forum: Coder's Corner Lounge Feb 3rd, 2006, 3:34 PM
Replies: 33
Views: 733
Posted By swestres
I use emacs when I code, but I've tried the...

I use emacs when I code, but I've tried the windows version and I can't really recommend it. Of course, there's no major difference. The commands are all the same etc. But it just seems so stiff. I...
Forum: Coder's Corner Lounge Feb 3rd, 2006, 2:08 PM
Replies: 34
Views: 899
Posted By swestres
I started out with QBASIC in fourth grade at age...

I started out with QBASIC in fourth grade at age 10 (right?). In seventh grade, I had a go at Visual Basic, didn't like it. I started with C++ In 9th grade, started with C in first grade at...
Forum: Coder's Corner Lounge Feb 3rd, 2006, 1:09 PM
Replies: 42
Views: 836
Posted By swestres
A time for celebration

Yay, today I'm happy. Why is he happy, you might wonder... I mean, what is there to be happy about? The world is coming to an end thanks to global warming, Bush got re-elected and muslims are...
Forum: Perl Feb 3rd, 2006, 12:56 PM
Replies: 3
Views: 350
Posted By swestres
Yeah, so it seems. socks4a to be precise, never...

Yeah, so it seems. socks4a to be precise, never heard of it. It could complicate things a lot. It seems that it supports socks5 too. More info on...
Forum: Perl Jan 29th, 2006, 10:18 AM
Replies: 3
Views: 350
Posted By swestres
Well... I know Tor uses the SOCKS protocol, and I...

Well... I know Tor uses the SOCKS protocol, and I guess (guessing is good) that it uses v5, but I'm not certain. Anyway, more info about the SOCKS protocol in the RFC (where else ;)). RFC1928 to be...
Forum: C++ Jan 15th, 2006, 11:23 AM
Replies: 3
Views: 162
Posted By swestres
Well, newfd is the file descriptor for the new...

Well, newfd is the file descriptor for the new socket, but I don't see you putting it at Clients[0]. From the code you showed, Clients[0] seems to be nothing. Do something...
Forum: Coder's Corner Lounge Dec 31st, 2005, 6:33 PM
Replies: 302
Views: 7,188
Posted By swestres
Technically I'm a protestant, but I don't believe...

Technically I'm a protestant, but I don't believe in God, I don't pray and I'm basically an atheist when it comes to religious believes. My filosophy is "if you want something done, DIY".

"Religion...
Forum: C++ Dec 31st, 2005, 6:21 PM
Replies: 3
Views: 226
Posted By swestres
Wouldn't ShellExecute() with SW_HIDE (if you're...

Wouldn't ShellExecute() with SW_HIDE (if you're executing another program), or FreeConsole() (if you want to detach the running process console) work better? I'm not very good when it comes to...
Forum: Community Introductions Dec 31st, 2005, 6:12 PM
Replies: 15
Views: 376
Posted By swestres
greetings!

Well, I'm swestres. I code C, C++ and Perl for fun (and hopefully someday for profit), I havn't got a proper education yet and my knowledge is rather limited. I'm a GNU/linux user and I despise...
Forum: Coder's Corner Lounge Dec 31st, 2005, 4:22 PM
Replies: 637
Views: 18,947
Posted By swestres
I didn't read the whole thread, so I'm sorry if...

I didn't read the whole thread, so I'm sorry if this already was written. I did however search for /dev/urandom and found nothing so I'm probably in the clear :)

C

#include <stdio.h>

int main()
{
...
Forum: C Dec 28th, 2005, 7:24 AM
Replies: 7
Views: 342
Posted By swestres
Pikes rule #2, Measure it. Make the two...

Pikes rule #2, Measure it.

Make the two solutions in separate programs, clock them and have a look at the results.
Forum: Java Dec 28th, 2005, 1:44 AM
Replies: 25
Views: 747
Posted By swestres
I wish :cool: It's punk actually, Rancid to be...

I wish :cool:
It's punk actually, Rancid to be more precise. Sidekick. Not one of their best songs, but I like it for some reason.
Forum: C Dec 27th, 2005, 12:35 PM
Replies: 3
Views: 195
Posted By swestres
Never mind... Found the error in the first piece...

Never mind... Found the error in the first piece of code. Forgot to reset ivec to RadicalZ between encryption and decryption.

Sorry for not explaining the code, I guess I could've made it clearer.
Forum: Java Dec 27th, 2005, 12:07 PM
Replies: 25
Views: 747
Posted By swestres
To go further off-topic. When I say linux, I...

To go further off-topic.

When I say linux, I mean GNU/linux, I'm just to lazy to write it out all the time.

I suppose it was a winmodem? You could always try makin' something with wine, but I agree...
Forum: C Dec 27th, 2005, 11:12 AM
Replies: 3
Views: 195
Posted By swestres
Thanks, but that's too low-level. I need it to...

Thanks, but that's too low-level. I need it to act like a stream-cipher, and therefor I need CBC, OFB, CFB or something similar, and I don't think I can make that work by my self.
Forum: Perl Dec 27th, 2005, 9:58 AM
Replies: 4
Views: 442
Posted By swestres
Sure, just put while (<$socket>) { print; } at...

Sure, just put
while (<$socket>) {
print;
}

at the end. Then all you have to do is to read RFC2616, learn some GUI programming and you've got yourself a webbrowser written in perl :)
Forum: C Dec 27th, 2005, 9:54 AM
Replies: 3
Views: 195
Posted By swestres
blowfish trouble

Greetings!
First of all, since this is my first post, thanks for a nice forum :)

I've been trying to learn a bit about openssl's API blowfish encryption functions, so I took some time reading the...
Showing results 1 to 25 of 25

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:56 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC