Showing posts with label Blog. Show all posts
Showing posts with label Blog. Show all posts

Friday, January 28, 2011

Notes: Order of posts to complete – 29/1/2011

As I said before this is not my real blog just a place holder for the drafts for my real blog. Subscribers should note that the blog posts are being updated on the fly, so use a feed reader that can handle this (Google Reader will not mark the post differently for updated posts).

I am sure some of you are wondering why I don’t post some of the more complete posts and for those posts I simply would like to post them in a certain order. It’s like writing a story I can’t really post on FluentMigrator before I write about the SDE or ArcObjects (since extending FluentMigrator is all about using ArcObjects to deploy the SDE).

Since at this point in time I have 55 draft posts I decided to add categories to the posts:

  • Title Draft – only has a title and lots of TODOs
  • Draft – has some text but the text is rough
  • Beta – almost ready: spelling, ordering, checking the grammar…
  • Post In Wait – waiting for another post before posting

I have also decided to post the exceptions/error solving posts without waiting for background posts (if they are ready). Since they are mostly posts I am not going to edit.

I have decided to write here the order of the Notes’ drafts I am going to work on:

  1. Introduction – posted
  2. Writing Posts – posted
  3. Windows Live Writer: Tag Providers – posted
  4. How to open a Blog – posted
  5. Hello Note – Not to be posted
  6. How to open a Blog, part 2 – posted
  7. Windows Live Writer: Tag providers, Part 2 – need to go over all the tag providers and need to get a response from some of them so it might take some time, Technorati is still giving me hard times.
  8. Writing code in a Blog Post – posted
  9. This Developer’s Tool Set – posted
  10. Switching Comment System: IntenseDebate – posted
  11. To Resharper or not to Resharper - posted
  12. How to fix the blog’s look? – posted
  13. Fixing Error 2104: Unhandled Error in Silverlight Application (IIS7) – posted
  14. To be a Developer (again) - Beta
  15. Offline Blog Writing Applications - Draft
  16. The Library example – Haven’t decided on posting this or not might change it to sheep and shepherds…
  17. Unit Tests – Introduction – Draft: code, finish the post
  18. Unit Tests: What to Test?  - Draft: code, go over all the cases, add my Resharper template, the image is low quality
  19. Unit Test Code Coverage – Title Draft: even the TODOs are rough…
  20. To Rhino or not to Rhino? – Draft: code, font, the explanations are too short
  21. Tracking down a simple bug - Draft: code, font, draw the examples
  22. Geographic Coordinates Systems - posted
  23. Starting with ArcObjects - Beta: images in old style, code, font
  24. Geographic Database: ESRI File Formats – Beta: the table color is bad ***
  25. File GeoDatabase: Getting the Workspace – Draft: might need to split to 2 posts
  26. TODO: Extending ArcObjects
  27. Multithreading with ArcObjects – Draft: font, code, TODOs
  28. Mocking ESRI (testing wise) – Title Draft: even the TODOs are rough… Though the title is just right!
  29. TODO: SQL
  30. TODO: SQL Server
  31. Database Queries Trick 1: Query XML - posted
  32. Selecting Distinct Rows – Beta: check if the query can be copied from VS
  33. SQL Server 2008–Freeing File system space – Draft: need to finish the post
  34. SQL Server 2008–Forget a user/password – Beta: remove the unused del tags, change the ending a bit ***
  35. ArcSDE–Connection to the Geodatabase – Draft: write how to get the service number, images in old style, remove del tags
  36. TODO: ArcSDE: Different DB types
  37. SDE – A look at the layer table structure – Draft: images, font, write about deleting features and triggers
  38. Reading SDE queries – Draft: images, font, weird characters, SQL, del tags, grammer
  39. Deleting SDE left over tables – Draft: images, font, SQL, rewrite query
  40. IWorkspace - Communication link failure – Draft:Code need to be fixed,  find a solution
  41. TODO: WorkspaceProvider
  42. TODO: WorkspaceUtils
  43. Working with CAD files in ArcObjects – Draft: code, links, font
  44. Upgrading the code base from ArcGIS 9.3.1 to 10 – Beta: images, code, del tags
  45. ArcSDE–Adding domains from code – Beta: refactor the code
  46. FluentMigrator: Introduction – Beta: order, TODOs ***
  47. FluentMigrator: Understanding the Framework Code – Draft: TODOs
  48. FluentMigrator: Extending the Framework – Draft: not finished
  49. ArcSDE/SQL Server Tables–What is Sde’s and what is Regular – Beta: SQL query, del tags, post after FM
  50. Stuck Database – the JOY! – Beta: font, images, maybe add a conclusion, post after intro to FM
  51. Linq2Sql: Changing the Database Schema at Runtime (without XMLs) – Draft: still waiting for a solution

I have some more posts to which I haven’t decided the order:

  1. Python – Introduction – Draft: just not written well
  2. Silverlight ESRI App - IIS is dead–Error 5011 – Draft: TODOs, wrong date, del tags
  3. Calling ArcGIS Server service model - Beta: font, images, del tags ***
  4. .NET Framework NGEN service stopped: What’s that? - posted
  5. VS2010: “The project type is not supported by this... – Beta: cut the post (won’t continue to work on it), images, font ***
  6. Configuring Silverlight Applications – Beta: missing code of the aspx, using code should be from VS **
  7. Clearing ArcGIS Server REST API Cache – Beta: font, images, del tags ***
  8. ArcGIS Server layer problem (DB is down) – Beta: font, images, post clearing cache first, del tags ***
  9. Restart ArcGIS Server service – Beta: font, images, del tags ***
  10. Simplify and the ArcEngine license – Draft: code, font, images, name should be different
  11. ESRI License error – Draft: code, font, images, name should be different
  12. Rename Polyline layer – Beta: code, font
  13. Address Locator Style: Introduction – Draft: finish a working style before posting this
  14. Address Locator Style: Customizing Guide – Draft: finish a working style before posting this
  15. Address Locator Style: Testing – Draft: finish a working style before posting this
  16. IntelliTrace: – Draft: still rough
  17. TODO: Using DotTrace
  18. Writing a Windows Live Writer Plugin – Draft: didn’t write one…, images, del tags, ice tags
  19. Coded UI testing for Silverlight application – Draft: really rough, font, images

I think that’s enough for now…

Monday, January 17, 2011

Switching Comment System: IntenseDebate

This post was moved to my real blog: Switching Comment System: IntenseDebate

Offline Blog Writing Applications

 

Not sure if it is a bug or not but I copied some text between my blog posts and found that WLW decided not to copy the image location but the temp location – but only for the <a> tags:

ImageLocation

I fixed that but still – WHY???

 

I found out about it by trying out:

Just looking at links I was shocked find (local) links:

Zoundry Raven Links Diagnostics

 

 

//TODO: Continue this post and try out of the different offline editors.

Resources:

 

Keywords: WLW, Windows live writer, Zoundry Raven, bug

Writing code in a Blog Post

This post was moved to my real blog: Writing code in a Blog Post

Saturday, January 15, 2011

Notes: Order of posts to complete – 14/1/2011

As I said before this is not my real blog just a place holder for the drafts for my real blog. Subscribers should note that the blog posts are being updated on the fly, so use a feed reader that can handle this.

I am sure some of you are wondering why I don’t post some of the more complete posts and for those posts I simply would like to post them in a certain order. It’s like writing a story I can’t really post on FluentMigrator before I write about the SDE or ArcObjects (since extending FluentMigrator is all about using ArcObjects to deploy the SDE).

I have decided to write here the order of the Notes’ drafts I am going to work on:

  1. Introduction – posted
  2. Writing Posts – posted
  3. Windows Live Writer: Tag Providers – posted
  4. How to open a Blog – posted
  5. Hello Note – Not to be posted
  6. How to open a Blog, part 2 – posted
  7. Windows Live Writer: Tag providers, Part 2 – need to go over all the tag providers and need to get a response from some of them so it might take some time
  8. Writing code in a Blog Post – need to post my new default “Paste as Visual Studio” settings
  9. This Developer’s Tool Set – need to complete that post, there are some more tools I didn’t write
  10. How to fix the blog’s look? – even though a simple settings fixed the problem I want others to learn from my struggle… Need to give some explanations for the post.
  11. To Resharper or not to Resharper
  12. The Library example – Haven’t decided on posting this or not might change it to sheep and shepherds…
  13. Unit Tests – Introduction
  14. Unit Tests: What to Test?
  15. Unit Test Code Coverage
  16. To Rhino or not to Rhino?
  17. Tracking down a simple bug
  18. Geographic Coordinates Systems
  19. Starting with ArcObjects
  20. TODO: Extending ArcObjects
  21. Multithreading with ArcObjects
  22. Mocking ESRI (testing wise)
  23. TODO: SQL
  24. TODO: SQL Server
  25. Selecting Distinct Rows
  26. SQL Server 2008–Freeing File system space
  27. SQL Server 2008–Forget a user/password
  28. ArcSDE–Connection to the Geodatabase
  29. TODO: ArcSDE: Different DB types
  30. ArcSDE/SQL Server Tables–What is Sde’s and what is Regular
  31. SDE – A look at the layer table structure
  32. Reading SDE queries
  33. Deleting SDE left over tables
  34. IWorkspace - Communication link failure
  35. TODO: WorkspaceProvider
  36. TODO: WorkspaceUtils
  37. Working with CAD files in ArcObjects
  38. Upgrading the code base from ArcGIS 9.3.1 to 10
  39. ArcSDE–Adding domains from code
  40. FluentMigrator: Introduction
  41. FluentMigrator: Understanding the Framework Code
  42. FluentMigrator: Extending the Framework
  43. Stuck Database – the JOY!

I have some more posts to which I haven’t decided the order:

  1. Python – Introduction
  2. Silverlight ESRI App - IIS is dead–Error 5011
  3. Calling ArcGIS Server service model
  4. .NET Framework NGEN service stopped: What’s that?
  5. VS2010: “The project type is not supported by this...
  6. Configuring Silverlight Applications
  7. ArcGIS Server layer problem (DB is down)
  8. Clearing ArcGIS Server REST API Cache
  9. Restart ArcGIS Server service
  10. Simplify and the ArcEngine license
  11. ESRI License error
  12. Rename Polyline layer

 

I think that’s enough for now…

Friday, January 14, 2011

How to open a Blog, part 2

The second post of How to open a Blog.

This post was moved to my real blog: How to open a Blog, part 2

Windows live writer: Tag providers, Part 2

Part 1

Well after I missed informed you about how the tag providers get your tags I decided to research it a bit more thoroughly. It seems that most tag providers use an index system of web crawlers that might use the tag links as reference to your site.

Let start with IceRocket:

On the bottom right of the site there is a place to submit your blog:

icerocket-place-to-submit-your-blog

On the page opened click on “Ping Blog” (I quit in the middle it just took too long…):

IceRocket-Ping-Blog-page

IceRocket crawls over sites having tags in the format of:

<a href="http://blogs.icerocket.com/tag/[tag_name]" rel="tag">[tag_name]</a>

Tags from Windows Live Writer are in the standard.

The tracker uses a ping back system but since I have seen my blog there I am pretty sure Blogger already implements this. But just in case I have done something extra and registered to the IceRocket Tracker (see How to open a Blog, part 2).

technorati

technorati-main-page

Go to the Technorati site and Sign In. Enter your profile by clicking on your name on the top right corner.

On the bottom enter your blog as “My claimed blogs”:

technorati-My-claimed-blogs

Enter your site information, in site tags I just entered the categories from my Notes blog.

You will receive an email telling you your claim was registered.

Later checking the status will tell you to post a new post with a token so just post it with the title Testing and click on validate.

This is after check of the token passed:

technorati-claim-status-page

You can now delete the Testing post.

//TODO: Write what happens next…

del.icio.us

delicious-main-page-banner

Uses bookmarks to discover your blog. You can subscribe to it and start bookmarking your blog or add a delicious button encouraging your users to save a bookmark of your blog.

 

I am sorry but all the other Tag providers are just not relevant to me:

  • LiveJournal – seems to want you to write your stories into it
  • Flickr – wants you to post your photos to their site and I am not going to go over all my blog photos and do that.
  • Others – just not technological…

 

Resources:

IceRocket

technorati

del.icio.us

add a delicious button

Keywords: Blog, windows live writer, Tag Provider, IceRocket, technorati, delicious, bookmark, claim

Tuesday, January 11, 2011

How to fix the blog’s look?

This post was moved to my real blog: How to fix the blog’s look?

Writing a Windows Live Writer Plugin

Well Windows live writer is great but…

1. I really want to be able to see where the <p> tag are placed, since it’s doing some damage to my blog.

2. I really want to add tags more easily

So, I found this post on the web. But once I opened VS I quickly found out that the example was for a previous version or that it didn’t go into the details I required. So I Googled some more and found projects on CodePlex implementing plugins for Windows Live Writer.

I thought to start with the tags project and even gave it the good name of “DllShepherdDotNet.WindowsLiveWriter.TagAdderDeluxe”. I thought it’s going to be easy since I found a project named Windows Live Writer Auto Tag Generator but looking at the source code made me realize fairly quickly that it doesn’t create tags only create a list of tags in the user’s clipboard. A red flag went up in my mind - why didn’t the creators of the plugin add a tag automatically? And the answer to that after looking in the API for WLW - there are no references to Tags anywhere in the API (actually I found one reference in here, with the line: “Ask for confirmation if the Tags/Keywords field is empty.” and I couldn’t find a Tags field!).

I was still not entirely convinced it’s a lost cause, so I tried copy paste the html of the tag - it worked:

<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:ad4b3bac-273e-4b93-af2a-ec81181d364b" class="wlWriterEditableSmartContent">del.icio.us Tags: <a href="http://del.icio.us/popular/Windows+live+writer" rel="tag">Windows live writer</a>,<a href="http://del.icio.us/popular/blog" rel="tag">blog</a>,<a href="http://del.icio.us/popular/plugin" rel="tag">plugin</a>,<a href="http://del.icio.us/popular/add-on" rel="tag">add-on</a>,<a href="http://del.icio.us/popular/tag" rel="tag">tag</a>,<a href="http://del.icio.us/popular/paragraph" rel="tag">paragraph</a></div>

The blue bold 0767317B-992E-4b12-91E0-4F059A8CECA8 seems to be the id for tags. Whereas the bold red ad4b3bac-273e-4b93-af2a-ec81181d364b seems to be the id of the tag. So I tried to change the id to something random – it seemed to work until I tried editing it through the Tag dialog, then this happened:

image

I tried restarting WLM the pop up still popped. I tried moving the draft to someplace else and still it popped. At the end a restart solved the problem.

The error report contained the following files:

dwstacktrace.txt

System.NullReferenceException: Object reference not set to an instance of an object.

at WindowsLive.Writer.Mshtml.MshtmlEditor.AddEditDesigner()

at WindowsLive.Writer.Mshtml.MshtmlEditor.ReadyStateChangedHandler(Object sender, EventArgs ea)

 

dwlog.txt

00000 09:18:39:46 PM User is opted out of CEIP

00001 09:18:39:48 PM Starting Windows Live Writer 14.0.8117.416

00002 09:18:39:48 PM .NET version: 2.0.50727.3615

00003 09:18:39:56 PM No legacy directory to monitor for plugins. Ignoring legacy directory.

00004 09:18:40:07 PM 499 499

00005 09:18:41:29 PM Fail Unexpected Error Occurred

Exception Details:

An unexpected error has occurred within the application.

System.NullReferenceException: Object reference not set to an instance of an object.

at WindowsLive.Writer.Mshtml.MshtmlEditor.AddEditDesigner()

at WindowsLive.Writer.Mshtml.MshtmlEditor.ReadyStateChangedHandler(Object sender, EventArgs ea)

//TODO: check out this 

 

After all that, lets work on some paragraphs plugin…

 

 

//TODO: replace WLM with Windows Live Writer

//TODO: copy XML from VS

 

Resources:

MSDN: Windows Live SDK

Writing a simple Windows Live Writer plugin

 

Keywords: Windows live writer, blog, plugin, add-on, tag, paragraph, error, problem, object reference, NullReferenceException,