|
Thank you for reminding me why I'm so happy not to be programming in C++ or MFC anymore!
Marc
Latest Article - Create a Dockerized Python Fiddle Web App
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
Every so often I dive back into MFC code and I really feel like I need to pack some sturdy boots and carabiners. And spare batteries and extra duct tape.
There's a lot of extra crap we used to have to do just to turn the lights on...
cheers
Chris Maunder
|
|
|
|
|
Does a feather merchant do well when business goes down?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Just wingin' it, or is this inspriation? Eider way, it's the stuffing that dreams are made on.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
I will not birden you with my thoughts on that.
... such stuff as dreams are made on
|
|
|
|
|
|
Feather merchants are the only businesses that get rid of featherbedding when business picks up.
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
Yesterday, I received a text message from a former co-worker asking me to contact him about a data reporting issue. Since the former co-worker is a friend, I agreed to talk to him.
The gist of the issue is: corporate has decided to implement a third-party system and the system either isn't configurable to define the production start time or it will be custom coding to define the production start time. The site has, since its inception in the late 1950's had a production start time of 7:00 AM. A production day runs from 7:00 AM to 7:00 AM.
So.. with the new system, they are missing the production from midnight to 7:00 AM every day.
Had a quick conference call with my friend, his manager and the managers manager... the problem seems to be with some COM+ components on a pair of servers. I walked them through finding the components and they identified them by name. I recognized the names and suggested that the code is probably doing an offset of 7 hours from midnight to get the production start date. Yes, the code base will be in SourceSafe and it shouldn't be a difficult manner to extract it, modify it, recompile and redeploy it.
So.. this code has been running, without issue, since I left... in November 2011.
This isn't the first time I've been called about processes that have been left in place and have run without issue for years.
Could the code have been configured to allow a variable production start date? In retrospect, yes.. but its still a good feeling to know that the code has done what it was designed to do.
|
|
|
|
|
And now you can die.
|
|
|
|
|
I'm sure Tim will find solace in that.
This space for rent
|
|
|
|
|
I find solace in knowing I did the job assigned to me, and, after leaving, what I had left behind is still functioning as defined.
|
|
|
|
|
|
TheGreatAndPowerfulOz wrote: code rot AKA, business rules changed.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
exactly
#SupportHeForShe
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
|
|
|
|
|
I wrote an expert system for test flight analysis (at first, just for fun on my own time in the evenings) which then was picked up officially and used by the main Flight Test department, being added to and expanded in scope. It was being used for all test flights when I left for a higher paid job about four years later. The system was still in use for another ten years after I left, apparently unchanged until they got new (mainframe) computer systems from a different manufacturer and it had to be rewritten to be ported. As far as I know, the ported system was still running twenty years later!
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Gives you a good feeling, doesn't it?
|
|
|
|
|
Definitely a warm and fuzzy one. I miss that job, jet fighters taking off on full reheat not far from my office window - spectacular in the evening when the exhaust flames were forty or fifty feet long!
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
I grew up next to an air base that scrambled interceptors; I don't miss them flying over the house and not being able to hear the person next to you, even if they're yelling.
But, it conditioned me to be able to ignore a lot of noise when sleeping.
|
|
|
|
|
The judge sent him clinkward for a year [^].Quote: Within weeks of leaving his job, the base stations built by his former employers – who have not been named – began to disconnect from the radio network. Access logs showed that Flanagan had taken to remotely connecting into the towers at night using their root passwords, which still worked for him. He then changed the passwords – in some cases to "f***you" – uploaded Pink Floyd song lyrics in place of key code, changed the radio frequencies used by the towers, and added ASCII art to the masts' firmware. Where are 'Mothers Against Drunk Hacking' when you need them ?
«Beauty is in the eye of the beholder, and it may be necessary from time to time to give a stupid or misinformed beholder a black eye.» Miss Piggy
|
|
|
|
|
Just wait until he gets his hands on a laptop in jail!
Get me coffee and no one gets hurt!
|
|
|
|
|
BillWoodruff wrote: ... using their root passwords, which still worked for him.
Not revoking an ex-employee's access after firing him? That's a mistake they won't be making again.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Richard Deeming wrote: That's a mistake they won't be making again. Like to bet on that?
|
|
|
|
|
"Gentler shipping saved many lives." (15)
Good luck.
Andy B
Clue: the word you're looking for is not English but is used in English to describe this event.
The answer is Kindertransport from Gentler = Kinder and shipping = transport. It was the program to take in some of the child victims of the Nazi's in the late 30's / early 40's which saved many innocent lives.
Looks like I'm back up tomorrow.
modified 27-Jun-17 8:20am.
|
|
|
|
|
Well if nothing else, I've learned something new today!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I went absolutely insane trying to make an anagram of "Gentler shipping". Just goes to show that I need to practice KSS
|
|
|
|