Author Archives: Scott Alfter

News you can use

Free beer for all the hashers…for your health and longevity:555ca2a02e755.image

A beer a day is 110-year-old Nebraska man’s secret to a long life

A can of beer every day is Mark Behrends’ secret to a long life.

The Nebraska City man turned 110 years old on May 16, making him Nebraska’s oldest living person and possibly the oldest man living in the United States.

“He always told everybody the reason he has lived so long is drinking one can of beer, every day at 3 p.m.,” said his daughter Lois Bassinger of Nebraska City. “He always joked that that was his medicine since he takes very little medicine.”

Photoshop, Anyone?

So the SCOAMF showed up on Letterman the other night.  Never mind that the world’s burning…gotta yuck it up with one of the least funny “comedians” on television:

Photoshop, Anyone? CONTEST

The regime saw fit to issue a photo from the event.  It’s already been the subject of a little bit of photoshopping:

letterman-0bama-constitution

letterman-0bama-fire

My own ‘shopping skills are somewhat crude, but effective:

To try your own hand at it, you can get the full-size original here.

EPA Proposes To Raise The Price Of Everything

“We can’t drive our SUVs and eat as much as we want and keep our homes on 72 degrees at all times … and then just expect that other countries are going to say OK.”

— the shitty little grifter who keeps the White House so warm you could grow orchids in it

“Under my plan of a cap-and-trade system, electricity rates would necessarily skyrocket.”

— the shitty little grifter, on the campaign trail in 2008

Campaign promise about to be kept, whether you like it or not:

EPA Proposes To Raise The Price Of Everything

Quoting the Washington Examiner:

The stringent emission rules, known as the Clean Power Plan, are at the center of President Obama’s agenda to address the threat of climate change. Many scientists say manmade greenhouse gas emissions are causing the Earth’s climate to warm, resulting in severe weather, droughts and flooding.

The agency sent what will become its final regulations for the plan to the Office of Management and Budget to undergo one last review. After the review period, which could take 60 days, the Clean Power Plan will be published and will be law.

Coffee…is there anything it can’t do?

How about a manipulator arm that could be used for minimally-invasive surgery?

Coffee Powered Tentacle Bot!

Inspired by octopus arms, a robotic arm that can bend, stretch and squeeze through cluttered environments has been created by researchers in Italy.

Soft robotics is a promising technology in the medical field, particularly for surgical applications. This arm was designed for surgical operations which need to access remote, confined regions of the body and, once there, manipulate soft organs without damaging them, and relies on coffee grounds as a control mechanism!

For more details, there’s this journal article with diagrams.

Fun with photos

An amusing little toy…you give it a picture, and it tells you how old it thinks the people in it are:

How Old Do I Look?

P1_scaledI gave it this photo, taken by a professional portrait photographer about three years ago. At the time, I was 40 and Tabitha was 32.  The results it gave me were kinda funny (though she wouldn’t have been amused :-) ). You can download the picture and see for yourself, or just upload one of your own pictures and see what it makes of it.

Missing the point of “debate”

Gotta maintain that epistemic closure, I guess:

Everytown: We’ll Only Debate If Our Sparring Partners Agree With Us

Here’s transcript of the relevant part of his answer:

Everytown is committed to an evidence-based approach. We speak with criminologists, legislators across the country and we welcome debate. In fact, we’re thrilled that there is an increased amount of research in this area, and an increased amount of conversation about what laws are effective to keeping guns out of the hands of felons and domestic abusers. So, when there’s a credible scientist — somebody who wants to have a real constructive conversation about this — we’re going to be there. But folks who seek to minimize the grave issue of gun violence in this country – or to draw attention away from the real issues to themselves – that’s not a conversation I think it’s productive to be a part of.

Obviously, the speaker is doing little more than begging the question. “Sure we’ll talk to people who disagree” he appears to be saying, “but only if they agree. Because to disagree with the claims that we are making is to take attention away from the claims that we are making, which are true by virtue of their having been made.”

Backing up your ownCloud contacts & calendars

I’ve had most of my stuff either backed up to Tarsnap or archived to BD-R for a while now, with two exceptions: the contacts and calendars I have stored in ownCloud.  It’s not much information sizewise, but losing everyone’s phone numbers would be a royal pain in the ass.

Backing up contacts is relatively simple; ownCloud provides a URL that grabs them in one shot. Calendars are a bit more problematic, as you probably have more than one. HTTrack is used to grab all of the calendars, which are then concatenated and compressed (except for the contact birthdays calendar, which is auto-generated from your contacts). In my case, the backup is stored in a directory that gets sent to Tarsnap by another script; you could do whatever you want with your backup files.

Set this up as a cronjob; set it to run maybe a half-hour before your backup job. (12345 isn’t really my ownCloud password; I only use that on my luggage. :-) )

#!/bin/bash

source /etc/profile
cd $HOME

# script settings: ownCloud server address, username, password, 
# backup destination

OWNCLOUD=https://home.alfter.us/owncloud
USERNAME=salfter
PASSWORD=12345
DEST=/mnt/files/documents

PREFIX=`echo $OWNCLOUD | sed "s/\/\//\/\/$USERNAME:$PASSWORD@/"`

# retrieve all contacts from ownCloud and concatenate them into one
# compressed file, which then gets sent to Tarsnap with the rest of
# our documents

rm /mnt/files/documents/contacts.vcf* 
wget $PREFIX/remote.php/carddav/addressbooks/$USERNAME/contacts\?export -O "$DEST"/contacts.vcf && \
xz -z9 "$DEST"/contacts.vcf

# do the same with calendars...use httrack instead of wget as there's no
# way AFAICT to enumerate calendars so we can export them

httrack $PREFIX/remote.php/caldav/calendars/$USERNAME -O calendars && \
for i in `find calendars -mindepth 7 -type d | grep -v contact_birthdays`
do
  cat `find $i -name \*.ics` | xz -9 >"$DEST"/calendar-`basename $i`.ics.xz
done
rm -r calendars