Main menu

Skip to primary content
Skip to secondary content
  • Home
  • Projects
  • Articles
  • Academics
  • About Me
  • Contact

Post navigation

← Older posts

Scaling Node.js Applications

Posted on March 4, 2013 by cjihrig

Scaling Node.js applications can be a challenge. JavaScript’s single threaded nature prevents Node from taking advantage of modern multi-core machines. For example, the following code implements a bare bones HTTP server, which listens on the port number passed in from … Continue reading →

Share this:

  • Facebook
  • Twitter
  • Google +1
Posted in JavaScript

A Quick Status Update on Me

Posted on October 22, 2012 by cjihrig

It’s been a while since I’ve written on here. I’ve actually been quite busy. In a previous post, I was reaching out to JavaScript writers about an upcoming SitePoint niche site. At the time, I wasn’t able to provide the … Continue reading →

Share this:

  • Facebook
  • Twitter
  • Google +1
Posted in Uncategorized

Attention JavaScript Writers!

Posted on September 17, 2012 by cjihrig

The SitePoint Network is sourcing authors for a new site focused solely on JavaScript.  As you may know, I’m a (somewhat) regular writer for SitePoint.  I’m happy to announce that I have been named the managing editor for their upcoming … Continue reading →

Share this:

  • Facebook
  • Twitter
  • Google +1
Posted in JavaScript

Finding Yourself Using Geolocation and the Google Maps API

Posted on September 17, 2012 by cjihrig

I recently published an article titled “Finding Yourself Using Geolocation and the Google Maps API” in the Association for Computing Machinery’s Student Magazine, XRDS.  As the title implies, the article focuses on the geolocation API and Google’s Maps API.  I … Continue reading →

Share this:

  • Facebook
  • Twitter
  • Google +1
Posted in JavaScript

Creating a JavaScript Parser

Posted on September 5, 2012 by cjihrig

I recently decided to implement a JavaScript parser.  To be more specific, I implemented an ECMAScript 5.1 parser.  This post describes the process in detail, including the roll of parsers in compiler design, and various design decisions and hurdles which … Continue reading →

Share this:

  • Facebook
  • Twitter
  • Google +1
Posted in JavaScript

Passing Arguments to External JavaScript Files

Posted on August 22, 2012 by cjihrig

This post covers the topic of passing arguments to external JavaScript files.  I want to say up front that there doesn’t seem to be a 100% bulletproof way of doing this.  If there is, I don’t know about it (so … Continue reading →

Share this:

  • Facebook
  • Twitter
  • Google +1
Posted in JavaScript

Introducing the helper.js Library

Posted on August 18, 2012 by cjihrig

I have decided to put together my own JavaScript utility library, named helper.js.  This is an idea I’ve been tossing around for a while, but today I decided to actually sit down and start coding.  I want something that I … Continue reading →

Share this:

  • Facebook
  • Twitter
  • Google +1
Posted in JavaScript

Truthy and Falsy in JavaScript

Posted on August 15, 2012 by cjihrig

In JavaScript, any variable can be used in a logical context, such as the condition of an “if” statement or loop.  Conditional expressions can be quite complex, but should ultimately evaluate to a single Boolean value.  If the result of … Continue reading →

Share this:

  • Facebook
  • Twitter
  • Google +1
Posted in JavaScript

The Server Side of Server-Sent Events

Posted on August 13, 2012 by cjihrig

Server-sent events are an underutilized API for implementing push technology.  Server-sent events transmit data to clients as a continuous stream, referred to as an event stream, over a connection which is left open.  By maintaining an open connection, the overhead … Continue reading →

Share this:

  • Facebook
  • Twitter
  • Google +1
Posted in Computing

WebSockets in Node.js 0.8.6 for Windows 7

Posted on August 9, 2012 by cjihrig

NOTE:  This is an update of my previous post on configuring WebSockets on a Windows 7 installation of Node.js. One of the lesser known features of HTML5 are WebSockets.  This is mainly due to a lack of browser support and … Continue reading →

Share this:

  • Facebook
  • Twitter
  • Google +1
Posted in Computing, JavaScript

Post navigation

← Older posts

Blog Topics

  • Computing
    • Hardware Design
    • JavaScript
  • Travel
  • Uncategorized
Follow Me
Colin J. Ihrig on Twitter  Colin J. Ihrig on Google+  Colin J. Ihrig on LinkedIn  Colin J. Ihrig's RSS Feed

Sponsored Links

COPYRIGHT © 2011-2013. All rights reserved Colin J. Ihrig
Log in