Relax or Not?

 I have been working in XML filed for a long time, havn't worked with DTD and XSD. I haven't used Relax NG schema yet. 

I was asked by someone to take a look at Relax NG. It seems it is getting more popular (although not as popular as XSD). Here is a few high profile use case:

Relax NG is establishing a presence as a language for pivot schemas, that is, a canonical schema from which schemas in other formats are generated by automatic conversion. Examples:


Tridion 2013

 I attend Tridion User Group Day at Redwood Shores, CA. Apparentlly Tridion 2013 is going to be announced in Q1 of 2013. 

A list of interesting features with this new release:

  • Bundle: You can now put component or page into a bundle. All the items in the bundle will exit the workflow either success or fail as a whole. This concept is simliar to the database transactions. It is beneficial when you have dependency among your pages/component, and you dont' want some of them to succeed and others to fail. 
  • Notification Center: They took the concept from iOS where the notification center has actionable items. You can directly invoke action from notification. 
  • Undo: It has the ablity to Undo the publication (once level).
  • External Content Libraries (ECL): It is possible to write a connector to use other repositories. A Flicker connector is demoed that it can mount your Flicker account to Tridion. Theoritically, it is possible to write a connect for anything if it has the concept of "folers" and "files". 

Here is the agenda for those who are curious:

Cookie in Windows 8

There are many signficent changes in cookie handling in IE 10. One of them is that sites in different security zone manage their own cookie store. If you are having issues with cookies, read this story: 

If you have application which are using cookies set by IE, and it stops working in Windows 8. Check the zone setting of your website. Adding the cookie setting page to be "trusted sites" might make it work again!


Change from SQL Express to SQLServer

 When I changed my database from SQL Express to SQL Server, my regular .NET application stops working with this error:



Server Error in '/' Application.

Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Data.SqlClient.SqlException: Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

After some research, I found out that we need to prepate the regular SQL database for use with ASP.NET applications. 

The command aspnet_regsql.exe needs to be run. However, it can't find it if you just run from the normal command line. 

The trick is to use Visual Studio Command Line Prompt, which save you the time of searching for the right location of the file.



Tridion Practice

 Tridon Pracitce: A collection of Tridion resources.


Tridion Tutorials

A nice arctile on Tridion, will report my findings after some investigation.


Problems with SQL Server Express

 I run into some problems with SQL Server Express, this post saved my day.

new 49er's stadium

 We pass by the new 49er's stadium the other day. It looks impressive and seems almost ready, check it yourself.


I can't wait for it to be ready. It would be much easier to watch 49er's game then!

OCW, Udacity

 I have been following the MIT OCW movement for years, from the earlier days of Audio only to the current video courses, I have learnt so much over the years. 

Here is the list of the memebers if you are interested in learning. 

Rencently, I become intested in Udacity. The course there is very interactive, and hands on, with a lot of quiz in between. I found that I learnt much more if I am challenged acutally to do it, other than just passively learning. I though I understand everything until I start doing. Then I need to really think and go back to the lecture to get more details. 

The best course so far is CS373 Artifical Intelligence , which teachs you how to program a Google self driving car. The instructor did a masterful job of making such a complex problem so simple to understand and follow. At the same time, you know that you are only seeing the tip of the iceberg and want to know more. Superb job! 



dotCMS  just released a new version 2.2. 

The starter website is now based on Bootstrap which is good for mobile users. 

I checked their documentation and it seems like a good CMS, although the installation steps can be easier. 


A few things I like about this CMS:

  1. Good plugin framework
  2. Responsive html design (Bootstrap)
  3. RESTful XML/ATOM read/write
  4. Related content, filtering of related content
  5. WYSIWYG editor (TinyMCE)