64°F

Aaron Parecki

  • Articles
  • Notes
  • Photos

Friday, July 13, 2018

← Older → Newer
run
50 min
 
5.4 miles
 
run
  • 10:21pm
    Asleep
    6:11am
    Awake
    7h 50m
    Slept
    19m
    Awake for
    Portland, Oregon, USA
    Fri, Jul 13, 2018 6:11am -07:00
  • ˗ˏˋ wakest ˎˊ˗ https://mastodon.social/@wakest   •   Jul 13

    how did you get #ActivityPub working in #p3k? and is that part released yet? I didn't see it mentioned here https://indieweb.org/p3k

    @aaronpk

    Aaron Parecki

    I started by reading @Gargron's tutorials and then kept going from there, a lot of trial and error, and I had to make Mastodon accounts on like 3 different servers because it caches things too much so I couldn't test it well. I'm probably not going to make this code public though.

    Portland, Oregon • 66°F
    1 like 3 replies
    Fri, Jul 13, 2018 8:11am -07:00
  • ˗ˏˋ wakest ˎˊ˗ https://mastodon.social/@wakest   •   Jul 13

    @aaronpk hey its working! so how are you getting notified? you wrote an interface for it?

    Aaron Parecki
    It's showing up like my normal webmention notifications and I can read and reply to them in my reader apps, different apps on my computer and my phone. https://media.aaronpk.com/Screen-Shot-2018-07-13-08-15-05-EFGkWHrJg2.jpg
    Portland, Oregon • 66°F
    3 likes 3 reposts
    Fri, Jul 13, 2018 8:15am -07:00
  • solidarity with ppl in rojava https://todon.nl/@paulfree14   •   Jul 13

    @wakest
    I have seen @aaronpk getting couple of times mentioned, but have never seen a reply back. So I'm not shure if messages are comming in. @xuv

    Aaron Parecki
    Maybe I'm missing something about forwarding my replies to other servers. Right now I only send replies directly to the server I'm replying to, so that's probably why you aren't seeing my replies to other servers. You should have been seeing my normal public posts tho.
    Portland, Oregon, USA • 66°F
    1 like 1 reply
    Fri, Jul 13, 2018 8:16am -07:00
  • Christopher Lemmer Webber https://octodon.social/@cwebber   •   Jul 13

    activitypub for static site generators Show more @craigmaloney Aha, so this is an interesting topic! In fact we did plan for this possibility in ActivityPub! Here's how to do it: - Add an actor like: {"@id": "https://foo.example/blog/actor.jsonld", "inbox": "https://statichelper.example/foo-example/inbox", "outbox": "https://foo.example/blog/feed.jsonld"} - comments and favorite counts can be "loaded" dynamically onto blog pages with javascript, kind of like Disqus.

    Aaron Parecki
    I tried doing something similar, but at least Mastodon expects to be able to do content negotiation on both author profile URLs as well as post permalinks, so that kind of prevents it from being able to effectively work with static sites.

    I got to the point of being able to deliver posts to my followers without actually writing any JSON files at all, but then things kind of looked half broken to people in Mastodon.

    There's an open issue on GitHub about a potential solution that would make this work better for static sites, feel free to chime in! https://github.com/w3c/activitypub/issues/310
    Portland, Oregon, USA • 67°F
    7 likes 4 reposts 3 replies
    Fri, Jul 13, 2018 8:44am -07:00
  • ˗ˏˋ wakest ˎˊ˗ https://mastodon.social/@wakest

    Reposting @aaronpk's interface they implemented for #ActivityPub mentions in #p3k (https://indieweb.org/p3k) for better visibility and inspiration. Bridging the #indieweb and #fediverse is so exciting. Lets hope this trend continues infinity!

    Portland, Oregon • 67°F
    Fri, Jul 13, 2018 3:44pm +00:00 (liked on Fri, Jul 13, 2018 8:45am -07:00)
  • Replacing 1 billion-user platforms

    Portland, Oregon • 67°F
    Fri, Jul 13, 2018 10:38am -05:00 (liked on Fri, Jul 13, 2018 8:52am -07:00)
  • Eugen https://mastodon.social/@Gargron   •   Jul 13

    @aaronpk id property has to be either content-negotiable or always json. url property can be html. you may use <link> tags in html to point to json resources, also.

    Aaron Parecki
    Oh, does Mastodon already look for <link> alternates now? I would love to do that instead of content negotiation on my posts.
    Portland, Oregon • 67°F
    2 replies
    Fri, Jul 13, 2018 10:10am -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
  • 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
  • Vi https://cybre.space/@vi

    Imagine if people introduced themselves like Web browsers do

    Hi, I'm Michelle, actually I'm Angela, I resemble George but not really. As I was saying, I'm Christine, and also Sam.

    Portland, Oregon • 67°F
    Tue, Jul 10, 2018 3:36pm +00:00 (liked on Fri, Jul 13, 2018 11:58am -07:00)
  • PASETO (paseto.io)
    Fri, Jul 13, 2018 12:38pm -07:00 #json #jwt #jws
  • 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
  • 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

    @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 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
  • ich bin rhiaro https://toot.cat/@rhiaro

    oookay, time to attempt to make it the entire width of a quite wide country without buying any tickets in advance and having only a haphazard knowledge of schedules and probably no wifi. It'll be fine. See you on the other side*.

    * The other side is Georgia. I'm going through Turkey.

    #travel
    http://rhiaro.co.uk/2018/07/time

    Portland, Oregon • 86°F
    Wed, Jul 11, 2018 2:52pm +00:00 (liked on Fri, Jul 13, 2018 3:59pm -07:00)
← Older → Newer

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