Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×

Comment Undecidability Theorem (Score 1) 241

I usually related the story like this: In the 1700s, Isaac Newton and Leibniz invented calculus (you know that really hard stuff we still have a difficult time learning today.) By the late 1800s, math guys knew how to do almost anything using just a pen and paper (calculate orbits, really advanced mostly graduate level math stuff). They felt brilliant. And they said, "shoot, 30 years from now, we're going to essentially be God. From any starting point, we'll be able to predict any outcome."

Then the undecidability stuff with Goedel happened, and then we had intutionism with Brouewer, etc, and they realized it wasn't to be.

This sounds a lot like that.

Comment Re:Descendent distributions != Importance (Score 1) 354

Debian doesn't like 95% probability (stable should be stable). Plus Ubuntu ships with non-free parts that make it unacceptable to Debian.

I think the only reason I like Debian as a desktop is I use FluxBox as my windowing manager, no dock, and just use the whiz-bang GTK-based *apps*. Best of both worlds and fast.

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.

Slashdot Top Deals

"Don't try to outweird me, three-eyes. I get stranger things than you free with my breakfast cereal." - Zaphod Beeblebrox in "Hithiker's Guide to the Galaxy"

Working...