#dev 2018-12-22

2018-12-22 UTC
iasai, snarfed and [jgmac1106] joined the channel
#
[jgmac1106]
Why can I get inline styling to work here: https://jgmac1106homepage.glitch.me/resume.html (go to to conference papers and presentations) but if I try to add .history .item3 ul { display: inline;} .history .item3 ul li {display: inline;} the rule gets ignored?
snarfed joined the channel
#
cjwillcock
jgmac1106: your css is not ignored. You do have the noted selectors inside a media query targeting displays with widths <= 700px. Perhaps the media query is throwing you off
#
gRegorLove
Those work for me in dev tools when I take out the inline style attributes
#
cjwillcock
check if you missed a } on line 401 in styles.css. It seems to want one there.
iasai joined the channel
#
[jgmac1106]
Got it! Had to get the hanging indent on the div... Number of times I try to style something without knowing I am in the media query.....
benwerd joined the channel
benwerd, iasai, snarfed, [tantek] and [jgmac1106] joined the channel
#
GWG
I'm working on adding a hook so I can put a button on my homescreen to update my site location.
#
kisik21
aaronpk: mf2util cannot fetch representative h-card from https://aaronparecki.com/
#
kisik21
basically my blog is broken now
#
kisik21
because it tries to fetch h-cards on demand
#
kisik21
!tell aaronpk your blog broke my blog, I cannot find your h-card at https://aaronparecki.com/ with representative h-card algorithm
#
Loqi
Ok, I'll tell them that when I see them next
iasai joined the channel
#
jacky
kisik21: if there's one thing I've been doing
#
jacky
I save copies of MF2 of sites I refer into a warm Redis cache (keep them around for about 1 day, 1 week or one month, related on how many times I poke a particular entry) when it comes to MF2 information
#
jacky
and that's for anything, sites, h-cards, everything
#
jacky
but having a failover (like just reading the page name and favicon) could help if you can't find anything else on it
iasai, [kevinmarks], [tantek], swentel, [asuh] and [jgmac1106] joined the channel
#
swentel
mlncn, thanks for the patch! Did you ran a parser to check if (all) author information is found ?
#
sknebel
kisik21: can you show your code? aaronpk has a represenative h-card, and for me mf2util has no problem finding it
#
sknebel
but you need to be prepared to handle pages that don't have one
#
sknebel
ah, it might fail due to not normalizing the URL!
#
sknebel
I see you already filed an issue for that a while ago
barpthewire, iasai and eli_oat joined the channel
#
@KempfCreative
↩️ @susanthesquark @johnmaeda Agree 100%. This, together with WebMentions, can fully replace social media.
(twitter.com/_/status/1076503325594521602)
iasai and snarfed joined the channel
#
sknebel
oh, you need to give mf2py the url too
#
sknebel
mf2py.parse(doc=r.content, url=r.url)
#
sknebel
so it can resolve relative links
#
kisik21
wow, never knew it... ok, will fix it!
iasai joined the channel
#
kisik21
Now my webmentions time out because it takes too long to fetch my page
#
kisik21
need more caching... need more caching!
#
kisik21
How much in kilobytes is an average h-card? not counting the avatar and other stuff, only the MF2 json
barnabywalters joined the channel
#
mlncn
Are there recommended local parsers? That is can try my example.test sites pages on my computer and not online?
benwerd and iasai joined the channel
#
kisik21
mlncn: mf2py is a production-ready parser
#
kisik21
if you're into python, I highly recommend using it
#
kisik21
if not, well, it's still a useful tool
#
mlncn
kisik21: thanks, i'll give it a try. For the moment running indiewebify.me locally (with PHP's built-in webserver) is working great
#
mlncn
(did not think it would be so easy!)
snarfed joined the channel
#
snarfed
kisik21: you can probably answer "how many kilboytes is an average h-card?" with https://indiemap.org/
#
Loqi
Indie Map is a public IndieWeb social graph and dataset. 2300 sites, 5.7M pages, 380GB HTML with microformats2. Social graph API and interac...
#
sknebel
mlncn the php parser should also be easy to use locally
#
sknebel
if you have a php setup already
leg and iasai joined the channel
#
GWG
So, last time I was on JetBlue I figured out how to a extract location data from their WiFi system.
#
GWG
Last night I added an Endpoint to update my current location using a simple http POST
#
GWG
I have another JetBlue flight coming up
#
GWG
I feel like I should combine these
#
GWG
As a motivation to get some automation in this area
benwerd joined the channel
#
donpdonp
GWG was it gogo internet?
#
GWG
No, same principle would apply, but JetBlue doesn't use GoGo
#
GWG
I have seen people do something similar with GoGo which gave me the idea
benwerd joined the channel
#
GWG
Why do you ask m
#
kisik21
yay, I'm now caching my h-cards for reply contexts
#
kisik21
basically now my reply contexts are blazing fast because I'm caching most of the data
#
kisik21
and flask caches templates so the second time someone goes to a page the template will go to the cache and won't be recompiled
#
kisik21
and as my server is already a bit slow (I'm hosting it from my home after all), I think it helps a bit
#
kisik21
I need to cache more things really
iasai joined the channel
#
@MeritzPress
Where a flower blooms tonight, Devout and purple, With a rift for a hollow power, That shivers it springs from a root - from Pluck At The Offering, Barbarity. Free excerpts. Order at http://amzn.to/2CF8fts or kindle http://amzn.to/2CV3tw4 #literature #writer #indieauth
(twitter.com/_/status/1076565796770455553)
benwerd, doubleloop and iasai joined the channel
#
aaronpk
I just did that for Gogo
#
Loqi
aaronpk: kisik21 left you a message 15 hours, 23 minutes ago: your blog broke my blog, I cannot find your h-card at https://aaronparecki.com/ with representative h-card algorithm
#
aaronpk
I built it into Overland, but I need to sort out my iOS dev acct in order to install it on my phone before my next flight
[tantek], KidReese777 and iasai joined the channel
#
[tantek]
kisik21++ for "hosting it from my home after" (!!!) wow
#
Loqi
kisik21 has 7 karma in this channel over the last year (21 in all channels)
[jgmac1106], jjuran, [asuh], chrisaldrich, iasai, [chrisaldrich], jmac and benwerd joined the channel