As I mentioned earlier, I found a memory leak in a piece of code and was lamenting the difficulty in providing automatic tests for such a think when you use new and delete directly. I’ve thought about this some more and I’m now slightly less concerned…
The bug was in the one place that I wasn’t using some form of factory to manage dynamic allocation. I was allocating a ‘per socket’ data structure when a connection was established and supposed to be deleting it when the socket was released; I wasn’t.
We have lots of clients who haven’t moved away from VC 6 yet. At present we need to maintain all our projects in a VC 6 compilable form. The easiest way to do this is just to use VC 6 as our primary development platform for C++. If we had a tool that allowed us to back port VS.Net 2003 projects to VC 6 then we could maintain the projects in the latest format and back port as required.
I ran Outlook against my POP3 server just now and once again was unimpressed by the speed that messages were being downloaded. It seems that Outlook 2002, over an SSL link to a POP3 server (so no anti-virus weirdness is going on) takes about half a second per message to download a large number of really small messages, from a server on the same machine…
Because I’m curious, and because it doesn’t appear to be a server issue as the server idles the whole time, I ran up Outlook Express and pointed that at the server (same SSL connection), it flew.
<rant>Whoever decided that it would be a good idea for the explorer status bar to be ‘switch offable by someone other than the user’ should be taken outside and given a good kicking. Why is it a good to let someone other than the user decide what’s the best way to display information?</rant>
and don’t get me started on folder views that reset themselves to the dumb ass icon display for no apparant reason…
One of the people I email’s corporate mailer has started to bounce my mail with the following message:
*mx.example.com[xxx.xxx.xxx.xxx] said: 554 You have been blocked
by a DNS blacklist, please see:- http://www.openrbl.org/ (in reply to MAIL
FROM command)*
So I wander over to www.openrbl.org and type in my domain name and it tells me REJECT: invalid ip-address or non-resolvable hostname: jetbyte.com…
Now, it’s true that jetbyte.com doesn’t have an ip address, but it has a perfectly valid MX record… Shouldn’t OpenRBL be checking that the MX record is valid rather than checking that the domain has an ip?
I’m writing some tests where I need to log calls to function for the test log so that I can make sure the function is called in the expected way when the test runs. The logging version of the object under test derives from the object and adds the logging functionality and calls the object under test to do the work. Of course, for this to work, the functions that I’m interested in can’t be private.
“Additional information: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full”
I’ve managed to get the .Net 1.1 TCP/IP issue that gives the above error mesage when trying to use sockets on .Net 1.1 fixed. Thanks to Alex Lowe for pointing me in the right direction and for the guys at MS support for allowing me to call them up and tell them I need to download the hotfix for KB 826757.
Alex Lowe asks what Microsoft could do to improve their developer support.
In general I think they do a reasonable job given the huge surface area of APIs and products that need support; I think some of the MS staff blogs are helping too. But they could do more…
What I’d like is more information, all of it, every scrap. :) Don’t bother cleaning it up, just make it available somewhere and let Google index it.
Roy’s post about information hoarding made me think, which is always good… Last night I followed a link from Larkware to this article on MSDN about Pocket PC services. The article annoyed me, I’d have preferred that it had been better edited, but given the choice between having the information that’s in the article available or having it sitting in someone’s mailbox waiting to be edited I know what I’d prefer.
Who are you? The new number 2… Who is number 1?
Looks like Roy Osherove is making waves with his comments about MVP information hoarding… Having been in the position of being a developer searching for scraps of information on a MS technology that doesn’t appear to be documented as well as it could be I know where he’s coming from.
Sometimes, during the early stages of understanding, I find that I can google for answers better than I can phrase questions.