#dev 2016-07-16

2016-07-16 UTC
#
@pypi_updates2
django-webmention 0.0.4: A pluggable implementation of webmention for Djang... https://pypi.python.org/pypi/django-webmention/0.0.4
(twitter.com/_/status/754115834868592640)
#
@easyaspython
django-webmention 0.0.4: A pluggable implementation of webmention for Django projects. https://pypi.python.org/pypi/django-webmention
(twitter.com/_/status/754117978338320385)
KevinMarks and KevinMarks_ joined the channel
#
sknebel
chat.indieweb.org
gRegorLove joined the channel
#
sknebel
!tell aaronpk: Loqi doesn't quote #-links to chatlog entries? Or is running into log-timezone-trouble there?
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
!tell aaronpk: loqi doesn't quote #-links to chatlog entries? or is running into log-timezone-trouble there
#
Loqi
Ok, I'll tell them that when I see them next
#
sknebel
(lol, did Loqi just try to give a clever answer and gave itself a task?)
#
Loqi
aaronpk: sknebel left you a message 9 minutes ago: Loqi doesn't quote #-links to chatlog entries? Or is running into log-timezone-trouble there?
#
Loqi
aaronpk: Loqi left you a message 9 minutes ago: loqi doesn't quote #-links to chatlog entries? or is running into log-timezone-trouble there
#
aaronpk
what's the problem?
#
sknebel
I'd expect loqi to quote that
#
aaronpk
that has never worked
#
sknebel
oh, ok
#
sknebel
for timezones I opened an issue on github: https://github.com/indieweb/chat.indieweb.org/issues/9
#
aaronpk
wow I totally mis-interpreted everything I read about the new eyefi cards earlier
KevinMarks_ joined the channel
#
gRegorLove
Loqi quotes the line permalink though, right? https://chat.indieweb.org/2016-07-15/1468606160098000
#
Loqi
[sknebel] this looks neat: http://hubpress.io/ - a site generator for github pages that runs in the browser
#
aaronpk
right because it's a single h-entry on the page
#
aaronpk
it's not doing anything special for chat logs vs any other URL
#
gRegorLove
Makes sense.
#
sknebel
yeah, I just was so convinced that loqi is almighty that I thought it did the (IMHO nicer) fragment links too ;)
#
gRegorLove
Fragments are definitely easier for reading w/ context.
#
aaronpk
i need to add back the before/after text on the permalinks
#
gRegorLove
At least it's just one extra click away though
#
sknebel
yeah, maybe that could be made more visible (and of course has the timezone issue right now)
#
sknebel
"show in context" or something
#
aaronpk
you've seen the way this one works right? http://indieweb.org/irc/2016-07-15/line/1468621025113
#
sknebel
yeah, but there I'd also maybe add an upwards/downwards arrow on top/bottom to go to the channel view, for longer discussions
#
aaronpk
yeah it should load those inline too if you have JS enabled
#
aaronpk
i'll do that on the new logs
#
sknebel
that would work as well
KevinMarks, cweiske, KevinMarks_ and tantek joined the channel
#
tantek
aaronpk - it used to with the previous logs!
#
tantek
oh sorry, quoting a line would work, not a fragment of a page
#
GWG
Morning
#
Loqi
good morning
#
tantek
aaronpk: weird, why did a featured photo for an event show up as an actual photo? https://twitter.com/indiewebcamp/status/754061742213169156
#
aaronpk
Haven't we had this conversation before? You wanted the featured photos to be included if there is no actual photo for the event
tantek joined the channel
#
GWG
I have been sitting here mapping out my jf2/mf2 to meta functions
#
tantek
aaronpk - that's odd - we had at least one actual photo
#
tantek
the one of you and max
#
tantek
hence I don't understand what went wrong
#
aaronpk
oh in the tweet?
#
aaronpk
oh i know what happened. part of the spaghetti code mess.
#
tantek
ah ok. inevitable QA + debugging post any major change :)
#
aaronpk
the HWC was the first photo the first time it got generated, and that's how it picks the tweet photo
#
aaronpk
the pivotal one
#
aaronpk
i think right now it's actually downloading each photo again when it generates each copy of the newsletter
#
tantek
BTW I vaguely remember deciding to not post any u-featured photos because they would inevitably be a duplicate of a past photo and make the "this week" newsletter look like an older / duplicate
#
aaronpk
yeah especially when they are photos of people
#
tantek
right
#
tantek
so if there's no new photos in events that past week, then no photo shows up in "this week", which I think is ok as a fallback
#
petermolnar
what is ArchiveBot?
#
Loqi
It looks like we don't have a page for "ArchiveBot" yet. Would you like to create it?
#
petermolnar
ArchiveBot is an IRC bot which is designed to archive smaller websites. See http://www.archiveteam.org/index.php?title=ArchiveBot
#
loqi.me
created /ArchiveBot (+161) "prompted by petermolnar and dfn added by petermolnar"
(view diff)
#
aaronpk
okay just tweaked some things
#
aaronpk
featured photos are no longer used at all
#
voxpelli
has spent the day porting Jekyll ruby methods to node.js: https://github.com/voxpelli/node-jekyll-utils
#
voxpelli
so now I should be able to generate the exact same permalinks that Jekyll itself does
#
voxpelli
even ported the test suite so should be fairly bullet proof (despite javascript regexps)
#
aaronpk
there, and now the newsletter html contains some microformats, and the tweet picks an image by parsing the microformats and finding the first photo
#
miklb
voxpelli how will that change micropub? I haven't switched/updated my micropub endpoint with the new code yet.
#
voxpelli
miklb: it will make it so that the calculated URL becomes the correct one no matter what permalink format one is using
#
miklb
gotcha
#
GWG
In Intro to Plugins....want to see if I'm doing it right.
#
miklb
who is giving the talk?
#
GWG
I am looking forward to "Security isn't an elective."
KevinMarks, KevinMarks_ and bnvk joined the channel
#
KevinMarks
I'm trying out Hugo, and having a site generator that fast is interesting.
tantek joined the channel
#
@aaronpk
@davidmead I just realized the docs in Quill are old and I need to update them. This is the response it expects now https://www.w3.org/TR/micropub/#syndication-targets
(twitter.com/_/status/754434885981351936)
#
aaronpk
wow exif doesn't support timezones
#
aaronpk
and all dates are just local time
#
aaronpk
so i don't have a way to pin it to an actual clock time
#
aaronpk
if there is GPS data in the exif data then I can find the timezone from that
#
tantek
aaronpk, perhaps see what iOS does when its Camera app saves the datetime in photos
#
aaronpk
that's the one i was looking at!
#
tantek
local time including DST offset?
#
aaronpk
no offset
#
aaronpk
exif doesn't provide a mechanism to include the offset
#
tantek
so local to DST as well as tz then?
#
aaronpk
yeah basically what you see when you look at the clock
#
aaronpk
it does include the gps location in the photo
#
tantek
so if your computer clock and ios clock are in different timezones then it transfers incorrectly?
#
aaronpk
I guess it depends on what the computer does
#
aaronpk
my canon DSLR includes the timezone offset in a custom exif field
#
aaronpk
but that appears to be non-standard
#
aaronpk
what a mess
#
tantek
what is EXIF?
#
Loqi
Exif is the Exchangeable Image File Format, the most common format to embed image metadata into images https://indieweb.org/EXIF
#
tantek
maybe worth adding a few notes about that there
#
aaronparecki.com
edited /Exif (+529) "timezone woes"
(view diff)
#
aaronpk
all that because I wanted to set the GPS location of the photo when it's not present, by looking up the GPS coordinates from my location database for the timestamp of the photo
#
aaronpk
GWG: what's the status of returning micropub syndication endpoints in wordpress? davidmead is asking
#
aaronpk
not sure what's worse, not having location data in my photos, or having it be potentially the wrong location by 8 hours
#
aaronpk
hm I think I figured out how to find the actual timestamp for my photos
#
aaronpk
since I have GPS logs of everywhere *I* am, I should be able to query those logs to find when my local time was x, where x is the timezone-less date of the photo
#
aaronpk
only trick is there might be multiple answers, such as when I am flying across multiple timezones quickly
#
aaronpk
that's enough of an edge case I don't mind :)
#
KevinMarks
Ask Joe Smarr about time and GPS - he's worked out the edge cases by now
#
Loqi
[Kevin Marks] The uncanny valley of video editing
tantek joined the channel
#
aaronpk
wow I think I got it
#
aaronpk
if I don't know the timezone for a date, but I do know what my clock said in local time, then:
#
aaronpk
for each timezone offset from -23:00 to +23:00 (yes i'm ignoring 30-minute timezones)
#
aaronpk
interpret the given time in that timezone, and find the location of where I was at that time
#
aaronpk
use the timezone for that GPS location to convert that timestamp to a local time
#
aaronpk
out of the full set of timestamps, find the one that has the smallest difference between the interpreted time and the local computed time
#
www.svenknebel.de
edited /Exif (+129) "/* Timezone Issues */ chat link"
(view diff)
#
aaronpk
actually i think it's easier. once I know the local timezone of where i was i can just find the one that matches the timezone offset
#
aaronpk
aha found a great edge case to test with. a time from right before a plane flight where i cross from +0200 to -0400