2015-12-12 UTC
snarfed joined the channel
# 00:24 kylewm KevinMarks: I just saw an instagram cluster today (maybe for the first time)
# 00:38 snarfed confirmed, the Timeline Photos album doesn't consolidate, but the rest do
# 00:39 snarfed not sure if apps can upload to Timeline Photos though
nitot, danlyke, KartikPrabhu, snarfed, pl_, obensource_, obensource, ttepasse, wolftune, squeakytoy and [shaners] joined the channel
# 07:12 [shaners] <@U03QR2B3P: your naming convention for p3k is very clever. :+1:
nitot joined the channel
friedcell joined the channel
tantek, friedcell, nitot, squeakytoy2, bergie_, uranther_, DePhraser_, bigbluehat_, anm_, M-Kodo, aaronpk and minsky joined the channel
friedcell, ramsey, glennjones, KartikPrabhu, nitot and j12t joined the channel
# 11:45 petermolnar I think I'm done with pushing plugins to the official WordPress reposiroty
# 11:46 Loqi petermolnar meant to say: I think I'm done with pushing plugins to the official WordPress repository
# 11:46 petermolnar they have some lint on the svn (sic!) which apparently fails in PHP 5.6 functionalities
nitot, j12t, wolftune, friedcell, ttepasse, loic_m and korayal joined the channel
# 13:48 GWG petermolnar: I push to the official repository to encourage adoption
Tino joined the channel
# 13:57 petermolnar yeah, that were my reasons as well; turned out the lint they are using is php 5.4
# 14:06 GWG !tell acegiak Are you using like/favorite etc without a URL for anything?
# 14:06 Loqi Ok, I'll tell them that when I see them next
j12t, nitot, neanias, snarfed, wolftune, singpolyma and Tino joined the channel
# 16:54 GWG I am working to generate a display based on a set of variables, not all of which are set. The display changes based on which ones are
# 16:54 GWG I am trying to find a way to do this that is better than a lot of if statements
nitot and j12t joined the channel
# 17:10 GWG I have been looking for the right method
nitot joined the channel
# 17:13 GWG I just wiped my former work to redo it.
# 17:14 GWG A bookmark can have an author or not, that author can have a URL or not.
# 17:14 GWG I could have an author image or not.
# 17:16 GWG I know there are templating engines, but that seems like overkill
[kevinmarks] joined the channel
# 17:23 GWG I don't want to eliminate them so much as have cleaner code that I can easily go back to and remember what I did.
# 17:26 GWG I just don't want five levels of nested ifs.
JonathanNeal_, uranther_, Phae_, reidab_, mattronix_, benward__, Zegnet, cjk101010, Jeena, singpolyma, snarfed and KevinMarks joined the channel
KartikPrabhu and j12t joined the channel
danlyke_, tantek and wolftune joined the channel
# 19:22 tantek GWG, the challenge of conditional code for the presence/absence of particular properties is a real challenge
# 19:23 tantek best way is to start from the presentation and work backwards
# 19:24 tantek that is, sketch out how the presentation could/should/would ideally look if you have a certain set of properties, for all possible sets like that
# 19:24 GWG I am starting with a basic presentation design. I'm actually going backward to that. I want to write that in a way I can remember how to work with it. Then enhance it.
# 19:24 tantek you can approach that set of sketches two ways. you can start with, assume you have all the properties, what would a good presentation look like? which of the properties would you use and not use (even if you have them) ?
# 19:24 tantek or you can start with - assuming you only had *one* property, what would you present?
# 19:25 tantek and within those two approaches, you could start with text-first design
# 19:25 GWG tantek: You raised the question of differing presentations based on single or feed view, and that added a second layer of questions on my part
# 19:25 tantek once you have design sketches like that that look good to you, then you can figure out the minimal code necessary to produce them based on the presence/absence of properties
# 19:26 GWG My plan at the moment was to break out reusable parts of the code into separate functions.
# 19:26 tantek GWG, correct. there is different presentation of a permalink page vs. in-stream.
# 19:26 tantek another (more subtle) difference is logged in vs. logged out view
# 19:27 tantek and within the logged-in variant, another difference is has-write/edit/delete-permissions, or read-only (may choose to hide/show particular webactions like edit/delete)
# 19:28 GWG That is why after thought, the best way to make it readable was to break it into pieces.
# 19:28 tantek perhaps - it is difficult to figure out the pieces boundaries without first figuring out the variants that the pieces must fit into
# 19:29 tantek by figuring out the variants first, you can look across them, side-by-side, and the common pieces will be more apparent. then you can implement those common pieces, vs the pieces that are different for each variant
# 19:29 tantek the overall presentation variants of a whole post (whether on a whole page, or in a stream, or in an archive)
# 19:31 GWG Lucky I bought that pack of Junior Pads
# 19:32 tantek feel free to scan and upload your sketches too and add them to a brainstorming section for the specific post page e.g. /bookmark
# 19:44 GWG tantek: As usual, I value your input. It is usually helpful in putting my thoughts into perspective even if I don't always understand or agree.
# 19:46 KevinMarks you're going to have the conditional code somewhere, GWG, just need to decide how much is in templates and how much in main code
# 19:48 GWG KevinMarks: That is my current contemplation.
j12t and tantek joined the channel
# 20:03 tantek KevinMarks is right. The key with presentation-first design is that it is a way of making sure that every conditional driven by a specific presentational need/desire, which is a good way to minimize the number of such conditionals, and thus simplify the resulting code.
j12t, friedcell, wolftune, nitot, tantek and jciv joined the channel
# 23:32 tantek without a URL of the thing being liked/favorited, it doesn't make much sense - though I suppose you could just like something by name without linking to anything
# 23:34 GWG acegiak: Early on, weren't you using it for 'quotes'?
snarfed joined the channel
# 23:36 GWG acegiak: Then I can make a quote post kind if the need arises and enforce the presence of a URL for like/favorite/etc at some point in the future.
# 23:39 GWG I have a big update I'm working on still.
# 23:39 acegiak Does the wish type currently enforce urls? Cause I can see that not needing one?
# 23:40 GWG acegiak: None of them do. But my next item is rewriting the presentation/view code. So the absence/presence of data elements was on my mind.
# 23:42 GWG acegiak: I'm thinking of removing the verb in favor of only the icon.
# 23:44 acegiak GWG: hmm, I think maybe make that optional in some way?
# 23:45 GWG I've already swapped icon fonts for SVG. I'm blaming KevinMarks for that. He sent an article link.
# 23:48 GWG I can be very easily influenced by citations
# 23:52 GWG acegiak: If you want to submit any sketches, I've refining the structure and preparing to build custom templates for each kind
frzn joined the channel