spacer

web development war stories from the frontlines to the backend

Experiences Developing My First iOS / iPhone App – OnCall for Nagios

16 May

by: Matt in Development, Infrastructure, iOS

tags: ios, ios sdk, ipad, ipad sdk, iphone, iphone sdk, nagios, oncall

I’ve long since wanted to participate in the explosion of popularity that is the iOS App Store. I toyed with demonstration-purpose applications, learning the foundational aspects of developing on this new platform and the intricacies of Objective-C, but never really had a compelling idea to follow through to completion. Due to the nature of my [...]

  • View Comments

Async DNS Resolution in Tornado’s AsyncHttpClient (curl multi, c-ares)

01 Nov

by: Matt in Development, Infrastructure

tags: async, asynchronous, asynchttpclient, c-ares, curl, dns, libcurl, Python, tornado

I learned some rather important facts about cURL’s multi interface (which makes it possible to perform asynchronous HTTP requests and what Python’s Tornado framework uses under the hood in it’s AsyncHttpClient helper). I was investigating some intermittent issues in an application at work – transient DNS issues were causing the application to become unresponsive. This [...]

  • View Comments

Migrating from a legacy authentication scheme to Authlogic

22 Oct

by: Eric in Ruby, Ruby on Rails

tags: ActiveRecord, authlogic, model, passwords

I’ve been working on a project where I inherited a database with over 9,000 users.  The passwords are stored as an MD5 hash, with no salt.  For obvious reasons, I wanted to transition the old authentication scheme and architecture over to authlogic.  This post by Ben Johnson pointed me in the right direction. The problem [...]

  • View Comments

Convert HTML to PDF in PHP (libwkhtmltox extension)

15 Sep

by: Matt in Development, PHP

tags: convert, extension, html to pdf, libwkhtmltox, pdf, php, wkhtmltopdf

A common problem when developing a web application is having producing a high-quality PDF out of an existing layout/view/template. Perhaps for a reporting engine, an invoice, a receipt, or any number of other situations. Often this involves using somewhat cryptic output primitives and creating the PDF by hand. Wouldn’t it be nice if there were [...]

  • View Comments

Python libwkhtmltox module – wrapping a C library using Cython – convert HTML to PDF

09 Sep

by: Matt in Development, Django, Python, Random

tags: binding, c++, cython, libwkhtmltox, module, Python, wkhtmltoimage, wkhtmltopdf, wrapper

First of all, big shout out to antialize for creating wkhtmltopdf (github repo). Also, this project is being hosted on GitHub @ github.com/mreiferson/py-wkhtmltox. wkhtmltox What is wkhtmltox you ask? It’s a utility built on Nokia’s Qt framework for converting HTML (including images, CSS, and Javascript) to a PDF or image. When Qt introduced it’s webkit [...]

  • View Comments

Improved deploy:cleanup for capistrano

08 Sep

by: Matt in Development, Infrastructure, Ruby, Ruby on Rails

tags: capistrano, rails, ruby, Ruby on Rails

We ran into a problem today where capistrano wasn’t correctly cleaning up old releases on a 15-minute multi-host deploy. It seems like the default deploy:cleanup task wasn’t written with multiple hosts in mind. Essentially what it does is list the contents of your releases_path for the first host in the list of hosts and assumes [...]

  • View Comments

Python’s Tornado has swept me off my feet

01 Jul

by: Matt in Development, Infrastructure, Python

tags: API, asynchronous, non-blocking, Python, REST, tornado, web.py

I’ve been working with Python’s Tornado for about 2 months now and I love it. Tornado is a non-blocking web server written in Python. It’s structure is similar to web.py so users of that popular Python web framework will feel right at home. This is a structure that lends itself really well to developing RESTful [...]

  • View Comments

google-define and last-fm plugins released

06 May

by: Eric in Ruby on Rails

tags: plugins, Ruby on Rails

Over the last few days I released my first open-source plugins on GitHub. google-define – Extracted from a side project I worked on, it’s basically a wrapper class for parsing definitions from Google (define:perplexed). last-fm – This plugin was inspired by a previous gist, which itself was taken from an app I wrote to aggregate [...]

  • View Comments

FormStack API Call Over SSL With Ruby

28 Apr

by: Eric in Random, Ruby on Rails

tags: FormStack, JSON, Ruby on Rails, XML

I recently had to use the FormStack API in the context of a Rails app. You need to make these calls over SSL, and API returns either XML or JSON. I chose JSON because it’s much easier to work with in my opinion and I hate XML. Below is a simple example. Check out the [...]

  • View Comments

Learning vs. Solving

15 Mar

by: Matt in Development, Random

tags: Random, thoughts

Often times you’re tasked with solving a problem you haven’t faced before, requiring the use of technologies you haven’t previously been exposed to. This is a great thing! These experiences are the stuff of legend – continuing deep into the night as your curiosity peaks. When delivery of the solution makes a difference to somebody’s [...]

  • View Comments
« Previous Entries  Next Page »

spacer  Subscribe in a reader

Recent Posts

  • Experiences Developing My First iOS / iPhone App – OnCall for Nagios
  • Async DNS Resolution in Tornado’s AsyncHttpClient (curl multi, c-ares)
  • Migrating from a legacy authentication scheme to Authlogic
  • Convert HTML to PDF in PHP (libwkhtmltox extension)
  • Python libwkhtmltox module – wrapping a C library using Cython – convert HTML to PDF
  • Improved deploy:cleanup for capistrano
  • Tornado 1.0 Released
  • Python’s Tornado has swept me off my feet
  • google-define and last-fm plugins released
  • FormStack API Call Over SSL With Ruby

Categories

  • Book Reviews (2)
  • Development (76)
    • Clojure (1)
    • CSS (4)
    • Django (15)
    • Infrastructure (17)
    • iOS (1)
    • JavaScript (14)
    • PHP (29)
    • Python (15)
    • Ruby (6)
    • Ruby on Rails (17)
  • Random (10)

Archives

  • May 2011
  • November 2010
  • October 2010
  • September 2010
  • July 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • April 2008
  • March 2008
  • February 2008

ajax apache asynchronous backup c++ centos cron CSS curl deployment Development Django firefox framework getcwd java JavaScript jquery languages libwkhtmltox logs long polling memcache mod_wsgi mysql mysqldump nostalgia parallel passenger perplexed php profiling programming prototype Python rails rounding ruby Ruby on Rails session sql subversion svn tornado wkhtmltopdf

WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.

gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.