Read Only Properties in ES5
Updated: 2010-07-29 22:58:08
I thought I’d take a quick moment to provide some examples of making object properties read only in EcmaScript 5 (and by extension node.js). There’s several ways to accomplish it, so I’ll just iterate over all the different ways.
Object.freeze
The quickest way to make all properties of an object read only is by calling Object.freeze on [...]

Non-developers can't be choosers . Unless they have lots of money and ask nicely . Geekology About Facebook Page Software Posts coding applescript bash scripting css html javascript objective-c php python databases mysql sqlite entertainment boardgames books humor series videogames news documentaries podcasts the geeks productivity tips tricks unix apple linux tools asterisk cpanel subversion whm videos web development apache seo Google Chrome Speed Tests 23 Jul 2010 0 Comments The Google Chrome Team recently released this video testing Chrome’s webpage rendering speed against a potato gun , sound waves , and lightning . Related : posts Google Chrome Frame changes Internet Explorer into Google Chrome Google’s Page Speed Firefox plugin Geekology has 10 Google Wave invites to give away
Lately, I have been playing around a lot with a service called Pusher . Pusher provides realtime push notification services for your web applications using HTML5 WebSockets (or Flash for non-compatible browsers). While using the Pusher service is extremely simple, digitally signing your HTTP request is not; I've had a good deal of back and forth with the Pusher support team, trying to squash a few bugs in my code. Having finally figured out wh ... ead More raquo;
There are 10 types of people in the world : those who understand binary , and those who don't . Geekology About Facebook Page Software Posts coding applescript bash scripting css html javascript objective-c php python databases mysql sqlite entertainment boardgames books humor series videogames news documentaries podcasts the geeks productivity tips tricks unix apple linux tools asterisk cpanel subversion whm videos web development apache seo Running Firefox 3 and the Firefox 4 BETA simultaneously on your Mac 20 Jul 2010 0 Comments Mozilla recently made the Firefox 4 BETA available for download to the public . Installing the BETA would usually overwrite your old installation of Firefox 3 but if you’d like to try out the Firefox 4 BETA and retain your existing Firefox 3 installation and
As of late, I've been playing around some very cool technologies like Pusher's HTML5 WebSocket server and Twilio's mobile SMS text messaging web services . Each of these technologies is exciting on its own; but, I w ... ead More raquo;
The other day, I was uploading a photo from Tweetie (Twitter for iPhone) when it occurred to me that I might be able to write my own custom image upload service using ColdFusion. After all, if Tweetie supports multiple image upload services, then I figured all I would have to do is follow some standard API to make it work. As it turns out, this is exactly correct. If you look in the Services section of your Tweetie settings, it allows you to define a custom image upload service: ... ead More raquo;
My software never has bugs . It just develops random features . Geekology About Facebook Page Software Posts coding applescript bash scripting css html javascript objective-c php python databases mysql sqlite entertainment boardgames books humor series videogames news documentaries podcasts the geeks productivity tips tricks unix apple linux tools asterisk cpanel subversion whm videos web development apache seo Disabling auto-formatting of telephone numbers by the Skype Browser Plugin 05 Jul 2010 0 Comments If your website displays telephone numbers , visitors who have Skype installed might see a broken . layout This is due to the Skype Browser Plugin functionality that parses each webpage visited to find textual telephone numbers and replace them with Call via Skype image : links To keep