sdjournal


Home » Archives » Posts from June 2004

Sunday, 13th June 2004

PyAmazon 0.64: Support for specifying locale and associate ID on a per search basis

PyAmazon 0.64, a new release of PyAmazon that incorporates a couple of patches that have been submitted by some helpful users.


Christian Theune provided a patch that allows the locale and Associates ID to be specified on a per search basis. This is useful if you need to talk to multiple catalogs in a multi-threaded environment and possibly under other circumstances too. Christian also submitted a fix to the Sales Rank code so that it works in locales where '.' is used as a thousands separator.

The locale can be passed to one of the search functions using an optional parameter. e.g.

results = amazon.searchByArtist('Jesse Malin', locale = 'uk')

and similarly for the Associates ID:

results = amazon.searchByAuthor('A. M. Homes', associate = 'josephsondoto-20')

Patrick Phalen sent in a change so that whitespace (e.g. trailing newlines) is stripped when reading the Amazon key from a file.

Finally, Akihiro Takizawa emailed to let me know that the Japanese sever's location has changed to xml.amazon.co.jp so I've updated the locale definitions to reflect this.
12:27AM in pyamazon


Thursday, 3rd June 2004

Russell Beattie posts some tips on using Tomcat.
12:54AM in Java (via rc3.org)

JOnAS

JOnAS: Java Open Application Server. Need to investigate this and the associated projects.
01:13AM

Wednesday, 2nd June 2004

Design Theory and Software Design: Kent McPhee
Dept. of Computing Science, University of Alberta
« Abstract: Software design methods share many characteristics with design methods in other fields. All these methods are the progeny of philosophies of design that are in turn influenced by more general philosophic movements. This essay begins with the influence of philosophies of science on the study of design, highlighting the effects on design discourse of Cartesian rationality, the hypothetico-deductive account of scientific progress, and Kuhnian paradigms. Next, the influence of the constructivist...  »
12:23AM (via Tesugen)

Tuesday, 1st June 2004

bookshelved.org

Bookshelved: A wiki-based online community dedicated to books, an online discussion where the primary topic is books read by the people who contribute.
11:13PM