Archive for April, 2006 Page 3 of 3



Bill Gates’ Working Strategy

Check out Bill’s Working Style. From this picture, do you really think this is his office? I mean c’mon, he’s the richest man in the world, where’s the hot tub and so forth. He is looking pretty ragged here. He is starting to get that star wars emperor look…whoa!

Bill Gates image from http://money.cnn.com/2006/03/30/news/newsmakers/gates_howiwork_fortune/index.htm by Robyn Twomey

Howto add other file types allowable for wordpress upload

http://www.directoratnight.com/2006/02/26/wordpress-and-the-dcr-file-type/

SFAI Design + Technology Salon: The Strange Destiny of Open Source in the Nation State

SFAI Design + Technology Salon:
The Strange Destiny of Open Source in the Nation State

Date: Thursday, April 6
Time: 7 - 9:30 PM
Location: SFAI Café, 800 Chestnut St., sf, ca 94133
http://maps.google.com/maps?f=q&hl=en&q=800+chestnut+st,+sf,+ca
Free and Open to the Public
Free Snacks and Drinks

tags: open source, commons, raqs, salon, drinking, socializing,
eating, art, media arts, new media, remix, students, learning,
discussion, mixing

website: http://www.sfai.edu/design/salon
upcoming.org listing: http://upcoming.org/event/66617/

San Francisco Art Institute’s Center for Media Culture and Leonardo,
The International Society for the Arts, Sciences and Technology, will
co-sponsor the next SFAI Design + Technology Salon on April 6 from
7 - 9:30 PM at SFAI’s Cafe at 800 Chestnut St in San Francisco, CA
(http://maps.google.com/maps?f=q&hl=en&q=800+chestnut+st,+sf,+ca).
During the event the RAQs Collective will initiate a discussion on the
topic of “The Strange Destiny of Open Source in the Nation State”
accompanied by a presentation on intellectual property issues by San
Jose based writer and librarian Steve Cisler. The salon will consist
of short 20-minute presentations followed by an “open mic” and a
lively Q&A. An open wine bar and food will precede the presentations
and dessert will follow.
 
Monica Narula, Jeebesh Bagchi, and Shuddhabrata Sengupta of Raqs Media
Collective from New Delhi are the Spring 2006 Fellows of SFAI’s Center
for Media Culture. Raqs is a collective of artists who work in new
media and digital art practice, documentary filmmaking, photography,
media theory, research, criticism, and curating. Their work has been
exhibited at the Guangzhou Triennial, China; the Venice Biennale;
Palais des Beaux-Arts, Brussels; Walker Art Center; and Documenta 11,
Germany.

This Design + Technology Salon follows up on the first successful
event in November which featured Amy Franceschini of
Future Farmers, Ian McDonald, and Scott Snibbe all helping to define
what is design + technology in contemporary society. This event
expands upon this initial discussion by moving the focus from
contemporary practictioners to the topic of Open Source and Open
Content.

For More Information

RAQs Collective: http://www.raqsmediacollective.net
Sarai: http://www.sarai.net
Leonardo: http://www.leonardo.info 
Design+Technology Salon http://www.sfai.edu/design/salon

Join the Mailing List

design@sfai.edu

Press Contact

Jon Phillips
Visiting Lecturer
Design+Technology Department
San Francisco Art Institute
http://www.sfai.edu

510.499.0894
http://www.rejon.org

Get your evolution emails to a long text list

Use these scripts to get all your emails out of your evolution vcards you export, or have elsewhere. I’m keeping them in pieces because their functionality is useful in other places as well. For example, the vcard2pair.pl is useful for vcards and the exportevolution.py dumps evolution’s addressbook to text vcard.

I use these scripts to generate a static list of all of my contacts for hard copy firstname lastname.

I’m sure there is a really short way to do this. I snapped these pieces together over the last year and figured it is useful to several people out there.

exportevolution.py

#!/usr/bin/python2

import bsddb, os, re

home = os.getenv('HOME')

# This is the only variable you should change.  If you do not know the
# location of your evloution address book, use `locate addressbook.db`
# to find it

dbname = '%s/.evolution/addressbook/local/system/addressbook.db' % home

# .evolution/addressbook/local/system/addressbook.db

db = bsddb.hashopen(dbname, 'r')

for k in db.keys():
for line in db[k].split('n'):
print line

db.close()

vcard2pair.pl

#!/usr/bin/perl
#
# The author(s) have made the contents of this file
# available under a CC-GNU-GPL license:
#
# http://creativecommons.org/licenses/GPL/2.0/
#
# A copy of the full license can be found as part of this
# distribution in the file COPYING.
#
# You may use this software in accordance with the
# terms of this license. You agree that you are solely
# responsible for your use of this software and you
# represent and warrant to the author(s) that your use
# of the ccHost software will comply with the CC-GNU-GPL.
#
# Copyright 2005-2006, Jon Phillips.
#
# $Header$
#
# vcard2pair.pl
#
# This program takes a bunch of text vcards and extracts emails from them.
#

use strict;
my $line;
my $name;
my @emails;

while ( $line =  ) {
chomp ($line);
chop ($line) ; # trailing ^M

# BEGIN:VCARD
if  ( $line eq "BEGIN:VCARD" ) {
$name = "";
undef(@emails);
}

# X-EVOLUTION-FILE-AS:
if ( $line =~ /^X-EVOLUTION-FILE-AS:.*/ ) {
$line =~ s/^X-EVOLUTION-FILE-AS://g;
$name = $line;
$name =~ s/[']//g;
}

# EMAIL
if ( $line =~ /.*EMAIL/ ) {
$line =~ s/.*EMAIL.*://g;
if ( $line =~ /.+@.+/ ) {
push @emails, $line;
}
}

# END:VCARD
if ( $line eq "END:VCARD" )
{
if ( $name ne "" && scalar @emails > 0 ) {
foreach my $email (@emails) {
print "$name < $email>n";
}
}
}
}

lnfn2fnln.pl

#!/usr/bin/perl -t
# changes:
#     lastname, firstname  # to: #     firstname lastname
use strict;
while ( my $line =  ) {
chomp ($line);
$line =~ s/^(S+), (S+)/$2 $1/;
print "$linen";
}

print_all_emails.sh

#!/bin/bash
#
# Converts entire addressbook into a list with each line like so:
#
#    firstname lastname
EMAIL_LOG=/tmp/tmp_email.log
exportevolution.py > $EMAIL_LOG cat $EMAIL_LOG | vcard2pair.pl | lnfn2fnln.pl | sort | uniq
rm $EMAIL_LOG

Usage:

print_all_emails > somefile.txt

Get firefox audio working in gentoo

#!/bin/sh
#
# Stub script to run mozilla-launcher.  We used to use a symlink here
# but OOo brokenness makes it necessary to use a stub instead:
# http://bugs.gentoo.org/show_bug.cgi?id=78890

export MOZILLA_LAUNCHER=firefox-bin
export MOZILLA_LIBDIR=/opt/firefox
export MOZ_PLUGIN_PATH=${MOZ_PLUGIN_PATH:-/usr/lib/nsbrowser/plugins}
#exec /usr/libexec/mozilla-launcher "$@"
exec aoss /usr/libexec/mozilla-launcher "$@"

You will need to also emerge alsa-oss. I kinda wish the gentoo devs would make this a USE flag, because I’ve had to track down this customization a couple of times.

Hilarious anti-piracy ad from 1992, though no one could blame you for thinking the awful rap was from the 80’s.

This video is my new aesthetic. Thanks to Neil for the link.