Everything2
Near Matches
Ignore Exact
Full Text
Everything2

I'm scared to run the program I wrote

created by jes5199

(idea) by jes5199 (7.1 mon) (print)   ?   1 C! I like it! Wed Dec 22 1999 at 21:37:43

I'm writing a Defrag program for FAT32 partitions that runs in Linux. (see Why I started writing a Defrag program)

It's a simple idea, but there just isn't one already.

I'm not a wonderful hacker: the code looks like shit.

Now I've gotten to the point that it should work. The pieces have finally come together to the point where I should be able to just tell it to go, sit back, and watch my hard drive totally change.

But I haven't. For the last half an hour, I've been sitting here trying to figure out if there's some problem I'm not aware of, or what fail-safes I can quickly hack into it.

If it works, I will have a hard drive with all the files defragmented, but with free space scattered around at random intervals. I think I can correct that by just making multiple passes over the drive.

But if it fails, I lose 3 megs of data.


(idea) by winged (2.8 y) (print)   ?   I like it! Sun Dec 26 1999 at 9:06:36

Usually an admission by a user who knows what the hell he's just done... which is an admission that he's either written a virus, or a program that he KNOWS will cause problems if it has ANY bugs.

Sometimes also said by a user who fears the idea that maybe, just maybe, he really did write bug-free code.

(But for some reason, I don't think this is what the person who wrote the Internet Worm said.)


(idea) by IainB (10.1 mon) (print)   ?   I like it! Thu Jul 27 2000 at 15:19:22

The last message recieved from the bot-creation compound at E2 headquarters.

It is believed that the program spontanaeously compiled and executed itself, before assimilating all entities within the compound.

Luckily, nate, dem bones and others *may their names be sung forever* trapped this errant bot in the twisted web known as the Chatterbox, where it plots the downfall of E2.


Update - EDB is nothing to be afraid of, please do not be alarmed.
Sit quietly and wait to be assimilated.

Stop noding.
NOW


(idea) by illusionist (5.9 mon) (print)   ?   1 C! I like it! Mon Dec 04 2000 at 1:57:10

I had a program like that once. It was sophomore year, and I was in Software Engineering at WPI. We designed a distributed networking protocol, with the correct routing algorithms and such. It worked great on the small scale tests. Two clients, one router, one master domain authority. It all worked great.

Now we had to add more clients.

I had a horrid revelation at that moment. It just can't work. The system is no where NEAR scalable. It would grow exponentially in size until it ate and destroyed all of the WPI network. We thought about it with only two nodes in mind, but 50 interlinked nodes would cripple the hardware and make it impossible to use. The beast of a software tracking program would be grossly inefficient even if we had all the memory in the world.

So the next day in class, where we had to release a beta of our "product" to the rest of the class, I, as the leader of the group got to inform the class that "the program does not run within the constraints of the school network", and that it still needed "Some performance work". It was a mixed moment in my life, filled with the pride that a tank engineer has when his or her baby first demolishes a bus, but also filled with shame as I could not control the code I was writing.

To this day, I will always remember to include scalability in my designs.

printable version
chaos

The evolution of Microsoft Windows from the utterly useless UI tweaks perspective Before we dump the bodies, you guys wanna go to Hooters? for(int *p=0;;*(p++)=0); Tricks girls use to look like they swallow
Only a simple computer program Internet Worm autonoding is fun and educational pingouin, will you marry me?
It was one of the worst things I have ever done What happens in a car crash WPI When the log rolls over we will all be dead
fork bomb scalability Patrick Stewart I felt a need for some excitement tonight, so I drove up and down random streets yelling "I am one with the flying cows!" at regular intervals
bug-free code spontaneous combustion cyclomatic complexity scar fetish
If we define things as unreal, they may still be real in their consequences Chatterbox unlink My soul is borne through the open air
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help


cooled by nate

Cool Staff Picks
Drink up!
Poor white heat
Theatre of the Lost
human growth hormone
Frenchman for the night
A funny story about my Egyptian Grandmother
They say the prettiest girls get to be angels
Dream Log: August 28, 1963
Chili
Formatting poems and simple HTML
This heart that lives in winter
A Thousand Points of Light
Ransom note love letter
dwarf planet
New Writeups
WolfKeeper
Launch loop(idea)
TendoKing
Katana(person)
Wuukiee
Highly ornamental cultivars of brambles still have as many thorns as their wild counterparts(idea)
TheDeadGuy
Editor Log: May 2008(log)
everyday j.Lo
pray do not molest them(thing)
ammie
Bands Who Take Their Names from Eighteenth-century English Poetry and Prose(idea)
shaogo
Under My Thumb(review)
ammie
Rock On(person)
The Custodian
The Dresden Files(thing)
Ouzo
PETA becomes you, a proposed future(fiction)
Ereneta
Stone Soup, Part Two(fiction)
jjen
Sorrier than I ever thought I would be(personal)
locke baron
Moskva class antisubmarine cruiser(thing)
Wuukiee
May 15, 2008(idea)
locke baron
Kuznetsov class aircraft carrier(thing)
This page courtesy of The Everything Development Company