Clearing Local DNS Cache in Windows
I was having some trouble reaching a host (whose IP I had just changed) because Windows was caching the resolution of the name. One little call to ipconfig fixed it:
ipconfig /flushdns
I was having some trouble reaching a host (whose IP I had just changed) because Windows was caching the resolution of the name. One little call to ipconfig fixed it:
ipconfig /flushdns
Outlook rules frustrate me to no end; especially when using exchange! I have tried and tried in the past to build a rule that would route all of the internal email sent to me into a special folder for internal communication with absolutely no success. I like to route every email message I get to a folder so that I know what it’s about without having to even look at it. Most of the rules work without a hitch… but when it came to building a filter for the “Work“ folder… no success. I think I tried every single filter criteria twice and none of them were able to successfully filter only internal messages. The closest one was using the “Sender is in specified address book“ filter. However, that filter runs client side only (who knows why) which is no good because my blackberry and owa would not get filtered messages unless my outlook was open.
Today, however I felt a renewed sense of confidence in my battle against outlook and decided to try yet again at winning this war. I called in reinforcements (Ryan – who has also been waging the same war) and we began to look at our options for getting the filter to work. Just when we thought we were once again defeated it came to us! Instead of using an inclusive filter to try and find the messages we needed to an exclusive one. So we let all messages through and then only route the ones that do not have the word “Received” in the header (since exchange messages have no headers). walla! it worked.
The finished rule:
Apply this rule after a message arrives
move it to the TT folder
except if the message header contains Received
Ryan also pointed out that outlook runs a lot faster now as well since we don’t have that huge client side rule checking the address book for each message.
It’s been a while since I ran into this “bug”, but the other day I trying to figure out why the images in my email were not showing up. So I did what any normal human would do on a Wednesday and tried to do a “View Source” on the HTML content. When I clicked on the view source option in the context menu however I got no source. I didn’t even get an error. Then I tried IE. No love there either. Then something happened to me that very rarely happens; I remembered something from more than a week ago. This very thing has happened to me before, about 2 years ago.
The answer? In order to be able to view source again you have to clear out your temporary internet files! The answer to this riddle has always baffled me. Why does the fact that your temporary internet files allocation has reach capacity effect your ability to see the source of the page that is clearly stored on your machine someplace? One would think that once you reach the allocated capacity, that IE would begin deleting the oldest content to make more room. Not the case when making room for view source I guess.
So after deleting the temp files all was good again.
Well I found out today that the C# compiler only allows 2046 characters on one line. I wonder why this is the case?
Why was I putting 2046+ characters on one line you ask? Well I was pasting in a rather large error message so I could play an April fools joke on Richard who was kind enough to roll out code on April 1st. Nothing like having the CEO generate a hundred or so errors on the code you just rolled out!
Of course Richard being the astute debugging machine that he is, caught on to the joke pretty quickly.
Stack Trace:
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaiseAprilFoolsEvent(IFoolRichard target, String gotcha)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain()
|
Ryan and Jeff are trying to organize a series of “meets” for the chicagoloand geek contigency. I think this is a great idea and I will definately attend as many of these as I can.
Got my copy of the highlights DVD from PDC today. I had no idea this DVD even existed until Simon mentioned it in an earlier post i made about the conference DVD This DVD contains the slides AND video from the 27 top presentations at the PDC. Now this a great thing to have! Nice, high quality video of the speaker and the demos that you can be proud to show your friends. I am especially pleased to see that they have the architecture symposium on there as well since I think that was one of the better session at the conference.
Oh yeah, they also sent everyone another copy of Office 2K3 in the package. Nice. The one given out at the PDC didn’t work with Visual Studio Tools for Office so we all got another copy.
So I take it back (well some of it). In my last post I takled about the PDC Conference DVD and mentioned that there was no video on it. Well as it turns out, there is indeed video of the demonstrations. I must have watched a 1/2 dozen presentations both on the MSDN site and off the DVD and didn’t once see any video so I assumed this was true for the rest of the DVD as well. Today, I decided to check out some of the Avalon sessions I missed and what do you know… some fuzzy video of the actual coding! YAY. So there is some video after all (even though the quality is poor). I guess I’m just interested in boring topics, lol.
But the DVD is still a waste of money because it’s still the same content on the MSDN site as well (they have fuzzy video too).
So I guess I’ll get back on the short bus and go home now….
Well I got my PDC Conference DVD after nearly a 3 month wait (4-6 weeks was the estimate). I may be a little naive but I thought this was something to look forward to. Boy was I wrong. What a total waste of $200! Granted it wasn’t my $200 but a waste nonetheless. Basically the DVD contains everything you can get for free on MSDN. Where is the video!? Every session I sat in had a big professional looking video camera in the back presumably taping these sessions. I figured a 2 DVD set would contain at the very least the keynote videos, but they conatin bupkis. The video from the sessions would be nice to have as well because you could actually see the demos as they are running them.
The one redeeming thing about having the DVD is that I can view the sessions offline on the train, which isn’t that big of a deal.
Live and learn.
Thanks Andrew for posting the links to Luca’s sample code from his PDC presentation. This is good stuff!
They have all of the presentations from the PDC online now at http://microsoft.sitestream.com/PDC2003/. They even have audio of the presentation so its pretty much like being there. (although they dont have the code samples in the slide decks).
good stuff.