#gRegor`Not sure of an easy method to detect shared hosting.
#gRegor`Perms should be as locked down as possible. Typically the scripts execute as user "nobody" but your files are owned by "tantek" so it would require broader permissions to read/write. suPHP or FastCGI can be used to execute scripts as your username, though, so then you could lock them down to not be world read/writeable.
#gRegor`Running the scripts as your user can be a security trade-off, too. If there's a vulnerability in your script, an attacker could then do things on the server as "tantek" instead of "nobody"
Rev_Illo, JohKo, pfefferle_, kylewm_, rektide_, reidab, barnabywalters, adactio, jsilvestre and scor joined the channel
#barnabywaltersJust released php-mf2 v0.2.9 http://waterpigs.co.uk/notes/4XUAQb/ — from now on, I’m going to sign the tags for it (and eventually for all my other projects), so I added a guide to the installation instructions for how to get my key and verify the tag
#barnabywaltersI’d greatly appreciate feedback on how clear this is — if there are any security-minded or security-curious php-mf2 users who don’t have GPG set up it’d be great to walk you through the process to find any obvious stumbling blocks/points for improvements
friedcell joined the channel
#ShaneHudsonEvery few weeks I wish I could move away from Wordpress, it is so heavy on ram etc. But there is nothing that wouldn't require a tonne of work. Flat file sounds nice but then adding indieweb stuff gets even harder... can't win lol
simsketch, scor, charl, jsilvestre and fourtonfish joined the channel
#jonnybarnesbarnabywalters: from a securoty point of view, would it be ok to run compouser update on a local maching and verify the tag locally, then check the composer.lock file into version control, deploy to production and run composer install
#jonnybarnesor would I needd to reverify the package in production as well?
fourtonfish and ShaneHudson joined the channel
#barnabywaltersjonnybarnes: I’m not actually sure. IIRC composer stores the hash of the checkout in composer.lock, so it should be fine to verify locally and install clean on the server
cuibonobo, brianloveswords, eschnou, chrissaad, Acidnerd, ShaneHudson, glennjones, julien51, snarfed, simsketch and fourtonfish joined the channel
#jonnybarnesso for normal use I added an alias to my .zshrc file
#jonnybarnesbut git obviously hasn't picked this up
#gRegor`!tell tantek Glad you got it to work. I tend to think it's something the webhost should resolve in a shared server situation, instead of the software creating a new directory. In your instance the session save path was under your directory, but a lot of times it isn't, so code to auto-create isn't going to work.
#jonnybarnesmaybe if I made a symlink from .../bin/gpg to .../bin/gpg2?
#Loqitantek: gRegor` left you a message 42 minutes ago: Glad you got it to work. I tend to think it's something the webhost should resolve in a shared server situation, instead of the software creating a new directory. In your instance the session save path was under your directory, but a lot of times it isn't, so code to auto-create isn't going to work.
#ShaneHudsonaaronpk: I don't really have much time at the moment (never have time!) although that does sound good. Thinking about migrating to Craft, that has a very nice interface and easily adds custom post types etc.
#ShaneHudsonaaronpk: hmm that is tempting, but don't thik I can commit to that at the moment, sorry! If I do migrate to craft though I will make sure to open source any indieweb plugins :) So far on Wordpress I've been using other people's
#bretjekyll decided that subfolders in its _posts directory were actually suppsoed to assign category (like a tag but ends up in the url) where it used to just flatten any directory structure on compile time
#ShaneHudsonYeah I think both are (as far as I know) still in a state that requires a lot of TLC, which I can't give right now :(
#bretaaronpk, i got gitpub working for arbitrary micropub clients. still needs a lot of work, but it currently works with all clients.
#aaronpkKnown is in a much better state than p3k, probably safe to jump in on it
#tantekgRegor`: cool. I'm having trouble following your reasoning in your most recent reply.
#gRegor`Often the session save path is outside of the user's space, e.g. requires root access. If session_start failed with /usr/tmp/ your code wouldn't be able to create it. (And it likely doesn't need to be created... some other problem.)
#gRegor`Basically, on a shared host, session_start should work out of the box and, personally, I would be inclined to just have the webhost fix whatever the problem is, not have software attempt to create the directory.
#tantekgRegor`: "Often the session save path is outside of the user's space, e.g. requires root access." <-- need examples
#gRegor`If the software attempts to create it, it should also handle the situation where mkdir fails
johncash joined the channel
#gRegor`tantek: A lot of times session save path is just /tmp
#tantekgRegor`: none of what you're saying demonstrates any harm in the software attempting to create the directory.
#tantekalso, I have yet to see a situation where a) session dir does not exist, AND b) software is unable to create it - so if you know when that has happened, please provide specifics (e.g. hosting provider)
#gRegor`Wasn't necessarily saying it's a downside. A preference. If the *default* session.save_path on a shared host is not working, I would prefer the webhost set it up properly.
#tantekotherwise I will wave it off as unlikely hypothetical
#gRegor`I'm still surprised / curious about the cause of your session directory not existing. :) I've never seen that before, much less a scenario where b) needs to happen
#cuibonobotantek: that post about tent is very old (even though the gist says it was posted 2 days ago). right now tent is a ghost town.
#tantekcuibonobo: "ghost town"?!? really? what happened? and when did that happen?
willnorris joined the channel
#tantekgRegor`: well, b) *did* happen, so now my software is patched in case it were to happen to someone else (or on another server) in the futue.
#Loqitantek meant to say: gRegor`: well, b) *did* happen, so now my software is patched in case it were to happen to someone else (or on another server) in the future.
#tantekis still having difficulty with 8 finger typing (3 and 5)
#gRegor`and in case their PHP setup resembles yours :)
#Jeenabut the protocol didn't let me, the upgrade procedure from 0.3 to 0.4 Server fucked up the relations to everybody and there was no way to refollow because they already followed my domain. The only way was to remove my entry from their databases but nobody had access to the one providers database
himannylopez joined the channel
#cuibonobobret: the justification was that self-hosting would lead to technically-minded people eventually hosting tent servers for their friends, but that posed a security risk
#cuibonobobret: tent currently functions under a "trust the server" model, where stuff is stored on the server unencrypted. so the pivot was so that only "serious hosters" would take the time and effort
#tantekbret re: "tent has a pretty web page" - just goes to show how a pretty marketingy designery web page for a project means nothing in the long term (1 yr+)
#gRegor`If (part of) your goal is to avoid issues with other people installing Falcon and their PHP setup being messed up, I think you should go the extra mile and check if mkdir failed and display a user friendly message. Again, a preference. Obviously if your current code fails, they'll get the same message as if your code wasn't there.
#gRegor`This is why my preference would be to have the shared host fix their PHP setup, so your software isn't responsible for attempting to fix various installs.
#kylewm!tell snarfed for finding twitter replies, do you remember why bridgy uses search/tweets instead of statuses/mentions_timeline?
#tantekgRegor`: I think it is useful to reduce the number of situations where the user sees an error and/or has to file a support ticket. the logic is that simple.
#tantekwhich means each such improvement stands on its own.
#tantekand does not imply any need for any others.
#tantekdarnit I really need to just build the post create/edit/delete/undo UI flow I came up with and sketched in 2011
paulcp joined the channel
#aaronpkwe should document undo as part of micropub
#tantekaaronpk - perhaps after someone (anyone?) implements undo as part of their posting UI?
#aaronpkif micropub spec'd out all the operations needed for that UI you sketched, then micropub clients would support that
#tantekI'd rather see a functional UI prototype inform the design of the protocol
#tantekthan attempt to add undo to the protocol imagining how it would work in the UI
#tantekeven if such imagining is/was/were my own sketches
#aaronpki'm trying to not add any further post management UI to p3k right now, instead building those UIs as separate services that communicate via micropub
ShaneHudson joined the channel
#tantekI too am not adding any (further) post (***) UI to Falcon, instead building support for more publishing features to replace my Twitter use-cases.
#cuibonobotantek: would that UI sketch happen to live somewhere? I can't find it on the wiki
#tantekcuibonobo: unfortunately only in old tattered paper form, before I got super-thorough about putting everything on the wiki :/
#tantekI'm trying to add to the wiki whenever a) I get something new to implement, or b) as I implement/fix something (anything)
#tantekhence my attempts to document the /PHP session config struggles
snarfed joined the channel
#Loqisnarfed: kylewm left you a message 2 hours, 10 minutes ago: for finding twitter replies, do you remember why bridgy uses search/tweets instead of statuses/mentions_timeline?
#snarfedkylewm: ah yes. tl;dr: finding full tweet reply chains iz hard
#snarfedkylewm: mentions_timeline is great, but you have to auth as the user being mentioned, so it's only half of the story
#snarfedkylewm: you can get replies to you, but you can't replies to those replies from other people
#tanteksnarfed, if I POSSE a post to a public email list - what do you think of Bridgy subscribing and sending webmentions for replies on that list?
#tantekalso as each email reply on a public list typically has a permalink URL, that has to be useful in some regard for post->POSSE->email->reply->backfeed->post
#tantekone could also post a "reply" to a public email list archive message pemalink, and include a reply-context from that permalink
#snarfedit's not an itch for me personally right now, so we'd have to find someone else to implement it in bridgy (tantek? npdoty?), but there's a big chunk of up front design work before that anyway…and the design work may be valuable enough on its own
#tantekright - so that's the piece (that up front design work) that I think I can help with
#tantekand we'll see if anyone else is itching on this at that point
#cuibonobo"Concerning the topical domains of the published data, we found out that the dominant
#cuibonobodomains are: persons and organizations (represented using all three formats), blog- and
#cuibonoboCMS-related metadata (represented using RDFa and Microdata), navigational metadata
#cuibonobo(represented using RDFa and Microdata), product data (represented using all three
#cuibonoboformats), and event data (represented using a Microformat)"
#cuibonoboit's weird that microformats are used more than RDFa or Microdata, yet they are primarily only used for people and events
#cuibonobo"Concerning the structural richness of the published data, we found out that many websites only use a small set of rather generic properties to describe entities."
awolf and techlifeweb joined the channel
#cuibonoboi suppose microformats2 puts a kink in this data. i'd love to see data on uF1 vs uF2 adoption
#tantekand it's been the easiest thing to deploy to get rich snippets in google et al since 2009
caseorganic joined the channel
#tantekrdfa support was claimed but not actually supported for many months (maybe late 2009 or early 2010). and no microdata support til 2011. so they're obviously going to be way behind.
#techlifeweb!tell snarfed Look's like you are getting around the brid.gy quirk "incoming webmentions come from me" on your site. How? Template code?
#tantekwe don't know if/when google et al will (or is) parsing uf2. they've expressed interest in various channels due to the simpler parsing model and canonical JSON/data output of uf2 (makes it quite easy for them to add support)
#cuibonobotantek: oh! i didn't mean search engines. i meant people actually using them on their websites.
#cuibonobogiven that, say, they visited the microformats years ago and haven't since
#cuibonoboor they're looking at an old blog post or something
#tantekcuibonobo: sure, I just meant search engines as one driver responsible for some of the disparities you're seeing
#tantekthe open web crawls have shown similar results
#tantekeven recent crawls show microformats as far more used than all others put together
j12t_ joined the channel
#tantekeasier, lots of resources, and there happens to be a community of helpful folks
#kylewmtechlifeweb: that's an issue with wordpress.com (and Disqus and Blogger), snarfed's WP is self-hosted
#cuibonobotantek: yeah, the paper i was reading shows a very wide microformats adoption and it's from 2013
#cuibonobobut the class names they were looking at were for microformats1, which got me to wondering
#mlinksva_i'd love to see uf2 data too. i looked to see if in latest webdatacommons extract and no. i believe path to get there would be to add uf2 parser to any23 there's an open issue https://issues.apache.org/jira/browse/ANY23-207
#techlifewebkylewm: I'm self hosted too and I have the issue
#tantekthanks mlinksva - do you have the ability to comment on that issue?
snarfed joined the channel
#Loqisnarfed: techlifeweb left you a message 8 minutes ago: Look's like you are getting around the brid.gy quirk "incoming webmentions come from me" on your site. How? Template code?
#snarfedtechlifeweb: looks like you're on self-hosted wordpress? not wp.com?
#cuibonobomlinksva: i did not realize you were Mike Linksvayer!! I follow your blog and really love your copyright stuff. It has been a huge influence on me!
#techlifewebsnarfed: no problem. pfefferle was mentioned somewhere along the line as I was setting things up and it got confusing (mostly because I'm still wrapping my mind around the various indieweb terms). I've got a Google Doc I'm writing up things as I get them configured in Wordpress so I'll post that someday soon when thing smooth out on my site.
#techlifewebtantek: I installed indieweb plugin then when I signed up for brid.gy it said my webmention endpoint was not correct as I think he's looking for the <a rel="webmention" href="https://www.brid.gy/webmention/wordpress"></a>
#snarfedkylewm: :P nah it's just confusing. this is one of the sanity checks for when you're signing up as a wp.com blog, and we tell you to add the endpoint to your html, and then we check that you did it right
#tantekthanks for the clarification snarfed, techlifeweb
Pierre-O joined the channel
#techlifeweb!tell tantek I installed indieweb plugin then when I signed up for brid.gy it said my webmention endpoint was not correct as I think he's looking for the <a rel="webmention" href="https://www.brid.gy/webmention/wordpress"></a>
#Loqitantek: techlifeweb left you a message 1 minute ago: I installed indieweb plugin then when I signed up for brid.gy it said my webmention endpoint was not correct as I think he's looking for the <a rel="webmention" href="https://www.brid.gy/webmention/wordpress"></a>
#techlifewebKartikPrabhu: that's what I get for looking under "t" and now "@t" in my IRC list :P