yeah re firebase. there’s gonna be user subscription/acct info, room-design-attribute info…etc. And yeah, there’s more problems to come. The radio boxes in this room-design “Utility” section are just straight-up filters. But there’s two more sections of user input “Functional” and “Style”… these are all checkboxes. Because a user can check boxes in so many different combinations (like millions!) I don’t look at that as a filter problem – I look at that as a matching algorithm problem. For that I was thinking of setting up a bipartite matrix which reflects the presence and absence of room attributes and using a python script and maximum bipartite matching to match the checkbox input to the “nearest” or “closest” (think Hopcroft Karp algo and Hamming distance) room designs.
haha, but I don’t know yet how to add a Python script to an app stack. I’m assuming/hoping that won’t be too hard to figure out. : /
back to the generator function -->
Also yeah, I’m a little obsessive … and l like to use cool things and I do reach for things that are above my coding experience level . But, all seriousness aside , I was thinking to use the JS Generators because I want one filter to resolve and return results before I filter the next group of radio buttons. I thought a JS Generator would be a nice way of “throttling” and sequencing the filtering process.
more info -->
I am working on a prototype of a interior design app for some friends of mine. I’ve taken a bunch of online learning courses and I wanted to build a React/Redux mockup of their site to get better at coding before I circle back around and deal with prototyping my own app Impending Bloom which will be a social impact investing platform. Impending Bloom is a much more complicated app … well, just because for one, it’s an investing platform but also because I want to build a quant-driven visual investing environment using D3. So I have to dig more into D3 pretty soon also.