Constant Contact Labs Developer Blog

Libraries

  • CSV Column Discretization with Java Posted Monday, January 3, 2011 Huan Lai 0 Comments


    When mining a large amount of data, often times you end up with a lot of columns with continuous values. While this is the most “pure” version of the data, sometimes you want to cluster these values into bins to do things like creating histograms or just easy analysis of the distribution of the data. I ran into this when I ran a few Hadoop jobs that spit out CSVs as their output. After looking around online for a while, I couldn’t find any readily available solution, so I wrote up something really quickly to do just this.

     
    Read Entire Article
  • Sinatra for Rapid Prototyping Posted Friday, May 28, 2010 Jerry Gulla 0 Comments

    Recently, I’ve been working on a project that is mostly front-end work, but also communicates with some back-end web services.  I needed something to quickly respond to some basic GET requests at various endpoints and return either HTML fragments or JSON.  I’m not much of a big Ruby or Rails programer (although I do admire both), but I decided to try out a Ruby gem called Sinatra for my basic web server needs.

     
    Read Entire Article
  • How to Use Processing from the Command Line to Generate Images Posted Thursday, January 7, 2010 Jim Garretson 8 Comments

    Processing logo

    The Processing project provides a great Java-based visual programming environment with a number of compelling features, including cross-platform support and OpenGL-accelerated graphics. We’ve used it at Constant Contact Labs for a number of internal data visualization projects, and it’s worked very well for us. Lately we’ve had reason to work out a way to have it run in a “headless,” command-line-driven mode for periodic graph generation. Read on for the method and code.

     
    Read Entire Article
  • CTCT Web Services Python Client Library Posted Wednesday, December 23, 2009 Brendan White 8 Comments

    Like the Java Client Library, the Python Client Library provides a simple API to access Constant Contact Web Services, only using Python. Python is a powerful multi-platform language with comprehensive libraries, a interactive shell, and best of all, a short learning curve.  This makes the Python Client Library a good choice for quickly creating utilities or applications that leverage Constant Contact’s APIs or for users looking to manage large accounts programmatically. Included in this post are links to the library itself and an overview of its usage with code examples to help you get started.

    NOTE:  This library is open source and is maintained and supported by the open source developer community only.  Constant Contact and Constant Contact Labs will NOT provide support for this library.

     
    Read Entire Article
  •  1 2 >   Next

Interested in a particular topic?

If there are specific topics you’d like to see us discuss on our blog or other ideas you’d like to share, please let us know. Click here to contact us.