Register  -  Login
Current Page:  Coding Fun
 Search
Google
 
 
 
 
Author: gmon Created: 4/20/2007 12:24 AM
Sharing my thoughts as I journey through the world of coding as a hobby...

University of Maryland's "Name the Super Computer Contest"!
By gmon on 9/9/2007 9:37 PM
My alma mater (University of Maryland) is having a contest to provide a name for a super computer prototype that could be the basis for the next generation of personal computers.  Here's the press release:

COLLEGE PARK, Md.—A prototype of what may be the next generation of personal computers has been developed by researchers in the University of Maryland's A. James Clark School of Engineering. Capable of computing speeds 100 times faster than current desktops, the technology is based on parallel processing on a single chip.

Parallel processing is an approach that allows the computer to perform many different tasks simultaneously, a sharp contrast to the serial approach employed by conventional desktop computers. The prototype developed by Uzi Vishkin and his Clark School colleagues uses a circuit board about the size of a license plate on which they have mounted 64 parallel processors. To control those processors, they have developed t ...
More...

The .NET Settings Architecture
.NET World By gmon on 8/26/2007 3:51 AM

Saving and restoring user preferences and settings is a common need with many applications. For example, many applications allow the user to save user preferences such as the position and size of opened windows, recently used files, etc. and allow the restoration of these settings the next time the application is used. Luckily, the .NET Framework 2.0 provides a really nice and easy way to do this.


To illustrate this, let’s consider a simple C# Windows Application that allows the user to save off and persist a text string between sessions.

More...

A Great Resource For .NET Training
.NET World By gmon on 7/28/2007 1:51 PM
I just wanted to share a great resource for learning .NET programming.  It's a site called Learn Visual Studio .NET.  They offer great little videos that teach you aspects of programming in .NET.  After entering the workplace, most of my learning is self taught -- I would either read books or look up how to do something from doing a Google search.

But sometimes I miss the classic "school way" of learning -- where you would listen to a lecturer as he/she explains a concept or show you how to do something.  These videos are just like sitting in a classroom where a lecturer explains concepts and shows you how to do something by working on a computer that is displayed on an overhead projector.  The presentation of the material is great and I find myself learning the material more quickly than if I had read about it on a website.  You have to pay to ac ...
More...

Using Visual Source Safe 6.0d for SCM
By gmon on 6/23/2007 12:54 PM

So far about 60 people have downloaded my little TiVo Decoder GUI program and I have received some suggestions for improvements from some fine folks at the TiVo forums. I'm currently working on the next version that will hopefully incorporate most of these improvements.

For the first time, I have decided to use a software configuration management tool to help me with this process. I decided to use Visual Source Safe 6.0d because I had purchased a copy at a computer show awhile ago and it integrates nicely with Visual Studio 2005.

More...

Managed Wrappers
.NET World By gmon on 6/17/2007 7:10 AM
Let’s recap what we know about interoperating with legacy code from .NET.  We basically have two methods.

If the legacy code is in the form of a DLL, we can use P/Invoke from any .NET language.  We can also use C++ Interop if we are using C++/CLI to access this DLL.

If the legacy code is in the form of a C/C++ source file, then we can use C++ Interop to access it.

No matter which method we choose to interoperate with legacy code, we should consider wrapping up our work into a package that will be useable from any of the .NET languages.  This technique involves creating a managed wrapper that acts as a proxy for the legacy native code.

Once this is done, the legacy code will then be available to any other .NET language as a .NET class.  So, we tradeoff some more work in the beginning for less work further down the line.

For example, suppose our legacy code is already in the form o ...
More...

Value Types, Reference Types, Boxing and Unboxing
.NET World By gmon on 6/8/2007 2:13 AM

Most of the .NET literature I've come across reads somewhat easily because it is so similar to Java and I had already taken several Java classes.


But one of the things that I find confusing in the .NET literature is their talk of boxing and unboxing and their emphasis on Value Types and Reference Types.  I couldn't remember a similar topic in Java.  What I do remember from Java was that ...

More...

Using C++ Interop to access Legacy code
.NET World By gmon on 6/2/2007 11:42 PM

C++ Interop, also known as “It Just Works”, is only available if you are using C++/CLI.  It is my preferred way of accessing legacy C/C++ code.  The basic idea is that things should work as they have always worked before .NET came along.  In other words, if you want to access functions within a DLL from C++/CLI, you perform the same steps as if you were using Visual C++ 6.0.


To illustrate how this is done, suppose you have access to a legacy library packaged in a DLL called MathDLL.dll.  This is the same library that I used earlier to illustrate how to use P/Invoke to access functions in a DLL.


Now suppose you use Visual Studio 2005 to create a ne ...

More...

Accessing Legacy Code with P/Invoke
.NET World By gmon on 5/19/2007 6:21 PM

In 2002, Microsoft introduced a new programming framework called the .NET Framework. Programs written in any .NET language are compiled to an intermediate code called the Microsoft Intermediate Language (MSIL) and this intermediate code is run on top of something called the Common Language Runtime (CLR). The .NET Framework also includes a large set of prewritten classes called the Framework Class Library.

 

The Microsoft Intermediate Language, C ...

More...

A GUI front end for TiVo Decoder
By gmon on 5/13/2007 11:59 PM

TiVo Decoder GUI is a GUI front end to the TiVo Decoder utility written by Jeremy Drake.



TiVoDecoderGUI.gif


TiVo Decoder converts TiVo files (obtained from using TiVo Desktop) into standard MPEG2 files which can then be used to produce a DVD that is playable on any DVD player. Prior to TiVo Decoder, the only official way to produce a DVD from your TiVo files was to use Roxio's MyDVD or Easy Media Creator.


More...

 
 
 
Privacy Statement  |  Terms Of Use  |  Copyright 2007 by GmonWeb