- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
(comment*)NULLPTR;
Admin
elite pi? you mean, we are using pi for ordinary people and there is special pi for elite?
Admin
Admin
https://www.ceelectronics.com/elite-pi
That Elite Pi
Admin
Doesn't parse on Layer8
Admin
Hrm... I was aiming for a ComprehensionException on thread #86...
Although I do believe that actually is still legal C++.
Admin
You had better have that kind of money if you have that credit score.
Admin
I read that +-364 as an error margin of + or - 364 days
Admin
int getElitePi() { return 4; // chosen by fair dice roll. // guaranteed to be random. }
Admin
You forgot to null-check incase a null-comment gets injected and we got one at the index 0 already
Admin
A net worth like that is easy if you're talking Zimbabwe dollars.
Before the Zim central bank demonitized them after a severe bout of self-inflicted hyperinflation, the central bank would exchange them into USD at the rate of 35 quadrillion Zim dollars for one US dollar.
Assuming his Quicken is configured for Zim dollars Christopher K.'s net worth is about 9 US cents. Or was back in 2015 just as the Z$ was demonitized.
I used to have a big stack of Ecuadorian 100 Sucre notes. They were almost exactly the size of US currency and the elaborate "100" printed in the corners was very similar to the then-current US $100 bill with the small centered portrait. They cost me about 5 cents each at the street exchange rate. The colors and other decorations were all wrong so it'd never pass as US currency except maybe to a blind person.
But they did make cool-looking bookmarks with those funky engraved [100]s sticking out the top of my Knuth or whatever. They also light cigars with a certain flourish. I finallly used them all up a few years ago.
Admin
So you have doubled the number of exceptions we should consider to be thrown by the function. If given anything, it generates a Stack Overflow exception. If given a NULL pointer, it generated a Null Pointer exception. It will be using a pretty small stack frame, so the Stack Overflow might take a while and will not leave any room for an Exception to be put on the stack.
The optimizer might be able to notice the invariant condition and optimize away the reasonable else clause, but leave the recursive call. Then the optimizer could notice that a recursive call has no exit condition and generate a warning. One can but hope.
Admin
The real WTF is that no installation involving a screwdriver, five different kinds of screws, a leveler, wiring, and a drill can be completed in two minutes. Not even opening the box.
Admin
I mean “just a few minutes.” I’d estimate at least several hours to install that video doorbell.
Admin
If elite pi is the number associated with elite circles, then… it's 23, right?
Admin
it legit took me like 5 minutes to install the ring doorbell
though that was the battery version, not the wired one
Admin
Elite Pi has extra decimal places that the regular Pi for the plebs do not have