#dev 2018-04-10

2018-04-10 UTC
snarfed joined the channel
#
tantek.com
edited /Category:building-blocks (+854) "why with TimBL quote, building blocks instead of stack"
(view diff)
eli_oat joined the channel
#
tantek_
snarfed++ great job capturing that pattern / principle
#
Loqi
snarfed has 55 karma in this channel (375 overall)
#
tantek_
bridge all the things << plurality
#
tantek_
plurality << bridge all the things
#
grantcodes
tantek: I was actually thinking of doing images of text notes for Instagram as a silly side project.
#
tantek_
what is rel=subscribe
#
Loqi
rel-subscribe is an experimental rel value for linking from your home page to your subscription endpoint, and is currently prototyped by Aaron Parecki on aaronparecki.com; try the Follow button in the right side of the footer of his home page or any permalink https://indieweb.org/rel-subscribe
#
tantek.com
edited /plurality (-69) "emojicon"
(view diff)
#
loqi.me
edited /418 (+63) "tantek_ added "[[events/2018-04-18-homebrew-website-club]]" to "See Also""
(view diff)
renem and [eddie] joined the channel
#
[eddie]
!tell aaronpk Have you documented anywhere the mf2 -> jf2 conversion done by Xray/Webmention.io? I’m wanting to build an opposite conversion function so that when I get a webmention.io ping, I can just feed that into a function and get mf2 back
#
Loqi
Ok, I'll tell them that when I see them next
#
aaronpk
What do you need documented other than jf2 itself?
#
aaronpk
You should be able to expand it to either mf2 json pretty easily, just turning everything back into arrays if they are not already, and stashing everything in a "properties" object
#
Loqi
totally
eli_oat joined the channel
#
[eddie]
That’s true. I was thinking more of a canonical list of attributes that need to be converted to arrays
#
[eddie]
But that’s true, if it’s not an array, convert to array, makes sense. I’ll try that out and see what it gets me :)
#
aaronpk
Yeah that should work for converting to mf2 JSON
#
aaronpk
I should document the vocabs it parses tho for people wanting to actually render the content
toomim and tantek_ joined the channel
#
tantek_
benthatmustbeme did that with his stream.thatmustbe service (convert jf2 to mf2 in a nicely usable way)
#
tantek_
the /RSVPs display on my indie events depends on exactly that
#
GWG
Does anyone strip EXIF data from images?
[miklb] joined the channel
#
[miklb]
I run my images through ImageOptim so I’m assuming I do.
#
Loqi
[dshanske] #69 Photos Uploaded Automatically Show Location
#
GWG
[miklb]: Nice?
#
[miklb]
it’s a Twitter meme
#
[miklb]
the issue number
#
GWG
Oh. Didn't realize
[miklb] joined the channel
#
[miklb]
I don’t know EXIF data stuff. I believe petermolnar has done a lot in that arena
#
GWG
I know, but this is a privacy question
#
@thorkon
Dear @gRegorLove - is there any ProcessWire webmentions Modul/Plugin working on the current pw version 3.0.98 ?
(twitter.com/_/status/983585164336001024)
AngeloGladding joined the channel
#
@gRegorLove
↩️ I have an in-progress PW3 branch that should work, though I haven’t tested it in a while. If you try it out, please let me know any issues you run into. In the coming months I should be able to get an official release out. https://github.com/gRegorLove/ProcessWire-Webmention/tree/master-pw3
(twitter.com/_/status/983586453748842496)
#
gRegorLove
lol miklb
#
gRegorLove
It's on my list to strip EXIF
#
gRegorLove
That's some good inspiration to work on that updated plugin. I honestly have never known if anyone else in ProcessWire land was using it.
#
Zegnat
I seem to recall petermolnar is keeping EXIF. But he might strip GPS.
#
@thorkon
↩️ Thank your for that quick reaction! I‘ll try to run it these days. I‘m not into webmentions yet at all, so if I won‘t get it working it might be just my fault.
(twitter.com/_/status/983589115080904704)
cweiske and [kevinmarks] joined the channel
#
petermolnar
gRegorLove: why would you strip exif? That data is part of the photo.
swentel joined the channel
#
sknebel
it's a bit questionable if something e.g. reveals a location without it being obvious that it does
j4y_funabashi and [pfefferle] joined the channel
#
@sonniesedge
It's still extremely basic, but I got inbound webmentions running on a static server-side generated website! 🎉🍾 #indieweb.
(twitter.com/_/status/983637204248485889)
#
petermolnar
I found a weird bug with my search system: looking for "ssh-agent" resulted in HTTP 500; turned out to be a known issue with sqlite3 query parameters, because the query get's interpreted as ssh -agent, telling there's no "agent" column - which is true. Does anyone have any experience on how to avoid this?
#
cweiske
what's the SQL that you sent to sqlite?
#
petermolnar
maybe if I put it in quotes, that'll help
#
cweiske
you don't quote the search query?
#
cweiske
sql injection?
#
cweiske
bobby tables?
#
petermolnar
for some reason I assumed the sqlite3 lib is taking care of that the way it's done
#
cweiske
ah, because you use .execute
#
cweiske
then the question is why MATCH is interpreting a quoted query as a column name
#
@sonniesedge
↩️ I'm going to write about the webmentions , the @pinboard integration, and how the site has been built with Metalsmith and @netlify up into a post. #indieweb But for now you can look at the files on Github to get a rough idea. 😁https://github.com/sonniesedge/sonniesedge-website/
(twitter.com/_/status/983639519248506880)
#
dgold
hello everybody!
#
Zegnat
Hiya dgold!
#
dgold
sorry, wrong channel :)
#
dgold
but, hello everyone here, regardless
#
petermolnar
ok, wrapping the ? as '?' doesn't help
#
dgold
if installing a PHP script with composer, and if the script author has created a composer.lock file, and included that lock file with the script (under version control)
#
dgold
doesn't that kinda mean that the script author intends you to use those specific versions of the dependencies with their script?
#
cweiske
generally yes
#
cweiske
libraries should not have their composer.lock committed
#
dgold
unsure if this was a -dev or not query
#
cweiske
applications usually have composer.lock committed
#
dgold
cweiske: I'm unsure which category my nanopub falls into - i'm thinking application(?)
#
Zegnat
Yes, you should probably checkin the lock file for nanopub. That way, if people ask for support, you can be somewhat certain they are setup the same way as you. (That is: exactly the same dependencies got loaded.)
#
dgold
thank you (phew) I have a bug report which (while it also contains valid bugs, which I am fixing, and happy to do so) complains because the user ran composer update and broke the script
#
Zegnat
Lock files (both from composer [PHP] and npm [JS]) are there so builds are reproducible :)
#
@sonniesedge
↩️ BTW, many thanks to @adactio for tuning me into webmentions and related #indieweb concepts. ❤️
(twitter.com/_/status/983640832300503040)
#
dgold
Zegnat: I did, for that reason. Added the .lock file (I think on your recommendation, actually)
#
cweiske
petermolnar, you need some way to convert the string into a phrase
#
cweiske
which will be hard
#
cweiske
depending on what features you want to support
#
petermolnar
thanks for the find
#
dgold
(this is my first bugfix using spacemacs, I just realised)
#
dgold
Zegnat: I love what you're doing with grapefruit
[kevinmarks] joined the channel
#
Loqi
ok, I added "https://www.joelonsoftware.com/2000/05/24/strategy-letter-ii-chicken-and-egg-problems/" to the "See Also" section of /bridge_all_the_things https://indieweb.org/wiki/index.php?diff=46778&oldid=46772
tantek_ joined the channel
#
swentel
hmm question about 'author' discovery in posts. indiewebify.me says adding rel="author" anywhere on the page should be fine, but tried a couple of variants, no luck so far. Why would <a href="/" rel="author"></a> not work? (or should it be outside the h-entry?
#
Zegnat
I think rel="author" is discouraged practise, but not withstanding that, a rel="author" could go anywhere on the page. Yes.
#
Zegnat
There might be some bugs in authorship discovery on indiewebify.me though. Could you test with https://sturdy-backbone.glitch.me/ , swentel?
#
swentel
Zegnat, oh, interesting
#
swentel
it found it now
#
swentel
hmm, k, need to reimport everything in Aperture now so I actually see my own picture and name in the timeline ..
#
swentel
unless aperture doesn't follow back to the homepage of course
#
swentel
should check with aaron
#
Zegnat
Not sure. If Aperture uses XRay you could check what http://xray.p3k.io/ does.
#
swentel
hmm, looks like it should work now if I'm reading the code right
#
swentel
ok, crossing fingers ..
deathrow1, eli_oat and [kevinmarks] joined the channel
#
[kevinmarks]
i don't think xray fetches the homepage, but it will reuse an h-card elsewhere on the page with the same url but more info iirc
#
@jgmac1106
I need to start writing some scripts. Currently have to update my class website and my class syllabus each week. Been thinking if there is a place for webmentions in my weekly html pushes. #indieiweb
(twitter.com/_/status/983660515724546048)
#
Zegnat
dgold, how is the font size / contrast on grapefruit for you?
#
dgold
its actually fine, for me. little small, but that's just cos i'm ancient :)
#
Zegnat
It should be 100% of your browser’s preferred font size, so you could tweak that.
#
dgold
scrolling is odd too - I think your red bar at the top is setting a width that far exceeds your text content
#
Zegnat
I am using colours from http://chriskempson.com/projects/base16/ , playing around with the idea to make the theme choosable, much like on that page.
#
Zegnat
It shouldn’t, the bar should match the width of body, which is the width of your browser
#
dgold
in safari tp, its setting a width about 125% of browser window
#
Zegnat
I’ll check that out, thanks for the pointer!
#
dgold
oooh! I also am playing with base16!
#
dgold
<snap>
#
Zegnat
Nice!
#
swentel
[kevinmarks], well, there's this piece code:
#
swentel
/ 7.1 "get the author-page from that URL and parse it for microformats2"
#
swentel
$authorPageContents = self::getURL($authorPage, $http);
#
swentel
haven't checked the complete code path, will see what happens .. :)
#
Zegnat
Hmm, I should add a timer to grapefruit so I know how long it takes to generate the site. See how long I can keep up with all you Hugo users.
#
cweiske
!tell aaronpk the page titles loqi shows for e.g. https://indieauth.com/setup are not helpful
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
IndieAuth.com
#
Zegnat
Loqi is identifying the entire website (even non-homepage pages) as h-x-app looks like.
#
skippy
dgold: sorry for running `composer update`. this is the first time I've used composer, so workflow is new to me.
#
dgold
no problem, skippy
#
dgold
i hope my comment didn't come across as mansplaining
#
skippy
not at all. legit query.
#
dgold
oh, and you really really shouldn't be running composer as root
#
dgold
bad practice
#
skippy
sure; but my PHP is in a container.
#
skippy
and my container doesnt have sudo.
#
skippy
suppose i could `su` to www-data.
#
cweiske
if you're in a container it's probably fine
#
skippy
that was my thinking.
#
cweiske
.. but if you mounted some directory from the host into your container, you can do anything as root in it inside the container
#
cweiske
so don't mount / into the container :)
#
skippy
unless i had selinux enabled, which prvents some of those attack vectors.
#
skippy
but i dont have selinux enabled. :)
tantek_ joined the channel
#
tantek_
!tell snarfed WDYT of https://counter.social/about ? Specifically have you (or could you) test(ed) fed.bridgy to it?
#
Loqi
Ok, I'll tell them that when I see them next
eli_oat and [snarfed] joined the channel
#
[snarfed]
tantek: looks like it's just Mastodon with some extra opsec-inspired hardening? bridgy fed should work with it as long as that extra stuff doesn't interfere. feel free to try it!
#
Loqi
[snarfed]: tantek_ left you a message 24 minutes ago: WDYT of https://counter.social/about ? Specifically have you (or could you) test(ed) fed.bridgy to it?
#
tantek_
snarfed, the reason I ask is they appear to have broken Federation with other Mastodon instances (nothing from others show up on the home page for example).
#
tantek_
so I figured I'd ask you as I'm expecting it *may* fail and if it does, you'll have a much better chance at debugging. Or if it "just" works, then you can list fed.bridgy as explicitly having interop with CounterSocial as well
#
tantek_
Hey static site users/devs, consider answering this: https://twitter.com/drewm/status/983634762433810432
#
@drewm
What do you think the best use cases are for a static site generator?
(twitter.com/_/status/983634762433810432)
#
[snarfed]
do you know they broke federation? or you just don't see anything federated in the home page?
powww joined the channel
#
tantek_
snarfed, strong evidence (by AP devs) that they've broken it, deliberately: https://chat.indieweb.org/social/2018-04-04#t1522847327579500
#
Loqi
[Loqi] [@GingerGathering] #Countersocial is simply the best Social Media experience on the internet. #SorryNotSorry #Mastodon. We could've been friends. Don't let the door hit your butt on the way out. https://pbs.twimg.com/media/DXbPRnaX0AEAt8p.jpg
onlinemarketinga joined the channel
#
[snarfed]
ok. sounds unclear but possible based on that conversation
#
loqi.me
created /tapiriik (+209) "prompted by sknebel and dfn added by sknebel"
(view diff)
#
kaja.sknebel.net
edited /tapiriik (+1) "linkify ('… is <url>' pattern)"
(view diff)
#
[snarfed]
if they did break freshen, bridgy fed won't work
#
[snarfed]
sounds low priority to test, but i can add it to my list!
#
[snarfed]
er s/freshen/federation/
#
tantek_
yeah I'm feeling the same way about defining CounterSocial on the wiki at all
#
[snarfed]
wait a while and see if it ever comes up again
#
[snarfed]
the script kiddie ish signs are definitely a turn off
leg joined the channel
#
aaronpk
good morning
#
Loqi
aaronpk: cweiske left you a message 1 hour, 59 minutes ago: the page titles loqi shows for e.g. https://indieauth.com/setup are not helpful
#
Loqi
good morning
#
aaronpk
oh huh looks like I have too much mf2 on that page
#
@megarush1024
That time you’re googling to try to find a link you forgot to bookmark, and you run across a post from @ChrisAldrich and while scrolling through the comments you realize that whole respond via webmention from your own comments section thing actually worked. Yeah! #indieweb
(twitter.com/_/status/983705534896529409)
#
skippy
dgold: looking at nanopub, it looks like you only use Symfony's yaml functions in two places. Curious why you chose that over PECL YAML? http://php.net/manual/en/yaml.installation.php easier to install?
#
aaronpk
that yaml installation requires installing it via the system's packaging. like on ubuntu it's `apt install php72-yaml`
#
skippy
nods.
#
aaronpk
so if you're on a shared host or something and can't install extensions, the php-only one is better since you can actually install it
kapowaz joined the channel
#
Loqi
ok, I added "http://sighjavascript.tumblr.com/" to the "See Also" section of /js;dr https://indieweb.org/wiki/index.php?diff=46784&oldid=46557
#
aaronpk
lol at first I thought the "well done" prefixes were sarcastic
#
aaronpk
that was confusing
#
dgold
skippy: what he said
#
aaronpk
fixed markup on indieauth.com
#
Loqi
IndieAuth.com
#
aaronpk
also did some minor copy updates in the mean time
#
aaronpk
next up is making loqi not say the page name if the entirety of what loqi is about to say is also the URL
#
aaronpk
that's been bugging me for a while
#
dgold
skippy: i wouldn't have yaml in there at all, for preference, but it was pretty trivial to implement
mifga joined the channel
#
skippy
dgold: sure; but it brings in Symfony's dependencies, which increases nanopub's footprint. not complaining; just observing.
#
skippy
before i start trying to make a PR for plugins, trying to grok what's there. Don't want to be a bull in a china shop!
[jgmac1106] joined the channel
#
dgold
it shouldn't, it should only pull in symfony/yaml
#
dgold
just checked, yup, that's all it sucks in
#
skippy
dgold: that's what i meant.
ancarda and kaushalmodi joined the channel
#
kaushalmodi
What is grapefruit?
#
Loqi
It looks like we don't have a page for "grapefruit" yet. Would you like to create it? (Or just say "grapefruit is ____", a sentence describing the term)
#
Zegnat
kaushalmodi, https://grapefruit.zegnat.net/ - no reason to document on the wiki. Just testing things.
#
kaushalmodi
Zegnat: Thanks, I was just curious, because I saw that work pop up few times here :)
barpthewire joined the channel
#
petermolnar
is grapefruit a relative to chicken posts?
#
Zegnat
Honestly, I just needed a placeholder name. Was looking at the XKCD colour survey, saw that people identified grapefruit as a colour, and ran with it
#
Zegnat
The bar at the top is grapefruit (#FD5956)
#
aaronpk
if orange can be a color why not grapefruit too
#
Zegnat
the whole thing might soon 301 to licit.li, if I like it enough
jeremycherfas joined the channel
#
jeremycherfas
Because orange the fruit started as orange the colour, IIRC
tantek_ joined the channel
#
tantek_
aaronpk because grapefruit is ambiguous pink or yellow
#
jeremycherfas
Oranges can be green outside, and perfectly ripe.
#
aaronpk
or red
#
jeremycherfas
--> #chat so as not to annoy all the devs? No wait, you are all the devs
#
tantek.com
edited /Planning (+408) "Berlin 2018!"
(view diff)
#
tantek_
what is notist
#
Loqi
notist is a forthcoming silo for hosting one's speaking events, slides, but also meant to collate feedback, tweets, photos, sketchnotes to create a permanent speaking portfolio https://indieweb.org/notist
#
Loqi
ok, I added "https://twitter.com/benotist/status/982603063994220544" to the "See Also" section of /notist https://indieweb.org/wiki/index.php?diff=46786&oldid=44863
#
tantek.com
edited /Planning (+117) "/* Brighton */ Ampersand web typography conference"
(view diff)
[kevinmarks] and snarfed joined the channel
#
aaronparecki.com
edited /site-deaths (+534) "/* 2018 */ Polyvore"
(view diff)
[gerwitz] joined the channel
#
[gerwitz]
Does anyone have a “canonical” set of example micropub requests?
#
skippy
likely defined in https://www.w3.org/TR/micropub [gerwitz]
#
[gerwitz]
indeed…but I was hoping for some more complex examples. ¯\_(ツ)_/¯
#
[gerwitz]
I guess the help pages on ownyour* services will be good 😉
#
aaronpk
quill has a lot of different types of posts too
#
swentel
aaronpk, does aperture cache microformat feeds, even if you tell it to delete everything ?
#
swentel
I'm trying to fix my feed markup (author to be specific), bit messing it up now heh
#
aaronpk
yeah the delete is just removing it from the channel, not deleting it internally
#
swentel
author info is still not showing up
#
swentel
using http://xray.p3k.io to test my timeline, guess I have to read the authorship discovery again
#
aaronpk
what's the feed url you're trying?
#
aaronpk
I don't see any author info there
#
aaronpk
oh are you trying rel=author?
#
swentel
tried that, but didn't work
#
swentel
now trying with <a href="/" class="u-author"></a>
#
swentel
been going through findAuthor()
#
aaronpk
XRay will find that, but I don't think Aperture does the extra step of fetching the home page URL
#
swentel
and it should go to the homepage if I'm reading right
#
swentel
aah hmm
#
aaronpk
Aperture only uses the data on the feed page
#
aaronpk
so if you include a visible or hidden h-card on that page with the same author URL then it'll find it
#
aaronpk
fetching the home page URL has implications I was not ready to deal with in Aperture so I left that step out for now
#
swentel
alright, but then outside the h-feed
#
swentel
or that doesn't really matter?
#
aaronpk
I don't see an h-feed on that page at all
#
swentel
yeah, that was there a few minutes ago heh
#
swentel
been messing around the last 30 minutes
#
aaronpk
if you do have h-feed then you can make it the author property of the h-feed
#
aaronpk
if you want just the list of h-entrys then it can be an h-card at the bottom by itself
#
swentel
ok, let me try
#
swentel
If I can fix that, then I'm ready to start alpha releases for indigenous
#
swentel
it's the one thing that has been bothering me the last two days lol
#
swentel
I see your or marty's picture nicely in the feed, but mine is empty hah
#
swentel
(and not even a name either)
#
swentel
now it only finds one entry
#
swentel
interesting results :)
#
aaronpk
there's a special mode to tell it to expect a feed
#
aaronpk
that looks right!
#
swentel
oh yeah, that's better
#
swentel
let's see if it shows up now in aperture *crossing fingers*
snarfed joined the channel
#
swentel
probably still cached :/
#
aaronpk
you're using my aperture.p3k.io not your own install right?
#
swentel
aaronpk, no using account you gave me on https://aperture.p3k.io
#
aaronpk
yeah that's what I mean, k
#
swentel
but I've been thinking to setup one though
#
swentel
so I can mess around more
kaushalmodi joined the channel
#
kaushalmodi
swentel: I went throught this h-card exercise few weeks back. See the source of https://scripter.co/ if it helps
#
kaushalmodi
I set h-card in the footer of each page in my site
#
aaronpk
!date 2018-04-11 16:09:58
#
Loqi
2018-04-11 16:09:58 is 2018-04-11 09:09:58 PDT
#
kaushalmodi
and then set just the <a href="/" class="u-author"></a> in each h-entry
#
aaronpk
whoops just missed the window
#
swentel
kaushalmodi, yeah, doing that excercise now for the drupal module, it's trying, and a lot of failing heh
#
aaronpk
looks like it's not going to check your site again til tomorrow
#
swentel
ah damn :)
#
aaronpk
I might be able to trick it
#
aaronpk
I really need that "poll now" button
#
swentel
I was thinking that, I'll write one maybe ;-)
#
swentel
or 'Kill this feed for real' haha
#
aaronpk
someone else must be subscribed to that because if there's only one subscriber in the aperture instance it will actually stop following it and delete it completely
#
aaronpk
looks like my hack worked! do you see it now?
#
swentel
hmm no, doesn't show up
#
swentel
I see old entries still in https://monocle.p3k.io too which don't even exist anymore
#
aaronpk
yeah it doesn't delete anything
#
aaronpk
since things not being on the page don't mean they've been deleted
#
aaronpk
(old items fall off the bottom of the page usually)
#
aaronpk
and aperture doesn't do any permalink fetching to check for actual deleted content yet
#
aaronpk
I thought it would handle updating existing content from the page though
#
aaronpk
try adding a new post and i'll trigger the fetch again
#
swentel
ok done
#
aaronpk
k give it a minute
#
aaronpk
check now?
#
swentel
not yet in
#
aaronpk
that's weird, it thinks it didn't change
#
Zegnat
Reading this, Aperture doesn’t have an author on grapefruit either, does it? :(
#
aaronpk
it doesn't, but I think that's a bug rather than something you need to change
#
swentel
ok, no worries, have to run now home anyway
#
swentel
feel free to completely kill my timeline if you want :)
#
Zegnat
I always think the bug is with other people’s software, aaronpk ;) But I should maybe double check
#
aaronpk
Zegnat: as long as your site follows /authorship and doesn't require an additional http request, Aperture should be finding your author info
#
snarfed
"it's a bug in the compiler" 😆
#
jeremycherfas
Can I ask a dumb newbie PHP question? If I have a script that was working, and now is not, can I use die(); effectively as a breakpoint, maybe with a var_dump() just before it to see where things stand?
#
aaronpk
i do that all the time :)
sebsel joined the channel
#
jeremycherfas
Good enough for me! Thanks. There's mno real difference between die; and exit; is there?
#
aaronpk
i believe they are aliases
#
@m_ott
↩️ Der saubere Weg wäre wohl, dass Bridgy (oder wer auch immer den Request abschickt) ne zweite Webmention sendet und dann beim Aufruf der Source ein `410 Gone` zurückgibt. Dann sollte Dein Server die Webmention entfernen. https://www.w3.org/TR/webmention/#updating-existing-webmentions
(twitter.com/_/status/983750331120185344)
snarfed and [eddie] joined the channel
#
pstuifzand
aaronpk, is "before" used for "action=timeline" in Monocle?
#
pstuifzand
How can I invoke it ?
#
pstuifzand
I saw "More" at the bottom
#
aaronpk
that "more" link should just be an href to the URL
#
aaronpk
oh wait are you writing a microsub server?
#
aaronpk
now i understand the question
#
aaronpk
return the paging object with the values you want to use for before/after https://indieweb.org/Microsub-spec#Paging
#
aaronpk
then monocle will write the link to that "more" button
#
pstuifzand
I now sort oldest to newest, More / after will get the next page of results
#
pstuifzand
I haven't found a back button to get more history (older posts)
#
aaronpk
monocle only navigates one direction right now
#
pstuifzand
I added paging yesterday, but now I always start at the oldest post.
#
pstuifzand
I'm think about removing the oldest posts, from the timeline. That way the first post is always the oldest unread item
#
aaronpk
interesting
#
pstuifzand
However this will remove the history (read items)
#
aaronpk
i've been thinking about an option for clients to request the timeline with read items removed or not
#
pstuifzand
It's all in Redis
#
aaronpk
ha neat
#
pstuifzand
So I can't use WHERE id >= after, or something
#
pstuifzand
At the moment the idea is the have two lists for every channel: before and after and keep read and unread items in there
#
pstuifzand
When an item is read, it will move the item from the after list to the before list
#
aaronpk
that makes sense
#
pstuifzand
So at the moment I can start with removing the read from the "after" list and not worry about history
AngeloGladding joined the channel
#
pstuifzand
and then ZCARD "after" is the unread items count
#
aaronpk
redis is fun :)
#
pstuifzand
yes, at some I will need to the GEO features and find the closest posts
#
pstuifzand
that will be easy in Redis
#
pstuifzand
easier than the paging and the timeline
#
aaronpk
i'm really looking forward to playing with http://tile38.com/ which is a similar protocol to redis but specifically for geo stuff
#
pstuifzand
some website ?
#
pstuifzand
looks similar to redis website
#
aaronpk
it's not by the same people but it is inspired by it
snarfed joined the channel
#
pstuifzand
it seems you can use redis client
#
aaronpk
yep! very similar protocol :)
tbbrown joined the channel
#
pstuifzand
I need to remember that
#
KartikPrabhu
what is redis?
#
Loqi
redis is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker https://indieweb.org/redis
[jgmac1106] and iasai joined the channel
#
snarfed
the events and pages edges they turned off are fine; we don't use them. afaict the one real problem is that they turned off user.website (and user.about), which we needed for original post discovery.
#
snarfed
confirmed on an example user who signed up after 4/4: https://brid.gy/facebook/555706984828608 . they have a web site in their facebook profile, and bridgy has the user_website permission, but FB no longer returns the user.website field, and the permission is deprecated.
#
Loqi
Thorsten Konigorski
#
snarfed
that user is getting backfeed, but only because they have original post links in their FB posts
#
snarfed
so, i need to either add UI for FB users to manually tell bridgy their web site(s), or we lose OPD for FB accounts
#
snarfed
ugh indeed
#
snarfed
oh publish too, since we look up the account by domain
[kevinmarks] joined the channel
#
[kevinmarks]
could a rel=me link from the users site to FB be used? - or does auth with fb no longer give that url?
#
snarfed
[kevinmarks]: right, fb no longer gives us the user's web site(s)
#
Loqi
[snarfed] #807 facebook no longer gives us users' web site URLs
#
[kevinmarks]
does it even give you their fb url?
#
snarfed
no, but you can construct it
#
snarfed
funny, the web site link on https://www.facebook.com/Thorsten.Konigorski doesn't have rel-me, but the one on https://www.facebook.com/Thorsten.Konigorski/about does
#
snarfed
i guess i could scrape it. argh. fml.
#
snarfed
actually i can't really scrape it. the profile URLs i can construct require login to redirect to the actual profile URLs
iasai joined the channel
#
[kevinmarks]
Facebook are busily stopping any way of correlating fb id with other data, even if the user wants otherwise
#
snarfed
tradeoffs
#
[kevinmarks]
there is an underlying hard problem here - are apps acting on your behalf or not?
iasai_ joined the channel
#
pstuifzand
Is there a way to reset the view in Together? I switched to the location view and now I get a white page...
#
pstuifzand
In the past i could clear the storage, but that doesn't seem to work anymore
iasai, [kevinmarks] and [jgmac1106] joined the channel
#
skippy
aaronpk: nitpick about micropub spec: the Update section is much looser on HTTP verb than the other sections. https://www.w3.org/TR/micropub/#update
#
skippy
"Updating entries is done with a JSON post". But the other sections are more explicit about "HTTP POST"
#
aaronpk
huh yeah that should have been more explicit
#
aaronpk
"HTTP POST with a JSON content type"
#
skippy
nitpicky. I got what I needed; just noticed the variance.
#
aaronpk
yeah, not sure how that slipped by :)
swentel joined the channel
#
skippy
aaronpk: may I also ask: when creating new content via micropub, there is no "action" specified, correct?
#
aaronpk
correct, you just post the mf2 json object you want to create
#
skippy
or form-encoded values. thank you.
#
skippy
perfect. thank you!
snarfed1 joined the channel
#
skippy
I seem to recall someone in here asking about a single-file PHP twitter library? this looks like one: https://github.com/J7mbo/twitter-api-php
#
Loqi
[J7mbo] twitter-api-php: The simplest PHP Wrapper for Twitter API v1.1 calls
#
Loqi
[Zegnat] Anyone happen to have a 1 file PHP script for POSSE to Twitter at their fingertips? Before I start searching...
#
@jackbaty
I think the only thing I’d need in order to replace my Wordpress-based micro blog with the one provided by http://micro.blog is display of Webmentions.
(twitter.com/_/status/983834133779673088)
tantek_ joined the channel
#
tantek_
re: "“IndieWeb-compatible" - for a while we use "IndieWeb friendly"
snarfed, KartikPrabhu, eli_oat and dougbeal|iOS joined the channel