- 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
Somebody added 0.01 to 0.06 and got a number ever so slightly smaller than 0.07, computers(1) being what they are.
(1) By which I mean bad programmers, of course.
Admin
If we're going to be pedantic, there are two problems with the error message in the frist one.
The easy one is that a time interval is always between 1 and 24 hours or always not between 1 and 24 hours no matter what time unit you convert it to.
The other one is that frequency and interval have different dimensions. Frequency is not measured in hours or milliseconds, but 1/hours or 1/milliseconds.
Admin
is it that the error message seems to suggest that a conversion to milliseconds may alter the duration?
Admin
"24 is not between 1 and 24!" It is in SQL
Admin
I am BEGGING beer and applesauce guy to press "go to recipe". I need to see it.
Admin
Well, the legal agreement doesn't say anything about first born children so, I'd accept it, why not
Admin
The fridge is part of a scourge of crappy ML spreading across the world. If you thought people were efficient at bloating the internet with garbage, just wait until you see what content-generating neural net's can do!
Admin
For inputting fixed intervals, that seems unlikely, especially when nothing over 24h is allowed. But if you may enter months or other variable "units", thing like that could happen.
Admin
The first item is 3 WTFs in one!
The second item in the original post (Huntington sales tax) also looks like floating point error.
"Period", not "frequency".
Did they really want 1 to 24 hours, or 0 to 24 hours, or something like 0.00001 to 24.0000 hours?