A data-driven reflection on my twitter years… It doesn’t seem like pure quantity tells much of a story for me. Maybe it does for you? In your twitter settings you can request an archive and run the little ruby scripts below.



Ruby script to calculate how many tweets per year

require 'csv'
require 'time'
text = File.read('./archive/tweets.csv')
csv = CSV.parse(text, :headers => true)

result = {}
csv.each do |row|
    year = Time.parse(row['timestamp']).year
  result[year] ||= 0
  result[year] += 1

result.each do |year, total|
  puts "#{year}\t#{total}"

Tweets per month with the lovely strftime function:

result = {}
csv.each do |row|
  time = Time.parse(row['timestamp'])
  month = time.strftime("%m-%y")
  result[month] ||= 0
  result[month] += 1

puts result.inspect
result.each do |date, total|
  puts "#{date}\t#{total}"

Signing up for Amazon fulfillment for our new Mightyverse card game, I found that I needed a Universal Product Code (UPC) or European Article Number (EAN). Amazon referred me to GS1US which sells 1-10 bar codes for $250, with an annual renewal fee of $50. Wow. That’s an expensive number, and a hefty fee for them to maintain a row in a database table for me.


A quick google search later, I found dozens of companies offering cheap barcodes for UPC and EAN numbers. A $5 one-time fee for someone to generate a number for me seemed much more reasonable. However, it turns out that many of these are scams — selling invalid codes or ones they don’t own or don’t have license to re-sell.

… if a company joined the Uniform Code Council (now GS1-US) prior to August 28, 2002, the Uniform Code Council’s membership and licence agreement did not contain any prohibition against subdividing the numbers… This appears to have been a side consequence of the class action settlement. The product numbers from these companies are legitimate, however they will only be valid for as long as the companies are in business.
BarCode1 FAQ

George Laurer, who developed the Universal Product Code in 1973, maintains a UPC Blacklsit and recommends this UPC registered sellers list. Despite being on that list, I’m avoiding InstantUPC since they have an FTC complaint against them.

After looking at a few sites I picked Legal Barcodes which sent me an email with UPC numbers. It turns out Amazon does everything in EANs these days, but magically transformed my UPC into an EAN by adding a zero to the beginning of it.

I hope this helps someone else!

Last week I spoke at Ruby World Conference and in my presentation, I talked about what the United States and other governments were doing to transform how we create services for our people using technology.

米国. ディジタルサービスのPlaybook

U.S. Digital Services Playbook


  1. 人々が必要とするものを
    Understand what people need

  2. 全経験に、始めから
    Address the whole experience, 
from start to finish
  3. それを簡単および
    Make it simple and intuitive
  4. Support Delivery of Software

  5. 敏捷で、
    Build the service using 
agile and iterative practices

  6. 納品をサポート
    Structure budgets & contracts 
to support delivery
  7. The people who make the software matter…

  8. 1人のリーダーを割り当て、

    Assign one leader and 
hold that person accountable

  9. ベテランのチームで
    Bring in experienced teams
  10. Our tools and how we use them matter…

  11. 新しいテクノロジー
    Choose a modern technology stack.
  12. 適用範囲が広いホ
    Deploy in a flexible 
hosting environment.
  13. テストとデプロイを
    Automate testing & deployments.
  14. 再使用可能な
    Manage security and privacy 
through reusable processes.
  15. Data is powerful.

    We want to make thoughtful decisions based on data and we want that power in the hands of our people.

  16. データを使用して

    Use data to drive decisions

  17. オープンであることを
    Default to open

Many thanks for translation help from my friend Ikuko and the professional interpreters from Ruby World Conference for this portion of my presentation. I have also posted the complete slides.