Poll

Is Daylight Savings Time a good thing or a dumb thing

I like it, gives me more time after work for fun stuff.
9 (12%)
Dumbest thing ever
37 (49.3%)
I like Bacon
29 (38.7%)

Total Members Voted: 55

Author Topic: Daylight Savings Time- Good or Bad?  (Read 7445 times)

seeker_two

  • friend
  • Senior Member
  • ***
  • Posts: 12,922
  • In short, most intelligence is false.
Re: Daylight Savings Time- Good or Bad?
« Reply #25 on: March 11, 2012, 09:16:33 AM »
DST is evil and unnecessary.....no wonder the gov't wants to continue using it....
Impressed yet befogged, they grasped at his vivid leading phrases, seeing only their surface meaning, and missing the deeper current of his thought.

French G.

  • friend
  • Senior Member
  • ***
  • Posts: 10,195
  • ohhh sparkles!
Re: Daylight Savings Time- Good or Bad?
« Reply #26 on: March 11, 2012, 09:44:14 AM »
A suppressed 45 is a dangerous thing to have around...not as bad as a 22 with a can...but close. 

Bad thoughts begin, like "I bet I could shoot in here without my upstairs neighbors knowing" (in an apt)

Heh, .22 sub-sonic. Heh, this should be a lot quieter. Gets pistol, steps outside into urban night. Nope! Back inside, lights off.
AKA Navy Joe   

I'm so contrarian that I didn't respond to the thread.

birdman

  • friend
  • Senior Member
  • ***
  • Posts: 3,831
Re: Daylight Savings Time- Good or Bad?
« Reply #27 on: March 11, 2012, 11:06:50 AM »
Virtually all 22LR is subsonic out of a pistol.  After much careful experimentation, I can confidently say that my p22/gemtech outback combo is subsonic (no bullet crack)...and quieter than most air rifles.


41magsnub

  • friend
  • Senior Member
  • ***
  • Posts: 7,579
  • Don't make me assume my ultimate form!
Re: Daylight Savings Time- Good or Bad?
« Reply #28 on: March 11, 2012, 12:06:25 PM »
A suppressed 45 is a dangerous thing to have around...not as bad as a 22 with a can...but close. 

Bad thoughts begin, like "I bet I could shoot in here without my upstairs neighbors knowing" (in an apt)

Mine is the raven sitting on the peak of my neighbors roof squawking it's head off.  I look longingly at my suppressed .22 Savage mkII and sigh.

BlueStarLizzard

  • Queen of the Cislords
  • friend
  • Senior Member
  • ***
  • Posts: 15,039
  • Oh please, nobody died last time...
Re: Daylight Savings Time- Good or Bad?
« Reply #29 on: March 11, 2012, 12:25:34 PM »
Benifits to living in BFE virginia  is that there are no neighbors to PO.

However, first thing in the morning, groggy and without caffine in my system *BANG* is not something I can tolerate.

Then again, I can't really tolerate *beep beep beep* either...
"Okay, um, I'm lost. Uh, I'm angry, and I'm armed, so if you two have something that you need to work out --" -Malcolm Reynolds

TommyGunn

  • friend
  • Senior Member
  • ***
  • Posts: 7,956
  • Stuck in full auto since birth.
Re: Daylight Savings Time- Good or Bad?
« Reply #30 on: March 11, 2012, 01:29:30 PM »
How about "Beep-beep-beep-beep-beep-bee- BANG!"  ?

Can that be tolerated? [popcorn] =D
MOLON LABE   "Through ignorance of what is good and what is bad, the life of men is greatly perplexed." ~~ Cicero

roo_ster

  • Kakistocracy--It's What's For Dinner.
  • friend
  • Senior Member
  • ***
  • Posts: 21,225
  • Hoist the black flag, and begin slitting throats
Re: Daylight Savings Time- Good or Bad?
« Reply #31 on: March 11, 2012, 02:51:53 PM »
"Year-round DST plus Double DST in summers for sunshine till 9 or 10 pm" FTW.

http://voices.washingtonpost.com/rawfisher/2009/03/its_time_for_double_daylight_s.html

Regards,

roo_ster

“Fallacies do not cease to be fallacies because they become fashions.”
----G.K. Chesterton

French G.

  • friend
  • Senior Member
  • ***
  • Posts: 10,195
  • ohhh sparkles!
Re: Daylight Savings Time- Good or Bad?
« Reply #32 on: March 11, 2012, 04:01:10 PM »
I have to have an alarm clock that sounds like birds or some sort of slowly building alternate chimes. Damn buzzer makes me go tight in the chest. Some thing went off somewhere in retail land, sounded for all the world like a shipboard chemical alarm, not quite a PTSD deal but I really wanted that noise to stop.
AKA Navy Joe   

I'm so contrarian that I didn't respond to the thread.

Waitone

  • friend
  • Senior Member
  • ***
  • Posts: 3,133
Re: Daylight Savings Time- Good or Bad?
« Reply #33 on: March 11, 2012, 06:38:06 PM »
Split the diff and stay with it.
"Men, it has been well said, think in herds. It will be seen that they go mad in herds, while they only recover their senses slowly, and one by one."
- Charles Mackay, Scottish journalist, circa 1841

"Our society is run by insane people for insane objectives. I think we're being run by maniacs for maniacal ends and I think I'm liable to be put away as insane for expressing that. That's what's insane about it." - John Lennon

Tallpine

  • friends
  • Senior Member
  • ***
  • Posts: 23,172
  • Grumpy Old Grandpa
Re: Daylight Savings Time- Good or Bad?
« Reply #34 on: March 12, 2012, 04:54:46 AM »
What does the gubbermint do with all the daylight that we "save" ???

Why can't we use it during the winter when we need it?  ;/

My guess is that they are selling it to South America  >:D
Freedom is a heavy load, a great and strange burden for the spirit to undertake. It is not easy. It is not a gift given, but a choice made, and the choice may be a hard one. The road goes upward toward the light; but the laden traveller may never reach the end of it.  - Ursula Le Guin

CNYCacher

  • friend
  • Senior Member
  • ***
  • Posts: 4,438
Re: Daylight Savings Time- Good or Bad?
« Reply #35 on: March 12, 2012, 07:55:18 AM »
I hate it.  As a programmer it plays merry hob with every date/time storage system you use as soon as you try and go time-zone neutral.

I'm going to have to go into the office Sunday to re-work our timeclock app because of this.  The original developer that wrote it all in PHP attempted to be timezone neutral but screwed it up.  He attempted to store date/time values in GMT but actually applied the TZ offset to the GMT value so if you're at -5 (EST) the value recorded is actually +5 hours.  He managed to replicate the bug when retrieving the values so it was never noticed.  Consequently my .NET app that writes to the same DB has to replicate that bug, until I fix the whole shebang.

Of course the whole thing always had the problem where if you're in DST (-4 for Eastern) and try and pull a report from a -5 period (standard time) the hours are off because it assumed the TZ offset was the current TZ offset.

Never, ever, EVER store a timestamp as anything other than epoch time.  Convert to human-readable format only when humans need to read it.
On two occasions, I have been asked [by members of Parliament], "Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?" I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question.
Charles Babbage

grampster

  • friend
  • Senior Member
  • ***
  • Posts: 9,453
Re: Daylight Savings Time- Good or Bad?
« Reply #36 on: March 12, 2012, 09:27:26 AM »
I love it, love it.  In Michigan, on the west edge of est, we get daylight in the summer till nearly 10:30PM.  I love it.
"Never wrestle with a pig.  You get dirty, and besides, the pig likes it."  G.B. Shaw

GigaBuist

  • friends
  • Senior Member
  • ***
  • Posts: 4,345
    • http://www.justinbuist.org/blog/
Re: Daylight Savings Time- Good or Bad?
« Reply #37 on: March 12, 2012, 11:34:17 PM »
Never, ever, EVER store a timestamp as anything other than epoch time.  Convert to human-readable format only when humans need to read it.

Uhm, that's exactly the kind of thing that produced the bug I've got to deal with. When I see "1823474550" in a DB table I have no idea what that means time-wise and I doubt you do too.

Storing time values like that makes it easy for the programmer to accidentally mask their bugs. If they accidentally shift things to +5 instead of GMT they won't notice if they make the same mistake pulling it back.

Perd Hapley

  • Superstar of the Internet
  • friend
  • Senior Member
  • ***
  • Posts: 61,438
  • My prepositions are on/in
Re: Daylight Savings Time- Good or Bad?
« Reply #38 on: March 13, 2012, 12:37:35 AM »
What does the gubbermint do with all the daylight that we "save" ???


You're supposed to keep that extra hour you get in the fall, so you can use it when we change back in the spring.
"Doggies are angel babies!" -- my wife

seeker_two

  • friend
  • Senior Member
  • ***
  • Posts: 12,922
  • In short, most intelligence is false.
Re: Daylight Savings Time- Good or Bad?
« Reply #39 on: March 13, 2012, 12:54:29 AM »

You're supposed to keep that extra hour you get in the fall, so you can use it when we change back in the spring.

I traded mine off for carbon credits.....
Impressed yet befogged, they grasped at his vivid leading phrases, seeing only their surface meaning, and missing the deeper current of his thought.

CNYCacher

  • friend
  • Senior Member
  • ***
  • Posts: 4,438
Re: Daylight Savings Time- Good or Bad?
« Reply #40 on: March 13, 2012, 01:41:36 AM »
Storing time values like that makes it easy for the programmer to accidentally mask their bugs. If they accidentally shift things to +5 instead of GMT they won't notice if they make the same mistake pulling it back.

Epoch time is not dependent upon your time zone.  It is defined as the number of seconds that have elapsed since 1970-01-01T00:00:00GMT.  If a computer set to EST and a computer set to PST both store an epoch timestamp at the same time, the value will be the same in the database (assuming system clocks are accurate).  Every programming language has easily-available (if not built-in) functions for retrieving the current epoch time and also for displaying a given epoch time value in human-readable format (for default or specified time zones).  There is not two-way conversion, you simply insert the epoch time code into the database and when you want to print out your invoice or whatever, you print date($format, $time)
On two occasions, I have been asked [by members of Parliament], "Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?" I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question.
Charles Babbage

Nick1911

  • Administrator
  • Senior Member
  • *****
  • Posts: 8,492
Re: Daylight Savings Time- Good or Bad?
« Reply #41 on: March 13, 2012, 02:01:10 AM »
Storing time values like that makes it easy for the programmer to accidentally mask their bugs. If they accidentally shift things to +5 instead of GMT they won't notice if they make the same mistake pulling it back.

Why is this a problem?  Just fix the code, and fix the data.

UPDATE db_table SET db_value = db_value - 18000;

Easy!

The point, as CNYCacher explained, is to use a timezone neutral timing standard.  An absolute time, if you will.  Leave the pesky human abstractions to the front end; the back end deals in absolute time from a fixed point.

Lee

  • friend
  • Senior Member
  • ***
  • Posts: 3,181
Re: Daylight Savings Time- Good or Bad?
« Reply #42 on: March 13, 2012, 08:25:02 PM »
I'm relieved...been putting off setting those pesky clocks back an hour, since last Fall.

GigaBuist

  • friends
  • Senior Member
  • ***
  • Posts: 4,345
    • http://www.justinbuist.org/blog/
Re: Daylight Savings Time- Good or Bad?
« Reply #43 on: March 13, 2012, 10:15:29 PM »
Why is this a problem?  Just fix the code, and fix the data.

UPDATE db_table SET db_value = db_value - 18000;

Easy!

Er, not that easy.  The offset is different depending on the whether or not we were in DST.

Epoch time is not dependent upon your time zone.  It is defined as the number of seconds that have elapsed since 1970-01-01T00:00:00GMT.

You know that, and I know that, but the original developer of my app didn't know that... so even though he was using the MySQL Unixtime date format he was still doing the TZ offset.  So he actually shifted the stored values to +4 or +5 GMT.

And that's hard to spot when you're storing time as a long integer.  It means nothing to us.

Now, when you store it as an actual DATETIME, you can read that.  If you insert a record at 2012-03-13 1:00pm local time (-4 offset) and it shows up as 2012-03-13 9:00pm you know something is wrong with your code.  Well, as long as you know what time it should be in GMT/UTC.

Even better, IMHO, is to store the local datetime value AND the current TZ offset.  That way anybody pulling the data can convert from local time to GMT/UTC without looking up anything.  You stored the offset for them.  And replaying stuff in local time for the events is easy because there's no conversion.  When you store in GMT/UTC without the offset the programmer has to reconstruct whatever (government) rules were in place for daylight savings at the time in your current timezone which 99.9% of the time is going to be the same as the place it was recorded except that your DST offset has about a 60 or 40-ish% chance of being wrong so you need to know what the offset was back then.  And that means filtering the dates through a library that remembers what the old DST rules were.

I'm not even sure what my point was.  I just hate DST and timezones in general as programmer and data warehousing guy.  As a retailer I think DST is great though!

Nick1911

  • Administrator
  • Senior Member
  • *****
  • Posts: 8,492
Re: Daylight Savings Time- Good or Bad?
« Reply #44 on: March 13, 2012, 10:52:15 PM »
You and I are going to have to just agree to disagree on this one, Giga.

As far as fixing the code, you'll have to add a where clause with between ranges for the start and end dates of DST for each year back.  Well, more specifically there are ranges of years that can be grouped, but I don't see this as being more then about a 2 hour ordeal to fix from what you've told us.

Of course, this is coming from someone who *still* hasn't fixed the 2106 problem with APS.  :angel:

Declaration Day

  • friends
  • Senior Member
  • ***
  • Posts: 2,409
Re: Daylight Savings Time- Good or Bad?
« Reply #45 on: March 13, 2012, 11:10:21 PM »
I love it, love it.  In Michigan, on the west edge of est, we get daylight in the summer till nearly 10:30PM.  I love it.

Agreed, but I wish it would stay as it is in the summer.  I greatly prefer more daylight in the afternoon than in the morning.

Democrats love the spring jump though, because their food stamps for the week only have to last 167 hours, instead of 168.