51°F

Aaron Parecki

  • Articles
  • Notes
  • Photos
  • EdwardHinkle https://github.com/EdwardHinkle   •   Jul 21

    #74 invite/mention showed up as an RSVP to me

    Aaron Parecki
    Turns out XRay does handle the invitee property already: https://xray.p3k.io/parse?pretty=1&url=https%3A%2F%2Fboffosocko.com%2F2018%2F07%2F20%2Frsvp-to-virtual-homebrew-website-club-meetup-on-july-25-2018%2F

    There's a different problem with XRay tho which is that it's using the lastest microformats parser which somehow doesn't see the "rsvp" or "in-reply-to" properties on this post.

    Where do you see that this was interpreted as an rsvp to you? There could be something wrong with how webmention.io is interpreting this XRay object.
    Portland, Oregon • 55°F
    1 reply
    Sat, Jul 21, 2018 7:53am -07:00
  • Amit Gawande https://www.amitgawande.com/   •   Jul 21

    Interesting way to catch tip modifications by waiters. However, I am always surprised that in this age of digital everything, where even currency has gone digital, we are still forced to depend on scam-prone manual tip checking.

    Aaron Parecki
    It's really just the US's insistence on sticking to the existing model where you get your bill and then they take your card and bring you back the receipt. The much more sensible way to do it is to bring the credit card reader to the table which solves the problem, since in that case you get to see the final amount rung up on the machine.
    Portland, Oregon • 58°F
    Sat, Jul 21, 2018 7:24am -07:00
  • Daniel Goldsmith https://ascraeus.org/   •   Jul 20

    is there some good reason why recursive cp takes -R whereas recursive scp takes -r?

    Aaron Parecki
    drives me crazy every time.
    Omaha, Nebraska • 78°F
    Fri, Jul 20, 2018 11:18am -05:00
  • Eddie Hinkle https://eddiehinkle.com/   •   permalink
    So I guess the question is, if the checksum fails, how do you fight it? Contact the bank? The restaurant?
    Aaron Parecki
    If you want to be nice, you call the restaurant. If you want to just get your money back you file a dispute with the credit card and they usually resolve it without much hassle.

    I called the restaurant about my $5 tip that turned into $15 and they happily refunded the $10, and also sounded unsurprised about the whole situation. I'm guessing it was not the first time that happened.
    Omaha, Nebraska • 79°F
    Thu, Jul 19, 2018 11:49pm -05:00
  • 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
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