#dev 2018-01-13

2018-01-13 UTC
KartikPrabhu, AngeloGladding, [keithjgrant], snarfed, tantek, renem and eli_oat joined the channel
#
tantek
heads-up indieweb innovators - OSCON is returning to Portland in 2018 and CFP is open til the 30th! https://twitter.com/oscon/status/951137060475334657
#
@oscon
#OSCON is returning to Portland and we want to hear from you! The CFP is now open - deadline to submit is January 30 http://oreil.ly/2AToMN7
(twitter.com/_/status/951137060475334657)
#
GWG
What is a good way to handle Fahrenheit vs Celsius for website visitors?
#
Loqi
It looks like we don't have a page for "good way to handle Fahrenheit vs Celsius for website visitors" yet. Would you like to create it? (Or just say "good way to handle Fahrenheit vs Celsius for website visitors is ____", a sentence describing the term)
#
tantek
GWG perhaps take a look at how Dark Sky approaches that UX problem
#
GWG
I was going to move on from weather, but I apparently inconvenienced a large percentage of the world by not displaying in Celsius
#
GWG
Maybe I should store everything in Kelvin and convert on the fly.
[miklb] joined the channel
#
[miklb]
user option which to display is most common in weather apps
#
GWG
But storage vs display is something I have to decide
#
[miklb]
store both?
tantek joined the channel
#
GWG
I will think about that
chrisaldrich, gRegorLove and snarfed joined the channel
#
bear
if the user exposes location, use that otherwise you use the default of where the weather is
#
GWG
bear: Other than the US, who uses Fahrenheit?
#
bear
bahamas, belize, cayman, palau
#
bear
confirmed via wikipedia: "By the end of the 20th century, Fahrenheit was used as the official temperature scale only in the United States (including its unincorporated territories), its freely associated states in the Western Pacific (Palau, the Federated States of Micronesia and the Marshall Islands), the Bahamas, Belize, and the Cayman Islands.[3] All other countries in the world now use the Celsius scale, ..."
#
bear
what i've done in the past, if the location is not sniffable, is to put C as the default and use the hover tip to be F
#
aaronpk
Don't most things let the user choose which to use? As long as you Store which unit is used then it doesn't matter which is stored
tantek joined the channel
#
tantek
yeah C is a good default
tantek joined the channel
#
KartikPrabhu
personally I use Rankine
#
@mariobreskic
@espiekermann Social media has managed to turn itself from a means to connect people globally, into the end of a mob society cherished by plebeians. There is only one cure for this: bring back the personal homepage and turn social media into rss3.0.
(twitter.com/_/status/952060921920348160)
#
tantek
lol with the plumbing fetishism
#
KartikPrabhu
"turn social media into blockchain3.0." there fixed it ;)
#
tantek
KartikPrabhu: the expression is FTFY :)
#
KartikPrabhu
what is FTFY?
#
Loqi
It looks like we don't have a page for "FTFY" yet. Would you like to create it? (Or just say "FTFY is ____", a sentence describing the term)
#
tantek
what are notifications
#
Loqi
notifications in the context of the IndieWeb refer to all forms and ways that an independent web site can receive a message indicating something of interest (server notifications), and potentially relay that information (preferably in realtime) to one or more devices used by the owner of that site (client notifications) https://indieweb.org/notifications
#
Loqi
ok, I added "https://en.wikipedia.org/wiki/Special:Notifications" to the "See Also" section of /notification
#
tantek
KartikPrabhu: https://en.wiktionary.org/wiki/FTFY#Phrase (not indieweb specific)
#
KartikPrabhu
should catch up with all the new interwebs lingo
tantek and [kevinmarks] joined the channel
#
[kevinmarks]
I'd have thought that you would use eV for temperature
#
KartikPrabhu
[kevinmarks]: I have considered switching to Planck units but converting from Rankine is hard
cweiske, [mrkrndvs] and leg joined the channel
#
dgold
I'm trying to use openweathermap for weather, but it refuses point blank to provide me with temps
#
GWG
dgold: Really? I used that for my first try
#
GWG
It didn't give me any trouble
#
dgold
GWG - caught the bug!
#
dgold
now functioning -- you say you used it for the first try; can I ask why you stopped using it?
#
dgold
i've been playing with owm, darksky & wunderground
#
GWG
dgold: I didn't.
#
GWG
I intend to write in support for multiple providers
#
dgold
the APIs are all quite different
#
dgold
the wunderground one in particular; and the available php libraries for wunderground are also not as 'nice' as owm & darksky
#
GWG
I write a compatibility layer for everything that goes into a set format
#
GWG
That's why it took development time.
snarfed, [mrkrndvs], krup, leg and [miklb] joined the channel
#
[miklb]
I have the oddest bug with my fastcgi cache. Somewhere along the lines permissions get borked and then webmentions throw a 500. I have my www-data user/group set for the permissions, which I thought should cover it, but I apparently not. I’ve had to go back and reset those permissions to fix. Anyone good with permissions have any thoughts?
#
snarfed
[miklb]: that might happen whenever fastcgi gets upgraded and reinstalled. just a hunch
snarfed joined the channel
#
[miklb]
hmm. I did apt-get upgrade linux-base yesterday
#
[miklb]
which updated a lot of the php “stuff”
snarfed joined the channel
#
[miklb]
thanks snarfed. I’ll keep an eye on that next time I update my Debian packages.
snarfed and krup_ joined the channel
#
[miklb]
Its weird, when that error starts, Bridgy keeps sending the same mention, but micro.blog silently failed in sending any WM
#
[miklb]
well, silently on the front end. I didn’t look at the logs
krup_, krup, John____, iasai and [kevinmarks] joined the channel
#
[kevinmarks]
Wunderground seems to be down at the moment - the app keeps dying on me
snarfed joined the channel
#
dgold
fecking golang driving me around the bend at the minute
#
dgold
illegal number syntax: "-"
#
dgold
like... what sort of an error message is that?
#
Zegnat
And that’s why PHP is just *better*
#
Zegnat
ducks, rolls, and hides
#
dgold
oh, it _is_, Zegnat, it really is
#
dgold
stable code base? what kind of lunatics would want that, eh?
#
Zegnat
I think Go has a proper HTML parser though, which would be nice to have
#
dgold
got it
#
dgold
haha! take that you errant breaking space!
#
Loqi
nice
#
dgold
note to self: use a proper font when coding
#
dgold
i was playing about with that vt-220 glass font thing again
#
dgold
good lord, I can't imagine using that for coding
#
dgold
it works!
#
dgold
I made a weather thing.
#
dgold
and it was a lot easier than I'd imagined
[miklb] joined the channel
#
[miklb]
dgold++
#
Loqi
dgold has 7 karma in this channel (26 overall)
#
dgold
hey! nice!
#
dgold
thanks miklib!
#
Zegnat
Ah, Loqi is doing karma again?
#
Zegnat
dgold++
#
Loqi
dgold has 8 karma in this channel (27 overall)
#
dgold
'tis to be regretted that I didn't do a 2018-01 thing
KartikPrabhu, [cleverdevil], tantek, [chrisaldrich], benwerd, snarfed, [stefp], krup, jjuran, [miklb] and ben_thatmustbeme joined the channel
#
aaronparecki.com
edited /test (+8) "test"
(view diff)