#dev 2020-06-14

2020-06-14 UTC
#
jacky
lmfaoo
#
jacky
I might do this later tonight
#
aaronpk
spoiler alert: i did not finish
#
jacky
lmfaoo
Kai, geoffo, KartikPrabhu, nickodd and [LewisCowles] joined the channel
#
[LewisCowles]
I forked a script to add flavour, but GitHub not allowing deletion of `master` by default, means there is a manual action preventing the script from working as I'd like it to.
#
[LewisCowles]
If anyone is more wizz at this, please fork improve and link back. I think this is already more instructive than the original
garrettw joined the channel
#
jacky
I linked a script that made use of the GitHub API
#
jacky
I don't have it anymore tho lol
#
jacky
there it is
#
Loqi
jacky has 26 karma in this channel over the last year (95 in all channels)
#
[LewisCowles]
interestingly it looks like I only need the last curl call and some guard to check GITHUB_TOKEN is passed. So if I do that before deleting the old branch it should fix what I have and allow the git / github side of renaming. Hard part is that right now my script works for any git, not just github...
#
[LewisCowles]
😂 callbacks in bash can be a thing right?
gRegorLove and moppy joined the channel
#
jacky
lol I have no idea
#
jacky
actually perhaps lol
#
jacky
bash has a concept of maps
#
jacky
and you could use that to build up a known set of functions to call
#
[LewisCowles]
I was more thinking allowing a user to specify a script to call in-between so I get separation
#
[LewisCowles]
I think check if a positional argument is set, if it is and it is a path to a file try to `. ${file}` I wonder if that is a problem for bash... I only want the github part and it could be more about organisation than anything else
gRegorLove and garrettw joined the channel
#
[LewisCowles]
looks like that gist is now a repo, so I've sent a PR to fix one of the issues the author highlighted. Was fun spelunking github API. I've rarely used it prior, but it seems to at least fit my brain patterns
#
[LewisCowles]
is this too technical to share on indieweb channel or chat the usage. Should I blog this?
#
[LewisCowles]
I was able to use that script to change default branch on all my repo's in a fraction of the time it took to alter that script yesterday
[jgmac1106], garrettw, wombelix, KartikPrabhu, ben_thatmustbeme and gRegorLove joined the channel
[LewisCowles] and NinjaTrappeur joined the channel
#
@isellsoap
On June 12 I asked @gRegorLove a question on Twitter. Today he responded, and he did so via his blog and with the help of webmentions, which pinged Bridgy to syndicate his response to Twitter. The result on Twitter is a usual conversation. After that I… https://francescoschwarz.com/notes/2020-06-14-15-53-08/
(twitter.com/_/status/1272173021785096192)
rebelle and nickodd joined the channel
#
@u_219d
↩️ in other news, changing my twitter handle totally broke http://brid.gy
(twitter.com/_/status/1272145638352969729)
[KevinMarks] and [snarfed] joined the channel
#
Loqi
[snarfed] #766 handle when usernames change
#
aaronpk
my sunday morning activity is deleting all my facebook posts
#
[snarfed]
curious how it "broke" though. the issue is just that bridgy doesn't automatically notice and update its own account. you can still sign up with the new username manually, and it works o,, which they ^ did https://brid.gy/twitter/u_219d
#
[snarfed]
aaronpk++ ooh you're pulling the trigger on soft-silo-quit?
#
Loqi
aaronpk has 61 karma in this channel over the last year (225 in all channels)
[jeremycherfas] joined the channel
#
[jeremycherfas]
[snarfed] No trigger pulling please. It is a trigger for [tantek]. 😀
#
aaronpk
i'm also writing up some pretty detailed notes
#
[snarfed]
[jeremycherfas] good point, thanks for the nudge
#
[snarfed]
not easy to change language muscle memory
#
aaronpk
for some reason IFTTT isn't showing up in the list of connected apps on facebook :(
#
aaronpk
even though i just reconnected it too
swentel joined the channel
#
aaronpk
also interesting to see how facebook rewrites history when you're blocked by someone
#
aaronpk
things like "posted on a timeline" instead of how it normally shows the person's name
[LewisCowles] joined the channel
geoffo, KartikPrabhu, [tantek] and b3u joined the channel; nickodd and b3u left the channel
#
b3u
How would you go about getting webmentions displayed frontend?
[KevinMarks] joined the channel
#
[KevinMarks]
Depending on what you're using to receive them there are javascript snippets to insert them in your page
#
[KevinMarks]
Or you can build them in server side
#
aaronpk
facebook--
#
Loqi
facebook has -1 karma in this channel over the last year (-4 in all channels)
geoffo and binyam_in joined the channel
#
binyam_in
Has anyone managed to get webmentions working frontend?
#
binyam_in
[KevinMarks] Sorry, i was fighting with irc for the last 45 minutes
#
binyam_in
I'm using webmentions.io
#
[KevinMarks]
There's a handy script for embedding those https://github.com/PlaidWeb/webmention.js
#
Loqi
[PlaidWeb] webmention.js: Client-side library for rendering webmentions from webmention.io
[tantek] joined the channel
#
[tantek]
Loool [jeremycherfas] 😂
#
[tantek]
snarfed++ for “language muscle memory” metaphor. Noted and going to use that one
#
Loqi
snarfed has 50 karma in this channel over the last year (90 in all channels)
b3u joined the channel
#
jacky
tbh that question is making me think that I might need to homogenize the API for getting Webmentions from Lighthouse to be similar to webmention.io
#
jacky
like I don't wanna make lock-in at all
#
jacky
but I do want to provide a styling snippet (more like a Custom Element) to do this work for people
#
jacky
might just make it for webmention.io to test it out first
#
[KevinMarks]
I did that with mention.tech too. Maybe we should document it formally.
#
nekr0z
looks like webmention.io doesn't quite love unicode - still: https://webmention.io/evgenykuznetsov.org/webmention/jnPFye24QovreOF8jDM7
#
aaronpk
weird i thought i fixed that
#
aaronpk
oh it looks like there's another place i need to change it
#
nekr0z
aaronpk: it refused to accept at all, now it accepts but doesn't process, so this should be at another point, yeah