Geeks With Blogs

News JS Array .toString
Liam McLennan October 2010 Entries
JavaScript Functional Programming Support
JavaScript was created to add interactivity to Netscape 2.0 back in 1995. A consequence of this limited scope is that the language was given only a minimal standard library. Should you ever try to solve a significant problem with JavaScript you will quickly feel the need for more advanced library methods than what JavaScript provides. Underscore.js Underscore.js is a library of utility functions for JavaScript. Most of the functions add functional capabilities to JavaScript. Simply add a script reference ......

Posted On Sunday, October 31, 2010 6:16 PM

HTC Desire vs HTC Wildfire
I had a HTC Desire for nearly six months. Sadly, about a week ago, it passed away. The desire was my first smart phone and I think it’s true what they say; the first love is the deepest. The desire was an excellent phone, I have no complaints, but it was a mistake for me. I like to jump off boats, walk in the rain and generally not have to obsess about protecting an expensive electronic device. The desire was my business phone so once the autopsy was complete it needed a replacement quickly. I called ......

Posted On Wednesday, October 27, 2010 7:56 PM

Code from my Ruby Presentation
These days it seems that everyone has a crush on Ruby. I presented two sessions at this year’s Adelaide Code Camp: BDD with StoryQ and I Am IronRuby. After the standard IronRuby demonstration (creating a new project and scaffolding) I showed off some of what I like about Ruby. I started with a file containing Ruby comments describing nice features of the language. Then I worked my way through the script writing the Ruby to demonstrate each feature. The result is similar to my JavaScript Koans, but ......

Posted On Thursday, October 21, 2010 10:54 AM

Startup Idea #9274: Personal Accounts Payable
Manage Your Bills Better For some reason I have a strong desire to be involved in a startup. Ok, I know the reason. It’s a game, with winners, and loser. Like Monopoly, or gambling. And games are fun! The internet is littered with my failed attempts; from intelligent email marketing for real estate agents, to a route planner that solves the travelling salesman problem. And don’t forget my twitter customer sentiment analyser. That one was surprisingly simple to build and a lot of fun, but it could ......

Posted On Wednesday, October 20, 2010 9:01 AM

Why Server-Side JavaScript?
Chris Nicola left this excellent comment on Justin Etheredge’s blog: Even with a competitive way to do SSJS [(server-side JavaScript)] on the Windows platform, I just have to ask... why would anyone? Server-side JavaScript means that the server portion of a web application is written in JavaScript. Personally, I believe that server-side JavaScript will be the next big advance in web development. If I were Microsoft I would be looking to hit a touchdown out of the ball park with server-side JavaScript, ......

Posted On Monday, October 18, 2010 4:42 PM

.NET Ruby Love
There is a good deal of Ruby envy among the more outspoken .NET developers. This post is an attempt to aggregate the many blog posts from .NET developers expressing their love of ruby. Rob Conery Why I Like Ruby Why I Like Ruby, Part 2: Blocks Contrasting Ruby and C# Using My College Friends Scott Bellware Ruby For .NET Developers Justin Etheredge What is so great about Ruby? Jeremy Miller Silly thing I want from Ruby in C# David Tchepak Essence and ceremony, Ruby and C# John V. Petersen Why I Love ......

Posted On Sunday, October 17, 2010 8:14 PM

Oz Alt.Net Coding Challenge
Michael Minutillo posted the texas hold ‘em coding challenge to the oz mailing list. The challenge is to write a program that can take poker cards as input and return information about what hands players have and who is the winner. Solving this problem in my 9-to-5 language (c#) is not interesting to me, so I chose to do it with my beloved CoffeeScript. Compiling CoffeeScript The first challenge I faced was one that I have been working on for months – how to compile CoffeeScript on Windows. ......

Posted On Friday, October 15, 2010 7:04 PM

Testing, huh! What is it good for?
IMPORTANT: Before reading this post open this link and let it play. This is my response to the 2nd Developer Blog Banter. The question asked is How do you organise your tests. Do you separate your unit tests, integration tests and UI tests into separate projects? Do you do anything specific to keep track of your tests? What naming conventions do you use? Do you run them before a check in or is that what the build server is for? The first developer blog banter was about technology stack. I organise ......

Posted On Wednesday, October 13, 2010 9:22 PM

Sydney Startup Camp IV – A New Hope
As we speak (figuratively) a group of 50 aspiring entrepreneurs are gathered in an abandoned warehouse deep in the heart of the upmarket Sydney suburb Redfern for Sydney Startup Camp IV. Their hosts, Bart Jellema and Patrick Driessen, have been guiding the participants through the process of starting a new technology business, accelerated so that the process fits into a weekend. There has been brainstorming, product development, marketing plans and pitches to the press and investors. The atmosphere ......

Posted On Saturday, October 9, 2010 2:23 PM

CoffeeScript on Windows
I have waged and long and bloody battle to find a way to work with CoffeeScript on Windows – and now I finally have! The first step is to get CoffeeScript from github. You can either pull the source with git or download an archive after some hardcore archiving action. The CoffeeScript compiler is written in CoffeeScript and provided in compiled JavaScript form. Therefore, we need a server-side JavaScript environment to execute the compiler and transform our CoffeeScript scripts into JavaScript that ......

Posted On Tuesday, October 5, 2010 5:41 PM

Determining the Process Identifier (PID) of the IIS Worker Process (w3wp.exe)
When working with multiple IIS worker processes it is useful to be able to correspond the processes to application pools. The command to do this in IIS 7 is: %windir%\system32\inetsrv\a... list wp The output looks like: WP "3948" (applicationPool:Classic .NET AppPool) You can see the PID (3984) and the name of the application pool. The PID can be used to find the process in task manager and the Visual Studio Attach to Process dialog ......

Posted On Tuesday, October 5, 2010 12:22 PM

Javascript Koans Are Available
Following my announcement of a javascript koans project I am pleased to announce that I have published a draft of the project on google code. The topic ‘about prototypal inheritance’ is empty at the moment because I don’t feel that I understand it enough to write the koans. Please download and play with the draft JavaScript koans. Let me know if you learn something ......

Posted On Saturday, October 2, 2010 4:45 PM

Copyright © Liam McLennan | Powered by: