#dev 2019-10-27

2019-10-27 UTC
[Rose], KartikPrabhu, [Ramiro_Ruiz], gRegorLove and [Lewis_Cowles] joined the channel
#
@mrkrndvs
↩️ I really like Apps Script Pulse @mhawksey. I always wonder where #IndieWeb and things like webmentions and post kinds fit with all of this. In some ways this sites reminds me of the collation of posts for IndieNews, which utilises 'Syndication-of'.
(twitter.com/_/status/1188338910176280577)
gRegorLove, IWSlackGateway1, KartikPrabhu, AlepheiaDiscord[ and asymptotically joined the channel
#
@mhawksey
↩️ Hmmm very good point - I hadn't considered webmentions but it looks like there is a plugin for that that extends Press This https://github.com/indieweb/wordpress-indieweb-press-this/ I'll need to test install and update the post. Thanks for mentioning :)
(twitter.com/_/status/1188418867564961792)
[Rose] joined the channel
#
GWG
Has anyone ever built an image proxy cache into their site?
#
GWG
I am having trouble figuring out how to satisfy terms of service
[Lewis_Cowles] joined the channel
#
[Lewis_Cowles]
Not a personal site, but a few commercial ones. Do you mean the image proxy service (assumed third party) ToS or your site?
#
GWG
I want to cache images, but the ToS are somewhat restrictive on how long I can do that
#
[Lewis_Cowles]
Oh you're caching a third-party images and presenting through your web property?
#
GWG
Yes
#
GWG
Static map images
#
[Lewis_Cowles]
You have to obey their terms
#
GWG
Yes
#
GWG
But some of them allow short term caching
#
[Lewis_Cowles]
Right, so I think it's on you to maintain a data-source of the TTL, and after that purge images not in a list, or in a list showing expiry (two ways I know of to approach TTL)
#
[Lewis_Cowles]
Back in 2006 I was lax with getting permission from a third party and Hugo Boss tried to sue someone who sold their clothes. It was an eye opener in "Oh so that wasn't over-engineering"
#
[Lewis_Cowles]
Businesses get super-unreasonable about their creative assets, more-so in tech space
[SE_NOVEM] joined the channel
#
[SE_NOVEM]
Hi, somehow adding bootstrap.min.css to to vue.js transition modal causing some kind of problem that the modal does not show up anymore, would appreciate if someone point me to the error : https://codepen.io/intoverq/pen/WNNOaZN
[tantek] joined the channel
#
GWG
I just am trying to figure out something simple.
#
GWG
I don't want to build something complex
#
sknebel
question from an IWC attendee on twitter some folks here might know answer to: https://twitter.com/webrocker/status/1188464047269842944
#
@webrocker
Is there a (better) way in SVG to have a "grouping" element with a relative x-position (x=n%) than to put a <svg> inside a <svg>? <g> has no x attr, and transform="translate(15% 0)" has no effect (where translate(120 0) works)… 🤔
(twitter.com/_/status/1188464047269842944)
gxt joined the channel
#
[Lewis_Cowles]
@GWG TBH to me it sounds like the simplest way to comply, where the terms and conditions might be what is forcing the complexity. Sadly, the only examples I've tried to push back, large companies with large legal teams behaved unreasonably, again this was not for personal use. For personal use I'd probably not go with anyone with onerous terms and conditions
[Rose], Hadrian-Discord[, KartikPrabhu, krychu, [tantek], [Lewis_Cowles], [mapkyca], wagle, asd74, gRegorLove and DcKc1 joined the channel; Hadrian-Discord[ left the channel
#
gRegorLove
Making progress on an IndieAuth provider plugin for ProcessWire. I've got authentication, working on authorization.
[Lewis_Cowles] and [KevinMarks] joined the channel
#
aaronpk
GWG: what do you mean the file size is the issue with google/compass?
#
GWG
aaronpk, reading in a file the size of the Google Takeout json and converting it
#
aaronpk
how big is it?
#
GWG
I think it's 10 years worth. I forget, but I just have not gotten around to writing a converter
#
GWG
I need something that can interpret a json file that large without timeout
#
GWG
And convert into Quartz
#
aaronpk
are you trying to build this as a service for people?
#
GWG
So, a one time job, but still a project
#
[KevinMarks]
is it in jsonlines format?
#
aaronpk
if not, just run it from the command line and you won't need to worry about timeouts
#
GWG
aaronpk: I would want to share the work for other people to use
#
GWG
But not as a service
#
aaronpk
it's a one-time thing so IMO it's fine to make it a command line thing
#
[KevinMarks]
json or KML are the options
#
GWG
[KevinMarks]: The json has more useful info on activity
#
aaronpk
just downloaded mine and it's only 38mb
#
GWG
aaronpk, you got it that quick? Last time I asked I had to wait 25 minutes
#
aaronpk
!date 1234567890
#
Loqi
1234567890 is 2009-02-13 15:31:30 PST
#
aaronpk
wow also 10 years
#
aaronpk
that's a suspicious looking timestamp
#
GWG
I have never tried to handle a 38mb json file
#
aaronpk
you have gigabytes of ram, loading a 38mb file is not a problem
#
[KevinMarks]
oh, you can have it dump it to gdrive every 2 months. Interesting
#
GWG
aaronpk: Agreed. I just keep putting it off in favor of other things
#
aaronpk
you might have to tell php to let you use more memory
#
GWG
aaronpk: I have to build a local development environment this week
#
GWG
I might do something at WordPress Contributor Day and I haven't set up an environment for that in ages.
#
aaronpk
ok just tested doing a json_parse on that file and it takes no time at all
#
GWG
aaronpk: As the Compass developer, is it better to use the API to get the data in or directly use the QuartzDB library?
#
aaronpk
probably better to create the storage file via QuartzDB, you don't gain anything by using the API in this case
#
GWG
I have other data I want to bring into my control as well.
#
GWG
For example, I think I did turn on Google Fit's step counting
#
[KevinMarks]
hm, my location file is 1.2GB unzipped. I should have noticed that before throwing at at BBEdit
#
aaronpk
whoa why so much bigger than mine?
#
GWG
Android vs iOS?
#
[KevinMarks]
i'm on android, so it gets to run in background more?
#
aaronpk
guess so
#
aaronpk
i'm surprised it's that much different tho
#
[KevinMarks]
well, it's almost oprn
#
[KevinMarks]
BBEdit on 100% cpu and 2.93GB of RAM