Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×

Comment Ah, hello world. (Score 1) 582

Wow. When I got bored with having to write it for the 12th damn time, all I did was this:

#include<stdio.h>
#include<stdlib.h>
 
int main(int argc, char *argv[])
{
    srand((unsigned)time(0));
    char* target = "Hello, world!";
    char work = (char)(rand()%97)+32;
    int cycle = 0;
    while (cycle != strlen(target)){
        while ((work = (char)(rand()%97)+32) != target[cycle]) {}
          putchar(work);
        ++cycle;
    }
    return 0;
}

Comment Trinity (Score 1) 344

As far as cleaning up after this crap, I've been relying on Trinity a lot. LiveCD, boots, mounts and scans. http://trinityhome.org/Home/index.php?wpid=1&front_id=12

The only problem is, you need some Linux skills to use it. Last time I applied it, it missed the Windows partition and I had to go in and manually mount it.

If I were better with rolling Linux LiveCDs, I would add more scanners and set it up to run out of X

Comment Backup, backup, backup... (Score 1) 225

God, I love flashing out from under active systems. tldr: Hooray for updates that break wireless and then the whole router. Also, how moronic is it to have the default wireless config be "ddwrt" SSID with no security and no password?

I heard about this on Wednesday, but made sure I had remote admin off [why, God, why would you ever have that on unless you're doing weird voodoo with a wireless point NATting inside your internal network?] and sailed on, planning to takedown and flash sometime Saturday.

This news pushed it to the top of my cut list. People, I know this is old hat to many of you, but backup, backup, backup. I had in hand before I started:

* Settings backed up.
* A copy of the old firmware
* A copy of the new firmware

First flash seemed to go just fine, router said it was rebooting... and then didn't. Uptime still read 20 days. Issued web GUI reboot command... nothing.

Went to the closet, unplugged, replugged. Correct version confirmed, traffic flowing... wireless vanished. What the hell. Went in, redid all the wireless settings. Nope. But I do have a Linksys_SES_blahblah network in view. Nah. Couldn't be.

Unplugged the router again... nope, the SES net is still on the air. Good. Plugged the router back in... "ddwrt" net appears. Aw crap. Plugged the laptop in and changed the password and took the (unpassworded, unencrypted) net off the air. Fuck, that's a moronic default config.

To make a long story less long: flashed back to v24-sp1, reapplied my saved config, flashed the new config, it broke AGAIN. Thought for a minute, applied saved state, crossed fingers... and everything worked. Phew.

Now I have to go around unconfusing all the laptops. Desktops should be fine, since they (hopefully) didn't re-DHCP while the router was at 192.168.1.1 ...

Slashdot Top Deals

So you think that money is the root of all evil. Have you ever asked what is the root of money? -- Ayn Rand

Working...