130 reputation
4
bio website twitter.com/meetamit
location Bowery NYC
age
visits member for 2 years, 3 months
seen Jun 11 at 2:46

I'm the tech director and cofounder of TWO-N. We're a boutique data visualization studio in New York City.

Do you live in New York? Enjoy UX? Want to work on a variety of data-driven with app rich graphics? Check it out:

We're Hiring!

TWO-N


Sep
24
awarded  Autobiographer
Apr
8
comment How do you store “fuzzy dates” into a database?
Long startup ago, we had to solve the exact same issue. Users could tell stories about events that happened any time in the past, so we had to support fuzzy dates. After much back-and-forth, the solution we arrived at is most similar to superM's suggestion here, where dates are stored as the min & max possible instants that would contain the story's date. When reporting the date, the accuracy (i.e. "this record is accurate to the month/year/day") can be extracted from the delta between the min & max dates. No need to store a 3rd field for accuracy.
Oct
8
accepted How to structure a set of RESTful URLs
Oct
8
comment How to structure a set of RESTful URLs
Absolutely: although the distinction between stock and index is needed (because their ids can overlap), the hierarchy of indexes containing stocks is meaningless. In fact, the need to specify the "kind" only arose later in the project, due to some limitation. Making the order arbitrary, as in your last example, is an advantage that didn't occur to me till now. I don't personally care about the aesthetics of the url, but I did worry that the reliance on URL params would anger REST purists, which is why I got into this deliberation in the first place. Thanks!
Oct
8
comment How to structure a set of RESTful URLs
@Earlz: Thanks!
Oct
8
comment How to structure a set of RESTful URLs
@Euphoric: In other words, they're all valid and it's up to me to pick whichever one I like? (bc they're not really the same).
Oct
8
asked How to structure a set of RESTful URLs
Jul
26
awarded  Scholar
Jul
26
accepted How to distribute a web app (that's hosted by the customer)
Jul
25
awarded  Supporter
Jul
25
comment How to distribute a web app (that's hosted by the customer)
Thanks everyone for the replies so far! luc-franken and @elyusubov: The per-customer modifications don't involve modifying the core of the app. All customization is done via inclusion of external files (config, js, css) and setting of environment variables. So a separate branch per customer is probably not needed.
Jul
25
awarded  Student
Jul
25
asked How to distribute a web app (that's hosted by the customer)