Home

information vaults

  • Apr. 11th, 2008 at 1:40 PM
I'm very excited about the Wells Fargo vSafe rumor. I desperately want an online backup service with a guarantee on the order of decades.

Tags:

"API wrapper" service

  • Apr. 8th, 2008 at 5:16 PM
I want to make a website that will periodically scrape sites like caltrain.org and then provide an API for programatically accessing that data.

Tags:

Things you can waste

  • Mar. 31st, 2008 at 12:23 PM
A shortened list of things you can waste, thanks to snowclone.pl:


You can waste your...

  • life
  • money
  • computer
  • home
  • feet
  • energy
  • breath
  • strength
  • emotions
  • strength
  • vote
  • water
  • battery
  • RAM
  • gum
  • employees
  • weed
  • stamina
  • ammo
  • space
  • efforts
  • profits
  • bandwidth
  • punches
  • quarters
  • webspace
  • brainpower
  • quota
  • internet
As I'm working more on web applications I'm finding that there is a particular set of problems which are fixed in scope but that need constant tweaking in order to stay useful.

A possible solution for these sorts of problems might be a 3rd party online API. Here is the start of my list:

1: Email validation
2: Email verification
3: User Agent parsing

(I realize that an online API would have latency issues, but these are the sorts of things which should probably be performed asynchronously anyway)

Tags:

fetch_urls_from_tinyurl.sh

  • Mar. 16th, 2008 at 12:05 AM

#!/bin/bash
# Fetch URLs from tinyurl.com
# Make sure you have curl and bc installed before you run this.
#
# Joel Franusic 2008 - Public Domain Sofware

MIN=1
MAX=10000
SLEEP_MAX=3
l=(0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z)

for((n=$MIN; n<$MAX; n++)); do
r=`echo "obase=36;$n" | bc`
num=''
echo -n "$n "
for c in $r; do
c=${c#0} # remove zero padding, yay variable mangling!
num=$num${l[$c]};
done
echo -n "$num "
result=`curl -s -I "http://tinyurl.com/$num" | grep -o -e 'http.*'`
echo -n "$result"
echo ''
sleep $((RANDOM%$SLEEP_MAX))
done

Tags:

Homeschooling

  • Mar. 13th, 2008 at 1:12 AM
The people that know I was homeschooled have have been asking me what I think of the recent ruling concerning homeschooling in California. My opinion comes down to this: In the long term, this ruling is meaningless.

The ruling might have made a meaningful negative impact on homeschooling a few decades ago, when it was still an unproven educational system. But that time is now long gone.

The elephant in the room here is that California's public education system is fabulously broken beyond repair.

It's actually pretty sad. In theory a public school should be able to provide a superior education. They should have experienced trained teachers on staff and presumably have the money to purchase expensive equipment for sports, science, arts and music programs, etc.

Yet, for the last couple of decades, "uncredentialed" parents have been providing their children with an educational experience that is far superior to what our public school system has to offer.

I'm looking forward to watching how this all pans out.

Tags:

Today in PBwiki news

  • Feb. 28th, 2008 at 9:43 PM
I've got some neat OpenID stuff in the pipe.
Nathan has a really really neat 2.0 feature working.

Tags:

Today

  • Jan. 5th, 2008 at 1:10 AM
The power went out before I left for work today.
There were lots of tree parts on the sidewalk as I walked to the street car.
I stood in a doorway and watched people use umbrellas as shields against the wind.
Southbound BART service was interrupted because a tree fell on the tracks.
I took CalTrain to work instead.
I saw raindrops floating in midair outside the 8th floor window of our new office building.
I helped set up DSL at our new office.
Our entire office was put into boxes.

Tags:

Fake Name OpenID Provider

  • Dec. 27th, 2007 at 1:30 PM
Testing OpenID would be a lot more simple if there was an OpenID provider that was pre-filled with a lot of generated fake identities.

  1. Run a program that will generate a wordlist, put the output in an queue.
  2. Have a bunch of EC2 instances that take input from the queue and generate MD5, SHA1, etc hashes from the queue. Store hash to password mappings in SimpleDB
  3. Depending on how fast inserts into SimpleDB are, it might make sense to store the hash/password mappings on disk or in S3 and stream them into SimpleDB
  4. ???
  5. Profit!


Since the Amazon AWS services have set prices, it should be pretty easy to calculate the dollar cost per n passwords. I'm guessing that number would be pretty low.

See also: http://twitter.com/jf/statuses/536491112

Tags:

San Francisco

  • Dec. 23rd, 2007 at 9:05 PM
I still have trouble believing that I'm living in San Francisco.

It has been about 3 months since a tornado ripped me out of my peaceful life in San Luis Obispo and dumped me in the Bay Area. Only now have I had the time to be introspective about the whole thing. Hopefully I've left enough digital life fragments around that I'll be able to reconstruct what I've been doing these past few months.

Corrie and I have been living in the Haight-Ashbury district for just under three weeks now. I love being able to get around without a car. I "commute" to work by walking 4 blocks to the N Judah which takes me to Civic Center, then to BART. Today I walked with Corrie to Trader Joes on Masonic, we purchased 3 bags of groceries and took the 43 Masonic back. Bookstores, Restaurants, Groceries, Cafe's and more are a few minutes from my front door. That said, the city still weighs down on me. Its density, people, buildings, and noise are all things which I am still trying to become acclimated to. I expect that over time I will become more at ease with everything, as I learn to discern threats from the benign.




Last night, I took Corrie to participate in phil kline's unsilent night. It was magical, like something out of a vision or a dream. It was the first time that I felt welcome and at ease in San Francisco.

I think I'm going to love living here.

In Rainbows

  • Oct. 19th, 2007 at 10:12 PM
I'm very happy with Radiohead's latest album, musically and socially.

Musically, I like the album, I've listened to the album about six times through.

Socially, I think that In Rainbows is huge.

I'm disappointed that some people have chosen to complain about the bitrate of the songs rather than consider the implications that this experiment has for the music industry. If you want to complain about the bitrate, then I have some products you may be interested in.

Radiohead didn't do anything new or unexpected. Just unprecidented .

Come, you cannot resist.

  • Oct. 15th, 2007 at 3:56 PM
Many of you already know that I've been planning on moving back to the San Francisco Bay Area. In fact, several people have been constantly demanding that I move back to the Bay Area over the past year or so.

Well, I'm moving back.

My last day of work at Cuesta College will be November 9th. I'm going to come up to San Francisco for SHDH21, and not go back.

It was not an easy decision to make, I really like working at Cuesta. I have great coworkers and my supervisor is the best "boss" I've had so far - I'd hope to have him on my board of directors some day.

However, earlier this week, I got a call from my friend David Weekly. He made me an offer to work for PBwiki that I could not refuse.

I just signed my papers and met all of my future coworkers - all of whom are awesome. I'm going to be sad to leave my friends at Cuesta College, but I'm really excited about PBwiki, they are an amazing team with a great product (make yourself a wiki right now)!

Tags:

July 2nd - August 17th

  • Aug. 17th, 2007 at 10:18 PM
The past 6 weeks have been a blur. I'm actually having to make use of my flickr, twitter, and Google Calendar accounts to triangulate my memories.

Week of July 8th-14th:


  • Corrie made me a really neat dinner.
    Corrie is awesome!
  • I finally got my skydiving photographs developed!
    Hang loose!
  • A buddy who works for the County of SLO gave me a tour of their data center. They have a robotic tape loader arm!
    Hack the Planet
  • Went on a camping trip. Among other things, this particular trip made me very aware of the importance of proper planning.


Week of July 15th-21st:

  • Tom and Dan came out to visit! I really enjoyed spending time with them. We went sailing!
    Morro Rock
  • We found out the Corrie's cat Kira has kidney failure. :-(
  • I got my PayPal Security Key in the mail! I really like it.


Week of July 22nd-28th:

  • Went to see Gone With The Wind on the big screen with Corrie!
    Yay
  • Got a demo of Sun Ray from a guy at Sun. I loved what I saw, I now have two units I'm using for testing:
    Sun Ray
  • Visited with Tom, Adam, Matt, Jeff, Mike, and Ernesto in the Bay Area.
  • Got the Sun Rays working on a LAN!


Week of July 29th - August 4th:

  • Went on a hike with Adam, Matt, Mike and Ernesto. Found some replicating pods.
  • Attended DEF CON 15. DEF CON deserves a separate post.
  • Rode on the Las Vegas monorail. Zach came along wearing his awesome hat.
    Zach's Tinfoil hat


Week of August 5th-11th:

  • Got back from DEF CON.
  • Went to SHDH19. Greeted lots of people. Had some very good conversations, showed off my Sun Ray setup. Had a blast.

DEF CON

  • Aug. 1st, 2007 at 9:37 PM
I leave for DEF CON tomorrow. I'll try doing some voice posts from Las Vegas if I can remember to do so.

MetaCalculate

  • Jul. 19th, 2007 at 10:37 AM
I'm sick of Excel. Every time I try and do something a little bit fancy, I have to learn how to do things the special Microsoft way.

I want a spreadsheet program I can program in Perl, or Python, or C, or whatever.

Right now I'm envisioning an open source program, let's call it MetaCalculate for now.

MetaCalculate would provide a basic spreadsheet framework to any programming language over some API. It would handle whatever specialized logic is specific to spreadsheets and let you do all the rest in your programming language of choice.

I want to be able to use an RSS library to fetch prices off of New Egg and put them into a spreadsheet for me. I want to be able to use printf(3) to format my cells. I want to be able to write my own bankers rounding function. I want to be able to use DBI to access databases.

Maybe this will turn into a DevHouse project.

Random Memory

  • Jul. 17th, 2007 at 11:33 AM
I must have been about 6. I remember walking away from a library in San Jose, arms full of books that the library was discarding.

I think this was the same event where we got our encyclopedias. The library labels eventually peeled off of the encyclopedias and left this neat looking red residue where the Dewey Decimal number used to be.

Weekend of June 29th - July 1st

  • Jul. 3rd, 2007 at 3:11 AM
Last weekend I:

  • Attended Inspirathon.
  • Went to the Santa Cruz Beach Boardwalk, had a BBQ at Tom's house.
  • Visited the Sutro Bath ruins.
  • Attended the Charter Members night of Brian Eno's 77 Million Paintings


      I left San Luis Obispo on Friday night with Corrie and Nick, at around 1800 hours. We arrived at Adrian's house around 2100 hours - about one hour into Inspirathon. The event had a great turnout! Adrian wrote a very good summary of the event. I'm in agreement with Adrian's assessment of the event, so I have nothing to add in this regard. Jesse left his laptop on a chair with a mesh back, it made for a neat picture:

      Computer Screen

      The next morning we dropped Nick off at the Santa Clara Caltrain station, so he could go visit his friend in the city. Corrie and I then drove over to the Santa Cruz Beach Boardwalk via Highway 17.

      Santa Cruz Beach Boardwalk

      Later that night we went and hung out with Tom. I got to play with his iPhone, it does a great job of rendering my web page!

      Tom's iPhone

      Tom also showed me an article about a couple that sailed around the world. The article listed all of their travel expenses and described their experiences. I really want to circumnavigate the earth in a sailboat someday!

      The next day, I explored the Surto Bath ruins in San Francisco with Corrie, Nick, Seth, Catherine, JP and Christina. Nick took a bunch of pictures. (Thanks Nick!).

      After the ruins, I went to see Brian Eno's 77 Million Paintings with Corrie, Nick, Adam, Kathleen, Jeff and Mike. I really enjoyed the video installation. I remember that my first impression was thinking "I'm going to get bored of this really soon". However, I realized that I was only going to get to see 77 Million Paintings on a 44' screen once in my life, so I decided to enjoy it while I could.

      77 Million Paintings.

      Scott Beale did a fantastic job of taking pictures of 77 Million Paintings, check out his photographs if you want to see more.

How to send S/MIME email using openssl

  • Jun. 26th, 2007 at 5:32 PM
Use your email client to generate a signed email (but not encrypted). The message you generate should be Content-Type: multipart/signed; and have an attached p7s (not p7m). Save this raw message as 'message_from_to_user'.

$ openssl smime -pk7out -in message_from_to_user | openssl pkcs7 -print_certs > to_user_public_key.pem

This will extract the public key from the smime.p7s email attachment and save the public key in PEM format.


$ echo 'THIS IS A TEST' | openssl smime -encrypt -des3 -from 'From User <from@domain.dom>' -to 'To User <to@domain.dom>' -subject 'Encrypted Test' -text to_user_public_key.pem | sendmail to@domain.dom

This will send an email to the user "to@domain.dom". The email will be encrypted using the public key we extracted above. The -text flag is important! Without it a standards compliant email reader (Such as Mail.app) won't be able to decrypt the email.