Feeds:
Posts
Comments

Archive for June, 2009

I used to work on a Java application that ran 24/7 and logged to a file on the system. The log file was rotated every week and it usually stood around 4GB.
When the shit hit the fan, I checked the log and tried to reverse-engineer how things got so bad. This is similar to what [...]

Read Full Post »

I’ve talked about SpiderMonkey before. Being able to instantly evaluate JavaScript code is great but you can use FireBug for that. I argued that the main reason to use SpiderMonkey is to script the command-line. Integrating with JSLint is an example of using your tools intelligently.
JSLint
JSLint is a tool that “looks for problems in JavaScript [...]

Read Full Post »

Netcat tricks

Web development means working at a very high level of abstraction. For the magic to work, a multitude of technologies must also work: networks, sockets, HTTP. Like all leaky abstractions, however, we can sidestep a lot of the complexity until things stop working.
Netcat does exactly what its name says: it cats stuff over a network. [...]

Read Full Post »

Lately, I’ve been working on JavaScript stuff at work. When it comes to JavaScript debugging, Firebug can take you a long way. Firebug is not, however, a very scriptable environment.
SpideMonkey is “Gecko’s JavaScript engine written in C”. For our purposes, SpiderMonkey is a command-line tool to execute JavaScript.
You can build it from source or look [...]

Read Full Post »