{"action":"created","issue":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3583","repository_url":"https://api.github.com/repos/rethinkdb/rethinkdb","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3583/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3583/comments","events_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3583/events","html_url":"https://github.com/rethinkdb/rethinkdb/issues/3583","id":54531364,"number":3583,"title":"r.now and changefeeds","user":{"login":"AtnNn","id":706854,"avatar_url":"https://avatars.githubusercontent.com/u/706854?v=3","gravatar_id":"","url":"https://api.github.com/users/AtnNn","html_url":"https://github.com/AtnNn","followers_url":"https://api.github.com/users/AtnNn/followers","following_url":"https://api.github.com/users/AtnNn/following{/other_user}","gists_url":"https://api.github.com/users/AtnNn/gists{/gist_id}","starred_url":"https://api.github.com/users/AtnNn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtnNn/subscriptions","organizations_url":"https://api.github.com/users/AtnNn/orgs","repos_url":"https://api.github.com/users/AtnNn/repos","events_url":"https://api.github.com/users/AtnNn/events{/privacy}","received_events_url":"https://api.github.com/users/AtnNn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/labels/tp:ReQL_proposal","name":"tp:ReQL_proposal","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/41","html_url":"https://github.com/rethinkdb/rethinkdb/milestones/subsequent","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/41/labels","id":367201,"number":41,"title":"subsequent","description":"Issues in this milestone will be revisited after each major release during the planning stage for the major release after it. They will be moved to a specific release milestone if chosen for that release.","creator":{"login":"coffeemug","id":48436,"avatar_url":"https://avatars.githubusercontent.com/u/48436?v=3","gravatar_id":"","url":"https://api.github.com/users/coffeemug","html_url":"https://github.com/coffeemug","followers_url":"https://api.github.com/users/coffeemug/followers","following_url":"https://api.github.com/users/coffeemug/following{/other_user}","gists_url":"https://api.github.com/users/coffeemug/gists{/gist_id}","starred_url":"https://api.github.com/users/coffeemug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coffeemug/subscriptions","organizations_url":"https://api.github.com/users/coffeemug/orgs","repos_url":"https://api.github.com/users/coffeemug/repos","events_url":"https://api.github.com/users/coffeemug/events{/privacy}","received_events_url":"https://api.github.com/users/coffeemug/received_events","type":"User","site_admin":false},"open_issues":472,"closed_issues":4,"state":"open","created_at":"2013-06-30T07:32:52Z","updated_at":"2016-03-21T01:48:28Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-01-16T02:00:18Z","updated_at":"2016-03-22T20:32:05Z","closed_at":null,"body":"The current behaviour of `r.now` makes it less useful in the context of changefeeds.\r\n\r\nIf it was not constant, it would allow adding timestamps to the results and filtering based on the current time:\r\n\r\n```\r\n.changes().map(lambda row: [r.now(), row])\r\n.changes().filter(lambda row: row.end_time > r.now())\r\n```"},"comment":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/comments/200008286","html_url":"https://github.com/rethinkdb/rethinkdb/issues/3583#issuecomment-200008286","issue_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3583","id":200008286,"user":{"login":"thelinuxlich","id":5043,"avatar_url":"https://avatars.githubusercontent.com/u/5043?v=3","gravatar_id":"","url":"https://api.github.com/users/thelinuxlich","html_url":"https://github.com/thelinuxlich","followers_url":"https://api.github.com/users/thelinuxlich/followers","following_url":"https://api.github.com/users/thelinuxlich/following{/other_user}","gists_url":"https://api.github.com/users/thelinuxlich/gists{/gist_id}","starred_url":"https://api.github.com/users/thelinuxlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thelinuxlich/subscriptions","organizations_url":"https://api.github.com/users/thelinuxlich/orgs","repos_url":"https://api.github.com/users/thelinuxlich/repos","events_url":"https://api.github.com/users/thelinuxlich/events{/privacy}","received_events_url":"https://api.github.com/users/thelinuxlich/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T20:32:05Z","updated_at":"2016-03-22T20:32:05Z","body":"A third option(probably crazy), would be a lazy wrapper:\r\n\r\n```\r\n.changes().filter(lambda row: row.end_time > r.lazy(r.now()))\r\n```"}}