#dev 2020-02-13

2020-02-13 UTC
deathrow1, [chrisaldrich], [tantek], voxpelli and [LewisCowles] joined the channel
#
[LewisCowles]
[KevinMarks] do you have more info on that LetsEncrypt bug? I use them with both their Route53 and DigitalOcean plugins and haven't noticed anything, but would appreciate a heads up if my world is about to become less fun
#
[KevinMarks]
The problem was that the server is running an old redhat Linux 6, so when they updated python versions it was left behind. They want from v 0.4.1 to 1.1.1 in the last 3 months since I ran the updater, and deprecated older servers.
#
[KevinMarks]
This server is in running code, leave it alone mode. Its an api server with a few firewall approved clients.
[snarfed], [fluffy] and [jgmac1106] joined the channel
#
[tantek]
sivy++ nicely done! character counter helps a lot
#
Loqi
sivy has 2 karma in this channel over the last year (4 in all channels)
#
[tantek]
yay I've helped improve Granary and Bridgy in a small way! thanks for merging snarfed!
#
[tantek]
[jeremycherfas] I'm curious, did you get a notification from https://github.com/idno/known/issues/2691 ?
#
Loqi
[tantek] #2691 Known photo images appear to disappear from old posts sometime after a few hundred...
beko, nickodd, [Michael_Beckwit, [chrisaldrich] and [fluffy] joined the channel
#
sivy
kind wanting to autogenerate barcodes on my site, just cause it's so nerdy
deathrow1 joined the channel
#
GWG
petermolnar: I think I solved the exif problem and can fix it in WordPress Core
gxt, gRegorLove, [dmitshur] and [jeremycherfas] joined the channel; nickodd left the channel
#
[jeremycherfas]
I got an email, yes. Thank you for opening the issue [tantek] ++
swentel joined the channel
#
GWG
I need pictures with exif/iptc data from different hardware.
#
GWG
At the least, a current iPhone and a DSLR
#
GWG
I will solve this problem
#
GWG
And at least one Android device not using the Google camera app
#
GWG
With GPS location on
#
GWG
Can anyone assist?
#
GWG
Timezone issues annoy me
#
swentel
ping me if you downloaded it, will delete after
#
GWG
swentel: Have to work in a few minutes, so will be tonight,l... I will transfer it to my Nextcloud instance..one second
#
GWG
Downloaded, delete
#
GWG
swentel: How old is your phone?
#
swentel
good question
#
swentel
I think about 3 years or so
#
swentel
it's an S7
#
swentel
so probably no TZ
#
GWG
swentel: Older Exif version. What camera app?
#
swentel
GWG, samsung camera app
#
GWG
I wonder if that could change with a different app
#
swentel
that's entirely possible I think
#
swentel
some apps include their own exif classes/libraries
#
swentel
android only comes with an interface iirc
#
GWG
swentel: Can you try with the Google camera app, out of curiosity?
#
GWG
I have an Exif raw viewer on my phone
#
swentel
don't have it installed
#
GWG
I think I have an idea of an algorithm to get the correct photo time
#
swentel
I might definitely steal that then :)
#
swentel
although I could check the drupal exif project, no sure how flexible it is
#
GWG
swentel: I will be writing it up after testing
#
GWG
swentel: If you have a link when you do, curious
#
swentel
the project itself lives at https://www.drupal.org/project/exif, has downloadable tarballs there too
blueyed joined the channel
#
GWG
If you have a photo post, published would be when you published it, what property is for when you took the picture?
#
swentel
hmm micropub property?
#
GWG
microformats property
#
swentel
hmm not sure
#
swentel
one could argue that it could go into published right?
#
GWG
swentel: Okay, so I have a picture I took in 1986 but I posted it today?
#
swentel
ooh right
#
dansup
php exif is not fun
#
GWG
dansup: Any advice on exif in general as a photo person?
#
beko[m]
Exif is somehow everywhere a pain ._.
beko and [xavierroy] joined the channel
#
[xavierroy]
Speaking of exif, I'm trying out a 11ty site that picks up the exif details to create a photo site
TGiske, [grantcodes], [Rose], Mikaela, petermolnar, gxt, jbove and [KevinMarks] joined the channel
#
[KevinMarks]
If you want older exif data check my flickr photos, they go back 2004 on a range of devices
tsrt^ and gxt joined the channel
#
GWG
[KevinMarks]: I need new
#
GWG
it's to check adoption of the latest Exif
#
swentel
GWG, read micropub screen as good as ready, will release saturday
[Rose], [dmitshur] and [jgmac1106] joined the channel
#
[jgmac1106]
Is it dangerous to FTP to my site using my phone hotspot? Seeing warnings about TLS and sending passwords in the clear I have never seen before
#
[jgmac1106]
then when I tried to log into my shared host FF Dev threw a security warning about their cert being bad....
[datashaman] joined the channel
#
[datashaman]
contact the admin and ask them to fix the cert?
#
[jgmac1106]
I am, just didn't know if my hotspot had anything to do with it
#
[jgmac1106]
...or if the cert is what is causing the warning message when I try to SFTP
#
[jgmac1106]
nvm, now its working, parks closed folks, moose out front shoudl have told you
#
beko
o/ [datashaman] :D
#
beko
[jgmac1106]: possible that they have a captive portal running breaking your secure requests. Or worse.
[KevinMarks] joined the channel
#
[KevinMarks]
Always go to neverssl.com first on a WiFi hot-spot to trigger the captive portal
#
[jgmac1106]
I honestly think the cert expired and got renewed within the time I was logging on
[schmarty] and [Rose] joined the channel
#
sknebel
(seems that got just added)
#
superkuh
Oh wow. You can have some browsers do that without using JS? That's cool.
jolvera joined the channel
#
[KevinMarks]
that's been in chrome for a while - I added it to svgshare
[tantek] joined the channel
#
[jgmac1106]
tantek do you have a place you are documenting you way too manual photo workflow. I will add mine: shoot photos, throw into photostack (PWA highly recommend), resize to 1280 width, share to my ftp android app, compose a post in sublime, push to github, picture done, or when lazy in a rush, just post photo using Known
#
[tantek]
what is photo posting
#
Loqi
It looks like we don't have a page for "photo posting" yet. Would you like to create it? (Or just say "photo posting is ____", a sentence describing the term)
#
[tantek]
hmm thought we had that
#
[jgmac1106]
Or should we add the traditional IndieWeb Examples header?
#
[tantek]
I'm not sure
#
[tantek]
actually I'm not sure about "photo upload" as a framing (though I probably did that), vs. say "photo publishing"
#
[tantek]
hmm no it was tommorriss
#
[tantek]
sorry, correction tommorris
#
[tantek]
[jgmac1106] I documented some of the mechanical (not editorial) steps here: https://indieweb.org/Falcon#Sample_Post_Creation_Flow
#
[jgmac1106]
yeah maybe that is better put it on my page
#
[jgmac1106]
it is so specific and will evolve, maybe just link to those from https://indieweb.org/photo#How_to_take_photos
#
[tantek]
there are many facets to posting photos, which is the challenge
#
[jgmac1106]
especially for people without a media and micropub endpoint....the content challeges compunded by coding challenges
#
[jgmac1106]
GitHub needs better mobile apps, Been using fasthub but new files limited to markdown, no upload
#
superkuh
github needs to fix their anchors.
#
superkuh
What may seem like anchors on github pages, ...#whatever actually aren't.
#
superkuh
They're javascript dependent.
#
[jgmac1106]
....really..wow...yeah I am so close with GitHub actions to be able to having a mobile first experience....but I can't make files, which means using an FTP android client or dekstop for photos
#
superkuh
Mobile first is like abacus first. Everyone suffers to support bad computers.
#
@derivat
↩️ Thanks for the article! Big fan of Usenet. I consider personal blogs to be decentralized media. Discussions about blog posts take place on more centralized platforms, though (since unfortunately Pingback/Trackback are dead – Webmention?).
(twitter.com/_/status/1228003080807030786)
petermolnar and [chrisaldrich] joined the channel
#
[jgmac1106]
To me mobile first about access, lot of people globally get access to computing that otherwise wouldn't be possible. And a good website would look and act the same on both
#
[jgmac1106]
half of my posts are unlists because I get too lazy to add to the article page....can't wait till I learn to automate that workflow....in a few years....
#
[tantek]
to me mobile first is about cutting out the crap, both visually, and download sizes
[Michael_Beckwit joined the channel
#
[Michael_Beckwit
my general take is if it’s essential enough for mobile, it’s essentials as a whole. anything you could cut out of mobile…is that part really that necessary for the desktop too?
#
[Michael_Beckwit
this morphs though into too many things being deemed essential for mobile too
#
[Michael_Beckwit
and thus the experience is horrid
swentel, gRegorLove, [LewisCowles] and Nuve joined the channel
#
[LewisCowles]
does anyone know why basic auth wouldn’t show up in chrome on one-specific android mobile?
[grantcodes] joined the channel
#
[grantcodes]
For mobile first GitHub is a bit of a special case. I imagine mobile usage there would be very small.
#
[jgmac1106]
I can save a file to Google Drive, not sure why GitHub should be different
#
[jgmac1106]
but yes...most people, there is probably two others, aren't hand rolling html on a text editor on their phone
#
[grantcodes]
Because it's designed for code, not images? Google drive is made for media
geoffo joined the channel
#
[LewisCowles]
Hmm.. On PC Github has a nifty image uploader. So nifty I took it apart so I could build one for myself using imgur as a backend.
#
[LewisCowles]
It is true GitHub doesn’t love the binary files, but it can cope with them and should accept upload of them
#
[jgmac1106]
yeah especially if I am just using GitHub as means to FTP the image with GitHub img
#
[jgmac1106]
I mean GiHub Actions
#
[jgmac1106]
Not just binaries It is more just saving an html file, I keep templates for audio, video, notes, and reply on my phone, but I can't easlly add them. I should be able too.
#
[jgmac1106]
well php files, but still code
[Rose] joined the channel
#
[jgmac1106]
on another note is there a way to use a parser kind of like a microformats Tidy HTML, like I could drop a link in and just copy and paste everything in the h-entry?
#
[jgmac1106]
I like to publish my note threads into collections, right now I POSSE to a twitter thread, use threaderapp, read source code, copy paste and then find replace microformats...just had thought could I clean the kruff of a page with a parser and just get all that is in the h-entry?
#
[LewisCowles]
typing PHP on a phone might lead to some gorgeous code
#
[LewisCowles]
no need to worry about the 80-char soft-limit
#
[LewisCowles]
you can run php & termux on android phones at least, download keys and push to github manually
#
[jgmac1106]
I only add the content, change dt-published, and urls, never done it, just thought about. I do use an FTP client on my phone.,
#
[jgmac1106]
also part of my how do I automate the rel next and prev links convo from yesterday....if I can do that...I only have to change date and content
#
[jgmac1106]
automating date requires storage...not ready for that at my current stage of learning
#
[jgmac1106]
[LewisCowles] the sublime android app is nice, has buttons for most common stuff based on what language you choose
#
[LewisCowles]
sublime text has an android app?
#
[LewisCowles]
I wonder if I can use one of my licenses to activate it
#
[LewisCowles]
looks like it's not the same company
jenelizabeth, strugee and KartikPrabhu joined the channel
#
[jgmac1106]
that is shady, I may uninstall on principle alone, it is a decent app too
#
gRegorLove
[jgmac1106], you could sanitize and use the date from the URL to create a PHP DateTime object, then use DateTime::modify() to get the next/prev
#
[jgmac1106]
<-- has an Austin goal and someone to lean on
#
gRegorLove
after sanitizing, something like: `$dt = new DateTime($sanitized_date_string); $dt->modify('-1 day'); $prev = $dt->format('Y-m-d'); $dt->modify('+2 day'); $next = $dt->format('Y-m-d');`
#
[jgmac1106]
gRegorLove++
#
Loqi
gRegorLove has 13 karma in this channel over the last year (74 in all channels)
[jeremycherfas] joined the channel
#
gRegorLove
[jgmac1106], Will you be in person or remote?
[fluffy] joined the channel
#
[jgmac1106]
I have approval from work, just got it, have to get approval on the homefront tonight....I should go look at airfare
[Michael_Beckwit joined the channel
#
[jgmac1106]
yeah i just got the email with the travel approval....I also just spent a ton of money on what was supposed to be just an oil change, flight not bad out of Providence...hopefully I make it in person
KartikPrabhu joined the channel
#
[LewisCowles]
can you be sure you always have a post per-day?
#
[LewisCowles]
if you don't I think it'll 404
#
[jgmac1106]
Now i need bot to do a random repost a day...
#
GWG
Just derived timezone from the data in a picture without a timezone property. Work complete for now
#
gRegorLove
Yeah, don't think you'll get around that sans db though
#
[LewisCowles]
from yesterday. PHP has filesystem iterators. As long as it's not run per-request, but at a time in the day, you can get a random post from just the filesystem.
#
[LewisCowles]
You should absolutely use a database for it, but you can do some gnarly stuff using PHP and a filesystem https://www.php.net/manual/en/class.recursivedirectoryiterator.php
#
[LewisCowles]
You can also create symbolic links if a day is missing. I would try to avoid it, but it's do-able and was why I was suggesting yesterday working from existing things like files and database records, over things that might throw up unexpected technical complexity
#
Loqi
I agree
#
[LewisCowles]
One way to avoid could also be having a useful 404 page, perhaps a differentiated one for missing days which redirects to the date -1 day. You could wind up in a chain, so refresh tags might be preferable to 3XX / location redirects; but there are always wonderful options
Nuve joined the channel