Search
TEN SECOND BUZZ
- Open Mic for the week of 3/18/2024March 18, 20246 Comments
- From Punchbowl News: More Government Shutdown Cowbell, AgainMarch 18, 20241 Comment
- From WaPo: Don Lemon Films First Episode for X with Elon Musk, Promptly FiredMarch 14, 202410 Comments
- Biden and Trump Mathematically Secure Party NominationsMarch 13, 2024No Comments
- From NY Times: Trump Was Against TikTok Before He Was For ItMarch 12, 20244 Comments
Features
Hot Posts
A Message From Devcat
We have been experiencing some system resource issues. We believe the problem may be resolved, but if it is not please bear with us.
Recent Comments
- DavidTC in reply to Koz on Fani Willis Survives, But Not UnscathedOk, so what? Is that a crime? I don’t think so. That specific crime would be GA § 16-4-7. Criminal S…
- Brandon Berg on From NBC News: Virginia bans public universities from considering legacy in admissionsI've been told by people who are much better than I am that, as an opponent of affirmative action---…
- DavidTC in reply to Dark Matter on Open Mic for the week of 3/18/2024No, delaying sure as hell doesn't help. Because delaying requires him paying $450 million bond, wher…
- Koz in reply to Dark Matter on Fani Willis Survives, But Not UnscathedIt surprises me a little bit how many people are willing to say this sort of thing. Just to mention…
- Dark Matter on Fani Willis Survives, But Not UnscathedShe was clearly doing a favor to her boyfriend, i.e. help make him famous by being involved in a big…
- Dark Matter in reply to Jaybird on Fani Willis Survives, But Not UnscathedRemove the boyfriend and call it a day.
- Dark Matter on From NBC News: Virginia bans public universities from considering legacy in admissionsThat's the University of Richmond and the University of Virginia.
- Dark Matter in reply to Philip H on Open Mic for the week of 3/18/2024Toxic doesn't matter. What matters is he's probably over leveraged and under water. There are insura…
- DavidTC on Kacey Musgraves Does What Taylor Swift Hasn’t: Grow UpI admit I don't really pay attention to any of this, besides sometimes listening to Taylor Swift, bu…
- Koz in reply to Pinky on Fani Willis Survives, But Not UnscathedHopefully not. Until they have more than what they have shown so far, this shouldn't see a jury.
Comics
-
March 19, 2024
-
March 18, 2024
-
March 17, 2024
-
March 16, 2024
More Comments
- Koz in reply to North on Fani Willis Survives, But Not Unscathed
- Pinky in reply to North on Fani Willis Survives, But Not Unscathed
- North in reply to Koz on Fani Willis Survives, But Not Unscathed
- Koz in reply to North on Fani Willis Survives, But Not Unscathed
- Pinky in reply to LeeEsq on A Literal Bloodbath?
- Philip H in reply to Michael Cain on Open Mic for the week of 3/18/2024
- Michael Cain in reply to Dark Matter on Open Mic for the week of 3/18/2024
- Dark Matter in reply to Philip H on Open Mic for the week of 3/18/2024
- North in reply to Chip Daniels on Fani Willis Survives, But Not Unscathed
- Chip Daniels in reply to North on Fani Willis Survives, But Not Unscathed
- North in reply to Philip H on Fani Willis Survives, But Not Unscathed
- Philip H on Open Mic for the week of 3/18/2024
- Philip H in reply to North on Fani Willis Survives, But Not Unscathed
- Jaybird on Music Monday: The Roland S-1 Tweak Synth
- North in reply to InMD on Fani Willis Survives, But Not Unscathed
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