Skip to content

Category Archives: Main

On-topic posts

C++ static code checker

26-Mar-08

Did you ever try parsing C++? What about parsing for every combination of possible define-s at once? Microsoft has a static code checker tools for C++, like FxCop for .NET. That’s awfully complex task, you now see. In .NET you can analyze bytecode, and luckily don’t really need to account for conditional compilation. In C++ [...]

WiX linkdump: samples and howto-s I found, mostly .NET deployment

21-Mar-08

Some pages that somewhy didn’t appear at top of Google searches for WiX help. WiXWiki.com – pretty useful and contains some snippets you won’t find in WiX manual or tutorial. Many of rare code snippets WiX development releases; some broken (last two broken in VS 2008), some contain the very things you’ll need; Justin Rockwood’s [...]

NAnt vs MSBuild funnies

20-Mar-08

All the software is equally bad… Well, I know some pieces of software that are good, but I won’t mention them today. One of our msbuild vs nant choice criteria is  a product versioning support. Sad or funny things are: both don’t include sane tool out of box; both need installing NAntContrib or MSBuild Community [...]

Auto-update with WiX

12-Mar-08

Update: for a ready solution (library), see official release announcement Windows Installer on itself is a pain. WiX saves you from it, mostly wrapping the complexity into XML constructs understandable to non-gurus. Well, not completely – you still have to know: why the heck shortcut didn’t appear in start menu; how to create a web [...]

Choosing MSBuild/TeamBuild vs NAnt

11-Mar-08

We’re choosing a build tool for VS 2008 project. I’m not expert in any, only had put together a couple of NAnt scripts. So I give no objective technical information in this post, just impressions. First discussion of this choice, back in 2005, is almost strictly in favor of NAnt. Though, read it to know [...]

Why would Wait-Pulse-PulseAll need monitor lock

03-Mar-08

Till now, I did understand but didn’t remember the very situation, as I wasn’t the one creating thread pools and alike: all the core things were already there. It’s a blessing to work for start-up. You can think about Monitor.Wait(toRetrieve); // will throw SynchronizationLockException Now, after a look into docs, I see that one needs [...]

Multithreading in WPF: getting started

12-Feb-08

Couple of things to know when starting a new thread in WPF application

When do you start coding?

30-Jan-08

I prefer first to identify program classes, then to think some time about its design, the longer the better. Then, to prove my internal API idea, I make up code pieces by “wishful thinking”: how I wish the code to look, for it to be the most brief and to express core system objects and [...]

Questions on .NET I don’t expect answers to

21-Jan-08

Why FindAll() is not in IList? IDictionary or at least Dictionary? Are you pushing me to code for implementation? Why WeakReference, but no WeakDictionary (get a nice one from Nick Guerrera)? WeakList? More? Why ReadonlyCollection<T>, but no ReadonlyDictionary<K, V>? (I can live with this one) Why Array.Length, but anyCollection.Count (thank Nick Guerrera again)? …more to [...]

gdi bug in System.Drawing.Drawing2D?

21-Jan-08

Am I the only one who ran into .NET (or GDI?) bug with Pen (or Matrix) .ScaleTransform()? When I scale a pen to certain width, and it has an anchor, anchor draws at inverse scale. I might be missing something, but here’s my test. Pen scales proportionally to form width, for simplicity. Here’s how it [...]

Software project (pathologo) anatomy

26-Oct-07

Building a demo for P-Explorer, I got a metaphor, If software project’s: architecture – is a skeleton; code is meat; then it’s blood is work items: new requirements, bugs, change requests. If you have no skeleton, you’ll most likely to get a slug… or a damn efficient octopus. Watch out not to get leukaemia – [...]

Categorization in Requirements management

02-Oct-07

It turned out that a very productive idea — to use domain data scheme (sample) as a basic of requirements categorization — is already used. Moreover, idea is standardized in ISO-13250: Topic Maps. Wow. Though, some other, non-domain topics will appear: like nonfunctional requirements, GUI details, project specifics. But still I believe topic map is [...]