Deprecated: Assigning the return value of new by reference is deprecated in /home/coding/public_html/wp-content/plugins/sem-extract-terms.php on line 207

Deprecated: Assigning the return value of new by reference is deprecated in /home/coding/public_html/wp-content/plugins/sem-terms2posts.php on line 142

Deprecated: Assigning the return value of new by reference is deprecated in /home/coding/public_html/wp-content/plugins/sem-terms2search.php on line 85

Deprecated: Assigning the return value of new by reference is deprecated in /home/coding/public_html/wp-content/plugins/sem-terms2tags.php on line 77
Java and friends

Delegates versus inner classes

August 14, 2006 on 8:35 pm | In Java | Add a comment

This whitepaper compares the use of delegates versus inner classes, and outlines the reasons why delegates are not implemented in the Java language.

Interestingly, the decision was largely influenced by Delphi Object Pascal.

Related Posts:

Fun with WiFi Freeriders

August 4, 2006 on 10:52 am | In Internet, Wifi | Add a comment

Want to get rid of your free-rider neighbours abusing your WiFi network? Then, this tutorial is for you!

It provides a step-by-step guide to protect your WiFi network from free-riders. The technique used is the same as that adopted by WiFi service providers to redirect users to a payment page, except that you will be taking them to various unknown destinations instead.

Technorati Tags: ,

Related Posts:

Choosing the Best Tool for the Job

August 2, 2006 on 10:41 am | In General, Java | Add a comment

Kathy Sierra wrote an interesting entry on her Creating Passionate Users blog about how the “right tool” is not always the “best tool” for the job. According to her, one factor that is not to be neglected is the level of enthusiasm for using the tool, which can sometimes be even more important than the perceived appropriateness of it. Of the three main considerations (appropriateness, expertise and enthusiasm), expertise remains essential nonetheless.

I mostly agree with her opinion that the urge to learn a tool often creates enthusiasm and drives productivity upward. However, this holds true only if the users are capable and learn efficiently. If that is not the case, there is a risk that projects get delayed as users struggle with the tool. In most cases, seasoned developers can apply their past experiences to quickly become efficient with new tools. And, driven by enthusiasm, they become highly productive.

Technorati Tags: , , , ,

Related Posts:

Refactoring by Renaming in Visual Studio .NET 2005

July 29, 2006 on 3:26 pm | In General | Add a comment

Refactoring by renaming is very straightforward in Visual Studio .NET 2005. Here is how it is done.

You simply overwrite the identifier you wish to rename. The editor will display a symbol underneath it to signal that a refactoring operation is available, at which point you press Alt-Shift-F10 and select the correct operation from a drop-down list. The entire sequence does not require any clicks or keyboard shortcuts to access the refactoring menu. I have seen something close in X-Developer, but it was not as refined as this.

I almost regret using Vim for C# development all this time!

Technorati Tags: , , , , ,

Related Posts:

Parallels on MacBook Pro

July 28, 2006 on 9:40 pm | In Apple, Windows | 4 comments

I am very pleased with my decision to run Windows XP in Parallels instead of using a different partition for BootCamp. Not only have I avoided the hassle of having to reboot each time I need to switch between Mac OS X and Windows XP, I also get near-native performance in Windows XP.

I installed Visual Studio .NET 2005 on a virtual machine configured with 8 GB disk space and 512 MB RAM, expecting the performance to degrade when the hefty development environment is running. I was pleasantly surprised when I was able to use it without incurring any performance loss.

Technorati Tags: , , , ,

Related Posts:

Windows XP on the MacBook Pro

July 27, 2006 on 11:06 pm | In General, Apple | 3 comments

I am running Windows XP within a Parallels on my MacBook Pro. All my software work flawlessly and as fast as on a native installation, which I can only attribute to the excellent virtualisation technology in the Core Duo processor.

I considered installing Windows XP on a separate partition and using BootCamp to boot into it, but dropped the idea when I discovered Parallels. I was so impressed that I did not have to wait for the end of the trial period to purchase a licence. Parallels is one of these must-have software for the Mac.

Technorati Tags: , , ,

Related Posts:

How to Parse Dates from Strings

July 22, 2006 on 9:44 am | In Java | 5 comments

This example shows how to parse dates from strings using the
SimpleDateFormat class.

The pattern is specified in the constructor, but could also be done with the applyPattern(String pattern) method.

import java.util.Date;
import java.text.ParseException;
import java.text.SimpleDateFormat;

public class TestDate {
    public static void main(String[] args) throws ParseException {
        String s = "15-05-2005 5:55:55";

        SimpleDateFormat df = new SimpleDateFormat("dd-MM-yyyy HH:mm:ss");
        Date date = df.parse(s);

        System.out.println(date);
    }
}

This example should help ease the difficulty that all beginners seem to face when dealing with formatting
dates in Java
.

Technorati Tags: ,

Related Posts:

Three Golden Rules to Tackle Complexity

July 21, 2006 on 11:27 am | In General | Add a comment

According to Tim Newing, the IT Director of Camelot, there are three golden rules for tackling complexity in IT projects.

  • Do not think of a complex project, but think of a collection of simple solutions.
  • Manage outside the “business as usual”; instead, set up a different business structure so that the project team is not distracted by the normal business.
  • Make sure that people have a good reason to complete the project. This is not the same as motivating them to make the project a success; instead, the objective is to convince them to put the lid on a project when it is time to do so and to prevent feature creep.

Technorati Tags: IT, Complexity

Related Posts:

Successes in UK IT

July 21, 2006 on 11:15 am | In General | Add a comment

The IT industry in the UK has had a couple of much-needed success stories recently. This is a breath of fresh air amidst daily reports of major IT projects failing.

The first success is the completed modernisation of the British Transport Police IT systems.

The second is the positive progress made by the IT department of Camelot in revamping its retail infrastructure, which is the result of adopting the right methods to tackle complexity in such large projects.

Technorati Tags: ,

Related Posts:

Robust Java Exception Handling

July 20, 2006 on 1:03 pm | In Java | 2 comments

Hoa Dang Nguyen and Magnar Sveen published a very interesting paper on building robust Java applications by correctly applying exception handling. They explain how exceptions work in Java, when and how to use them, and provide sample source code to demonstrate their recommendations.

In the past, I have written about exception handling best practice and EJB exception handling.

Technorati Tags:

Related Posts:




Next Page »

Powered by blog.mu with Pool theme design by Borja Fernandez.


Myasthenia Gravis

Sony Dash

Team Bieber Teddy Bear Shirt

Siri

Connie Hamzy

Dream Act

Fsu Admissions

Mastercard

Christina Perri

Cruise Ship In Storm

Sing Off

Pancreatic Cancer

John Lennon Death Date

Luke Scott

Immaculate Conception

Cliff Lee

Lebron James South Beach Home

Foxnews Com Glennbeck

Sweet Connie Groupie

Notion Ink

Dream Act News

George Jakubec

Dave Wannstedt

Pearl Harbor

Cruise Ship In Antarctica

Used Cars For Sale

Ocala Star Banner

Christina Aguilera Leaked Pictures

Jacob Tamme

Derek Chambers

San Diego News

Spacex Launch

Wikispaces

Fortune Brands

Stedman Graham

Artie Lange

Nfl Week 14 Picks

Stab

Prince Charles Car Attacked

Dan Mullen

Aretha Franklin Pancreatic Cancer

Rielle Hunter

Dream Act News

Dream Act

India Vs New Zealand 4th Odi Highlights

B101

Transformers Dark Of The Moon

Derek Chambers

Facebook Numbers Game

Imagine Lyrics

Urban Meyer Stepping Down

Transformers Dark Of The Moon Trailer

Percy Cummings

Pancreatic Cancer

Carl Crawford Red Sox

Christina Aguilera Racy Photos

Fsu Admissions

Transformers Dark Of The Moon

Aretha Franklin Pancreatic Cancer

Mark David Chapman

Strawberry Fields

Myasthenia Gravis

Meera Shankar

Across The Universe

Jimmy Valvano

Ascend No More

Bob Feller

Percy Cummings

Ihome Colortunes Dual Alarm Clock

Meera Shankar

Facebook Numbers In Status

Keith Fitzhugh

Helen Mirren

Columbia University Drug Bust

Bo Pelini Miami

Meera Shankar

Sees Candy

Contrave

Meera Shankar

Dadt

Pamela Courson

Babylon Ad

Lisa Ling

Notion Ink Adam

Zabernism Definition

Sirius Stock

Falcon 9

Wikispaces

Iupui

Sweet Connie Groupie

Transformers 3 Trailer

Jimmy V

Prep And Landing

Devon James

John Lennon Quotes

John Leslie

Bae Systems

Ihome Colortunes Dual Alarm Clock

Clelia Ii

Fernanda Rocha

Howard Stern Contract

Jessica Simpson Clothing Line

Dream Act 2010 Status

Pimco Total Return

Ocala Star Banner

Project Free Tv

Patricia Kennealy Morrison

Aretha Franklin Cancer

Yoko Ono

Prince Charles Car Attacked

Artie Lange

Devon James

Red Sox

Facebook Numbers In Status

Little Caesars

Siri

Jerry Lawson

Columbia University Drug Bust

Howard Stern Contract

Team Bieber Teddy Bear Shirt

Wade Edwards Death

Keith Fitzhugh

Stedman Graham

Panama Canal

Dadt

Gayle King

Jim Valvano

Kris Humphries

Matt Cassel

Sterger

Fullerton College

Fox 5 San Diego

Fred Phelps

Zabernism

Cliff Lee

Week 14 Nfl Picks

Artie Lange

Howard Stern Resigns

Used Cars For Sale

Kumari Fulbright

Lebron James South Beach Home

Fallout

Blue Valentine

Christina Aguilera Leaked Pictures

Clelia Ii

Mark David Chapman

Bomb House Escondido

Lee Corso

Fortune Brands

Alpha Trion

India New Zealand 4th Odi Highlights

Mygateway

Week 14 Nfl Picks

Paul Konerko

Meera Shankar

Siri

Jaycee Dugard

Westboro Baptist Church

Christina Aguilera Racy Photos

Cameron Reid

Used Cars For Sale

Elisabeth Edwards

Team Bieber Teddy Bear Shirt

Luke Scott

Imagine Lyrics

Hendrik Coetzee

Russell Martin

Howard Stern Contract

Carl Crawford Stats

Barbara Walters Special

Sunset Boulevard

Pimco Total Return

Sunset Boulevard

Feast Of The Immaculate Conception

Warped Tour 2011

Kegel

Pamela Courson

December 7 1941

Fred Phelps

Anonymous

Alpha Trion

Westboro Baptist Church Elizabeth Edwards

Fortune Brands

Keith Fitzhugh

John Lennon Death Date

Gatorzone

Clelia Ii

Dustin Moskovitz

Aretha Franklin Cancer

John Lennon Death Date