Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror

Submission Summary: 0 pending, 2 declined, 1 accepted (3 total, 33.33% accepted)

×
Apple

Submission + - Want to buy a smart phone without exploiting Chinese workers. Choices ?

unimacs writes: "So Apple has been under fire recently for the conditions at the factories of their Chinese suppliers. I listened to "This American Life's" recent retraction of the Michael Daisey piece they did awhile back. Great Radio for those of you who haven't heard it. Rarely has dead air been used to such effect.

Anyway, while his work has been discredited, Michael Daisey wasn't inaccurate in his claims that working conditions are poor in iPhone and iPad factories. Given that, are there any smart phone manufacturers whose phones are made under better conditions?"

Submission + - Still getting bit by Y2K bug. Why haven't we learn

unimacs writes: I work with data loggers of various types and I use perl to parse the information. I rely heavily on the str2time function to parse the timestamps. It works pretty well except that I was getting strange errors with a new logger file format I was processing.

It turns out that the logger was outputting dates like "9/24/11 10:27:30 AM". On my OSX development machine, perl and str2time (via timelocal) interpreted that date as September 24, 2011. On our linux production server, it was interpreted as September 24th, 1911.

Have we already forgotten that 2 digit years are no-no? Anybody else running into these kinds of problems?

Slashdot Top Deals

It is easier to write an incorrect program than understand a correct one.

Working...