Wednesday, April 6, 2011

Database conferences

ConferenceConf. DatesAbstract DeadlinePaper DeadlineNotificationLocation
SIGMOD 2012 20/05-25/0525/10/201101/11/201114/02/2012 Scottsdale, Arizona, USA
VLDB 201227/08-31/081st day per month1st day per monthMay 19, 2012
Istanbul, Turkey
ICDE 2012@Arlington, USApril 01-05, 2012July 12, 2011July 19, 2012Sep 27, 2012ICDE 2012
EDBT 2012@Berlin21/03-25/0329/09/2011Oct 6 2011-EDBT 2012
MDM 2012@London06/06-09/0929/11/2011 -- London
SSTD 2011@MinneapolisAug 24-26, 201118/02/2011 25/02/2011 Apr 29, 2011 -
DASFAA 201202-05/04/2012- 30/09/2011Pusan / South Korea
DEXA 2011 @ Toulouse, France29/08-02/09/2011 - - - DEXA 2011
SSDBM @ Portland, Oregon Jul 20-22, 2011 - January Mar 28, 2011
ICDM @ Vancouver, Canada Dec 11-14, 2011 - Jun 17, 2011 Sep 16, 2011 -

Saturday, April 2, 2011

Convert ArrayList to Array in Java. ArrayList to Array. Java Collection

A lot of time I have to convert ArrayList to Arrays in my Java program. Although this is a simple task, many people don’t know how to do this and end up in iterating the java.util.ArrayList to convert it into arrays. I saw such code in one of my friends work and I thought to share this so that people don’t end up writing easy thing in complicated way.


ArrayList class has a method called toArray() that we are using in our example to convert it into Arrays.


Following is simple code snippet that converts an array list of countries into string array.

List list = new ArrayList;
list.add("India");
list.add("Switzerland");
list.add("Italy");
list.add("France");
String [] countries = list.toArray(new String[0]);


So to convert ArrayList of any class into array use following code. Convert T into the class whose arrays you want to create.

List list = new ArrayList;
T [] countries = list.toArray(new T[list.size()]);


Convert Array to ArrayList


We just saw how to convert ArrayList in Java to Arrays. But how to do the reverse? Well, following is the small code snippet that converts an Array to ArrayList:


String[] countries = {"India", "Switzerland", "Italy", "France"};
List list = new ArrayList(Arrays.asList(countries));
System.out.println("ArrayList of Countries:" + list);

Friday, March 25, 2011

Microsoft Intune hits the street March 23

On 23 March, Microsoft announced the general availability of Windows Intune as well as the Windows Intune 30 day trial. Windows Intune simplifies how businesses manage and secure PCs using Windows cloud services and the Windows 7 operating system—so your computers and users can operate at peak performance from virtually anywhere.

If you have not already visited the Windows Intune Zone on the Springboard Series, you are encouraged to do so. As you start to the trial, please be aware of some key resources to help you make the most of your Windows Intune experience

For those who prefer videos, check out Windows Intune Quick Overview, Introducing Windows Intune Client Tools, Working with Windows Intune Groups and Windows Intune Remote Assistance in Action

Also make sure to join Microsoft Technical Fellow and host Mark Russinovich for the Windows Intune Technology Tune-up. This virtual roundtable event is your chance to ask a panel of IT professionals and Windows Intune experts your questions about cloud-based PC management.

Thursday, March 24, 2011

Outlook 2010: how to auto-archive (backup) emails

Emails are too important to lose. In the following scenarios, AutoArchiving can come in handy.
  1. Your given email account has limited capacity.
  2. You could not remember to archive (backup) your old emails regularly.
The steps to activate auto-archive are:
  1. Start your favourite outlook 2010
  2. Click on tab "Folder"
  3. Click "AutoArchive Settings" in the tool bar, and an "Inbox Properties" message box appears
  4. The default is "Do not archive", but we need to change it. Select the "Archive using default settings" or "Archive using these settings" to customize auto-archive.
  5. My suggestion is to create a backup personal data file (pst files) for archiving. pst files can be easily migrated to other outlook clients. For the tip to create new pst files, see my previous blog "Outlook 2010: how to create personal data file".

Outlook 2010: how to create personal data file

It is a bit tricky to create personal data file in outlook 2010.
Here are the steps:
  1. Start your favourite outlook 2010
  2. Click on "New items", and a drop-down list appears
  3. Hover to more items
  4. Click the nice 'outlook data file...' in another drop-down list
  5. Choose the location for your new data file and Save
That's it!

Monday, July 28, 2008

configure outlook and/or thunderbird for NUSNET email

Besides the user and password, two most important points for setting up IMAP account:
incoming server: imap.nus.edu.sg
outgoing server: smtp.nus.edu.sg