|
Is this simply confusion with IS_A and HAS_A ?
|
|
|
|
|
I WOULDN'T EVEN NAME MY CONSTANTS LIKE THAT.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Those are concepts; not code.
|
|
|
|
|
I'm just messing with you.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
honey the codewitch wrote: But it leads me to weird things like "IsEnded" instead of "HasEnded" No criticism intended, but I use:
public bool Ended
{
get
{
bool value = false;
return value;
}
} I've never liked the IsCondition or HasThing naming style, probably because they have a whiff of Hungarian notation about them.
Software Zen: delete this;
|
|
|
|
|
when I'm in .NET land I adhere closely to the .NET naming conventions.
Over the years I've become far less about personal preference, and far more about when in Rome.
At best i tend to build on them rather than change them.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
honey the codewitch wrote: far more about when in Rome I have to do that a lot more now than I used to. My group has been down-sized from 17 to 5 people over the last 5 years, and so I get to maintain a fair amount of other folks' code. Sometimes it takes a shot of whiskey with a Zofran[^] chaser to stay consistent with how they did things, but as long as it pays the bills...
Software Zen: delete this;
|
|
|
|
|
I've had some good luck with Buddhism in terms of overcoming this.
Not trying to convert anyone - I'm not a buddhist myself, but my first serious boyfriend was and he drilled a lot of it into me when i was still impressionable.
The headshrinkers call it Dialectical Behavioral Therapy, but all it really means is just relax.
The world will keep turning no matter how people name things.
If I can understand it, then all is good. If I can't, then there is opportunity for growth in the challenge.
Or, more likely I'll just smash something.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
If a tree falls in the forest and no one hears it, is that a very risky situation for the hearing impaired?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Posting on a weekend? I see you've begun to branch out.
/ravi
|
|
|
|
|
Yes! And he's taking root on Sundays!
|
|
|
|
|
Perhaps he's turning over a new leaf?
/ravi
|
|
|
|
|
Taking after his father? The apple did not fall far from tree!
|
|
|
|
|
Yew guys
|
|
|
|
|
What can I say? We're firmly rooted in this kinda behaviour.
/ravi
|
|
|
|
|
Now don't pine - I was just trying to spruce things up.
|
|
|
|
|
Oaky-doaky
Software Zen: delete this;
|
|
|
|
|
If a tree falls in the forest and hits the H&S droid, is that a problem for anyone?
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
|
No, but it's still wrong.
Software Zen: delete this;
|
|
|
|
|
uh-oh: EmsiSoft's ransomware detector [^] has identified the malware as Phobos, and says decryption is not possible.
I assume this "gift" happened when I went to an internet cafe to print a document; unfortunately, I had to try 3 usb sticks to find the file I wanted to print.
post-mortem: a file named: 1500628164282.jpg
becomes: 1500628164282.jpg.id[4AF3C99A-2275].[checkcheck07@qq.com with an extension ADAME
I guess I am lucky the usb sticks ... now plugged in ... have not unleashed the demon on my laptop.
Does it mean anything that Win Defender gives these sticks an ok ?
weirdness is ...
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
Take a new image backup onto a new, clean media - do not plug your existing backups in until you have either confirmed the lappy is clear or wiped all the HDD's and then clean install / restored.
But ... Phobos isn't new - it's about a year old, IIRC, so I'd be surprised if any up-to-date detector missed it and that includes Defender.
Does Defender automatically scan all files on USB media? Or does it wait until you try to use it? (I'm not suggesting you try an experiment to find out, unless you do it in a VM / Sandbox for all the obvious reasons.)
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Thanks, Griff,
update: I found files on the laptop that had been scrambled; I've managed to delete all but two of them. Guess I am lucky they haven't locked me out yet ?
I did run the latest Win Defender on all 3 befouled usb sticks, and it found nada.
I assume, given the absence of any other .adames files on the laptop, and absence of ransom note, that the demon did not infest it.
cheers, Bill
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
modified 2-Dec-19 1:45am.
|
|
|
|
|
That's good news anyway!
I'd still do an image and scrub the sticks though.*
* Just because you're paranoid, doesn't mean a**holes aren't out to get you.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: I'd still do an image and scrub the sticks though I'd toss the sticks (after aggressive formatting with a hammer) rather than have the residual worry. My current "walking around" Flash drive is a SanDisk, USB 3.0, 128GB I bought at WalMart for $17.95.
Software Zen: delete this;
|
|
|
|