Tutorials Around The Web

Disqus: Scaling The World’s Largest Django Application


Posted in:

Disqus, one of the largest Django applications in the world, will explain how they deal with scaling complexities in a small startup.

There are many benefits to keeping a lightweight stack. At Disqus, keeping the stack thin helps us scale Django to reach over 125 million unique visitors a month with just a small team of engineers. Avoiding complicated software packages until needed reduces unnecessary overhead, and has let us stay nimble, and use new capabilities in Django (i.e., database routing) and other software as they arise.

Read More Icon Read More

A Critical Deep Dive into the WPF Rendering System


Posted in:

At first I didn’t think I’d publish this. I wanted to consider a bit of diplomacy and also thought I’m beating a dead horse. After being convinced by some people who’s opinion’s I highly value, I decided to. Developers are investing quite a bit into Microsoft’s UX platforms should know more about how the innards of the platform works, as when they hit a brick wall, they can properly understand the issue and also communicate what they need changed in the platform more accurately.

Read More Icon Read More

Performance of Windows Phone 7 Applications


Posted in:

Silverlight and a mobile device — the combination that would be considered impossible not so long ago. The reason is simple — Silverlight with all its flexibility demands high computational power.

So how does the reality look like after the WP7 devices are in use for a couple of months?

We'll be talking about the performance. Ok, but what does it mean — performance?

Read More Icon Read More

Building Large-Scale jQuery Applications


Posted in:

Today we’re going to look at the end-to-end tools and options you have for building large-scale enterprise jQuery applications. Although jQuery is an excellent JavaScript library and provides a well-designed set of tools for development, it’s focus on staying compact and making the DOM easy to use has meant that it doesn’t provide a significant infrastructure for building large-scale apps.

jQuery does however normalize things across browsers and serves as a great way of doing DOM manipulation.

Read More Icon Read More

Developer's Notes for UIMenuController


Posted in:

When Apple introduced the highly anticipated "Copy and Paste" feature for the iPhone, it came with a default menu editing implementation. With the release of iOS 3.2, this implementation has been updated to include configurable menus to ease the iPhone developer's job. It's simple and elegant. In addition to using UIActionSheet to provide a list of commands/actions to choose from, the UIMenuController is worth a try too.

While working with the UIMenuController I struggled for several hours and couldn't find any helpful information even after an exhaustive Google search.

Read More Icon Read More

Get Started with Git


Posted in:

If you’re a designer or developer, you’ve probably heard about Git, and you might know that it has become immensely popular, especially among the open source community. Though it may seem cryptic at first, this version control system could change the way you work with text, whether you’re writing code, or a novel.

Read More Icon Read More

Asynchronous Programming in C# 5.0 part two: Whence await?


Posted in:

It is unfortunate that people’s intuition upon first exposure regarding what the “async” and “await” contextual keywords mean is frequently the opposite of their actual meanings. Many attempts to come up with better keywords failed to find anything better. If you have ideas for a keyword or combination of keywords that is short, snappy, and gets across the correct ideas, I am happy to hear them. Some ideas that we already had and rejected for various reasons were:

Read More Icon Read More

Asynchrony in C# 5, Part One


Posted in:

The designers of C# 5.0 realized that writing asynchronous code is painful, in so many ways. Asynchronous code is hard to reason about, and as we've seen, the transformation into a continuation is complex and leads to code replete with mechanisms that obscure the meaning of the code.

Read More Icon Read More

Low Level Bit Hacks You Absolutely Must Know


Posted in:

I decided to write an article about a thing that is second nature to embedded systems programmers - low level bit hacks. Bit hacks are ingenious little programming tricks that manipulate integers in a smart and efficient manner. Instead of performing some operation (such as counting the 1 bits in an integer) by looping over individual bits, these programming nuggets do the same with one or two carefully chosen bitwise operations.

Read More Icon Read More

HTML5 Canvas Element Guide


Posted in:

The HTML5 <canvas> element has a unique history. Starting out as an Apple creation and dating back to 2004, canvas was eventually added to the official W3C HTML5 spec, becoming one of the most interesting and exciting parts of HTML5.

Read More Icon Read More