#dev 2019-10-06

2019-10-06 UTC
[schmarty], gRegorLove, [dougbeal], [tantek], [fluffy], [jgmac1106] and [Michael_Beckwit joined the channel
gRegorLove, IWSlackGateway1, [snarfed], krychu and [arush] joined the channel
#
sebsel
re protected/private: I was also thinking about this in the context of hosting IndieWeb stuff for other people
#
sebsel
I can’t really claim ‘private’ as being only the user and the ones in the audience/list, I see no good way to encrypt that
#
sebsel
so you have to trust the server and it’s security for it to be ‘private’
#
sebsel
‘protected’ is less of a claim in that way
#
sebsel
which also hooks into the question of a session yesterday: why publish?
#
sebsel
if it’s truely private, don’t publish it. tell someone over an encrypten channel or in person.
#
sebsel
*need to work on my English spelling
[jgmac1106] joined the channel
#
[jgmac1106]
it is fine, congrats on being poly lingual
#
[jgmac1106]
In English the -tion suffix turns verbs into nouns. So encrypt becomes encryption. I need to get better at my spelling
#
[jgmac1106]
26 letters , 44 phonemens, and over 500 spelling combinations, a language of the conquered that spread by becoming the conquerer
#
[jgmac1106]
....okay back to dev chat, I removed all my file extensions but now I cant access directories that had no file extesions like /music and /readings
#
[jgmac1106]
anyone have any idea how I can write the regex in htaccess to be able to access these
[mapkyca], gRegorLove, [schmarty] and jgmac1106[m] joined the channel
#
jgmac1106[m]
Whomever was talking about jukeboxes of anyone knows of good tutorials for building and/or using a media player on your site would love links
tsrt^, [tantek], berDiscord[m], [Rose] and [Lewis_Cowles] joined the channel
#
[Lewis_Cowles]
[jgmac1106] not exactly a jukebox, but https://github.com/Lewiscowles1986/webamp was interesting take on bringing a project from early 00's which was windows only back to life
#
[Lewis_Cowles]
the MDN docs were a godsend. Sadly I am not particularly interested in making it more robust or adding playlists etc
#
[Lewis_Cowles]
[jgmac1106] what did you do to your .htaccess?
#
[Lewis_Cowles]
it sounds like it's missing options to first defer to existing files
#
[jgmac1106]
Yeah moat of the jukebox like code starts to really dry up 2013 with rise of streaming
#
[Lewis_Cowles]
`RewriteCond %{REQUEST_FILENAME} !-f` should prevent .htaccess from overwriting files which exist `RewriteCond %{REQUEST_FILENAME} !-d` should ensure your existing directories are good
#
[Lewis_Cowles]
been a while since I poked at the bear that is apache
#
[jgmac1106]
Perfect thx, yeah Dymitri was showing some comparable hosts and ways to deploy sites using Go. May try to deploy a basic website that way today
#
[jgmac1106]
I used to be able to check https://archive.jgregorymcverry.com before a page 404d but couldn't get it all to work
#
Loqi
[Greg McVerry] a post
#
[jgmac1106]
So instead Been trying to export WP site using WP2Static but it fails every time
#
[Lewis_Cowles]
oh, there are ways, but it can get hairy depending on your setup
gorhgorh[m]2, gorhgorhDiscord[, M5310Discord[m], KevlarmonkeyDisc, balupton[m], lauren|Microspon, baluptonDiscord[, TryptophanDiscor, nijynotDiscord[m, peterkDiscord[m], LuutheCoolDiscor, braditzDiscord[m, PeevesDiscord[m], IgutinDiscord[m], FineDiscord[m], KubeDiscord[m], hazDiscord[m], AtiqDiscord[m], SuikaDiscord[m], NebulousDiscord[, OlegStotskyDisco, Nebulous[m], psyonityDiscord[, MairkurDiscord[m, RealSnazzy[m], RealSnazzyDiscor, brewskiDiscord[m, corylDiscord[m], ZedDiscord[m], william_shakesDi, Mairkur[m], doorknob88Discor, Giyomu[m], snapDiscord[m], RyonezCoruscareD, NatoBoram[m], crestDiscord[m], PhillmacDiscord[, NatoBoramDiscord, GiyomuDiscord[m], OboDiscord[m], skillman623Disco, zoink92Discord[m, ShadowLingDiscor, weedDiscord[m], ambackDiscord[m], boomshroomDiscor, ivanDiscord[m], BearCavalryDisco, hyde__Discord[m], LordFenixNCDisco, capDiscord[m], Valium[m], sethforkDiscord[, NastyEbilPiwateD, EdmundMDiscord[m, chinsuDiscord[m], chmanieDiscord[m, vexlDiscord[m], denzukoDiscord[m, DioBrandonDiscor, DaekiDiscord[m], sfromentDiscord[, DerekDiscord[m], rozgoDiscord[m], ad87657Discord[m, cikavuveDiscord[, JayWelshDiscord[, sfroment[m], M4eekDiscord[m], lamborghiniDisco, SmileRobotDiscor, James|ColonyDisc, competentcuttlef, malaclypsDiscord, MichaelTenDiscor, obernardovieiraD, TH0RynDiscord[m], ArunDiscord[m], jazzy-jeff^_^Dis, felixschlDiscor4, chrisDiscord[m], BossMANDiscord[m, JordanKrageDisco, LeFDiscord[m], betamosDiscord[m, koalalorenzoDisc, blxckghxstDiscor, gunttedDiscord[m, mZDiscord[m], chris[m]1, gregjeanmartDisc, bekoDiscord[m], RealityDiscord[m, ShmultzDiscord[m, nocentDiscord[m], TionisDiscord[m], manfred[m], manfredDiscord[m, GeorgeX2798[m], DiscordRSSDiscor, iiogamaDiscord[m, JustMaier[m], JaoheahDiscord[m, sacha[m], zazikiDiscord[m], KisulkenDiscord[, iiogama[m], gozala[m], fexra|TRTLDiscor, ExpherienceDisco, JustMaierDiscord, aaronpkDiscord[m, dhenzDiscord[m], sachaDiscord[m], itsmekntDiscord[, phynite[m], GabrielBadGriefD, planetary_devDis, aleDiscord[m], Expherience[m], aaronpk[m], godparticleDisco, AnthonyADiscord[, MisterGoreDiscor, celso[m]1, neilDiscord[m], HeysteinDiscord[, megadogberthehim, gmelodieDiscord[, celsoDiscord[m], benaszabDiscord[, Oxy[m], CrocodillianDisc, new0ne[m], XierumengDiscord, cannabysDiscord[, OxyDiscord[m], thomasDiscord[m], JerbsDiscord[m], SpaceOutlawDisco, drbhDiscord[m], sekiDiscord[m]1, drbh[m], JungleHeartDisco, SirMemesALotDisc, zegordoDiscord[m, new0neDiscord[m], ZapierDiscord[m], paulmahoneDiscor, pusherDiscord[m], dqxDiscord[m], Lilz|BetaMe[m], Dazuck-3BoxDisco, leoalvarezhDisc4, mattcDiscord[m], ritewhose[m], MikeShultzDiscor, KYZITEMELOS93Dis, thestevewayDisco, prcDiscord[m], vamsiDiscord[m], nyarlathotepDisc, the_nikinDiscord, RockSteadyTRTL75, jenncloud[m], Lilz|BetaMeDisco, RockSteadyTRTL[m, catmanDiscord[m], jenncloudDiscord, realChainDiscord, M011000100111010, ShokuninDiscord[, npfoss[m], LokeLDiscord[m], foxcoolDiscord[m, dindustriesDisco, sunk818Discord[m, freethinkingawa4, Microsoft_techni, jamiedubsDiscord, freethinkingaway, AraratDiscord[m], vasaDiscord[m], drshamoonDiscord, npfossDiscord[m], vasa[m], Ja3oodDiscord[m], cyluDiscord[m], Ja3ood[m], JohnnyMilkshakes, drshamoon[m], l^discordDiscord, GuillaumeDiscord, CantiTurtleCoin[, ptonerDiscord[m], CantiTurtleCoinD, silent_ActivistD, silent_Activist[, Tianyi[m]1, 14WAABLSM, NooooooWayyyyyDi, KinnardDiscord[m, sanderDiscord[m], TianyiDiscord[m4, Mai-HsuanKevinCh, Hsiu-PingNichola, johanherman[m]1, ithithDiscord[m], johanhermanDisc4, KinnardDiscord[7, sander[m], jimpick[m], jimpickDiscord[m, deltaDiscord[m], PhiDiscord[m], HeishDiscord[m], alphapapaactualD, allgoDiscord[m], Bads3ctor9700[m], LSJI07Discord[m], postablesDiscord, andrewxhill[m], andrewxhillDisco, Romaric[m]1, wcharginDiscord[, SteffDiscord[m], TeamIanDiscord[m, JeanDiscord[m], Clment[m], ClmentDiscord[m], Neroprojekt5071[, h2Discord[m], modigDiscord[m], mZDiscord[m]1, mZ[m], RomaricDiscord[m, boatsandhoesDisc, msena3[m], msena3Discord[m], CatManDoooDiscor, neohexDiscord[m], snoopdoggydogDis, bitspillDiscord[, abhi_Discord[m], plexusDiscord[m], CocoonCrashDisco, mikealDiscord[m], bushido711Discor, WidgetBotiocli1[, pps96Discord[m], mikeal[m], aeddi[m], chmanieDiscord[4, aeddiDiscord[m], rittmeDiscord[m], rittme[m], AuHau[m], Sm03leBr00tDisco, AuHauDiscord[m], zcopleyDiscord[m, aswiththewildDis, Kenzo3Discord[m], kanej[m], jklepatchDiscord, sukarDiscord[m], TristanDiscord[m, kanejDiscord[m], dignifiedquireDi, cristobalDiscor4, RichardLittDisco, oed3Discord[m], katakotoDiscord[, amatuniDiscord[m, jgmac1106Discord, r5723013Discord[, AlekseyDiscord[m, oed3[m], RickDiscord[m], thomasbDiscord[m, Rick[m], tom85Discord[m], felixschlDiscord, carsonfarmer[m], carsonfarmerDisc, cwchristerwDisco, gnunicornDiscord, gnunicorn[m], tom85[m], jmank88Discord[m, dy5es41Discord[m, UsDiscord[m], grvhiDiscord[m], UserDiscord[m], placer14Discord[, pbvieDiscord[m], foxcoolDiscord[4, placer14[m], Senshi[m], EugeneDiscord[m], JonwelDiscord[m], aphelionzDiscord, SenshiDiscord[m], gtsDiscord[m], MatthDiscord[m], cwDiscord[m], dafflDiscord[m], braditzDiscord[4, te0dDiscord[m], leoalvarezhDisco, marcocastignoliD, fozzie[m], nofwayyDiscord[m, fozzieDiscord[m], anthony-albertor, RodolfoEDiscord[, AblibuDiscord[m], AXEL-Lee[m], iamswainDiscord[, rappelDiscord[m], M5511225464917[m, thatguyDiscord[m, PrabhaavDiscord[, porshDiscord[m], SweatDiscord[m], macerbiDiscord[m, xtream1101Discor, Lolicon[m], combrayDiscord[m, macerbi[m]1, ScottSmileyDisco, AXEL-BrianDiscor, CryptoEmpress[m], cristobalDiscord, AXEL-Brian[m], OrkunDiscord[m], panDiscord[m], tobowersDiscord[, CryptoEmpressDis, prtfwDiscord[m], codynhatDiscord[, JeffMaherVegas[m, flower88Discord[, prtfw[m], maparentDiscord[, Akshay[m]1, VictorGDiscord[m, maparent[m], AkshayDiscord[m], tangoDiscord[m], celsoDiscord[m]1, PamileissonDisco, pierrebocDiscord, AxieDiscord[m], celso[m], pierreboc[m], farhad312Discord, SchwartzDiscord[, RDeckardDiscord4, dpinnerDiscord[m, buztedDiscord[m], robinzzzDiscord[, CarboClanCDiscor, achingbrainDisco, eshohetDiscord[m, olizillaDiscord[, M|NecoDiscord[m], MaggieDiscord[m], RDeckardDiscord[, nebulerDiscord[m, ksDiscord[m], sbpDiscord[m], M[AXEL]DarrDisco, eddyDiscord[m], n9tDiscord[m], ddahlDiscord[m], ngamboaDiscord[m, M[AXEL]Darr[m], eddy[m], DamirDiscord[m], KinnardDiscord[4, MesaDiscord[m], test123Discord[m, zwelsternDiscord, jessicaschilling, mhzDiscord[m], funwhilelostDisc, Luna14Discord[m], hubaDiscord[m], KarlDiscord[m], Dby0Discord[m], DerrickFDiscord[, johanhermanDisco, lyonDiscord[m], gorhgorh[m]1, astraiaDiscord[m, CathyLDiscord[m], johanherman[m], lyon[m], rklaehn[m], romaricDiscord[4, RomainDiscord[m], Tianyi[m], M[AXEL]JulianDis, TianyiDiscord[m], romaric[m], rklaehnDiscord[m, Keegen[m], hvergara[m], KeegenDiscord[m], FranklinDiscord[, cesarosumDiscord, hvergaraDiscord[, cesarosum[m], enricomarinoDisc, enricomarino[m], Gorka[m], sblinnDiscord[m], nlkoDiscord[m], PermawebMatrixBr, bostaDiscord[m], sekiDiscord[m], GorkaDiscord[m], kevinbird15Disco, HarryTmeticDisco, doodlemaniaDisco, bengoDiscord[m], jwheelerDiscord[, radio_aliceDisco, ShruthiDiscord[m, nilocDiscord[m], PermawebEmbedDis, watDiscord[m], janttoDiscord[m], 32NAA6W2H, vasaDiscord[m]1, AceFaceDiscord[m, wngrDiscord[m], cardDiscord[m], sprayDiscord[m], Amgine[m], M123897974564Dis, vinDiscord[m], swedneck[GMT1]Di, astrojl_matrix, card[m], DiscordBridge[m4, grantcodes[m], catman[m], jamietanna[m], beko[m], cuibonobo, jee[m], myfreeweb1, discord[m], Swedneck_, zoglesby, malaclyps[m], swednec5, Rixon, plindner[m], alexmarcus[m], Evert[m], j4y_funabashi[m], omz13[m] and prtksxna[m] joined the channel
#
[jgmac1106]
Yeah and I find there can be Apache stuff above me at shares host that messes me up... Maybe... I dunno... Just cutting and pasting my way to glory
#
[jgmac1106]
Learning a bit of regex on the way
#
[jgmac1106]
Was able to accomplish either but not both, remove file extensions or redirect to archive. Thx dor -d tip. Really wanna download music (well ftpd it already but /readings more critical
#
[Lewis_Cowles]
I generally treat problem sites as output HTML, CSS, JS + binary assets
#
[Lewis_Cowles]
* If that won't work I proxy via PHP + CURL, so that I can use JS to AJAX read and parse the pages same-domain
#
[Lewis_Cowles]
Regex is cool, and browsers may use it under the hood, but IMO using CSS selectors allows me to leverage browser inspector tools for a faster feedback cycle.
#
[Lewis_Cowles]
* If that still won't work, browser addon to slurp things
#
[jgmac1106]
Ohh cool will try that. The plugin would havr been nice as it edits all your URIs.... Why I have an archive... Because migration is hard
#
[Lewis_Cowles]
`wget` or `scp -r` would allow you to simply move it, `sed`, might let you regex to rewrite / extract / strip things. I suppose what are your goals for the archive?
#
[Lewis_Cowles]
because uri rewrites can use `wp-cli`
[KevinMarks], [snarfed], hannessoloDiscor and [dougbeal] joined the channel
#
sknebel
[snarfed]: that page seems to have CSS rule that sets the image tags to visibility:none if no JS is detected, which is kind of odd
#
sknebel
: /* If html does not have either class, do not show lazy loaded images. */ html:not( .jetpack-lazy-images-js-enabled ):not( .js ) .jetpack-lazy-image { display: none;
#
sknebel
(but I might misunderstand what that does)
#
sknebel
(it would make sense if there was a lazy image tag and a default image tag, but there doesn't seem to be)
#
[snarfed]
sknebel: interesting, thanks! i expect that's jetpack's lazy load images feature, which i use. still don't understand why images on other pages are ok though. 🤷
#
Loqi
Lazy Images makes pages load much faster by only loading visible images, waiting to load images that are offscreen as you scroll down. In an effort to improve and optimize your site’s loading time, Lazy Images provides a significant benefit in page...
#
sknebel
I see the same on other pages
#
[tantek]
that's not lazy load, that's failzy load 😛
#
Loqi
[snarfed] #12512 Lazy loading: use new HTML `loading` attribute (eventually)
#
[snarfed]
trade you requests tantek, pls push that new attr through and i'll fix my site 😎
#
sknebel
ah, on other pages it might be the way with which ublock disables scripts
#
[tantek]
starts digging into that rabbithole
#
sknebel
there you have <noscript> tags with plain images
#
[snarfed]
oh god please no, it's IWC hack day, don't do this, work on your sites instead!!!
#
sknebel
(problem with many script blockers is that, as far as I can understand, they do not have a reliable way of making sure <noscript> tags are triggered, so your page acts more like it scripts failed to load)
#
@schnarfed
@waldojaquith @tmcw thanks for the article!...but you can definitely do lazy loading without requiring JS by just putting normal <img>s inside <noscript>. @jetpack does that, i expect other libs too. works great on eg my site https://snarfed.org/. cc @nelson
(twitter.com/_/status/1082354931607121925)
#
Zegnat
sknebel, aah, yeah, I read about <noscript> being a problem. uMatrix has some sort of “spoofing” functionality to try and reenable them. But from what I understood it was not at all straight forward to implement
#
[tantek]
snarfed, lazy loading feature details still being worked out (though actively!) https://github.com/whatwg/html/pull/3752 so it's not quite ready for implementation and therefore use
#
Loqi
[bengreenstein] #3752 Lazyload images and iframes
#
[tantek]
ugh worse it's underspecified with critical feedback in that pull request, however Chrome is "shipping" some approximate implementation (without actually defining the details as requested in #3752). Mozilla pushback on that is here: https://github.com/mozilla/standards-positions/issues/151
#
Loqi
[bzbarsky] #151 Lazy loading
#
[tantek]
[snarfed] on my part I will take up driving that side of the issue (#151) from the Mozilla perspective to try to get a properly defined spec that we and other browsers (besides Chrome) can actually implement
#
[tantek]
exiting rabbithole
#
[snarfed]
awesome, thank you [tantek]! and now please deprioritize for today at least and work on falcon 😁
[jgmac1106] and raulDiscord[m] joined the channel
#
[tantek]
thanks [snarfed] will do! did you have any particular suggestions from those lists? /Falcon#Working_On and /Falcon#Itches ?
#
[snarfed]
always responses display
#
[snarfed]
(and i know, moderation 😁)
#
[tantek]
ok will see if there is some minimally scoped way to incrementally display more responses info
#
[tantek]
appreciate your optimistic persistence [snarfed] (it's a good vote of confidence too)
#
[snarfed]
aww welcome! warm fuzzies
#
[jgmac1106]
PHP friends, found this: https://www.open-source-web.com/seo/fix-canonical-url-with-link-relcanonical-in-php/ does it look like it still works article is old, will change to https://
[tonz] joined the channel
#
[jgmac1106]
gonna try second ad see what happens
#
[tonz]
[tantek] worked on canonicals during IndieWebCamp Amsterdam
#
[jgmac1106]
yeah that's where I learned I did not have them
#
Zegnat
I do not understand the purpose of the first script
#
Zegnat
It seems to just make the canonical be whatever you put in the browser address bar. Which defeats the point, if your canonical is what is already there you do not need it.
#
Zegnat
What are you trying to accomplish, [jgmac1106]?
#
[tonz]
http https was [tantek]’s issue. Where old search results might point to the old http version, and then have canonical point to the https version. Not sure if I remember that correctly though
#
Zegnat
I think so. That and his canonical could be without the theme switcher URL query
#
sknebel
he also offers http and https in parallel
#
Zegnat
That is why I was asking what [jgmac1106] was trying to accomplish :) You really only need to define a canonical if the document is accessible on from multiple URLs and you need to tell something that they are all the same thing.
[mapkyca] joined the channel
#
[jgmac1106]
yeah people who annotate articles and I syndicate to places so rel+canonical would make sure all annotations no matter the copy
#
[jgmac1106]
end up on the original source
#
[jgmac1106]
okay will just type them by hand, easier
#
Zegnat
I don’t follow. Are you saying you would publish something on your site that is an exact copy of another site? In that case, yes, a rel-canonical pointing to the other site is nice.
#
Zegnat
If you publish your own annotations, and you want those annotations to have their own URL (the page you publish them on), then the rel-canonical should not be pointing to an external thing.
#
Zegnat
Because they are not the same content. You have transformed the content on your end.
#
[jgmac1106]
the first case, I sometimes sydicate articles to school blog, used to do medium, all I am doing is taking </head> out of head.php and putting into template, then I can just write https://jgregorymcverry.comm/* rel=canonical
#
[jgmac1106]
thought maybe I could find a way to echo https://jgregorymcverry.com/this current file
#
Zegnat
“I sometimes sydicate articles to school blog” do you control the school blog? Sounds like you would want a rel-canonical on that side pointing to your original on your site
#
Zegnat
You only ever need to use rel-canonical to point the original canonical URL for something. There is (AFAIK) no value on doing that when you are already at the original URL. (E.g. there is no value in https://jgregorymcverry.com/article having a rel-canonical pointing at https://jgregorymcverry.com/article, you are already there.)
#
[jgmac1106]
ahh okay thx, by not doing something, I have finished one more thing...
#
[jgmac1106]
still gonna finish moving </head> out of the the file in case I want to add another stylesheet
#
[jgmac1106]
zegnat++ for the teaching
#
Loqi
zegnat has 25 karma in this channel over the last year (86 in all channels)
[schmarty], yabirgbDiscord[m and krychu joined the channel
#
GWG
I'm trying to figure out how to adjust my sunrise and sunset values by estimated elevation
jfoster joined the channel
#
GWG
Definitely a bit geeky.
hannessoloDiscor left the channel
#
GWG
Let's see, radius of earth divided by radius + elevation / 1000
#
GWG
aaronpk: You around? You are a location person...did you spend much time thinking about elevation adjusted sunrise and sunset?
#
aaronpk
I'm a big fan of outsourcing that kind of thing to APIs or libraries
#
GWG
aaronpk: PHP calculates sunrise and sunset, but does not adjust for elevation
#
GWG
I think I found a function to do it though
#
aaronpk
I doubt it makes much difference
#
GWG
Because I am storing elevation
#
GWG
aaronpk: It might adjust sunrise or sunset by up to 2 minutes
#
aaronpk
Does that matter? It's not like sunrise is a specifically timed event anyway
#
GWG
aaronpk: Surprisingly, yes
#
[tantek]
it is, however does it count from when part of the sun first crests line-of-sight, or when the entire disc of the sun has crested line-of-sight?
#
[tantek]
[snarfed] sorry to say but all the even minimal showing of more responses is going to take more design and coding than I have time for on an IndieWebCamp hack day
#
[tantek]
so I'm back to going through https://indieweb.org/Falcon#Working_On to find something doable & demoable
#
[tantek]
hmm maybe I could some design work for invitations for events
#
aaronpk
I guess the question is what are you actually doing with this data?
#
aaronpk
because the only thing I've done with sunrise/sunset is turning on lights or controlling blinds and if those are a few minutes off nobody can tell because sunrise doesn't mean the sky is suddenly bright
#
GWG
aaronpk: I need to write a blog post of explanation. Specifically, it involves my site changing behavior.
[arush] and [dmitshur] joined the channel
#
[dmitshur]
Hey [aaronpk]. I'm working on IndieAuth-related things on my site. It's currently using github as the only login provider, and I want to try using indielogin.com instead as the first step to let people sign in via their websites (future work would be to implement indieauth more directly on my site, but that's more work). I heard from [schmarty] I should let you know and maybe you need to add my domain to an include-list or something, is that
#
[dmitshur]
right? Or can I just start using it?
[schmarty] joined the channel
#
[schmarty]
haha more for aaronpk: tmiller has tiaramiller.com working with rel=me auth for github (verified on indieauth.com), but indielogin.com says it can't find any way to authorize. does indielogin.com not fall back to rel=me?
#
[dmitshur]
@shmarty I don't see any rel=me entries at view-source:https://tiaramiller.com/
#
[dmitshur]
@schmarty ^
#
[schmarty]
rel="noopener me"
#
[schmarty]
indieauth.com likes them!
#
[schmarty]
i think indielogin.com has a cached version or tiaramiller.com OR maybe has stale DNS info?
#
[dmitshur]
ah okay, I see them now.
#
sknebel
I don't think it caches
#
sknebel
<insert predictable rant about that tools that do not expose debug info here>
KartikPrabhu joined the channel
[Lewis_Cowles] joined the channel
#
[Lewis_Cowles]
I have seen no caching in the code. It uses Twitter & GitHub for oauth. Perhaps because a lot of sites don't make rel="me" 😞 LinkedIn had my exact URL but using the tool from the wiki I found it, dribbble, etc don't make attempts. I am going to talk to work about rel="me" on public social links
#
[Lewis_Cowles]
we support a free-form website too
[mapkyca] joined the channel
#
[Lewis_Cowles]
PGP, IndieAuth & Email are also in providers folder so perhaps they are also all auth methods?
#
Zegnat
Hmm, from a cursory glance it should work. indielogin uses the PHP mf2 parser to get at the rel="me" values, and php.microformats.io has no problem parsing tiaramiler.com’s HTML
#
Zegnat
... given you spell her name right
#
[schmarty]
she recently changed DNS providers / info and the previous DNS servers had really high TTL.
a_dingus, [fluffy] and [aaronpk] joined the channel
#
[aaronpk]
Sounds like dns issue then? There's not much more I can make it say other than they're not found in that case.
#
[aaronpk]
I mean I guess I could make it show you the TTL of the DNS records it looked up but that seems marginally helpful at best
gRegorLove joined the channel
#
[aaronpk]
It doesn't cache, so there's no info I can make it say about caching
#
[tantek]
ok looks like I'm back on figuring out h-event markup for attendees and invitations
#
[tantek]
since I want to add that to the tweet POSSE copy of my events per https://indieweb.org/event#Tantek_POSSE_to_Twitter
#
[dmitshur]
I think I see the part where I may need to bug Aaron. It's to add a client ID value. I see other people have been doing it via github issues, should I do the same? https://github.com/aaronpk/IndieLogin.com/issues?q=client_id
#
[dmitshur]
Or is there an existing one I can use for testing purposes?
#
[aaronpk]
You need to bug me, and make a case for why you can't host a copy of it yourself ;-)
#
[aaronpk]
I'm trying to avoid making a mess of it again like I did with IndieAuth.com
#
[dmitshur]
I've just learned that from Marty today.
#
[dmitshur]
My case is simple: I just want to make progress towards implementing indie auth on my site, and doing it all at once feels like too much. I wanted to take a smaller step of re-using indielogin.com first. Once I get that working and clean up the code, I'll be closer to doing the rest to implement the /auth endpoint myself.
#
[schmarty]
dmitshur: you're specifically looking to let other people sign in to your site with their own domain, right?
#
[dmitshur]
so I only need this temporarily and/or for testing purposes. and to be able to finish this during the hack day of IndieWebCamp 2019 😄
#
[dmitshur]
[schmarty]: that is correct
#
[dmitshur]
e.g., I want you to be able to sign in to dmitri.shuralyov.com (or, dev.dmitri.shuralyov.com where I will test this out first) with your own domain, rather than forcing you to sign in via github as it currently does
#
[dmitshur]
i'll be adding a 2nd button "Sign in via IndieLogin.com" to https://dev.dmitri.shuralyov.com/login
#
aaronpk
you should make it say "sign in with your domain"
#
[dmitshur]
sounds good.
#
aaronpk
ok those two client_ids are added
#
[dmitshur]
I'm still figuring out whether the form where users enter their URL will be hosted on my site or on indielogin.com.
#
Loqi
it is probable
#
[dmitshur]
Thank you Aaron!
#
[dmitshur]
I'm still seeing "This client_id is not registered"; did you add "https://dev.dmitri.shuralyov.com/" as the client_id? is the change deployed?
#
[dmitshur]
or should there not be a trailing slash?
jfoster and krychu joined the channel
#
aaronpk
just fixed it to include the slash
#
aaronpk
shoudl be good now
[Michael_Beckwit joined the channel
#
[tantek]
anyone know if you can use a protocol-relative URL as your webmention endpoint?
#
[tantek]
e.g. <link rel="webmention" href="//webmention.io/tantek.com/webmention" />
#
[tantek]
I figure [aaronpk] knows this
#
[tantek]
maybe I'll just deploy it and see what happens
#
[dmitshur]
in what situation would you not want to use https?
#
aaronpk
[dmitshur]: i'm looking and i'm confused why this isn't working
#
[tantek]
dmitshur from your http website
#
[tantek]
I serve from both
#
[tantek]
the usual answer for when you would want to use protocol-relative URLs
dgold joined the channel; dgold left the channel
#
[fluffy]
I would expect protocol relative endpoint URIs to be valid but for most consumers to break because nobody bothers to support them right.
#
[tantek]
Then I'm happy to be a test case 😈
#
[fluffy]
Pushl supports them though :)
#
[fluffy]
Or at least it should.
#
[fluffy]
I haven’t tested it.
#
[fluffy]
I did a whole bunch of work to make sure that protocol-relative targets work, anyway, although it requires the endpoint to be savvy to them and IIRC webmention.io isn’t.
krychu joined the channel
#
aaronpk
oh right I moved this to the other server 😂
#
aaronpk
[dmitshur]: fixed :D
krychu joined the channel
#
[dmitshur]
[aaronpk]: Thank you! Confirmed working \o/
#
[Lewis_Cowles]
[dmitshur] are you going to implement any golang tools? I noticed a link "idiomatic golang on your root host
#
[dmitshur]
my site is implemented in Go (source code is at https://github.com/shurcooL/home), so when this is done I'll push the finished results there. if it makes sense, I will factor out useful general functionality into a re-usable library.
#
[dmitshur]
for now I'm just implementing everything myself because I want to understand it better
#
[Lewis_Cowles]
#
[Lewis_Cowles]
I ask because there are two languages I want to make some services in. Erlang and Golang
#
[Lewis_Cowles]
I'm more experienced with golang, but it's not one of my main drivers
#
[tantek]
[snarfed] I did add something response related - all my events now have a "Send RSVP" form automatically generated that sends a webmention 🙂
#
gRegorLove
[tantek], I sent an RSVP via your new form
#
gRegorLove
and it worked! Sweet
#
[tantek]
Thanks gRegorLove! Glad it worked! It helps folks who just want to post a static RSVP html page
KartikPrabhu joined the channel
#
[dmitshur]
woohoo, a very early version of "Sign in via your domain" is working at https://dev.dmitri.shuralyov.com/login 🎉
#
[tantek]
maybe I'll get more RSVPs now!
#
[dmitshur]
lots to do to clean it up and implement some security TODOs (like actually verifying the state, etc.) but it was very helpful to get a better understanding of indieauth. and more work to implement the /auth endpoint on my own site rather than using indielogin.com. but this is huge progress, I've wanted to do this for months
#
[dmitshur]
thanks Aaron and Marty for your help!
#
aaronpk
is starting on his own hack day project
#
[schmarty]
aaronpk++
#
Loqi
aaronpk has 46 karma in this channel over the last year (182 in all channels)
#
aaronpk
I am attempting to add an option to syndicate my posts as foursquare tips
#
GWG
Oh?
#
@jgmac1106
Trying to publish the first note from my own domain thanks to the inspiration of Nicole at IWC NYC (https://jgregorymcverry.com/notes/2019-10-06#note1)
(twitter.com/_/status/1180967025994342400)
#
[jgmac1106]
it was the ..in my php not moving up a director for header and footer,
jfoster joined the channel
#
[Lewis_Cowles]
[aaronpk] do you use Postman? https://developer.foursquare.com/docs/api/postman
#
aaronpk
the foursquare api is not the hard part here :)
#
aaronpk
i'm making it so I can syndicate either: the text of my checkin becomes a tip, the text of a reply to a foursquare venue becomes a tip, or the text of a reply to one of my checkins becomes a tip
#
GWG
I am trying to figure out how my website should change at night
#
aaronpk
what is dark mode?
#
Loqi
It looks like we don't have a page for "dark mode" yet. Would you like to create it? (Or just say "dark mode is ____", a sentence describing the term)
#
aaronpk
dark mode is a feature of websites and apps that change the color scheme to be easier to read at night or in low light settings
#
Loqi
[Jeremy Keith] Dark mode
#
Loqi
ok, I added "https://adactio.com/journal/15941" to a brand new "See Also" section of /dark_mode https://indieweb.org/wiki/index.php?diff=65314&oldid=65313
#
aaronpk
there's some reading material for you :)
#
GWG
aaronpk, not sure... I just added detection...may leave it to the theme to decide what to do with it
#
GWG
I was thinking... 4 hours till sunset and such
#
GWG
I have some other ideas related to my behavior and time of day
#
aaronpk
woohoo I think it works!
#
Loqi
yay!
KartikPrabhu joined the channel
#
GWG
aaronpk, I am running out of crazy time location and weather stuff to do
#
aaronpk
should free you up to do other things then right?
KartikPrabhu joined the channel
#
GWG
Maybe
#
GWG
I am trying not to flood pfefferle with PR requests for webmentions
#
Loqi
[Aaron Parecki] Syndicating My Tips to Foursquare
#
GWG
Maybe Micropub