Easy ‘curling’ with Httpie
Sometimes there is a need to quickly test some web service if its responding correctly to the given data, that is especially true when using a new REST service you haven’t worked with before and just want to try it out. Using curl is not always as fun as it could be because of multiple […]
Read More →Importing data into CouchDB – Java, Ruby and Erlang way
Working recently with CouchDB I become interested on how to import existing data into the database quickly. The CouchDB is written in Erlang so the first thing which came to my mind was to use that language for the job, but to find out if it runs ‘quickly’ or not, I had to compare it […]
Read More →Parsing large XML files with Woodstox library
Today I wanted to play a bit with the library providing support for StAX (The Streaming API for XML) – JSR-173. Recently I have worked a bit with XML parsers in Ruby (like LibXml) while I was reading Seven Databases in Seven Weeks by E.Redmond and J.R.Wilson – which is by the way a really […]
Read More →Quering CouchDB for scalar values with Map/Reduce view and Ektorp library
I have encountered a problem today when I was trying to execute a simple Map/Reduce query within my pet project using Ektorp java library. Besides not too bad documentation for the library itself, for some reason I couldn’t execute the query to retrieve scalar value from the database using an array of keys. The problem: […]
Read More →