#dev 2019-10-24
2019-10-24 UTC
[snarfed] joined the channel
RenDiscord[m], EdEdorEddyDiscor, captain-nemoDisc, [jgmac1106], [schmarty], dougbeal|mb1, chimo, treora and [Lewis_Cowles] joined the channel
# [Lewis_Cowles] [snarfed] https://gist.github.com/Lewiscowles1986/909d62227a8cd11497cf6b754c1032f3
# [Lewis_Cowles] It looks like exit may have a typo as well as the refresh time-out, but it combines several methods of redirection
# [Lewis_Cowles] so that browser does what you told it to do
# [Lewis_Cowles] Right I've changed it up a little now so it's less rigid, at the cost of a little more code and readability. Have to say getting phpdebug working has been a boon
[xavierroy], ffgvv, [Rose], cweiske, tsrt^ and [tantek] joined the channel
alloramanaagia joined the channel
# alloramanaagia hello guys
# alloramanaagia I have an enqury for you
# alloramanaagia would be possibile to link a google spreadsheet to a domain name?
# alloramanaagia if so, I need only to redirect the dns records to google?
tsrt^ and [Lewis_Cowles] joined the channel
# [Lewis_Cowles] @alloramanaagia you’d need something to resolve the path too
# [Lewis_Cowles] nginx, apache, a php file which redirects to the place. In any case Google will want it to show their domain
gxt joined the channel
# @janboddez ↩️ Receiving webmentions doesn't work either, for my setup. (`webmention_url_to_postid` does not return the proper post ID.) Might revert to my own plugin, then. (twitter.com/_/status/1187318521321218048)
[frank] and krychu joined the channel
# [Lewis_Cowles] maybe an unpopular opinion, but async and await in JS is an admission that the async by default was a mistake. Language syntax compatibility demand that more keywords fix the problem, thereby growing the problem space
[KevinMarks], [jgmac1106] and [tantek] joined the channel
# [jgmac1106] alloramanaagia I use my url shortner to point to a spreadsheet.... You could also export the sheet as html and throw that up
# [jgmac1106] Isn't dynamic you would have to re export if you change
# @janboddez ↩️ One thing I'd like to do, still, is replace Bridgy's URL with the actual source. Which would require filtering `webmention_comment_data` and parse the source's microformats ... (Although I've also installed Semantic Linkbacks, it doesn't seem to cover that part.) (twitter.com/_/status/1187337812263260160)
# [jgmac1106] how can I help dogtrax syndicate his poem to indeweb.xyz what did he do wrong: https://dailyconnector.com/2018/10/10/testing-out-indieweb-with-poetry/
# [jgmac1106] ...ahh no h-entry on the post the syndication link won't matter
# [jgmac1106] ...people want to play....WordPress just so hard....
# [jgmac1106] an angel gets her wings?
# [jgmac1106] I am a big Henry Travers fan
# [jgmac1106] looks like he is trying to use bridgy...https://dailyconnector.com/2018/10/10/testing-out-indieweb-with-poetry/#respond dogtrax one of the most IndieWeb people I know....but just can never get this stuff working correctly
[jeremycherfas] joined the channel
# [jgmac1106] but there are zero mf2 on his theme...there is that....but I also don't see any old microformats. May try to tell him to use the micformats2 plugin
# [jgmac1106] yes he has no legacy mf so I think it will work
# [jgmac1106] I think the mf2 plugin could have a resurrgence now that legacy mf not showing up as much in core and that is translating into theme updates
# [KevinMarks] I like promises better than async/await but it is still confusing (I forget to return the promise)
# [KevinMarks] expressing call graphs in text is awkward.
[qubyte] joined the channel
# [KevinMarks] yes, but it doesn't help much with the Promise.all() thing to run stuff in parallel
# [KevinMarks] so that ends up doing return Promise.all(urls.map(fetch)).then(responses =>
{ /* following code goes here */}
)# [KevinMarks] so you put the catch on the Promise.all() rather than after it?
# [KevinMarks] that won't preserve order though, which promise.All() does
# petermolnar I gave up trying Zapier to be my micropub client: it has way too many limitations. Example: I want to forward "like" and "bookmark" entries to wallabag, but wallabag is synchronous: it fetches the remote article before coming back to the client. Zapier has 1s max execution time limit. On the other hand, with a dead simple PHP I can now use any indie reader's like functionality to save entries to wallabag :)
# [jgmac1106] What is wallabag?
# Loqi Wallabag is a free-software tool for saving/bookmarking web pages, in the style of Instapaper and Pocket https://indieweb.org/wallabag
[Lewis_Cowles] joined the channel
# [Lewis_Cowles] Very nice. I’ve not had much luck with Zapier myself. I expect that the 1s is a limit which respects their low price-point and ensures they can always run as actions live on their severs, probably become their IP
# [KevinMarks] I've been building things with AWS lambdas that set a 3s timeout by default, but if you don't call them often they can take ~1s to spin up, which adding to the network stuff I had to do made them time out. I hadn't noticed, because the AWS queue I was using will retry 3 times, and the 2nd time there is an instance there to process it without timing out o_O
# [qubyte] [Rose] I’ve built a shortcut which posts a note with photo. It uses the media endpoint to first upload the photo because I want to use a JSON payload to post to the endpoint so I can include alt-text. The first request returns the URL of the uploaded photo in a `Location` header, but I can’t figure out how to get headers from a `Get contents of` step. At the moment I have the media endpoint responding with JSON including the URL since thatâ
[Rose] joined the channel
KartikPrabhu joined the channel
[snarfed] joined the channel
# [snarfed] cc [dansup]. specifically it responds to https://pixelfed.social/api/v1/instance , but not https://pixelfed.social/api/v1/apps
# [jgmac1106] snarfed did we ever come to agreement around granary mf2->rss for size and duration to enable podcast feeds?
# [snarfed] [jgmac1106] not yet. https://github.com/snarfed/granary/issues/169
# [jgmac1106] I was also wondering if a post has a u-featured img could that be picked up as img tag for an rss feed. Does that work already?
[xavierroy] joined the channel
# [xavierroy] I think I was the one who was trying bridgy with pixelfed earlier today 🙂
# [jgmac1106] cool, well let me finish updating my podcast feed, currently I copy and paste the xml file from granary and then manually add in the length and size
# [jgmac1106] ...which I why my feed is like 10 shows out of date,,,,
# [jgmac1106] yeah if we can get granary to spit out a "proper" podcast feed ...life will be better
# [jgmac1106] yeah that is it
# [jgmac1106] will double check that random photo size that Apple requires but I think that validates fine. I will test today with a podcast feed validator
KartikPrabhu joined the channel
KartikPrabhu joined the channel
# [jgmac1106] interesting open up this url to a pdf in a browser and the % space doesn't show, couldn't bookmark, luckily adding it here and the % appeared. I don't have to manually do it http://ide.mit.edu/sites/default/files/publications/2017%20IDE%20Research%20Brief%20False%20News.pdf
KartikPrabhu, [frank], [tantek], [Lewis_Cowles], [KevinMarks] and gRegorLove joined the channel
[xavierroy], [schmarty], KartikPrabhu and [SE_NOVEM] joined the channel
# [SE_NOVEM] Hello, could someone point me to the right direction why my grid system is overlapping in this modal dialog:
# [SE_NOVEM] https://jsfiddle.net/intoverq/1gmb3kf0/54/
[schmarty], gxt and KartikPrabhu joined the channel
# [schmarty] !tell aaronpk: i saw a weird thing w/ ownyourgram. i have a post permalink that is https://www.instagram.com/ghostpartyimprov/p/B4AoRqXpl6l/ and ownyourgram.com wouldn't import it until i removed the "username/" section.
# Loqi [Ghost Party] WE ARE DIZZY WITH ANTICIPATION FOR THE @bigimprov BIT SHOW TONIGHT AT 9:30. #INKTOBER https://scontent-iad3-1.cdninstagram.com/vp/f228ee4853fe517e7f0846fed4bc0b63/5E5DCA2C/t51.2885-15/e35/s1080x1080/75388582_695444154294931_1927328701109099767_n.jpg?_nc_ht=scontent-iad3-1.cdninstagram.com&_nc_cat=107
[snarfed] joined the channel
# [schmarty] it came from instagram-atom
# [schmarty] (previous links from instagram-atom have not included that URL segment to my recollection)
[mapkyca], jjuran, [Rose], [chrisbergr] and gRegorLove joined the channel
# [chrisbergr] I wish I could use ownyourgram, too. Then I wouldn't always have to do this crap manually. But I still have to get my old posts back to my site anyway. I've been putting this off for so long, the thought of it always scares me off...
# Loqi It looks like we don't have a page for "state of OwnYourGram Lite" yet. Would you like to create it? (Or just say "state of OwnYourGram Lite is ____", a sentence describing the term)
jjuran joined the channel
# [chrisbergr] In the past (3-4 years ago) I used IFTTT for instagram. But it seems like that all those scripts doesn't work anymore. Always seeing empty images everywhere.
[grantcodes] joined the channel
# [grantcodes] What is microgram?
# Loqi Microgram is an extension to micro.blog to show photos in an instagram like photos page https://github.com/cleverdevil/microgram https://indieweb.org/Microgram
# [chrisbergr] For a side project I'm using later.com, they are pushing the contents to their iphone app and this app uses the instagram app to natively post the images.
# [grantcodes] Not that one. I'm sure someone made a script very recently
[qubyte] joined the channel
# [qubyte] I have a nav bar. At the moment, the current location is _not_ an anchor, and the other items are. This was because in the past I saw no sense in a nav item linking back to itself (and also it makes it clearer where you are when you’re using lynx, which I’m sure is a common use case). Is there a better practice for this? A special attribute or microformat I might not have considered?
# Loqi aaronpk: [schmarty] left you a message 2 hours, 20 minutes ago: i saw a weird thing w/ ownyourgram. i have a post permalink that is https://www.instagram.com/ghostpartyimprov/p/B4AoRqXpl6l/ and ownyourgram.com wouldn't import it until i removed the "username/" section.
# [chrisbergr] [qubyte] I guess you have a very unique audience if lynx users are common there. The 28 client websites I'm monitoring for my employer right now (mid-sized companies from germany) have together not a single visitor with lynx. Anyways: I'm interested in some empirical conclusions on the subject of whether it is better not to drop anchor or rather to do so. I couldn't find any discussions out there and I always tend to give everything an
# [chrisbergr] anchor...
# [chrisbergr] That's the only reason I know the browser at all, by the way 🙂
# [chrisbergr] There is aria-current=page
# KartikPrabhu ::target is a CSS selector too
# [chrisbergr] Oh really? I should have known that about a few years ago when I was building a one page..
[dougbeal] joined the channel
# KartikPrabhu [qubyte]: yes, :target is from fragments, I don't know any page level URL detection in CSS. Depending on your backend, you could add a class attribute in your system ans then target that
# KartikPrabhu not in CSS afaik, but the "aria-current" attribute might work
# KartikPrabhu :thumbsup: