Translate

Image of Operating System Concepts
Image of RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302) (Certification Press)
Image of Android Wireless Application Development
Image of Linux Kernel Development (3rd Edition)

Creating RPMs for Node.js and NPM on Fedora

This post discusses the current methods of installing Node.js and NPM on Fedora 14 and shows you how to build suitable RPM packages for both Node.js and NPM.

V8 JavaScript Engine on Fedora 14

This post shows you how to build the two V8 JavaScript shells on Fedora 14 and modify them to support shebang functionality. It also shows you how to modify the samples shell to support command line history.

HTML5 Canvas To PPM Serializer

This post demonstrates how to save the contents of a HTML5 canvas object to a Portable Pixel Map (PPM) encoded image file. It also discusses various gamma transfer functions including sRGB, radiance and luminance.

HTML5 Canvas Element Rubber Banding

This post demonstrates one method of implementing rubber banding on a HTML5 canvas element using JavaScript. It also demonstrates how to horizontally flip, emboss, invert, and gray (grey) sections of an image.

JavaScript Shells

Recently I was working on a fairly complex JavaScript script relating to floating point conversions for a new Web page.  After a while I got tired on trying to debug the problem via a Web browser and decided to see if I could find a JavaScript shell, i.e. a standalone Javascript intrepreter just like Ruby’s irb, Python’s interactive prompt or the Korn shell, which could load and run JavaScript scripts from the command line without having to reload a Web page. First, some background on the JavaScript langauge for those who are unfamilar with the details.  JavaScript is a complex full-featured weakly