As my client side CoffeeScript hacks grow larger1, I’m finding the constraint of keeping all the code in html script tags wrapper on page to be awkward. One little project that I’m hoping to have time for this weekend requires combining several html5 canvas effects, they may share some common elements, and each is growing unwieldy for their separate html header tags.
Tag: coding
Uniform and Normal Random Number Generator Shootout
If you have a definitive need for speed like myself, then standard tactics for random number generation simply won’t do. In the project I’m working on I don’t include or link to Boost (Mersenne Twister) because it’s a small delivery, so I went hunting for a fast, reliable, and well packaged random number generator. I remembered reading John D. Cook’s blog post sharing precisely what I was looking for. The fastest approach I could generate quickly is a cached version of a large number of normal calls accessed by a uniform call in the loop.
When writing engineering software be like Scotty
Crazy East Coast Weather, Wild Work Tale of Two Sims Part Duo
Bizarro World Weather
Last week I got a chance to go on a solid 21 mile walk that started with 100 degrees of humid heat, and ended with an abysmal thunderstorm and torrential down pour (kinda fun). This morning it’s 55F and chilly. I do believe it’s likely good ole mother nature forgot what the transition from summer to spring is supposed to be like. Gotta marvel at her unpredictability.
Layered HTML5 Ripple using CoffeeScript
This weekend I researched various methods for approximating the effect of rippling water. After reviewing a few great options I went with the effect shown here at nixuz.com.
How to add an instapaper text button to your blog
Have you ever wanted to offer your readers enhanced readability for your stylized blog but weren’t sure how? It’s as easy as a two step process using the Instapaper text or Readability bookmarklets.
Why doesn’t software feel like the rising sun?
Clientside CoffeeScript with jQuery
Before digging into node.js servers with CoffeeScript, I branched off by mimicking a simple client example by Arbo von Monkiewitsch.
It attaches a callback function to a click event and updates the page. Note that I haven’t passed in an object by reference (return changes), otherwise I could have called a swap function, from within the show message function.
Lifelong Evolution of Concurrent Programming Patterns
Serial Processing
The type of development I grew up learning in the 80′s was serial. Data entered into a program through files or standard input. Functions then transformed data through a series of discrete intermediate steps, generating outputs as they ran, or directly funneling generated data into other functions. Final outputs were stored in human readable files, formats for other programs, or a combination of both.
Stop bleeding on the edge of technology
A boundless and growing variety of tools comes as little surprise to active developers. It’s not uncommon for me to discover a few new frameworks a day, and read about several popular library updates each week. The same holds true for authors, artists, musicians, and other creatives. No matter what profession we select, there’s an enormous increase in the availability and variety of tools at our disposal.

