Imaginary Dragon is A Square Root of a Negative Dragon

I’ve been fooling around with Amazon.com SDK today. I’ve always wanted to write a wishlist manager. I tried to export my wishlist out, but not all records are being returned. Looks like it’s a known bug according to their bulletin board. Ok, I guess I’ll have to extract it page by page (it seems to be working a page at a time).

At the same time I discovered a silly bug in the way wishlist results are displayed. To reproduce” modify “registry.page-number” part of the query string in the url, to jump a few pages forward. Then press “previous button” : numbering of items will turn to negative numbers. Yeah, pagination is usually tricky to code right. But if even I can do it, so should Amazon programmers.

Regular shopping cart pagination uses “pg” token, and works ok with this manual jump.

Right now I am in the process of consolidating all of my information in a hyperlinked map. The tool I am using is called Treepad. But it’s late, I’ll write more about that later. Good night.