• Dr Tom
  • Now
  • Consulting
    • Testimonials
  • Robotics
    • Publications & Videos
  • Startups
    • Cubescape
    • Triple Point Robotics
    • Triple Point Games
  • Game Design
    • Triple Point Games
  • Blog
  • More...
    • Dr Tom
    • Now
    • Consulting >
      • Testimonials
    • Robotics >
      • Publications & Videos
    • Startups >
      • Cubescape
      • Triple Point Robotics
      • Triple Point Games
    • Game Design >
      • Triple Point Games
    • Blog
  • Dr Tom
  • Now
  • Blog
Consulting
  • Consulting
  • Testimonials
Robotics
  • Robotics
  • Publications & Videos
Startups
  • Startups
  • Cubescape
  • Triple Point Robotics
  • Triple Point Games
Game Design
  • Game Design
  • Triple Point Games
Your Cart

Tags

  • Coffee (1)
  • Hacking (5)
  • Programming (5)
  • Projects (4)
  • Rants (2)
  • Robots (3)
  • Startups (2)
  • Thoughts (8)
  • Published on
    April 30, 2013

    Get your Deriving License here!

    Hacking Programming Projects
    I wrote my first open source ruby gem today. It's a pretty simple idea - supply a Gemfile or Gemspec and the gem tries to determine which license each included library falls under, and thus whether you have any requirements you must abide by with your own project. Here's an example output:
    >> deriving_license ~/Code/rails_sample_app/Gemfile
    Determining license for rails:
    Trying from_gem_specification strategy...FAILED
    Trying from_scraping_homepage strategy...SUCCESS
    Determining license for adt:
    Trying from_gem_specification strategy...FAILED
    Trying from_scraping_homepage strategy...FAILED
    Trying from_license_file strategy...CUSTOM
    Determining license for app_constants:
    Trying from_gem_specification strategy...FAILED
    Trying from_scraping_homepage strategy...SUCCESS
    Determining license for bcrypt-ruby:
    Trying from_gem_specification strategy...FAILED
    Trying from_scraping_homepage strategy...FAILED
    Trying from_license_file strategy...CUSTOM

    ...
        
    Detected 4 known licenses:
    MIT: Expat License (14 instances)[http://directory.fsf.org/wiki/License:Expat]
    Ruby: Ruby License (6 instances)[http://www.ruby-lang.org/en/about/license.txt]
    BSD: FreeBSD Copyright (2 instances)[http://www.freebsd.org/copyright/freebsd-license.html]
    GPL: GNU General Public License (2 instances)[http://en.wikipedia.org/wiki/GNU_General_Public_License]
    The following dependencies have custom licenses: adt, bcrypt-ruby, bootstrap-sass, rack-protection, sqlite3
    You can grab it from https://rubygems.org/gems/deriving_license or just by running 'gem install deriving_license'. Let me know if it's useful to you, and feel free to fix it up and submit a pull-request!
  • Published on
    April 10, 2013

    During an interview what's an appropriate answer when asked "where do you see yourself in 5 years?"

    Read Quote of Tom Allen's answer to Job Interview Questions: During an interview what's an appropriate answer when asked "where do you see yourself in 5 years?" on Quora
  • Published on
    April 8, 2013

    Do journal reviewers often badly understand the papers they review?

    Read Quote of Tom Allen's answer to Academic Research: Do journal reviewers often badly understand the papers they review? on Quora
1 of 1