Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror

Comment: Re:We encountered a similar bug (Score 1) 50

by Megane (#49623115) Attached to: The BBC Looks At Rollover Bugs, Past and Approaching
I use MythTV as my DVR, and I use the OTA guide data from the broadcast signal. Twice a year I have to delete the entire contents of its guide database, because it doesn't handle the DST change properly. I don't know whether it's the guide data format itself not being able to handle it, or a bug in MythTV, but at least MythTV uses UTC time internally.

Comment: The 2038 bug may show up early (Score 1) 50

by Megane (#49623035) Attached to: The BBC Looks At Rollover Bugs, Past and Approaching

Thanks to the math required for date conversion, the 2038 bug may actually show up a couple of years early. How do I know? I tried setting the clock forward in an embedded system I wrote the code for. Its calendar actually seems to fail in 2036. I haven't tried it in a while, but I think I can't even set the date past January 2036. I didn't try to figure out exactly why it failed earlier than it should have, because the library code looks pretty messy.

It's using the standard date library stuff from the IAR compiler, so I'm hoping that sometime within 20 years there will be an option to select a 64-bit compatible time/date library, and it can just be recompiled. At least I used time_t for everything related to Unix date values... I think. Also, the hardware it runs on only has a 32-bit counter for the RTC clock, but I'm sure that it could simply check the high bit, and add 2^32 after the rollover.

Comment: Re:we want gameplay, not "imperfections in the ski (Score 1) 87

You are talking about a company that made two MMOs for aging console platforms on their way out: FFXI on PS2+hard drive and later X360, then FFXIV on PS3, though that time they wisely did it for PC first. Locking themselves into ecosystems is a way of life. Also, someone over there has a hard-on for flashy graphics as a priority over gameplay. All the graphics in the world didn't save them from having to literally re-make FFXIV after it flopped hard.

Comment: Re:Lesson Here (Score 2) 247

by Megane (#49599977) Attached to: Long Uptime Makes Boeing 787 Lose Electrical Power
Also, use the difference of the current time minus the start time, instead of computing the end time and using a simple less than/greater than comparison. This properly handles wraparounds, and only has a problem with differences more than half of the full range. (so don't keep comparing the time after it's ended!)

Comment: Re:CareerBuilder AND Monster are Job Spammers (Score 1) 225

by Megane (#49599871) Attached to: Want 30 Job Offers a Month? It's Not As Great As You Think
Keyword leeches are the worst. I have (or at least had, not sure if I aged it out) some assembly language experience in my resume. One recruitard send me an offer for what I think was an IBM 360 assembly language job because of the way Assembler was used like a holy word in the description, and another time I got an offer for PC board assembly at the nearby university tech labs. Not that I couldn't have done that, and the pay was pretty good for what the work was, and the commute would have been great too, but I was already making $50+/hr as an embedded systems programmer.

Comment: Re:Partners in space (Score 1) 120

by Megane (#49577699) Attached to: Russian Cargo Mission To ISS Spinning Out of Control

OH BOY! A BASE ON THE MOON! Yeah, sure, maybe it would have happened by 2029 at the rate NASA works these days, have you seen how the Senate Launch System keeps missing its milestones? And what exact value is a base on the moon? A lot of scratchy moon dust to give everybody silicosis? Helium-three (giggle) for (hahaha) fusion power (giggle *SNORT*)?

An orbital space station is much more useful because we need to learn to do things in zero-gee (like, say for getting to Mars), and the moon ain't gonna do that.

Comment: Re:Wow ... (Score 4, Insightful) 263

by Megane (#49577317) Attached to: Crashing iPad App Grounds Dozens of American Airline Flights
And then someone has to print some of those books on a regular basis. And then someone has to dispose of them when they expire. And the pilots probably carry regularly updated information for every airport in the countries they might fly in, whether they go to that airport or not.

Comment: Re:Wow ... (Score 3, Interesting) 263

by Megane (#49577267) Attached to: Crashing iPad App Grounds Dozens of American Airline Flights

I think that's a likely cause. I doubt they're updating the app (executable) on a regular basis and pushing the update, when it's only the data that changes regularly. All it takes is one glitch in a weekly data update, and one bad switch statement to cause a program to crash.

Proper error handling is one of the most important things in keeping things running (especially in unattended systems), but one of the harder things to get right, because it's hard to test (as in QA) for every possible unexpected input. You have to get a bit paranoid with your coding, because garbage input really is out to get you.

Dynamically binding, you realize the magic. Statically binding, you see only the hierarchy.

Working...