- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
is that the way things were done back then?
Admin
You whippersnappers don't even know the algorithm for drawing a circle on a x,y grid using sine and cosine, do you? that's some seriously intense computation there. Modern computers only can do it using approximations of circles and bitmap images. Otherwise your precious 'windows' operating system would come crashing around your knees too.
Admin
"Do not disturb my circles!" Archimedes last words.
Admin
Stop being so polarizing.
Admin
Maybe Miklos couldn't read the instructions either because he didn't speak Czech? Miklos (Miklós) is a Hungarian name.
Admin
Admin
Just BTW, we don't know how heavily loaded the mainframe was before Ulrich started this program. Maybe it was already running at 99% of capacity and he just pushed it over the edge. Also, we don't know how many circles he tried to draw simultaneously.
Admin
One thing that puzzles me about this story: If they didn't have a test system, where did Ulrich develop this code? Did he do his development on the mainframe? I mean, was his demo for all the hot shots the very first time he tried to run the program? I can't imagine giving a demo to anyone before I'd run tests myself and was sure that it worked. How often does a non-trivial program run correctly the first time you try it? (Answer: almost never.) If he ran those tests on the mainframe, wouldn't it have crashed long before the demo? And if he didn't do his development on the mainframe, then why didn't he do the demo on his development system?
Either there's a missing piece here or something has been lost in anonymization.
Admin
I also wonder why he couldn't just re-start the mainframe and not run his new program. He was apparently able to update his code to remove the circle-drawing and restart. So how did he update the code without the computer running?
Admin
Admin
I bet you could pick up one of those mainframes for a song and start up your on plant.
Admin
I like how people are trying to guess the location of the story based on fictitious names.
Admin
what comic-book is this from? " black as the cloak on a member of the Night’s Watch"
Admin
This explains why TDWTF doesn't use complete circles, rounded corners, or anything else round anywhere on the site.
Admin
A Song of Fire and Ice
Better known as Game of Thones
Admin
In Mother Russia, you can draw circle ... as long as circle have 4 corners.
Admin
Why couldn't they just roll it back? Unless they were using the mainframe as a development machine in which case we are all doomed. Or did they not have a backup????
Admin
Until your kids are eating their cereal through their foreheads and have eleventeen toes on each foot.
Admin
If he was working at the nuclear power plant in the picture, he should already know Czech; that's the Dukovany Nuclear Power Station.
Admin
Admin
Admin
(Yes, I know, on a meta-level this statement doesn't make sense.)
Admin
Admin
I think the mainframe couldn't handle circular logic.
Admin
Admin
I thought it was funny!
Admin
Patient: "Doc! It hurts when I raise my arm like this..."
Doctor, interrupting and yanking patient's arm down, "Then don't do that!"
Admin
i do not believe this story for even one minute, sorry
Admin
Not a U.S. nuclear power plant. They have simulators (identical mock ups of the control rooms) that are used to train operators that could be used for a test environment.
Admin
Admin
1970s: On IBM mainframes, if a program aborted (abended) and had not used up its limit on CPU time, the OS continued charging CPU time against the program while producing a hex dump. If the program's CPU time limit was reached while producing the dump, the OS abended the program again. The OS couldn't handle its own recursive abend of a program, and the result was equivalent to a BSOD.
2010s: On a PC with an AMD (ATI) graphics chip and Windows 7, if AMD's driver hangs then Windows 7 restarts the driver -- once. If AMD's driver hangs a second time then Windows 7 hangs. No BSOD, just a hang. The only way to restart is a power cycle, losing your work the same as a BSOD would do.
Admin
Admin
Start a task at priority 1, enormously low. Start another task at priority 6, moderate. The moderate level task does I/O or something so the low priority task gets a CPU slice. It hits a page fault and waits its turn, priority now 12. VMS bumps its priority from 1 to 7. The moderate priority task gets its I/O finished and resumes running at priority 12 but quickly drops back to priority 6. The low priority task gets its page swap finished and takes the CPU because it has priority 7 but quickly drops back to priority 1. So the low priority task doesn't get much CPU, the low priority task takes forever to run because it's low priority, BUT IT IMPACTS THE MEDIUM PRIORITY TASK AND SLOWS THAT ONE DOWN BY A FACTOR OF 2.
32 levels had 16 levels of real time stuff and 16 levels of ordinary stuff. It wasn't enough. If we wanted 5 levels of priorities, and we didn't want high priority tasks to be impacted by the page faults of low priority tasks, we had to separate our 5 levels by at least 7 VMS levels between each of our levels. We needed around 29 levels of ordinary stuff and 29 levels of real time stuff. We made do with 3 levels of ordinary stuff. Performance for interactive users almost became bearable.
A few years later I got a job at Digital, but by that time DEC was dead and already taken over by Digital. The days were long gone when an engineer could discuss stuff like that with anyone that had rank to fix anything like that.
Admin
I'm a WTF today, posting two responses impersonating someone who should have just been impersonated one time yesterday. Anyway...
You should have copied a machine from TRW instead of DEC. They handled circles in the 1970's.Admin
Admin
At this point I knew what had to be next. We've all seen the movies a hundred times.
So how did they manage to avoid waking up Godzilla?
Admin
Admin
I think Shoreline refers to the test that occured in March 2011.
Admin
In Soviet Russia, circle draws you!
Admin
So in your weird world, these "new cool" algorithms are now nearly fifty years old. And even at the time the supposed events of the story supposedly took place, these algorithms were twenty years old. "New cool" evidently means "twenty years old".
And another thing. I'm disappointed that nobody, not even a self-proclaimed Czech, commented on one thing. Ulrich would not have called a guy in the Czech Republic in the 1980s, because in the 1980s no such country existed. Miklos and Blazej would have been Czechoslovakian, and the mainframe would have been bought from Czechoslovakia.
The standard of TDWTF writing is TRWTF.
Admin
At 2013-07-24 11:58 :-
At 2013-07-24 12:40 :- You see what I did there.Admin
Someone claimed to have witnessed a Czech and a Slovak get caught and eaten by a couple of bears. When he said that the female bear ate the Slovak, everyone knew he was lying.
Admin
How are empty comments even possible?
Admin
The article states that this story happened in the late nineties and that they were preparing for Y2K.
So if we believe in this story for a minute, we find out:
In fact the wikipedia article i linked earlier states that IBM took over support for those /360 and /370 clones.
Admin
In the HTML comments: "The fact that it's a Czech reactor is a complete coincidence."
Admin
And a whooosh to Tracy Kidder.
Admin
Not knowing an algorithm isn't a WTF. Not knowing an obsolete algorithm even less so.
Why do you say there is no reason? If the mainframes are still in use, then there is a market for their support. A tech company from the former soviet bloc would be exactly the kind of company to support it.
Incidentally, what makes you think this mainframe was a 360 or 370 clone? The make/model of machine isn't mentioned.
Admin
Really?!?!? A page fault bumps the pri of a process? Funny I never saw that in the source code, or talked about
Now did something like waiting for a LEF, which would happen on an IO give a 5-6 level boost, sure. But that was only good for a few quanta then it was back down to the base pri. The idea was, a user just hit enter on a command, the IO finished, give him a small short boost to at least get his command started.
If a page fault resulted in an IO to pull something in, then yes the IO completion gave you a boost, but not a page fault. Think about it, if you are CPU bound, and something at a higher pri is CPU bound, you are not getting any time. OK in a rare case you can read below.
And on top of that you can not have a page fault if you are not a running process.
Read this http://www.parsec.com/public/cpuperformance.pdf
Admin
Even though Bresenham's circle algorithm has existed for some time, MOST programmers (especially czech ones) didn't know it. And they didn't know it because it was perhaps published in some scientific paper (programmers hardly ever read scientific papers) and (this is the good part) there was no easy way for czech programmer to know about it. There was no World Wide Web. Either you read some 10-20 years czech (read as "outdated" by 10 years the day it was printed) book about "kybernetics", or you learned by trial and error.
I even own one czech book about programming (from 70's) which actually contains the "advice" very similar to what I wrote earlier (using sin and cos and very fine step).
As I shown before, no, it wouldn't. Now, it could be true, but in 80's, in soviet block country? Most czech people didn't know english (you generally learnt russian at school), and most czech programmers didn't know english even in 90's.Now note that I'm still saying "80's" and not "90's" - that's because there was NOTHING you could call "a mainframe" manufactured in Czech Republic (or former Czechoslovakia or short-lived Czechoslovakian Federal Republic) afther the revolution in 1989. So this mainframe must have been from 1980's.
Again, note the "ironic" quotes. And of course, you fail to recognize the main ingredience in a good WTF - basic human stupidity. Just because it was published, or it's known, doesn't mean everyone will use it or use it right. Or, as I've said, it was even pretty hard to really know about it. There was no WWW in th 80's! And for a czech guy, you were pretty much isolated, and your biggest challenge was to even get close to some computer. And if you did, you were stuck with pretty basic sw tools. And by basic, I mean the best you could hope for was some assembler and line-based text editor. You're so smaart :) Only you probably don't know that "Czechoslovakia" means "Czech Republic" and "Slovak Republic" federation. Same as USA, but only 2 states instead of 51. And when the article said "Czech Republic" I just followed, because there WAS Czech Republic in 80's, it was only part of the CzechoSlovakian Socialistic Republic (CSSR). The same way Texas exists in USA.Admin
However Ulrich is programming for very obsolete hardware, so he should have good knowledge about how to avoid wasting resources.
Not much of a market, if you think about it: After the end of the soviet bloc corporations (if still in business) then had access to much cheaper and more powerful hardware, so why keep the old ones in operation?And newly founded businesses had no reason to use those old machines.
I linked to two relevant wikipedia articles in this comment.Most of the mainframes built in the soviet bloc where built in russia itself or in belarus.
The ES EVM is the only one with a mention of production in Czechoslovakia.
From the ES EVM wikipedia page: