Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 





Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > The Conversation Pit > Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read

Programming A discussion forum for programs and programming used in tech-related businesses.

Reply
 
Thread Tools
Old 07-19-2007, 09:48 PM   #21 (permalink)
Registered User
 
Join Date: Jul 2007
Location: Born UK, Worked in Libya, Kenya, Uganda, Settled in Australia. Now resident outside Melbourne, Victoria
Posts: 18
OS: Windows XP SP2


Re: Code...

Just a comment on random number generation. I was engaged by an entrepreneur to create an engine that would spit out random numbers for use in on-line gaming. Mathematical routines of themselves are unsatisfactory, because a hacker could read the sequence, work back to find the seed and then work forward again to forecast the upcoming numbers. The big thing, arising mainly from cryptographic research, is to use entropic generators (ERNGs) which rely on natural sources to provide genuinely random values. Sources which have been used include the output from geiger counters, electron fluctuations in various constructs such as transistors and so forth. My intention was to have a box with a number of loudspeakers tuned in to different radio stations, with a single microphone to pick up the mingled sounds and output a waveform that I could sample. I did a proof of concept program using .WAV files before my client ran out of money and disappeared into smoke. My program was written in C#. Incidentally, in the gaming industry, it is not enough just to write the generator. One must also write a series of monitoring and validation programs to satisfy the licensing authorities.

Last edited by Jim_from_Oz : 07-19-2007 at 09:50 PM.
Jim_from_Oz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 08-12-2007, 02:52 PM   #22 (permalink)
Registered User
 
mebegaming's Avatar
 
Join Date: Aug 2007
Location: USA
Posts: 46
OS: windows xp home


Re: Code...

i dont know much about code (i signed up for the computer programming class this year in my school) but i do know a little about "batch" promts. this is a prank that i made for when i go back to school

what this does is it runs the shutdown command waiting 60 seconds, and it trys to connect to google (its just one that i found that worked) 30 times which takes roughly 1 second each, at this point it stops the shutdown and brings up youtube.com (this distracts them on what i will do next) i make about 40 icons on the desktop just saying random stuff. and then it waits about 40 seconds and then it makes about 40 message windows pop up saying more random stuff. and finaly after 35 more seconds it pops up the last window saying that i will probably do it agian and at the same time it plays a sound of homer saying "hmm all this computer hacking is making me thirsty"

this does not put any damage on the computer, because the computers have deep freeze at my school. they can just restart the computer and everything will go back to normal

i wont be putting the code here because 1-i dont realy think you would like looking at it 2-you would need the sound file of homer 3-it dosent work the same on all computers

i am just proud that one of the first peices of code i wrote was so cool
__________________
"Would you rather be outside bouncing around a ball? Or would you rather be inside on your computer, doing something that matters?" -Eric Cartman - Southpark, world of warcraft episode
mebegaming is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 08-17-2007, 06:05 PM   #23 (permalink)
Registered User
 
Join Date: Nov 2006
Location: Sydney, Australia
Posts: 202
OS: WinXP-Home


Send a message via MSN to MattBro
Re: Code...

Quote:
Just a comment on random number generation. I was engaged by an entrepreneur to create an engine that would spit out random numbers for use in on-line gaming. Mathematical routines of themselves are unsatisfactory, because a hacker could read the sequence, work back to find the seed and then work forward again to forecast the upcoming numbers. The big thing, arising mainly from cryptographic research, is to use entropic generators (ERNGs) which rely on natural sources to provide genuinely random values. Sources which have been used include the output from geiger counters, electron fluctuations in various constructs such as transistors and so forth. My intention was to have a box with a number of loudspeakers tuned in to different radio stations, with a single microphone to pick up the mingled sounds and output a waveform that I could sample. I did a proof of concept program using .WAV files before my client ran out of money and disappeared into smoke. My program was written in C#. Incidentally, in the gaming industry, it is not enough just to write the generator. One must also write a series of monitoring and validation programs to satisfy the licensing authorities.
RNG has always been a problem. I've heard of the idea of using radio frequencies before, it's certainly feasable.

Oddly enough, I'm writing an online game server at the moment. But due to it's performance requirements I'm generating random numbers based on tick count / random memory word.
MattBro is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -7. The time now is 07:51 AM.



Copyright 2001 - 2008, Tech Support Forum

Search Engine Friendly URLs by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81