Tag: coding

Fishing for help using Client Side CoffeeScript with .coffee files

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.

(more…)

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.

(more…)

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.

(more…)

Why doesn’t software feel like the rising sun?


On my way into work this morning I waited for the transition between traffic signals just before the sun rose in the distance. Anxiety over a large project delivery was wrestling for my attention with anticipation of my usual pre-work stroll on this perfect spring morning.

(more…)

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.

(more…)

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.

(more…)

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.

(more…)