pauamma: Cartooney crab holding drink (Default)
pauamma ([personal profile] pauamma) wrote in [site community profile] dw_dev2016-12-31 03:31 am
Entry tags:

Question thread #48

It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
momijizukamori: Green icon with white text - 'I do believe in phosphorylation! I do!' with a string of DNA basepairs on the bottom (Default)

[personal profile] momijizukamori 2016-12-31 11:10 pm (UTC)(link)
I'm going to guess most of the major DB stuff is pretty well sorted at this point, BUT I'm getting to the point of actually being able to do something with my new search interface for /customize, and part of that is going to involve tinkering around with the s2 layer tables to allow two (or more) levels of categorization. Right now there's nothing grouping style categories together (like, say, a group of categories, one for each color). My super-alpha proof of concept uses a space in category name as a splitter and does the grouping in the code (so ("Color Red", "Color Pink", "Color Green") becomes ("Color" => {"Red", "Pink", "Green" })) which is incredibly hacky and likely to cause problems no matter what seperator I pick down the line. If you're interested in helping with that, I'm happy to fill you in!