- 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
I'll bet it is traced back to the frist number of an array being 1 instead of 0 in Microsoft Access VBA.
Admin
off-by-one-error (like this frist post.)
Admin
"Now, this isn't particularly shocking, and honestly, probably wasn't even a terrible idea ..."
You having a bubble?
Admin
How does the Access database handle model year halves and quarters? And yes, that's a thing with cars.
Admin
Typo: recnetly.
Admin
Well actually it's a good thing they have it as a lookup table, and not an INT column, because it's trivial to add a row for "2022.5" and what not, but they would have been out of luck had they went with an INT column.
Admin
Wild guess: The case for the 2022 model was hardcoded in the code as a particular case.
Now I'm worried. Does the code start use the ModelYearAbbr to find the ModelYear, or the other way around? In either case, it's a matter of adding or subtracting 2000, so the code could just do that on the fly rather then looking in the database. Of course, that solution would crash in year 3000, but hey, 1000 years should be enough to refactor the bad code and bad database, right? Right?
Admin
"Down that path lies an eldritch madness, a cosmic horror that would cause our very souls to bleed." Someone had an emo phase growing up! (or vampyre??)
Admin
Frist!
Admin
This is common in data warehouses (though not in OLTP databases.) You'll have a DateDimension table that also has columns pre-computed for year, month, day, day of week, day of year, etc. That way you can just join a foreign key then filter quickly.
Admin
It crashes in 3000 because you cannot subtract 2000 from 3000?
Admin
Admin
Smells like someone in 2004 thought "I'm sure someone will upgrade this in 18 years".
I love finding code where it's not surprising at all that there is a bug, but it's completely bewildering that it worked for a year when it was clearly broken.
Admin
Smells like someone in 2004 thought "I'm sure someone will upgrade this in 18 years".
I love finding code where it's not surprising at all that there is a bug, but it's completely bewildering that it worked for a year when it was clearly broken.
Admin
Ah yes, the only thing more frighting than "This doesn't work, but it should work, what am I missing":
"This works, but it shouldn't work. WHY DOES THIS WORK. WHAT AM I MISSING. WHAT WILL I BREAK WHEN I FIX THIS."
Admin
"Smells like someone in 2004 thought "I'm sure someone will upgrade this in 18 years" More like, "won't be my problem!"
Back in 1994 working for a now-defunct big box retailer, we wanted to show a version number on the screen, based on release date. It used an Alpha for the quarter of the year, and two numerals for the day within that quarter. Would have worked for 6 1/2 years until Y2K. We went with it - the reasoning - "I won't be here then.."
Admin
There are undoubtedly a lot of guides, programs, and services available to students today that help them learn and achieve academic success. Term papers, research papers, essays, and dissertations, for instance, can all be written with a write my dissertation https://www.bestessay.com/write-my-dissertation/ . Although I'm not sure if using these services will increase pupils' understanding, each person has the freedom to choose
Addendum 2022-09-29 19:16: There are undoubtedly a lot of guides, programs, and services available to students today that help them learn and achieve academic success. Term papers, research papers, essays, and dissertations, for instance, can all be written with a write my dissertation . Although I'm not sure if using these services will increase pupils' understanding, each person has the freedom to choose