HNHacker News
TopNewBestAskShowJobs

mitechie

79 karma · joined March 19, 2012

submissionscomments
mitechie··on Building a higher-level query API: the right way to use Django's ORM
I can't agree more. Always wrap your ORM with your own logic that makes sense to you and your application. You'll find code reuse will go way up, readability will go way up, testing is easier. You can actually test the model without bootstrapping the whole app. I've been preaching this in my SqlAlchemy talks and tutorials for years.
mitechie··on Why I'm building Nilai - A simple bookmarking service
https://github.com/mitechie/Bookie
mitechie··on Why I'm building Nilai - A simple bookmarking service
Yea, the big issue is the denormalization of the data in the json dump. While it's machine readable, it's still a bit of a pita to put it together. The other thing is that since you're a folder user, how to you transition that to the tags concepts most services use. Right now I just import the folders as tags from the html dump, but want users that have tags in their stuff to be able to load the json dump to preserve those tags, which seems like it'd still not do what you were looking for. I need to make sure that nested folders means you get multiple tags during import, and I wonder if that'd help you out.
mitechie··on Why I'm building Nilai - A simple bookmarking service
Ok cool, I've been investigating firefox json dump imports, so wanted to make sure that's what you were using.
mitechie··on Why I'm building Nilai - A simple bookmarking service
What browser are you using that you've got your bookmarks setup in?