67°F

Aaron Parecki

  • Articles
  • Notes
  • Photos
  • Chris Aldrich http://stream.boffosocko.com/profile/chrisaldrich   •   Jul 20
    @aaronpk I always thought I was the only one to do something like this...
    Aaron Parecki
    this is the last time someone is gonna change my $5 tip to a $15 tip
    Omaha, Nebraska • 84°F
    1 reply
    Thu, Jul 19, 2018 9:09pm -05:00
  • Not Fake Adam Kalsey http://kalsey.com/   •   Jul 20
    Servers hate tips that aren’t round numbers because it makes it REALLY hard to cash out at the end of the night.
    Aaron Parecki
    I thought the credit card machines make you enter the final total of the receipt when you cash out the stack of paper receipts at the end of the night. It's been a while since I've done that myself tho...
    Omaha, Nebraska • 88°F
    1 reply
    Thu, Jul 19, 2018 7:49pm -05:00
  • Torgie Madison https://twitter.com/torgie   •   Jul 20
    This gets tricky when prices are either large or end in strange decimals (sales tax):

    Pre-tip bill: $81.12
    Rough tip: $16
    Pre-checksum total: $97.12
    9 + 7 = 16 (?)
    Final: $97.16 (last digit of sum = 6)

    Adjust up to $16.04 or down to $15.94? The mental math could trip people up.
    Aaron Parecki
    you write the tip amount on the receipt? I just always write the total amount.
    Omaha, Nebraska • 88°F
    Thu, Jul 19, 2018 7:47pm -05:00
  • Kelly Clowers http://www.clowersnet.net/~krc/   •   Jul 19
    why? Unless they change it to like 100% or something wild, let em have it. Likely they need it if they go to the trouble
    Aaron Parecki
    That was a bad example. Last time this happened, my $5 tip was changed to a $15 tip.
    Omaha, Nebraska • 90°F
    1 reply
    Thu, Jul 19, 2018 6:53pm -05:00
  • Aaron Parecki https://aaronparecki.com/   •   Jul 19
    Started using the last digit of my restaurant bill as a checksum, cause I've had the tip amount changed on me too many times now

    Decide your rough desired tip, calculate your tentative total, then add up the digits before the decimal point and use that as the number of cents
    Aaron Parecki
    Total pre-tip bill: $15.90
    Rough tip: $3.00
    Pre-checksum total: $18.90
    1+8 = 9
    Final total: $18.99

    Now if someone changes the tip to $4 or $5, the checksum fails.
    Omaha, Nebraska, USA • 91°F
    1 like 9 replies
    Thu, Jul 19, 2018 6:12pm -05:00
  • nitinthewiz https://github.com/nitinthewiz   •   Jul 9

    #3 How to get correct version for composer?

    Aaron Parecki

    I'm confused about the exact problem you're having.

    If Compass' composer.lock is referencing 0.1.1, try running composer update p3k/quartz-db to get it to update that version, or change your composer.json to reference >=1.1.4.

    It sounds like that's the root of the problem, as that fix was in version 1.1.3.

    Omaha, Nebraska, USA • 91°F
    Thu, Jul 19, 2018 5:09pm -05:00
  • nitinthewiz https://github.com/nitinthewiz   •   Jul 9

    #4 Does QuartzDB respect date_default_timezone_set?

    Aaron Parecki

    QuartzDB explicitly stores everything in UTC, in order to have control over the date-based sharding and retrieval. If you're reading the files directly you'll need to account for this. The API it provides will take timezones into account, so for example you can use the query method and pass in a local timestamp that includes a timezone offset and you'll get back the right results. I strongly recommend not reading the storage files directly and instead using the API that QuartzDB provides.

    Omaha, Nebraska, USA • 91°F
    Thu, Jul 19, 2018 5:04pm -05:00
  • Evan Prodromou https://en.wikipedia.org/wiki/Evan_Prodromou   •   Jul 14
    So:

    1. Do some clustering on my `following` collection.

    2. Make lists for each cluster. I can then label them manually ("High school", "Breather").

    3. Make a list for "used to follow" just in case.

    3. Unfollow any account that doesn't follow me back.
    Aaron Parecki
    That's basically what I use "channels" in my "social reader" for. I do feel like it's about time to implement a more formal workflow for it now that it's been working well as is. https://aaronparecki.com/2018/04/20/46/indieweb-reader-my-new-home-on-the-internet
    Omaha, Nebraska, USA • 83°F
    3 likes
    Wed, Jul 18, 2018 8:44pm -05:00
  • jerry gallo https://twitter.com/jerrygallo6   •   Jul 17
    @aaronpk thanks for your reply Aaron. I put additional info here: https://twitter.com/jerrygallo6
    Aaron Parecki
    It looks like my screenshot is wrong. If you're accessing the app in your browser at "http://localhost:8000/" then make sure that exact URL is entered as the callback URL too.
    Portland, Oregon, USA • 74°F
    Tue, Jul 17, 2018 9:56am -07:00
  • Ton Zijlstra https://www.zylstra.org/blog/author/admin-2/   •   Jul 17

    Mapping the IndieWeb a Webmention at a Time

    Aaron Parecki
    You might be interested in this!

    http://www.indiemap.org/

    https://www.youtube.com/watch?v=bkc5afFohmI&index=5&list=PLk3TtIJ31hqrLIPqz55TczawWu-30cnXM
    Portland, Oregon • 66°F
    Tue, Jul 17, 2018 9:08am -07:00
  • jerry gallo https://twitter.com/jerrygallo6   •   Jul 17
    @aaronpk Reading your book, and a bit confused on the 2nd chapter trying to setup the account on github. I'm running my local PHP server behind firewall. I keep receiving error: http://localhost:8000/callback?error=redirect_uri_mismatch... Is it required to be a public facing IP?
    Aaron Parecki
    I thought GitHub allows local addresses. Make sure the exact url is registered in github. e.g. "localhost" vs "127.0.0.1" are considered different URLs.
    Portland, Oregon • 90°F
    Mon, Jul 16, 2018 7:56pm -07:00
  • Jul 14

    I wanted Micro.blog to be so strictly reverse-chronological and anti-algorithmic timeline, that I waited a long time to make this change: just flipped conversations to be oldest at top. The clicked post on the web is also lightly highlighted.

    Aaron Parecki
    πŸŽ‰ so much better!! πŸŽ‰
    Portland, Oregon • 91°F
    Sat, Jul 14, 2018 5:36pm -07:00
  • Titouan https://mstn.titouan.co/@tc   •   Jul 15

    @aaronpk You could probably use the `/api/states` endpoint (https://developers.home-assistant.io/docs/en/external_api_rest.html#get-api-states) and filter the result with the `entity_id` starting with `zone.`

    Aaron Parecki
    oh that's a thought. Seems like a bit of a roundabout way to get there, but would probably work.
    Portland, Oregon • 91°F
    Sat, Jul 14, 2018 5:09pm -07:00
  • Aaron Parecki
    @balloob Is there an API in Home Assistant to list all the zones? I'm interested in adding geofence support into my iOS app, https://overland.p3k.app but I don't really want to make an interface for configuring geofences, and thought I might be able to pull them from HA.
    Portland, Oregon, USA • 89°F
    2 replies
    Sat, Jul 14, 2018 4:36pm -07:00
  • Jamey Sharp https://toot.cat/@jamey   •   Jul 13

    @aaronpk But if the Microsub server includes some post in a timeline response, it has to include the full body of that post, right? Even if the client doesn't need the body yet?

    Aaron Parecki
    That's true, it's based around the assumption that clients display posts in a stream, rather than a model like email clients where only the subject line is displayed.

    In practice you can't store just an ID, you need to store something else in order to give some indication to the user of what the thing is before they click it anyway.

    In a similar vein as to what I think you're getting at, we do need to extend Microsub somehow in order to support "conversation" views. Think clicking on a tweet to see the full thread. I think that same mechanism could be used to lazily load a large post if needed too.
    Portland, Oregon • 86°F
    1 like
    Fri, Jul 13, 2018 3:41pm -07:00
  • Jamey Sharp https://toot.cat/@jamey   •   Jul 13

    @aaronpk Do you have any statistics on storage costs for GUIDs vs post titles vs publication dates vs post contents?

    I'm thinking there are multiple sensible levels of cache flushing. It seems nice to keep just enough information to browse the list of posts, while discarding the contents of a post until someone actually opens it. But if nobody scrolls back in the history for a feed for a while, it's probably okay to discard the old post metadata too.

    Microsub couldn't do that as-is, can it?

    Aaron Parecki
    Microsub doesn't actually say anything about feeds or how long data is stored, it's an abstraction for browsing channels of content, where the contents are not specified by Microsub.

    I could definitely implement a Microsub server that doesn't actually store entries and just loads from RSS feeds on demand, tho I probably wouldn't do that exactly for performance reasons.

    The main things that Microsub cares about are

    • Return a list of channels for the client to display
    • Return the top posts of a channel (doesn't have to necessarily be date-ordered)
    • Indicate whether there are "more" items in that channel that can be loaded

    Everything else is an implementation detail, including if/how old content is stored.
    Portland, Oregon • 86°F
    1 reply
    Fri, Jul 13, 2018 3:35pm -07:00
  • Jamey Sharp https://toot.cat/@jamey   •   Jul 13

    @aaronpk Hey, on another note: after conversation with NewsBlur's developer, I'm thinking about RFC5005 as a way for feed consumers to reduce storage costs, and I wondered if this makes sense to you. If you know you can re-fetch any feed entry from the origin server at any time because it has paginated archives, then you can aggressively discard your cached copy of anything whenever you want... right?

    Aaron Parecki
    Well that's an interesting thought... The ever-growing storage requirement was my main concern with launching Aperture, so I limited it to only storing the last 7 days of posts. If I knew I could show a "read more" link and fetch the feeds on demand that would certainly make my life easier while still letting people browse through more content than I want to cache/store permanently.
    Portland, Oregon • 86°F
    1 like 1 reply
    Fri, Jul 13, 2018 3:21pm -07:00
  • Jamey Sharp https://toot.cat/@jamey   •   Jul 13

    masto meta Show more Ugh, I don't understand the rules for when a public post shows up in the local timeline. Replies don't, except sometimes they do if I'm replying to myself, but just mentioning someone isn't a reply I guess?

    Aaron Parecki
    I was just having a conversation with a few ActivityPub developers about this exact thing. It is very confusing! I'm pretty sure my site is also doing things wrong but oh well.
    Portland, Oregon • 86°F
    1 like 1 reply
    Fri, Jul 13, 2018 2:52pm -07:00
  • riking https://github.com/riking   •   Jun 7

    #310 Standardize discovery using link rel on user-visible URLs

    Aaron Parecki

    The fact that Mastodon and Pleroma already support this type of discovery makes it a good candidate for including in the spec. I think the language in the original proposal is a great start and we should continue iterating on it.

    Portland, Oregon, USA • 67°F
    Fri, Jul 13, 2018 10:32am -07:00
  • Amit Gawande   •   Jul 13

    State of Microsub Servers and Client

    Aaron Parecki
    I think there may be some unexpected edge cases in the way that I implemented deleting items older than 7 days in Aperture, causing them to sometimes reappear. I'll have to look into that some more.

    As for Monocle, luckily it's not the only client you have to choose from! Try out Indigenous for iOS and Android, or Together! I haven't implemented feed following in Monocle because I normally do that from Aperture. The other clients support it though! I also mainly treat my feeds as a stream, so I am less concerned about marking individual items read/unread, which is why that feature is not in Monocle. Aperture supports it though so again another client might give you a better experience!
    Portland, Oregon • 67°F
    1 reply
    Fri, Jul 13, 2018 10:13am -07:00
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