Posts filed under “Programming”

Working with Terrible Code, Part One: CKEditor is not to be trusted (writing a CKEditor plugin)

Understanding Terrible Code, Part One: Writing a CKEditor Plugin Exposition: Why should you care about a random text editor? Modding CKEditor is a well-designed exercise in self-flagellation. CKEditor is a text editor plugin that works with rich text (bold, italics, tables, links, etc.). If you’ve ever used Gmail or Hotmail, you’ve used something similar.  CKEditor [...]

Using code coverage to decide what to deprecate

A recent post on building a slimmer jQuery got me thinking about the process of deciding what to cut. From a code perspective, it’s easier to add new features than remove old ones. From a user perspective, it’s much, much easier to add new features than remove old ones. Nobody knows about your new feature, [...]

Exceptions

The scenario: A simple prototype in JavaScript, so I could test play an MVP of my new game. The problem: Why is this d_mn thing taking so long?   Ever since I started working on my own, I’ve spend far more time figuring out how to motivate myself. Because I’m working in a startup, I [...]

How to use dbgsrv, the Process Server

If you’ve ever used Debugging Tools for Windows, you’ve probably used remote debugging. Users of windbg/ntsd are usually familiar with the “.server” command and connecting to remote debugging sessions using “Connect to Remote Session” in windbg. Knowing this, what good is the dbgsrv utility that comes with the Debugging Tools for Windows? How is it different [...]