TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Previewing Meteor's new rendering engine: reactive sortable lists

44 pointsby debergalisover 11 years ago

3 comments

scottmessingerover 11 years ago
It appears as if rank is stored as a float. The rank can quickly get to be a very, very small number. It seems at some point, float precision might be an issue and&#x2F;or length of the rank key. Have you run into this and&#x2F;or do you have solutions?<p>Brandon Keepers wrote about trying this idea in Ruby <a href="http://opensoul.org/blog/archives/2011/09/06/sortable-lists-in-key-value-data-stores/" rel="nofollow">http:&#x2F;&#x2F;opensoul.org&#x2F;blog&#x2F;archives&#x2F;2011&#x2F;09&#x2F;06&#x2F;sortable-lists-...</a> and ran into a float precision issue (see comment).
millstoneover 11 years ago
Maybe I’m using outdated terminology, but why is this called a “rendering engine?” When I think of rendering engines, I think of things that generate pixels.
评论 #6383994 未加载
评论 #6384895 未加载
singlowover 11 years ago
Back in an earlier version of Meteor I actually implemented drag-sortable and drag-drop lists with jQuery UI and Reactive data sources and it wasn&#x27;t very difficult. I can&#x27;t post the source - but there is a simplified demo here: <a href="http://grass-freight.meteor.com/" rel="nofollow">http:&#x2F;&#x2F;grass-freight.meteor.com&#x2F;</a>