|
Security for winio doesn't cost a penny.
Just never boot it up, and you'll be happier and safer.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
|
HDDs are mechanical: it's never a question of "if" it will fail, it'a always "when".
And I'm even more prone to losing files than a flaky HDD is...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Of course you're right! A good discipline maintaining images not only saves your behind in most cases when you are attacked by malware, but very importantly also in case of drive failures. And don't think SSDs are immune to failure. I have had two fail on me after a few years of service!
Get me coffee and no one gets hurt!
|
|
|
|
|
OriginalGriff wrote: I could have saved a fortune in security products. My tired eyes first read that as "I could have saved a fortune in sanitary products." I laughed because it was still applicable.
It was broke, so I fixed it.
|
|
|
|
|
And the field name?
.
.
.
.
.
.
non_zero_claim_count
And this from the docs of a company that scores your insurance claim risk.
Even more amusingly, if you have no claims, you leave the field blank!
Marc
Latest Article - Merkle Trees
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
|
|
|
|
|
It would be nice to know the history of how it got to that point...
Was it designed as, "This field must have a non-zero value", and then the business changed?
I'm encountering items like that on a daily basis with the project I'm working with - what was asked for upfront is not what is being asked for now, so a name is a placeholder, but doesn't necessarily impart any description of actual use.
|
|
|
|
|
Tim Carmichael wrote: Was it designed as, "This field must have a non-zero value", and then the business changed? We have lots of stuff like that. Display names change often and is often too much work for what it's worth to rename the actual field. Of course we never name a field with the business logic embedded into the name. That seems weird to me.
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.
|
|
|
|
|
Marc Clifton wrote: non_zero_claim_count
Perfect!
Provides valuable ambiguity so you can wonder.
Here are some other Top Hits created by Cluless-Dev:
var ThisIsTheOne = 5;
bool DoesTheThingWithAResult(){
}
void DoesTheThingWithoutAResult(){
}
|
|
|
|
|
I can't help but ponder that simply using "claim_count" would be enough, for an intelligent developer.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Well, which is it? non_zero or (greater than or equal to zero) ?
|
|
|
|
|
Exactly.
And why even use a Boolean, if the number of claims can be any integer above -1?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Isn't it obvious? It makes perfect sense! It's the number of non-zero value claims, so it can be zero if there have been no claims or if the claims were for zero value.
(I must have been working in my current contract too long if they've got me thinking the same way they do..
Now is it bad enough that you let somebody else kick your butts without you trying to do it to each other? Now if we're all talking about the same man, and I think we are... it appears he's got a rather growing collection of our bikes.
modified 31-Aug-21 21:01pm.
|
|
|
|
|
Having declined a contract refactoring 1000s of spreadsheets that ran a major Oz insurance company I am not surprised by anything they do. A few years later said company went tits up in a major scandal.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
The Cult - She Sells Sanctuary[^]
Saw a local band play this classic last week.
Of course the cover didn't come anywhere near the original.
Without a doubt one of my favorite tracks ever
|
|
|
|
|
If cats are carnivores, are dogs nomnomnomnivores?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Do vegetarian dogs eat bark?
... such stuff as dreams are made on
|
|
|
|
|
Dunno, but this one is a homnivore [^]
|
|
|
|
|
Been there, done that. When I was a kid working a paper route, a police officer's retired K-9 (a large German Shephard) decided I needed to be restrained one time. He did so by wrapping his jaws around my left buttock and refusing to let go until the cop came out of his house and pulled him off me.
I had phenomenal bruises and teeth marks in places you don't want phenomenal bruises and teeth marks .
Software Zen: delete this;
|
|
|
|
|
trucknivores?
Sin tack
the any key okay
|
|
|
|
|
That one was ruff around the edges.
"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
|
|
|
|
|
My daughters' dog is an omnivore - it eats slippers, underwear, and anything else it finds. It will occasionally even eat its dog food.
(Changing the dog food hasn't worked, and my daughters have made it clear that in a showdown between me and the dog - the dog wins. )
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
|
|
|
|
|
I don't know, but my dog and I both like the taste of roasted herbivores
CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
This makes you either a cornivore or a cornibore.
|
|
|
|
|
I have noticed that sometimes we are given 10 points on a up vote on articles while sometimes we get higher points on a vote, how this actually works?
|
|
|
|