Sorted List

  1.  
    1. I've put together a quick Acre app to show all the To Do lists ordered by number of topics. I hope you find it useful as a way to monitor which tasks require the most attention. Views without any topics are not shown.

      If you want to see a list of tasks created by a specific user you can use the following URL format http://todo.narphorium.user.dev.freebaseapps.com/user/sprocketonline

      1. Something is screwy with one of the lists. When I look at http://www.freebase.com/view/user/tfmorris/default_domain/views/people_with_with_in_their_names it lists 26 people, but on the sorted lists index it says 635. Not sure what the deal is...

      2. There's an even more egregious example than the one I noticed. #1 on the hit parade is Shawn's http://www.freebase.com/view/user/narphorium/default_domain/views/books_with_edition_in_their_name which is listed with 2.4 million entries, but is actually empty.

        I had a quick look at the code and it looks like the root of the problem is the use of MQL's 'estimate-count.' It returns wildly inaccurate results, but using 'count' instead causes things to time out, so I'm not sure there is a good solution. I could envision a solution that used AJAX with a dynamically updated display that fell back from 'count' to 'estimate-count' when necessary, but that seems way too much work.

      3. Yeah, I really wish that estimate-count degraded a little more gracefully. I've written other apps where I wrap the return:count in a try-catch and then run return:estimate-count if it times-out. But this app is already slow and I'm not sure how much further I can push it.

      4. When I had a quick play with it, I was getting page timeouts, not query timeouts, which is why I suggested it would have to be some type of AJAXy type solution, so you could get the page returned before the timeout, but still updated it afterwards. Doubt it's worth the effort though.

    Discussion is posted in:

    Think this discussion also relates to something else? Cross-post it by adding a new discussion area:

Search Discussions

Related Discussions