|
Yeah, I've seen code like that. Still do. Functions with 2,000+ (yes, two-thousand) lines in it. No gotos, but lots of nested if/while/for/switch/etc... statements. Truly awful. It didn't start life that way. It grew organically for over 20+ years as features were added to the product and bugs fixed. Nobody thought, hey, let's add small function with the necessary logic and call it from here. NOOOOOO. Gotta put it all right here. Gaaaaaaaaaaah! Amateurs.
Now imagine a whole file with 20 such functions in it. I don't have to imagine. I've seen it.
#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
|
|
|
|
|
MarkTJohnson wrote: Because the last bug fix caused it to blow up the Microsoft 5.1 C compiler. Too many nested if levels. Some time around 1980 there was an article, I believe it was in SIGplan Notices (SIGplan - the Special Interest Group for programming LANguages of the ACM), with a title "The rightward migration of source code". I wish I had saved a photocopy of that article! (That is: If you have got a copy of it, please tell!)
I make frequent use of 'break' and premature 'return' to avoid having to make printouts in landscape format (or today: so that the source code display won't require two screens side-by-side). I also repeatedly present my thoughts about extended flow constructs: A major justification for them is to reduce nesting levels, and to remove the few last traces of gotos. No one seems to have any interest in those ideas (with the exception of those having had access to them in the (proprietary) Planc language ).
|
|
|
|
|
If you are programming in C++ using Microsoft tools, you can use the traditional Visual Studio compiler. Or you can use LLVM as a front-end (ClangCL). Clang, clang, clang, went the compiler
Sorry, but that's what always goes through my head when I see something about the Clang compiler
|
|
|
|
|
Move over artificial intelligence, say hello to "organoid intelligence" (OI). "Uh, would you mind telling me whose brain I did put in?"
|
|
|
|
|
That might be useful...
Depending on whose brain they use, that will make a step back of several years
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Abby's
I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.
|
|
|
|
|
LastPass revealed more information on a "coordinated second attack," where a threat actor accessed and stole data from the Amazon AWS cloud storage servers for over two months. I told you DevOps was dangerous
edit: fixed typo
modified 28-Feb-23 14:20pm.
|
|
|
|
|
Quote: "The threat actor was able to capture the employee's master password as it was entered, after the employee authenticated with MFA, and gain access to the DevOps engineer's LastPass corporate vault," reads a new security advisory published today.
"The threat actor then exported the native corporate vault entries and content of shared folders, which contained encrypted secure notes with access and decryption keys needed to access the AWS S3 LastPass production backups, other cloud-based storage resources, and some related critical database backups." Ouch...
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
In my experience, if a single programmer builds something, it’s often hard for others to maintain later. Who was that masked developer?
|
|
|
|
|
Kind of mandatory: xkcd: Dependency[^]
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
And when 10 build something, it's even harder.
|
|
|
|
|
In my experience, no matter how many developers a company has, only one developer knows about a given project.
So, in almost all cases it is a lone developer ...
|
|
|
|
|
Microsoft announced 2023's first major batch of updates for Windows 11, part of the company's plan to release new Windows features "when they are ready" instead of waiting for the big annual update in the fall. If you're living in the moment
|
|
|
|
|
Unhappy with OpenAI, which he co-founded, Musk is reportedly in talks with recently departed DeepMind AI researcher Igor Babuschkin. * Chat window may experience sudden acceleration and/or braking
|
|
|
|
|
Is the new AI going to replace him tweeting?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Why should you try the latest preview? Because it’s like living in the future – you get to try all the capabilities that we’re actively working on for the upcoming 17.6 release, influence their development early by providing your suggestions and by reporting any problem you encounter. "Don't you fret. We're living in the future, and none of this has happened yet"
|
|
|
|
|
A new report on the antivirus market from Security.org reveals that almost three-quarters of Americans still strongly believe computers need antivirus to protect their devices and 61 percent are relying on free options like Microsoft Defender. And 61% of them don't know they're running antivirus software
And a few more percent after it gets auto-installed on some machines
|
|
|
|
|
Kent Sharkey wrote: And 61% of them don't know they're running at least 3 different antivirus software FTFY.
|
|
|
|
|
What can I say? I was paying for one, but the f***er kept popping up ads for junklock. (lifelock) So...
|
|
|
|
|
So who's paying Security.org? Norton or McAfee? Defender is generally lighter weight on Windows and is on par with paid AV solutions at detection, cleaning, and false positives. Where it falls down is centralized management, but Microsoft has a solution for that that uses the Defender AV engine on the client.
|
|
|
|
|
One of the new tools Google is introducing is the ability to create assets for your ads using Google AI. No one is clicking your ads? "It can only be attributable to human error."
|
|
|
|
|
But why do we need a successor and where did this idea come from? Right after all the other C++ killers replace it
|
|
|
|
|
But won't that increase our carbon footprint?
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
OpenAI, an AI research and deployment company financially backed by Microsoft, has published a blog post urging caution and foresight for the development of artificial general intelligence (AGI), which is defined as AI that can perform any intellectual task that humans can. But, we'll keep working on creating it anyway
|
|
|
|
|
People have been saying this for decades.
There have been dozens of movies illustrating the point, like 2001: A Space Odyssey and Terminator.
Meanwhile, we're not even close to "true" artificial intelligence yet, it's all machine learning, i.e. statistics.
If people put as much effort into AI as in these types of publications we'd have an AI that could solve all of humanity's problems by now
|
|
|
|