Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:Finally Fixing the Date stuff (Score 1) 434

It's not always "in your current time zone" - it depends on the "kind" of the DateTime. If you use DateTime.Now you will indeed get a value which is in your current system time zone. And I think you meant either DateTime.UtcNow or DateTimeOffset.UtcTicks rather than DateTime.UtcTicks...there's no such property as DateTime.UtcTicks.

When it comes to using the system time zone, It's not about "those iron age societies" using daylight saving - it's more about DateTime basically always representing some sort of "local" date, either in your local time zone, UTC, or an unspecified time zone. That's a very broken design, but not (IMO) in the way that you claim it to be.

Likewise it's entirely reasonable IMO to ignore "the" Julian/Gregorian shift in 1752, partly as it happened in different years depending on the place(and Sweden is particularly strange in this regard). All kinds of aspects of a date/time become weird if you swtch calendar system - and the DateTime type *only* represents the Gregorian calendar system. (If you give it a different one in the constructor, it effectively translates the value into the Gregorian calendar.) Again, I view that as a broken design - but not because of "the" 1752 shift.

So yes, there are plenty of valid criticisms of .NET's date/time handling, but yours didn't quite hit the mark for me.

Comment Re:Finally Fixing the Date stuff (Score 1) 434

The support for date and time handling in .NET is deplorable too, in my view. If it weren't, I wouldn't have bothered to create the Noda Time library (http://nodatime.org) which I'd like to think does a rather better job.

Having a single type (well, two with DateTimeOffset) to represent all kinds of different concepts is simply a bad idea. See my rant about this for more details:
http://noda-time.blogspot.co.uk/2011/08/what-wrong-with-datetime-anyway.html

Comment Re:High scorer languages (Score 1) 185

There's an obvious potential correlation between high scores and plenty of questions being available though.

Hitting the rep cap (200) each day is relatively straightforward, which leaves only accepted answers (and bounties). If there aren't many questions in your area of expertise, you could easily end up with only 260 per day despite being incredibly savvy.

I'm lucky that my two areas of "reasonable competence" (I wouldn't quite go as far as expertise) are Java and C#, both of which have plenty of questions available. Whilst there's obviously more competition in those topics too, it's a fairly "target rich environment" so to speak.

Role Playing (Games)

Final Fantasy XIII-2 Announced 152

An anonymous reader writes "Square-Enix has announced Final Fantasy XIII-2 for Xbox 360 and PlayStation 3. According to Gamespot, 'The newly christened Final Fantasy XIII-2 continues the adventures of Lightning and her team of RPG vagabonds in a brand new adventure, utilizing the long-in-development engine (and, probably, some of the art assets) that powered the original game. And because Square doesn't have to spend all of that extra time developing the engine, players won’t have to wait nearly as long to get their hands on this newest iteration of the game. According to Square Enix, Final Fantasy XIII-2 (which, in case you haven't guessed, is a game title that is just as terrible to type out as it is to say with your mouth) is on track for release in Japan this year. [The game] should be available in English-speaking territories by "next winter."'"
Microsoft

Submission + - How To Crash Vista In 10 Seconds

An anonymous reader writes: Despite its improved security, when Microsoft designed Vista it apparently forgot fix an old Achilles' heel that's plagued Windows for many years. According to InformationWeek blogger Alex Wolfe, Vista can be crashed in 10 seconds or so by simply holding down the "Windows" key and the letter "E." This'll open up hundreds of Windows Explorer, and eventually the system will stop responding. Do you think this is just one of those stupid oversights by normally smart people, or does it say something damning about Microsoft's approach to security?
Programming

Submission + - lzma compression file format (tukaani.org) 1

An anonymous reader writes: The guys at The Tukaani Project are developing a new compression program (similar to older gzip/bzip2) and a library (with a zlib-like API) based on the LZMA compression alghoritm of Igor Pavlov. Some features of the LZMA alghoritm are:
  • Average compression ratio of LZMA is about 30% better than that of gzip, and 15% better than that of bzip2.
  • Decompression speed is only little slower than that of gzip, being two to five times faster than bzip2.
  • In fast mode, compresses faster than bzip2 with a comparable compression ratio.
  • Very similar command line interface than what gzip and bzip2 have.
  • Free software licensed under the GNU GPL (actually most parts are under the GNU LGPL).
The first draft of the new .lzma file format specification is out and the developers are requesting feedback: http://tukaani.org/lzma/header-format-12.txt
There are also the experimental LZMA utils available for download at: http://tukaani.org/lzma/

Biotech

Submission + - Evolution without gene changes: Evo-devo

zoefff writes: NY times has a fascinating article about 'evo-devo': evolution not through the alteration of genes, but through the alteration of the processing of genes during growth. All with master genes commanding a hierarchy of other genes, revisiting Darwin's finches and providing an explanation for mimicry.
From the article: '
New forms can arise via new uses of existing genes, in particular the control genes or what are sometimes called toolkit genes that oversee development. It is a discovery that can explain much that has previously been mysterious, like the observation that without much obvious change to the genome over all, one can get fairly radical changes in form.'
It's funny.  Laugh.

Submission + - Correlation Implies Causation After All? (netspace.net.au) 5

thetan writes: "That hoary old chestnut — "correlation does not imply causation" — is frequently trotted out in arguments about science and causality. The adage is put under the microscope by a new meta-analysis of published research. Surprisingly, it seems that (statistically speaking, at least) correlation does imply causation. Where to now for amateur debaters and Slashdot flame-warriors?"
Hardware Hacking

Submission + - Linux computer in USB key form-factor (linuxdevices.com)

PMBjornerud writes: A start-up located in the French Alps near Grenoble is readying a tiny ARM-based Linux single-board computer (SBC) in a USB key form-factor.

Calao's USB-9260 USB key-sized SBC measures 3.3 x 1.4 inches (85 x 36 mm). It is based on an Atmel AT91SAM9260 processor, an SoC (system-on-chip) powered by an ARM926EJ-S core clocked at 190MHz. The SoC targets "advanced applications such as GPS application processors," according to Atmel.

Spec sheet (PDF) here.

With a 10/100 Ethernet port, firewall usage springs to mind. Other interfaces are 2 USB host ports and room for an expansion card. Which should allow some creative uses. Anyone dreaming of a cute little linux-server to carry around and power from a USB slot? Does it come in penguin shape?

Patents

Submission + - Duke Fellow on GPLv3 and the SoftwarePatent Menace (ibiblio.org)

andy_from_nc writes: "Recently the Triange Linux Users' Group (which meets at the Raleigh, NC Red Hat HQ on NCSU campus) hosted Sapna Kuma speaking on GPLv3 and more particularly about the Microsoft Patent menace. The videos are now up on iBiblio in both MP4 and OGM (OGG for video). I've also posted links to torrents and will update with mirrors on here.

The talk raised some important issues and raises a call to action for the entire "FLOSS" community on battling the Microsoft menace of patents. The video is okay (the other camera failed) and the audio is decent with captions of the key questions."

Microsoft

Submission + - Windows Users Use Apple Hardware to Run Windows (osweekly.com)

tobyklein writes: Here's a humorous observation. Apparently a lot of people are buying Apple hardware to run Microsoft Windows because of its sleekness and cool factor. Brandon Watts writes, "As prices continue to drop, Windows users are realizing that for about the same price (sometimes even cheaper), they can purchase a Mac instead of a PC and just install their beloved Windows OS on the beautiful Mac hardware. Assuming that there's no Mac vs. PC animosity, this is a very reasonable thing to do.
Software

Submission + - New Trend in OSS: Small Teams Develop Better Apps (madpenguin.org)

OSS writes: "MadPenguin.org has a new article up that discusses the latest trend in open source software. The author notes that a lot of OSS developers are keeping their teams small to personally benefit themselves and release better releases in a timely manner to benefit the community. He further writes, "More and more, it seems like open source projects are doing more with less. Even to the tune of more frequent release dates and a solid release each time. Is this a good thing? Should this become the new model for the future of budding, young open source projects? I suppose a lot of this has to do with goals and the future plans of each specific project."
Intel

Submission + - Intel Introduced New Microcode for Core 2 Duo CPUs

macemoneta writes: Two months ago, Intel introduced microcode updates for all systems with an Intel® Core(TM) 2 Duo processor. According to an HP Tech Support Document,

While the implications of the issue are difficult to quantify, any of the following symptoms can occur:

* The system may stop responding to keyboard or mouse input.
* A system operating in a Microsoft Windows environment may generate a blue screen.
* A system operating in a Linux environment may generate a kernel panic.


This was the first I had heard of this; probably a good time to check for BIOS or microcode updates.
Software

Submission + - Microsoft caught using pirated software in XP (urbandictionary.com) 2

Ariastis writes: Microsoft have been bust yet again. They have been using a cracked version of Sound Forge to create files that are inside the Windows Tour folder. (Tested on XP) Reading the lat bits of the file in Notepad reveals the cracker info. These files have been made with Sound Forge 4.5 (The cracked version) first cracked by a cracker called "Deepz0ne".

Slashdot Top Deals

The hardest part of climbing the ladder of success is getting through the crowd at the bottom.

Working...