Microsoft Provides Useful Virtual ‘Gadgets’

In the past, the word ‘gadget’ has almost always applied to a physical object that you could use for some unique purpose. Gadgets could be useful to the point of saving massive amounts of time and energy for their users, or they could be little more than interesting trinkets. Gadgets are almost always novel in some way or another though.

Now the word gadget has transcended the need to be a material object and also applies to some types of computer programs. Specifically Gadgets are now types of programs that are designed to be run on Microsoft’s new Windows Vista operating system and to be run embedded in a special web based service offered by Microsoft. Because these gadgets come in two different varieties, those varieties are specified by the names of the gadgets. For example, Web Gadgets are embedded in the web page in a similar way to traditional applets. The Sidebar Gadgets are run in a special sidebar in the Windows Vista operating system.

These software Gadgets are available for download from a web site associated with Microsoft and perform a wide variety of functions. Web Gadgets can include programs that provide you with daily quotes, words of wisdom, games like hangman that you can embed in web pages, a clock displaying Greenwich Meridian Time, and software that can stream live video from web cams in various parts of the world (Europe seems to be especially popular). There are also HTML sandboxes and links to email that you can embed in a web page. One useful application that you can download and place in a web page is a text message window which will allow you and another person to communicate in real time from various websites.

The Sidebar Gadgets are also very impressive and can be downloaded and installed on your Vista operating system with a minimum of trouble. Examples of these programs include ones that rely on the web for information. You can get live news feeds, your local weather (or presumably someone else’s local weather if you like), and information about ongoing ebay auctions. There’s also one that lets you search various ebay sites right from your sidebar. Another Gadget will play music on your media player in a random order while displaying the art from the cover of the album being played. One Sidebar Gadget will also monitor your computer system’s use of memory, as well as hard drive space used, and the use of the processor. If you happen to be Muslim, you can get a Sidebar Gadget that reminds you when to pray. There’s also one that will access your Microsoft Outlook calender and remind you of your appointments.

Another great thing about Microsoft taking the initiative with these Gadgets is that they build a sense of community by encouraging people to create and submit Gadgets of their own. That means that you don’t have to be part of some big software company in order to contribute the programs that are available for use by users of Windows Vista.

A pioneer in newgadgettechnology.com technology reporting, Julia Hall has published articles about the latest digital devices and

Watch Liverpool Champions League Games on your PC for Free

Are you a Liverpool FC fun or do you just love football? Thousands of
football funs are now enjoying the benefits of using their pc as a TV. You can
watch Liverpool Champions League games live on your pc while you’re doing
something else!

Did you know that there’s software and some simple equipment that you can
install on your computer that will enable you to watch TV for free on your pc.
With some of the software, you can be set up and ready to go in less than 30
minutes. You don’t even need additional computer hardware. All you need is some
special software that is available online.

Here’s how it works. Basically, you have several options but we’ll only
concentrate on the two main ones.

1. Satellite TV for PC Software

This software is available from various providers and you can usually purchase
it online and download it instantly. The biggest advantage with using this type
of software is that after you’ve installed it on your pc, you’ll be able to
watch the TV channels for free. There are hundreds of TV channels available and
they include sports, movies, news, documentaries, TV programs and much more. You
can watch Liverpool Champions League games when there’s a game that’s being
broadcast on one of the TV channels.

You won’t need any additional equipment or TV aerial. All you need is a basic
pc, an internet connection (even dial-up will do) and the Satellite TV for PC
Software. You can start watching Liverpool Champions League games as soon you’ve
installed the software. You can find out more information about the software you
need and download it at satellite-tv-providers.org/pctv/
satellite-tv-providers.org/pctv

2. TV Cards

There are basically two types of PCTV cards. The first type needs to be
installed in your pc while the other type is a stand alone box that plugs into
your pc’s USB port. In order to watch satellite TV on your pc your need at least
a Pentium II computer with an operating system like windows 98, windows 2000 or
windows XP. You would also need a sound card, a spare USB port and a CD rom
drive. Most computers already have some of this basic hardware. The main thing
you may need to buy would be the PCTV cards and the TV aerial. There are
different ways of connecting your pc to receive TV broadcast. You will find
installation instructions in your PCTV card documentation or manual.

Watching Liverpool Champions League games and other football games on your PC is
fun, convenient and addictive. The fastest way to get started is to just
purchase the Satellite TV for PC Software because you don’t need to buy any
additional pc hardware for it to work.

Copyright © 2007. Bridget Mwape writes articles for
satellite-tv-providers.org/ the Satellite TV guide. You
can download software that will give you instant access to thousands of digital
satellite TV channels at
satellite-tv-providers.org/pctv/ satellite-tv-providers.org/pctv instantly. Watch all your favourite football teams live on your pc.

4 Immediate Benefits Logging Brings to Your Software Development

Logging messages in your software is a great source of debugging information both before and after product release. Unlike conventional stack traces which create a lot of mess, creating log files keeps your applications output tidy whilst keeping all the important information about how the software is running. This can significantly aid in debugging at any stage of development and its impact on the user is minimal if non-existent. The reasons you should consider implementing a logging strategy are four
fold:

Logging increases debugging efficiency

Programmers debug software using various methods or approaches; printing out code statements to verify correct behavior, unit testing for correct behavior and the use of a software debugger; found in nearly all Interactive Development Environments (IDE) today. The latter is possibly the least efficient means of debugging so it is used as a last resort due to the timely nature required to step through code line by line, identifying where a bug or problem might exist. Although a last resort, it is sometimes the last form of debugging left when quicker debugging methods have failed to reveal the source of the problem.

For this reason, first pass debugging often involves printing out values or statements to verify correct behavior. Why? In most cases it is quicker than stepping through a debugger. This perception however is a little bit misleading. Whilst up front this method requires very little time, over time it can add up. Because these types of messages generally appear around or at the location of bugs in the software they are often removed after the bug or problem area has been resolved to not create extra noise in the programs output.

This has the side effect of removing any trail of information leading up to, or after the problematic execution point. If you have any problems around these areas at a late stage, you have no information available. You would have to print this information out again, squash the bug and remove the messages again. This is where logging can help save time.

By logging messages instead of printing them to a standard output stream (such as the screen) you don’t need to spend time removing them. You can log them and forget about them. This log and forget approach builds up a trail of execution as your program runs. If you run into problems at a later stage in development you may already have a considerable amount of information (gleaned from the trail your software left as it executed) available leading up to the point of failure.

Logging provides more information

Logging can provide much more information than just exceptions or stack traces because you are not so much worried about the noise of too much output like you would be if you were just printing your messages to screen. This allows you to log more information about the actual running state of your program.

You might log when you enter certain sections of code and when you leave them, you might log points of abnormal behavior, exception stacks and any other information that you think might be useful as a trail later on. If you encounter a severe error in your program that causes it to crash, you have both pre-crash information as well as stack trace information associated with the crash. Having both of these pieces of information together is significantly better than having just one or the other.

A stack trace on its own for example tells you the type of problem that occurred, but it doesn’t necessarily tell you why the program crashed. What behavior occurred prior to the crash? What state were certain objects in prior to the crash? This extra information can really help put a crash into context leading to a quicker resolution.

Logging yields increased message control

Unlike printing to a standard output stream like the screen which is either on or off, you can customize your logging messages with varying degrees of granularity. Most logging packages give the ability to log messages at a particular level; on, off, all, info, fine, finer, finest for example. This gives you the flexibility of quickly turning all logging information on or off, just looking at messages logged as information (general program flow and behavior for example), whilst classifying debugging information at varying degrees of granularity.

This gives you the control to switch off finer debugging information when it is not needed but ensures this information is still available when you do need it. This sort of flexibility just isn’t available when printing straight to standard output; be it screen, file or otherwise.

Logging extends to maintenance use

In most cases you will not want all the debugging information you output to the console during debugging to appear to users of your software as the program runs or crashes. To most users this information is not going to be meaningful and even to those that it is, they cannot do anything about it unless they have a copy of the source code.

This is where log files come in handy. They can be discrete, created silently in an unobtrusive way that the user is not aware of. Some companies setup an automatic log file submission when a crash occurs in their software allowing any log information generated to be forwarded to the developers for inspection. This gives the developers plenty of information about the problem but in many cases also the operating environment in which the problem occurred. This is important because abnormal behavior might only exist on a certain set of hardware. Tracking this sort of problem down can be quite difficult if not impossible if this sort of information is not present.

So the benefits to incorporating logging in your software are four fold;

An increase in debugging efficiency through the practice of log it and forget it
Increased information availability
Increased message control and handling
After production information availability

Next time you develop a piece of software that does not have logging. Think about these benefits and also the amount of time you spend in debugging. Even with a simple practice like value or statement debugging via standard output. There’s a good chance a solid logging practice will benefit your pre and post production development.

Joshua Hayes
codelines.net.au Software design and development for passionate people

Software Developer