#tantekwe've built plenty of things that grow and build upon each other and continue growing
#tantekit's WordPress in particular I'm talking about - in terms of making sure to NOT replicate the errors of the past
#GWGtantek: I meant, every idea we have about how to address the WordPress issue seems to plant new mines.
#tantekIt's probably going to require that an entire plugin be responsible for all the markup, and making sure that property class names are only injected when the plugin can be absolutely certain that it successfully injected the h-* root class name for those properties
#GWGThat was what the wordpress-uf2 plugin was supposed to be. I think it may be time for an update...but I'm not sure how a plugin can be certain
#GWGThat is why I'm saying this may require a group of people to take on.
#GWGtantek: You are good at breaking down complex problems into simple problems. I've seen you do this.
#tantekGWG, it has to look at the markup that has been "output" so far, and verify what it expects is there
#tantekGWG, output buffering would not be necessary if you could actually trust the plugin hooks to do the right thing
#tantekthat's how I would pushback. the plugin architecutre is too unpredictable/complicated to be dependable, thus you have no choice but to output buffer to make sure the right thing is happening
#GWGI was doing some server work over the last few days. I brought back separate whole page caching for mobile so I could deliver different resources if I wanted to.
#GWGAnd Linode has given me more RAM since I last significantly tweaked those settings.
#aaronpkah yes i love the free linode ram upgrades
#aaronpklast time i got that upgrade i downsized a machine back to what it had before and cut my costs in half :)
#voxpellifor sessions that should be persistent – use Redis – Memcache clears all data on restart if I remember correctly
#voxpelliwhen primarily used as caches the worst case scenario is that one gets no benefits from them, when used as data stores those the worst case scenarios are quite far worse
#voxpelliGWG: memory scales very badly, when you reach the limit it's very hard to scale up
#aaronpkthe big mistake people make with redis is using effectively as a cache, but not actually removing things from it, so it just keeps filling up
#voxpelliyeah, or to think that they can save something in Redis when they just have some 100 of them and when they get 10 000 of them they don't really have that much space left for them
#voxpellione should pretty much only store things in redis where one have the need for speed that comes with in-memory databases
#voxpelliand keep the rest in more classic disk-backed systems
#aaronpki often use the zsets with keys being unix timestamps in order to keep a sort of rolling last N items in a list
#GWGFor me, implementing a persistent object cache for WordPress reduces database load.
#KevinMarks_Memcache does flush things automatically (or after time) does Redis not?
#aaronpkbut you can put things in redis and if you don't set an expiration it tries to hold on to them forever
#aaronpkso you just have to be careful about how you use it. always setting TTLs on things, or using data structures in a way where you're always trimming them during normal operation
tantek joined the channel
#GWGUsing it in testing, it certainly has a better cli.
#GWGI need to get my server email notifications system back online.
#GWGAnyone have a service they like witha free or cheap tier?
#voxpelliOne of the great things with mf2 is the extensibility that in turn encourages experimentation and innovation, so anything that makes that carry over to Micropub and similar is great
#miklbvoxpelli following up on a prior conversation, I've got a #jekyll question for you
#miklbvoxpelli in your post layout, you include post.html and pass post=page, but then when you load post-content, you pass post=post. I don't follow assigning post variable assignments
#miklbI want to wrap up (finally) the micropub stuff for the theme today, have a lull in $work
#voxpellimiklb: It's Jekyll that assigns the data to different variables
#voxpelli"post" when iterating and "page" when standalone
#voxpelliSo through my assigning I normalize it to the same variable (and since its in an include there's no downsides, not sure what would happen otherwise)
#voxpelliWell, only explicitly assigned bars are available in an include, right?
#miklbwell this comes back to where I was getting single page views to display content from front matter and the templates are using post.frontmatter not page.frontmatter
#aaronpk404 would be a weird response because it would suggest the micropub endpoint is not found
#cweiske400 could also mean your http lib is broken, so that's not better
#aaronpkthat's true, but that's sort of how this kind of api has ended up working
#aaronpkin my ideal world, the endpoint would always return HTTP 200 and all error handling would be done in the response body. i've seen a couple APIs like that, but it's relatively uncommon.
#cweiskereading the error response section in detail tells me that I break the Micropub rules when I implement my "501 not implemented" status code, since none of the 4 allowed error codes carry that meaning
#aaronpk"If there was an error with the request, the endpoint must return an appropriate HTTP status code, typically 400, 401, or 403..."
#cweiske If an error body is returned, the response body MUST ... property named error with the value set to one of the below:
#aaronpkoh yeah, no reply field on the html editor
#voxpellithinks he has come up with a way to derive layout selection from mf2 data in a declarative way so it can be done through a configuration ENV variable – yay
KevinMarks joined the channel
#voxpelliI have to say – PEG grammars are awesome, overkill, terribly confusing and awesome
#miklbvoxpelli that layout selection, is that in response to my questions?
#voxpellimiklb: yeah, to make the category customizable
#miklbis reading more about jekyll includes and passing params and variables
tantek and singpolyma joined the channel
#tantek.comedited /Events (+215) "move July event to past, LeadingDesign Conf this October, UX London next May is just a few days after IWC Nuremberg! IWS 2017 June (likely)" (view diff)