User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Computer Science and Software Design section within the Software Development category of DaniWeb, a massive community of 422,991 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,970 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Computer Science and Software Design advertiser: Programming Forums
Views: 3566 | Replies: 7
Reply
Join Date: Apr 2004
Location: London
Posts: 16
Reputation: doubleglazing2 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
doubleglazing2's Avatar
doubleglazing2 doubleglazing2 is offline Offline
Newbie Poster

Help It's Alive!! Program with a mind of it's own....

  #1  
Apr 10th, 2004
Hi,
What's the crazies thing you're program has ever done?

It was meant to add the numbers together - but instead it placed a picture of your granny on your desktop and started singing "God save the Queen"?

You know what I'm talking about....those times that your program goes off a tangent and starts reviving your most deep fears about all computers, that they're out to get you:evil: ....

Or what about the most pointless programs you ever wrote? The one that says "Hello World", the one that increases the volume of you WMP from your Excel spreadsheet....
When the moon of happiness rose over the horizon of my will, I set out for the sun of arrival
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2004
Posts: 218
Reputation: BountyX is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 6
BountyX's Avatar
BountyX BountyX is offline Offline
Code Guru

Re: It's Alive!! Program with a mind of it's own....

  #2  
Apr 10th, 2004
one of my programs drew random lines everywhere on the screen becuase of a logic error I had in it . it was pretty amusing until i relized my computer was going to run out of memory and that I needed to save my research paper before that happened.
A Hacker's Mind:
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes..." - J.D.Salinger
Reply With Quote  
Join Date: Apr 2004
Location: London
Posts: 16
Reputation: doubleglazing2 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
doubleglazing2's Avatar
doubleglazing2 doubleglazing2 is offline Offline
Newbie Poster

Re: It's Alive!! Program with a mind of it's own....

  #3  
Apr 10th, 2004
In heindsight that must make it even more funny, no?
When the moon of happiness rose over the horizon of my will, I set out for the sun of arrival
Reply With Quote  
Join Date: Feb 2004
Location: Philippines
Posts: 455
Reputation: oalee is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 12
Colleague
oalee's Avatar
oalee oalee is offline Offline
cyberkill(ed)

Re: It's Alive!! Program with a mind of it's own....

  #4  
Apr 11th, 2004
I once wrote a program in Turbo pascal while i was in school. All I did was make it run through the autoexec.bat then display a blank screen and wait for some sort of password before it continues to boot. I did that because I always run out of computer in the internet lab... then the idiot who checks on the lab didn't know any of this, every time i go to the internet lab he tells me that everything is occupied and a computer is broken coz` it wont boot... I'd suggest that I can fix it but in doing so will make me a priority user whenever i needed to use one...
*-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=*
*I am the oceans.. Still, still yet always in constant *
*motion.Quiet but never afraid,Silent but always awake*
*And no God nor Man can control where you roam.. no *
*boundaries cast forever you last.... *
*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*
Reply With Quote  
Join Date: Mar 2004
Posts: 218
Reputation: BountyX is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 6
BountyX's Avatar
BountyX BountyX is offline Offline
Code Guru

Re: It's Alive!! Program with a mind of it's own....

  #5  
Apr 11th, 2004
i did something like that, since all logons are authenticated against a network server, I created a fake one, so everytime a user would try to logon to a server it would re-route to locahost and the user would get an error. Then when I wanted to logon, I would switch to the appropraite server, which was named after another server to prevent students from using it.

Not as cool as yours though
A Hacker's Mind:
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes..." - J.D.Salinger
Reply With Quote  
Join Date: Mar 2004
Posts: 1,514
Reputation: kc0arf is a jewel in the rough kc0arf is a jewel in the rough kc0arf is a jewel in the rough 
Rep Power: 10
Solved Threads: 49
Colleague
kc0arf kc0arf is offline Offline
Posting Virtuoso

Re: It's Alive!! Program with a mind of it's own....

  #6  
Apr 30th, 2004
Hello,

I have a sin from Iowa State too.... before I had a computer of my own, I also did a little bit of darkness to make sure a computer was available for me. Came back an hour later, and the disabled computer was there for me. I would sit down, and someone else would say "it's broke", and I would nod and fix it. then do the research / paper / whatever.

The program that had a problem with was a recursive C++ thing that used the fork command to cause the computer to use up all of the available processes with useless children. I brought down the unix box with everyone on it, and caught the error in a hurry. Thankfully, they did not find me, as well, no one could open a process to see what was wrong with the box! Also, am thankful that I saw the error right away, and quickly fixed it.

Christian
Reply With Quote  
Join Date: May 2004
Posts: 6
Reputation: vtecman04 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
vtecman04 vtecman04 is offline Offline
Newbie Poster

Re: It's Alive!! Program with a mind of it's own....

  #7  
May 4th, 2004
Originally Posted by BountyX
one of my programs drew random lines everywhere on the screen becuase of a logic error I had in it . it was pretty amusing until i relized my computer was going to run out of memory and that I needed to save my research paper before that happened.

wow....plz gimmi some insight on ur program...wut u used and the source code if ur willing to share...im just a noob startin out in this huge world:!:
Reply With Quote  
Join Date: Jun 2004
Location: Worcester, Massachusetts
Posts: 180
Reputation: Toba is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 3
Toba's Avatar
Toba Toba is offline Offline
Junior Poster

Re: It's Alive!! Program with a mind of it's own....

  #8  
Jun 21st, 2004
Well, once I was working some a function that would return a string along the lines of : "This system has been running for 1 week, 3 days, 2 hours, 1 minute, 0 seconds."

I was doing this in VB and using a DLL to retrieve the TSC (Time Stamp Counter: contains the number of clock pulses since the comp was booted). It would divide by the clock freq. (unfortunately I had to hard-code this, I don't know how to get a real value) to get the number of seconds since reboot and then use the mod statement and some multiplication and division to come up with the string. All my variables were doubles (I want this thing to work even when the computer has been booted more than 10 minutes), but I was getting an overflow error when I did this:

dim weekDivider as Double
weekDivider = 7 * 24 * 60 * 60

I was up until 4:30 AM finding the bug. It turns out that when you do math on ordinal values, VB assumes that you're putting it in an Integer data type unless you put a pound sign after each of the numbers, like this:

weekDivider = 7# * 24# * 60# * 60#

I will never understand why VB does this...
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Computer Science and Software Design Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Computer Science and Software Design Forum

All times are GMT -4. The time now is 3:33 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC