Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » History   (RSS)

Examine .Net Memory Leaks

Writing programs using .Net is very productive. One reason is because much of memory management is “managed” for you. In C, C++ and other “native” languages, if you allocate memory, you’re responsible for freeing it. There were stopgap measures, like

Uninstall VB6 causes error message: You do not have a license to use this control

I was running out of disk space on one of my machines, so I used my TreeMap program to see where I could delete files to save space. I saw that I still had VB6 on the machine, and I didn’t need it on that machine any more, so I uninstalled it. It's amazing
Posted by Calvin_Hsia | 2 Comments

Run your application forms on the web

I received a customer question: I have looked all over the web and still searching, and found your blog. I have a very specific issue and I need to ask whether this is doable first of all and how to do it after. First of all, I need to make a foxPro app
Posted by Calvin_Hsia | 1 Comments
Filed under: , ,

The MVPs are coming!

I was quoted in this Computerworld article about the MVP summit, which is happening this week in Seattle . The author says I compiled a “spreadsheet that ranked the most prolific posters on the FoxPro forum”. That is slightly incorrect: obvious to Fox
Posted by Calvin_Hsia | 3 Comments
Filed under: ,

Write your own hangman game

Many years ago (1985) I wrote a C program to play Hangman. I had decoded a word processor spelling dictionary for my word source. More recently, I have encoded 2 spelling dictionaries for general purpose use: 1 with 171201 words, the other with 53869.

Visual Sorting Algorithm comparison

When I bought my first IBM PC around 1981, I wrote a program to demonstrate the speed of various sorting algorithms. It filled the screen with random characters, then the user could choose amongst a few sorting techniques and watch the sort algorithm
Posted by Calvin_Hsia | 3 Comments
Filed under: , ,

Turtle Graphics Logo Program

Warning: this simple program produces mesmerizing spirographic images that seem hallucinatory in nature! Discretion is advised! Do not drive while watching these graphics! Almost 30 years ago, I had heard about a concept developed by Professor Seymour
Posted by Calvin_Hsia | 11 Comments
Filed under: , ,

What was that strange character? The mystery deepens

In my last post, What's that funny character? , I asked about a particular character. In fact, another mystery character can occur. Embarassingly, SET CARRY ON was set on my machine when I ran the code, and I didn’t add it to the sample. It’s off normally
Posted by Calvin_Hsia | 4 Comments
Filed under: ,

What's that funny character?

Run this code: CREATE CURSOR foo ( line c( 100 )) LIST STRUCTURE TO t.txt APPEND FROM t.txt sdf GO RECNO ()- 1 FOR i = 1 TO LEN ( TRIM ( line )) ?i, SUBSTR ( line ,i, 1 ), ASC ( SUBSTR ( line ,i, 1 )) ENDFOR It produces t.txt which looks like this: Structure
Posted by Calvin_Hsia | 8 Comments
Filed under: ,

National Public Radio Car Talk

You may have heard a radio show on National Public Radio called Car Talk hosted by Tom and Ray Magliozzi, aka Click and Clack. It’s a call in show, where audience members call in with their car problems, and Click and Clack offer advice in a humorous
Posted by Calvin_Hsia | 1 Comments
Filed under:

Are there any pots inside?

I was watching my 9 year old daughter deftly manipulating the joystick on our original Sony PlayStation (predecessor of the Play Station 2) and that reminded me of a story. I lived in Boston from 1976 to 1984. I liked to hang out in a surplus electronics
Posted by Calvin_Hsia | 2 Comments
Filed under:

Digging through old code: Chess program

There is a lot of waiting for parents at a chess tournament (see Eliminating Fire Alarm sound at Chess Tournament Awards Ceremony ). I had my computer, and I was asked if I had a chess program on it. The answer is a little bit complicated: I wrote one
Posted by Calvin_Hsia | 2 Comments
Filed under:

Phone number and wife haven't changed in 11 years

There’s a sporting goods store that I’ve visited on occasion over the last 11 years. It’s a membership cooperative, which mails a percentage rebate check back to customers annually. I signed up as a member 11 years ago, which meant yet another card to
Posted by Calvin_Hsia | 10 Comments
Filed under: ,

A Discounter Introduces Reductions: Multiple Anagrams

Many moons ago, I was playing with spelling dictionaries (see What is an index anyway? ) and anagrams. After decoding a spelling dictionary for a word data base in the early 1980s, I wrote some word games, like scrabble and anagrams. APT, PAT, and TAP
Posted by Calvin_Hsia | 7 Comments
Filed under: ,

What's the greatest invention of all time?

I read this from Raymond , which prompted this post. To qualify for greatness, an invention would have to affect the most people and benefit humankind in a big way When pondering this question, I’ve heard things like: Wheel Transistor Computer Printing
Posted by Calvin_Hsia | 27 Comments
Filed under: ,
More Posts Next page »
 
Page view tracker