|
I was writing fuel management software package, and had to write a virtual fuel pump to test with, based off the service manual.
I need an app that will automatically deliver a new BBBBBBBBaBB (beautiful blonde bimbo brandishing bountiful bobbing bare breasts and bodacious butt) every day.
John Simmons / outlaw programmer
|
|
|
|
|
virang_21 wrote: What would you do when there is no way to replicate situations happening in production environment ?
In normal server work there are ways to help with the situation.
1- Add logging (over time one would just use the log output.)
2- Build a simulator (over time it gets better.)
3- Unit testing.
4- Very rigorous design (at implementation level) and rigorous code reviews.
The fourth is often to time consuming to apply to all code and probably too boring for most developers. Although the later would seem to be just something that developers must do the reality is that humans will tend to get glassy eyed if one attempts to force this for all code. Just the way humans work. But eye balling a very small but very critical subset can help.
The last one can do as an independent developer but one is still subject the to the boredom factor as well. At a minimum I find for myself that I only attempt such detail reviews of my own code by waiting a day. If I attempt it immediately I don't really see the code.
3 and 4 can be used together. However whether applicable depends on specifics of the system.
|
|
|
|
|
jschell wrote: In normal server work there are ways to help with the situation.
1- Add logging (over time one would just use the log output.)
2- Build a simulator (over time it gets better.)
3- Unit testing.
4- Very rigorous design (at implementation level) and rigorous code reviews.
1. That is how I was able to figure out what is going on. Logging every condition and messages sent and received and all the variable values when it fails
2.The controller I am using is from a company in Germany... Manual ? what is that ? .. Some old flowchart is what I had to program it with...
3. Unit testing/ BA Testing / UAT did not pick up those errors because if you produce few items it works like a charm but when it is constantly being used and one of the production line needs a response time of max 1.5 second it gets complex with full factory using the application on same network and controller is connected to network via WiFi....
4. Code Reviews ? Who will do that when you are the only developer ....I have to put a hand on my heart and tell them that it is not the code that is failing but something else is causing it... I have to deal with PM who keeps on insisting that it must be your code that is wrong... No technical help just keep looking at the flow chart and keep insisting you must be doing something wrong...
Zen and the art of software maintenance : rm -rf *
Math is like love : a simple idea but it can get complicated.
|
|
|
|
|
virang_21 wrote: 4. Code Reviews ? Who will do that when you are the only developer
As I suggested - do it yourself. Actually I have often found that I must do that myself with critical code even when there are other developers because they just won't take it serious. Walking through my own code, just the critical pieces, not immediately but after a day allows me to verify logic if I do it in detail.
|
|
|
|
|
I've never had any issue with doing that when I needed to. Just be careful.
virang_21 wrote: one controller available to use when one of the production line is not using
You actually have it pretty good. I have had jobs where there was only one of the system in the company (and there was no way they would buy or build another simply for development and test).
It's one of the things that separates the men from the boys.
You'll never get very far if all you do is follow instructions.
|
|
|
|
|
I feel for her, and can only imagine how good she'll feel if I help take it[^] off her hands.
|
|
|
|
|
If he isn't yet Ex-Husband, there is a risk she is selling it without his permission, therefore you are handling stolen goods (if you win)...
|
|
|
|
|
Oooh, nice! Wish more people got divorced in Toronto.
/ravi
|
|
|
|
|
I think you misunderstand, you're supposed to help her with that by a little purchase.
|
|
|
|
|
I would, but the shipping would kill me.
/ravi
|
|
|
|
|
Is she offering local pickup?
Peter Wasser
"The whole problem with the world is that fools and fanatics are always so certain of themselves, and wiser people so full of doubts." - Bertrand Russell
|
|
|
|
|
pwasser wrote: local pickup
The pickups would be local to the guitar...
|
|
|
|
|
Ah a woman scorned... Been there, done that and didn't get a T-shirt!
If first you don't succeed, hide all evidence you ever tried!
|
|
|
|
|
Mike Hankey wrote: didn't get a T-shirt
Of course you didn't: the Lady gets the shirt off your back in a divorce...
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
OriginalGriff wrote: Of course you didn't: the Lady gets the shirt off your back in a divorce...
She's no lady she's my ex and you're right I didn't even get to keep my dignity.
If first you don't succeed, hide all evidence you ever tried!
|
|
|
|
|
I've gotten frustrated by growing memory reqs for web sites and Mozilla's lack of a 64bit build on Windows. I'm considering a running a 3rd party build[^] of FF that does support Win64. I'm a bit concerned about how well Flash will behave though; a few years ago there was a lot of noise about the fact taht Flash64 was buggy as hell on Windows; since then it's quieted down a lot but I have no idea if it's because Adobe fixed the problems or just because it became old news.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Do you not like Chrome? It has a 64 bit build nowadays with Flash
|
|
|
|
|
I do not.
I'm also uninterested in discussing why again. It's been at least a year since I've seen a single new argument about why I shouldn't have a problem with the feature I consider a deal breaker; and unlike Cueball I'd rather spend quality time with Megan.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Out of interest: how often do you find you need flash?
It seems I need it less and less these days. Which is a good thing I feel.
cheers
Chris Maunder
|
|
|
|
|
When there's only 14 hours left to save the Earth, Flash is The Man.
|
|
|
|
|
So how often is that going to happen? Where's the aftermarket support opportunities? Let's pour a little gin and think this out more fully...
Will Rogers never met me.
|
|
|
|
|
Roger Wright wrote: Let's pour a little gin
Gordon's alive!
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
|
Now I have the Flash Gordon song stuck in my head.
What a way to start the week.
Thanks.
cheers
Chris Maunder
|
|
|
|
|
Less often than I used to; but often enough that I'm not willing to demote sites using it to only being viewable in The Crap Browser (along with such horrors as Java plugins and Optimized for IE6 ) yet. Maybe next year....
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|