|
I started using C# / .NET pretty much the minute it was released.
Most of the people I work with were barely out of diapers.
|
|
|
|
|
Moore’s and Metcalfe’s conjectures are taught in classrooms every day—these four deserve consideration, too What about Dredd's Law?
|
|
|
|
|
Google’s Project Zero has published a report showing that organizations took less time to address the zero-day vulnerabilities that the team reported last year. Sadly, they also seem quicker at adding new ones
|
|
|
|
|
To make more successful technical calls and advance careers, engineers actually need to develop better strategic decision-making skills — not just technical execution skills. Or maybe not. I can't decide.
|
|
|
|
|
C-like languages (C, C++, Java) can do many things, but over the decades nothing much has changed with the inadequacies of some of their control structures. Avoid ending lines in semi-colons?
|
|
|
|
|
I remember learning Fortran in college. I also remember disliking having to declare all variables at the top of the routine, and back then everything had indentation requirements (although I never used punch cards). C was a breath of fresh air. And C++ was the monkey's tail!
|
|
|
|
|
David O'Neil wrote: And C++ was the monkey's tail! And now the monkey has us by our tail!
|
|
|
|
|
David O'Neil wrote: I also remember disliking having to declare all variables at the top of the routine My immediate response is "That can't be Fortran that you are talking about??"
Fortran was the language that made me hate implicit declaration of variables. "GOD is real unless declared integer"! (IMPLICIT NONE is the only statement related to implicit declaration that I like.) If you want me to do any programming job in a language with implicitly declared variables, I will demand double pay ...
Even Fortran guys have come to their senses nowadays. On the other hand, during the discussions around what to include in Fortran 77, C.A.R Hoare remarked that "I don't know what programming languages will look like in year 2000, but they will be called Fortran. He hit the nail on the head.
|
|
|
|
|
Also, contrast that to this old article: On Choosing a Language for the User Client Functions. Trying to figure out if Fortran has the equivalent of virtual functions, and came across it. It seems modern Fortran does have some OO abilities, but did not see the answer to my virtual question.
|
|
|
|
|
I took Fortran after BASIC, to say it was a breath of fresh air would be an enormous understatement! Not dissing BASIC, the instructor I had seemed to encourage the spaghettification of code, to the point of insanity, it was my first programming class and it was painful. I had a math instructor who talked me into taking a Fortran class, wow what a (pleasant) eye opener! This has nothing to do with C or C++, but sometimes I think Fortran gets a bad rap.
"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
|
|
|
|
|
Make pretty pixel art on punch cards?
And of course you can exit a nested loop!
try
{
for (i=1; i<=10; i=i+1)
for (j=1; j<=10; j=j+1)
for (k=1; k<=10; k=k+1)
if (x[i][j][k] == 0)
throw new LoopyExit();
}
catch(LoopyExit)
{
}
Stunningly, I (and I suspect "we") have all seen this done, but of course not by us!
|
|
|
|
|
I was also tempted to reply something like this:
Quote: In C-like languages exiting from a deeply nested loop isn’t exactly trivial (without the use of goto, so don’t even go there).
exitloop = 0
for (i=1; i<=10 && !exitloop; i=i+1) {
for (j=1; j<=10 && !exitloop; j=j+1) {
for (k=1; k<=10 && !exitloop; k=k+1) {
if (x[i][j][k] == 0)
exitloop = 1;
}
}
}
Dumb. The dummy actually made a case for goto . So I will.
for (i=1; i<=10; i=i+1) {
for (j=1; j<=10; j=j+1) {
for (k=1; k<=10; k=k+1) {
if (x[i][j][k] == 0)
goto exitloop;
}
}
}
exitloop:
It is cleaner than his code. Don't be hung up over trivial bullshit, and get the job done. (Not that I would do it this way, but every tool has a use.)
|
|
|
|
|
Google has announced that it’ll shut down Currents, which was introduced in 2019 as a replacement for Google Plus for G Suite. It's the product so nice, they cancelled it twice
|
|
|
|
|
|
I’m shocked. Shocked! That this is going on!
TTFN - Kent
|
|
|
|
|
It's called an NFT because it's not "money".
Money in quotes there, since it is still fiat and not real money.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
|
2 hours?
I have no trouble with NFT's. At all. Just with the term "money".
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
I started it thinking, "I won't finish this - after all, he's preaching to the choir." I ended up finishing it because it was really well done, and always interesting. Learned some new stuff. He outlines how NFTs are definitely "Money Chasing Money".
|
|
|
|
|
The letter "k" is missing.
Oh sanctissimi Wilhelmus, Theodorus, et Fredericus!
|
|
|
|
|
The days are long gone when you can just shut something down for being stupid.
|
|
|
|
|
As witnessed by the plethora of absolutely stupid ads in the SuperBowl last night. Don't watch hardly any football, but went to my uncle's yesterday and saw it. God, they have become dumb!!! When I was a kid the ads were amazing and funny. Somehow it became a race to the bottom.
|
|
|
|
|
Photons Received: Webb Sees Its First Star – 18 Times – James Webb Space Telescope[^]
What looks like a simple image of blurry starlight now becomes the foundation to align and focus the telescope in order for Webb to deliver unprecedented views of the universe this summer. Over the next month or so, the team will gradually adjust the mirror segments until the 18 images become a single star.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Are those streaks Starlink satellites?
|
|
|
|
|
They'll eventually block out everything, because a pile of them were bricked by recent solar activity and will undoubtedly be replaced.
EDIT: I just realized that it must be Musk's secret plan for a Dyson sphere!
|
|
|
|