|
It is written in longhand C as
if (expr < 0) goto lab1;
else if (expr == 0) goto lab2;
else goto lab3; If you accept use of jump labels at all, that is.
The C version is not as compact as Fortran, but you could easily make a #define for putting it on a single line.
Religious freedom is the freedom to say that two plus two make five.
|
|
|
|
|
well for sure. and for the record I despise #define/macros unless they are very very simple. I've seen some developers put darn near full functions in them. I never understood why you would do that, but whatever.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
"millennium"
A little bold there . But anyway, I've always been astonished at the amount of code that is our there written in "legacy" languages that run the world. Cobol, FORTRAN, PL1, God forbid Pascal. I'm in the process this year of proposing a system re-write of a FORTAN manufacturing system before everybody that knows about it is dead, including myself. I dug into this 10 years back or so, and I realized that 40% of the code is user input, 20% is actually processing data, and the last 40% is report generation. Moving this to a modern architecture will likely reduce the code base by 75%.
Meanwhile this company has spent millions trying to create an equivalent system. I'm shooting for retirement income
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
My First computer language was also FORTRAN, though a bit earlier in 1965. The first run of my first program caused a core dump because I left out a minus sign. I had no idea what that was at that time, but it seemed to excite the people assisting us in the lab. The corrected program got the results I wanted. Haven't used it since my student days though.
|
|
|
|
|
Amarnath S wrote: FORTRAN comes in the Top 10
I wouldn't get too excited.
If you look at the chart Fortran has been bubbling along at about the same rate for decades. The rate of change around level 10 is at tenths of a percent. Visual Basic is almost twice as high and COBOL is only 0.6% lower.
Matter of fact Visual Basic percentage change went down in the in the last month than the entire value for Fortran.
If you want to get excited then C, C++, Java and C# together dropped an amazing 10%.
|
|
|
|
|
... headed
Quote: Receive packages at your convenience How will they know when I'm in there?
|
|
|
|
|
From the giant invisible flashing sign on the roof. That's the only explanation I have for why they always turn up when I'm in there>*. I suspect they have special goggles to spot when it's on.
* My roof, my convenience, obviously.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Amazon : Alexa, is Richard home ?
CI/CD = Continuous Impediment/Continuous Despair
|
|
|
|
|
Alexa: "I found 5,000 results for 'ice richer dome'; ordering the ten most expensive for express delivery now."
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
SPAM?
diligent hands rule....
|
|
|
|
|
|
Wordle 1,053 5/6
🟨⬛⬛🟨🟨
⬛🟩🟩🟩🟩
⬛🟩🟩🟩🟩
⬛🟩🟩🟩🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,053 4/6
🟨🟨⬜⬜⬜
⬜⬜⬜🟩🟨
⬜🟩🟩🟩🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,053 4/6
🟨⬜⬜🟩⬜
⬜🟩🟩🟩🟩
⬜⬜⬜⬜🟨
🟩🟩🟩🟩🟩
Didn't fall for it this time.
|
|
|
|
|
Wordle 1,053 5/6
⬜⬜⬜⬜🟨
🟨⬜⬜🟨🟨
🟨🟩⬜⬜🟨
⬜🟩🟩🟩🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,053 3/6*
⬜⬜⬜🟨⬜
🟨🟨⬜⬜⬜
🟩🟩🟩🟩🟩
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 1,053 4/6
⬜🟩⬜⬜🟨
🟨🟩⬜⬜🟩
⬜🟩🟩🟩🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
⬜⬜⬜⬜⬜
⬜⬜⬜🟨🟨
⬜⬜🟨🟨⬜
⬜🟩🟩🟩🟩
🟩🟩🟩🟩🟩
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 1,053 3/6*
🟨🟨⬜⬜⬜
🟨⬜⬜⬜🟨
🟩🟩🟩🟩🟩
Happiness will never come to those who fail to appreciate what they already have. -Anon
And those who were seen dancing were thought to be insane by those who could not hear the music. -Frederick Nietzsche
|
|
|
|
|
Wordle 1,053 4/6
⬛🟨⬛⬛⬛
🟩⬛🟨⬛⬛
🟩⬛🟩🟩🟩
🟩🟩🟩🟩🟩
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 1,053 6/6
⬛⬛⬛⬛🟨
🟨🟨⬛⬛⬛
🟨⬛🟩⬛🟩
⬛🟩🟩🟩🟩
⬛🟩🟩🟩🟩
🟩🟩🟩🟩🟩
Jeremy Falcon
|
|
|
|
|
Wordle 1,053 4/6*
⬛🟨⬛⬛⬛
🟨⬛⬛⬛🟨
⬛🟩🟩🟩🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Microsoft...please fix this. Is anyone else seeing this behavior?
I'm using the "new" Outlook client that is now bundled nowadays with a default Windows 10 installation. It's much better than the previous generic email client that was included, but this in particular bothers me.
The client downloads the content of my inbox. Some messages are marked as read, others as unread. I manually mark everything as read. I don't even shut down the app, I leave it running in the background all the time.
When the mailbox is refreshed, the messages that I explicitly marked as read revert back to unread. It's like it's not even relaying the fact that messages are now read back to the server, so the refresh undoes my changes.
THIS IS ONLY FOR GMAIL ACCOUNTS. I'm also using the same client to fetch accounts from hotmail.com, outlook.com, yahoo.com, and those all work correctly. Only the Gmail accounts exhibit this behavior.
Has anyone else seen this?
[Edit]
I suspect if I go to the actual gmail site and mark the unread items as read, the local account might fix itself (I haven't tried it yet), but the whole point of having a client that can manage multiple mailboxes is to avoid using the web interface (yuck!).
[Edit 2]
WTH...if I shut down the app and reload it, it now remembers I've changed messages from unread to read. So, it doesn't bother persisting that until you shut down, and refreshing the mailbox takes precedence over what the client is tracking...?
|
|
|
|
|
dandy72 wrote: THIS IS ONLY FOR GMAIL ACCOUNTS. I'm also using the same client to fetch accounts from hotmail.com, outlook.com, yahoo.com, and those all work correctly. On a related note... aren't you the same guy who only uses one browser so only one company is tracking you? I hate to be the bearer of bad news...
|
|
|
|
|
You can gather a lot more by snooping on the browser than just by snooping on email.
Besides, I only have a gmail account because for all intents and purposes, you can't setup an Android phone without one[*].
And no, I don't browse on my phone. I keep as much of it as possible separate from what I do on a PC.
[*] I miss my Windows phone.
|
|
|
|