Nimble Coder

Adventures in Nimble Coding
posts - 76, comments - 39, trackbacks - 0

June 2007 Entries

High Frequency Ring Tones?!?!

I know this is old news to many people, but I just saw this article about ring tones that only kids can hear on another blog and decided to listen to the ring tone. The interesting thing about the article is there are two mp3 files: one is the actual ring tone and the other is a sound file at the same frequency. I would like to think my hearing is quite good as I sing and play the piano and guitar as well. When I was working on embedded systems, I could hear when power was applied to many of...

posted @ Thursday, June 28, 2007 2:41 PM | Feedback (0) |

Bilinear Interpolation in SQL Server

The past several days I have been wrapped in relatively complex calculations in SQL Server. The process involves gas composition data from a time-series historian that is weighted by flow-rate and averaged. Then the composition is used for several lookup tables for volume correction based on the gas mixture and temperature. The algorithm tries to find the closest x and y values to the supplied parameters. If any of the parameters match the lookup table, then standard linear interpolation can be

posted @ Tuesday, June 19, 2007 12:17 PM | Feedback (0) | Filed Under [ SQL ]

Exercise in Futility -- The Dvorak Experiment

I was reading Phil Haack's blog the other day and noticed he uses the Dvorak keyboard. To make matters even stranger, he uses a standard keyboard and just ignores the labels on the keys. When I was in high school (around 1992 for perspective), I decided to try to learn the Dvorak keyboard. I changed the keyboard in the Windows control panel to Dvorak and then put little labels over all of the keys. The experiment lasted about a week or two before I decided it wasn't worth it. At the time I believed that the QWERTY keyboard was designed...

posted @ Tuesday, June 12, 2007 4:15 PM | Feedback (1) |

Death of single-threaded development?

I was reading my email when I came across this blog about the death of single-threaded development. Now I've written many multi-threaded applications in C++ for applications, communications, and graphical displays, but I don't see the death of single-threaded development any time soon. I even wrote a paper while I was at university about how multi-threaded programming should be introduced in the curriculum much earlier. At the very least, the multi-threaded thought process should be taught but I don't see that happening. Samples are usually distributed as single-threaded applications because they are easier to understand. Unfortunately people replicate the same...

posted @ Friday, June 08, 2007 11:08 AM | Feedback (0) | Filed Under [ Cpp ASP.NET Delphi ]

Visual Studio Project and Installer Woes...

I recently hooked up TortoiseSVN to the Subtext project to get the latest source code so that I could take a look at some of the inner workings. I knew that the project used the Web Application project type, but I also knew that I had previously installed the Microsoft update and also have VS2005 SP1 installed. Yet I was unable to open the project. Frustrated, I reinstalled VS2005 SP1 except that I kept Outlook open so that I could read my emails while it processed the service pack. After it finished, I closed Outlook and it crashed and asked...

posted @ Thursday, June 07, 2007 4:05 PM | Feedback (0) |

Changing table owners in SQL Server

I recently installed some tables via SQL Query Analyzer under a user id that was not 'dbo'. I needed to change the owner on the tables and wrote this simple query to generate the execute statements to change the owner. Run the query to generate the next query -- so you can review the list prior to running it.SELECT 'exec sp_changeobjectowner ''' + name + ''', ''dbo''' FROM sysobjects WHERE type = 'U' AND uid != 1 ORDER BY name The result looks something like:exec sp_changeobjectowner 'asset', 'dbo' exec sp_changeobjectowner 'project', 'dbo' exec sp_changeobjectowner 'salesorder', 'dbo'

posted @ Sunday, June 03, 2007 2:34 PM | Feedback (1) | Filed Under [ SQL ]

Powered by: