HN user

jeffamcgee

18 karma

my public key: https://keybase.io/jeffamcgee; my proof: https://keybase.io/jeffamcgee/sigs/iBWQQf2luDdrqY_4rxyCFLrzYThGH_eKhpRZ9JSdK0M

Posts1
Comments8
View on HN
Roc Camera 9 months ago

If you take this to ILM's The Volume, you can prove that The Mandolorian is real.

I have a 2016 MBP w/ touchbar, and depending on which color display profile I select in System Preferences, sometimes I can see it, and other times I can't.

JSON API 13 years ago

The twitter API originally used pages, but they realized it was a mistake: https://dev.twitter.com/docs/working-with-timelines . The way the facebook API does it is a lot more sane: http://developers.facebook.com/docs/reference/api/pagination... .

I think that you should specify the format for cursor based paging of resource collections. One way to do it would be to require a url to get more results:

    {
      "posts": [...]
      "meta": {
        "next":"/posts/search?q=baseball&after=1234"
      }
    }
Another option would be for it to be a key/value pair that must be added to the url:
    {
      "posts": [...]
      "meta": {
        "next":"after=1234"
      }
    }
Either way, rest clients should treat it as a meaningless string.