#dev 2018-01-14

2018-01-14 UTC
[miklb] joined the channel
#
kartikprabhu.com
edited /comments (+153) "/* Twitter */"
(view diff)
#
KartikPrabhu
tantek: ^ good/
#
tantek
great!
tantek, [kevinmarks], cweiske_, [joe]1, renem, eli_oat, [chrisaldrich], jjuran, deathrow1 and [eddie] joined the channel; krup left the channel
#
[eddie]
!tell aaronpk: I think indienews is broken. 500 error on webmention? https://telegraph.p3k.io/webmention/12BCWO1g1Rvu0uSdYj/details
#
Loqi
Ok, I'll tell them that when I see them next
barpthewire, iasai and tomasparks joined the channel
#
jeremycherfas.net
edited /micro.blog (+437) "/* Articles */ Adding article about WP by Dameon Welch-Abernethy"
(view diff)
barpthewire, jeremycherfas and [colinwalker] joined the channel
#
Zegnat
That HTTP 999 code is really puzzling from LinkedIn, petermolnar :/ Did you see any documentation on that?
#
Zegnat
(My favourite trick of using Google’s UA doesn’t seem to bypass authwall either.)
#
petermolnar
as mentioned, according to their FAQ, this is not even a thing
#
petermolnar
the authwall
#
petermolnar
I'm just hoping the web doesn't pick 999 Request Denied up, that sounds way too dystopian
#
Zegnat
For sure
[kevinmarks] joined the channel
#
[kevinmarks]
451 is dystopian enough
#
vanderven.se martijn
created /User:Vanderven.se_martijn/blocked_hosts (+784) "Would this make sense for a page?"
(view diff)
#
vanderven.se martijn
created /blocked_subdomains (+821) "Defining wiki behaviour that has gone undefined before."
(view diff)
[colinwalker] joined the channel
#
GWG
aaronpk, what is the best way to move my data from mqtt to Compass?
#
GWG
Is it better for me to build a mqtt to http gateway or a PR for Compass if I can figure it out?
#
aaronpk
I don't know much about Mqtt yet, so I'm not sure how it would fit in to Compass directly.
#
Loqi
aaronpk: [eddie] left you a message 5 hours, 49 minutes ago: I think indienews is broken. 500 error on webmention? https://telegraph.p3k.io/webmention/12BCWO1g1Rvu0uSdYj/details
#
aaronpk
If it means there are android apps that could talk to compass then I'd consider it
#
GWG
aaronpk, there are several. I moved from the abandoned Owntracks to the maintained Zanzito
#
GWG
Basically, you publish/subscribe to a topic which contains a payload.
#
aaronpk
What format do these apps send the location data in?
#
aaronpk
Compass is based around GeoJSON
#
GWG
The topic varies, the payload is json, just not GeoJSON
#
GWG
So, it is a json object with latitude, longitude, etc
#
aaronpk
If there isn't a sort of standard these apps are using then it might make more sense to do that conversion outside of compass
#
aaronpk
Otherwise compass would need to hardcode support for each format each app sends
#
GWG
aaronpk, all push latitude and longitude inside the object, but the other properties vary.
#
aaronpk
It'd be a trivial amount of code to write an MQTT subscriber that sends HTTP payloads to Compass
#
GWG
aaronpk, that was one of the options I was considering.
#
GWG
I don't even have to write one. I could use Home Assistant till I do
#
GWG
It already is pulling in the data and can output it.
#
GWG
I just figured I'd ask the question about whether it made sense to incorporate it
#
GWG
I want a location server, and while there are alternatives, I like your software
#
GWG
Storing my location to update exif in photos and posts.
#
GWG
I am going to look at other options too.
John____ joined the channel
#
GWG
Does anyone display altitude?
#
GWG
I was thinking of doing so when above a certain height
#
aaronpk
that'd be fun
#
aaronpk
GPS altitude is super inaccurate so it's really only useful to get a rough idea like 5000ft vs 30000ft
#
GWG
Question is above what reading do I bother displaying it?
#
GWG
I was enjoying it reporting 37000 ft
#
ascraeus.org
edited /weather (+313) "/* Daniel Goldsmith */"
(view diff)
calumryan joined the channel
#
@keithjgrant
@adactioLinks Looks like webmention.io parsed this as a reply. And sent me a heading and a large-formatted date along with it 🤔
(twitter.com/_/status/952556774493696002)
#
aaronpk
adactio's bookmark has the wrong u-url
#
aaronpk
hmMMMm that's because there is no explicit u-url on adactio's post
#
aaronpk
I need to work on a migration path for people using webmention.io
#
aaronparecki.com
edited /mediawiki-customization (+1661) "update with info for new wiki version"
(view diff)
#
sknebel
aaronpk: ^^^ I remember you mentioned there is something special about the routing for the frontpage as well?
#
aaronpk
oh yeah
#
Zegnat
Ugh, basically every DOM lib for PHP I am finding is made for more “HTML features”, rather than more DOM API. I am going to have to write my own code, I guess. The lazyweb has failed me.
barpthewire and [miklb] joined the channel
#
[miklb]
Zegnat I want that on a coffee mug. “The lazyweb has failed me.”
John____, [kevinmarks], curve25519 and randomstranger joined the channel
#
@PhoneBoy
What if I don’t want to list my microblog in my profile for the various sites indieauth recognizes as a valid authe… https://twitter.com/i/web/status/952592193478430720
(twitter.com/_/status/952592193478430720)
#
Zegnat
Is that a reply to something? ^^^
#
aaronpk
I don't think so
#
aaronpk
another reason micro.blog should build in its own IndieAuth server
#
GWG
aaronpk: Or I should build one into WordPress
#
sknebel
not or, and ;)
#
GWG
I'm moving in that direction slowly
snarfed joined the channel
#
@aswath
@PhoneBoy I am not familiar with microblog, but when I took a look at it, looks like they use email based auth (indieauth?). No?
(twitter.com/_/status/952607377865560069)
gayboi, snarfed and eli_oat joined the channel
#
dgold
"I get that IndieWeb sites would rather not be in the authentication server business, but they should also be flexible."
[colinwalker] joined the channel
#
dgold
i'm unsure how one should respond to that…
snarfed joined the channel
#
aaronpk
whoa my server disk filled up!
snarfed joined the channel
#
@aaronpk
@aswath @PhoneBoy IndieAuth is meant to take over since OpenID 1.0 is effectively dead. If you want the details:… https://twitter.com/i/web/status/952613317159264256
(twitter.com/_/status/952613317159264256)
snarfed, eli_oat and [kevinmarks] joined the channel
#
aaronpk
anyone know how to deal with cleaning up the .git folder? I have an in-progress git pull that failed cause the disk filled up, and it looks like it was writing a bunch of data into .git that is now stuck there
snarfed joined the channel
#
aaronpk
:sigh: I'm just gonna upgrade the disk space on this server
#
dgold
you could do the following:
#
dgold
Copy the working files out to a different location
#
dgold
do a hard reset to a non-corrupted commit
#
dgold
copy the working files back in & commit
#
aaronpk
thankfully I dont have any local changes
#
aaronpk
there's 5gb of data, but this .git folder is 11gb now
#
dgold
if you don't have any local changes, then poss you should scrub the repo and git clone again
snarfed joined the channel
#
Zegnat
rm -rf .git
snarfed joined the channel
#
aaronpk
so when I do `git gc` it does the compressing stage, then "writing objects" and then fills up the disk
#
aaronpk
and I can't figure out how to delete whatever it's done
#
aaronpk
running `git gc` again starts over but I don't get the disk spaceback
snarfed and eli_oat joined the channel
#
aaronpk
nuking and re-cloning
#
aaronpk
except I forgot that it's coming from my home network so i'm capped at 5 mb/s
#
aaronpk
probably should not have done this right before i'm supposed to meet people for lunch
snarfed joined the channel
#
Zegnat
Told you aaronpk, rm -rf .git ;)
chrisaldrich joined the channel
#
dgold
how big was this repo?
#
dgold
you're not using git as a backup solution - are you?
#
aaronpk
it's my website's storage folder
snarfed joined the channel
#
aaronpk
*whew* it's back
#
dgold
oh, good
#
dgold
did you increase the storage buy?
redaxo_schorsch, [jeremycherfas] and j12t joined the channel
#
aaronpk
deleted the whole posts folder, re-cloned from git. now the .git folder is only 4gb instead of 12
#
sknebel
guess now is a bit to late to remember that git clone has a --depth option if you do not want to sync full history
#
aaronpk
I think i'm still gonna resize the disk since i'm bumping up to the limit
snarfed and [chrisaldrich] joined the channel
#
aaronpk
sunday seems slow, good a time as any to shut down my server so I can resize the disk
#
aaronpk
oh yeah that means IRC too
aaronpk_ joined the channel
#
aaronpk_
here we go
#
aaronpk_
goes to make a coffee
#
aaronpk_
then realizes he can't post the coffee to his website since it's down
#
Zegnat
aaronpk during a server reboot: can’t move because that throws off location, can’t eat or drink because that can’t be added to the time series, can’t sleep because that data too has to go somewhere.
#
Zegnat
(Hyperbole of course, as I know a lot of that data does not rely on posting instantly to the site.)
#
aaronpk_
I do actually freak out if my gps logger stops working and try to not move til i fix it
aaronpk joined the channel
#
aaronpk
and back
#
sknebel
luckily my VPS isn't responsible for anything really important. biggest annoyance likely would be "what tweak did that config file need again?!"
#
aaronpk
doubled the RAM too
#
sknebel
gives Loqi more RAM
#
snarfed
aaronpk++
#
Loqi
aaronpk has 105 karma in this channel (1532 overall)
#
aaronpk
linode++ made that so easy
#
Loqi
linode has 1 karma in this channel (5 overall)
#
aaronpk
much more breathing room now
#
sknebel
What is munin?
#
Loqi
It looks like we don't have a page for "munin" yet. Would you like to create it? (Or just say "munin is ____", a sentence describing the term)
#
sknebel
Munin is http://munin-monitoring.org/, a [[monitoring]] tool to create resource usage graphs for your servers.
#
loqi.me
created /Munin (+137) "prompted by sknebel and dfn added by sknebel"
(view diff)
#
kaja.sknebel.net
edited /Munin (+1) "linkify ('… is <url>' pattern)"
(view diff)
redaxo_schorsch joined the channel
#
vanderven.se martijn
edited /URL_design (+362) "Google: Keep is simple."
(view diff)
#
gRegorLove
what is snark?
#
Loqi
snark is an experimental post type to denote a sarcastic post https://indieweb.org/snark
#
gRegorLove
That might be the closest to "joke" post, KartikPrabhu
#
Zegnat
Snark is not a [[Boojum]].
#
Loqi
nice
#
gRegorLove
Had to Wikpedia that one
[kevinmarks], snarfed and [miklb] joined the channel
#
gRegorLove
Hm, I'm getting tweets with truncated: true via the API, not sure how to get the full text though.
#
[kevinmarks]
by default the text is 140 chars, you have to get the other field with the long version
#
aaronpk
Its the extended mode or whatever
#
[kevinmarks]
also you have to bugger about with entities