oodani, barpthewire, ketralnis15, Zegnat, cweiske and TripFandango joined the channel
#petermolnarhuh. an idea: auto-check in. Once you've been at a place for X amount of time, and you already have a check-in for that location, it checks you in. is anyone doing something similar?
iDanoo16, renem, decode1 and [kevinmarks] joined the channel
#vanderven.se martijnedited /Leaders () "(-1784) Remove previous code of conduct issue: all specifics contained within have been resolved and mentioned wiki pages have been updated." (view diff)
[jgmac1106] joined the channel
#aaronpkpetermolnar: a long long time ago I rigged that up with the foursquare api and geoloqi
#petermolnarso the rule of the wiki kicks in again; either tantek or aaronpk thought about it and had it implemented 2+ years ago :D
#LoqiIt looks like we don't have a page for "location tracking" yet. Would you like to create it? (Or just say "location tracking is ____", a sentence describing the term)
#sknebelHm, thought we had an article, will search it later
#ZegnatHow do those GPS animal trackers work? Are they just super expensive or also not continiously tracking?
#petermolnarmost of them are not gps but cell tower triangulation
#Zegnatcell tower triangulation? The trackers for fish, bird, and herd migrations?
#ZegnatTo be fair, logging to flash memory is all I want. It is all I do right now. I just want accurate logs, don’t need live internet connections. That just introduces attack vectors
#sknebelThe long running ones do just track one a day or so
#sknebelThere's pretty small loggers available for hiking and stuff though
#sknebelPing me tomorrow evening and I can go dig for info, we should own one I check details on
#aaronpkit has a GPS receiver and talks to a satellite network, so it works literally everywhere
#aaronpkdownside is it only tracks at predefined intervals, 5 minutes is the most you can do without paying for an upgraded plan which gives you 2.5 minutes.
#aaronpkthe battery lasts a few months though which is nice
#ZegnatGoal: create a log of where I (the device) was at any time. Actual battery life isn’t super important as long as it is over 24 hours. I will most likely have a chance to recharge every day.
#aaronpkwhat resolution of data do you want? because that's a huge factor
#ZegnatOh I am definitely looking for something closer to what your phone does. My curreny backitude polling is a higher resolution than that spot log.
#aaronpkyou won't find a device that does a better job than a phone really
#aaronpkthe separate devices usually are either only GPS or only cellular tracking, both of which fail in different circumstances
#aaronpkthe phone gets to use both to do smart things, plus is always getting software updates from google/apple to make it work better
#ZegnatLiving on the Swedish country side I can not risk running the battery on my main phone dry, ever. Especially as someone who doesn’t have the option of getting in a car and driving to the closest town. So I am very hesitant to move to anything that does more regular polling or continuous tracking than my very conservative backitude settings.
cooled joined the channel
#jeremycherfasZegnat why don't you get a battery booster instead?
#petermolnarget a waterproof dumbphone with a huge battery that lasts weeks if not months
#[grantcodes]It's weird, works with one token I already have, if I put a fake one in I get the message I expect, but if I use another valid one it properly breaks.
#[grantcodes]Also while I'm at this whenever I save a users url that they enter for indieauth I should follow any redirections and save the final url right?
#[grantcodes]I have been bad and just stored whatever the user entered in the form. But means if you write a different url it will make you a new user. Which obviously isn't quite right
#[grantcodes]!tell schmarty Been using your indieauth lib, but I can't open issues on https://git.schmarty.net/schmarty/indieauth-authentication So 1. It should support scopes, 2. Should be able to get a token 3. Resolve and return redirected user urls. Happy to write pull requests, but don't want to create another separate npm module
KevinMarks, eli_oat, [tantek] and xset joined the channel
#aaronpkZegnat: you're a good test of my nicknames cache because you have so many different usernames/urls everywhere
[grantcodes] joined the channel
#[grantcodes]Hmm yeah I know it's just minimal auth but if it doesn't support scopes you need another library / to do them manually, which seems like a waste
#[grantcodes]schmarty's library does handle redirects internally, just needs to expose the resolved url 🙂
eli_oat and AngeloGladding joined the channel
#[tantek]Thinking about UI / community friction/barriers/filters and Derek Powazek’s Argument Machine post which makes a good case for *some* UX efficiencies amplifying more negativity than positivity
#[tantek]Implications for IndieWeb posting UX design
#[tantek](Thus some friction/barriers may actually create a more net positive UX and/or community)
#vilhalmerit seems to me that forcing yourself to think before posting, even briefly, is a good idea
#aaronpkooo I might be able to launch auto-transforming @-mentions to service-specific names very soon!
#aaronpkthe risk of course is someone like Zegnat whose twitter username is longer, and might cause me to go over the character limit without realizing
#aaronpkof course it works the other way with tantek! I usually type @tantek and then it'll change it to @t
#vilhalmerwasn't there one point that twitter was going to make names not count as part of the character limit? that would be nice except for all the spam implications
#vilhalmeraaronpk: could you use the longest username in your cache for any given person being mentioned to calculate the character limit?
#tantek___vilhalmer: yes Twitter switched a while ago to not counting username length as part of char limit (pretty sure)
#tantek___and even more so (not counting additional usernames at all) as part of their canoe chaining update
#tantek___Aside re: income being eliminated, at Technorati we used to get very nasty hate emails (personal, and through support) from spam blog farm maintainers saying Technorati blocking their spam blogs were hurting their income and were to blame for their kids not getting healthcare etc. It was some really nasty stuff.
dougbeal|mb1, eli_oat and TripFandango joined the channel
#pstuifzandgrantcodes[m], I just saw that you posted the relScraper function as a library
#Loqipstuifzand: [grantcodes] left you a message 19 hours, 30 minutes ago: I've made an independent rel scraper library. https://www.npmjs.com/package/rel-scraper Feel free to give it a go
[eddie] and tantek__ joined the channel
#tantek__grantcodes[m]: minor naming nit - looks like your library does actual HTTP header and HTML parsing, didn't see any regex use in there. So you have a relparser technically, not a relscraper.
#tantek__making the distinction because there are *actual* scraping libraries out there that use regex to get rel values from headers and/or say the first 1k of an HTML document
#tantek__(that is, calling your library "scraper" is unnecessarily and inaccurately undervaluing/underselling your work :)
[grantcodes] joined the channel
#[grantcodes]tantek: I did not know the difference, thanks. I will see if I can rename it
#pstuifzandit works great, I just used it in my reader
#sknebelI'd say "scraping" is extracting information that's not specifically encoded to be machine readable, but doesn't say anything about what tools are used. But since rel= is clearly dfinied and intended to be parsed, parser is the better label, yes
#tantek__sknebel: that is a reasonably precise definition yes. In coarse terms, usually when code is using a regex to extract apparently (rather than explicitly) machine readable information, then it's "scraping"
#tantek__if code is following (even roughly) a specification for a format in order to extract explicitly machine readable information, it's parsing
#LoqiScraping is extracting data from an unstructured web page, opposed to from an API or embedded structured data like microformats https://indieweb.org/Scraping
#LoqiIt looks like we don't have a page for "parsing" yet. Would you like to create it? (Or just say "parsing is ____", a sentence describing the term)
#Loqigrantcodes has 20 karma in this channel over the last year (28 in all channels)
#tantek__sknebel,grantcodes there is another nastier subtler misconception lurking here from the old XML days, and that's the myth that if you're machine parsing information from HTML, you're inevitably "scraping" (as opposed to XML, which of course is clean, well defined, always valid, and thus always "parsing")
#tantek__another thought on UX (in)efficiencies by design, has anyone implemented "Undo" in their "Publish
#LoqiIt looks like we don't have a page for "undo" yet. Would you like to create it? (Or just say "undo is ____", a sentence describing the term)
#[grantcodes]Not sure it count's as ui, but my chatbot micropub client has a delete button as soon as you make a post 😛
#tantek__delete is definitely very useful (especially if it's quick & responsive immediately after a publish). undo implies very different semantics. like Gmail's undo send.
eli_oat1 and [manton] joined the channel
#tantek__[manton], is indie /event post (or at least RSVP) support somewhere on the list for micro.blog?
#tantek__if it is, that would be a motivation to figure out how to syndicate an indie /event via RSS so that it showed up in my micro.blog, and allow folks to RSVP to it from micro.blog
#tantek__even if it is low on the list for mb I'm willing to help work on it, to answer questions, make it easier etc. until enough folks ask for it that it's worth building/shipping/maintaining
eli_oat joined the channel
#[manton][tantek] Thanks! I'm not sure where on the list it is, but I'd like to think about it. I've been hand-coding my RSVPs so far.
[tantek] joined the channel
#[tantek]Right. My use-case is to allow / encourage RSVPs *from* mb backfed to my indie events
#[tantek]Easiest way I could think of enabling that is to make it so when I posted an indie event, my existing Atom feed syndication to mb cause the creation of an indie event post on my mb
#[tantek]Then anyone on mb could reply to that with an rsvp
#[tantek]Cross-site rsvps from mb would be even better of course
#[tantek]Not sure of a good UX for cross-site RSVPs though
KevinMarks joined the channel
#[manton]Interesting. I'm looking over your feed now... Is there currently enough information in it to be able to recognize events?
KevinMarks, tantek__, willnorris, voxpelli and ancarda joined the channel
#tantek__Manton, not currently no because I there was no obvious way to do "Atom event posts" or "RSS event posts" for that matter so I just named them "Event" (which I realize is not very helpful)
#tantek__However if you know of anything resembling a decent/simple way to post an "event" in an Atom entry or RSS item, I'm willing to do the experimental dev work to publish it as such and post one to try experimenting with
#tantek__atom entry *content* element that is. (also "full h-event")
leg joined the channel
#tantek__I know that's not the "XML way" (no <event> element etc.) but I'd rather not extend Atom with additional XML at this point anyway.
#ZegnatYou could also add an (auto-generated) iCal file as an enclosure to the item. So if the item (whether in Atom or RSS) has a text/calendar enclosure it probably denotes an event.
#tantek__Manton, would it be reasonable for an Atom feed consumer to look for a sole <div> child like that with a class name of h-* and then treat that entry as that h-* ?
#tantek__Zegnat: ical parsing is a MUCH worse thing to try to get right than XML or HTML
#ZegnatTrue. It was just an alternative that wouldn’t introduce magic marks within the entry that need parsing
eli_oat1 joined the channel
#tantek__(read: no open test suite for ics, no actual testable interop, you have to test one calendar user agent at a time, worse than browsers in the early 1990s)
#tantek__Zegnat: nothing magic about it. you can even define some XPath for detecting what I suggested :)
[jon] joined the channel
#ZegnatAssuming everyone puts valid xhtml in the feeds, XPath could work, yeah
#ZegnatAs soon as someone puts HTML in a CDATA block as the contents, that goes out the window and the consumer will need both an XML and HTML parser.
#tantek__Zegnat, HTML as CDATA is a strawman, no one is advocating for that.
#tantek__also, escaped HTML is an RSSism, not really a thing in Atom (AFAIK)
#[grantcodes]Only does webhooks for now but it's a solid proof of concept
#ZegnatIsn’t WP by default all HTML-as-CDATA in feeds? I am just thinking of practicality here in case your proposal becomes the defacto standard for recognising events in feeds.
#ZegnatWow. We’re up to 5 separate update RFCs to the original RFC 5545 for iCal. Yikes.
#ZegnatI think RFC 5545 obsoletes 2445, I think, and starts with a clean slate ... or as clean as they could ever make iCal.
#ZegnatThe other 5 all just introduce updates, rather than obsoleting
#tantek__Zegnat, I'm ok with restricting this to Atom-only (no RSS), well-formed XHTML div inside Atom <content> only as a way to get this started. Then if the only consumers of such "feed events" also require that, then publishers will comply (otherwise their stuff won't get picked up).
[kevinmarks] joined the channel
#[kevinmarks]Atom often has cdata around the html, yes
#tantek__as a fallback, publishers can publish "simple" events (like my tweet example above) if they can't handle publishing "well formed XHTML" in general
#[kevinmarks]Feedparser will extract I Al from hCalendar in feeds
#tantek__otherwise I'll figure out the aforementioned XPath for "h-event in Atom content" detection, and then feed consuming code can hand-off the h-event div to a mf2 parser to get mf2json
#tantek__(otherwise as followed-up to request to kevinmarks docs request)
#[manton][tantek] An extra div with h-event to wrap the post content seems fine to me too. It wouldn't have to be Atom-only, would it? Seems like a similar approach would work with RSS or JSON Feed.
#[tantek]Manton, if you think there’s value in specifying how it works across all three then yes.
#[tantek]I assume JSONfeed already specifics exactly how to include HTML post content so that should be a direct mapping
#[tantek]IIRC, RSS had a few different ways of putting HTML into <item>, in particular I recall HTML escaping. Or maybe CDATA? Is there only one way that micro.blog extracts HTML content from RSS item elements, or multiple?
#aaronpki'm trying to get my autolinker to work with @mentions in HTML
#aaronpkcan't seem to get it to work without breaking other things
#aaronpkdamn, I thought I could get it to work with markdown too, but since markdown can contain html I need to solve it for html first!
#AngeloGladdingjust got v3 .onion addresses working and stumbled upon another interesting consequence -- even if I have HTTPS enabled on my (non-shared-hosting) site a user's ISP will know that they are interacting with me (reverse DNS lookup)
#AngeloGladdingowning your own domain is bad for privacy
[kevinmarks] joined the channel
#[kevinmarks]I think Tantek's autolinker is idempotent
#aaronpkcrap yeah, I need to run my autolinker *after* the markdown->html conversion, using the same rules I use for html autolinking (traverse all the text nodes except the contents of <a> <pre> <code> and autolink the nicknames inside)
strugee joined the channel
#[kevinmarks]Hmm. If the mentions came from Instagram, are they linked already? Or do you need a different mapping?
#aaronpki'm trying to run everything through my nicknames cache
#aaronpkto start I just need to turn my own @-mentions into the appropriate nickname based on the destination and autolink it in my own post
#aaronpksecondly, I want to take a @-mention from a PESOS'd post like from instagram and transform that back to a link to the person's website when my site displays it, but that's an even harder one
snarfed joined the channel
#aaronpkanyway, the reason I can't autolink markdown *before* the html conversion is that [this mention of @tantek](http://example.com) should not be autolinked
#aaronpkin order to do that pre-html conversion I would need to do that crazy trick of substituting all the non-replaceable bits with random strings, then do the replacing, then swap them back
#aaronpkother non-replaceable bits include code blocks in `` as well as triple multi-line ```, plus there's the question of what to do for embedded HTML