#Vendanjust odd question, does anyone else use a language that requires a build step, or is mostly everyone on "source code is the executable" languages?
#kylewmnothing too exciting about it really, html5lib just punted on implementing the "javascript disabled" case, and didn't bother to parse noscript tags
#tommorrisalso be sure to throw salt over your shoulder, not walk under any ladders, avoid black cats crossing your path, knock on some wood and pray to the lesser gods that the OpenSSL devs are doing their thing competently.
#barnabywaltersmorning rhiaro — php-mf2-shim doesn’t touch the twitter API at all, it scrapes information out of twitter.com HTML — what problems are you having with it?
#tantekVendan: thanks for positively engaging on that thread
#rhiarobarnabywalters: I haven't tried it yet, I just noticed the example had "client($twitterClientID, $twitterClientSecret, $twitterAccessToken, $twitterAccessTokenSecret);"
#barnabywaltersinteresting, I did not know that one existed! Looks like it transforms twitter API responses into microformats serialisation
jonnybarnes joined the channel
#barnabywaltersaaronpk do you actively use your twitter shim? Would be interested in knowing what prompted use of the API over HTML scraping — stability?
#barnabywaltersfwiw I’ve had minimal problems with the HTML scraping approach, but that could change at any moment. After all, Twitter are obliged to let people know about API updates but not front end code changes
#GWGbarnabywalters: Hello. Haven't seen much of you lately. Nice to have you around
#barnabywaltersgreetings GWG! I’ve been doing much indieweb work recently. Been working on anything interesting?
#GWGbarnabywalters: Still on WordPress Indieweb plug-ins. Doing a rewrite of my Post Kinds code with OOP
#GWGThe object oriented stuff isn't why I am rewriting it, but it will allow me to better vary the presentation by inheritance.
#GWGIt has been driving me crazy trying to design a class with the right functions. If I find it this hsrd, I have sympathy for those who design APIs
#tantekGWG, delegation can be easier to work with than inheritance
#GWGWell, basically I want to have a generic post display object and specific post type objects that use the same functions so I can detect and pass an object of the correct type
pfefferle and barnabywalters joined the channel
#GWGVendan, you mentioned interfaces, but that doesn't work with having a generic functionality replaced by more custom ones.
eschnou joined the channel
#GWGThis is why I used to avoid object oriented stuff when I programmed in C back in the day.
#VendanI don't deal with a base class, except for a common shared data
#VendanI've quite often found that, although everyone likes the idea of a heirarchial tree structure of inheritence, real life doesn't work that way :D
snarfed joined the channel
#GWGI already designed the data retrieval class to separate it from the display class
#GWGVendan, I'm using it more for the common interface
#Vendanyou realize the irony in your statement, right?
LauraJ joined the channel
#GWGVendan: I am a horrible programmer, so tell me
shiflett joined the channel
#Vendan"I'm using it more for the common interface" vs. "you mentioned interfaces, but that doesn't work with having a generic functionality replaced by more custom ones"
#barnabywaltersgreat! I will certainly have a look over it, I considered building one as Go practise a while ago but always had other things to do. will be interesting to see how you’re implementing it
#barnabywaltersVendan: probably not, although I’ve been considering rewriting my feedreader backend in Go for the websocket support. I do have some relevant mf parsing experience and might be able to provide helpful hints though
#Vendanheh, alot of my issue is really just finding time
#barnabywaltershm, my second issue is actually not quite right. The contents of <base> are taken into account, but are not resolved against the document URL
#barnabywaltersbut apparently you already saw that and fixed it
#aaronpkbarnabywalters: do you use nginx on your server?
#barnabywaltersaaronpk: apache, but I’m considering changing to nginx for a really weird obscure reason to do with custom HTTP methods and audio streaming
#aaronpki'll give you another reason to switch then :)
#aaronpkbasically it means i can make php apps that speak websockets without dealing with any of the weirdness that comes with actually doing websockets in php
#barnabywaltersaaronpk: that’s really cool! One of the reasons I wanted to use Go was because it was self contained with fewer moving parts, which still stands, but this looks fun as an interim solution
#barnabywaltersI’m like modular approaches to things right up until they mean I have a dozen extra bits of software to compile in a particular way and hook up together in a particular way :)
friedcell joined the channel
#Vendanbarnabywalters, one issue with go for websockets is it works best when it's directly handling the tcp to the browser
#Loqibarnabywalters meant to say: I like modular approaches to things right up until they mean I have a dozen extra bits of software to compile in a particular way and hook up together in a particular way :)
#barnabywaltersVendan: i.e. when the go binary which is doing websockets stuff is the same one which is acting as a machines external-facing server, with no reverse proxies inbetween?
#VendanI've got a collection of other indieweb libraries too: webmention, distributed indieauth, and PuSH. And there's a micropub endpoint in my main server app, but there's not too much point in pulling that out.
#tommorrisdariusdunlap: nope, I only just saw it and it looks exciting though.
#barnabywalterstantek: no, when I’m posting notes or articles
#tantekok I'm going to add class="auto-embed" so you can style that based on context
#barnabywalterstantek: maybe the best solution is to add a video_width parameter to auto_link, so that it doesn’t have to make any assumptions about the context
#tantekyes I know, subtle, but I did try to capture a lot o variants in that screenshot :)
#tantekalright, I got the minor cassis updates working locally, now to verify changes and also commit the auto_link vs. embed options to gh as well
#tantekdeployed live to my site - now auto_embeds of .webm video work - assuming your browser supports webm
#tantekand if it doesn't, then consider filing bugs on whatever browser you're using, and feel free to use my auto-embedded webm posts as real world examples
#cweisketantek, not exactly another level of complexity. it's just that you have a permanently open connection for each browser, which does not work with the traditional model of web servers
#VendanI'm not sure about data-uri for images, I'm planning on making a post-process step for my micropub endpoint that pulls the images out, decodes them, and rewrites the tags to point at them
#aaronpki'd prefer my site store it as separate files too
#aaronpkbut i do like the magic of it just working with no extra effort
#Vendanwell, it's quite easy to pull the images out
#aaronpkthere's another way to do it though, which would be cleaner
almereyda joined the channel
#aaronpkwhen you upload an image into the editor, the editor actually sends it up to the quill server and the quill server is supposed to return a URL for where the image lives. I'm short-circuiting that by just returning the data URI
#aaronpkso instead, the quill server could attempt to save the image to your micropub endpoint
#aaronpkand if your endpoint accepts it and returns a URL, it'd put that URL right into the markup in the editor
#aaronpkif your endpoint doesn't accept it, then it'd fall back to the data URI and would work as it does now
#aaronpkso the question then is... what's the best way to do raw image/file uploading in micropub, where uploading the image doesn't actually create a photo post
tilgovi and KartikPrabhu joined the channel
#cweiskethe pub in micropub is for publishing, right?
#cweiskethen ... there isn't a best way for non-published uploads
stream7, Nowaker, joskar and eschnou joined the channel
#kylewmI have this problem in general with post editors -- you want to upload the image but the post hasn't been created yet, where do you upload hte image?
#Vendanit'd be a little more complex, but we could go the route of email, and do basically a multifile post to the micropub endpoint with the photos all as files
#Vendanthat breaks all existing micropub stuff though, which is a little "not nice"
#Vendantbh, it's not like it's hard to pull the images out from the data-uris...
#aaronpkVendan: that's exactly how photo posts work in micropub right now :)
#Vendanyeahm I know that, hence the "I'm planning on making a post-process step for my micropub endpoint that pulls the images out, decodes them, and rewrites the tags to point at them"
#aaronpkwell right now it's creating a full photo post, and the response URL is the HTML page that includes the image
#aaronpkthere isn't a concept of creating raw resources in micropub right now
#Vendanwhy couldn't you just send all the images with the final post?
#aaronpki could, but i'd need something to put in the <img> tag in the mean time
#aaronpkalso that means more work for Quill, but i'm okay with that :)
#Vendantrue, and that's going to need post-processing on the receiving end too
#Vendanso we're still at the point of why bother if you don't really gain anything
#aaronpkyeah, seems like the post-processing of updating the <img> tags is gonna be about the same whether the img tag contains an http URL or a data URI
#aaronpkso back to the upload-before-post-is-created option which actually would be easier to handle
#snarfedPSA for bridgy users: if you've been missing any facebook responses over the last few weeks, try re-authing. (FB recently granted us a few new permissions.)
KevinMarks__, KevinMarks___, KevinMarks, nloadholtes, newbie|2 and stream7 joined the channel
#tantekaaronpk: re: "where uploading the image doesn't actually create a photo post" why not? that is, why not have uploading the image create a private (you only) photo post, and then the article authoring UI allow you to use any photo from your photo posts, or enter a URL of a .jpg/.png./gif etc. to embed?
#tantekyou can later of course make the photo post public if you wish
#tanteka much simpler use-case than ACL, to:, all that stuff
#KevinMarksThat's what I was getting at with svgur.com for SVG
#aaronpktantek: i support private posts right now where i whitelist people who can see it. it was the same workflow/code to make it support visible to only me or to only certain other people
#tantekKevinMarks - true, aaronpk could make another micropub app called "Gallery" which had the sole purpose of being an indieweb imgur replacement ;)
#aaronpkmichiel did a bunch of brainstorming at IWC Germany about private/restricted posts
torrorist, interactivist, lukebrooker, stream7 and KevinMarks joined the channel
#benborgesso i came back from a www.neutrinet.be meeting (associative internet provider at early stage) where we got a presentation of this : http://labriqueinter.net/ and this https://yunohost.org/
#benborgesthe guys at yunohost are totally motivated to get Known packaged into this box
#benborgesi'll see what I can do myself by documenting how it went for me
#benborgesbut seriously, this box is crazy ! just imagine your own indieweb self hosted website at HOME running on a Debian 7 on decent hardware at home
#benborges"website in a box" this means, we could customize a Known or wordpress instance, tie it to a domain, and have this ready for a gift, it means we could distribute the indieweb phisically, in people's home !!
#benborgessince it comes with a VPN service too, it means i have an IP adresse, no matter where i connect my website
#benborgesneutrinet is an attempt to launch the same idea but in belgium, using FDN range of IP's and it's infrastructure to the wider net
shiflett joined the channel
#benborgesanyway, i'm going to sleeep, because tomorrow i want to assemble this little box and SSH into it and actually move one of my domain to the box, spice it up with some indieweb and then see how it goes. this box also solve a big issue to me : email, i'm finally going to selfhost part of my emails, it's going to be fun !
#aaronpk“No one moves where they tweet because some other tool has better formatting or profile customization. That’s because a tiny percentage of the value Twitter brings comes from the software itself. It’s all about the network”Š—”Šthe connection with other users and the content they create.”
#aaronpkand ev highlighted this: "the ability for Medium responses to live on their own gives both more motivation to invest in them (as a creator) and more likelihood the significant ones will be found"
#aaronpkwhich is exactly why we've dropped comment boxes in favor of webmentions, so that responses live on their own
#benborgesgreat point ! comments should be free to live where they are made ! no matter the platform
#KevinMarksAlso, LiveJournal was bigger than Blogger
#KevinMarksespecially if you discounted the spam on blogger
#benborgesi never got into livejournal, always felt akward in front of it, and at the i was compulsively registering to anything new that was arising, blogger was my first blog, then moved to b2evolution, then wordpress
#benborgesi was first a music producer, under CC, in 98 uploading mp3 online and retaining control on this data was not easy task, but that challenge ultimately got me into more web, less music, until it became my job, haha :)
#KevinMarksblogger was my first too, and never used livejournal much.