Archive for February, 2005

One Time Pad

Friday, February 4th, 2005

I did a little bit of research on One Time Pads (OTP). I guess from a theoretical standpoint, they are absolutely secure, but I don’t think it’s very realistic. The problem is the assumptions they make are unrealistic:
* The key must be 100% purely random
* The key must be transmitted securely (!!!)
* The key or any portion of the key can only be used once
* The key must be the same length as the message.

(more…)

Linux and Communism

Friday, February 4th, 2005

What do you think the idea behind Social Security is? Welfare? Insurance? In fact Insurance is a GREAT example. Insurance involves pooling money of individuals so that when something bad happens to a smaller percentage of them, society has a buffer of funds to provide. Now that’s Communistic: taking from everyone and doling it out to those who need it more! But it’s also a good thing, especially because in most cirumstances insurance is optional and in all circumstances is governed by laws which are endorsed by the people. That’s the real point. Having some Communistic components to an economy isn’t bad, just Communism as the entire system of economy doesn’t work. In fact the idea of Communism is quite “nice”–it says “let’s all share.” It just doesn’t work because not everyone has the same work ethic, and the system becomes unfair.

(more…)

Redirecting output

Friday, February 4th, 2005

Thanks to Marcus Hall:

On Mon, Jun 21, 2004 at 04:32:41PM -0400, Angelo Bertolli wrote:
> Using the standard bourn shell script (/bin/sh), is there a way to make
> all output by default direct to another fd besides stdout/stderr?
>
> What I mean is there any way to have the entire script redirect output
> to the same place without having to tack &> onto the end of everything?

(more…)

My .muttrc file

Friday, February 4th, 2005

set copy=yes
set move=no
set sort=mailbox-order
set sort_aux=date
set abort_unmodified=no
set autoedit
set beep_new
set fast_reply
set forward_format=”%s (fwd)”
set help
set include=yes
set indent_string=”> “
set pager_stop
set sig_dashes=no
set tilde
set folder=~/mail
set from=”my@address.com”

Shared Resources

Wednesday, February 2nd, 2005

People don’t recognize and treat shared resources appropriately. They tend to have a concept of exclusive ownership, but not much of shared ownership. Our entire value is based on what we own or our net worth. However, how long would we live without air? Air is a shared resource which we completely disregard and pollute even though it’s arguably the most valuable thing on the planet.

(more…)

Mounting a vfat system in fstab with the umask option

Wednesday, February 2nd, 2005

I had a problem in fstab with setting umask for a vfat filesystem. Here is a little tip for everyone: umask needs 4 digits, using the basic 3 doesn’t work at all.