#dev 2019-05-10
2019-05-10 UTC
gRegorLove_, KartikPrabhu and snarfed joined the channel
# @pierremartin J’aurai quelques questions liées à l’IndieWeb, notamment autour de la mise en place d’un provider IndieAuth pour gérer l’authentification à travers divers systèmes utilisés par une association. C’est où le meilleur endroit pour demander ? (ou qui) (twitter.com/_/status/1126716003289669634)
snarfed, chris_ritma and [Rose] joined the channel
snarfed joined the channel
# Ruxton GWG: try rsvg-convert (in librsvg) across the files - https://github.com/numixproject/numix-tools/blob/master/numix-tools/svgscale -- i've used things like this in the past to generate sprite sheets+css for SVG+png/png2x fallback for web and create android/ios icons at the same time
istrk and KartikPrabhu joined the channel
# Zegnat AutoAuth means it becomes slightly harder for receivers of e.g. bridgy private posts to accidentally publish them. Because they will need to support autoauth and authorise to bridgy before the posts can even be fetched. Meaning existing webmention receivers cannot accidentally start to also publish private posts
[Rose] joined the channel
[chrisaldrich], [xavierroy], KartikPrabhu, [frank], [tantek] and [Rose] joined the channel
[kevinmarks] joined the channel
[jgmac1106] joined the channel
# [kevinmarks] Dark Sky and https://www.metoffice.gov.uk are both worth a look for UI
# Loqi Weather is the state of the atmosphere at a place and time as regards heat, dryness, sunshine, wind, rain, etc https://indieweb.org/weather
# [tantek] weather << Good UI examples: Dark Sky, https://www.metoffice.gov.uk
# Loqi ok, I added "Good UI examples: Dark Sky, https://www.metoffice.gov.uk" to a new "See Also" section of /weather https://indieweb.org/wiki/index.php?diff=60947&oldid=55633
# @aaronpk ↩️ @TechLifeWeb Could be a number of things, but here's what we've seen before: https://indieweb.org/Wordpress_IndieAuth_Plugin#Troubleshooting (twitter.com/_/status/1126797184639295488)
jjuran joined the channel
# jeremycherfas GWG I'm not sure pricipation chance % is worth recording unless you go back and calculate some sort of prediction accuracy.
wagle joined the channel
swentel, [jgmac1106] and [kevinmarks786] joined the channel
jjuran, [schmarty] and [tantek] joined the channel
[aaronpk] and KartikPrabhu joined the channel
# @sebastiangreger Sendmention & Commention: a pair of #Indieweb webmention plugins for @getkirby - personal, opinionated and VERY beta https://sebastiangreger.net/2019/05/sendmention-commention-webmentions-for-kirby-3/ (twitter.com/_/status/1126838073004834816)
KartikPrabhu and kisik21 joined the channel
# kisik21 Good morning IndieWeb! Let's play a game! What do you think this Python code snippet does? Is it weird-looking enough for you?
# kisik21 target_post["properties"]["comment"].index(list(filter(lambda i: target in i["properties"]["url"], target_post["properties"]["comment"]))[0])
# kisik21 I totally need to comment the heck out of it if someone here won't understand here
# kisik21 s/here$/it/
snarfed joined the channel
# KartikPrabhu seems to be getting the url of comments to some post. I usually stick to list comprehension. I dont understand lambda expressions very much
[kimberlyhirsh], [frank] and [jgmac1106] joined the channel
[schmarty] joined the channel
# kisik21 KartikPrabhu: snarfed: Actually that stuff is: Find a post with certain URL in the comments of h-entry and get its number in the array so I can update it. This snippet will become a part of Salmention support in the new rewrite of pyindieblog
# kisik21 OH WAIT
# kisik21 I made a mistake in the code
# kisik21 it should be `source in i["properties"]["url"]` not `target`
[gerwitz] joined the channel
# kisik21 So that's how it should work: `target_post["properties"]["comment"][target_post["properties"]["comment"].index(list(filter(lambda i: source in i["properties"]["url"], target_post["properties"]["comment"]))[0])] = mf2py.parse(source)["items"][0]` and then dump the post back in the DB/filesystem/whatever I'll end up using as persistent storage
# kisik21 basically get a comment number by its url, then rewrite the comment including the updated information
# kisik21 I included a note in my org-mode file right next to this snippet so I won't forget what does it do
snarfed and [tantek] joined the channel
[Rose] joined the channel
gRegorLove_ and snarfed joined the channel
# sebsel https://aaronparecki.com/rides <- these have p-unit too
# Zegnat GWG, for the markup ideas: http://microformats.org/wiki/measure-brainstorming
[jgmac1106] joined the channel
# [jgmac1106] Graphic only with more data on toggle
# @mauricehh ↩️ Cool thing! I am currently working on a comment system and wanted to add webmentions to that, too (sometimes in the future) maybe I can leave away that part, then. How do you handle spam? I don't have a good solution for that yet. (twitter.com/_/status/1126907317834932225)
[jgarber] joined the channel
# [jgarber] Zegnat The bug in the particular library: https://github.com/httprb/http/issues/514
# snarfed unpopular opinion: i naively suspect conneg has been a net negative for web development at large for decades now. nice idea in theory, but more painful than useful in practice. if each URL only served a single content type (with maybe narrow support for compression etc), our lives would be easier overall.
# Loqi conneg is short for HTTP Content Negotiation, a method by which a browser or other web client can request content of various types from a web server, and depending on what is requested, and what the server supports, it tries to provide the best it can https://indieweb.org/conneg
[kimberlyhirsh] joined the channel
[schmarty] joined the channel
# [jgarber] aaronpk Looking at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept
# [jgarber] Maybe there’s something in the spec… https://tools.ietf.org/html/rfc7231#section-5.3.2
[tantek] joined the channel
# Zegnat I have actually had to swap the tie-breaker in selfauth (https://github.com/Inklings-io/selfauth/blob/master/index.php#L193-L206) a number of times
[chrisaldrich] and jackjamieson joined the channel
BenLubar, gRegorLove__, leg, snarfed, [Rose], callMeBaby and doubleloop joined the channel
# doubleloop I made a sketch for wrapping my head round all the different bits of my site, any notes on it appreciated! https://doubleloop.net/2019/05/10/5392/
snarfed joined the channel
[kimberlyhirsh] and [schmarty] joined the channel
# [schmarty] ooh, what's emupub?
snarfed joined the channel
# doubleloop [schmarty]: Oh heh, that's what I called the micropub layer for spacemacs
# doubleloop Zegnat: hmm good question
# doubleloop I'd say the micropub/webmention endpoints all works pretty smoothly thanks to the plugins
# doubleloop But things display in a weird way on my site, or something I post displays weirdly elsewhere - so perhaps more a problem with the microformats
# doubleloop *sometimes they display in a weird way
# doubleloop Not all the time
# doubleloop I'd prefer not to have all my data going into Wordpress' database, which is a bit of a blackbox to me
# doubleloop I'd probably feel more comfortable having the content in flat files in some version control somewhere
[tantek] joined the channel
# doubleloop I'd like to liberate the data some day. It would be cool if there was a service that could read through your feed, and pull out the MF2 for each post and put it into canonical json.
# doubleloop Like a generic Indieweb backup service
# kisik21 wait did someone here say Emacs?!!
# kisik21 emacs++
# kisik21 I use Emacs
# kisik21 and thought of Emacs-based Micropub client
# kisik21 but never implemented it because my elisp knowledge is... well... lacking
# kisik21 doubleloop: if only your implementation was capable of posting exported Org-mode files :3
# kisik21 I'd post my drafts for my new blog engine
# kisik21 oh wait
# kisik21 my blog is offline
# kisik21 I have nowhere to post!
# doubleloop kisik21: Check out arcology
# kisik21 Arcology, a portmanteau of "architecture" and "ecology", is a field of creating architectural design principles for very densely populated, ecologically low-impact human habitats.
snarfed joined the channel
# kisik21 lol
# doubleloop Although that other definition does sound interesting :D
# kisik21 I can't access the source T__T
KartikPrabhu joined the channel