Thoughts from Dan Miser RSS 2.0
# Friday, August 12, 2005
I'm going to PDC this year, and I'm really looking forward to it. Our secretary registered me to go, and I've been receiving email blasts about the fact that I'm registered. Yesterday, I received an email telling me the scheduling tool is available. I went to login, and was greeted with an error telling me that my Passport account is not registered for PDC. I emailed support and they confirmed this to be the case. So, even though my passport account has the email address registered for PDC, they won't accept it. I now have our secreatary's passport login information so that I can use the scheduling tool. I can't believe someone decided this would be a good idea. Furthermore, when I brought it to their attention, I would have expected them to say "Geez, we messed up on that one. We should fix that." instead of "Well, there's nothing we can do." I guess all of the jokes people have been making about the uselessness of Passport over the years are more true than we know.

As an aside, I'm *supposed* to be going to PDC, but we'll see how that goes since I'm heading in for surgery to repair my completely torn ACL on Friday, 8/19. Let's just say that playing in a 3 on 3 basketball tourney is not always the smartest idea. I've played competitive sports my entire life, including at the collegiate level, and this is the biggest injury I've ever had. I guess it's time to accept that I shouldn't be doing these kinds of things anymore.

Friday, August 12, 2005 9:33:00 AM (Central Daylight Time, UTC-05:00)  #    Comments [0] -

# Thursday, August 11, 2005
I came across this link to Microsoft Scalable Fabric from The Daily Grind. I installed it, and I love it. It's a utility to help you manage a bunch of open windows. As you drag windows towards the edge, they get smaller and smaller. You can even create groups to categorize windows based on functionality, client, etc. After the first day of using it, I really like it.
Thursday, August 11, 2005 10:15:00 AM (Central Daylight Time, UTC-05:00)  #    Comments [6] -

# Monday, July 18, 2005
I'm not going to bother linking to Robert Scoble's web site. I don't want to drive one more person to that site than I have to. His quote below is the reason I have plonked him from my blog list:

no, you're here for Robert Scoble's views. And, those views are mostly about tech, but I do have political views and will occasionally let you know them.

And therein lies the problem. If you want to build an audience based on tech entries, and then start blogging about politics (aka poliblogging) or other sensitive issues (e.g. religion, lifestyle, etc.), then you are behaving in a very irresponsible manner. I have plonked a couple of other blogs for poliblogging in the past, and interestingly enough, I have plonked both those with whom I've agreed and disagreed. When I fire up FeedDemon to take a look at the latest tech news, I don't want to be greeted with politics. IMO, Scoble is no better than the common low-life spammers that inundate my inbox with topics I could care less about. I think the fame has gone to Scoble's head and he thinks he can do whatever he wants. Well, he can. Just don't expect us to follow along. Perhaps a nice campaign is in order to post feedback to people who abuse their blog.

Don't get me wrong, an occasional post about important events in your life is fine. After all, we are not robots. However, to take up one political crusade after another is out of bounds.

Monday, July 18, 2005 4:10:00 PM (Central Daylight Time, UTC-05:00)  #    Comments [9] -

# Thursday, July 07, 2005
On July 13, Borland will host the 24 Hours of Delphi. While it might not be as good as the TV show "24", it does look like it will be a lot of fun.

I'll be online chatting with them in hour 7, (7am PDT, 9am CDT, check your favorite time conversion site for your local time). I'll be talking about a conversion of a huge Win32 application that we did from Delphi 6 to Delphi 2005. I'm sure there will be a mention or 2 of PopupMode in there. I've also been known to to talk about MIDAS/DataSnap, so I'm sure that will be in the mix somewhere, too! I look forward to seeing you guys online. Get your questions in early.

Thursday, July 07, 2005 2:07:00 PM (Central Daylight Time, UTC-05:00)  #    Comments [0] -
Delphi
# Thursday, June 16, 2005
I use Component Templates a lot. I find it to be the easiest way to start writing a test case when trying to isolate a bug. For example, one template that I have used since the invention of templates is to have a DataSource, ClientDataset, DatasetProvider, SQLQuery, SQLConnection, and DBGrid all hooked up and ready to go. When I see something I need to check out, I just drop the TDBXTemplate onto my form and I'm off and running. Unfortunately, a bug in Delphi 2005 prevents multiple components from being selected simultaneously, which means you can't create Component Templates like this.

What I've done for now is to go to the design view of the form, select the text of all the components, and add it to the Code Snippets window (select text, press Alt, and drag the text block to the Tool Palette). This means that when I want to create this "template", I have to go to the text view of the form and use the Code Snippet. I'm not thrilled about having to do this, but at least it's a workaround for now.

Thursday, June 16, 2005 3:53:00 PM (Central Daylight Time, UTC-05:00)  #    Comments [2] -
Delphi
# Monday, June 13, 2005
I saw the end of a TV newscast that mentioned mobile video, so I set to Googlin'. What I found is beyond awesome. I will definitely be picking something up in this area. When I do, I'll be sure to blog about my experiences with whatever I choose.

So much homework to do, so little time to do it. Does anyone have any recommendations or experience with these things?

Monday, June 13, 2005 3:06:00 PM (Central Daylight Time, UTC-05:00)  #    Comments [1] -

With apologies to Edsger Dijkstra, I bring you a much smaller treatise on the benefits of using Range Checking. As many of you are aware from previous entries on the topic, I have been dealing with issues relating to the PopupMode off and on for a while now. I went back to the drawing board on the problem I talked about where using API subclassing to intercept paint messages for all components on a screen was broken due to PopupMode. I rewrote my component to use VCL subclassing (i.e. assign a procedure to the WindowsProc property), and things are much better (after much trial and tribulation). Part of the trials and tribulations I was having were due to accessing a dynamic array beyond the bounds of the array. It was resulting in 'Invalid Pointer Operation" error messages when shutting down the application. Debugging didn't reveal much interesting, and not much to chase further either. However, I realized I didn't have Range Checking or Overflow Checking turned on in my project. Turning these options on and running again showed me immediately where the code was broken, and allowed me to fix the problem quickly. Without this check, I was overwriting some memory and this resulted in the Invalid Pointer error later on.

So, long story, short: Range Checking can help you quite a bit during development. I don't necessarily advocate leaving it on for production code, though.

Monday, June 13, 2005 1:40:00 PM (Central Daylight Time, UTC-05:00)  #    Comments [3] -

# Tuesday, June 07, 2005
I was at a charity golf outing for the Bryon Riesch Spinal Cord Injury Research foundation yesterday. As I walked up to hole 13 at the Western Lakes golf course, I see it is a 168 yard par 3, with the pin basically in the center of the green and a slight tailwind, and proceed to hit the purest 8 iron I've ever hit. From the moment it left my club face, I knew it had a real good chance. I watched it stay on line, hit about 5 yards short of the hole, take a bounce and roll for a little bit and then I saw the ball disappear. It was an absolute rush to see this. I was elated beyond description.

After the round is over, I went to the clubhouse and bought a bunch of drinks, and bid on some silent auction items (I get to go backstage to meet Styx in person for the 2nd year in a row!! :-)). As we all sit down to dinner, the director grabs the microphone and says that he just got off the phone with the lawyers and that they are happy to announce that I won a 2005 Mustang Convertible, a trip to Scotland to play St. Andrew's, and some other prizes!!!!!!!!! (I believe that's justifiable use of multiple exclamation marks. :-)) It turns out that all players in the event were covered by an insurance policy that they bought to pay out prizes on an ace. I'll be signing the affidavits soon, and should have all of the prizes shortly thereafter. I'm still in a haze. Oh, and to be certain, I bid like there was no tomorrow in the regular auction. There is no way I want that karma train pulling away from me.

I'm obviously ecstatic, but I would especially like to thank everyone in the foundation for putting on a great event, and facilitating the prize package payout. I would like to thank them very much for everything that they did. Rest assured, I will be coming back time and time again.

Tuesday, June 07, 2005 10:51:00 AM (Central Daylight Time, UTC-05:00)  #    Comments [13] -

# Friday, June 03, 2005
During conversion of our application suite to Delphi 2005, I ran into a very irritating bug where a form was flashing extremely quickly during application startup. It was so fast that I couldn't get a feel for which screen it was that was flashing. Debugging the application also didn't reveal what form it was. So, what to do? I thought of using Camtasia to record the screen during startup, and then play back the recorded session at a very slow rate so that I could find out what I needed to know. I had to be sure to crank up the frames per second capture rate as high as it would go, but after a smooth install and some tweaking of options in Camtasia, the plan worked beautifully. I found out what form it was that was flashing, and then fixed it.

The gory details were that this form only got included from a DLL that had its conditional compilation directives wrong (for this build). However, this flash didn't occur in the Delphi 6 days. So I thought back to my previous experiences with PopupMode, and set PopupMode to pmAuto for this form and everything is great again.

Some days, I long for the Ctrl-S / Ctrl-Q days again. :-)

Friday, June 03, 2005 11:21:00 AM (Central Daylight Time, UTC-05:00)  #    Comments [4] -
Delphi
Navigation
Archive
<August 2005>
SunMonTueWedThuFriSat
31123456
78910111213
14151617181920
21222324252627
28293031123
45678910
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2013
Dan Miser
Sign In
Statistics
Total Posts: 391
This Year: 2
This Month: 2
This Week: 0
Comments: 674
Themes
Pick a theme:
All Content © 2013, Dan Miser
DasBlog theme 'Business' created by Christoph De Baene (delarou)