Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment C# - DateTimeOffset (Score 1) 198

I have seen countless examples of bad Business Programming for time, all while knowing that Windows had some elegant rules handling it at the Win32 API level. (So to speak.)

When DateTimeOffset came out, I heard it was supposed to eliminate all the problems. The problem was, I couldn't figure out how to use it.

Well finally between TimeZoneInfo.GetUtcOffset(DateTimeoffset) and TimeZoneInfo.ToOffset(DateTime, TimeSpan), I have a half-sane wrapper that gives me the accurate times. I put in 3/13/2011 2:00 AM -05:00, and it nicely gives me 3/13/2011 3:00 -04:00 as the "real time." There's even a helper called IsInvalidTime that tells me that 3/13/2011 2:00 AM isn't really a real time. I'm still trying to learn how to use IsAmbiguousTime.

The problem is I now am beholden Microsoft to do all this for me, and thus I don't REALLY understand how to do it. I guess I'll have to use Reflector to peek at the implementation.

I feel better today than I did yesterday. Bugged me for years.

Comment Re:So true (Score 1) 366

Well, that was part of Netiquette where I used it. You'd better not BCC someone if you really meant to CC them. There truly were instances where BCC is warranted. Mostly where the follow ups are of too deep a nature for the BCC'd to care about, and you don't trust everyone else you are continuing the discussion with to know the difference between who cares and who does not.

Most cases are CC, but there are a few where you want BCC. Or at least will take advantage of it when its there.

Comment Re:So true (Score 2) 366

No, I want BCC. That way people on the BCC don't get the replies; people on the CC do (they stay on the thread).

BCC = 1 reply no followups. CC = all followups.

Comment Re:So true (Score 1) 366

If something's sent to the group and you want the group to know you're sending a reply about a topic they might not care get the followups on. Like you may be interested in X but don't want to see all the back and forth that comes after.

I've always put who I BCC'd to in the body. It's common courtesy.

Comment Anonymous = Liberal version of Militiamen (Score 1, Interesting) 744

I wonder how long it will be before some Anonymous fan decides to kill a few people to prove a point. I always said during the Bush years that I was glad that the paranoid nutjobs (the 9/11 truthers) all appeared to be on the Left this decade. It was such a drag when the militia idiots were in the news all the time.

Comment Re:Cheating? (Score 0) 693

It does not imply Google is better. (although google may be in fact better, copying them does not imply that). It implies that google is the Leader (no One disputes that) and MS finds value in making their results match Google. People are comfortable when they find "x is the same as y" so they will be more willing to UsE either.

Slashdot Top Deals

Systems programmers are the high priests of a low cult. -- R.S. Barton

Working...