RE: Sudden violent death of SSDs

2011-06-03 Thread Ken Schaefer
One OCZ Vertex, and one G.Skill Falcon II. Both used the Indilinx Barefoot controller, so I suspect that that's probably the cause. Cheers Ken -Original Message- From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Greg Low (GregLow.com) Sent:

RE: Sudden violent death of SSDs

2011-06-03 Thread Ian Thomas
I've just read the CodingHorror blog article, and all its Comments - and there is some discussion about the point I was making about SMART monitoring. I'm also intrigued with the 3 year warranties and MTBF equal to that of conventional hard drives, for some SSDs. Of course nothing in (most)

[OT] Backups

2011-06-03 Thread Bec Carter
All this talk of SSDs and HDDs failing has got me a little scared to lose my data. I just have one main folder with everything in there on my laptop and copy this thing to my USB drive as backup - I manually do this i'm starting to realise this is not enough. How do you all do your backups?

RE: [OT] Backups

2011-06-03 Thread Ken Schaefer
Windows Home Server for me. There's also a thread on cloud backup that you might want to read :) Cheers Ken -Original Message- From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Bec Carter Sent: Friday, 3 June 2011 2:06 PM To: ozDotNet Subject: [OT]

Re: Sudden violent death of SSDs

2011-06-03 Thread Stuart Kinnear
All drives are flaky time bombs, it's amazing they work at all. I lost two SATA drives in a PC due to a failure of the video card zapping the controller on the HD. It is conceivably possible to restore the drive by seeking out someone who was smart enough to keep a load of old drives you might

RE: [OT] Backups

2011-06-03 Thread Ian Thomas
I've been using fairly conventional backups, but recently bought a small HP Proliant to run Windows Home Server 2011. I had a WHS1 system last year, but decided to revert to Windows 7 backups to big cheap SATA drives instead, while awaiting the release of WHS v2. Now, I'm waiting for the release

RE: [OT] Backups

2011-06-03 Thread Greg Keogh
Subversion. That way I get a change history as well. Danger Will Robinson! A version control system is not a backup. Greg

RE: [OT] Backups

2011-06-03 Thread Ken Schaefer
You can back up to a central location in your house, and then back that central point up to the cloud. That can help protect you against a disaster (e.g. lightning strike, fire etc.) affecting your house. -Original Message- From: ozdotnet-boun...@ozdotnet.com

RE: [OT] Backups

2011-06-03 Thread Ian Thomas
Ken You're using WHS (v1 or 2011 - ?), so what Cloud service do you use that does allow you to backup a server? Most cheaper ones preclude server backups (eg, iiNet's Vault is specific about that). Ian Thomas Victoria Park, Western Australia

Re: [OT] Backups

2011-06-03 Thread Grant Molloy
I've decided to go old school.. I just bought 10,000 floppy disks a USB FDD.. (Got nothing else on this weekend anyway !! ) :-D On Fri, Jun 3, 2011 at 5:48 PM, Ian Thomas il.tho...@iinet.net.au wrote: Ken You’re using WHS (v1 or 2011 - ?), so what Cloud service do you use that * does*

Re: [OT] Backups

2011-06-03 Thread Scott Barnes
I backed up to the cloud today. I grabbed a balloon and tied a memory stick to it and then released it... Question if I may..how do i get it back down? --- Regards, Scott Barnes http://www.riagenic.com On Fri, Jun 3, 2011 at 9:02 PM, Grant Molloy graken...@gmail.com wrote: I've decided to go

Generic class question

2011-06-03 Thread Greg Keogh
Folks, in the tiny sample below I want to parse some text and set the generic value, which will be int, double or long. The highlighted statements show what I want to do, but how is it done in a generic way? Greg public class DemoClassT where T : struct { private T value;

RE: Generic class question (TypeConverter)

2011-06-03 Thread Greg Keogh
I asked my cat after I posted the question and he had the answer ... I have to use a TypeConverter. I'll post the answer when I have it worked out - Greg

Re: Generic class question

2011-06-03 Thread Richard Mason
The Convert class will help: value = (T)Convert.ChangeType(rawValue, typeof(T)) On Sat, Jun 4, 2011 at 10:40 AM, Greg Keogh g...@mira.net wrote: Folks, in the tiny sample below I want to parse some text and set the generic value, which will be int, double or long. The highlighted statements

RE: Generic class question

2011-06-03 Thread Greg Keogh
The Convert class will help: value = (T)Convert.ChangeType(rawValue, typeof(T)) Fascinating. I've not noticed that method before. The MSDN doco says that ChangeType expects an IConvertible, which int, double, long, etc do. It turns out I couldn't use a TypeConverter because I'm in Silverlight.

Re: Generic class question

2011-06-03 Thread Geoff Appleby
Surely there's very few types that a) you're using, that b) offer that Parse method. Could you save the reflection call and simply do something like if (typeof(T) is decimal) { decimal.Parse(...); } elseif (typeof(T) is int) { int.Parse(...); } ? On Sat, Jun 4, 2011 at 1:27 PM, Greg Keogh

RE: Generic class question

2011-06-03 Thread David Kean
There's not a lot of point being generic if end up doing switch if/switch statements. ie Why don't you just have a specialized class for each numeric type? Ie IntFooClass, DoubleFooClass, etc. From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Geoff

RE: Generic class question

2011-06-03 Thread Greg Keogh
Surely there's very few types that a) you're using, that b) offer that Parse method. Could you save the reflection call and simply do something like if (typeof(T) is decimal) { decimal.Parse(...); } elseif (typeof(T) is int) { int.Parse(...); } I can't cast a double, int or long to the generic