If you haven’t looked at Node.js, you should. Node.js is “evented I/O for V8 javascript”. With Node.js (and its well documented api) you can write extremely high performance non-blocking event driven network servers in JavaScript. Here’s a simple chat server and client I wrote using Node.js, Faye and the Connect middleware.
Category Archives: general
Node.js
30-Jun-10radial navigation in html5
25-Mar-10Sorry no IE (might work in IE9 platform preview), so open these in a modern browser: DONUT™ – Radial Navigator ASK KEN™Visual Knowledge Browser
WordPress plugin template
04-Mar-10UPDATE: You can create a personalized plugin template by using my WordPress Plugin Template Creator When I rewrote my WP-DenyHost plugin, I wanted to do it as fast as possible. Instead of reinventing the wheel (again), I googled after a plugin template and found a very good one at Pressography. It had most of what [...]
When .LESS is more
04-Mar-10@the-border: 1px; @base-color: #111; #header { color: @base-color * 3; border-left: @the-border; border-right: @the-border * 2; } #footer { color: (@base-color + #111) * 1.5; } ul { list-style-type: none; height: 30px; li { float: left; padding-right: 15px; a { padding: 5px; display: block; color: black; text-decoration: none; } a:hover { background-color: @menu_color – #222; [...]
Using jQuery and the form and validate plugins, it is simple to add unobtrusive ajax to your existing form page 1, Modify your existing form page Add <input type=”hidden” name=”isAjax” id=”isAjax” value=”0″ /> to your form. This field will tell the processing script, process_input.php in my example, if the values in the form were submitted using [...]
Fighting spam
10-Feb-10I have reduced the number of splog attacks on my site I use the Akismet and WP-DenyHost anti-spam plugins for WordPress. Akismet is a must-have and has, since I installed it, caught 304,056 spams (!!). When Akismet catch a spammer, it logs the spammers IP address. WP-DenyHost, written by me, prevents spammers from getting access to my site a second [...]
Mobile blogging
02-Feb-10[wpvideo 73jyWIka width="400"] Earlier WordPress.org has release their WordPress for iPhone and WordPress for Blackberry, today they released WordPress for Android You’ll find WordPress for Android in the Android Market. If you are visiting my site from an Android device, you can download it here
jQuery 1.4 Released
15-Jan-10*DRUM ROLL* jQuery 1.4 is released !!! It has a lot of new features and enhancements like the examples below: jQuery("<div>", { "class": "test", text: "Click me!", click: function(){ $(this).toggleClass("test"); } }).appendTo("body"); jQuery("<input>", { type: "text", val: "Test", focusin: function() { $(this).addClass("active"); }, focusout: function() { $(this).removeClass("active"); } }).appendTo("form");
UPDATE: The 1080i 50P ProRes file is available as a torrent (NOTE, it’s a 246GB file !) Friday November 27th over 1,4 million Norwegians watched parts of “Bergensbanen” on NRK2. The longest documentary ever? At least the longest we have made, almost 7 1/2 hours, showing every minute of the scenic train ride between Bergen on [...]
Drool Radio version 1.3 is available. What’s new: Drool Radio is now integrated with SHOUTcast.com You can now listen to 30 000 radio stations from around the world Set volume on Radio Alarm Clock Support for ACC+ Stops playing when you remove the headset Stops playing when removed from docking station Other minor bug fixes