- 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
It sounds more like he begged the director for permission to make basic improvements to the subsystems involved in the application he was told to maintain. Eventually, he got sick of a director that is badly micromanaging a single report and confronted him.
Here's an application you have to maintain. You're not allowed to document the application. You're not allowed to change how the data for the application is acquired. You're not allowed to correct known bugs in the application even if it would save hours in generating the report. But you are entirely responsible for the report, so make sure it keeps working.
Admin
Technically it is 186,281.96 (and a crapload more)
Admin
This reminds me of that monty python scene where the eager young idiot tries to improve the efficiency of some guy hitting things with a hammer. I wonder if the building collapsed after he fixed that VB5 app.
Admin
If the director takes any suggestions that the application could work better as the director being stupid and forked up, then the director is stupid and forked up and will probably not last long in a successful company. Either the director will get kicked or the company won't stay successful.<P>
Any IT professional knows that at some point, any existing application might be considered obsolete and should be refactored or even rebuilt from scratch. Insisting on using a specific application and refusing to allow improvements just because you were instrumental in it's construction is simply ego. Today's best company application could be completely obsolete next year. You can't insist on using it just because killing it might be embarrassing to you.<P>
Everyone has seen companies throw more and more money into an app stuck in beta longer and longer because it just it would be embarrassing to the people in charge to admit it was a failure.
Admin
What did the director end up doing? Did you get fired?
Admin
When they sacked you, did you give them a business card? I'd love to do that - screw up the system and I'll fix it for a rather substantial sum with favorable payment terms.
Admin
I cannot comment on his skills but he certainly was a tall developer.
"Seven feet of buggy code", I'll store this phrase alongside "works as coded".
Admin
Little known fact: At the intended standard temperature/pressure, water does NOT freeze at 0 deg C and it does NOT boil at 100 deg C. They screwed it up.
-0.001 °C and 99.974 °C
http://en.wikipedia.org/wiki/Celsius#The_melting_and_boiling_points_of_water
Admin
Nah, Celcius is better... at 0 degree Celcius is "Man, it's cold!", but at 0 degree Fahrenheit is "Man, I'm f### freezing my b###, what the $%# I'm doing outside!!!!", !! :-D
(I can't think on the usefulness of Kelvins)
At the end I guess is as dumb as meassure the temperature in x=1.8(Tc)+32
Admin
It's easier to calculate with (1 meter being 10 deci-meters, n'all). Besides, having a unified system might save money in the long run...
I don't know which temperature scale is the most dim witted; celsius or farenheite. Just to be different I think I'de vote for kelvin, and wait for the weather laidy so say stuff like:
"This year, July was very hot with temperatures as high as 316 degrees in the shade."
Although I think jokes like that would get old quick...
Admin
The correct temperature scale would be something similar to the following:
0 is cold (avg "cold" amongst "normal" people)
10 is hot (avg "hot" amongst "normal" people)
5 is "just right" (as decided amongst "normal" people)
who cares about the rest? :P
note, i mention "normal" people because there are the wacked-out freakos who think 40F (roughly 4.5C) or 120F (roughly 49C) are "just right"
Admin
Yeah, and usually they're the closest ones to the room's temperature control
Admin
I wish your dad was right, but the guy writing "enterprise" applications using whatever fashionably complex framework of the day generally gets paid a heck of a lot more than the guy writing simple python scripts that do effectively the same thing.
Admin
Phew, it's lucky, you guys don't design Mars orbiters and landing units. :)
Anyway, let's introduce a system that divides units into 1/16th-s. It's certainly easier to calculate with if you're a real hax0r. Just imagine how cool it was if we could say things like "The Sun-Earth distance is exactly 0xDEADBEEF new meters."
Admin
Obviously you weren't a science or engineering major. Computer science does not count.
It is far quicker and easier to convert between units in SI as everything is in multiples of 10. For example, once you know that the meter is standard for distance and kilo means 1000 then you know that a kilometer is 1000 meters. Now tell me, can you remember off the top of your head how many feet are in a mile, or how many cups in a gallon, or pounds in a ton?
captcha: stfu (oh yeah)
Admin
And how many hogshead per foot squared http://www.google.com/search?q=hogshead+per+foot+squared ) are you tall?
Did you even know there was a measure of unit called a hogshead?
Honestly, it's like saying "Jeez, why use all these new programming languages? Assembly JUST WORKS!
Admin
Lucky for me or the units? Or the happy tax payers, perhaps?
I don't know a flying fork (be careful with those, btw.) about Mars orbiters and landing units, so if I ever get a job designing such things, it would indeed be a WTF.
Admin
so, because of a bunch of lazy scientists, we have to develop a new system?
Me, I like the precision apparent in the fact that 1 pole is 1/320 of a mile, or that a 1 yard = 2/11 of a pole. :P
Admin
Actually, practitioners of parkour use their feet/shoes in measuring distances. For example if you know that you can jump 8 shoe lengths from a standstill, then you can measure the length of a gap and avoid hurting yourself needlessly if it's too long. Nobody carries a tape measure when doing parkour, so it's pointless to know in centimeters how far you can jump.
Admin
Yes, I was aware, but were you aware that a hogshead is not a unit of length? :P
It is a brewery term for volume, and if I remember correctly, 1 hogshead is about 55 gallons .. give or take ...
Admin
I actually can remember all the conversions...both between Imperial units and between Imperial and SI. Not that I disagree that metric is nicer, but "I can't remember the conversions" isn't much of an argument IMHO.
Not to mention the SI binary units...yea...those have really caught on....so which "kilo" is it today...1000 or 1024?
Admin
I think he was probably refering to the fact that Fahrenheit is more "precise" in terms of whole degrees, as that is one of the main arguments for its use:
From the wikipedia: http://en.wikipedia.org/wiki/Farenheit
Admin
How about we stop the SI vs imperial units -debate right here? Anyone who's ever done any unit conversions knows SI units are infy better, and anyone who has any common sense knows that trying to change the system used by a big country would be pretty damn awkward. Imperial units are merely bad, not completely horrible. Huge respect for the guy who manages to get US and UK catch up with the rest of the world, but I won't be holding my breath.
Admin
um, since I'm the one who wrote "why should we convert? ...", I assume this is directed at me ...
And, yes I have an actual engineering degree. (I have degrees in EE, Physics, Math, and CS.)
For some things, SI works fine. For a lot of everyday uses however, I like Imperial.Admin
Fortunately this steaming pile of code can be fixed easily.
Step 1: Remove all comments (assuming there are any).
Step 2: Remove all whitespace.
Step 3. Rename all variables into two-character-combinations to shave more space. Use #defines or equivalent macro feature if necessary (bonus points if you have to write your own preprocessor).
Step 4. Similarly, use #defines to abstract away frequently used pieces of code, like "!=0){" into convenient two-character combinations
Now you have reduced your seven feet of code down to a much more manageable amount. Refactoring is all about removing redundancy!
Admin
In my experience - ANYTHING that improves a painful manual process, releives work load from staff (especially if it's my own) and gets the job quicker is deemd a waste of time and to be fought against by anyone with power.
You build a business a perfactly good administration system with fields that cover everything they had on paper and in they're old Access database... and what do they do?
Continue using access, continue using paper (in fact they use even more now because they insist on printing out all of the admin screens every time there's a change made, and all of the support tickets (I'd hate to see the SQL query to sort those pages...)) AND they use the admin system... Then they complain because they're quadruple entering, and that cost of printer toner is going to send us broke...
Admin
5280, 16, and 2000.
Remembering those numbers isn't hard. What is easy in SI and hard in imperial is "how many meters are in 5.43 km" vs "how many feet in 5.43 miles." The former is still trivial; the latter almost everyone would pull out a calculator for. (And almost everyone who wouldn't pull out a calculator would pull out paper and pencil.)
Admin
11 inches = 1 metric foot
Admin
I have never seen anyone using celsius with fractional degrees when talking about the weather. We simply have no need for it.
And at 0C water freezes, that's a very natural starting point.
Admin
"...in they're old Access database..."
OK, now that Firefox has a spell checker for web forms, they really need to get that grammar checker hooked up pronto.
It would also be nice if they could add special checks for "loose" instead of "lose" and "lead" instead of "led", but I'll take what I can get.
They can try and sell it to techies by having the web form complain that their forum comment "failed to compile" because the "comment compiler" expected "their" at line 9, character 45, but found "they're" instead.
Admin
Perhaps you too are being sarcastic.
The requirements a Ferrari fulfills are not simple. A Ferrari might only be as complex as it needs to be; I don't know. The creators of the system in today's wtf would've made a car that might go around the track fast once, but you'd never be able to change a part and would eventually explode into a great, effulgent ball of fiery metal (or balsa wood or whatever).
Admin
Arguing about which system is the better is like arguing about which programming language is the better. The first question should be: better for what? For everyday use, both systems work. And for science, well you use computers and calculators in science, so it doesn't really matter either. It did matter though in the 19th century, when all this standardization was invented. Nowadays the only thing that matters is to use the same system within a specific project. See Mars Climate Orbiter.
Admin
Yeah, he meant to say cube-root of a hogshead (which is a length).
And speed can be measured in parsecs per fortnight.
ow.
Admin
You're right! Just like my old boss used to say: The "Gaz-in's" and "Gaz-out's" are all that matter.
Who cares what poor schmucks are left to maintain this code* for the rest of their miserable lives.
* Don't touch The Black Box™ for goodness sake!
Admin
Ferrari's and fancy restaurants are AESTHETIC, and most beings can appreciate them. What's aesthetic about 7 feet of bad code??
captcha: paula - how appropriate!
Admin
that man is my hero
/we're not worthy
//we're not worthy
Admin
absolutely the correct response. there will always be jobs for people like darren.
for people like the director - pain!
Brilliant!
Admin
Remember, it's a factory. Most factories haven't upgraded to metric yet.
My workplace, however, has. I measure my source code output in petabarn/femtofortnight.
Admin
28670.4, in case you're wondering. And yes, I'm the person who did it in my head as a point of honour... (but I did check it afterwards)
Admin
that sux (losing your job for that reason). seems it's always tempting to mgt to outsource IT; there's the cost argument, there's the "The IT guy is not doing anything" school of thought as well. 2 responses to that:
1) just because you don't SEE him doing anything doesn't mean he's not
2) maybe he's got more time to "not do anything" because he's efficient, or has made the processes efficient.
one of the rewards of doing your job well (along with your huge salary, VBG) is that you do have more leisure. sad it's confused with not doing anything....
Admin
I dunno about the States, but in the UK, with younger people metric is more common, it's mostly older people who stick with imperial units. Anything technical or scientific is SI. The main exception is road distances and speeds are still in miles (per hour). However, no country I know of uses the SI units for speed - metres per second.
Not really. A scale where water, the most common substance that we observe undergoing melting and boiling, freezes at 0 and boils at 100 seems quite sensible to me (yes I know turns out it's slightly off, but not to an everyday level of significance). I find Fahrenheit annoying, and the defining points are much less, well, defined - salt & ice in unspecified proportions, and human body temperature, which varies.
Of course neither are SI, that's Kelvin (not "degrees Kelvin" either, just "Kelvin"!), but it's just 273(.16) + the Celsius temperature. And can be represented by an unsigned number!
Both wrong!
The speed of light is DEFINED as 299,792,458 m/s. EXACTLY. That speed defines the metre, with the second defined as "the duration of 9,192,631,770 periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the caesium-133 atom"
The yard is now defined as 0.9144 metres, so the speed of light in miles per second will be a terminating or recurring decimal, not "a crapload more" if that is meant to imply irrationality.
In my view the Kelvin can and should be redefined by defining the Boltzmann constant, and then the definition comes from the Joule, from the second and the Newton, from the kilogram, metre and second, the metre coming from the second. The kilogram ought then to be defined as 1000/12 x the mass of the defined Avogadro number of Carbon-12 atoms, or alternatively, by defining the joule, perhaps from the energy emitted in one second by the light from our beloved caesium-133 hyperfine transition.
CAPTCHA: enterprisey. I think that Mr Fahrenheit's definitions were pretty enterprisey.
Admin
The strangest disparity I have seen after moving to the U.S. is the way that blood sugar levels are measured. Most of the world measures in millimoles per liter, and you would think that the U.S. would either use that or an Imperial system measurement, but they actually use...
... wait for it...
milligrams per deciliter!
So they went through all the trouble of converting in order to use a non-standard measurement anyway. This may be the real WTF of the day.
reference:
http://www.fda.gov/bbs/topics/NEWS/2005/NEW01250.html
Admin
Indeed, it's dumb. It's better to use the *Celsius* scale, which isn't the same.
Anyway, SI IS better than the english system. Calculations are easier, physics constants are usually 1 (nice and handy), and it's so much clearer. Let's also remember that the imperial/english system was NOT the only one in use: the french had their own system, based on the roman system, and older than the english one, which they abandoned in favor of SI. Same goes for the spanish one: also roman-based, also older than the english one, also abandoned in favor of the SI, with the added bonus that spaniards don't like the french (that does tell something). Today nobody talks about quintales, celemines, arrobas, et cetera. Several othe countries did the same. Why is USA so backwards in this regard, I'll never understand.
Admin
Yep, I can. 5280, 16, and 2000 respectively.
I can also tell you off the top of my head that a slug (the British unit for mass, not the animal) weighs 32 pounds (the British unit for weight, not the British unit of currency).
British units are very good for commerce: 1 foot is made up 12 inches. 12 is evenly divisible by 2, 3, 4,and 6. The original calendar was to have 360 degrees (and because of this, the circle has 360 degrees) because 360 is such a nice number. It not only equals 12*30 (12 30-day months), but is evenly divisible by 2,3,4,5,6,8,9,10,12, (and many others). (There's no love though for 7 or 11 -- sigh.)
Anyway, British units are so much nicer because there are more prime factors to play with which makes commerce easy. (I don't want a full dozen -- I only want a third of a dozen.) The metric system is dumb! It only uses prime factors of 2 and 5. Neither is it easy to represent many fractions. How do you represent a third of a killogram? 333.33333333333333333333333333333333333333333...(etc...) mg? Stupid! Stupid! Stupid. I mean, who creates a system of measurement just because it matches the number of fingers you have. Bah!!!
Oh and by the way, the British were dumb enough to abandon the unit system named after them. They've turned to the dark side and have been using the metric stystem for quite a while.
captcha: shizzle
Admin
"This thermostat goes to eleven."
Admin
Physics constants are not usually 1 in SI units. cgs units are kind enough to have the electromagnetic units equal to 1. Planck, Stoney, and Schrodinger had the right idea of having am many physical constants equal to 1 as possible (http://en.wikipedia.org/wiki/Natural_units). Too bad that most observations we deal with on a daily basis have obscenely large nubers in these "natural unit" systems. Oh well!
Admin
Financial services provider? Lots of Microsoft code? Wonderful WTFery?
Admin
What's funny is that half the posts are about how many pages and/or the length and content of the printout. This is a story--not a word problem. I swear half the posters are autistic--but without the math skills.
Admin
Yes, put, roooobi-un-raaails lets you proookrum vit much more choy!!!
Admin
Yes, 5280, 16, 2000
Ok, I admit on the cups I had to do some math in my head.
The real advantages to metric come when combining the units though. Newton = kg m/s^2, Joule = Newton-meter = kg m^2/s^2
Any science or engineering courses I took did work in metric because it made thing easier. But I just like Farenheit better as a temperature scale, 0-100F nicely framing the range of atmospheric temperatures I tend to run into. (rarely see 100+ or sub-zero temperatures)