Profile

Cover photo
Joe Flasher
Works at Ars Sollertia
Attended PSU, CU
146 followers|26,446 views
AboutPostsPhotosVideos+1's

Stream

Joe Flasher

Shared publicly  - 
 
I'm starting a new job next week at iStrategyLabs (http://istrategylabs.com) and was thinking about something cool I could bring along with me. Combine that with the fact that I've always wanted to have a personal soundtrack playing when I got places and they fact that I've wanted to play around with Rdio's API (http://rdio.com) and you've got yourself a project idea! I put together a proof of concept of a system that'll let you Enter Work Like A Rockstar (to music)!

What I'm going to describe below (and show in the video) is a system that will detect when a device (like your phone) connects to a network (wifi) and will then connect to your Rdio account, pull a song from a predefined playlist and play it for you as you walk through the door. Nifty! 

It's got a couple of pieces and I'll lay them out in a logical order.

1. The first piece is Fing (http://www.overlooksoft.com/fing), a command line tool that will monitor network statistics, in this case, we're using it to monitor devices connected to a network. Fing is used to log any changes to the device list, and will dump out the MAC address of any newly connected devices.

2. The second piece is a Python script to monitor the Fing output file from 1.  It sits there and waits for a new line (new device) to appear in the file. Once that happens, we move on to 3.

3. The third piece is another Python script that will take the newly added MAC address and compare it to a loca list containing MAC addresses and corresponding Rdio usernames and a person's nickname. If we find the MAC address in that list, we call out to the Rdio API with their username. We then search their playlists for a blessed playlist name like 'My Personal Soundtrack'. We then grab a random song from that playlist and get it's track key and move on to step 4.

4. The endpoint of the Python script in step 3 is to call out to a locally hosted URL with the 'trackKey' and 'shortName' parameters. This will open up an HTML page with an associated JS script that will initiate the Rdio player, auto-play the song and display a friendly, personalized welcome message. 

That's it, easy peasy! You can see the scripts in action in the video. I'll try and move this all to GitHub at some point in the future. 
1
Add a comment...

Joe Flasher

Shared publicly  - 
 
It's trash burning day in the city! 
1
Add a comment...

Joe Flasher

Shared publicly  - 
 
I think I might have just made the switch to using Google+ as my 'blogging' platform rather than my website. Not like it's really that much of a change since I didn't do much updating anyways, but there it is.

But I'm burying the lead. Because of this switch, I wanted to announce over here (if anyone is interested) that I've recently accepted a job in DC with iStrategyLabs and will be starting there in early December. For those keeping track, that means I'll be moving back from Mongolia to the US and moving to a new city. Should be a fun adventure! 
1
Jim Craft's profile photoJoe Flasher's profile photo
4 comments
 
Awesome, would love to talk!

I'll be a Creative Technologist at iSL. I think what this means is that I try to come up with a way to make whatever they dream up happen. So it'll be a mix of web, mobile, social, software, hardware and who knows what else. Should be fun!
Add a comment...
Have him in circles
146 people
Melanie M. Sidwell's profile photo
Orion Wiseman's profile photo
Jessica Retrum's profile photo
Zach Knaus's profile photo
Ryan Walter's profile photo
Niels L's profile photo
Chris Papademetrious's profile photo
David O'Sullivan's profile photo
Deb Kolaras's profile photo

Joe Flasher

Shared publicly  - 
 
Sunday afternoon hacking project complete! I have built off of my previous UB Air Pollution API and added the ability to have it tweet out the air quality measurements. So if you watch the @UB_Air Twitter account at https://twitter.com/UB_Air, you should (hopefully) see air quality updates at 9am, 2pm and 7pm. For info on the tech side, see http://ubdata.cloudfoundry.com/ and for info about the pollution side, see http://ubairpollution.org/

Thanks so much to +Christa Hasenkopf for helping me figure out what to do! 
Instantly connect to what's most important to you. Follow your friends, experts, favorite celebrities, and breaking news.
1
Add a comment...

Joe Flasher

Shared publicly  - 
 
Trying out the new hat to go with my дээл.
1
Add a comment...

Joe Flasher

Shared publicly  - 
 
Joe Flasher originally shared:
 
This is how we opened TEDxUlaanbaatar. She is balancing on a pole with her mouth and playing the яатга. I dare you to tell me that's not epically hardcore!
1
Add a comment...
People
Have him in circles
146 people
Melanie M. Sidwell's profile photo
Orion Wiseman's profile photo
Jessica Retrum's profile photo
Zach Knaus's profile photo
Ryan Walter's profile photo
Niels L's profile photo
Chris Papademetrious's profile photo
David O'Sullivan's profile photo
Deb Kolaras's profile photo
Work
Occupation
Software Developer
Employment
  • Ars Sollertia
    Grand Poobah, 2011 - present
  • Fantasy Flight Games
    Senior Programmer, 2010 - 2012
  • ITT VIS, ADB Global, Boeing, University of Colorado, ITT VIS
Basic Information
Gender
Male
Story
Introduction
It's really me!
Bragging rights
Survived a Mongolian winter
Education
  • PSU, CU
Joe Flasher's +1's are the things they like, agree with, or want to recommend.