Sphex-industries - sphex-industries.net - sphex industries - because code deserves to be happy

Latest News:

Myth or Fact: Tests are Documentation 23 May 2012 | 10:12 am

claim: if my code is supported by passing tests, it doesn't need to be documented. supporting ideas: prefer executable specifications over written specifications "code doesn't lie" let's put this...

why integration tests are bad 19 May 2012 | 10:50 am

integration tests: when they fail you don't know why they take forever to run, so you won't actually run them they are fragile and costly to maintain you won't take their output seriously because ...

Testing Database Functionality 18 May 2012 | 10:14 am

problem: sql stored procedures often have a logical dependency on tables or other database objects which methods in an OO language do not. how do we repeatably and reliably test these for correctness,...

How Much Test Coverage? 18 Apr 2012 | 07:35 am

question : what test coverage percentage should you aim for? answer : mu. high test coverage does not necessarily mean that you have few bugs or that you can safely refactor. how good are the tests? ...

The Four Elements of Simple Design 17 Apr 2012 | 04:58 am

J.B. Rainsberger writes: A design is simple (according to Kent Beck) to the extent that it: Passes its tests (This should be happening for a variety of other reasons) Minimizes duplication Maximi...

Serializing Application State into URL Parameters 3 Aug 2011 | 10:05 am

let's say you've got a web application, and you want to add a feature in which your users can share their application state with one another with web links. for example, say you have a tic tac toe app...

Base-N Serialization and Encoding in Javascript 17 Jul 2011 | 09:23 am

per wikipedia, serialization is the process of converting a data structure or object state into a format that can be stored (for example, in a file or memory buffer, or transmitted across a network co...

Binary Arithmetic with Large Values in Javascript 3 Jul 2011 | 08:22 am

javascript implements handy (and nerdy!) functionality for bitwise arithmetic, which is impressive in a weakly-typed language. however, if you're dealing with values that require more than 32 bits, yo...

A memory-safe way to reference 'this' in your Javascript event handlers 9 Jun 2011 | 08:47 am

This article discusses a way to use jQuery.proxy() to preserve object context in your jQuery event handlers, i.e. to implement them such that 'this' in the context of your handler refers to the custom...

Creating HTML5-Ready Ogg Audio Files on Mac OS X 28 May 2011 | 10:53 am

the ogg audio format looks like it might be shaping up to be the HTML5 audio format of the future (though IE and, strangely, safari don't support it presently). unfortunately, if you're on mac OS X, t...

Recently parsed news:

Recent searches: