#dev 2019-02-23

2019-02-23 UTC
sfoster__ and [kevinmarks] joined the channel
#
[kevinmarks]
geopoints are fairly easy to deal with in code. I had a 68k Mac app in the early 90s that happily dealt with dynamically displaying many thousands of cities as you rotated the globe.
#
aaronpk
if only modern apps were half as efficient as a 68k mac app
#
[kevinmarks]
we're not far off from running it in emulation via WebAssembly
#
[kevinmarks]
the globe view was only 320 by 320 pixels
[tantek], [asuh], chrisaldrich and [jgmac1106] joined the channel
#
[jgmac1106]
anyone know why I can't seem to define my gird columns here: https://edu307.glitch.me/badges/literacyimage.html
#
[jgmac1106]
only the first one styled
[gRegorLove] and [grantcodes] joined the channel
#
[grantcodes]
Just did a fairly lightweight but interesting look into the world of node based micropub endpoints: https://github.com/voxpelli/webpage-micropub-to-github/issues/97#issuecomment-466601905
#
[grantcodes]
If anyone knows of anything I missed please let me know
[manton] joined the channel
#
[jgmac1106]
grantcodes I need to make a fork of your site just to make a badge template when I get this thing dressed the way I want
#
[jgmac1106]
got it grid template versus grid-auto....of course wouldn't define something that is autp
#
@jgmac1106
Okay webmention badges good enough for me to give out to #edu307 students. https://edu307.glitch.me/badges/literacyimage.html will be at PineWood Derby for @IndiewWebCamp Austin Sat so good to get head start. soon students apply for badges with reflection post. #digped #DoOO… https://quickthoughts.jgregorymcverry.com/2019/02/23/okay-webmention-badges-good-enough-for
(twitter.com/_/status/1099135564618649600)
[eddie], [jgmac1106], tw2113 and [tantek] joined the channel
#
[jgmac1106]
!tell aaronpk not sure if it is known, but telegraph can't handle nested h-entries like collections
#
Loqi
Ok, I'll tell them that when I see them next
barpthewire joined the channel
#
@jgmac1106
Hey #edu307 here is an #edu307update I posted the webmention badges for Modules 1 and 2. https://edu307.glitch.me/ Let me know if you think you should have been issued a badge. Many of you did not meet the criteria for the module two badge but know you… https://quickthoughts.jgregorymcverry.com/2019/02/23/hey-edu307-here-is-an-edu307update
(twitter.com/_/status/1099173211865075712)
chrisaldrich, KartikPrabhu, skippy, tw2113, [tantek] and [Rose] joined the channel
#
[Rose]
Is anyone else using Compass aside from Aaron? It tried to kill my server this morning (well, it did kill it). And I'd like to dig around some more.
#
[Rose]
However I'm stuck on where to start, as always!
swentel joined the channel
#
swentel
morning
#
Loqi
morning!
[eddie] joined the channel
#
[eddie]
Hey [Rose] I use Compass as well
#
[eddie]
It hasn’t attempted homicide yet though
#
[Rose]
Well, it did for me today 😄 =
#
[eddie]
That’s sad 😞 I’m vaguely familiar with with Compass’s code (I’ve sent 1-2 small PRs)
#
[eddie]
So I can help brainstorm a little
#
swentel
[eddie], I had this crazy idea to start building this in indigenous. Tracking of coordinates, posting via micropub
#
swentel
but maybe it's overkill
#
[Rose]
Essentially, artisan took over my server. That's a laravel "thing" which I have no experience with
#
[Rose]
If I try to run `php artisan queue:listen` manually, it uses pretty much all of the CPU
#
[Rose]
Thankfully supervisor.d gave up trying to get it to run, so it's just not running right now
#
swentel
yeah it's a heavy cli script sometimes
#
swentel
well, depending on which command you run :)
#
[Rose]
The thing is: until 8:20am this morning this wasn't a problem.
#
[Rose]
And it's been running since October last year. And as I was asleep in bed at 8:20am this morning, it's not like I just popped up half a globe away with a thousand data points that needed processing. So what changed?
#
[eddie]
That is VERY strange
#
[eddie]
All the queue should be doing is processing things like sending Micropub trips to your server
#
[eddie]
Did you log like a REALLY long trip, where it’s breaking when trying to generate the geojson of the trip to send to your Micropub endpoint?
#
[eddie]
That’s all that comes to my mind
#
[eddie]
swentel: Interesting, about tracking your coordinates via Micropub
#
petermolnar
supervisord? which os are you running, [Rose]?
#
petermolnar
swentel: an upload gpx might be simpler
#
petermolnar
and that would add support for external gps trackers
#
swentel
oh right
#
swentel
that's also an option
#
swentel
anyway, not sure yet though, I actually don't really track myself hehe
#
swentel
I try to only add features which I really use myself
#
swentel
(or if someone pays me big money :p)
iasai and [grantcodes] joined the channel
#
[grantcodes]
I used to have my tracking in micropub (sort of) but then my database got to the point where it was 90%+ tracking posts, which wouldn't have been hugely sustainable for me
#
[eddie]
Yeah I definitely think location has to be tracked differently than posts
jeremych_, leg and [Rose] joined the channel
#
[Rose]
Debian
#
[Rose]
I don't log any trips Eddie
#
[eddie]
Even stranger!
#
[Rose]
Yeah, I always mean to, but then I forget.
[jgmac1106] and joepjan joined the channel
#
sknebel
jeremycherfas: cURL options?
joepjan left the channel
#
jeremycherfas
Thanks! Yup. POST is not giving me any errors, but it isn't resulting in a post at WithKnown either, so I am trying to find out how to see the response codes I receive.
#
sknebel
-v / --verbose is the generic "moar infos!" flag
#
jeremycherfas
OK, but I assemble to command with a series of curl_setopt operations, and then do curl_exec($ch), because cargo cult. So I need to work out where to add that flag.
#
sknebel
ah, you're using it from php, not from commandline
#
jeremycherfas
And if I have to do that, I may as well try to understand what the options I am setting are doing. :)
#
jeremycherfas
Sorry, I sghould have said that.
#
sknebel
you can query details about the last request with php.net/manual/function.curl-getinfo.php
#
jeremycherfas
Ooh. Thanks.
#
jeremycherfas
So I could just echo or vardump that. Will have a go.
#
sknebel
also, curl_setopt($ch, CURLOPT_VERBOSE, 1); might actually work in library mode and print things out while doing the request
#
jeremycherfas
Going to keep reading for a bit, then see what I can do.
#
sknebel
CURLOPT_VERBOSE TRUE to output verbose information. Writes output to STDERR, or the file specified using CURLOPT_STDERR.
#
jeremycherfas
OK, that is just plain weird. Merely inserting a diagnosis command `$info = curl_getinfo($ch); var_dump($info);` into my script made the script work again. I'm glad, of course, but none the wiser.
#
jeremycherfas
But now I am also thinking that, of course, I should put that in there anyway to let me know if there were any errors and to inform me of success.
g1 joined the channel
#
@jgmac1106
Morning all, hoping I can add my new webmention badging platform to #edu407 and then get some grant writing time in on the next #indieWeb grant...Then it is off to the Pinewood Derby. (https://quickthoughts.jgregorymcverry.com/s/yeOSY)
(twitter.com/_/status/1099274953248120832)
jgmac1106 joined the channel
#
jeremycherfas
All sorted now and functional. Sknebel++
#
Loqi
Sknebel has 40 karma in this channel over the last year (100 in all channels)
[dave], [galexk], [jgmac1106] and [Rose] joined the channel
#
[Rose]
The mystery of compass continues, rebooted my server (again), and it's behaving.
#
sknebel
any logs that could point to an issue?
#
Loqi
sknebel, you have a table to update
#
Loqi
Countdown set by sknebel on 2019-02-22 at 11:51pm CET
#
sknebel
thanks Loqi
#
Loqi
you're welcome
#
[Rose]
Nothing in them that I can see.
#
jeremycherfas
It's been that kind of a day [Rose]. I had an error in a PHP script that vanished just as soon as I inserted two lines of diagnosis.
[tantek] joined the channel
#
sknebel
I wonder if something got stuck in a retry loop for a connection or so
#
sknebel
but I'd hope the workers would log that in some form
#
[Rose]
There was weird stuff happening. My server got taken offline by whatever happened the first time, then enlisting via the admin panel at my host didn't work, for ages, then it shut down, then artisan took over, and now it's all working again as expected.
#
@jgmac1106
#edu407 here is #edu407update added webmention badges and awarded badges to everyone who completed tperformance task in a way that generated evidence to prove the criteria was met. I will add the badges for modules 2 and 3 later. … https://quickthoughts.jgregorymcverry.com/2019/02/23/edu407-here-is-edu407update-added
(twitter.com/_/status/1099301222903885825)
jgmac1106 joined the channel
#
[tantek]
Welcome [Paul_Robert Lloyd]!
[dougbeal] joined the channel
#
[tantek]
Your timing is very good, in case you're up for staying up a bit, we have IndieWebCamp Austin starting in about an hour or so, and with any luck we should have remote participation too!
[schmarty], [jgmac1106], [gRegorLove] and [manton] joined the channel
#
aaronpk
I like the idea of Indigenous sending a ping of the current location to the server. I wouldn't recommend treating it as a full gps track on either side, because that has a lot of other considerations. But if the server stores only the latest point it can be used for all sorts of fun stuff on the website
#
Loqi
aaronpk: [jgmac1106] left you a message 9 hours, 30 minutes ago: not sure if it is known, but telegraph can't handle nested h-entries like collections
djmoch joined the channel
#
swentel
it's worth exploring
#
swentel
I already have the code to get the location
#
swentel
sending then something to an endpoint is trivial :)
[galexk] joined the channel
#
swentel
I'm sure GWG might come up with something hehe
#
swentel
it's thanks to him that the android version has a lot of location capabilities already
#
swentel
extending now is easy
[Rose], [dave], gRegorLove and tbbrown joined the channel
#
GWG
swentel: Having an Android app problem here
#
GWG
I'm trying to get Indigenous working on a Chromebook and the redirect is launching in the Chrome browser and not redirecting back
#
swentel
ooh like that
#
swentel
not directly an idea to be honest
#
swentel
can you install custom browsers?
#
GWG
swentel: I just tried that and got it to work
#
swentel
I'd love to see a screenshot of that :)
#
GWG
I installed the Android version of Firefox, so it prompted me on which browser I wanted to open the link in
#
swentel
ah yes
#
swentel
did it find your avatar and name btw ?
#
jacky
Does anyone else upload / snyc GPX data to their site? I'm trying an experiment to track big trips of mine over the next few weeks and I have some ideas
#
jacky
One namely is to have it do a fast playback of the route I took (sans imagery, all vector)
#
sknebel
jacky: I think jeremycherfas was experimenting with "walk" posts
#
GWG
swentel: On my main site, yes. On the test site, didn't configure one
#
swentel
GWG, good enough if it works on main site :)
#
sknebel
and anomalily had a website for a big trip she took
gRegorLove joined the channel
#
jacky
I gotta find a GPX parser for Elixir first
#
jacky
doesn't know what the file looks like
#
sknebel
gpx is xml-based.
#
jacky
Nice that'll be simple enough
#
GWG
anomalily's trip sounded fun
#
GWG
swentel: I just want to show what we've built together. Frontend and backend.
#
jeremycherfas
!tell jacky I get geojson out of an iOS app and display that, but nothing fancy. Yet.
#
Loqi
Ok, I'll tell them that when I see them next
#
swentel
GWG, but so far, no problems with the update ?
jackjamieson joined the channel
#
GWG
swentel: None
#
swentel
awesome
#
jacky
jeremycherfas: nice! Going the JSON route might require conversions for me. Do you have a demo link? I'm still in transit to !!con west
#
Loqi
jacky: jeremycherfas left you a message 3 minutes ago: I get geojson out of an iOS app and display that, but nothing fancy. Yet.
paulrobertlloyd joined the channel
#
jeremycherfas
https://www.jeremycherfas.net/walks is as far as I have got. Keep getting side-tracked
#
paulrobertlloyd
Not sure if this is the right channel, but I have a question resulting from me trying to build a Micropub server (https://paulrobertlloyd.github.io/indiekit/) that writes files to GitHub. As it can be configured to different users needs, this makes predicting things much harder! Given that a user can choose where to save their files and what permalinks they appear at, if a user decides to delete or update a post, it’s difficult to trans
#
paulrobertlloyd
public URL back to the original file path, e.g. `https://my-website.com/2018/02/my-great-post => https://github.com/username/my-website/blob/master/src/_posts/2018-02-23-my-great-post.md`. As users can provide the Micropub server with both file and URL path templates, I could use these to translate between the two (regex hell, but just about doable I think). But this had me thinking if there’s a declarative means of allowing authors to
#
paulrobertlloyd
where a source file was written, or even if that’s a good idea. I thought about `u-syndication`, but not sure that’s quite right…?
#
paulrobertlloyd
Hmm, where should I log my issue, on the project pages on the IWC wiki?
#
jacky
It could be a syndication if it's a public link though that's a bit of an overload
#
jacky
You could also use the `u-uid` as it's meant to be unique across your posts
#
aaronpk
GWG: what's the status of the wordpress Microsub server?
#
jacky
paulrobertllyod: ^
#
jacky
* paulrobertllyod ^
#
[Rose]
** paulrobertlloyd ^
#
[Rose]
I had a moment this morning where I thought I was going to have to switch to WordPress, a Microsub server plugin would make that less painful, but still not what I want! (I think I found a workaround for it, thankfully)
#
GWG
aaronpk: I was going to demo it. It is in beta.
#
GWG
My demo involves Micropub and Microsub
#
[Rose]
I'm looking forward to seeing that
#
GWG
But, jackjamieson is around, if you want to ask him directly
#
GWG
I'm just a contributor, he's the author
#
GWG
[Rose]: We'd love to have you if you ever jump ship
#
GWG
Although it is, admittedly, not all sunshine and roses
#
GWG
Although if you changed over, it would be not all sunshine but one Rose.
#
[Rose]
I'm debating it, it's got a lot of advantages, but I wouldn't be able to just make a theme, I'd have to learn WordPress theming first, same with plugins. And I'm pretty happy with my site as it is right now.
#
[Rose]
Hehehe
#
GWG
Sorry, been hanging out with gRegorLove and [dave] and they are very punny
#
[Rose]
I like puns ^_^
#
GWG
My pun level is proportional to the punniness of those around me
#
GWG
But, hopefully, the State of Social Readers is strong.
#
aaronpk
jackjamieson: woudl you mind updating the wiki page for Yarns a bit with current info about microsub? https://indieweb.org/Yarns_Indie_Reader
#
jacky
oh nice GWG
#
sknebel
paulrobertlloyd: interesting problem. I guess hiding the file path somewhere could be an option, yes. (you could also use your own, vendor-prefixed property, e.g. p-indiekit-file-location, for such cases)
chrisaldrich joined the channel
#
jackjamieson
Thanks for reminding me aaronpk!
#
[Rose]
Any chance you can just store a DB type file somewhere? Either SQLite, or just simple JSON with this info.
#
sknebel
[Rose]: I'd guess the trick is that with random site generators you don't quite know how it's generating its urls?
#
[Rose]
But as a micropub server ought to return the URL, to the post, I thought the data might be available.
#
swentel
aaronpk, if you need info about the Drupal version - https://github.com/swentel/indieweb/blob/master/README.md (way down)
#
swentel
hmm guess that's more of a reader of course
#
swentel
mine is more a servrerr
#
swentel
server
#
swentel
which is indigenous then hehe
#
swentel
for a reader
[chrisaldrich] joined the channel
#
swentel
[chrisaldrich], did you receive my webmention on https://boffosocko.com/2019/02/23/55744471/ ? Or are they moderated ?
[eddie] joined the channel
#
[Rose]
I get wanting to avoid a DB, but I personally would prefer that to a regex based solution
#
[Rose]
You're welcome, I hope I actually helped 😛
[jgmac1106] joined the channel
#
swentel
chrisaldrich (without the brackets :), did you receive my webmention on https://boffosocko.com/2019/02/23/55744471/ ? Or are they moderated ?
[schmarty], aneel, mt, [kevinmarks], [Vincent] and [davidmead] joined the channel
#
@LibralopHulot
Großartig ist nicht nur dieser Kommentar an sich (Folgen Sie @davidramirer!), sondern auch die Tatsache, dass er gleichzeitig via Webmention-Voodoo als Kommentar im Blog angezeigt wird!
(twitter.com/_/status/1099360198882406401)
#
GWG
Just asked [manton] about webmention syndication as an alternative to custom feeds to Micro.blog
snarfed, gRegorLove, KartikPrabhu and [jgmac1106] joined the channel
#
[jgmac1106]
Anyone know if a good Android FTP client exists... I Aam assuming Verizon blocks this. Want to push my intro to my website
[eddie], [cleverdevil], [gRegorLove], [Rose], gRegorLove, tbbrown, [kevinmarks], [RichV], kimhansen, rayna, KartikPrabhu and [davidmead] joined the channel
#
[Rose]
Alright, I've been convinced, I'll try Wordpress
#
GWG
[Rose]++
#
Loqi
[Rose] has 7 karma in this channel over the last year (18 in all channels)
#
[Rose]
I know Aaron, I'll probably be back on Grv soon enough, or writing my own CMS 😛
#
[Rose]
*Grav
#
[cleverdevil]
WordPress is hard to beat from a features/functionality/ecosystem perspective 🙂
#
sknebel
what prompted that?
#
[cleverdevil]
(I still prefer Known, but recommend WordPress to people all the time)
#
[Rose]
The fact that I've been working on my own micropub endpoint since October, it still doesn't work how I want, and at least someone else has done a lot of the work for a lot of WordPress things
#
GWG
sknebel: Yeah, right, it isn't my birthday
#
sknebel
fair enough, yes
#
[Rose]
I want to be putting content on my blog as much as I am playing with it, and right now that's not happening
#
sknebel
yeah, wordpress would probably be more productive in that regard for me too
#
sknebel
although I'm sure I'd find details of it to fiddle with then instead
#
[Rose]
I'm sure I will, but I'll also get that editorial calendar plugin I want, so I can see that I wanted to get X post out on Y date and that'll sit on my shoulder somewhat.
#
[Rose]
(Oh, and Marsedit will work, which I like)
#
[Rose]
And there's more people using WordPress than Grav, so anything I create will be useful for more people, which is not a negative.
#
GWG
[Rose]: Please create
#
[Rose]
I'll probably start by looking at existing plugins and making pull requests if that's ok, then someone can yell at me if I'm being stupid before it goes out into the wider world 😄
#
GWG
[Rose]: We don't yell
#
[Rose]
I know, that's one reason why I'm excited to get the ball rolling on this
#
[Rose]
Not that I can do anything this weekend...
#
GWG
I'm excited to have another person involved.
[kevinmarks] joined the channel
#
[Rose]
Glad it works for you!
corntoole joined the channel
#
petermolnar
[Rose]: I've been at the exact point where you are - I wanted to post things without having to tinker before I can. However... that's how I ended up with a rather cluttered site, that then got cut back, and I ended up with a static generator, so it forces me to published only and solely the important things. I hope you don't end up doing this circle :)
[tantek] joined the channel
#
[Rose]
We'll see!
#
jeremycherfas
!tell [Rose] Are you planning to import your existing content?
#
Loqi
Ok, I'll tell them that when I see them next
#
[Rose]
Yes I am
#
GWG
petermolnar: We miss you too
jgmac1106, snarfed, jon1, [jgmac1106], gRegorLove, JVL1, chrisaldrich and [Rose] joined the channel
#
[jgmac1106]
Best of luck [Rose] WP team lucky to have you
[gRegorLove], iasai, jon1, chrisaldrich and jgmac1106 joined the channel