Archive for May, 2012

Il terremoto … e Silverlight

May 31, 2012

Il terremoto in Emilia di questi giorni, alcune scosse sono arrivate anche alle regioni vicine, Lombardia e Veneto (qui).

Ho sentito anche io le scosse di Martedi 29 Maggio.
Mi è tornato un mente un esempio in Silverlight ad opera di Andrea Boschin, presentato al Remix Italia 2010.

L’esempio torna d’attualità proprio in questi giorni: geo referenziazione delle scosse di terremoto su mappa.
Trovate tutte le info qui, prima voce “Silverlight: da zero alla prima applicazione”, qui la demo.

source #1: Slide e demo Remix 2010
source #2: Demo from Italy Remix 2010

Technorati tags: Silverlight,Terremoto
Advertisements

Preserve Windows Update files

May 27, 2012

Lately  I had to bring back to life an old Windows XP vm, and … tadaaa … tons of downloads from Windows Update. 🙂
Well, lots of files to be saved for next sleeping WinXP vm to restore.

This is directory where Windows stores Windows Update file:  %WINDIR%\SoftwareDistribution\Download\
🙂

source Windows XP: Save Downloaded Windows Update Files For Re-Use

Windows 7 (ATTENTION: not verified!): Update Windows 7 PC Offline By Downloading Windows Updates To Another Computer

This wasy you save bandwidth and, most important, time 😉

LINQ: List of Lists to flattern

May 21, 2012

Lots of code contains list of lists or dictionary of lists data objects.
Quite often we need to extract a flattern list of data.

The simplest linq staments is

var flatterList = from el in externalList
                  from il in el.innerList
                  select el.code, el.description, il.subcode, il.detailA;

For a complete list of samples, read Use LINQ’s SelectMany Method to “Flatten” Collections .

source: Use LINQ’s SelectMany Method to “Flatten” Collections

Technorati tags: LINQ

Windows Mobile 6: clear T9 dictionary

May 12, 2012

Almost 5 years on BlackJack are passed by, the it was time to clear T9 dictionary.
My T9 dictionary doesn’t list many words, but few mispelled words (ie “morning”) matching too often, so how to clear T9 dictionary ?
– go to \Windows
– find eT9Rudb.Rdb and eT9Cdb.Cdb files
– rename them
– reboot device (old school :D)

If you want, you may backup and restore correct words, read source Is it possible to save the added words to the T9?.

source #1: Is it possible to save the added words to the T9?

source #2: HTC: Add, Delete and Backup T9 words

Technorati tags: Samsung SGH-I600,Windows Mobile 6,T9

Saper(si) programmare …

May 11, 2012

Saper(si) programmare la giornata, le attività, cosa/quando farlo è molto importante … soprattutto per sapere cosa NON fare!
Un po come il concetto di importante vs urgente ! 😉

  • May 2012
    M T W T F S S
    « Apr   Jun »
     123456
    78910111213
    14151617181920
    21222324252627
    28293031  
  • .

    .Net Agile Antivirus Book C# Programming EntityFramework GTD Hyper-V LinQ MVVM Office Resharper SCRUM Security Sharepoint Silverlight SQLServer TFS ToDoList Unit Test VirtualBox Virtual PC Visual Studio VMware Windows7 WPF XeDotNet XML XPath