Posts

Showing posts from 2013

Google Reader is closing. Any good alternatives?

Since Google will be closed in June (or July) do not remember exact date I became a little sad since I was using that during last years as a primary source for news reading, and probably that was the most visited site by me hhmmmm, may be more than email or facebook.

So after sad news I have started to search for something new where I can customize my RSS feed and filter information I need and like to read and avoid all the crap from the Internet. After some time my search ended with two sites.
1. http://www.ofeed.com
2. http://www.news360.com

Probably 2nd one looks cool, but it has limited options for RSS feed and tries to offer me a lot of stupid staff which I really do not need.
The first one is almost a clone of Google reader and honestly I was happy to find that! At the moment have some issues but hope will become better much better and will have longer life than Google Reader.

Also recently found an app on my surface for news reading, but hell, really I do not need your offers a…

How dangerous can be “public const” while upgrading or fixing a component.

Image
During my investigation I have noticed a source of potential problem for product upgrade where dev team should fix a bug or upgrade a component and distribute it. So what will happen when during fix/upgrade process (I will call it upgrade) a value which was declared as public const was changed. For clear understanding we should see how build process is done. Actually during build process all variables which consume const will be hardcoded. It is not a problem when it is references from the same project, component will be rebuilt anyway. But what if it is referenced from another dll? The value will remain hardcoded and will contain old value. Tools.dll MyConstants.cs
public const int DEFAULT_PORT = 80;
Service.dll Host.cs
StartService(DEFAULT_PORT);
So after upgrade of Tools.dll and change of the DEFAULT_PORT to 8080, Service.dll still will try to start service on 80 port! That is easy to test, just build a solution, copy components to another folder, change const value, rebuild and co…

SharePoint 2013. How to force whole list or library to be re-crawled by search

Image
It is a new feature which was presented in SharePoint 2013 which allows to force search service to re-crawl whole list or library regardless if items where changed or not. Items will be picked up by full crawl any way but if will be marked for re-crawl they will be crawled also during incremental crawl. This feature is very useful when new managed property is configured or site column is modified so as a result search schema needs to be updated and list owner who initially has not access to central admin to fire full crawl which will be very expensive step for large deployment and will affect a lot of content. So this cool feature can be found in list (I will not mention library anymore) settings under Advanced Settings link.

Scroll a little Advanced Settings page and pay attention to Search block where you can enable the list to appear in search results. This option should be enabled otherwise Reindex Document feature will not have any sense.

Only then you can press Reindex Document…

Valid HTML markup automation, leads to better cross browser compatibility

In short: Having bad HTML to look nice needs more efforts than creating valid HTML which will look nice and  be compatible.

It took some time for me to investigate how to force development process to increase the quality of HTML markup and minimize cross browser compatibility issues in web UI development.

HTML validation process always left by developer for the last point and has lowest priority. It is almost not done during development process and only when page or probably in many cases whole web site is ready for production.

Compatibility and accessibility testing is another duty of testers but looks like they are in general more busy with other things and markup left as is with low priority and extremely high number of errors and warnings in production code. So looks like it is rendered, then no one cares.

For manual testing there are some tools available for devs and tests but I think that W3C's online validator is out of competition. Just open http://validator.w3.org/ online…