Search
TEN SECOND BUZZ
- Open Mic for the week of 11/18/2024November 18, 20243 Comments
- Misinformation (In Practice)November 16, 20242 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, 2024240 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
- Saul Degraw in reply to Derek S on How Republicans Can Save Trump’s PresidencyThe absurdity is the point partially. Trump is trying to humiliate and show he is boss and seeing ho…
- Jaybird in reply to North on How Republicans Can Save Trump’s PresidencyI think that there are a lot of places that don't want to pay for more immigrants than they need. Th…
- Derek S in reply to Slade the Leveller on How Republicans Can Save Trump’s PresidencyThis is a much better answer. For the department of Education this is not bad as they have 4.4k empl…
- Saul Degraw on How Republicans Can Save Trump’s PresidencyTrump apparently wants to do court martials: https://www.nbcnews.com/politics/politics-news/trump-tr…
- Derek S in reply to CJColucci on How Republicans Can Save Trump’s PresidencyAgreed, they don't because they pick from inside the swamp.
- North in reply to Jaybird on How Republicans Can Save Trump’s Presidency1) Martha's Vineyard had all the workers they were willing to pay for which is why most of the immig…
- KenB in reply to Jaybird on Open Mic for the week of 11/11/2024Maybe he anticipated there would be a pledge drive starting soon and decided to switch the station.
- Jaybird in reply to DensityDuck on Misinformation (In Practice)"Trump said that the Central Park Five should get the death penalty." "But he didn't run on that! It…
- InMD in reply to Saul Degraw on How Republicans Can Save Trump’s PresidencyProbably also true. You have to be a truly desperate and undignified creature to serve Trump. I can'…
- DensityDuck on Mindless Diversions Extra: The Audience That Wasn’t Therehttps://www.ign.com/articles/sony-says-it-should-have-done-user-testing-and-internal-evaluation-earl…
Comics
-
November 17, 2024
-
November 16, 2024
-
November 15, 2024
-
November 14, 2024
More Comments
- DensityDuck on Misinformation (In Practice)
- Saul Degraw in reply to InMD on How Republicans Can Save Trump’s Presidency
- InMD in reply to Jaybird on How Republicans Can Save Trump’s Presidency
- J_A on Ordinary Times Needs Your Help
- Saul Degraw on How Republicans Can Save Trump’s Presidency
- Jaybird in reply to North on How Republicans Can Save Trump’s Presidency
- CJColucci in reply to InMD on How Republicans Can Save Trump’s Presidency
- North in reply to Jaybird on How Republicans Can Save Trump’s Presidency
- North on Ordinary Times Needs Your Help
- Marchmaine in reply to Slade the Leveller on Open Mic for the week of 11/11/2024
- Jaybird in reply to North on How Republicans Can Save Trump’s Presidency
- Slade the Leveller in reply to Slade the Leveller on How Republicans Can Save Trump’s Presidency
- Slade the Leveller in reply to Derek S on How Republicans Can Save Trump’s Presidency
- Slade the Leveller on Ordinary Times Needs Your Help
- North in reply to InMD on How Republicans Can Save Trump’s Presidency
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