The Latest

DevX - Software Development Resource

Sort a Collection of Objects

Suppose you have objects of type MyClass. Further assume that you have a collection (named myCollection) containing objects of type MyClass. To sort this collection, follow these steps: MyClass must

DevX - Software Development Resource

Track Process Runtime for Perl Scripts

For any script that takes more than just a few seconds to run, it’s always a good idea to track the runtime itself. This is especially useful in the development

DevX - Software Development Resource

Power Python: Do More with Less Code

hat’s Power Python, you ask? It’s the effective use of Python language features to get a lot of work done in fewer lines of code. The lambda, reduce, filter, map,

DevX - Software Development Resource

Analysis Services Comparison: SQL 2000 vs. SQL 2005

any SQL Server developers eagerly anticipate the long-awaited release of SQL Server 2005, formerly code-named “Yukon.” Major goals for Business Intelligence (BI) in the 2005 release are better integration of

DevX - Software Development Resource

Turning Our Backs on Beauty?

ast month, Computer Research Associates released their annual Taulbee Survey (of North America’s computer science programs. According to their numbers, enrollment declined nearly 20 percent between 2002 and 2003. Predictably,

DevX - Software Development Resource

How to Use an XPath on a DataSet

This small snippet shows how to use a XPath on a DataSet. Here are the used classes: DataRowDataSetXmlDataDocumentXmlNodeListXmlNode Here’s the XML file: One Three Four Two Finally, here’s the code:

DevX - Software Development Resource

Enforce Custom Password Policies in Windows

icrosoft Windows allows you to define various password policy rules. Specifically, it allows you to enable the “Password must meet complexity requirements” setting using the Policy Editor. This validates user

DevX - Software Development Resource

Code Less and Do More with Extender Controls

n our previous article “Put a 24-hour Lockdown on Your .NET UIs,” we discussed various ways to augment user interfaces to interpose underlying business logic and data engine security constraints.

DevX - Software Development Resource

A SQL Statement with the Resultset Flopped

I got a request from a developer the other day to produce a SQL statement with the resultset flopped. In other words, he wanted the rows to appear as columns

DevX - Software Development Resource

Single Sign-On: The High Cost of Convenience

ow many times have you left your computer without locking it down? Sure, some people have a screensaver that locks the computer automatically after some elapsed period; most people set

DevX - Software Development Resource

SWT Creates Fast, Native-looking GUIs for Your Java Apps

ince Sun Microsystems released the first version of Java, the industry has been displeased with the way Java’s front-end development toolkit works. Though Swing appeased some developers with its look-and-feel,

DevX - Software Development Resource

Autoboxing/Unboxing in J2SE 1.5

Before J2SE 1.5, Java had primtive data types with wrappers around them, so programmers had to convert from one type to another manually: public void manualConversion() {int a = 12;Integer

DevX - Software Development Resource

An Introduction to OLAP in SQL Server 2005

f you’re a database developer, you’ve no doubt heard of On-Line Analytical Processing (OLAP) and the advantages of analysis using multi-dimensional, pre-aggregated data. Maybe you’ve even thought about creating your

DevX - Software Development Resource

Pinpoint Code Problems Using Java’s Assertion Facility

eteran object-oriented language programmers who have used non-Java languages are accustomed to having assertions in their development toolbox. An assertion is an expression that evaluates to either true or false.