Andrew AFS Stuff

For general rambling.
VLSmooth
Tenth Dan Procrastinator
Posts: 3055
Joined: Fri Jul 18, 2003 3:02 am
Location: Varies
Contact:

Andrew AFS Stuff

Post by VLSmooth »

So, how have people gone/will go about moving stuff from AFS?

I've debated on dumping all my mail into a large text file, tar'ing it, and grabbing it, but I'm fairly certain there has to be a better way.

Hmm... this also means I have to organize all my course files too, argh.

Peijen
Minion to the Exalted Pooh-Bah
Posts: 2790
Joined: Fri Jul 18, 2003 2:28 pm
Location: Irvine, CA

Post by Peijen »

setup your favor email client, login and download all you mail into it?

and zip the rest and burn them to cd?

I didn't remember to save anything ...

VLSmooth
Tenth Dan Procrastinator
Posts: 3055
Joined: Fri Jul 18, 2003 3:02 am
Location: Varies
Contact:

Sigh

Post by VLSmooth »

Meaning I'll need to reinstall cygwin and pine, or actually install debian?

Sadly though, I think I'm getting used to outlook, so I guess I could go with that (at least it's MUCH better than Lotus Notes, which I was forced to use last summer)

Jonathan
Grand Pooh-Bah
Posts: 6722
Joined: Tue Sep 19, 2006 8:45 pm
Location: Portland, OR
Contact:

Post by Jonathan »

So it sounds like you are interested in two things:

1. archiving your saved mail in a mailbox format of one kind or another, preferably one that is compatible with your current mail client
2. archiving your data

When I grabbed my stuff from Andrew and ECE, I eventually determined that I didn't care enough about my mail archives to perserve them. I looked into running some kind of IMAP-snarfing program that would connect to the IMAP server and download all the mail, but I never actually produced anything. For backups, I simply did "scp -r" and declared myself done.

Unfortunately, I reformatted the damn drive later and never made any CD backups, but that's another story.

Jonathan
Grand Pooh-Bah
Posts: 6722
Joined: Tue Sep 19, 2006 8:45 pm
Location: Portland, OR
Contact:

Re: Sigh

Post by Jonathan »

VLSmooth wrote:Meaning I'll need to reinstall cygwin and pine, or actually install debian?

Sadly though, I think I'm getting used to outlook, so I guess I could go with that (at least it's MUCH better than Lotus Notes, which I was forced to use last summer)
No. Wrong answer. Outlook is slower and less secure than every mail client in existence. Outlook Express is a chump program.

Try Mozilla Mail. I've been very pleased. Plus, it's cross platform, for when you install Debian later.

Jonathan
Grand Pooh-Bah
Posts: 6722
Joined: Tue Sep 19, 2006 8:45 pm
Location: Portland, OR
Contact:

Post by Jonathan »

The real way, the man's way to do this can be expressed succinctly as Net::IMAP::Simple.

quantus
Tenth Dan Procrastinator
Posts: 4891
Joined: Fri Jul 18, 2003 3:09 am
Location: San Jose, CA

Post by quantus »

Dwindlehop wrote:The real way, the man's way to do this can be expressed succinctly as Net::IMAP::Simple.
Woah, now you're speaking vinny's language. PERL!!!!!!!

This reminds me of yesterday when Pei asked me how to selectively copy files in a directory structure while preserving the directory structure in the destination. Of course, since it was Pei, he asked other people too including vinny. Vinny busts out perl code when all you really need is "find"

*sigh*

Jonathan
Grand Pooh-Bah
Posts: 6722
Joined: Tue Sep 19, 2006 8:45 pm
Location: Portland, OR
Contact:

Post by Jonathan »

I can reduce every perl program Vinny writes to a one line Unix command!

quantus
Tenth Dan Procrastinator
Posts: 4891
Joined: Fri Jul 18, 2003 3:09 am
Location: San Jose, CA

Post by quantus »

Can I put a character limit on the length of that command's options? Actually, isn't there already a limit to the lenght a command can be to protect against buffer overflow attacks on the shell?

Jonathan
Grand Pooh-Bah
Posts: 6722
Joined: Tue Sep 19, 2006 8:45 pm
Location: Portland, OR
Contact:

Post by Jonathan »

There's a limit on the number of arguments you can pass. There doesn't seem to be any limit on the length of a command.

Jonathan
Grand Pooh-Bah
Posts: 6722
Joined: Tue Sep 19, 2006 8:45 pm
Location: Portland, OR
Contact:

Post by Jonathan »

Take that back. The kernel defines a number of pages available to incoming commands. Usual number is 32, or 128 KB.

Jonathan
Grand Pooh-Bah
Posts: 6722
Joined: Tue Sep 19, 2006 8:45 pm
Location: Portland, OR
Contact:

Post by Jonathan »

on my system i hit the limit well before that. i can execute a couple of screens' worth of "true |" before it dies. i think that i'm hitting a limit in the number of pipes, not the command line length.

Jonathan
Grand Pooh-Bah
Posts: 6722
Joined: Tue Sep 19, 2006 8:45 pm
Location: Portland, OR
Contact:

Post by Jonathan »

a screen's worth of "true 01001..." dies with "Word too long".

Jonathan
Grand Pooh-Bah
Posts: 6722
Joined: Tue Sep 19, 2006 8:45 pm
Location: Portland, OR
Contact:

Post by Jonathan »

So the trick is to combine the maximum number of pipes, maximum number of arguments, and maximum length of each argument to create the world's longest command line, and then post it on the web. Good luck.

Peijen
Minion to the Exalted Pooh-Bah
Posts: 2790
Joined: Fri Jul 18, 2003 2:28 pm
Location: Irvine, CA

Post by Peijen »

this is like solving for 3 stats problem?

Jonathan
Grand Pooh-Bah
Posts: 6722
Joined: Tue Sep 19, 2006 8:45 pm
Location: Portland, OR
Contact:

Post by Jonathan »

Peijen wrote:this is like solving for 3 stats problem?
huh?

Peijen
Minion to the Exalted Pooh-Bah
Posts: 2790
Joined: Fri Jul 18, 2003 2:28 pm
Location: Irvine, CA

Post by Peijen »

i think it's spelled 'stats'. something about proving if a problem is np ...

VLSmooth
Tenth Dan Procrastinator
Posts: 3055
Joined: Fri Jul 18, 2003 3:02 am
Location: Varies
Contact:

Post by VLSmooth »

quantus wrote:
Dwindlehop wrote:The real way, the man's way to do this can be expressed succinctly as Net::IMAP::Simple.
Woah, now you're speaking vinny's language. PERL!!!!!!!

This reminds me of yesterday when Pei asked me how to selectively copy files in a directory structure while preserving the directory structure in the destination. Of course, since it was Pei, he asked other people too including vinny. Vinny busts out perl code when all you really need is "find"

*sigh*
I did use find, I didn't want to confuse pei with -exec...

Besides, with debugging and test info it was ~6 lines written in <1 minute.

VLSmooth
Tenth Dan Procrastinator
Posts: 3055
Joined: Fri Jul 18, 2003 3:02 am
Location: Varies
Contact:

Heh

Post by VLSmooth »

Dwindlehop wrote:I can reduce every perl program Vinny writes to a one line Unix command!
Yep, since I do hate multi-line filenames (*cough*by running my script*cough*)

VLSmooth
Tenth Dan Procrastinator
Posts: 3055
Joined: Fri Jul 18, 2003 3:02 am
Location: Varies
Contact:

I think you mean...

Post by VLSmooth »

Peijen wrote:i think it's spelled 'stats'. something about proving if a problem is np ...
I think you mean the 3-SAT problem (Satisfiability)

Post Reply