2017-02-15 UTC
colintedford joined the channel
miklb and KartikPrabhu joined the channel
# 01:06 GWG What is the easiest way to take a set of parameters in a priority and return the first that exists in php?
# 01:09 aaronpk maaayyyybe i need a word length limit for Loqi's "what is"
# 01:09 aaronpk not sure what you mean by "set of parameters in a priority"
# 01:10 GWG Given an array, if key x is set, return that. If not, check for key y, if not, key z.
# 01:11 GWG aaronpk: I was thinking there might be a more elegant way
# 01:11 GWG For example, I tried to map the reverse geolocation in nominatim to microformats
# 01:13 aaronpk function dothething($keys, $array){ foreach($keys as $k){ if(array_key_exists($k, $array)) return $array[$k]; } return null; }
# 01:13 GWG Yes, but when multiple things could map.
# 01:14 GWG locality equals hamlet or village or town or city.
# 01:15 GWG My current solution is messy. I was hoping to think of a nice way for me to do this in the priority I want to do it in.
[acegiak_net] joined the channel
# 01:16 GWG Well, if you set an array in advance in order and run a function like the one you suggested above that breaks when it gets to the first one that fits...
# 01:17 GWG I suppose that would be slightly neater and easy to maintain.
KevinMarks, KevinMarks_, singpolyma and [kevinmarks] joined the channel
# 03:20 [kevinmarks] In php candidates you just say $locality = $hamlet | $village | $town | $city;
# 03:41 aaronpk Well that assumes you have them in variables and that all the variables exist otherwise you get undefined notices
[eddie] and [kevinmarks] joined the channel
# 05:00 [kevinmarks] Ah, right, and PHP doesn't have something like python's d.get(key,default)
# 05:01 GWG See why I said that there was a solution that lacked simplicity and elegance.
tantek, KevinMarks, KevinMarks_ and cweiske joined the channel
jonnybarnes and sebsel joined the channel
gRegorLove, singpolyma, KartikPrabhu, KevinMarks and tantek joined the channel
# 19:02 Loqi 10 Centuries(10C) is a blogging/microposting silo, similar in scope and intent to ADN, for posting notes(blurbs) of up to 1,024 bytes, and longer-form articles(blog-posts) up to 8,192 bytes https://indieweb.org/10C
KevinMarks joined the channel
[jeremycherfas], KevinMarks and singpolyma joined the channel
# 19:47 aaronpk i've had that same problem with apple and amazon's java clients. i have to give itunes and amazon a non-https feed of my podcast
# 19:49 aaronpk no the amazon server that fetches my podcast feed for the Alexa service
# 19:56 aaronpk that seemed like a more appropriate place, since it wasn't really part of the iTunes desktop program
KevinMarks joined the channel
[kevinmarks], KevinMarks_, tantek and KevinMarks joined the channel
arush joined the channel
singpolyma joined the channel
# 21:15 tantek aaronpk - you realize that's a past event right?
# 21:16 tantek are you doing that for link-preview purposes? (I mean that seems sensible)
# 21:16 tantek would be good to use that for the 2017-03-08 cover photo
# 21:16 aaronpk no, it just seemed weird to have a cover photo with people who weren't at any of those events
# 21:17 aaronpk it makes a little more sense when the event is in the future
# 21:17 tantek perhaps that's worth adding an as explicit step
# 21:17 aaronpk the grid one makes more sense to use as a cover photo because it doesn't look like it's a photo taken at an event
# 21:18 tantek "small group of people" seems more inviting than a "grid"
# 21:18 tantek and appearance of an actual venue gives more of an idea of what's going on
# 21:18 aaronpk i feel awkward posting what looks like a photo of a specific group of people as a cover photo tho
# 21:18 aaronpk maybe if it didn't have faces it would be more appropriate
# 21:19 tantek interesting! I feel the faces make it more friendly!
# 21:19 aaronpk it just ties it so specifically to a point in time, which is not the point of the cover photo
# 21:19 aaronpk oh another way to make it more cover photo-y would be to add extra artwork on it. like a gradient, or icons or something
# 21:19 tantek does it? there's not much temporally evident in that cover photo
# 21:19 aaronpk then it woudl look less like a photo taken at that event
# 21:20 tantek (SF weather is fairly consisent year round ;) )
[jeremycherfas] joined the channel
# 21:20 aaronpk i think another factor here is that while this is trying to be a "cover photo", it doesn't actually bleed to the top of the page, so it kind of just looks like a regular photo
# 21:20 tantek what does donutjs use for featured / link-preview photos for their event posts?
# 21:21 tantek no cover photos on event pages "bleed to the top of the page"
# 21:21 aaronpk the FB toolbar looks more like a toolbar than our wiki header tho
# 21:22 aaronpk our wiki header is more like a "container" around the event
# 21:22 aaronpk whereas the FB toolbar is stuck to the top of the browser and does not "contain" the event
# 21:22 tantek yeah that's true, mediawiki kind of has two toolbars
# 21:22 tantek the user-specific stuff at the very top, then some blank space, then the page-specific stuff
# 21:24 tantek that's a good observation about FB's content design
sandro_ and [dgold] joined the channel
KartikPrabhu1 joined the channel
KartikPrabhu, KevinMarks and [kevinmarks] joined the channel
Guest3356, [eddie] and chrisaldrich joined the channel
[chrisaldrich], chrisaldrich and [eddie] joined the channel