Saturday, December 09, 2006 4 years ago my best friend Dave was fighting cancer. He had a rare form of leukemia called granulocytic sarcoma.
4 years Dave was fighting for his life. There were times we didn't think he would live. I remember talking with Dave's dad in December (4 years ago). He said to me "We thought we lost him last night." That conversation really sticks in my head, and it was one of the worse nights for Dave during his 9 month hospital stay.
4 years ago Dave struggled to walk. Just walking to the bathroom across the hospital room was a major challenge for Dave, many times requiring assistances.
4 years later (today) Dave faces a different kind of challenge. Today Dave runs in the Charlotte Thunder Road Marathon. The guy who 4 years ago could barely walk and was fighting for his life is running a marathon. Dave's cancer has been in remission and he's healthy again. Dave is the most amazing person I know.
Dave, have fun in today's run!
Read about Dave's struggle with cancer and his turn around in this Charlotte Observer article.
Update: Dave's final time: 4:42:55
Wednesday, December 06, 2006 WTF...Apple distributed a QuickTime security patch through MySpace. This is crazy!
First of all, I'm not a fan of QuickTime for various reasons. I stopped using it years ago and I no longer have it installed. But when I read this blog posting about Apple distributing a security patch through MySpace it made me glad not to be a QuickTime user. And to think Apple has been running ads on TV about the Mac being more secure than the PC. Will the day come when Mac users need a MySpace account to install the latest Mac OS security patch?
What the heck was Apple thinking? posted by Kirby | December 6 03:18 PM | comments (0)
Here are a few Delphi (BDS) Live Templates I created for writting SQL Server script:
Create SQL Server Table
<?xml version="1.0" encoding="utf-8" ?>
<codetemplate xmlns="http://schemas.borland.com/Delphi/2005/codetemplates"
version="1.0.0">
<template name="table" invoke="manual">
<description>
Create table for SQL Server.
</description>
<author>
Kirby Turner
</author>
<point name="TableName">
<text>
TableName
</text>
<hint>
</hint>
</point>
<code language="SQL" delimiter="|"><![CDATA[/***
Create |TableName| table.
***/
PRINT 'Create |TableName| table'
GO
IF (EXISTS (SELECT name FROM sysobjects WHERE (name = N'|TableName|') AND (type = 'U')))
BEGIN
DROP TABLE [dbo].[|TableName|]
END
GO
CREATE TABLE [dbo].[|TableName|] (
|*||end|
|*|CONSTRAINT [PK_|TableName|_1] PRIMARY KEY CLUSTERED
|*|(
|*|)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[|TableName|] TO [public]
GO]]>
</code>
</template>
</codetemplate>
Create Foreign Key Reference
<?xml version="1.0" encoding="utf-8" ?>
<codetemplate xmlns="http://schemas.borland.com/Delphi/2005/codetemplates"
version="1.0.0">
<template name="fk" invoke="manual">
<description>
Create foreign key constraint for SQL Server.
</description>
<author>
Kirby Turner
</author>
<point name="PrimaryTableName">
<text>
PrimaryTableName
</text>
<hint>
</hint>
</point>
<point name="SecondaryTableName">
<text>
SecondaryTableName
</text>
<hint>
</hint>
</point>
<point name="ColumnName">
<text>
ColumnName
</text>
<hint>
</hint>
</point>
<code language="SQL" delimiter="|"><![CDATA[ALTER TABLE [dbo].[|PrimaryTableName|] WITH CHECK ADD
CONSTRAINT [FK_|PrimaryTableName|_|SecondaryTableName|] FOREIGN KEY([|ColumnName|])
REFERENCES [dbo].[|SecondaryTableName|] ([|ColumnName|])
GO]]>
</code>
</template>
</codetemplate>
Enjoy. posted by Kirby | December 6 09:35 AM | comments (0)
Friday, December 01, 2006 Jeff Atwood has declared December 1 as "Support your favorite small software vendor day". He is asking people to register those useful programs created by independent software vendors that are used on a regular basis. As a small software vendor trying to make a living off my own software, I find this show of love great. posted by Kirby | December 1 03:26 PM | comments (0)
