#dev 2016-12-31

2016-12-31 UTC
#
KevinMarks
Is the current process written up?
#
tantek
mostly?
KevinMarks_ joined the channel
tantek and KevinMarks joined the channel
#
KevinMarks
That doesn't say how the hwc wiki pages get created (in batches by tantek?)
KevinMarks_, KevinMarks, tantek and benborges joined the channel
#
sebsel
aaronpk I thought mp-syndicate-to was the command to send a syndication, but Quill sends a syndicate-to
#
sebsel
does was Quill does for now
#
sebsel
what*
#
sebsel
yaay, I got my Quill and my Micropub endpoint and my Webmention-sender ánd Brid.gy/publish all hooked op correct :D
#
sebsel
It syndicates to twitter and saves the link. So happy now.
#
ben_thatmustbeme
sebsel: it should be mp-. I believe aaronpk mentioned he needs to update it
#
ben_thatmustbeme
I would say support both for now if you can
#
petermolnar
ok, relative urls suck
#
petermolnar
how will I make my site ipfs compatible this way? :(
#
aaronpk
Oops yeah I gotta update Quill
#
aaronpk
maybe I'll make that my project for today
#
aaronpk
petermolnar: yeah relative URLs are tricky. I spent a while making sure my new URLs would work as relative URLs so I can code relative URLs into img tags in blog posts
#
petermolnar
aaronpk why u fonts.googleapis.com?
#
petermolnar
back on the relative urls: do you generate static html? if you do, and you open the html file itself ( file:/// ), will your relative urls work? Because if I use /tag/something, the initial / will reset the file path, and would open file:///tag/something
#
aaronpk
i don't generate static html but i have a similar problem
#
aaronpk
i want to be able to write <img src="photo.jpg"> in a blog post and have it work, so i had to make my blog post URLs end in a slash even if there is no slug
#
Loqi
[Aaron Parecki] Day 8: Pinned Posts #100DaysOfIndieWeb
#
aaronpk
course then I realized that in order for the images to work when being viewed in the list, I have to use absolute URLs or have my code go parse the HTML anyway
#
aaronpk
and yeah any URL starting in / will break it when opened with file:// so you'd have to be really thorough and use ../ URLs
#
aaronpk
w.r.t. fonts, I'm in the process of moving away from that. the reason is semantic-ui.com uses fonts.googleapis.com by default.
#
aaronpk
and thanks i forgot that i needed to do that still on my website
#
petermolnar
that's a good writing imo
#
petermolnar
the 10-things
#
aaronpk
It's pretty hilarious
#
petermolnar
btw, one of my favourite writings in the fonts topic: https://medium.design/system-shock-6b1dc6d6596f
KartikPrabhu joined the channel
#
loqi.me
edited /why (+107) "petermolnar added "https://www.theguardian.com/technology/2016/dec/30/facebook-temporary-ban-kevin-sessums-trump-supporters" to "See Also""
(view diff)
#
barryfrost.com
edited /2017-01-01-commitments (+161) "/* Barry Frost */"
(view diff)
#
petermolnar
out of curiosity I removed the srcset from my images and made them a fixed size
#
petermolnar
it seems like a few entries, which a vast amount of pictures fail to completely load when you have all those intermediate sizes listed as well
KevinMarks joined the channel
#
aaronpk
petermolnar: I was going to mention that, for some reason I got a bunch of connection reset errors on your site for the images . I refreshed the page and everything loaded fine
#
petermolnar
I don't know what's going on with the connection resets
#
petermolnar
I'm guessing nginx misconfigurations
#
petermolnar
it was tweaked for the php-fpm setup
#
petermolnar
shoot... ulimit set to 4k... nginx set to 8k
#
petermolnar
most probably that is the reason for the drops
#
bear
your running out of sockets
#
bear
which would show up more in high image count pages - lots more parallel loads for them
#
petermolnar
that is a bit unexpected but it could be that
#
petermolnar
the setup is approximately the following: the root host has iptables with rate limit on port 443 set to 4096/s, forwarded to an internal, virtual eth based lxc container, which is the "root" nginx
#
petermolnar
this nginx has the main setup, with 16k worker_rlimit_nofile, worker_connections 2048 and is also the proxy to some other, small sites in other lxc containers
#
petermolnar
but those barely receive any traffic
#
petermolnar
however, due to this , I do might run out of ports, thanks to the forwarding
#
bear
yep, your consumer 2x per connection
#
petermolnar
interesting that I did not had or noticed this problem with the fastcgi-php-fpm
#
bear
php uses the same socket in multiplex style IIRC
#
petermolnar
but the images were always the same way: directly by nginx
#
bear
sorry - badly worded
#
bear
php is a longer lasting socket so only images would be static
#
bear
but now everything is, so the browser is opening up even more
#
petermolnar
any idea what and where to limit to avoid this?
#
bear
you could get up to 15 connection attempts on the intial page load
#
bear
nginx connect limit
#
petermolnar
oh, I found the problem
#
petermolnar
which is not even doing anything
#
petermolnar
only that the service is running
#
petermolnar
I'm slowly giving up on this thing...
#
bear
is it reaching out to all of it's known peers with long lasting sockets?
#
bear
I get that with xmpp servers all the time - each inbound request will linger for hours
#
bear
"just in case"
#
petermolnar
I have some other stuff running in other lxc nodes, eg. syncthing and namecoind
#
petermolnar
but those seem to behave in terms of connections
#
petermolnar
now let's check archiveteam's warrior...
#
bear
warrior loves parallel jobs - I wouldn't doubt if that is one of your worst offenders
#
petermolnar
not at this very moment, but I am shutting it down for now
#
petermolnar
I should get more servers, shouldn't I?
#
petermolnar
I wonder when the docker fanboys will learn about these issues...
#
Loqi
yea!
#
bear
they already are
#
bear
(at least in the production use places I am linked with)
#
bear
docker almost requires more smaller servers than a few large ones
#
bear
for internet scale stuff
#
bear
and they also require a heck of a lot more load balancing and proxies
#
petermolnar
ipfs had bitten me for the second time
#
petermolnar
the first was when hetzner (server rental company) told me to stop scanning the internal network, otherwise I'll be suspended
#
petermolnar
which was ipfs' default way of looking for other peers
#
aaronpk
Does http2 reduce this problem of the browser having multiple connections?
#
bear
people who design and build things like ipfs should all be given slow/old computers and networks to test with
#
aaronpk
bear++
#
Loqi
bear has 9 karma in this channel (171 overall)
#
petermolnar
give that man a BNC router!
#
petermolnar
^^^ no meme :(
#
bear
*everything* looks amazing when run in a vm setup on a modern mac
#
aaronpk
File an issue or send a PR :-) https://github.com/aaronpk/Meme-API
#
bear
http2 does indeed reduce the socket count (one of it's design goals)
#
bear
so that you can shim even more connections per web server
#
aaronpk
Counting down to the leap second btw!
#
aaronpk
3 hours 36 minutes until the leap second
#
Loqi
I added a countdown scheduled for 2016-12-31 4:00pm PST (#5972)
#
petermolnar
aaronpk++
#
Loqi
aaronpk has 21 karma in this channel (1165 overall)
#
petermolnar
that's for the meme-thing :)
#
petermolnar
the leap second I'm not worried
#
petermolnar
although I'm still trying to come up with a scenario of what would be needed to take away a second
#
bear
for that you just have a double long second
#
bear
oh, *take away*
#
petermolnar
technically, it would be a double second, as in 57...58...59...59...00
#
petermolnar
most probably
#
petermolnar
but what could result it,
#
petermolnar
althought that chat topic
#
aaronpk
I thought the expected behavior is that there's a 23:59:60 today
#
bear
yep, that's adding a second
#
bear
taking away a second would be 57 .. 59 .. 00
tantek and KevinMarks joined the channel
#
loqi.me
edited /performance (+62) "tantek added "https://aaronparecki.com/2016/12/31/11/day-11-simpler-fonts" to "See Also""
(view diff)