Lounge of Tomorrow

€uromeinke, FEJ. and Ghoulish Delight RULE!!! NA abides.  


Go Back   Lounge of Tomorrow > A.S.C.O.T > Egg Head
Swank Swag
FAQ Members List Calendar Today's Posts Clear Unread

Reply
 
Thread Tools Search this Thread Display Modes
Old 04-20-2010, 03:19 PM   #1
Ghoulish Delight
I Floop the Pig
 
Ghoulish Delight's Avatar
 
Join Date: Jan 2005
Location: Alternative Swankstyle
Posts: 19,348
Ghoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of cool
Send a message via AIM to Ghoulish Delight Send a message via Yahoo to Ghoulish Delight
Geek bragging

I just dusted off an old Windows batch script for some network testing. I'm damned proud of this thing.

WARNING - geektastic detail ahead, will only be of interest to...well, probably no one but me.

Here are the triumphs of this script:
1. It calls itself recursively
2. Each recursive call launches its own process and cmd instance
3. using log files I track data across cmd instances
4. I implemented a spin lock to control log file access

Yeah, I said batch. Bitches.
__________________
'He who receives an idea from me, receives instruction himself without lessening mine; as he who lights his taper at mine, receives light without darkening me.'
-TJ

Ghoulish Delight is offline   Submit to Quotes Reply With Quote
Old 04-20-2010, 03:34 PM   #2
DreadPirateRoberts
Senior Member
 
Join Date: Mar 2006
Posts: 2,483
DreadPirateRoberts is the epitome of coolDreadPirateRoberts is the epitome of coolDreadPirateRoberts is the epitome of coolDreadPirateRoberts is the epitome of coolDreadPirateRoberts is the epitome of coolDreadPirateRoberts is the epitome of coolDreadPirateRoberts is the epitome of coolDreadPirateRoberts is the epitome of coolDreadPirateRoberts is the epitome of coolDreadPirateRoberts is the epitome of coolDreadPirateRoberts is the epitome of cool
nice.
DreadPirateRoberts is offline   Submit to Quotes Reply With Quote
Old 04-20-2010, 03:51 PM   #3
Ghoulish Delight
I Floop the Pig
 
Ghoulish Delight's Avatar
 
Join Date: Jan 2005
Location: Alternative Swankstyle
Posts: 19,348
Ghoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of coolGhoulish Delight is the epitome of cool
Send a message via AIM to Ghoulish Delight Send a message via Yahoo to Ghoulish Delight
Hmm, I take it back. In going through and cleaning up comments, I realize that it isn't truly recursive. The script does call itself, but it calls a self-contained chunk of the code that runs discretely with each call, no real recursion. Still a nifty bit of control flow work if I do say so myself.
__________________
'He who receives an idea from me, receives instruction himself without lessening mine; as he who lights his taper at mine, receives light without darkening me.'
-TJ

Ghoulish Delight is offline   Submit to Quotes Reply With Quote
Old 04-20-2010, 04:02 PM   #4
Snowflake
lost in the fog
 
Snowflake's Avatar
 
Join Date: Jul 2005
Location: San Francisco
Posts: 7,831
Snowflake is the epitome of coolSnowflake is the epitome of coolSnowflake is the epitome of coolSnowflake is the epitome of coolSnowflake is the epitome of coolSnowflake is the epitome of coolSnowflake is the epitome of coolSnowflake is the epitome of coolSnowflake is the epitome of coolSnowflake is the epitome of coolSnowflake is the epitome of cool
Send a message via Yahoo to Snowflake Send a message via Skype™ to Snowflake
blah blah blah snowflake
blah blah blah blah

Good job GD, whatever it means.
__________________
Be yourself; everyone else is already taken. - Oscar Wilde
Snowflake is offline   Submit to Quotes Reply With Quote
Old 04-20-2010, 05:12 PM   #5
Gemini Cricket
...
 
Gemini Cricket's Avatar
 
Join Date: Jan 2005
Posts: 13,244
Gemini Cricket is the epitome of coolGemini Cricket is the epitome of coolGemini Cricket is the epitome of coolGemini Cricket is the epitome of coolGemini Cricket is the epitome of coolGemini Cricket is the epitome of coolGemini Cricket is the epitome of coolGemini Cricket is the epitome of coolGemini Cricket is the epitome of coolGemini Cricket is the epitome of coolGemini Cricket is the epitome of cool
I'm happy that you're happy, GD!
Gemini Cricket is offline   Submit to Quotes Reply With Quote
Reply



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
Forum Jump


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


Lunarpages.com Web Hosting

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.