Software Development Tutorials

Getting started guides, How-to's, and in-depth explanation of various topics in software development.

pdfrw: the other Python PDF library

Python Jul 7, 2015

Introduction As Tim Arnold explains in Manipulating PDFs with Python, even beautiful PDFs are often unspeakably ugly inside, and if you can avoid having to manipulate them, you should. Nonetheless, you've decided to ignore Tim's advice, and that's why you're here. (Or maybe you haven't actually seen

Read more PM Patrick Maupin

Building Data-Driven Hierarchical Views for Android

One common scenario for applications is displaying a UI that is driven by event data. In this tutorial I'll go over a very useful technique for building custom views that can be used in various layouts and updated by passing data to one container view per layout.

Read more Paul Trebilcox-Ruiz

Building a widget to silence an Android phone

In this tutorial I'll show you how to make an Android widget that lets you silence a phone with a single tap. When run on Lollipop, it'll also place phones into priority mode and silence the ringer, allowing users to get notifications without a vibration

Read more Paul Trebilcox-Ruiz

Manipulating PDFs with Python

Python Nov 6, 2014

There are some nasty PDFs out there, but there are several tools you can use to get what you need from them. Python enables you to get inside and scrape, split, merge, delete, and crop just about whatever you find, and I'll show you how.

Read more TA Tim Arnold

Introduction to rate limiting with Redis [Part 2]

Python Database Nov 3, 2014

The second installment in my series on rate limiting with Redis covers two different but related methods using standard Redis commands and Lua scripting. Each approach expands the number of use cases for rate limiting, and cleans up some of the rougher edges of previous rate limiters.

Read more JC Josiah Carlson

Using Android Media Style notifications with Media Session controls

Java Android User Interface Oct 30, 2014

Android Lollipop is brimming with new features, and one of them is lock screen notifications. In this tutorial I'll go over using the new `MediaStyle` for notifications and interacting with a `MediaSession` for controlling media playback states.

Read more Paul Trebilcox-Ruiz

Getting Started with RabbitMQ in PHP

PHP Oct 28, 2014

In this tutorial I'll walk you through using message broker software RabbitMQ with PHP. It acts as a middleman between a producer and a consumer. We'll build an app that sends emails on a delay as an example.

Read more WA Wern Ancheta

Building useful notifications with HTML5 APIs

JavaScript Oct 28, 2014

Many users keep loads of tabs open in their browsers these days. Stuff they're working on, things they want to read later, Twitter feeds. How's your site going to stand out? HTML 5 supplies us with a few JavaScript API additions that can help, and I'll show you how.

Read more Arno Slatius

Creating an Octahedron Sphere in Unity

C# Game Development Oct 27, 2014

Create better spheres in Unity by subdividing the faces of an octahedron.

Read more Jasper Flick

Getting started with Go and test-driven development

Go Oct 22, 2014

In this tutorial, I'll help you set up your Go environment and teach you how to handle test-drive development with the language.

Read more Ahmed W.