#dev 2019-09-16

2019-09-16 UTC
[snarfed], gRegorLove, [Michael_Beckwit, dougbeal|mb1 and t-mo joined the channel
#
dansup
aaronpk: found a bug in pixelfed thanks to your post! We're not parsing dates properly 😅 https://d1sz9tkli0lfjq.cloudfront.net/items/1C0S0u3i2a2g0O2n0a3B/Screen%20Shot%202019-09-15%20at%208.35.32%20PM.png
#
aaronpk
Is my avatar missing because of a bug on my end? or...?
#
dansup
pixelfed doesn't fetch remote avatars yet, and yeah timezones are fun /s
#
aaronpk
ah cool
#
aaronpk
mastodon is still showing my old avatar and i haven't figured out how to change it
#
aaronpk
i am also a little sad that i can't tell mastodon to use a unique avatar per post like you get if you follow my site's h-feed
#
aaronpk
because i put a lot of work into those emoji photos!!
#
dansup
yeah I'm not 100% sure about how mastodon and pleroma update avatars, sometimes it seems like its instant across those two
#
dansup
or name changes
#
dansup
I've never considered storing avatar per post but with the upcoming schema changes in pixelfed that is possible
#
aaronpk
it's definitely a fringe feature
#
dansup
yeah, seems like I'm using the wrong carbon method, createFromFormat() works better
#
dansup
I should write a test for this
#
GWG
That reminds me. I need to test Micropub with timezone offset issues. Good I am going to Pacific time
#
dansup
it appears pleroma timestamps are not formatted properly, I will have to postpone this change :(
#
jacky
what is websockets
#
Loqi
Websocket is a full-duplex single socket connection over which messages can be sent between client and server https://indieweb.org/websockets
#
jacky
blah I'll just update my link
#
jacky
what is Android
#
Loqi
Android is an open source operating system for mobile devices (AOSP) combined with a set of proprietary cloud services provided by Google, which some use to post to their IndieWeb sites https://indieweb.org/Android
gRegorLove joined the channel
#
dansup
what is pixelfed
#
Loqi
PixelFed is open source software for social image sharing, similar to Instagram, that interoperates with other sites using several open standards including rel-me and ActivityPub https://indieweb.org/PixelFed
#
dansup
hi jacky :)
#
jacky
yo yo
#
jacky
what's up?
#
dansup
trying to fix the timestamp bug in pixelfed, if I do it will break pleroma federation support since they use an invalid ISO 8601 format
#
dansup
jacky: how about you? what activitystreams verbs does koype use? Would love to support koype <-> pixelfed federation!
#
dansup
pixelfed assumes UTC timezone, one of aarons posts was in a different timezone and is now at the top of my home timeline in pixelfed because its a future date lol
#
dansup
I never noticed this before because pixelfed, pleroma and mastodon all use UTC for timestamps
#
jacky
Koype could talk to AP via Bridgy Fed so if it works with that then it should be fine! Only thing would be just microformats support of posts in a SSR-fashion so stuff can be fetched
#
dansup
pixelfed isn't a SPA, we inject meta tags in the blade templates so it should work fine!
cweiske and krychu joined the channel
#
aaronpk
ahh timezones
#
aaronpk
I keep thinking I should write about best practices for timezone handling
#
aaronpk
I've been happy with how my site has been working, and it's hyper timezone aware
krychu joined the channel
#
beko[m]
Read into webmentions spec and started to roll an endpoint using Express. I wonder about status codes for queued webmentions. The spec suggests 400 or 500 but I've no idea what to return for ongoing queued requests. 201 for Created, 202 for Accepted but that's for "Ongoing"? 102 for Processing?
bostaDiscord[m] and [pawel_madej] joined the channel
#
[pawel_madej]
[snarfed] Can I ask for debugging once more? previous bug I found in [aarongustafson] webmentions plugin. Now I wanted to send issue about this to github from my page and get errors on creating new issue: https://brid.gy/github/nysander … it looks like github resolves u-in-reply-to link for issue page as a comment to not existing issue. But maybe I am wrong
#
[pawel_madej]
webmention is sent but to brid.gy but not accepted by github
#
[pawel_madej]
I tried in u-in-reply-to “repo url”, “repo url/issues” none is working at all
jeremych_, [Lewis_Cowles], [tantek], gxt and janoort joined the channel
#
janoort
hi can anyone help me with php and jquery
#
sknebel
[pawel_madej]: seems like you got it to work now?
#
[pawel_madej]
[sknebel] probably yes … for tweets / likes it works but have issue with jekyll webmentions plugin https://github.com/aarongustafson/jekyll-webmention_io/issues/128 (github broke <>) … somehow github issue was also sent at last. maybe this was because I was sending webmentions before deploying jekyll build to server, now I’ve changed CircleCI workflow steps and looks that at least some parts are better
#
sknebel
sure, if you send webmentions before the correct content is online and reachable by the receiver it can't work
#
[pawel_madej]
now I know it 🙂
#
[pawel_madej]
it gets harder if I test jekyll builds on localhost and it looks rather ok, but until I commit and trigger CircleCI workflow I cannot be sure what will be result online
#
[pawel_madej]
I have many years of IT background but ruby, jekyll and circleCI are new to me, and the whole IndieWeb also 🙂
#
[pawel_madej]
best part is that I will be able to do all content creation using only my iphone 🙂 for twitter this will be my custom made Shortcuts + Working Copy App, for new post iA writer + Working Copy App. Maybe I find time to describe this some day … for now it looks promising 🙂
krychu joined the channel
#
@ton_zylstra
@synesthesia came across the list of participants of London's 2004 BlogWalk, realised I should re-add your feed to my reader. Great you run #indieweb 's indieauth and webmention on your site! (https://www.zylstra.org/blog/2019/09/9067/)
(twitter.com/_/status/1173571836770172928)
[jgmac1106] joined the channel
#
[jgmac1106]
[aaronpk] its the antidote to the CK Lewis meme about internet on planes
#
[jgmac1106]
Can someone explain to me what "serverless" means? Like when folks say they build on netlify... That data must be saved on a server? I see people talking about it ans always wonder "Does that mean what you think it means"
#
[jgmac1106]
!tell jacky scrolling back read post about small business and facebook pages. Happy to chat after setting up a few for artist
#
Loqi
Ok, I'll tell them that when I see them next
#
cweiske
there are still servers involved
#
beko[m]
It's not on _one_ server. It's floating whereever it's hypervisor thinks it suits best..
#
[jgmac1106]
Yess so what makes it *less
#
[jgmac1106]
Ahh okay...
#
cweiske
serverless is a BS term
#
beko[m]
It is.
#
beko[m]
Usually it comes with a plan where you only pay what you needed. Exactly. As in terms of bandwith and disk usage n stuff.
#
cweiske
what I read aber serverlessity is that you don't rent a server at aws, but only a function. you write that function in java or some other language, and can call that function from wherever you want
#
cweiske
so not a full application on a dedicated server, but only a small function
#
cweiske
your JS app then uses a function to send a mail, or to calculate something or so
#
sknebel
that's one type. I'd say the main distinction is if a concept of a server or instance is exposed
#
sknebel
e.g. "original" Google App Engine also is serverless
#
sknebel
before that was a term people used :D
[grantcodes] joined the channel
#
[grantcodes]
Cloud functions is a better term that I think is at least 99% the same
#
sknebel
whereas later App Engine iterations now have a concept of instances executing your code, and thus aren't
#
[jgmac1106]
Thank you, it was just one od the jargon words people theough around I never understood
#
beko[m]
So it's fancy webhooks in a cloud.
#
[jgmac1106]
JeremyCherfas the reason I liked losing the div and just just using figure is just 100% personal bias... I can see the semantic elements like section and figure in my head as blocks easier
#
jeremycherfas
Fair enough.
#
[jgmac1106]
Probably from too many years of carrying an APA style guide...
#
[jgmac1106]
I look at articles, figures, and sections as self contained ideas and can move around and style wherever... I know a div is same
#
jeremycherfas
Strange. I too have been writing all my life and regard the route through what I am writing as the best possible route for those ideas. For that reason, I strongly dislike See Fig on p 293 and endnotes rather than footnotes.
#
[jgmac1106]
Social science doesn't use as much endnotes as plant biologist.. APA in general discourages....Web has made me rethink figures and accessibility on paper
#
[jgmac1106]
Idea that tables and figures should "only" provide more info... I now describe all figures in plain text as well. Kills word counts
#
jeremycherfas
If bash does not recognise `yum` is there another way to install CPAN?
#
cweiske
which server os do you have?
#
cweiske
cat /etc/*release
#
jeremycherfas
Er, not sure. Hang on.
#
jeremycherfas
I think ubunto 16 of some sort.
#
cweiske
then you have to use "apt" to install packages
#
cweiske
yum is for redhat/centos only
#
jeremycherfas
Ubuntu 14.04.4
#
jeremycherfas
Thanks. Same general sybntax? Apt install package?
#
cweiske
apt install cpan
#
cweiske
but ubuntu 14.04
#
cweiske
then "apt-get install cpan"
#
jeremycherfas
Rats! Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
#
jeremycherfas
And I can't sudo at DreamHost
#
jeremycherfas
Back to the knowledge base.
#
jeremycherfas
Problem is that installing some of the dependencies an app needs, it failed to install some of them.
#
[pawel_madej]
quick question … if possible, how can I grab my own tweet (pre POSSE) put on my site and make it webmention target (and not be treated as some new content)? or this is not possible … only a history without webmentions target?
#
[grantcodes]
Totally possible [pawel_madej]
#
[grantcodes]
Might not be easy though...
#
jeremycherfas
Oh well, my plan to use Bise from jgmac is not going to work any time soon. Log naming structure is not correct and there are other problems. Giving up on it.
#
jeremycherfas
The thing is, the code doesn't look hugely complex, but this is definitely a project for another day.
#
jeremycherfas
Although, given that DreamHost keeps logs for only three days, that presents a possible solution too.
luca4 and [schmarty] joined the channel; janoort left the channel
#
[jgmac1106]
Details sparse: https://www.grantfortheweb.org/ just a press release not an actual RFP
#
cweiske
I close the tab at "inclusive standards"
#
[grantcodes]
Hey, I'm Grant and I'm for the web
#
[grantcodes]
Although it does seem to be strongly angled at pushing the "Web Monetization standard and protocols" whatever those are.
eli_oat, vika_nezrimaya and [xavierroy] joined the channel
#
Loqi
jacky: [jgmac1106] left you a message 4 hours, 21 minutes ago: scrolling back read post about small business and facebook pages. Happy to chat after setting up a few for artist
#
jacky
this is going to prevent me from interacting with anyone who uses webmention.io
#
jacky
I'm going to revert this on my site
#
jacky
and try to debug this on the php side over the weekend
#
jacky
aaronpk: I might ping randomly about that ^
[snarfed] joined the channel
#
[snarfed]
maybe brotli? he serves it. complained about it w/bridgy too. https://github.com/snarfed/bridgy/issues/878
#
[snarfed]
actually nm i think he turned it off
[pawel_madej] joined the channel
#
[pawel_madej]
How can I tell brid.gy to use short url instead of canonical and how to make below url citation instead of active url?
#
jacky
[snarfed]: nah, it's something on my end that I started using to make sure stuff looked as expected
#
jacky
I'd send this: "Content-Type: text/html; charset=utf-8"
#
jacky
the `charset` seems to not be expected
#
jacky
I think bridgy's been okay with it
#
[snarfed]
that looks fine
gRegorLove joined the channel
#
jacky
I thought so too!
gxt joined the channel
#
[snarfed]
wm.io may be complaining about his site, not yours, but his Content-Type is the same, so 🤷
[grantcodes] joined the channel
#
Loqi
@zachleat says it clearly - we can’t expect places like Twitter to exist forever. But we can do that for our own identites on platforms we have a say in. I’m even happy to be working on things that help people do that! https://www.zachleat.com/we...
#
[grantcodes]
Thought it might be about the parsed post type. But that doesn't look obviously bad to me
#
sknebel
don't see anything obvious either
krychu and [tonz] joined the channel
#
vika_nezrimaya
I thought about GitHub and wanted to write a post. So, I wrote this: https://fireburn.ru/posts/1568652213
#
Loqi
[Vika] Own your Git repositories; a concept for IndieWeb-replacement of GitHub features
#
vika_nezrimaya
By the way, the post is written (but not sent) with my Micropub client. Sending is manual for now :3
#
vika_nezrimaya
#manualuntilithurts
[schmarty] and [snarfed] joined the channel
#
[snarfed]
manualuntilithurts++
#
Loqi
manualuntilithurts has 1 karma over the last year
#
vika_nezrimaya
This battle-testing also allowed me to realise I haven't exposed the list creation in my TinyMCE instance, so I quickly fixed that
#
[snarfed]
vika_nezrimaya we actually already have a lot of prior art on this, with existing mf2 etc. https://indieweb.org/code , https://indieweb.org/issue , https://indieweb.org/edit , https://indieweb.org/review
#
vika_nezrimaya
that's great :3
[jgmac1106] joined the channel
#
vika_nezrimaya
I wrote my post being inspired by GitHub and didn't think someone couldn't have thought of this before
#
[jgmac1106]
!tell aaronpk if you ever get home can you look at my Aperture account (59) i think it reverted back to jgregorymcverry.com and not quickthoughts.jgregorymcverry.com
#
Loqi
Ok, I'll tell them that when I see them next
#
vika_nezrimaya
[snarfed]: but the thing is: the only example of an edit post right now is lost to time and URL shifts
#
[snarfed]
yup, not a lot of examples so far. but lots of existing brainstorming and mf2 and precent! wiki search is always your best first bet 😁
#
[snarfed]
(er precedent)
#
vika_nezrimaya
I might need to hack at this one day
#
vika_nezrimaya
since I'm a big fan of self-hosted Git
#
vika_nezrimaya
always wanted it since I started using Git
#
vika_nezrimaya
and now I have it
#
vika_nezrimaya
and a beautiful interface for it at https://git.fireburn.ru :3
#
vika_nezrimaya
I hope to make it IndieWeb-capable one day
#
[schmarty]
oh dang! somebody did indieauth with netlify functions?!
#
[schmarty]
that's pretty rad!
#
@janboddez
Found a few minor errors in my Aperture—a self-hosted Microsub server—Docker setup, so I went ahead and fixed those. https://janboddez.tech/notes/2141993751
(twitter.com/_/status/1173690303720693765)
#
aaronpk
i'm launching a new feature on my site but i'm a little terrified because it only turns on when i'm on a plane so if something goes wrong I won't be able to fix it in the air
#
Loqi
aaronpk: [jgmac1106] left you a message 2 hours, 25 minutes ago: if you ever get home can you look at my Aperture account (59) i think it reverted back to jgregorymcverry.com and not quickthoughts.jgregorymcverry.com
#
GWG
Why not?
#
aaronpk
I don't always have internet on the plane, and even if I do, it's often not fast enough to deploy a quick fix
cambridgeport90 joined the channel
#
GWG
Take screenshots
#
aaronpk
it's gonna be great if it works
#
aaronpk
there are so many edge cases in this code though
[snarfed] joined the channel
#
[snarfed]
aaronpk sounds like you need a staging environment 😎
#
[snarfed]
(ie local on your laptop)
#
aaronpk
oh I do
#
aaronpk
and i've tested it there
#
[snarfed]
good. i figured, but still
#
aaronpk
the problem is there are too many edge cases once I have real world data
#
[snarfed]
fair. but still, way more confidence than just yolo idk try it in prod
#
aaronpk
because it deals with my location data, which also looks up weather info
#
[snarfed]
testinginprod--
#
Loqi
testinginprod has -1 karma over the last year
#
aaronpk
the edge cases start to creep in for things like when my phone hasn't pushed my location to the server in a few hours but I post something in the mean time, how it handles getting weather data or now my flight info
#
GWG
aaronpk, I am going to do some work on location before my flight on Friday.
#
GWG
I don't do flight maps though
#
GWG
I would like to, but complicated
#
GWG
I want to fix some location edge cases.
oodani joined the channel
#
GWG
I need to manually send some Micropub posts that look like they come from elsewhere
[chrisbergr], [fluffy] and [KevinMarks] joined the channel