The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
Tables are EVIL INCARNATE when they're being used for page layout, especially when no planning has been done to consider printing a page full of tables nested in tables when that's one of the unstated (because it was elephant-ing obvious) requirements.
Trust me, I'm trying to unwind a nested cesspool of tables used on an old form into something mildly better using Bootstrap, just because printers can deal with it so much better.
Yeah, there's no excuse for using tables for layout these days. But there was a time when there was no good alternative, so we're still dealing with that legacy.
Nowadays people are abusing CSS, which deserves it due to its broken inheritance model. When browsers are forced to implement something like "!important," which should never ever be used because it "breaks" inheritance, then you know that there's something fundamentally wrong with the inheritance model in the first place...but that's a whole other rant. I do find it hysterical that "!important" reads as "not important" to people who know logic
... gone through a code set, making changes, wishing that you could rewrite it, et accepting the fact that it must remain the fragile house of cards that it is?
".45 ACP - because shooting twice is just silly" - JSOP, 2010 - You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 - When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
Many years ago I was working on a real-time telemetry system (for jet fighter flight testing) and was asked to go through my boss's code (by his boss) while he was on a three-week vacation as the real time code wasn't running fast enough to maintain real-time! I looked at a couple of core modules to find the most inefficient load of cr*p I have ever seen before or since! I made a couple of quick fixes - such as making sure a search algorithm actually stopped searching once it found what it was looking for and storing non-volatile pointers on the first look-up rather than searching every time - and the code ran approximately 2,000 times faster and could maintain real-time easily! I wanted to rewrite the whole thing but was afraid of what my boss would say when he got back. The code I had fixed was on his "don't touch, don't look, don't even think of looking" list and I got a specific OK in writing from his boss before I risked changing it at all! When he got back he raged at me for "ruining his code" and "putting the entire system in jeopardy" despite the fact that our team got a commendation from the engineering group for making the real-time system actually real-time again! I got a terrible performance review from him at the next six-monthly review and a 0% pay raise as a result. I quit my otherwise dream job (I am an aeroplane nut) shortly afterwards.
I heard he was eventually "promoted" to "special projects" where he nearly destroyed an international contract agreement and was finally fired for gross incompetence (as a manager, not a programmer).
- I would love to change the world, but they won’t give me the source code.
When he got back he raged at me for "ruining his code" and "putting the entire system in jeopardy" despite the fact that our team got a commendation from the engineering group for making the real-time system actually real-time again! I got a terrible performance review from him at the next six-monthly review and a 0% pay raise as a result.
It's times like those that I'm glad I work in the Netherlands, where employees actually have rights (and job security) and don't have to take sh*t from anyone
The flip-side of the coin is, of course, employees abusing their bosses (which is just as bad!)
True, continental and Northern Europe have very good standards about employee rights. Now, Italy is trying to follow the US (it's 70 years we're being the US lapdogs) in each and every way so we'll see how much it will last here...
yes. currently doing that. it's a pain. I'm slowly, piece-by-piece, rewriting it as bugs come in. he he.
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
Yeah. I just got done with rewriting a utility that, for some reason, takes forever and a day to run on Windows 10, but works fine on every other version of Windows. The original was written in WiseScript*. The new one is in C#.
I did rewrite it, but I was limited to duplicating the original functionality EXACTLY, right down to duplicating the quirks and bugs.
* This had nothing to do with the script code that was written. It has something to do with the WiseScript runtime library built into the resulting compiled .EXE. For some reason, and not every time, the .EXE will just go out to lunch. An .EXE that normally executes in seconds on a Win8.1 or lower machine will take anywhere from a couple minutes to 45 minutes to run on Win10!
This is the standard modus operandi in my company. Piece by piece I rewrite things hwnever I have to make "some adjustments". Luckily I can be an extremely fast programmer when my mind is in the right conditions...
Unless by adding my one extra check caused the Microsoft 5.1 compiler to crap out because the "nesting was too deep". Got to rewrite that screen. Green bar paper of a single function was 15 feet long with jump back AND jump AHEAD goto's in it.
The existing code had been patched so much no one could make head nor tails of the flow.
NASA better brace for the inevitable flood of Welsh astronaut applicants.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
Last Visit: 4-Dec-20 11:12 Last Update: 4-Dec-20 11:12