#dev 2018-05-13

2018-05-13 UTC
jgmac1106, [jgmac1106], AngeloGladding, [mrkrndvs] and renem joined the channel
#
grantcodes_
I'm trying out building a browser extension to sync my actual browser bookmarks to my site, but I'm trying to figure out the best way to represent a folder structure with microformats / micropub
#
grantcodes_
I am thinking of either using categories with / or mp-slug
#
aaronpk
what about setting the URL in the request and making the URL reflect the folder structure?
#
grantcodes_
That's what I meant with the slug
#
grantcodes_
I think it may run into issues with spaces and whatnot that may be in folder names but not really in urls
#
grantcodes_
I guess I'm also going to make my micropub endpoint queryable for lists of bookmarks as part of this
leg joined the channel
#
grantcodes_
Yeah I can do that, but I want to do 2 way syncing so want to be able to retrieve that data with special characters as well
[eddie] joined the channel
#
[eddie]
That’s pretty cool grantcodes_ ! I’m interested to hear how it turns out
#
grantcodes_
Already pretty close to the first part done :) I can hit a button in my extension and it will make a browser bookmark and send a micropub request too
mblaney, AngeloGladding, tglobe, loicm and sebsel joined the channel; mblaney left the channel
#
Zegnat
grantcodes_, that’s cool! I worked on something similar with an extension that used the bookmarks API to keep track of the browser’s native bookmarks. My only problem was that I never could figure out how to sync changes to already create bookmarks in a good way :/
#
Zegnat
Will be interesting to see what you do!
[mrkrndvs] and [tantek] joined the channel
#
eureka.name
created /Main_Page-zh (+1945) "由eureka首次创建中文译本。"
(view diff)
#
eureka.name
edited /Main_Page (+0) "/* Translations */"
(view diff)
tantek__ and [kevinmarks] joined the channel
#
eureka.name
created /Getting_Started-zh (+2974) "首次翻译"
(view diff)
treora, [kevinmarks], tglobe, [wiobyrne] and [jgmac1106] joined the channel
#
[jgmac1106]
so as part of #mozsprint I am working with a team that wants to create a site hosting recorded success stories of Open Source. That is what I am building https://github.com/jgmac1106/opensciencespace I haven't built the page for the stories but if I had p-location how hard would it be to render a map like they want: https://github.com/OpenStories/website/issues/1
#
Loqi
[jgmac1106] opensciencespace: A quick mock up of a simple HTML site for @
#
[kevinmarks]
You can have spaces in urls if you escape them, but you need to be careful about using ".“ and “/“
#
[jgmac1106]
I am avoiding fact for now that they aren't thinking about backend, storing media etc, and working under cloud it might just word
#
[jgmac1106]
I try not to. My mistake
#
[jgmac1106]
Having a microformats parser find p-location and then render a mark on an Open Map UI is beyond my skill, Not sure if that is even how it would be done,In my head I can see the mark up of the media
#
Zegnat
If the location data contains GPS, that should be easy enough. Problem is when the location is an address of some sort and you need to convert that to map coordinates
#
[kevinmarks]
Then it's eaisier to throw it at Google/foursquare
#
jgmac1106
nevermind all priorities shifted. My seven year old saw me working on my blog and asked how he could get http://dogzone.jgregorymcverry.com on his phone so he can do new posts and likes
#
Loqi
[Ben McVerry] This is Eddie He is in a blanket curled up.  http://dogzone.jgregorymcverry.com/file/356b812b8b54a806cec396d7102e60e2/thumb.jpg
#
Zegnat
jgmac1106, sounds like a great opportunity for a Micropub app ;)
#
Zegnat
Wanted to validate some SQL, turns out cweiske wrote a tool for that!
#
Zegnat
Any people here remember plain SQL and want to tell me if this looks OK? https://github.com/Zegnat/php-mintoken/blob/78517f671fdb4f30354380f803630c2b10b84756/schema.sql
tantek and snarfed joined the channel
#
Zegnat
skippy thanks for the issue on Mintoken! Good to know people are looking at it :)
#
[jgmac1106]
@zegnat That is what I am ultimately thinking. Seeing how easy microblog made podcasting and how stream.indieweb.org works that is all they need and p-location with GPS
#
[jgmac1106]
But I don't invest too heavily in these #mozsprints few projects go anywhere. More about modeling how working open workz
#
Zegnat
That’s actually what I really like about IndieWebCamp hackdays: the projects often go somewhere, because people want to instantly use it on their own websites! :D
#
tantek__
Zegnat, exactly, much more likely when you scratch your own itch
#
Zegnat
As spoken by the guy who isn’t using his IWC Düsseldorf project at all right now
#
Zegnat
Woops
[schmarty] joined the channel
#
[jgmac1106]
@zegnat this is my itch. Have another repo where I am building it for the literacy research community. This template first. Course template next.
#
[jgmac1106]
The h-resume does scare me. I was thinking of having people start by adding a profile page but I think I need to step back and make it add your profile (just an h-card)
#
[jgmac1106]
And now [tantek] has me thinking I need a to learn how to do a holy grail in CSS Grid with a collapsible side nav and media queries before going any further with Bootstrap
#
[jgmac1106]
The course template I use is dead simple
#
aaronpk
Zegnat: what's the reason for the unique constraint on the settings table?
#
aaronpk
Shouldn't that be unique keys rather than unique key+value?
#
Zegnat
No, you can add multiple endpoints ("endpoint", "http://...") there.
#
Zegnat
So they are actually unique tuples, rather than unique keys
#
aaronpk
Oh I see, that was not clear from the name :-)
#
Zegnat
I’d love a better name for that table, if you have any ideas
#
Zegnat
Or for the columns even, and get rid of the prefix again. (both name and value are reserved keywords, so didn’t want to use them as names)
#
Zegnat
naming--
#
Loqi
naming has -1 karma
#
Zegnat
hmm, didn’t we have a word for how hard naming is? :P
#
Zegnat
!karma namingishard
#
Loqi
namingishard has 0 karma
#
jgmac1106
I once had an awesome Zeega presentation on naming things is hard: http://walkmyworld.jgregorymcverry.com/ too bad I only backed it up on storify. Now they are both gone forever
[kevinmarks] joined the channel
#
Zegnat
https://github.com/Zegnat/php-mintoken/releases/tag/v2.0.0 - woop security implemented. I can now sleep soundly again.
[schmarty] joined the channel
#
[schmarty]
zegnat++ for these mintoken and selfauth
#
[schmarty]
sleep++ for sleep
#
Loqi
sleep has 1 karma in this channel (5 overall)
#
Loqi
zegnat has 64 karma in this channel (216 overall)
#
Zegnat
selfauth is not just me working on it. Although I do wonder what % of the functions I wrote.
#
aaronpk
i migiht have to replace tokens.indieauth.com with this :)
#
Zegnat
This one does support revoking tokens ;)
#
aaronpk
and way more thought out security ;-)
#
Zegnat
You would need to tweak it to allow it to give out tokens for *any* auth endpoint though ...
#
Zegnat
Because you need to be able to trust the "me" value
#
aaronpk
i might add a user registration step
#
Zegnat
Also an option
snarfed joined the channel
#
tantek__
jgmac1106: check out Jen Simmons excellent youtube tutorials on CSS Grid
#
Zegnat
I just learned you do not need a mf2 parser to receive webmentions from bridgy, you can just add ?format=json to the end and get the mf2 JSON directly :o
#
GWG
I forgot about that
maingo joined the channel
#
Zegnat
Probably not advisable, but cool
snarfed joined the channel
#
jacky
sleep++
#
Loqi
sleep has 2 karma in this channel (6 overall)
#
jacky
sleep is very nice
snarfed and KartikPrabhu joined the channel
#
sknebel
jgmac1106: shouldn't you still be able to backup stuff from storify for like 2 days or so?
#
@schmarty
GIFs and emojis, WordPress Friends, and just what are Webmentions, anyway? It's your < 10min update on the #IndieWeb community! This Week in the IndieWeb audio edition for May 5th - 11th, 2018. https://martymcgui.re/2018/05/13/142652/
(twitter.com/_/status/995732628262342666)
[schmarty] joined the channel
#
[schmarty]
[jgmac1106]: you have until May 16th to get your storify content. lea verou wrote up a fast way to get the html and json exports of your stories there: http://lea.verou.me/2018/04/quicker-storify-export/
#
Zegnat
I feel like we documented that link?
#
Zegnat
What is storify?
#
Loqi
Storify is a silo for creating collections, shutting down 2018-05-16 https://indieweb.org/Storify
snarfed, [jgmac1106], leg, AngeloGladding, gRegorLove and [miklb] joined the channel
#
[miklb]
I still get stuck with Omnibear in Firefox trying to connect to Micropub using the WP Indieauth plugin. I don’t have a clue how to debug. Hangs on the getting access token step. Any suggestions?
#
[miklb]
on a more positive note, I found out where to add the IWS .dev cert to Firefox so I can view my local https sites.
deathrow1 and snarfed joined the channel
#
aaronpk
ooh add that to /Firefox or /https, i'd love to know
snarfed and [miklb] joined the channel
#
[miklb]
in short at the bottom of about:preferences#privacy is the Certificates section and there’s a button to view certs. Then under Authorities import, and the key for me was to click the options button, which then shows the format type. That allowed me to choose certificate files, which then allows the file browser to recognize the iwc root cert file.
#
[miklb]
Loqi add that to those wiki pages aaronpk listed
#
aaronpk
Firefox << to use a custom root certificate authority: at the bottom of about:preferences#privacy is the Certificates section and there’s a button to view certs. Then under Authorities import, and the key for me was to click the options button, which then shows the format type. That allowed me to choose certificate files, which then allows the file browser to recognize the iwc root cert file
#
Loqi
ok, I added "to use a custom root certificate authority: at the bottom of about:preferences#privacy is the Certificates section and there’s a button to view certs. Then under Authorities import, and the key for me was to click the options button, which then shows the format type. That allowed me to choose certificate files, which then allows the file browser to recognize the iwc root cert file" to the "See Also" section of /Firefox https://indieweb.org/wiki/index.php?diff=47791&oldid=41733
#
[miklb]
well played
renem, AngeloGladding, snarfed, mblaney, [miklb] and KartikPrabhu joined the channel