
Measuring A Program’s Speed
The simplest way to measure the performance of a block of code (or an entire program) is to obtain the elapsed time. This tip shows you how. ‘At the top

The simplest way to measure the performance of a block of code (or an entire program) is to obtain the elapsed time. This tip shows you how. ‘At the top

Not all JavaScript loops are identical. Try the code below by pasting the HTML in this tip into a file and then opening the file in your browser. You should

Related Posts Find Tables with an XML ColumnIRS issues new RMD rules for IRAsPrioritizing OT cybersecurity to safeguard AmericaHighway B renovation tests local businesses’ resilience5 Fintech Stocks to Consider in

When Oracle bought Sun, it got Java. If you make your living in Java development, that statement can make you cringe, smile, or shrug—depending on how well you think Sun

f you’ve been programming in C++ for any time at all then you’re familiar with variadic functions, functions (such as printf) that can take a variable number of arguments. C99

package com.extensions;import java.io.IOException;import java.io.File;import java.io.PrintWriter;import java.io.FileOutputStream;import java.io.FileInputStream;import java.io.OutputStream;import javax.servlet.ServletException;import javax.servlet.ServletContext;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;import javax.servlet.http.HttpServlet;import javax.servlet.http.HttpSession;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;import java.util.zip.ZipEntry;import java.util.zip.ZipFile;import java.util.zip.ZipInputStream;import java.util.StringTokenizer;public class ExtractZipsServlet extends HttpServlet { protected void processRequest(HttpServletRequest request, HttpServletResponse

You can make Visual Studio build a solution automatically at certain time of the day using a batch file. In the example below, devxtry.sln is the name of the solution

Related Posts Google Opens European Machine Learning LabGraham Cochrane’s success with minimal weekly hoursTip: How to Turn on TLS Versions Without Affecting Earlier Versions of Security Protocol in .NETCycle Taskbar

As job losses in the U.S. mount, under pressure not only from the current economic downturn/depression, but also from foreign competition, de-unionization, outsourcing, offshoring, and imported labor (both legal and

roviding flexible reporting capabilities has been one of the key goals for the Microsoft Dynamics series of products. Microsoft signaled a significant shift in this regard with the launch of

he previous articles in the series covered the most significant changes to the core language and type system and the basic data types in Python 3.0. This article covers the

evice fragmentation is an issue that plagues the mobile application developer. With the thousands of devices on the market, it is difficult to know which devices can host a new

Suppose you wanted to retrieve the department number (deptno) and name (dname) fields for employees in an emp table. One way to get the values is with this SQL query:

ilverlight 2 just went RTM. This product is unique because for the first time in the Microsoft world, you have .NET running cross platform, in a secure way, and without

When editing in Visual Studio, you would normally write a MessageBox.Show or a Console.Writeline to log the value of a variable. But you can eliminate that work now. Instead, try

Here’s an alternative way to lock your Windows computer. Right-click an empty spot on the desktop, and select New ? Shortcut. In the Create Shortcut dialog box, type or copy

any applications use a loop that fills a raw memory buffer with data, processes that data, and then clears that buffer before the next iteration. Standard containers such as vectoraren’t

his is the third in a series of DevX articles on the new hierarchical XML processing capabilities possible with navigationless database hierarchical processing. The first article covered the basics of

key to mastering the client side of rich Internet application (RIA) development is learning how to manipulate the Document Object Model (DOM). The DOM gives you access to all the

ith WPF and Silverlight, Microsoft provides both Windows and Web developers with powerful technologies to create rich, professional, and exciting user experiences. However, in general, developers aren’t graphical designers, leaving

To run only a portion of a large SQL or PL/SQL query in TOAD, you can press Shift+F9 to run the specific part of the query situated at your cursor.

When executing a ASP.NET Web application through a device emulator, you sometimes encounter errors when localhost is part of the URL. In such cases, replacing localhost with the machine’s IP

Microsoft Visual Studio (VS) comes with four window layouts: Design, Debug, Full Screen Mode, and File mode. You can alter these layouts through the General Development Settings dialog, which allows

This tip shows you how to use the findByExample method in Hibernate. The method uses the SQL AND operator to log in a user given an email address and password.

any MS Access and SQL Server developers are moving to .NET. It’s a natural migration because these developers can use .NET to create the same types of solutions they would

mong other things, in this article you’ll see how to write a PHP web service using the NuSOAP library, as well as a JavaScript client to consume it using the

he first article in this series covered important changes to the core language and its type system. This article focuses on how Python 3.0 treats the basic data types: numbers,

he first installment of this article showed how to leverage C# syntax to create a specific type of domain specific language in C# called a “fluent interface.” Building a fluent

ith the recent release of the JavaFX Software Developer Kit 1.1, Sun also released the long awaited JavaFX Mobile platform. Through a Java-like scripting language (JavaFX Script) and a single

An earlier DevX tip, “Create a New XML File Using XmlDocument,” showed how to create a new XmlDocument, populate it, and save the results to a file. This tip uses