momo

Stories kicked by friends of momo

Debugging 101 - Measure, do your homework and think out of the box(tellingmachine.com)

submitted by KlausKlaus(755) 3 years, 10 months ago

Being confronted with an occasional bug in a complex system can be quite overwhelming. There are three disciplines that help you to stay strong: 1) Read and learn about your platform and how to debug it. 2) Use tools to quickly get the low hanging fruit. This might be enough in most of the cases to identify the bug. 3) Think out of the box and try to be creative. Build a model, play with it, break it and fix it. In the worst case, you won't have found the cause of the bug, but you learned at least something new about your software. read more...

add a comment |category: |Views: 11

tags: another

How to rename batches of files using .NET Regular Expressions(tellingmachine.com)

submitted by KlausKlaus(755) 3 years, 11 months ago

The tool that I am presenting here renames batches of files that have some kind of numerical index as part of their file name. It can rename the text before the index, it can shift the index numbers, give the files a new extension and add or remove leading zeros to and from the numerical index part of the file name. It uses Regular Extensions to parse the file names. read more...

add a comment |category: |Views: 28

tags: another

Rendering ASP.NET UTC time as local time of the browser's time zone(tellingmachine.com)

submitted by KlausKlaus(755) 4 years ago

It is a common practice to store time as UTC on the server and render it as local time based on the time zone the browser is running in. This blog post describes one simple approach to solving this problem. read more...

add a comment |category: |Views: 330

tags: another

How does IPv6 impact web debugging with VS200(58)?(tellingmachine.com)

submitted by KlausKlaus(755) 4 years, 1 month ago

IPv6 might break the connection between IE 7 to the local instance of the Visual Studio development web server "webdev.webserver.exe". read more...

add a comment |category: |Views: 0

tags: another

Over-clocking BlogEngine.NET(tellingmachine.com)

submitted by KlausKlaus(755) 4 years, 1 month ago

Getting the time stamps and time zones right is straight forward. There are many options. Making it transparent to the user is an interesting challenge. It will require some plumbing changes in the core on top of a BlogEngine extension. read more...

add a comment |category: |Views: 2

tags: another

BlogEngine.NET Outline Extension(tellingmachine.com)

submitted by KlausKlaus(755) 4 years, 2 months ago

This post introduces a BlogEngine 1.3 extension that automatically generates a Table Of Contents based on h1-h6 heading tags that are found in the body of posts and pages. The TOC is going to be rendered as either a <ul> or <ol> html list of anchors (links) to the corresponding heading tags. If the post or page is being saved for the first time then the TOC will be placed where the tag [ t o c a u t o g e n ] is located. Updating the post will look for <div id="tocautogen"></div> html construct and it replace it with the updated version of the TOC. The html that renders the TOC uses the xoxo class id pattern that specifies the Microformats XOXO Outline. read more...

add a comment |category: |Views: 10

tags: another

TOC TOC! - Who is There? - XOXO(tellingmachine.com)

submitted by KlausKlaus(755) 4 years, 2 months ago

This post introduces a BlogEngine 1.3 extension that automatically generates a Table Of Contents based on h1-h6 heading tags that are found in the body of posts and pages. The TOC is going to be rendered as either a <ul> or <ol> html list of anchors (links) to the corresponding heading tags. read more...

add a comment |category: |Views: 2

tags: another

One-Stop-Shop for BlogEngine 1.3 Extensions(tellingmachine.com)

submitted by KlausKlaus(755) 4 years, 3 months ago

I just finished upgrading my blog to BlogEngine version 1.3. While in the process of porting it to the new release, I spent some time experimenting with the extensions and the new BlogEngine 1.3 Extension Manager. I tried to keep track of most of the extensions that get posted on CodePlex and I thought I write a blog post that lists all the extensions that I found and demonstrates them in this post, if applicable. This way BlogEngine fans that don't keep track of all the traffic on CodePlex would get be able to quickly check the availability of a specific add-on for BlogEngine. read more...

3 comments |category: |Views: 9

tags: another

LogParser launches COM in a Single Threaded Apartment(tellingmachine.com)

submitted by KlausKlaus(755) 4 years, 5 months ago

When you are developing an application with third party components and you need to come up with an appropriate way to handle concurrency, then It might be time for some debugging. This article describes how to reverse engineer a component that calls CoInitializeEx. This knowledge can be used to decide whether to use a windows message pump or a BackGroundWorker component to keep a .NET Windows Forms application responsive to user input. read more...

add a comment |category: |Views: 10

tags: another

Reflecting over ArchestrA Object Attributes(tellingmachine.com)

submitted by KlausKlaus(755) 4 years, 5 months ago

This article is about a utility to export ArchestrA Object Attribute Properties. This C# console application is used to reflect over the Meta data of ArchestrA Object primitives. It is also an example of command line argument parsing and accessing the registry. read more...

1 comment |category: |Views: 34

tags: another

Answers to a few VS 2008 Trial Edition, TFS 2008, and SourceSafe Quest(weblogs.asp.net)

submitted by KlausKlaus(755) 4 years, 5 months ago

Below are some answers to a couple of questions about the recent VS 2008 release that I've seen the last few days: read more...

1 comment |category: |Views: 5

tags: another

LINQ to SQL (Part 8 - Executing Custom SQL Expressions) (weblogs.asp.net)

submitted by KlausKlaus(755) 4 years, 6 months ago

Over the last few weeks I've been writing a series of blog posts that cover LINQ to SQL. LINQ to SQL is a built-in O/RM (object relational mapper) that ships in the .NET Framework 3.5 release, and which enables you to model relational databases using .NET classes. You can use LINQ expressions to query the database with them, as well as update/insert/delete data. read more...

add a comment |category: |Views: 29

tags: another

LINQ to SQL (Part 7 - Updating our Database using Stored Procedures)(weblogs.asp.net)

submitted by KlausKlaus(755) 4 years, 6 months ago

Over the last few weeks I've been writing a series of blog posts that cover LINQ to SQL. LINQ to SQL is a built-in O/RM (object relational mapper) that ships in the .NET Framework 3.5 release, and which enables you to model relational databases using .NET classes. You can use LINQ expressions to query the database with them, as well as update/insert/delete data. read more...

1 comment |category: |Views: 22

tags: another

ASP.NET Rich Text Editor Control(blogs.msdn.com)

submitted by jamesewelchjamesewelch(2275) 4 years, 6 months ago

Kannan Sundararajan, Microsoft, has written a Rich Text Editor control using ASP.NET and JavaScript and shared it under the MS-PL license on CodePlex. It has a very rich feature set and Kannan hopes to enhance it further in the future. Features: * Clipboard support: You can copy and paste content from other programs like Microsoft Word, Internet Explorer, Visual Studio into the RichTextEditor and it will persist the formatting. If you copy code from Visual Studio it will preserve the code coloring scheme. * Context sensitive Toolbar: The ToolBar buttons will reflect the properties of that content automatically when you select it or navigate through it using the mouse or keyboard . * Code Block: It allows you to format text as code blocks. Simple select the text and format it by clicking the "Code Block" ToolBar button. * Emoticons: You can express yourself better by adding emoticons to your rich text. * HtmlView: If you would like to have more control over the look and feel of your text then you can edit it in HtmlView as well. * Text in multiple languages: The control currently supports several languages. * Browser support: The control works well in two of the most widely used browsers Internet Explorer and Firefox. read more...

9 comments |category: |Views: 2007

tags: another

How to change the tooltip of a 3rd party composite .NET control like t(tellingmachine.com)

submitted by KlausKlaus(755) 4 years, 6 months ago

This article describes how to change the ToolTip of constituent .NET controls that are part of a third party composite control. read more...

add a comment |category: |Views: 7

tags: another

How to create a web site icon with Photoshop(tellingmachine.com)

submitted by KlausKlaus(755) 4 years, 6 months ago

If you never used Photoshop, but you need to create a favicon for your web site. This might be the article that gets you started quickly. read more...

1 comment |category: |Views: 7

tags: another