Being able to add some sort of client/server model to your programs is pretty essential these days, and Ruby does a fine job making your life easier. For this article, I’ll show you a quick, down-and-dirty way of getting a very simple server up and running and a client that will say “Hello Server World” and [...]
Continue reading...17. November 2008
So, after thousands of lines of code you’ve managed to build an awesome, feature rich program, and you are really to label it 1.0. You want to bring in more developers because it is doing so great… What do you do? Well, regardless of whether you have hit 1.0, version control is something [...]
Continue reading...28. October 2008
Dealing with exceptions is a big part of any object oriented programmer’s job. We need to be able to recover from things like connect failures or syntax errors, and do so gracefully. Thankfully, raising and “rescuing” exceptions in Ruby is a fairly easy task. Let’s start with a basic example. We all know [...]
Continue reading...27. October 2008
Apache Tomcat is the name in JSP, and you’ll need to get a copy before being able to try out the many cool web applications and frameworks out there (like ZKoss’s ZK). Finding a development need to run JSP pages (and wanting to try out ZK), I decided to get the latest Tomcat version [...]
Continue reading...15. October 2008
As we’ve seen briefly in a previous example, namespaces in C# can give a project some useful ways to organize code. The most common example of where namespaces are useful is what I’ve dubbed the “System” example. A quick google on C# namespace will land you a ton of results showing a basic [...]
Continue reading...14. October 2008
Log4r is a logging library inspired by Apache Foundation’s Log4j, “but is not a direct implementation or clone.” Of course this doesn’t change the fact that log4r is a very efficient, fast, and easy to use library. I’m going give a quick tutorial how to add logging capabilities to your Ruby scripts using Log4r. [...]
Continue reading...13. October 2008
This past week ZKoss refreshed their flagship product, ZK, to version 3.5.1. If you haven’t heard of ZK before, it is a very slick framework which was “designed to maximize enterprise operation efficiency and minimize the development cost [with] its groundbreaking Direct RIA architecture. ” Unlike most marketing ploys used to overstate the capabilities of a [...]
Continue reading...8. October 2008
With Mono’s 2.0 release it seems there’s no better time than now to start investing in C#, especially if you are looking for platform independence. To help move that investment along, I’ve written up a small tutorial that should get you up and running with C#. Before we begin, you’ll need to grab [...]
Continue reading...8. October 2008
With Mono 2.0 being released yesterday I bet you are wondering “What is this new and great wonder that keeps popping up in the news every now and again?” Well, Mono is an Open Source, ECMA compliant answer to Microsoft’s .NET set of tools. Mono has been famed for it’s C# compiler and Common Language Runtime [...]
Continue reading...3. October 2008
It seems, given my limited experience, that handling exceptions depends entirely on the context in which you are developing. As a fan of “rules” that can be applied to different scenarios I wanted to hit you guys up and see what the rules-of-thumb were with regards to exception handling. Some approaches to exception handling sort of [...]
Continue reading...1. October 2008
Sun recently held a 3-day workshop where technical leads and directors from IBM and Microsoft were invited to join together at the Sun campus to try and work on consolidating Virtual Machine efforts going forward; more specifically focused on developing solutions that would yield Java-like performance for Ruby, Python, PHP, and Scala on the JVM. No [...]
Continue reading...1. October 2008
Netflix released it’s long-awaited developer API yesterday (JavaScript, REST) and to a lot of people’s surprise, was quite a bit more open-ended than expected: We’re pleased to announce the availability of the Netflix API. The team has been hard at work on this and we’re glad we can finally let people see what we’ve built. The [...]
Continue reading...1. October 2008
Do you want to squeeze the most performance out of your Ruby scripts? If so, you might be interested in a little project called XRuby. According to the website “in most benchmark tests, XRuby runs faster than Ruby 1.8.5″. Personally, I was a bit skeptical, and you may be too. So let’s explore this [...]
Continue reading...28. September 2008
If you want to create a unique look on your website, where words flow around oddly shaped images, you might want to check out pngslice. The program will split a png file into slices in such a way that words can flow around odd shapes. Based off of Eric Meyer’s ragged floats, the whole [...]
Continue reading...10. September 2008
Sometimes software development can be hard; API docs can be incomplete, maybe the source isn’t very straight forward or you just aren’t seeing the result you expect. What can make that even worse is on days when you are tired and overlook a detail multiple times that would point you in the right direction… then [...]
Continue reading...5. September 2008
Marc Chung has posted an in-depth analysis of Google’sChrome Browser process model. Why this is interesting is because the new process model in Chrome is one of the most powerful aspects of the browser, allowing it to render JavaScript-heavy web applications much faster without blocking the entire browser process hung in a render loop (something [...]
Continue reading...
23. November 2008
2 Comments