#dev 2017-09-27

2017-09-27 UTC
tantek, clintpatty, eli_oat, renem_, leg, Kaja__ and kline joined the channel
#
tantek
this is kind of the opposite of a tweetstorm UI: https://twitter.com/chriscoyier/status/912426652310917122
#
tantek
tweetstorm << 2017-09-25 [https://twitter.com/chriscoyier/status/912426652310917122 Are typeset blog posts too hard for you to read? Here's a script to turn them into a tweetstorm] - https://codepen.io/chriscoyier/pen/RZEVVm/ (js;dr link)
#
Loqi
ok, I added "2017-09-25 [https://twitter.com/chriscoyier/status/912426652310917122 Are typeset blog posts too hard for you to read? Here's a script to turn them into a tweetstorm] - https://codepen.io/chriscoyier/pen/RZEVVm/ (js;dr link)" to the "See Also" section of /tweetstorm
#
loqi.me
edited /tweetstorm (+227) "tantek added "2017-09-25 [https://twitter.com/chriscoyier/status/912426652310917122 Are typeset blog posts too hard for you to read? Here's a script to turn them into a tweetstorm] - https://codepen.io/chriscoyier/pen/RZEVVm/ (js;dr link)" to "See Al"
(view diff)
barpthewire and cweiske joined the channel
[kevinmarks] joined the channel
#
[kevinmarks]
I wonder if that works in the api too
eli_oat and singpolyma joined the channel
#
@etportis
@davatron5000 Dave I just need to refactor this CSS a bit and implement webmentions and THEN I can REALLY WRITE
(twitter.com/_/status/913042701938974720)
[xavierroy], John__, kpraslowicz and [keithjgrant] joined the channel
tantek, [grantcodes] and [miklb] joined the channel
#
[miklb]
I’m confused by this. Is he reinventing the wheel because he can? https://paul.kinlan.me/the-web-is-my-api/
#
tantek
braces himself to get upset
#
aaronpk
I thought that headline sounded familiar https://aaronparecki.com/2015/04/26/22/html-is-my-api
#
Loqi
[Aaron Parecki] HTML is my API
#
aaronpk
Whoa another .rocks domain? https://webpush.rocks
#
[miklb]
yeah, that caught my eye as well.
#
tantek
[miklb]: hey at least he links to that good mahemoff article http://softwareas.com/cors-scraping-and-microformats/
#
tantek
in general that blog post seems more "too abstract without specific use-cases" rather than reinventing the wheel
#
tantek
i.e. I can't tell for what use-case he's "reinventing the wheel"
#
tantek
but maybe I'm being dim
snarfed joined the channel
#
tantek
kpraslowicz: is your CMS open source? and what's your personal site running it?
#
kpraslowicz
Currently I have it in private repos.
#
kpraslowicz
www.kpraslowicz.com & www.six-something.org are the only two sites running on it.
#
tantek
cool - multiple sites!
#
tantek
oops.
#
tantek
that's always a good test of a CMS. the second deploy can be particularly illuminating
#
kpraslowicz
It took so much reengineering to handle multiple sites. :D
#
kpraslowicz
First version was very much written with the expecation of only ever powering just one of my sites.
#
aaronpk
I know that feeling haha
#
Loqi
ahahahaha
#
kpraslowicz
Each site is a seperate install now. The thoguht of coding again to be actual multi-tenant scares me.
#
tantek
yeah that's much harder
#
aaronpk
oh yeah that's a different problem :)
#
kpraslowicz
For my small ecosystem, multiple install is fine
#
kpraslowicz
Only take down one site at a time when I push a new bug.
#
tantek
makes sense
#
tantek
kpraslowicz: have you tried out indiewebify.me?
#
kpraslowicz
Not yet. Just discovered this last weekend, haven't had any time yet to do any coding
#
kpraslowicz
I got a big pile of technical debt I'm cleaning up first, but the goal is to get the CMS publishing to Twitter for me
#
tantek
Since you've already got your personal site setup (very nice photos btw), indiewebify will help with step by step adding more indieweb features / functionality
#
kpraslowicz
For sure
#
tantek
+1 to getting your CMS to publish to Twitter for you
#
tantek
that was one of the first things I added also after just getting basic posts showing up on my site
#
skippy
How do folks handle @-mentions to you on Twitter that AREN'T replies to POSSE content you created? Do you capture and display those on your own sites? Or do you only capture and post replies to things you've POSSEd?
#
tantek
oh boy
#
tantek
skippy, do you mean @-mentions unrelated to a particular tweet? or do you mean tweets for which you have no original post on your site?
#
skippy
both?
#
tantek
for the latter, don't :) or rather, /ownyourdata and always post to your site and syndicate to Twitter :)
#
tantek
(including your own @-replies to others tweets)
#
aaronpk
what is a home page webmention?
#
Loqi
person mention is a homepage webmention sent to a person's homepage https://indieweb.org/home_page_webmention
#
tantek
and that's the former ^^^
[grantcodes] joined the channel
#
aaronpk
if someone @-mentions me on twitter without replying to a tweet, it gets turned into a home page mention by bridgy
#
aaronpk
i see those, but I don't display them back on my site
#
skippy
thanks!
#
tantek
others get notifications from such homepage mentions, but also don't display them
#
tantek
I think there are a few that do display, perhaps kevinmarks
#
tantek
and GWG's homepage mentions get displayed on his /about page!
#
tantek.com
edited /Twitter (-49) "been consistently 23 chars for a while now"
(view diff)
#
GWG
I want to do something about that, like a link
#
tantek
kpraslowicz: re: getting your "CMS publishing to Twitter" - I took *a lot* of notes while buliding that myself, captured here: https://indieweb.org/Twitter#POSSE_to_Twitter (perhaps more detail than you need initially, but I figured I might as well document all the challenges I encountered and approaches/solutions I ended up with)
#
tantek
what is CMS publishing to Twitter
#
Loqi
It looks like we don't have a page for "CMS publishing to Twitter" yet. Would you like to create it?
#
tantek
CMS publishing to Twitter is /Twitter#POSSE_to_Twitter
#
loqi.me
created /CMS_publishing_to_Twitter (+37) "prompted by tantek and dfn added by tantek"
(view diff)
#
snarfed
kpraslowicz: re publishing to twitter, feel free to try https://brid.gy/about#publishing . lets you avoid writing twitter API code, truncating logic, etc
#
singpolyma
I actually had my own Twitter API code and switched to brid.gy publish because it's a bit cleaner and I don't have to keep it up to date as Twitter invents new things :)
#
singpolyma
Highly recommended
#
aaronpk
speaking of which, 280 chars anyone?
#
tantek
snarfed - Bridgy publish is one of the three options at the very top of that section I cited
#
tantek
though I'll update the link to be more specific
#
singpolyma
aaronpk: Yeah... that's just weird :P After all this time... and 280 is a weird number
#
tantek
it's a nice freeway
#
tantek.com
edited /Twitter (+52) "/* POSSE to Twitter */ specific link for Bridgy publish option"
(view diff)
[miklb] joined the channel
#
[miklb]
I questioned expansion of characters until I saw argument for other languages. Seems would be easier to do for everyone than try to sniff which language and support >
#
[miklb]
other languages than English
#
aaronpk
i mean 140 is a pretty weird number too, and has no real significance anymore
KartikPrabhu joined the channel
#
tantek
at least 140 was dictated by SMS protocol limits.
#
aaronpk
yeah just doesn't really have any reason to still be that anymore
#
aaronpk
it made sense before URLs were shortened, before the new @-reply rules, before images could be attached, etc
#
tantek
right
#
singpolyma
For sure, the 140 has been a lie for awhile
#
aaronpk
but you can't really faithfully represent a tweet in 140 characters anymore
#
aaronpk
like to actually deliver via SMS
#
tantek
aaronpk, my code still does
#
aaronpk
not sure what you mean
#
tantek
because I haven't bothered to make any exceptions for all the new stuff like new @-reply rules
#
aaronpk
take an arbitrary tweet and you can't actually send it via SMS in a way that conveys the full info
#
tantek
my POSSE copies to Twitter will deliver 100% via SMS
#
tantek
that are published by Falcon
#
aaronpk
sure, you can author tweets that still fit within the 140 rule
#
tantek
I mean, predictably. and up to the limit.
#
aaronpk
that's not really my point
#
[miklb]
you count URL characters tantek?
#
tantek
no, not just author. my code will truncate precisely
#
aaronpk
again, not the point :P
#
tantek
I can author any note I want on my site, and Falcon will truncate to precisely fit it
#
tantek
aaronpk, not sure what your point is then
#
tantek
I'm saying your statement "you can't actually send it via SMS in a way that conveys the full info" is false by example of my code still doing it
#
aaronpk
most tweets on twitter aren't deliverable via SMS in a way that actually makes sense anymore
#
aaronpk
of course you can still write tweets that do
#
tantek
no, I'm not talking about "writing"
#
tantek
no matter what I "write", my code will deliver it in a way that 100% of it will make it to / through classic SMS
#
aaronpk
s/write/create
#
aaronpk
right, and that SMS version is different from what you authored on your site
#
aaronpk
you're a super edge case here
#
tantek
and I'm fine with that because I'm fine with Twitter only getting summaries or truncations, since it's a silo
snarfed joined the channel
#
tantek
dons his super edge case cape :)
#
aaronpk
that would be a fun cape to wear at the next IWC
#
snarfed
hey aaronpk how's OYG's instagram scraping these days? rate limited much?
#
snarfed
bridgy is, badly, so i'm curious
#
aaronpk
oh interesting, not sure i've noticed
#
aaronpk
i don't think i'm logging the response code from instagram
#
aaronpk
I should probably start doing that
#
snarfed
they don't say it explicitly, but i interpret their 503s as rate limiting
#
aaronpk
seems likely
#
aaronpk
i think i'm hitting it far less than you are tho
#
snarfed
very rough order of magnitude estimate, i send maybe .5qps
#
aaronpk
i'm not even sure what mine is, heh
#
aaronpk
time to set up some graphing i guess
#
snarfed
monitoring++
#
Loqi
monitoring has 1 karma
John__ and tantek joined the channel
#
kpraslowicz
Thanks for the resources snarfed & tantek
#
tantek
no problem
#
tantek
kpraslowicz: I will note one large exception - I have done nothing with the 280 thing
#
tantek
though I have found a few examples that may help illuminate what to do with 280 chars in tweets
#
tantek
since it's a quiet morning, I will share them, for the record
#
@kennethn
Super excited about the move to 280 characters! ---- CONFIDENTIALITY. This tweet is intended only for the use of the recipient(s). If you are not the intended recipient any dissemination of this tweet is prohibited. If you received this in error notify the sender immediately.
(twitter.com/_/status/913053785517260801)
#
@codepo8
Finally 280! ----------------------------------------------------------------- Please consider the environment before printing this tweet
(twitter.com/_/status/913060263368232960)
#
kpraslowicz
Hahhaha
#
Loqi
awesome
#
kpraslowicz
Finally tweet signatures
#
@DanMentos
┳┻| ┻┳| ┳┻| ┻┳| ┳┻| ┻┳| ┳┻| ┻┳| ┳┻| ┻┳| ┳┻| ┻┳| ┳┻| ┻┳| ┳┻| ┻┳| ┳┻| ┻┳| ┳┻| ┻┳| ┳┻| ┻┳| ┳┻| ┻┳| ┳┻| ┻┳| ┳┻| ┻┳| ┳┻| ┻┳| ┳┻| ┻┳| ┳┻| _ ┻┳| •.•) this seems excessive ┳┻|⊂ノ ┻┳|
(twitter.com/_/status/912884851665117184)
#
tantek
(see the original on twitter for full vertical effect)
#
kpraslowicz
I am also curious to see what happens to my organic traffic once I dump eight years of tweets onto my domain all at once.
#
tantek
do you support sending webmentions to things you link to?
#
kpraslowicz
Not yet
#
tantek
I'd suggest at least 1) markup your posts with h-entry (verify with indiewebify.me), and 2) make sure your post publish/update code/flow sends webmentions for all links in your posts
#
tantek
before importing eight years of tweets
#
kpraslowicz
Aye
#
tantek
and make sure the import is set to do that, THEN you'll see some interesting organic traffic :)
#
kpraslowicz
Nice. Looks easy enough to implement
snarfed joined the channel
#
skippy
anyone here using Hugo?
snarfed and tantek joined the channel
#
loqi.me
edited /IoT (+43) "tantek added "https://www.facebook.com/internetofshit/" to "See Also""
(view diff)
#
loqi.me
edited /IoT (+37) "tantek added "https://twitter.com/internetofshit" to "See Also""
(view diff)
#
loqi.me
edited /open_collective (+111) "/* See Also */ new section"
(view diff)
tbbrown and [keithjgrant] joined the channel
#
[keithjgrant]
@skippy: I use Hugo for keithjgrant.com
[kevinmarks] and j12t joined the channel
#
[kevinmarks]
I borrowed your shindig theme for a presentation today, Keith.
#
[kevinmarks]
Though I made a white background variant
#
skippy
[keithjgrant]: curious how you handle incoming webmentions? or pulling Twiiter comments / likes? are you using brid.gy ?
#
tantek.com
edited /SMS (+532) "Twitter, and move criticism citation to the top since it is so critical"
(view diff)
#
skippy
[keithjgrant]: also curious how you set up notes and posts in Hugo. I only have "posts" and haven't fully wrapped my brain around content types with Hugo yet.
#
tantek.com
edited /SMS (+246) "/* Twitter */ Possible way to correct prompt text"
(view diff)
#
[keithjgrant]
For MicroPub, I use voxpelli’s micropub-to-github, hosted in a heroku instance
#
Loqi
[voxpelli] webpage-micropub-to-github: Self-hosteable Micropub endpoint that publishes to Jekyll by committing to GitHub
#
[keithjgrant]
I use bridgy for tweet integration (and my Omnibear extension)
#
tantek
hey silo-SMS apologists: screenshot for you: https://indieweb.org/SMS#Twitter
#
tantek.com
edited /SMS (-3) "/* Twitter */"
(view diff)
#
[keithjgrant]
For posts/notes/likes/replies, I did something with the post categories, I think, but I'd have to dig into the code to recall exactly how I set that up
#
aaronpk
SMS 2fa ? ... SMS account recovery ?
#
tantek.com
edited /SMS (+0) "move tweet about 1-factor SMS compromise happening to criticism"
(view diff)
#
skippy
thanks [keithjgrant]
#
tantek
aaronpk: prompting user to sign-up for SMS 2fa AND SMS account recovery ?
#
tantek
see I was not making this up
#
tantek
Am I the only around here that cares about silos defaulting to enabling SMS password reset when users add their phone number?
[grantcodes] joined the channel
#
[grantcodes]
Hey keithjgrant I see you're working on omnibear, do you still need to fix that generated `eval` issue? I have an updated webpack setup I can send a pull request for but I don't know if it actually fixes the issue
#
tantek
Loqi what no "Am I the only one" meme?
#
[keithjgrant]
grantcodes yeah, if you've got a PR for that, that would be great
#
[grantcodes]
ok will send in a minute
#
skippy
tantek: i certainly care. SMS 2FA is weak. I'd rather have OTP.
#
[keithjgrant]
Oh, @skippy there's one more piece to my Hugo setup. micropub-to-github commits the source file for the new post, but the site still needs to be rebuilt...
#
skippy
i havent given Twitter my phone number. I don't plan to do so.
#
[keithjgrant]
I use forestry.io to do that, but it's slow. Like 60 seconds. I want to take a look at using netlify instead
#
skippy
[keithjgrant]: yeah, a build pipeline seemed obvious from the github usage. I dont use GitHub to store my posts, but have a (similar) rebuild process for https://skippy.is/
#
Loqi
[skippy] skippy is an ally Do you know what I want for my kids? Happiness.
#
tantek
skippy++
#
Loqi
skippy has 1 karma in this channel (3 overall)
#
skippy
i'm thinking about playing with AWS Lambda for some of the future wiring; but that's a differnet kind of silo, with a whole new set of lock-in...
#
skippy
thanks tantek !
KartikPrabhu and snarfed joined the channel
#
tantek
!tell [chrisaldrich] this point of stress is a good reason to *not* try to make your blog look "perfect", but rather, be ok with "pretty good" and iterate. https://twitter.com/ChrisAldrich/status/913150710241480705 if you ever make it look "too good" that's a barrier to incremental change/shift over time also
#
Loqi
Ok, I'll tell them that when I see them next
#
@ChrisAldrich
Or improve it incrementally... #indieweb QT [@davatron5000] My platform supports 28,000+ characters. It’s called blogs. And it fills you with shame and you want to redesign it every 6 months.?s=09
(twitter.com/_/status/913150710241480705)
#
tantek
um what's that ?s=09 ?!?
#
tantek
aaronpk ^^^ something odd from the new Twitter API? or 280 chars?
[keithjgrant] joined the channel
#
[keithjgrant]
I've seen that when sharing from the Twitter Android app
#
[keithjgrant]
(it breaks embedded tweet scripts on my site ?)
#
snarfed
looks like the regexp that matches a trailing quote tweet URL is excluding query params, but should include them
#
aaronpk
whoa new twitter api docs
#
aaronpk
ugh they got rid of their API console
#
Loqi
[snarfed] nice, old https://dev.twitter.com/ redirects to new https://developer.twitter.com/ , but breaks old links to API docs
#
aaronpk
oh dear all the API doc links are broken too?
#
snarfed
old ones yes
#
aaronpk
srsly people
#
aaronpk
it's not that hard
#
Loqi
aww, cheer up
#
aaronpk
especially when your old site is on a different subdomain!
#
tantek
indeed
#
aaronpk
so what does the ?s=09 on the tweet permalink mean?
#
[keithjgrant]
Sharing from the Twitter app adds that. Probably for metrics
#
tantek
well that's annoying
#
tantek
hey aaronpk, dev.twtr.io ? :D
#
tantek
if I'm going to fix my links (now broken) to dev.twitter.com, I'd rather direct them to a domain that I trust to not break
#
tantek
(again)
[cleverdevil] joined the channel
#
[cleverdevil]
To be fair, they have all of those extra characters for the URLs now!
#
tantek
might need just a static JSON table in github with oldpath -> newpath
#
aaronpk
that'd be doable
#
tantek
and we can add to it collectively as we fix it
#
aaronpk
i actually prefer just oldurl<tab>newurl
#
tantek
up to you, you'd be writing the consuming / searching code
#
aaronpk
i have a file like that for my website already
#
aaronpk
cause i've had to keep track of URLs of 4 past site iterations :)
#
tantek
and then once we've gotten all the urls we know of, we can hand it to Twitter as a gift
#
aaronpk
oh hey it's already on github too https://github.com/aaronpk/twtr.io
#
Loqi
[aaronpk] twtr.io: Algorithmic Twitter URL shortener
KartikPrabhu joined the channel
#
loqi.me
edited /YouTube (+137) "tantek added "Criticism: YouTube blocks Amazon Echo from playing videos: https://www.theverge.com/2017/9/26/16371292/google-youtube-amazon-echo-show" to "See Also""
(view diff)
#
loqi.me
created /silos_gonna_silo (+34) "prompted by tantek and dfn added by tantek"
(view diff)
#
GWG
Evening
eli_oat joined the channel
#
tantek
hey folks if you're in the bay area or might be the week of 11/6-10, check out the W3C Developer Meetup https://www.eventbrite.com/e/w3c-developer-meetup-in-san-francisco-tickets-37268895269
#
GWG
I still would like an excuse to return to the Bay Area
#
tantek.com
edited /Planning (+356) "W3C Developer Meetup in San Francisco"
(view diff)
#
tantek
GWG, I added the info to the /Planning page for SF in case that makes a difference
#
GWG
I need to say how many more days I need to burn in 2017