Search
TEN SECOND BUZZ
- Open Mic for the week of 11/18/2024November 18, 20243 Comments
- Misinformation (In Practice)November 16, 2024No Comments
- Not Satire: The Onion Buys Infowars with Help from Sandy Hook FamiliesNovember 14, 20245 Comments
- An Election Map that Asks “What if Only Educated People Voted?” and a Follow-up QuestionNovember 13, 202429 Comments
- Open Mic for the week of 11/11/2024November 11, 2024239 Comments
Features
Hot Posts
A Message From Devcat
Devcat is watching over, but if you notice any problems contact the editors and Devcat will be notified and deployed immediately.
HELP ORDINARY TIMES
Recent Comments
- Jaybird in reply to North on How Republicans Can Save Trump’s Presidency1) How did Martha's Vineyard handle the deflationary pressure? 2) There is no "they". There is Trump…
- CJColucci in reply to InMD on How Republicans Can Save Trump’s PresidencyWell, yes. That's why I said "Normal Presidents."
- North in reply to Jaybird on How Republicans Can Save Trump’s Presidency1) So massively boost inflationary pressures, also I'd note he'll have to change the laws to do that…
- North on Ordinary Times Needs Your HelpI've also thrown some money in the hat.
- Marchmaine in reply to Slade the Leveller on Open Mic for the week of 11/11/2024Thanks for linking that... I'd never heard of such a program -- glad to see it living in the wild. B…
- Jaybird in reply to North on How Republicans Can Save Trump’s PresidencyWell, for what Trump should do differently than Biden: 1) On Immigration, he should pull a Martha's…
- Slade the Leveller in reply to Slade the Leveller on How Republicans Can Save Trump’s PresidencyExperience at the size of the dept., that is.
- Slade the Leveller in reply to Derek S on How Republicans Can Save Trump’s PresidencyI had a longer comment that I must not have posted, but here's the summary. The Constitution doesn't…
- Slade the Leveller on Ordinary Times Needs Your HelpDone!
- North in reply to InMD on How Republicans Can Save Trump’s PresidencyNope, I imagine they're maybe gonna knife Gatz because even the GOP in DC despises him but otherwise…
Comics
-
November 17, 2024
-
November 16, 2024
-
November 15, 2024
-
November 14, 2024
More Comments
- North in reply to Jaybird on How Republicans Can Save Trump’s Presidency
- Jaybird in reply to CJColucci on How Republicans Can Save Trump’s Presidency
- Saul Degraw on Open Mic for the week of 11/18/2024
- Saul Degraw on How Republicans Can Save Trump’s Presidency
- InMD in reply to CJColucci on How Republicans Can Save Trump’s Presidency
- CJColucci in reply to Derek S on How Republicans Can Save Trump’s Presidency
- CJColucci in reply to Jaybird on How Republicans Can Save Trump’s Presidency
- Jaybird in reply to Brandon Berg on Open Mic for the week of 11/11/2024
- Brandon Berg in reply to Jaybird on Open Mic for the week of 11/11/2024
- John Puccio in reply to DensityDuck on How Republicans Can Save Trump’s Presidency
- Saul Degraw on Open Mic for the week of 11/18/2024
- Jaybird in reply to DensityDuck on How Republicans Can Save Trump’s Presidency
- Derek S on How Republicans Can Save Trump’s Presidency
- DensityDuck in reply to Dark Matter on Open Mic for the week of 11/11/2024
- Derek S in reply to Slade the Leveller on The Four Stages of Post-election Cruelty
This is both brilliant and profoundly stupid.Report
Many years ago I was hired to port a large complex piece of nonlinear optimization Fortran code from an IBM mainframe system to a CDC system. In those days before IEEE 754, CDC’s floating point unit included a special bit pattern that represented the value “indefinite”. There was still a sign bit, so both positive and negative indefinite were things. Executing an instruction that produced an indefinite result — most commonly, dividing by zero — didn’t generate a hardware error. Attempting to do something with an indefinite value — say, executing 1+indefinite — did generate a hardware error. One other difference between the IBM and CDC machines was important. IBM zero-filled memory and then loaded the program, so uninitialized floating point data had the value zero. CDC filled memory with negative indefinite and then loaded the program, so uninitialized floating point data had the value negative indefinite.
Did I mention that the code had been buggy as hell on the IBM hardware? So not only was I porting it, I was trying to debug it as well. After I got it to compile, I tried running it on the first of the collection of test problems. Hardware fault, attempt to use negative indefinite. Working my way backwards, I eventually found how that particular variable had been set to negative indefinite: several pages away in the code, there was a divide-by-zero that only manifested later. There were a whole raft of odd little errors in the code that produced indefinite values that were only exposed in a completely different place. Many of the errors would have been obvious on inspection if the graduate students who had written the code originally had used any sort of decent practices. But, those were still the days of “cowboy coding”.
The algorithm, and originally some of the code base, ended up in the Solver tool in Microsoft Excel. I still have the nonlinear programming textbook that had the test problems I was supposed to solve. A few years ago I set it up one of the problems that gave the code fits when I was working on it. Still failed in the same way that it had failed so long ago.Report
“What number did it produce?”
“N(ot)AN(umber).”
“Oh, I thought the output was a number.”
“It is. Its an IEE745 floating-point number.”
“OK, what number is it?”
“N(ot)AN(umber).”
“Whatever. You know, I don’t give a darn.”
“What?”
“I don’t give a darn.”
“Oh, that’s our shortstop!”Report
This type of discussion always reminds me of demonstrations about JavaScript and its (occasionally) absurd automatic type-casting:
Reportlinux> node
> '11' + 1
'111'
> '11' - 1
10
> [] + {}
'[object Object]'
> {} + []
0
>{} - {}
NaN
>
If you enjoyed this video, you might also like a book called Mathematics Made Difficult, by Carl E
Linderholm, which explains simple arithmetic by appealing to category theory. Unfortunately, it’s out of print and the cheapest copies I see go for about $100.Report
PDF copies are floating around the internet. Rather large, since they are basically a collection of pictures of the individual pages.Report