Saturday, January 15, 2011

Musings

Lily "why he had to be an architect?".
Ted "because I have to be an architect".
Lily "Listen to what the world is telling you to do, and take the leap."
From: How i met your mother (Season 4 Episode 24)
http://melvin-updateofalifetime.blogspot.com/2009/08/listen-to-what-world-is-telling-you-to.html

Tuesday, December 14, 2010

Silverlight Features

AutoComplete Box
Jeff Wilcox – Introducing the AutoCompleteBox
http://www.jeff.wilcox.name/2008/10/introducing-autocompletebox/

Resize with Browser
Silverlight Tip : How to Scale your entire App and its Elements to your Browsers Size http://blogs.silverlight.net/blogs/msnow/archive/2008/08/26/silverlight-tip-of-the-day-33-how-to-scale-your-entire-app-and-its-elements-to-your-browsers-size.aspx
Improve your user experience using the AutoCompleteBox - Jonas Follesø's
http://jonas.follesoe.no/2008/10/28/improve-your-user-experience-using-the-autocompletebox/
On browser window size change/Full screen change
http://forums.silverlight.net/forums/p/137122/306300.aspx
Getting Silverlight Plugin to resize on resize of Browser Window
http://forums.silverlight.net/forums/p/4331/13007.aspx

Managed Extensibility Framework and Silverlight MVVM
http://visualstudiomagazine.com/articles/2011/01/01/using-mef-to-expose-interfaces-in-your-silverlight-mvvm-apps.aspx

Thursday, December 02, 2010

Silverlight Applications

http://grapholite.com/
online flow charting solution.
http://www.telerik.com/products/facedeck.aspx
Silverlight Facebook Client for Desktop
iMeta Agility
http://agility.imeta.co.uk/Cloud/
Silverlight Eyes - SliBall
http://www.pay4foss.org/jumpstation/sliball/
DeepZoom
http://www.wssdemo.com/livepivot/
http://www.mumbaiindians.com/DeepZoom.aspx
http://thejit.org/demos/
http://roomseeker.eu/content/pivot.htm

Monday, November 22, 2010

Vista

How to disable/stop Vista’s Search Indexing (Windows Search)
http://4sysops.com/archives/how-to-disable-vista%E2%80%99s-desktop-search-indexing-windows-search/
  1. Navigate to Control Panel/System and Maintenance/Indexing Options. There you can remove all locations or only those you use rarely.
  2. It is also possible to disable indexing for a certain drive or enable it only for selected folders. You can do this by changing the Properties of a drive or folder (right click on drive letter in Windows Explorer).
  3. The fasted way is to simply disable the Windows Search service. Run Services (just type “Services” at the Start Search bar), right click on the Windows Search service and select “Properties”. Then choose “Disabled” for the start type. Afterwards, you have to stop this service by right clicking on it and selecting “Stop”.

Start - Control Panel - Indexing Options
Modify - Show All Locations
Change the folders that are indexed
Under Advanced, you select file types and reset the index

 
 
 

Tuesday, October 26, 2010

Handling DataGrid.SelectedItems in an MVVM-friendly manner

Handling DataGrid.SelectedItems in an MVVM-friendly manner: "

An interesting question from one of the MVVM Light users today:

Is there an MVVM-friendly way to get a DataGrid’s SelectedItems into the ViewModel?

The issue there is as old as the DataGrid (that’s not very old but still): SelectedItem (singular) is a DependencyProperty and can be databound to a property in the ViewModel. SelectedItems (plural) is not a DependencyProperty.

Thankfully the answer is very simple: Use EventToCommand to call a Command in the ViewModel, and pass the SelectedItems collection as parameter. For example, if the command in the ViewModel is declared as follows:

public RelayCommand<IList> SelectionChangedCommand
{
get;
private set;
}
and (in the MainViewModel constructor):
SelectionChangedCommand = new RelayCommand<IList>(
items =>
{
if (items == null)
{
NumberOfItemsSelected = 0;
return;
}

NumberOfItemsSelected = items.Count;
});

Then the XAML markup becomes:

<sdk:DataGrid x:Name="MyDataGrid"
ItemsSource="{Binding Items}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="SelectionChanged">
<cmd:EventToCommand
Command="{Binding SelectionChangedCommand}"
CommandParameter="{Binding SelectedItems,
ElementName=MyDataGrid}" />
</i:EventTrigger>
</i:Interaction.Triggers>
</sdk:DataGrid>

I slapped a quick sample and published it here (VS2010, SL4 but the concept works in SL3 and WPF too).


Cheers!


Laurent



"

Monday, October 25, 2010

WCF

WCF : BasicHttpBinding compared to WSHttpBinding at SOAP packet level. ***
http://geekswithblogs.net/claeyskurt/archive/2008/04/22/121508.aspx
Winterdom » Blog Archive » WCF Configuration Complexity **
http://winterdom.com/2007/02/wcfconfigurationcomplexity
WCF Binding: BasicHttpBinding vs WsHttpBinding - Fabian's Blog **
http://www.apexa.net/Blog/web_design_Blog_20080911.aspx
Configuring Message Logging – MSDN **
http://msdn.microsoft.com/en-us/library/ms731859.aspx

Stephen Covey’s Five Metastasizing cancers


Watch out for an organizational culture that produces any of these five:
1.    Criticizing
2.    Complaining
3.    Comparing
4.    Competing
5.    Contending

The above culture shows a victim mentality. Instead, strive to uphold the following values in your organization:
1.    Gratitude
2.    Forgiveness
3.    Abundance

Websites

Interview
You need to identify this type of applicant quickly & the quickest way is the short coding interview. You don't even have to have them come into the office.
Get a private site right here where you can watch your job candidate write code over the internet in real-time.
http://i.seemikecode.com/
 
Task management - Online
http://www.producteev.com/
 
Photo Gallery
http://tympanus.net/codrops/2010/06/27/beautiful-photo-stack-gallery-with-jquery-and-css3/
 
Simple Diagrams
A small desktop application that helps you express your ideas quickly and simply.
There's just enough functionality to describe a thought or capture a process.
It keeps the visual expression clear through the simple design of library items and backgrounds.  

http://www.simplediagrams.com/

 

We Used To Wait
http://www.thewildernessdowntown.com
An interactive short film for Arcade Fire's "We Used to Wait" track, utilizing Google's Chrome Browser, Google Maps and HTML5
http://www.thefwa.com/article/fwa-site-of-the-year-2010

Wednesday, October 13, 2010

The Debut Of Cheteshwar Pujara

2nd Test: India v Australia at Bangalore - Oct 9-13, 2010

India 2nd innings (target: 207 runs)

CA Pujara b Hauritz 72 (89)

What a knock, though. You wait five years for the call from selectors. You keep scoring runs.

You finally get that call. You wait for six hours to bat and you get a grubber, a shooter.

You then get promoted ahead of your idol Rahul Dravid in the second innings. And play a super knock. Sometimes, dreams do come true. Sometimes..

http://www.cricinfo.com/india-v-australia-2010/engine/current/match/464527.html

Tuesday, October 12, 2010

Silverlight Applications

Tech Tools

 
 
 

Design Patterns