#dev 2019-11-14

2019-11-14 UTC
[chrisaldrich], uniquerockrz, EKLynxDiscord[m] and EKLynxDiscord[m4 joined the channel; mblaney left the channel
#
@evantravers
I wrote up how I'm including twitter conversations on my blog using webmentions… reply to or like this tweet to (eventually) see it show up on the page! http://evantravers.com/articles/2019/11/14/indieweb-webmentions-on-middleman-or-jekyll/
(twitter.com/_/status/1194782027322658818)
[tantek], uniquerockrz, duffy, KartikPrabhu, [Michael_Beckwit, treora, [Rose], gRegorLove, jacky, fauno, cweiske, asymptotically and gxt_ joined the channel
#
GWG
Anyone have any opinions on static map aspect ratios for display? It was suggested I change to a 16:9 aspect ratio
#
[Rose]
I personally like square maps, so would like to be able to choose my aspect ratio - a predefined list would be fine though.
#
GWG
[Rose]: I just wanted to simplify the settings. So instead of width and height...it would be width and aspect ratio
#
GWG
And maybe some CSS to protect overflow
#
GWG
max-width
#
GWG
hmmm...idea
uniquerockrz joined the channel
#
GWG
I wonder if I could do a srcset
uniquerockrz, jeremycherfas, DenSchub, deathrow1, djmoch, aaronpk, vendan, nloadholtes, raucao, shakeel, viaken, jimpick, jeremycherfas_, tsrt^, [jgmac1106] and jeremych_ joined the channel
#
@zachleat
someone: “thanks, appreciate the help!” my brain: “don’t webmention it”
(twitter.com/_/status/1194976204023115776)
uniquerockrz, [tantek], gRegorLove, duffy0, metbril, KartikPrabhu, chrisaldrich and [fluffy] joined the channel
#
[fluffy]
Personally I think maps should have the aspect that best fits the information being presented. A vertical aspect works very well for Seattle, for example. (I assume you’re talking about the geographical kind and not, like, site maps or whatever.)
uniquerockrz and [jgmac1106] joined the channel
#
[jgmac1106]
I am starting to pile up videos on my website...anyone have any video feed layouts?
#
[jgmac1106]
I should be able to take my photo grid and make a video grid
#
[tantek]
It may be worth researching / documenting the video feed layouts that YouTube uses
#
[tantek]
screenshots and such, assuming you can get some without nasty conspiracy etc. videos in them
duffy0 and uniquerockrz joined the channel
#
gRegorLove
Does anyone have a lobste.rs account they can send me an invite from?
uniquerockrz, [tonz], jjuran and [chrisaldrich] joined the channel
#
[tantek]
Is there a simple website that will flip a jpg (mirror ) on horizontal or vertical axis?
#
[tantek]
Really don’t want to install an app just for that
#
[tantek]
Kinda silly that built in iOS photo editing has rotation but no flip
#
aaronpk
ios has horizontal flip
#
aaronpk
maybe only the latest ios tho
#
aaronpk
tap a photo, click edit, tap the crop icon at the bottom, then flip is in the top left corner
#
[tantek]
ok the top left corner is empty for me. iOS 12.1
#
[tantek]
trying 12.4
#
aaronpk
i'm on 13.1 so maybe it was added then
#
[tantek]
12.2 didn't have it either
#
[tantek]
lol "About 8 hours remaining"
#
[tantek]
any experience with pinetools?
uniquerockrz and [Rose] joined the channel
#
[Rose]
[tantek] you can use Shortcuts.
#
[tantek]
in iOS12?
#
[tantek]
of course it's js;dr 😂
#
[Rose]
That Shortcut would need re-creating for iOS 12, but it’s a simple one. Turn on the share sheet options, let it accept images. Add the action “flip image” and then the action “share image”
#
[Rose]
*share, no image
#
[Rose]
That’s it, then it will take any image you give it, flip it, and you can do what you like with it
#
[tantek]
when I click "Get Shortcut" it says "Safari cannot open the page because the address is invalid."
#
[tantek]
and then it opens app store
#
[tantek]
oh what this is a separate native app ok
#
[Rose]
On iOS 12 yes it was a separate app
#
[tantek]
now waiting for it to download and install
#
[Rose]
The app? Enjoy!
uniquerockrz and gRegorLove joined the channel
#
[tantek]
Shortcuts says: “The data is not in the correct format.”
#
[Rose]
When does it say this?
uniquerockrz joined the channel
#
[tantek]
when it tried to open the link you sent
#
[tantek]
so I tried building my own and it didn't seem to work either
#
[tantek]
I added a "flip image" action and a "save to photos" action (gave it permission) and enabled it in the share sheet
#
[tantek]
and tried it with an image and it seemed to pop-up, play, then not do anything
[Rose]1 and [Matt_Hobbs] joined the channel
#
[Matt_Hobbs]
Hello, I have a question about sending webmentions. Is it possible to do it using only JS via cross-origin Ajax? I've been hunting around for examples but haven't had much luck. I don't see anything mentioned on https://indieweb.org/Webmention-developer#Libraries either. Maybe it just isn't the way it is supposed to be done?
#
[Matt_Hobbs]
Fetching and displaying them I have no problem with, I'm just a little stuck with giving users an easy option to send one e.g. "Written a response to this post? Let me know the URL using the form below:"
[snarfed] joined the channel
#
[snarfed]
[Matt_Hobbs] you don't need JS for that, just use a normal HTML form pointed at your webmention endpoint. eg https://aaronparecki.com/2019/11/12/14/oredev#responses
#
Loqi
[Aaron Parecki] The videos and slides from my talks last week at #oredev are posted! How to Hack OAuth 📺 https://vimeo.com/371495209 📃 https://speakerdeck.com/aaronpk/how-to-hack-oauth-oredev-2019 Smarter Home Automation Without the Cloud 📺 https://v...
uniquerockrz joined the channel
#
[Matt_Hobbs]
Right! Okay. A misunderstanding by me on how it all works. Thanks! I will give that a try.