Please create an account to participate in the Slashdot moderation system


Forgot your password?

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 fqdn.rsync. GPLV2


PROG="$( basename $0 )"

run_backup() {

        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 $0
        exit $?

while [ -n "$1" ]; do

        echo "Reading config file '$FILE'"

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

        if [ $? = 0 ]; then

                HOST="$( basename "$FILE" )"

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

                BACKUP_DIR="$( dirname $FILE)"

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

       "$HOST" 22

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





+ - Jack Thompson Enrolls in Virtual Seminary->

Submitted by eldavojohn
eldavojohn 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

+ - Dutch Government Feared Release of Film Fitna->

Submitted by healeyb
healeyb 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.

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.

A committee is a life form with six or more legs and no brain. -- Lazarus Long, "Time Enough For Love"