Forgot your password?
typodupeerror

Comment: Re:Multiple answers (Score 1) 266

by Cocoronixx (#35766670) Attached to: I back up personal files...

Heres mine, in bash/sh. use by creating an rsync include/exclude file named as fqdn.rsync, then run rsync_backup.sh fqdn.rsync. GPLV2

#!/bin/sh

PROG="$( basename $0 )"
VER=20101022001

run_backup() {
        HOST="$1"
        EXCLUDE_FILE="$2"
        BACKUP_DIR="$3"

        DATE="$( date +%Y%m%d_%H%M%S )"

        rm -rf -- "$BACKUP_DIR/$HOST/tmp/"

        mkdir -p -- "$BACKUP_DIR/$HOST/tmp/" &&

        rsync -avhSPW --stats -e ssh --delete --delete-excluded -b \
                --compress-level=9 \
                --link-dest="$BACKUP_DIR/$HOST/cur/" \
                --exclude-from="$EXCLUDE_FILE" "$HOST:/" "$BACKUP_DIR/$HOST/tmp/" 2>&1 | tee "$BACKUP_DIR/$HOST/$DATE.log" &&

        echo "Commiting new backup..." &&

        mv -v -- "$BACKUP_DIR/$HOST/tmp/" "$BACKUP_DIR/$HOST/$DATE/" &&

        echo "Setting backup as current..." &&

        ln -sfnv -- "$DATE" "$BACKUP_DIR/$HOST/cur" &&

        return 0

        echo "Error encountered!"

        mv -v "$BACKUP_DIR/$HOST/$DATE.log" "$BACKUP_DIR/$HOST/$DATE.err"
        return 1

}

if [ "$1" = "-chkupd" ]; then
        chkupd.sh $0
        exit $?
fi

while [ -n "$1" ]; do
        FILE="$1"

        echo "Reading config file '$FILE'"

        echo "$FILE" | grep '[.]rsync$' > /dev/null 2>&1

        if [ $? = 0 ]; then

                HOST="$( basename "$FILE" )"
                HOST="${HOST/%.rsync/}"

                if [ "${FILE:1:1}" != "/" ]; then
                        FILE="$( pwd )/$FILE"
                fi

                BACKUP_DIR="$( dirname $FILE)"

                echo "Backing up from host '$HOST' to '$BACKUP_DIR/$HOST/' ($FILE)"

                chkhost.sh "$HOST" 22

                if [ $? -eq 0 ]; then
                        run_backup $HOST $FILE $BACKUP_DIR
                fi

                echo

        fi

        shift
done

Censorship

+ - Jack Thompson Enrolls in Virtual Seminary->

Submitted by eldavojohn
eldavojohn (898314) writes "So you've been disbarred. And you've slowly been going crazy. You've done so much, where do you go next? Do you call it quits? Admit defeat? Not if you're Jack Thompson! No sir, you join the online Reformed Theological Seminary! Jack Thompson hath spoken, 'Some people probably thought I should have kept my view of the world within the religious cloister and not out in the public sphere. But I had a responsibility to try to be god's voice in the world.' From RTS' website: 'Reformed Theological Seminary serves the church by preparing its leaders through a program of graduate theological education based upon the authority of the inerrant Word of God and committed to the historic Reformed Faith.' Perhaps Jack Thompson has finally understood that he should be preaching — albeit to a very small set of people that voluntarily want to hear his opinion."
Link to Original Source
Politics

+ - Dutch Government Feared Release of Film Fitna->

Submitted by healeyb
healeyb (1799034) writes "According to a January 17th release in the ongoing release of US diplomatic cables, it is revealed that the Dutch government had serious concerns about the March 2008 political film by Geert Wilders called Fitna. The short film, only seventeen minutes in length, focused on excerpts of the Qur'an with visual cutaways showcasing violence attributed to extremist groups, arguing that language of the holy text has been an encouragement to violence. The relevant cable, created in early February of..."
Link to Original Source

Comment: Re:Partial Reinforcement (Score 1) 268

by Cocoronixx (#31924700) Attached to: True Tales of Tech Hoarding

Any psych-turned-CS person will tell you that the hardest behaviors to break are partial reinforcement.

Behaviors that don't pay off all the time, but sometimes do.

Anyone who has saved hours of time by pulling out an obscure manual from the bottom of a pile, or recovered data with the help of a rare connector type from the junk closet, is getting partially reinforced.

And therefore, will continue to collect.

...and maybe that is because it is a valid behaviour?

Comment: Re:Four Horsemen burger of San Antonio, TX (Score 3, Informative) 267

by Cocoronixx (#31601892) Attached to: Indian Military Hopes to Weaponize the Searing "Ghost Pepper"

Considering that Pepper spray is considered a chemical weapon and is banned under the Chemical Weapons Convention (which India signed & ratified). I'd assume that this would fall under the same ban.

http://en.wikipedia.org/wiki/Pepper_spray
http://en.wikipedia.org/wiki/Chemical_Weapons_Convention

Comment: Re:Epic Fail? (Score 4, Insightful) 90

by Cocoronixx (#29951736) Attached to: Bacteria Could Survive In Martian Soil

If that is the case then we have already failed. Any number of bacteria could have survived on the rovers could now be contaminating the surface. With no known competition they could be flourishing. I see little that can be done to figure out what is now native bacteria (if any) and what was brought via the rovers.

Wow! Too bad the NASA/ESA scientists weren't as smart as you, because if they were they would have put policies in place to mitigate the risks of contamination.

Premature optimization is the root of all evil. -- D.E. Knuth

Working...