#dev 2020-03-05

2020-03-05 UTC
#
jacky
oh regarding tailwind, all of that is done using HTML + CSS; no JS!
#
jacky
(or little if needed)
[tantek] joined the channel
#
[tantek]
re: OAuth2 spec, yeah there's definitely some sort of antipattern there where the spec was/is deliberately ambiguous enough to either cause or encourage divergent implementations where a server A may interop with clients J,K, but J,K do not interop with server B which OTOH interops with clients L,M which also do not interop with server A
#
[tantek]
imagine if HTTP worked like that
#
[tantek]
and you had to use browser A or B to browse Apache sites, and browser C or D to browse Nginx sites
katherine1 and gRegorLove joined the channel
#
aaronpk
so, counterargument for a sec... if OAuth 2.0 weren't so flexible/extensible, it wouldn't have been possible to create IndieAuth as an extension, and instead we would have been left to define something entirely new, with who knows how many new problems that would have been introduced by not building on top of it
#
aaronpk
so yes it's bad that it's not completely interoperable, but it's good in that it gives a wide range of very different communities a shared understanding of the security concepts underlying the whole space
nickodd joined the channel
#
@JackWellborn
Posting to Twitter from my WordPress blog using a Webmention and Bridgy. That’s cool.
(twitter.com/_/status/1235402837745532929)
KartikPrabhu, leg, cweiske, [yo], [fluffy], plut4rch and jenelizabeth joined the channel
#
jamietanna[m]
!tell snarfed I've added it to my todo list - but may not be in the next couple of weeks as things are super busy. I'll see how I get on though - but may be able to do it at IWC London!
#
Loqi
Ok, I'll tell them that when I see them next
plut4rch, IWSlackGateway, geoffo, lauren|Microspon, vasa[m], jenelizabeth, HeysteinDiscord[, OxyDiscord[m], dunks411Discord[, ttocslliwDiscord, sachaDiscord[m], wngrDiscord[m], HaybalesDiscord[, borismusDiscord[, WidgetBotiocli1[, sekiDiscord[m], FrenchBackBoneDi, M9uapawDiscord[m, zoink92Discord[m, sander[m], celsoDiscord[m], KinnardDiscord[4, lyonDiscord[m], celso[m]1, jenncloud[m], msena3[m], mZDiscord[m], braditzDiscord[4, tangoDiscord[m], andrewxhillDisco, daveatQCDiscord[, HuurooDiscord[m], carstenmunkDisco, Rick[m], flower88Discord[, jessicaschilling, Discord[m]1, simibacDiscord[m, SomeguyDiscord[m, snoopdoggydogDis, balupton[m], eddocsillDiscord, manfred[m], katakotoDiscord[, FusonDiscord[m], doodlemaniaDisco, godparticleDisco, sbpDiscord[m], Nebulous[m], SteffDiscord[m], AuHau[m], ianfixesDiscord[, buztedDiscord[m], gozala[m], AXEL-Brian[m], babaitDiscord[m], yabirgbDiscord[m and [KevinMarks] joined the channel
#
@cperciva
If I'm reading this right, Amazon Route 53 supports up to 5 API requests per second writing up to 10^3 records per request. Also, writes are free, while reads cost as little as $0.20 / 10^6 -- cheaper than DynamoDB! I'm... seriously considering using Route 53 as a database.
(twitter.com/_/status/1235369584674258944)
[LewisCowles] joined the channel
#
[LewisCowles]
All your stuff would be in the open using Route53 as a data-store, and there are weird rules about TXT records needing to have artificial record breaks at N characters, which makes handling odd. It affected some Google email field recently and I was not happy
[ColinMorris] joined the channel
#
[KevinMarks]
DNS-SD is a formal way of doing that kind of thing
cweiske, [jgmac1106], plut4rch, [Sadik_Shahadu] and [jeremycherfas] joined the channel; nickodd left the channel
#
dmcweeney
Does anyone know reclaim hosting by chance?
dmcweeney joined the channel
#
[jgmac1106]
drew sorry I got tied up last night
#
[jgmac1106]
yes you can se the gaia theme and upload to reclaim hosting
#
[jgmac1106]
however doing that much editing in the cPanel editor is not advised it will fail.
#
[jgmac1106]
Your better bet is to learn how to FTP files or use the built in Terminal
#
[jgmac1106]
Or you do all your editing not inside cPanel and then just file upload the pages
#
[jgmac1106]
You can probably throw your entire site on Glitch once you have the Gaia Theme installed
#
[jgmac1106]
then you will be able to see your edits and then download the site
#
dmcweeney
How do I get Gala theme in reclaim hosting file manager?
#
[jgmac1106]
you read what I just wrote
#
dmcweeney
Or am I able to transfer it to Glitch after it is uploaded in reclaim hosting? Or do I have to go right to Glitch first?
#
[jgmac1106]
you either open the file manager in Cpanel, and upload or you FTP.
#
[jgmac1106]
In Glitch you can either download a zip of a project or send it to GitHub and download that
#
[jgmac1106]
the downloading of zip is easy
#
[jgmac1106]
Then you can upload it to whatever directory you want in File manager....However I would recommend learning how to use the Terminal in cPanel to upload or an FTP client
[LewisCowles] joined the channel
#
[jgmac1106]
they have decent forums, make sure you search those
KartikPrabhu joined the channel
#
[jgmac1106]
I know you know bootstrap now, but like I said I would consider a CSS Grid site over Bootstrap: https://colorlib.com/wp/grid-website-templates/ just google CSS Grid Templates, do recommend paying for one that comes with support, that is one benefit of the Gaia theme
#
[jgmac1106]
Check to see if CreativeTim sells any CSS Grid themes
#
[jgmac1106]
but you can just open the zip of the theme you buy, throw it into Glitch, make your edits, download, and upload to Reclaim
#
[jgmac1106]
then come back here when you need someone to check the metadata and help connect the Indieweb building blocks
hs0ucy joined the channel
#
dmcweeney
I need to make a new domain though, right?
#
dmcweeney
If I am uploading it to file manager?
plut4rch joined the channel
#
dmcweeney
I think what is confusing me, unless I am not reading it right, is that I downloaded the gaia theme from creative tim, and it is currently on my desktop. Do I create a new domain and then upload the zip file to file manager?
#
dmcweeney
Can I just upload the ZIP file to Glitch? I'm so confused. The community support forum isn't helping.
#
[jgmac1106]
you can only upload to Glitch from gitHub
#
[jgmac1106]
that has nothing to do with Reclaim. i just think you wilneed a live visual editor
#
[jgmac1106]
once you unzip the files you can add them to a Glitch project
#
dmcweeney
I unzipped the entire folder
#
dmcweeney
And now I am adding each item in Glitch
#
[jgmac1106]
perfect, all you need to do,
#
dmcweeney
Is this right? I'm just trying to remember what I did when I took the bootstrap theme and uploaded it to file manager with the subdomain consulting.drewmcweeney.com
#
[jgmac1106]
be careful of the folder structure and links, you can make folders in Glitch by "folder/file.html"
#
[jgmac1106]
yes, and you can do the same thing again if you wanted
#
[jgmac1106]
you can upload the entire zip in filemanager to the correct directory and then elect decompress and you are also done
#
dmcweeney
But how do I do that? That is where I am drawing a blank. Do I first create a domain: mcweeneyaquaticconsulting.com
#
[jgmac1106]
you file a trouble ticket with reclaim and get customer support from the people you pay
#
[jgmac1106]
that is a new domain you would have to buy it
#
[jgmac1106]
you can do a subdomain for free
#
dmcweeney
Okay. Do I click the box that says "share document root?"
#
[jgmac1106]
go to chat this isn't indieweb dev related
#
dmcweeney
I typed in chat.indieweb.org and it took me to here
#
[jgmac1106]
yes but there are other channels, look in the left sidebar
#
aaronpk
the #indieweb-chat channel isn’t on the web
#
aaronpk
just IRC and slack
#
dmcweeney
So where do I go?
#
[jgmac1106]
dmcweeney you should file a trouble ticket with reclaim and say I want to buy a new domain and put this site up
#
[jgmac1106]
attach the zip, they will take care of it, that is what paying for things gets you
#
dmcweeney
Okay-What should I put in the ticket in the subject line?
#
[jgmac1106]
I will leave that up to you.
#
[jgmac1106]
if you want to use a subdomain go to cpanel, add subdomain, make a new directory not the root. Go back to cPanel, add let's encrypt cert, go to file manager, find new directory, upload zip, then select decompress, select all files, select move, go up one directory
#
[jgmac1106]
I have to get back to work, good luck.
#
dmcweeney
Thanks-I'll let you know what happens
jolvera_, cweiske, geoffo and loicm joined the channel
#
GWG
IndieAuth.com got rid of TOTP ages ago, right?
KartikPrabhu joined the channel
#
aaronpk
yes, since it doesn’t make a great single-factor
#
aaronpk
also I didn’t like that it meant you were essentially signing up for an account on indieauth.com since it needs to store the secret itself, whereas the other methods work by having you publish stuff on your website
#
GWG
I am just cleaning my authenticator app
#
cweiske
aaronpk, I tried to replicate https://github.com/aaronpk/websub.rocks/issues/19 on my own machine and failed. I get an "ok" here.
#
Loqi
[cweiske] #19 Hub test 100: The notification is missing the HTTP Link header with rel=self indicating the topic URL of this notification.
#
cweiske
the only thing i can imagine that your dependencies are older
#
cweiske
but that shouldn't be since I used composer.lock
#
cweiske
i'm using php 7.3.12-1 locally
cweiske_ and loicm joined the channel
#
aaronpk
that’s odd. I think i’m using PHP 7.2 for that tho, but that shouldn’t matter either
leg, [LewisCowles], SpencerDub, chrisaldrich, Ramzy, gRegorLove, cweiske_, [schmarty], [tantek] and jjuran_ joined the channel
#
jacky
reworking lwa to work with php - this should be fun
#
jacky
what is php
#
Loqi
PHP is a programming language and web server runtime environment used for many IndieWeb projects https://indieweb.org/PHP
#
jacky
I keep attempting this (I have it on a separate branch to tinker)
#
jacky
and then I think to myself "I know how I can do this in Elixir!"
#
Zegnat
Why must you PHP it then, jacky?
jjuran and geoffo joined the channel
#
jacky
I don't think I _have_ to but I do want to try things in it again
#
jacky
I'm using it for a client project
#
jacky
and Laravel feels nice to use
#
Zegnat
I really like PHP for just experimenting with stuff :)
KartikPrabhu and geoffo joined the channel
#
@lucas_gonze
If you have a blog, how do you track reply posts on other blogs? Do you use refback, linkback, trackback, or webmention? Do you get enough reply posts to make the setup worthwhile?
(twitter.com/_/status/1235669878008246273)
[schmarty] joined the channel
#
GWG
I need to rethink refbacks
loicm and [chrisaldrich] joined the channel
#
Zegnat
Forgot how much fun it is to play with CSS on a minimal set of HTML elements! <3 https://vanderven.se/martijn/random/myersbriggs.html
#
Loqi
[Martijn van der Ven] Martijn’s Big Five personality traits
#
Zegnat
Hmm, that title is wrong
#
Loqi
[Martijn van der Ven] Martijn’s Myers–Briggs Type Indicator: INTJ-A
#
Zegnat
gives Loqi a cookie for helping
#
Loqi
laughs at the cookie for helping
#
jacky
ah I've wanted to put that on my site :)
#
Loqi
[Martijn van der Ven] Martijn’s Big Five personality traits
Guest96452 joined the channel
#
Zegnat
But M–B seems to be more widely understood, so may actually be worth slotting in
#
superkuh
First time I've seen the <dl><dt> etc tags.
#
superkuh
Is this just renamed unordered list?
#
Zegnat
Definition lists, pretty versatile. The DTs and definition titles. They could have multiple DDs per DT.
#
Zegnat
Think glossary.
#
superkuh
Huh. Neat.
#
Zegnat
I feel like I may be slightly misusing them here, and I am wondering if I can somehow hammer a table to have this same styling. But for now I am happy
#
superkuh
CSS fails in older browsers on that page and the scores are on top of each other. But disabling CSS returns a usable view.
#
Zegnat
The page is not even publicly linked to at this point, so I am not too worried about that
#
Zegnat
Odd that the scores would end up on top of eachother though. I would expect that either flexbox works and you get the correct display, or flexbox fails and it all turns into a list :/
[KevinMarks] joined the channel
#
[KevinMarks]
@superkuh in json terms ol is [] dl is {}
#
Zegnat
does not often use flexbox so milage may vary /shrug/
#
Zegnat
[KevinMarks]: are definition list treated as unordered, like JSON’s {} ?
#
[KevinMarks]
That's language dependent
#
[KevinMarks]
Javascript and php preserve order, python sorts by hash of the key, go randomizes
#
Zegnat
Maybe some languages chose to parse {} into an ordered collection, but according to JSON specification on json.org, in JSON they are supposed to be treated as unordered.
#
[KevinMarks]
Html does have an order, so dl is ordered
#
Zegnat
So HTML <dl> is not equal to JSON {} then ;) Just similar.
#
Zegnat
Sorry, just being pedantic, been reading too many JSON specs
#
[KevinMarks]
So with xoxo, the order is preserved in a round trip with some languages.
#
[KevinMarks]
Also, some json libraries have options for sorting the keys (so you get a consistent version for hashing)
#
Zegnat
Yep, that is one of the things I have been reading up on.
#
Zegnat
See last two points that I added here: https://indieweb.org/JSON#See_Also ; I have been reading up on both JSON serialisation (has RFC draft, and many other specs) as well as JSON concatenation (RFC 7464, and many others)
#
Zegnat
I might get to a point where I will turn all that reading into a short summary to put in /JSON#Specs
#
Zegnat
There is just no end to it :/
[Joe_Crawford] and [Michael_Beckwit joined the channel
#
Zegnat
JSON << JavaScript’s (and thus node’s) JSON parser has enabled Prototype Poisoning (https://medium.com/intrinsic/javascript-prototype-poisoning-vulnerabilities-in-the-wild-7bc15347c96) in multiple tools, see https://hueniverse.com/a-tale-of-prototype-poisoning-2610fa170061?gi=5984ffcbc7a9 for one such story and open-source solution
#
Loqi
ok, I added "JavaScript’s (and thus node’s) JSON parser has enabled Prototype Poisoning (https://medium.com/intrinsic/javascript-prototype-poisoning-vulnerabilities-in-the-wild-7bc15347c96) in multiple tools, see https://hueniverse.com/a-tale-of-prototype-poisoning-2610fa170061?gi=5984ffcbc7a9 for one such story and open-source solution" to the "See Also" section of /JSON https://indieweb.org/wiki/index.php?diff=68859&oldid=67940
plut4rch, [tantek], jjuran, superjen96, gRegorLove and [Kevin_Faaborg] joined the channel