#dev 2018-01-22

2018-01-22 UTC
#
upon2020.com
edited /User:Upon2020.com (+414) "Updated some links and descriptions"
(view diff)
#
j12t
How do I get the wiki to display the little profile picture on all pages? I have it on the IRC page, but not the others.
snarfed joined the channel
#
tantek
j12t what do you mean by "on all pages"?
[kevinmarks] joined the channel
#
[kevinmarks]
I think you need a template
#
j12t
tantek: E.g. https://indieweb.org/Getting_Started, Ben and Kevin have their picture in front of their names, but Erin does not. The markup looks the same, though.
#
j12t
Ahhh! The problem turns out something entirely different: I pointed my template to the Twitter profile picture, and Firefox tracking protection does not render it.
#
j12t
I changed it to some other URL, and now it works.
#
tantek
j12t it's by personal choice, edit your /Template:j12t accordingly, and since you pointed out Ben and Kevin, check their templates for how they did it /Template:benwerd /Template:kevinmarks
#
tantek
interesting - I use my twitter profile pic too - do you not see my image next to my name on the wiki in places like https://indieweb.org/events/2018-01-24-homebrew-website-club#San_Francisco
#
j12t
Nope.
#
j12t
Just disabled Adblock Plus, but made no difference
#
KartikPrabhu
tantek: your twitter picture does not show up there. FF tracking protection bocks it
#
KartikPrabhu
tantek: here is the console message "The resource at “https://twitter.com/t/profile_image” was blocked because tracking protection is enabled."
#
tantek
ah apparently I had it only on "Only in private windows" ok good to know, now I'll go debug stuff
#
upon2020.com
edited /consultant (+184) "Added background"
(view diff)
#
tantek
yep there it goes
[miklb] joined the channel
#
tantek
j12t reload
#
j12t
... and then, the likeness of tantek magically appeared :-)
#
KartikPrabhu
confirmed
[eddie] joined the channel
#
[eddie]
!tell aaronpk: Interesting, I noticed that indieauth.com returns a me=URL when providing the authorization_code response back to the client. However, when looking at the Spec, I don’t see that as being required. Is that an old thing that IndieAuth.com is doing?
#
[eddie]
!tell aaronpk: I ask because I actually have Indigenous checking for it, so that might be breaking on some instances if people aren’t returning that. In fact since my new authorization_endpoint went by the spec, I didn’t add it and broke Indigenous for myself! oops 🙂
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
Ok, I'll tell them that when I see them next
[colinwalker] and eli_oat joined the channel
#
tantek.com
edited /Falcon (+2228) "/* Working On */ new top priorities: Own my issues and issue replies, Own my list emails and replies"
(view diff)
#
tantek
new stake in the ground ^^^
#
tantek.com
edited /Falcon (+8) "/* Own my issues and issue replies */ linky"
(view diff)
#
tantek
what is delegation
#
Loqi
It looks like we don't have a page for "delegation" yet. Would you like to create it? (Or just say "delegation is ____", a sentence describing the term)
#
tantek
delegation is a way to entrust someone(s) via OAuth preferably IndieAuth (without sharing passwords) to post things on your site on your behalf while you are away, like on vacation.
#
loqi.me
created /delegation (+208) "prompted by tantek and dfn added by tantek"
(view diff)
jjuran joined the channel
#
tantek.com
edited /Falcon (+324) "/* Itches */ Delegation"
(view diff)
KartikPrabhu and chrisaldrich joined the channel
#
loqi.me
created /water (+257) "prompted by [miklb] and dfn added by tantek"
(view diff)
#
loqi.me
edited /water (+362) "tantek added "2016-11-04 sensors and sensibility: [https://sensorsandsensibility.com/posts/2016/4/11/hidrate-spark-smart-bottle Hidrate Spark smart bottle review] <blockquote>Taking dangerous steps into the land of We Put a Chip In It, I backed and jus..."
(view diff)
#
loqi.me
edited /water (+6) "tantek added "iot" to "See Also""
(view diff)
#
tantek.com
edited /water (+4) "fix link"
(view diff)
#
tantek.com
edited /delegation (+431) "indieweb examples none so far, silo examples Google and office.com per kevinmarks links"
(view diff)
renem, eli_oat, tantek and [kingkool68] joined the channel
#
tantek.com
edited /IRC_People (-43) "use my own 8k jpg instead of Twitter"
(view diff)
[miklb] and tantek joined the channel
#
aaronpk
[eddie] we were just talking about that part of the spec tonight haha
#
Loqi
aaronpk: [eddie] left you a message 3 hours, 23 minutes ago: Interesting, I noticed that indieauth.com returns a me=URL when providing the authorization_code response back to the client. However, when looking at the Spec, I don’t see that as being required. Is that an old thing that IndieAuth.com is doing?
#
Loqi
aaronpk: [eddie] left you a message 3 hours, 23 minutes ago: I ask because I actually have Indigenous checking for it, so that might be breaking on some instances if people aren’t returning that. In fact since my new authorization_endpoint went by the spec, I didn’t add it and broke Indigenous for myself! oops 🙂
#
Loqi
awesome
#
aaronpk
I haven't removed it from IndieAuth.com entirely yet because i don't want to break all the clients expecting it. I do plan on removing that when I launchthe
#
aaronpk
two new sites tho
#
GWG
When did that change?
#
aaronpk
A few months ago I think
#
aaronpk
There's a github issue thread or maybe wiki edit history about it
#
GWG
It says "Clients must use the resulting me value from the authorization code verification or access token response rather than assume the initially entered URL is correct."
#
Loqi
[aaronpk] #167 Consider dropping `me` from the GET request that contains the code
#
Loqi
[fkooman] #85 do not send `me` to callback
#
GWG
aaronpk: My point is that the sentence I referenced mentions it. If it MUST be used, then how can it not be there? Isn't that confusing?
#
aaronpk
That sentence does not say to use the "me" in the GET request
#
aaronpk
(There should be no "me" in the GET request)
#
GWG
Oh, the GET request
#
GWG
I missed that.
tantek, snarfed and [eddie] joined the channel
#
[eddie]
Gotcha. Thanks aaronpk. It’s funny, I accidentally built Indigenous testing it mostly off of IndieAuth.com. Turns out because I built my IndieAuth endpoint off the spec I found my own bug!!! Haha 😆 that doesn’t happen every day
#
Loqi
[eddie]: lol
#
[eddie]
Thanks Loqi, always just in time
#
Loqi
you're welcome
[kingkool68] and tantek joined the channel
#
tantek
even the property tax collector can't afford to pay the https admin tax
[cleverdevil] joined the channel
#
[cleverdevil]
Good evening, IndieWeb! I'm back from my little weekend getaway. I hope IWC Baltimore was amazing 🙂
#
tantek
I feel like things like this have been discussed here before? https://lgbt.io/@nelson/99383650717846720
#
Loqi
[Nelson Minar] Free business idea: a domain parking service for people who want to retire a website but want to keep it online and out of the hands of SEO spammers.Take a one-time static snapshot of the site when it is parked. Serve that very cheaply as static file...
[eddie] joined the channel
#
[eddie]
Hey cleverdevil ! Hope you had a good getaway! IWC Baltimore went super well!!
#
[cleverdevil]
Awesome. Yes, the getaway was lovely, and much-needed. Took the wife to San Diego for her Christmas gift. Five star hotel, dinner at a great restaurant, Hamilton, and then brunch with a view (and champagne). I'm pretty sure we knocked it out of the park this year for Christmas 😉
#
[cleverdevil]
I saw your video preview of the updates to Indigenous and I'm drooling in anticipation 😄
#
tantek
what are analytics
#
Loqi
analytics is the collection, analysis and reporting of a websites traffic https://indieweb.org/analytics
#
[eddie]
Haha, glad you’re excited, cleverdevil! Apple has been dragging its feet on the review time this weekend. I’m excited to finally get it out to people 🙂
#
Loqi
hehe
tantek, cweiske, barpthewire, jeremycherfas, [colinwalker], deathrow1, John_Ivan and [kevinmarks] joined the channel
#
[kevinmarks]
Actually good json vs html/xml discussion https://news.ycombinator.com/item?id=11446984
#
Loqi
[jerf] "What is XML good at?" (For the purposes of this post, I'm including HTML in the XML family.) XML/HTML is good when: 1. You have two dimensions of markup you want to do. That is, you have a clear distinction between what is a new "tag" and what is an...
eli_oat, [jgarber], snarfed, dgold, mindB and myfreeweb joined the channel
#
@hdv
@paciellogroup thanks! Have updated my post to include your comment (it will also appear as a Webmention, but just to be sure :-))
(twitter.com/_/status/955469805750013958)
tantek joined the channel
#
tantek
wow jgarber is doing a great job updating indieweb/microformats-ruby on GitHub
#
tantek
jgarber++
#
Loqi
jgarber has 1 karma in this channel (9 overall)
renem joined the channel
#
tantek
what is Code Climate?
#
Loqi
It looks like we don't have a page for "Code Climate" yet. Would you like to create it? (Or just say "Code Climate is ____", a sentence describing the term)
[kevinmarks] joined the channel
#
tantek
we over here [jgarber] :)
KartikPrabhu joined the channel
#
[jgarber]
Cross-posting from the #microformats channel:
#
[jgarber]
2. Over on Code Climate, go to https://codeclimate.com/oss/dashboard and click “Add Repository” in the top right.
#
[jgarber]
I was having some trouble getting Code Climate to recognize that I was an admin/owner (in the GitHub sense) of a repository belonging to a GitHub organization. Because of this, I wasn’t able to configure the repository on Code Climate (despite being able to add it to my account).
#
[jgarber]
1. Follow the steps on this page: https://docs.codeclimate.com/v1.0/docs/approve-code-climate-as-a-third-party-application-in-github to make sure the IndieWeb GitHub organization is granting access to Code Climate (turns out this was off for my org-owned repo).
#
[jgarber]
Turns out I had to do the following:
#
[jgarber]
3. Click “Sync now” in the top right.
#
[jgarber]
4. Once that’s done, click “Add Repo” next to any of the IndieWeb GitHub organization-owned repos that you’d like to add to Code Climate. This is silly since, if your account is anything like mine, many of those repos are already in Code Climate. Go figure.
#
[jgarber]
After re-adding the org-owned repo, I was able to see the Settings option in Code Climate.
#
tantek
hence why I asked
#
tantek
what is Code Climate
#
Loqi
It looks like we don't have a page for "Code Climate" yet. Would you like to create it? (Or just say "Code Climate is ____", a sentence describing the term)
#
[jgarber]
☝ Those instructions are pertinent to the IndieWeb GitHub organization (which I’m not an admin/owner/member of), but they should work for anyone in a similar situation.
#
[jgarber]
Code Climate is a private company providing Web-based automated code review and maintainability data. It is free to use for open-source repositories.
#
loqi.me
created /Code_Climate (+176) "prompted by tantek and dfn added by [jgarber]"
(view diff)
#
[jgarber]
Shazam.
#
tantek
ooh - then defintely worth capturing those instructions on that newly created wiki page! thanks!
#
[jgarber]
Will do!
[eddie] joined the channel
#
[eddie]
!tell aaronpk: What PHP version are you running teacup on? I installed it on my server to see if I could remove it’s reliance on the me property (https://github.com/aaronpk/Teacup/issues/8) but for some reason I’m getting back an error in the footer that the authorizing attribute is undefined rather than displaying the login form
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[Zegnat] #8 Depends on the authorization endpoint returning a me parameter.
#
aaronpk
oh hey there is an open issue for that after all!
[cleverdevil] joined the channel
#
aaronpk
probably need to update the indieauth/client dependency in the composer.json, as well as do something like this https://github.com/aaronpk/Quill/commit/e590c95c9f21fab9ebf2ba2efd83cca79585cfca
#
[eddie]
Yeah, that makes sense :thumbsup:
#
aaronpk
want me to do it? I'm waiting for videos to render right now anyway
#
aaronpk
I think I can solve that other error too
#
[eddie]
Sure, if you have the time and feel like it. You obviously know the code better than I do 😉
#
aaronpk
I can't believe how long it's been since i've touched any of the Teacup code despite actually using it multiple times every day
#
[eddie]
Well that’s a good sign in some ways. It’s working pretty dependably. lol
#
aaronpk
oh yeah, indieauth/client and the mf2 parser in Teacup are really old
#
sixtwothree.org
edited /Code_Climate (+1320) "Add instructions for adding/configuring organization-owned repositories"
(view diff)
[kingkool68] joined the channel
#
Loqi
jgarber has 2 karma in this channel (10 overall)
eli_oat1 and snarfed joined the channel
#
[eddie]
The next build of Indigenous should hopefully support more IndieAuth endpoints. It no longer relies on the me value 🙌 🙌
#
[eddie]
The wonders of selfdogfooding! haha
#
Loqi
ahaha
snarfed1 joined the channel
#
aaronpk
doing a little housecleaning on Teacup
#
aaronpk
hah, my own auth server doesn't return "me" so I can't actually log into Teacup right now either! Guess I've been using the little bookmark to home screen thing for so long that I haven't had to log in.
snarfed joined the channel
#
[eddie]
oh wow!
#
aaronpk
i'm glad I fixed this and didn't make you fix it. there were a few tricky things in it not related to this problem
[keithjgrant] joined the channel
#
[keithjgrant]
So, I’m working on a feature for Omnibear to (optionally) automatically generate a slug from the post content
#
[keithjgrant]
How many words do y’all suppose I should limit it to. Five?
#
[keithjgrant]
"If this were my post content in this here string" the generated slug would be "if-this-were-my-post"
#
aaronpk
i'd take a look at what wordpress does
#
[keithjgrant]
oh, good idea
#
KartikPrabhu
[keithjgrant]: I think I do 40 characters
#
KartikPrabhu
it is an arbitrary number I chose
#
aaronpk
I know some of them remove certain words too
#
[keithjgrant]
wordpress slugifies the whole title. Omnibear does note without a title
#
[eddie]
aaronpk: Well in that case, I’m glad you fixed it too 😉
#
[keithjgrant]
Are MP endpoints responsible for de-duping slugs/urls?
#
aaronpk
yeah, and slug is just a suggestion anyway
#
aaronpk
my posts all have unique URLs not including the slug, so in my case it's fine to have duplicate slugs between posts
#
aaronpk
but some sites use the slug as the unique URL along with like just the year, so they'd have to dedupe appropriately
#
KartikPrabhu
should a MP client tell the MP server thaat it has deduped and changed the slug?
#
KartikPrabhu
or should that be silent?
#
aaronpk
you mean the other way around?
#
aaronpk
the client doesn't really need to know once it knows the final URL of the post
#
KartikPrabhu
errr yeah
#
[keithjgrant]
looks like mine just returns a 400 if I try a duplicate slug 🙈
#
KartikPrabhu
no, as in telling the user so they can "confirm" if they like it or something
#
aaronpk
that sounds more like a slug preview or something
#
aaronpk
I think wordpress has that basically
[xavierroy] joined the channel
#
[xavierroy]
aaronpk reg: teacup issue 9: Yes, the date and time are accurate when i post... but once posted, it goes back to UNIX epoch:
#
GWG
Afternoon
#
GWG
Aaronpk, you working on teacup?
#
Loqi
[dshanske] #7 Docs
#
GWG
How do you work on code when it is code awaiting a PR?
#
GWG
I always have trouble with that?
#
GWG
Do I branch the branch?
#
eli_oat
question more or less unrelated to indieweb stuff so feel free to ignore, but, does anyone know if I can make a url like www.subdomain.root.com
#
eli_oat
so, ta subdomain of a subdomain
#
GWG
Oh, and aaronpk, thanks for the links in the specification. That is really helpful in clearing up ambiguity
#
GWG
eli_oat, you can
#
eli_oat
thanks
#
[keithjgrant]
Anybody on here who speaks a language with non-latin characters and/or accent marks? Curious what you preference would be for slugifying those
[kevinmarks] joined the channel
#
[kevinmarks]
Gah, why was that mhtml?
#
Loqi
[pfrazee] I spent the weekend preparing a solution to this issue that I'd like to propose. My goal was to make something that won't generate too much frustration. That's a pretty high bar to clear in an opinionated space, so I hope this gets close, and I a...
#
[keithjgrant]
that's definitely not as straightforward as converting è to e 🙂
#
GWG
Learn something new every day
#
[keithjgrant]
I see some libs that latinize slugs (Russian is a given example). I’m... dubious about that approach
#
snarfed
GWG: yeah you can create a new branch off of your PR branch and work there. then, after the PR has been iterated and merged, pull master and rebase the downstream branch to get any changes
#
GWG
Snarfed, that's what I thought. The Indieauth token stuff is a big PR, but I had aaronpk's full involvement so I pressed on
#
GWG
snarfed, I have unit tests to write
#
snarfed
testing++
#
Loqi
testing has 3 karma in this channel (22 overall)
#
GWG
Specifically, some of the stuff I radically changed yesterday
#
GWG
Suddenly, I am hashing stuff, and base64 encoding things, and setting cookies
#
GWG
It is definitely the most in the weeds I've gone into security protections.
#
snarfed
GWG++ growth is good!
#
Loqi
gwg has 21 karma in this channel (306 overall)
#
GWG
snarfed, as I said, with auth I want as many eyes on it as I can before it goes to WordPress.org . It could compromise sites if it is insecure.
#
GWG
Oh, he left, never mind
tantek joined the channel
#
aaronpk
[xavierroy] do you have any browser extensions enabled that might be messing with the form?
eli_oat1 joined the channel
#
aaronpk
ohh another thought... what locale is your browser?
snarfed joined the channel
#
aaronpk
aha figured it out... you're in a half-hour timezone offset!
#
aaronpk
[xavierroy] try it now!
snarfed joined the channel
#
aaronpk
[keithjgrant]: whatever you do with slug generation just make sure you don't use the unescaped version of html entities like this post: 😂 https://www.scientificamerican.com/article/ldquo-the-problem-child-of-seasonal-flu-rdquo-beware-this-winter-rsquo-s-virus/
#
aaronpk
"ldquo"
[eddie] joined the channel
#
[eddie]
Hmmm, Indigenous got rejected for the first time… apparently App Review is upset that they can’t log in and test it. The strange thing is the past 2 betas went through fine. I guess they didn’t demo them? haha.
#
Loqi
hehe
#
aaronpk
huh weird, they usually want to at least log in
#
[eddie]
I guess I need to copy my authenticate and token endpoint over and create a basic micropub endpoint on a test server
#
aaronpk
oh boy haha
#
[eddie]
haha yeah
#
[eddie]
The good news is the micropub doesn’t have to actually output anything
camb joined the channel
#
[eddie]
It just needs to respond with a Location header to satisfy Indigenous
tantek joined the channel
#
[eddie]
Good thing I just finished homemade authorization and token endpoints
#
[eddie]
based off of a password too, so I can just give this new test server a random password and provide that to them
#
aaronpk
perfect
dgold, [kevinmarks], eli_oat1, [jgmac1106], [miklb], [cleverdevil] and [keithjgrant] joined the channel
#
[keithjgrant]
aaronpk ha! I'm sticking with a few regex filters. It currently drops non-latin chars, which is... not ideal. But I'm going to call it MVP for the time being
chrisaldrich and snarfed joined the channel
#
[keithjgrant]
ooh, I just found a quick and easy solution for replacing w/ latin chars. a little bit better.
snarfed, [sdepolo] and KartikPrabhu joined the channel
#
@deathmtn
Wasn’t there already something like Webmentions in some early blogging platform? I remember seeing mentions on other blogs at the bottom of posts. Maybe that’s what inspired this. https://webmention.net/draft/
(twitter.com/_/status/955537364524392449)
[chrisaldrich], petermolnar, tantek and curve25519 joined the channel
#
tantek
aaronpk: is there any guidance in the spec on retrying webmentions?
#
aaronpk
I don't think there is
leg joined the channel
#
tantek.com
edited /water (+581) "indieweb examples, aaronpk, silo examples hidrate spark, reconnect dfn sentences for more context"
(view diff)
[miklb] joined the channel
#
[miklb]
now he’s just trolling me 😂
#
tantek.com
edited /water (+59) "shorten dfn a bit, move more details to Hidrate SPark section"
(view diff)
#
@Johannes_Ernst
jernst 13:08 on January 22, 2018 Permalink Log in to leave a Comment Testing 3 2 1, please ignore Reply Cancel replyYou must be logged in to post a comment. Respond on your own site? Send me a Webmention by writing something… https://upon2020.com/banter/?p=2487
(twitter.com/_/status/955547940084383744)
#
aaronparecki.com
edited /water (+81) "update my examples"
(view diff)
#
tantek.com
created /💧 (+19) "r"
(view diff)
#
tantek.com
edited /water (+18) "emojicon"
(view diff)
#
j12t
Thanks snarfed for the fix!
#
snarfed
j12t: welcome!
#
tantek.com
edited /water (-4) "-.dev"
(view diff)
#
aaronpk
oops haha
#
Loqi
hehe
#
aaronpk
i'm considering setting up a few indieauth identity URLs that everyone can use for testing, in order to test some of the trickier situations in clients
#
aaronpk
inspired by marty's short URL issue https://github.com/aaronpk/Quill/issues/89
#
Loqi
[martymcguire] #89 Follow short url => canonical and http/https redirects
#
aaronpk
maybe that's a good use of indieauth.rocks
#
tantek
what is jekyll
#
tantek
what is minima
#
Loqi
It looks like we don't have a page for "minima" yet. Would you like to create it? (Or just say "minima is ____", a sentence describing the term)
#
tantek
what is jekyll
#
Loqi
Jekyll is Ruby software that helps you create "Simple, blog-aware, static sites" suitable for static domain hosting https://indieweb.org/Jekyll
#
tantek
barryfrost++ congrats on the recent update to Jekyll's default Minima theme with microformats support! https://twitter.com/jekyllrb/status/955551155031101440
#
Loqi
barryfrost has 1 karma
#
@jekyllrb
Default theme minima v2.2.0 brings better SEO, microformats, and support for more social networks. Feel free to bundle update. https://rubygems.org/gems/minima/versions/2.2.0
(twitter.com/_/status/955551155031101440)
#
tantek
(that's a pretty big deal IMO)
#
[miklb]
yep, was just reading the discussion on that pull request https://github.com/jekyll/minima/pull/160
#
Loqi
[barryf] #160 Add Microformats markup
#
aaronpk
this is a great example of how small of a diff is required to add microformats https://github.com/jekyll/minima/pull/160/files
[jgarber] joined the channel
#
[jgarber]
barryfrost++
#
Loqi
barryfrost has 2 karma
#
snarfed
aaronpk: sounds like https://commentpara.de/ ?
#
aaronpk
yeah except with specific profile URLs crafted for the various edge cases
#
tantek.com
edited /Jekyll (+346) "/* IndieWeb Support */ microformats2 support by default! rewrite rest as a history section with dates as items, add when pull request was merged"
(view diff)
#
tantek
wow 3 months to the day when Barry submitted the pull request.
[kevinmarks] and [barryf] joined the channel
#
[barryf]
Oh cool! Nice to see that PR merged to master.
#
tantek
barryf++
#
Loqi
barryf has 3 karma in this channel (13 overall)
#
tantek
barryf, more than merged (that was last Nov), but gem updated!
#
[barryf]
Yes indeed. Next step will be for it to make its way to GitHub Pages.
#
tantek
oh wow I wonder how long that takes
loicm joined the channel
#
Loqi
[kevinmarks] Fritter's use case is very close to what Activity Streams was designed around, so if you're committed to going with JSON-LD, adopting that makes sense. The field names have been thought through and based on converging multiple social networks over ti...
#
Loqi
[kevinmarks] I think you have addressed an imaginary problem to avoid dealing with a real one. Currently you have a handful of field names that don't need namespaces. You are going to have to cope with people adding arbitrary new fields to your json, because i...
#
tantek
wow that's a hard to follow abstract discussion
#
tantek
curious to see how much "friction" the beaker folks feel from JSON-LD, or have they already given up on it?
#
aaronpk
It sounds like they gave up on it? tbh that whole thread is very confusing to follow
#
[kevinmarks]
they are feeling friction, but the lead is proposing a different namespace centric answer instead.
#
Loqi
[pfrazee] I spent the weekend preparing a solution to this issue that I'd like to propose. My goal was to make something that won't generate too much frustration. That's a pretty high bar to clear in an opinionated space, so I hope this gets close, and I a...
#
[kevinmarks]
but inventing yet another namespace thingamjig
tantek joined the channel
#
Loqi
ok, I added "https://github.com/pfrazee/json-lz/blob/master/DESIGN.md" to the "See Also" section of /JSON-LD
KartikPrabhu, renem, [barryf], AngeloGladding, eli_oat and tantek joined the channel
#
aaronpk
just realized I should have made my home page grid as an SVG, cause I can still add interactivity to SVGs
[miklb] and John_Ivan joined the channel
#
Loqi
svg has 1 karma in this channel (9 overall)
#
[kevinmarks]
you could do it with css grid too
#
aaronpk
if you can figure that out I would appreciate it
#
aaronpk
I couldn't find any examples of making 1:1 ratio cells using cssgrid
#
aaronpk
the trick is I want the cells to be flexible size depending on the width of the container
#
KartikPrabhu
aaronpk: 1fr unit is your freinds
#
aaronpk
and always 20 in the row
#
aaronpk
I tried cssgrid but couldn't do it
#
aaronpk
ended up using padding-bottom:5% since padding is based on the width of the container
#
aaronpk
svg would have been a lot cleaner :)
#
KartikPrabhu
aaronpk: if it is for decoration/presentational purposes then SVG is better
#
aaronpk
it's decoration with interaction
#
KartikPrabhu
yup SVG then
treora joined the channel
#
[kevinmarks]
svg would be easier, as it has rects as a basic type
#
[kevinmarks]
(and circles)
#
KartikPrabhu
getting grid to give fixed aspect ratio is not easy
#
[kevinmarks]
whereas it's built into SVG
#
aaronpk
hm what's the trick to get an inline SVG to be a flexible size but still have its own internal dimensions
#
aaronpk
I thought it was viewport something
#
KartikPrabhu
everything inside the SVG is relative to the viewBox
#
KartikPrabhu
the SVG itself can have any size in the HTML page and its contents scale
#
aaronpk
viewBox
#
aaronpk
hi dpi screens are my friend for this
#
aaronpk
this solves the 1px problem I was having too
John_Ivan and [eddie] joined the channel
#
[eddie]
aaronpk: just a heads up I think something is wrong with IndieNews’ webmention endpoint: https://telegraph.p3k.io/webmention/12CEjYLhWaGdAUt87D/details
leg joined the channel
#
aaronpk
hm I wonder if it's confused about the two syndication values
#
aaronpk
no it should know about that
#
[eddie]
Yeah I think I’ve posted to it with more than one syndication before
#
[kevinmarks]
also, you can use SVG to set the y, width and height of the pixels, so you only need to specify x and fill
#
aaronpk
[kevinmarks]: I don't understand that sentence
[andrea_arbogast joined the channel