November 2004 - Posts
Microsoft Notebook: Top exec shares business lessons
- It's often better to cannibalize your own business than to give someone else an opportunity to do it.
- In some situations, your biggest competition is yourself.
- One of the best ways to compete is to bet big on a "paradigm shift."
- When you dominate a market and you're looking for ways to grow, adjust your thinking to enlarge the potential market you're pursuing.
- Keep your mind open to unexpected opportunity.
I really like the last two.
Over the weekend I realized that my notebook became quite slow and was always reading something on the HD, even without any memory pressure. When I was to some music, starting an application was really corrupting the sound. So after some I realized that my Primary IDE controller went from DMA back to the old PIO mode. To solve this issue I reinstalled the the primary IDE port using the Device Manager, and after two reboots it went back to DMA and a acceptable speed.
You might find more information about that issue here: IDE ATA and ATAPI disks use PIO mode after multiple time-out or CRC errors occur.
Looking to the cause in the KnowledgeBase: "After the Windows IDE/ATAPI Port driver (Atapi.sys) receives a cumulative total of six time-out or cyclical redundancy check (CRC) errors, the driver reduces the communications speed (the transfer mode) from the highest Direct Memory Access (DMA) mode to lower DMA modes in steps. If the driver continues to receive time-out or CRC errors, the driver eventually reduces the transfer mode to the slowest mode (PIO mode)." makes me thing that I need to take care about my HD, so I made a backup.
This input will help a lot a project we are. It exposes a VB6 COM DLL wrapped with a C++ COM as a Web service using the SOAP Toolkit 3.0. And it is always a pain to debug with all running. On the client side we have Java code, so Eclipse, Visual Studio .NET 2003 and Visual Basic 6.
Debugging VB6 binaries in Visual Studio .NET
Ever wanted to copy paste some code from Visual Studio .NET 2003 to your blog tool (e.g. Sauce Reader) and keep the colorization ?
Here is the solution, CopySourceAsHtml, an awesome plugin from Colin Coller. The cool point is that if "VS.NET can highlight it, CSAH can copy it, and your code should look the same in your browser as it does in your editor". I was a bit disappointed not finding the context menu in the editor for other source then C# but you might add a keyboard shortcups as described on this page.
Even better, Colin provides the source. I guess I will soon integrate his colorization way to Tech Head Brothers Word 2003 publishing tool.
Here a sample output of a C# code:
39 #region GuiBuilder
42 private bool setupCommandBar()
44 ThisApplication.CustomizationContext = ThisDocument;
46 // Add a button to the command bar.
48 oCommandBar = ThisApplication.CommandBars.Add("Tech Head Brothers", oMissing, oMissing, true);
50 AddButton(ref oCommandBar,
51 ref oButtonNew,
52 new _CommandBarButtonEvents_ClickEventHandler(oButtonNew_Click),
53 "New Document",
1 <?xml version="1.0" encoding="ISO-8859-1" ?>
2 <xsl:stylesheet xmlns:thb="http://www.techheadbrothers.com/WordFormat30.xsd" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="3.0">
3 <xsl:output method="html" version="4.0" encoding="iso-8859-1" indent="yes" />
5 <xsl:param name="readcounter" />
Is that not true for sport journalist ? Canal+ showed this evening the football match Paris SG - Olympique de Marseille, and the journalists were really NOT impartial. That really piss me off, because I am paying an abo to get this private channel and when I see such attitude... It is even worse when you know that Canal+ invested money in Paris SG. A shame.
"Today, you can download a tool that you can use to describe the concepts in a problem domain as the basis for a modeling tool or graphical designer. It is itself a graphical tool built on top of our designer platform and it is completely integrated into Visual Studio. For example, if you need a business process modeling tool, this editor allows you to describe the concepts specific to the way you like to model your business processes."
It is basically a graphical designer hosted in Visual Studio 2005 for designing and editing the concepts (or metamodel) of visual domain specific languages.
There is also an interesting : "Walkthrough of the Microsoft Tools for Domain Specific Languages" showing the use of the object model for a user interaction process (UIP) chart language. UIP chart defines pages and transitions between them as part of the design of a Web site, a wizard, or a form-based application. Figure 1 is an example of a UIP chart for a fictitious online shopping Web site. You might find more information on this page about the User Interface Process (UIP) Application Block - Version 2.0.
Read more about it on MSDN, on the Domain Specific Language (DSL) Tools page.
Download the tool, on Microsoft® Tools for Domain Specific Languages Technology Preview October 2004 Release page.
Check out the trailer, here
. I can't wait till May 2005...
If you are using log4net like me then I am sure you will like this idea. I combined it with ReSharper.
A log4net tip
private static readonly ILog log = LogManager.GetLogger(typeof(MyClass));
I'm writing more than once some days. Nothing difficult here, but I can save a reference to MyClass by using reflection (tip provided by Nicko Cadell) :
#region Logging Definition
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
Comfortable when combined with quickcode or added to a "create new class" wizard.
Now that I have my publishing tool
working I just got the news that as a Microsoft MVP
I can register to get a free X.509 certificate. Excellent timing :-) !!!
I planed to generate one, but with such an offer...
More Posts Next page »