Visit site Dan Miser
November 2006
0
votes
Claiming dibs on a reinvented term (PONO)
Dan Miser
– I've been doing a lot more .NET lately, and while doing that, I've been evaluating a lot of different architectures and patterns. During my career, I've done mainly Delphi and Java, with some side jaunts into less travelled paths (e.g. MUMPS, Intermec, etc.). One thing that I have definitely learned ...
October 2006
0
votes
Delphi Informant articles released
Dan Miser
– David Riggs, the Editor of the Delphi Informant, has given me permission to publish my old articles and editorials. He was even kind enough to provide the type-set copies as Word documents. We'll see how good the conversion from Word to HTML works. The articles can be found - strangely enough - on ...
0
votes
Delphi Informant articles released
Dan Miser
– David Riggs, the Editor of the Delphi Informant, has given me permission to publish my old articles and editorials. He was even kind enough to provide the type-set copies as Word documents. We'll see how good the conversion from Word to HTML works. The articles can be found - strangely enough - on ...
0
votes
Miser's Maxims
Dan Miser
– I've developed a series of sayings that have evolved over time. I thought I'd share them here. I think it's safe to just post them without explanation, as they are meant to promote thought. Everything is easy when all you're doing is drawing circles and squares. It takes 3 times to perfect ...
September 2006
0
votes
Online, shareable calendar
Dan Miser
– After reading Joel's article on Airset, I thought I'd give it a try. Normally, I am not a fan of web applications. However, this web application is incredibly well done. The GUI is rather impressive, with wizards, dialogs, menus, drop downs, and the like. It still feels nothing like the ...
0
votes
Code smell
Dan Miser
– I've spent a lot of time here at my current place advocating refactoring. The concept of "code smell" is one that continually comes up. My esteemed colleague, Rich Werning, just came up with "Rich's ultimate code smell test". One simple question: if the project you are working on was to be released ...
0
votes
COM Interop follow-up
Dan Miser
– As a follow up from my post yesterday, I have some work-arounds to get me past the problem. I still don't have the ultimate answer for why Math.Log(0.0) throws an exception only when called from COM interop, but I can at least move forward again. I started out by changing the actual code in Lucene ...
0
votes
When Interop goes bad
Dan Miser
– It seems that COM interop isn't always a good thing. I have a problem that I don't have a solution for right now, so if you have any feedback, I'd sure appreciate hearing it. I wrote a wrapper around Lucene.Net to provide simple API access to some very basic operations (index, search, delete) that ...
0
votes
When Interop goes bad
Dan Miser
– It seems that COM interop isn't always a good thing. I have a problem that I don't have a solution for right now, so if you have any feedback, I'd sure appreciate hearing it. I wrote a wrapper around Lucene.Net to provide simple API access to some very basic operations (index, search, delete) that ...
0
votes
Making .NET classes visible via COM Interop
Dan Miser
– When creating .NET classes that will be accessible via COM Interop, you need to be sure to add a default constructor to the class. If you don't, regasm will end up generating the tlb without the CanCreate flag for that class, and therefore, when registering the tlb, those classes will not be ...
0
votes
Highlighting max value in Excel
Dan Miser
– Since I'm a programmer, I don't always keep up to date on other areas of software because it's always more fun to write your own tools. :-) I can find my way around Excel some, but I am not exactly a power user. I had a need to highlight the maximum cell value in a column today, and it turned out to ...
August 2006
0
votes
Lucene.Net
Dan Miser
– I've been tasked with adding text searching through documents to our application. Since we need to support multiple databases, I didn't want to use the native DBMS indexing options. Looking around, I came across Lucene.Net. It is an open source port of the Java version of Lucene, which is a ...
0
votes
COMTrace
Dan Miser
– I came across a link to COMTrace from Scott Hanselman. This tool allows for interception and logging of COM traffic. I just tried it out, and it mostly works on some of my more complex MIDAS applications. Granted, it is far from perfect (e.g. I needed to start a new process multiple times before I ...
0
votes
COMTrace
Dan Miser
– I came across a link to COMTrace from Scott Hanselman. This tool allows for interception and logging of COM traffic. I just tried it out, and it mostly works on some of my more complex MIDAS applications. Granted, it is far from perfect (e.g. I needed to start a new process multiple times before I ...
0
votes
Oracle parameters
Dan Miser
– Oracle is much more stringent with parameter bindings than other DBMS (e.g. MSSQL). For example, take the following statement "UPDATE MYTABLE SET FILENAME = :to WHERE FILENAME = :from". Pretty innocent, and the same query works on MSSQL. The problem is when you bind the parameters and execute the ...



