Search found 90 matches

by ToLazyToThink
Fri Nov 11, 2011 4:35 am UTC
Forum: The Help Desk
Topic: Linux hard disk imaging
Replies: 5
Views: 2695

Re: Linux hard disk imaging

I have a Linux computer with a 300GB hard drive and an external drive with ~500GB free. I'd like to back up my disk in the form of a drive image; can I do this by mounting the external drive (to, say, /media/drive1) and running "sudo cat /dev/sda > /media/drive1/disk.iso"? Not if the /dev...
by ToLazyToThink
Sun Oct 09, 2011 7:24 pm UTC
Forum: The Help Desk
Topic: New drivers, kicking a computer and no display.
Replies: 12
Views: 1979

Re: New drivers, kicking a computer and no display.

Check your temps, you may have messed up replacing the heat sinks. Also is BF3 displaying the issue, or just the other games? Since you didn't get much time in messing with the new drivers before trashing your machine, it's possible they're buggy. Finally, you mentioned resetting your BIOS, make sur...
by ToLazyToThink
Fri Jun 25, 2010 6:03 am UTC
Forum: Coding
Topic: History tracking in an OOP manner with C#?
Replies: 7
Views: 2168

Re: History tracking in an OOP manner with C#?

One other option I don't think has been mentioned yet, keep a list of modifications. This would only work if your modifications are either reversible, or replayable. If they're reversible, you can reverse the modifications since the state you wish to restore. If they're replayable, you start with th...
by ToLazyToThink
Sun Dec 20, 2009 1:44 am UTC
Forum: Coding
Topic: HTML/php comment help
Replies: 11
Views: 1974

Re: HTML/php comment help

I've seen commenting systems available that just use basic files rather than a database (I used one before, can't remember which one it was). It's not too hard to do on your own (Take form post, validate, write. Read file, get relevant ones, insert comments into template, send), but make sure you d...
by ToLazyToThink
Thu Nov 19, 2009 3:13 am UTC
Forum: Gaming
Topic: Left 4 fun (and Zombie Panic Source)
Replies: 804
Views: 48608

Re: Left 4 fun (and Zombie Panic Source)

yeah i've always done that, but i'm talking in the context of expert where you don't want the zombies to get near you at all. running back is cutting it too close, especially since it's difficult to manage your back, and with the uzi you're afforded the liberty of range. edit - also i was talking a...
by ToLazyToThink
Wed Nov 18, 2009 12:02 am UTC
Forum: Gaming
Topic: Left 4 fun (and Zombie Panic Source)
Replies: 804
Views: 48608

Re: Left 4 fun (and Zombie Panic Source)

are you talking about the autoshotty? i was talking about starting weapons, clearly the autoshotty is superior to the uzi. however, i like the m4 better for clearing out hordes - just aim at eye level and move back and forth The secret to using a pump against a horde is to back up (preferably diago...
by ToLazyToThink
Sun Nov 08, 2009 3:07 am UTC
Forum: Gaming
Topic: Left 4 fun (and Zombie Panic Source)
Replies: 804
Views: 48608

Re: Left 4 fun (and Zombie Panic Source)

-Molotovs take roughly 40-50 seconds to kill a tank - although he can also be set on fire by having him run through a fire barrel, etc. Keep in mind in campaign mode a tank on fire is faster than you are (even if you're in the green). You can slow him down to your speed by shooting into him at clos...
by ToLazyToThink
Sat Oct 31, 2009 10:55 am UTC
Forum: Movies and TV Shows
Topic: Stairgate: Universe
Replies: 763
Views: 68138

Re: Stargate: Universe

What really really bothers me is that it was the SHIP the initiated the aero-braking maneuver. Why would you suddenly assume it did it WRONG? Maybe because as far as they know, the ship they know almost nothing about just ran out of any power it might have otherwise used to correct their course? It...
by ToLazyToThink
Sat Sep 26, 2009 1:37 pm UTC
Forum: Gaming
Topic: Left 4 fun (and Zombie Panic Source)
Replies: 804
Views: 48608

Re: Left 4 fun (and Zombie Panic Source)

The guns all have the super special Get the Fuck Off coating developed by the GAAUP Zombie Defense Research Labs. Reminds me of a game I played a while ago. Some friends and I were playing on easy trying to get nothing special when a tank snuck up on us and smacked someone. Out of frustration we me...
by ToLazyToThink
Fri Apr 24, 2009 4:48 am UTC
Forum: The Help Desk
Topic: Firefox and the forums.
Replies: 11
Views: 935

Re: Firefox and the forums.

masher wrote:If you group bookmarks into a folder, then there is the option to "open all in tabs"


Did they ever fix that to not be retarded? Or do you still have to set browser.tabs.loadFolderAndReplace to false?
by ToLazyToThink
Wed Mar 04, 2009 12:47 am UTC
Forum: The Help Desk
Topic: Help Me Get Rid of This Virus
Replies: 11
Views: 1160

Re: Help Me Get Rid of This Virus

..., but I want to try and get rid of it just in case it happens again. I don't want to format everytime I get a virus. Bad analogy time: This is like saying you'd rather learn how to do your own stitches rather than going to the emergency room every time you stick your hand in the band saw. The so...
by ToLazyToThink
Thu Feb 19, 2009 5:02 pm UTC
Forum: Coding
Topic: Java static nested class error
Replies: 14
Views: 998

Re: Java static nested class error

You don't show your constructor in the example. Is it public?
by ToLazyToThink
Sat Jan 31, 2009 11:31 pm UTC
Forum: Movies and TV Shows
Topic: Battlestar Galactica (spoilers rampant like Durandal)
Replies: 654
Views: 73461

Re: Battlestar Galactica (spoilers rampant like Durandal)

Fair enough. Speaking of something completely different, why did they even briefly re-kindle Lee and Starbuck's affair? Or Lee and Dualla's for that matter, they were both stupid, stupid ideas to begin with. Dualla because it made what came next that much worse. Starbuck because I'm betting her and...
by ToLazyToThink
Sat Jan 31, 2009 11:23 pm UTC
Forum: Movies and TV Shows
Topic: Battlestar Galactica (spoilers rampant like Durandal)
Replies: 654
Views: 73461

Re: Battlestar Galactica (spoilers rampant like Durandal)

The part I don't buy is why Adama stayed behind. The shuttle was already gone before the troops got there, so he's not staying to protect the president and the rest, and they don't have any hope of making it past the troops. So they're basically throwing way their lives for nothing. Adama has alread...
by ToLazyToThink
Thu Jan 22, 2009 5:35 pm UTC
Forum: Coding
Topic: Horror Stories
Replies: 59
Views: 6284

Re: Horror Stories

My first job out of college, I was playing around with my .profile (since I just started there wasn't much else for me to do yet). Since I've always hated vi, I was using UltraEdit and FTPing the files back and forth. I accidentally managed to corrupt the .profile for the application login with a ^M...
by ToLazyToThink
Mon Jan 19, 2009 3:55 am UTC
Forum: Serious Business
Topic: Climate Change / Global Warming
Replies: 257
Views: 50237

Re: Global Warming or Global Cooling?

..................... There is a lot more respiration and a lot less photosynthesis going on than there was 100 years ago. If you want 1900 CO2 levels, you need equivalent ratios of plants to animals. Or at least, logic suggests that. What do others think? My understanding is old growth forest are ...
by ToLazyToThink
Tue Oct 07, 2008 7:26 am UTC
Forum: Coding
Topic: C++: identify derived class from instance of base class
Replies: 31
Views: 8608

Re: C++: identify derived class from instance of base class

1) class DetailedException is derived from std::exception and contains some members that help detail the cause of the exception, and a method to retrieve them. There are various exception types that derive from DetailedException for the specific exceptions (file not found, end of file, write to rea...
by ToLazyToThink
Mon Oct 06, 2008 3:16 am UTC
Forum: Coding
Topic: C++: identify derived class from instance of base class
Replies: 31
Views: 8608

Re: C++: identify derived class from instance of base class

More info on rtti.

Although I agree with sparkyb, while occasionally needed it's often a sign of a design defect.
by ToLazyToThink
Tue Sep 30, 2008 2:21 am UTC
Forum: The Help Desk
Topic: Aarggh! It's a virus!
Replies: 15
Views: 2814

Re: Aarggh! It's a virus!

If you still know the CD key for your XP, you can torrent a CD with no moral qualms. If you don't remember your CD key, you should be able to get one from the manufacturer or retailer. If I recall correctly, they are required to give you the OS CD with the computer. That done, it should be pretty e...
by ToLazyToThink
Mon Sep 29, 2008 6:43 am UTC
Forum: Coding
Topic: File copy in Linux
Replies: 12
Views: 2631

Re: File copy in Linux

Nothing is more frustrating than trying to edit a file, only to find out that the program wants to drop temporary files in places it doesn't have permission to. I'm afraid I can't agree with that. Personally I find it far more annoying when an editor makes changes to a file I haven't told it to save.
by ToLazyToThink
Mon Sep 29, 2008 4:51 am UTC
Forum: Coding
Topic: File copy in Linux
Replies: 12
Views: 2631

Re: File copy in Linux

[edit] To clarify, I'm operating on a temporary copy of a file, and intend to write it back over the original when saving. Maybe there's a better method to do that specifically. For the last part, you probably want rename. For initially creating the temp file, like already said, create the new file...
by ToLazyToThink
Wed Sep 17, 2008 5:51 pm UTC
Forum: The Help Desk
Topic: "rm -rf" doesn't work
Replies: 8
Views: 1431

Re: "rm -rf" doesn't work

find . -name "*.txt" -exec rm {} + -exec command {} + This variant of the -exec action runs the specified command on the selected files, but the command line is built by appending each selected file name at the end; the total number of invocations of the command will be much less than the...
by ToLazyToThink
Wed Sep 17, 2008 5:21 am UTC
Forum: The Help Desk
Topic: Some help for a newbie?
Replies: 5
Views: 1223

Re: Some help for a newbie?

if you don't have any personal or sensitive data on that machine , and make sure it's air gapped so you don't spam ToLazyToThink and others who hate spam spewing scumbags, you'll be ok. Otherwise VMs might be the way to go , as long as you make sure the VM has no network access . There are likely t...
by ToLazyToThink
Wed Sep 17, 2008 5:14 am UTC
Forum: The Help Desk
Topic: DISK BOOT FAILURE
Replies: 18
Views: 1854

Re: DISK BOOT FAILURE

What resources (other PCs, spare hard drives, etc) do you have available? That's probably going to determine some of your options. The problem is if the hard drive is going bad, then it could easily get worse as you play with it. Ideally you'd image the hard drive to another hard drive, and then pla...
by ToLazyToThink
Wed Sep 17, 2008 4:56 am UTC
Forum: The Help Desk
Topic: "rm -rf" doesn't work
Replies: 8
Views: 1431

Re: "rm -rf" doesn't work

You have the bit about which is better with many options backwards; find -exec can handle any number of files, wherease find |xargs will fail it there are more than some large (but system-dependent) number of files involved. If it fails, you need to get a better version of xargs (or make sure you'r...
by ToLazyToThink
Sun Sep 14, 2008 7:44 am UTC
Forum: The Help Desk
Topic: "rm -rf" doesn't work
Replies: 8
Views: 1431

Re: "rm -rf" doesn't work

find . -name "*.txt" -exec rm -f {} \; If you're deleting thousands of files, xargs might be better than the exec option. PS: I can't believe how many times I kept trying to use my shell's line editing commands writing that first line. Even after I noticed I was doing it. PPS: It's usually...
by ToLazyToThink
Sat Sep 06, 2008 11:51 pm UTC
Forum: Religious Wars
Topic: Antivirus program for windows yes? no? if so which?
Replies: 54
Views: 23011

Re: Antivirus program for windows yes? no? if so which?

It was pretty well buried, so I don't blame you for not finding it, but this has been asked before:
http://forums.xkcd.com/viewtopic.php?f=40&t=16415
by ToLazyToThink
Tue Jul 15, 2008 3:47 am UTC
Forum: Serious Business
Topic: Creationism
Replies: 914
Views: 84098

Re: Creationism

A good friend of mine put it this way: What do you have to lose by believing in God? If you believe and you live the kind of life He wants you to live, then you gain everything. Everything. But if it turns out that he doesn't exist, well, he wasn't a tangible presence in my life, so I haven't lost ...
by ToLazyToThink
Wed Jul 09, 2008 4:12 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0447: "Too Old For This Shit"
Replies: 95
Views: 18437

Re: "Too Old For This Shit" Discussion

Learning to echo a hello world is not basics of a programming language. Learning to use simple variable, create a loop and use conditional statements are not yet basics of a programming language. That is like saying you know the basics of cooking gourmet food when you know what flour is and how an ...
by ToLazyToThink
Mon Jul 07, 2008 1:10 pm UTC
Forum: Gaming
Topic: What game has caused you to utter the most profanity?
Replies: 421
Views: 38545

Re: What game has caused you to utter the most profanity?

First off, Half-life 2 on Hard difficulty. Fuckingbitchassmotherfuckermanhacks. I want to kill someone now... But that's kind of lame. ..... Also, Hunters in Ep2 during the final battle on Hard. After a few deaths I got the inspired idea of running them over. Buggers are fairly good at dodging but ...
by ToLazyToThink
Sun Jun 01, 2008 3:33 pm UTC
Forum: Coding
Topic: java URL object get giberrish from xkcd
Replies: 18
Views: 5308

Re: java URL object get giberrish from xkcd

The problem is the response is gzip encoded. Huh? What on earth are you talking about? HTML responses aren't compressed! That's odd. When I use the Firefox Web Developer's View Response Headers I get this: Vary: Accept-Encoding Content-Encoding: gzip Last-Modified: Fri, 30 May 2008 04:00:05 GMT Eta...
by ToLazyToThink
Sun Jun 01, 2008 7:13 am UTC
Forum: Coding
Topic: java URL object get giberrish from xkcd
Replies: 18
Views: 5308

Re: java URL object get giberrish from xkcd

The problem is the response is gzip encoded.

So check the Content-Encoding header, and if it's gzip, wrap your input stream in a GZIPInputStream.*


*Untested. Author is not responsible for any rips in the time space continuum caused by following this advice.
by ToLazyToThink
Tue Feb 19, 2008 7:45 am UTC
Forum: The Help Desk
Topic: 90 Day Jane Trojan?
Replies: 4
Views: 1597

Re: 90 Day Jane Trojan?

I didn't see any steps for detecting root kits. Even if you run rootkit revealer, there are ways around that too. It's pretty much impossible to be 100% sure you've gotten everything. It's not like it was a few years ago. There's big money involved in some of this, you're up against better than just...
by ToLazyToThink
Sat Feb 16, 2008 6:46 pm UTC
Forum: The Help Desk
Topic: 90 Day Jane Trojan?
Replies: 4
Views: 1597

Re: 90 Day Jane Trojan?

Nuke it from orbit, it's the only way to be sure. :twisted: But, seriously, unless you really know what you're doing it's very hard to be sure you've cleared out everything. Even if you know what you're doing, it's still usually quicker to just nuke and restore. Backup your important data (you have ...
by ToLazyToThink
Fri Feb 15, 2008 8:27 am UTC
Forum: Religious Wars
Topic: Forced whitespace and tabulation
Replies: 70
Views: 14491

Re: Forced whitespace and tabulation

I still have the emotional scars from a horrific makefile incident. Significant whitespace == worst idea ever.
by ToLazyToThink
Tue Feb 12, 2008 5:23 am UTC
Forum: Serious Business
Topic: I feel like my friend is joining a cult (homeopathy)
Replies: 61
Views: 8876

Re: I feel like my friend is joining a cult (homeopathy)

.....ultimately to rise on any given part of the planet. But you can't prove that. Only that it's currently over a specific location. You can't prove it's still going to be there when it's time for sunrise anywhere else. You can't even prove the Sun exist right now (just that it existed eight minut...
by ToLazyToThink
Fri Jan 25, 2008 8:37 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0375: "Pod Bay Doors"
Replies: 123
Views: 35430

Re: "Pod Bay Doors" Discussion

dreamcatcher wrote:This is the best comic for a long long time. But isn't HAL a little bit old for GLaDOS?


That depends on what source you go by. GLaDOS went online around 1999, depending on if you go by the book or the move HAL went online around 1997/1992. Do AIs use the same rules for this kind of thing?
by ToLazyToThink
Fri Jan 25, 2008 7:36 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0375: "Pod Bay Doors"
Replies: 123
Views: 35430

Re: "Pod Bay Doors" Discussion

lavkian wrote:Oh, GLaDOS isn't dead. But it didn't kill the human. Therefore, it committed an error.


but there's no sense crying over every mistake
you just keep on trying until you run out of cake
by ToLazyToThink
Tue Jan 01, 2008 10:59 pm UTC
Forum: Coding
Topic: PHP Content Management System coding
Replies: 22
Views: 5139

Re: PHP Content Management System coding

wing wrote:To prevent cookie theft, store the client's IP in the table as well, and check it every time you reference that session.


Bad advice. Due to proxies IP addresses could change mid session.

If you want to plug that hole, use tokens in your urls and plug the session riding hole at the same time.
by ToLazyToThink
Tue Jan 01, 2008 7:07 pm UTC
Forum: Books
Topic: Rendezvous with Rama
Replies: 22
Views: 5101

Re: Rendezvous with Rama

Stephen Baxter. Characterization varies from minimal to pretty fleshed-out. But always, always the most important goal of the books is to show us as much awesome and strange science and technology as possible. Someone said Rama is a character in Clarke's book. In Baxter, the universe is a character...

Go to advanced search