|
The only place I really see Hungarian Notation at work is in our databases; and that is limited to the names of tables and views.
As for this article... While this is mostly about one person's opinion the opening code sample has a bigger vulnerability; and we wonder why SQL Injection still exists
public class clsPerson
{
var strName = txtName.Value;
public fnGetByName()
{
var strQuery = "SELECT * FROM tblPeople WHERE Name = " + strName;
}
}
Director of Transmogrification Services
Shinobi of Query Language
Master of Yoda Conditional
|
|
|
|
|
I know some C# developer who - after reading some chapters of Uncle Bob's Clean Code - decided to omit the "I" in interface names, but to add "Impl" for classes implementing an interface...
Oh sanctissimi Wilhelmus, Theodorus, et Fredericus!
|
|
|
|
|
Quote: A bonus third level is that interfaces should be used like classes. They are, after all, abstractions of those classes. Should be used like Classes: over my dead keyboard. This is like saying a curly tail is an abstraction of a pig
I find Hungarian useful in naming Controls because the VS Property Browser (F4) shows them in alphabetical order.
«Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot
|
|
|
|
|
Pick a style guide, and stick to...
... No, on second thoughts, burn the lot of 'em, and do what's best for you and your colleagues.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Different styles are like different sauces... perfect for spaghetti code
Director of Transmogrification Services
Shinobi of Query Language
Master of Yoda Conditional
|
|
|
|
|
Google emails users: "the following apps may no longer be able to access your data." They've run out of their own apps to shut down?
Yes, that's also the featured comment, but I came up with it independently.
|
|
|
|
|
Slap on some solar panels and a control board and it flies for a half-second. Then we mount the autocannon on it for real fun!
Black Mirror as documentary, part B.
|
|
|
|
|
Nuthin' special.
Doctor Doom had these in the 1960s.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
The software update was supposed to improve safety after the jets were grounded worldwide following two fatal crashes. Who needs tests when you can just keep poking at the code until the planes stop crashing
We're Agile!
|
|
|
|
|
Quote: Boeing has traced the issue to a microprocessor and how the chip handles data Is that the new way of saying 'we found a bug in the code'?
"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
|
|
|
|
|
I know I blame Intel whenever a bug is found in my code.
TTFN - Kent
|
|
|
|
|
The old 'It's a hardware problem' defense, a classic from way back.
"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
|
|
|
|
|
Quote: Pilots testing the MCAS update in a simulator, however, found that it took them too long to recover the airplane if the software was trying to avoid a stall
My god, how hard is it to have a button that says "screw you, MCAS, give me control?" OK, yet another button, but there must be other alternatives equally simple. But what do I know?
Latest Article - A 4-Stack rPI Cluster with WiFi-Ethernet Bridging
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
|
|
|
|
|
Marc Clifton wrote: But what do I know?
More than some Boeing engineers, apparently.
TTFN - Kent
|
|
|
|
|
From my understanding there is a switch/toggle to turn off MCAS.
The problem is that if you switch off MCAS while the trim is down the only way to retrim the aircraft is with the trim wheel, as using the trim switches on the yoke switch MCAS back on. That means if you switch off MCAS when the aircraft is in a dive you have 250+ turns of that wheel to make before the trim is back to its neutral position.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
Also, the higher the airspeed, the more difficult it is to move that wheel. Based on multiple news reports, at any rate.
|
|
|
|
|
They'll find a missing hyphen in the code.
|
|
|
|
|
The goal of this post is to explore some concrete applications of this strange new operator and its associated counterpart, the operator== (yes it has been changed, for the better!), all while providing some guidelines for its use in everyday code. And I think it's gonna be a long, long time before I use this one
|
|
|
|
|
I'm not the programmer they think I am at home...
Actually, this is pretty cool. <=>!!
#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
|
|
|
|
|
The latest version of the bot detector reCaptcha is invisible to users and has spread to more than 650,000 websites. It’s great for security—but not so great for your privacy. You had me at Google and 'dark side'
They have cookies!
|
|
|
|
|
In the days of ReCaptcha mk 1 (type out the non-words written in illegible text) I used to think that it was the worst thing ever.
Then came ReCaptcha mk 2 (tick the pictures which have x in them, even though they arguably all do or don't) I was forced to update that opinion.
Now we have one that assumes that anyone with a Google account is human and anyone without one is not and I sense that I'll soon be updating that opinion again.
Taking something awful and successfully making it worse with every single iteration is clearly a skill of sorts, but it's not one that should be inflicted upon the public.
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
|
So just block the recaptcha servers altogether.
Sites will rethink things, once they see their revenues dropping because the recaptcha script is not letting anyone in.
Thinking something is bad doesn't change it. You have to put your money where your mouth is.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
I hate google captcha now. I will hate it even more in the future I guess...
No more Mister Nice Guy... >: |
|
|
|
|
|
I don't use reCaptcha on my website anymore. Tried https://hcaptcha.com/ instead. Working pretty well so far and I even have some additional income, haha.
|
|
|
|