58°F

Aaron Parecki

  • Articles
  • Notes
  • Photos
  • Day 14: Slow-Scan TV #100DaysOfMusic

    Day 14. Tonight I tuned in to an amateur radio meetup where people shared images over the radio. Slow-scan TV is a way of transmitting images by converting them to sound, where various frequencies and timings correspond to colors and brightness. I used the image I tried to send tonight as the base of today's song. If you play this song in front of an SSTV decoder application, you will see the image it represents! There's only a little noise added to the image from the rest of the instruments.
    continue reading...
    6 likes 4 replies 1 mention
    Tue, Jan 3, 2017 10:27pm -08:00 #100daysofmusic #hamradio
  • APRS through the ISS with Kenwood TH-D72a radio (www.algissalys.com)
    Tue, Jan 3, 2017 7:54pm -08:00 #hamradio
  • Day 14: Posting to my Website from Alexa #100DaysOfIndieWeb

    If you know me, you probably know that I log everything I eat and drink and post it to my website. A couple years ago, I wrote a small Pebble app that allowed me to quickly post common food and drink from my watch! Coincidentally around the time Pebble announced that FitBit had acquired their assets, my Pebble stopped working completely. This meant I no longer had a quick way to log food, and have to pull out my phone again to make log entries.This afternoon, Tantek suggested that I use my Amazon Alexa to post food and drink to my website instead! Of course this will only work when I'm at home, but it turns out that I'm home a lot of the time I'm eating and drinking. I also eat tacos every day, so it'd be great not to have to get out my phone during breakfast.So today, I launched Alexa integration for Teacup, the app I use to track my food.This was quite a challenging project given all the moving parts involved. I started by defining the voice interface I wanted to use. Interaction ModelVoice interactions for Alexa apps have to follow a pretty strict structure. Alexa doesn't support interpreting fully unstructured text, so app developers have to define patterns that Alexa can match on. Invoking any Alexa app involves first speaking the trigger word, followed by a keyword such as "ask" or "tell" followed by the app name, and then the pattern of text the app wants to match. So for Teacup, this results in speaking sentences such as:"Alexa, tell Teacup I drank coffee""Alexa, tell Teacup I ate tacos"This gets turned into what Amazon calls the "Interaction Model", and is a list of "slots" along with corresponding keywords for each slot, as well as writing out some sample sentences.LIST_OF_ACTIONS = ate | drankLIST_OF_FOOD = Coffee | Cocktail | Beer | Tacos | Mac and Cheese | ...Sample utterances:"I {Action} {Food}""I {Action} a {Food}"It isn't clear to me whether the list of keywords I provided is the complete set, because while I was testing, it managed to post the word "on" for the food, which is not in my list.AuthenticationThe next challenge was linking user accounts between Amazon users and Teacup users. Amazon provides great documentation on this, and thankfully it's all based on OAuth 2.0 rather than having made up some other model themselves. Essentially, the Amazon Alexa app on your phone acts as an OAuth 2.0 client, and you have to build an OAuth 2.0 server into your app that it works against. This is a pretty clever solution actually. Luckily, I'm pretty familiar with OAuth 2.0, so I was able to build this out pretty quickly.One thing struck me about Amazon's recommendations about building OAuth support in your app. They say that they'll launch your authorization URL from inside the iOS app, which is a known antipattern for apps in general. In Amazon's docs, it says "The user logs in using their normal credentials for your site." This is a really bad idea. You never want to train your users to enter their passwords into random apps. This is the whole reason we have OAuth in the first place!
    continue reading...
    5 likes 2 reposts 1 bookmark 1 reply 4 mentions
    Tue, Jan 3, 2017 5:23pm -08:00 #100daysofindieweb #indieweb #teacup #alexa #100daysofcode
  • Aaron Parecki
    Pretty impressed that Amazon basically tells you build an #OAuth2 server without actually saying it explicitly https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/linking-an-alexa-user-with-a-user-in-your-system#how-account-linking-works
    Portland, Oregon, USA
    5 likes 2 reposts
    Tue, Jan 3, 2017 1:27pm -08:00 #alexa
  • PHP online editor | run code in 150+ php / hhvm versions (3v4l.org)
    Tue, Jan 3, 2017 11:10am -08:00 #php
  • Aaron Parecki
    at Weissman Dental
    Portland, Oregon • Tue, January 3, 2017 8:00am
    45.519222 -122.683982
    😬 happy 2017
    Portland, OR, United States
    Tue, Jan 3, 2017 8:00am -08:00
  • 9:46pm
    Asleep
    6:25am
    Awake
    8h 28m
    Slept
    41m
    Awake for
    Portland, Oregon, USA
    Tue, Jan 3, 2017 6:25am -08:00
  • Day 13: Daft Punk vs The Office #100DaysOfMusic

    Day 13. Daft Punk vs The Office. I had fun with this one! This is the chords and melody from Daft Punk's Get Lucky, but instrumented and arranged the same as the theme from The Office. It's also my first time using a vocoder on my own voice!
    continue reading...
    13 likes 1 repost 4 replies 2 mentions
    Mon, Jan 2, 2017 9:18pm -08:00 #100daysofmusic #daftpunk #theoffice #mashup
  • https://twitter.com/dominik/status/816070133496086529
    Aaron Parecki
    @dominik I thought I wanted great circle lines, but it turns out they don't actually look very good in the webmercator projection
    Portland, Oregon, USA
    Mon, Jan 2, 2017 3:55pm -08:00
  • Day 13: Curved Lines for Atlas Static Maps #100DaysOfIndieWeb

    Yesterday, Amy was asking if there was a library for drawing curved lines between two points on a map. She wants to use this for her travel posts, which say for example "Tokyo to Boston". We noticed that Facebook draws curved lines when they show a planned trip. Martijn was able to figure out how to reproduce this on Facebook consistently. You have to start by creating a "checkin" post, then add a "traveling to" activity to it. Notice that the line from Portland to Seattle is curved rather than straight, although it doesn't strictly follow a Great Circle line either.
    continue reading...
    3 likes 2 reposts 2 replies 2 mentions
    Mon, Jan 2, 2017 2:35pm -08:00 #indieweb #atlas #maps #100daysofindieweb #100daysofcode
  • Jerry Sievert http://legitimatesounding.com/
    I'm not ready to share new tracks from it, but following @aaronpk's lead I'm doing 100 tracks in 100 days: https://soundcloud.com/jerrysv-1/1-of-100
    Portland, Oregon
    Sun, Jan 1, 2017 7:27pm -08:00 (liked on Mon, Jan 2, 2017 6:34am -08:00)
  • Sebastiaan Andeweg https://seblog.nl

    Another take on uploading screenshots to a Micropub Media Endpoint

    Portland, Oregon
    Mon, Jan 2, 2017 1:46pm +00:00 (liked on Mon, Jan 2, 2017 6:04am -08:00) #indieweb
  • Another take on uploading screenshots to a Micropub Media Endpoint (seblog.nl)
    Mon, Jan 2, 2017 6:04am -08:00 #micropub #osx
  • 9:31pm
    Asleep
    5:44am
    Awake
    7h 47m
    Slept
    39m
    Awake for
    Portland, Oregon, USA
    Mon, Jan 2, 2017 5:44am -08:00
  • Aaron Parecki
    Day 12. This started out as a totally unrelated riff, and by the time I was done adding to it, the original riff didn't make any sense so I deleted it. There are actually 4 different kinds of trumpet tracks in this in order to achieve this semi-realistic result. I was on the fence about adding a faint string section in the background and decided against it in the end. I enjoyed playing with the drum section in this one, using silence to emphasize the trumpet solos.
    Portland, Oregon
    6 likes 5 replies 1 mention
    Sun, Jan 1, 2017 5:33pm -08:00 #100daysofmusic
  • Aaron Parecki
    at Peet's Coffee & Tea
    Portland, Oregon • Sun, January 1, 2017 11:47am
    45.535172 -122.650631
    Happy new year run — with anomalily, Bethany
    Portland, OR, United States
    foursquare.com/user/894076 foursquare.com/user/1652838
    Sun, Jan 1, 2017 11:47am -08:00
  • David Leonhardt https://twitter.com/DLeonhardt   •   Dec 31
    I went a month without eating added sweeteners, and I highly recommend it. http://www.nytimes.com/2016/12/30/opinion/a-month-without-sugar.html
    Aaron Parecki
    @dleonhardt Nice post! I quit cold-turkey in 2008 and have never looked back!
    Portland, Oregon, USA
    1 like
    Sun, Jan 1, 2017 9:42am -08:00
  • Day 12: Whitelist and Blacklist for OwnYourGram import #100DaysOfIndieWeb

    Today I added some additional settings to OwnYourGram. You can now configure a whitelist and/or blacklist of keywords to control which of your Instagram posts are imported to your website.
    continue reading...
    3 mentions
    Sun, Jan 1, 2017 9:28am -08:00 #ownyourgram #indieweb #100daysofindieweb
  • Dmitri Shuralyov https://twitter.com/dmitshur   •   Dec 31
    Curious, how do you have enough user-facing ideas for 100 days? I bet I'd run out after 17 days or so. Otherwise, I should do this!
    Aaron Parecki
    @shurcool Often finishing one project leads to two more! Also just working through my list of open GitHub issues will take a while!
    Portland, Oregon, USA
    1 like
    Sun, Jan 1, 2017 9:05am -08:00
  • Joschi Kuphal https://jkphl.is/

    2016 in keywords

    Portland, Oregon
    Sun, Jan 1, 2017 12:00am +00:00 (liked on Sun, Jan 1, 2017 7:55am -08:00) #General #IndieWeb #Private #Random thoughts #Side projects
older

Hi, I'm Aaron Parecki, Director of Identity Standards at Okta, and co-founder of IndieWebCamp. I maintain oauth.net, write and consult about OAuth, and participate in the OAuth Working Group at the IETF. I also help people learn about video production and livestreaming. (detailed bio)

I've been tracking my location since 2008 and I wrote 100 songs in 100 days. I've spoken at conferences around the world about owning your data, OAuth, quantified self, and explained why R is a vowel. Read more.

  • Director of Identity Standards at Okta
  • IndieWebCamp Founder
  • OAuth WG Editor
  • OpenID Board Member

  • 🎥 YouTube Tutorials and Reviews
  • 🏠 We're building a triplex!
  • ⭐️ Life Stack
  • ⚙️ Home Automation
  • All
  • Articles
  • Bookmarks
  • Notes
  • Photos
  • Replies
  • Reviews
  • Trips
  • Videos
  • Contact
© 1999-2025 by Aaron Parecki. Powered by p3k. This site supports Webmention.
Except where otherwise noted, text content on this site is licensed under a Creative Commons Attribution 3.0 License.
IndieWebCamp Microformats Webmention W3C HTML5 Creative Commons
WeChat ID
aaronpk_tv