Skip to main content

Tips for International Students after arriving in Canada

1.Register for Fall/Winter using U my.calgary account

2.Collect you ID card from University: collect your uCalgary Id from mac-wan centre.

3.Contact with your supervisor. You should take $10 with you to get the keys of your lab.

4.Buy Bus ticket book of 10 for $25. You will receive bus pass from September.

Opening a Bank account:
1.Open an account (checking/savings) with a Bank (BMO and TD will be good choice) . Make some initial deposit that you have brought with you. They will provide you a Debit card.

2.If you need a Master Card you can apply for that. If you are not a Permanent Resident of Canada most of the time they will only provide you secured credit card. Secured Credit Card means they will held some money as security and will give you a credit limit. For example they will held CAD 625 and provide you a credit limit of CAD 500. If you choose the SPC Master card specially for students you do not have to pay any annual fee for the service :-).

3.It is always a good idea to request them to setup your online account so that you can access your account via internet. It really helps in paying bills and transferring money between accounts.You can convert the USD to CAD in the bank if you like and can withdraw some cash in CAD.

Get you SIN

Apply for Canadian Government issued ID Card

Health Insurance


Popular posts from this blog

Creating dynamic email templates using C# and Office Outlook

It is quite common for many applications to send automated email notifications. Couple of months ago, I have worked on improving our old email template format to make it more user friendly . In this tutorial I will walk you though regarding how I took advantage of Microsoft Outlook to quickly generate custom email template and later using the html template for building an automated custom email application using C#. Steps: Creating Templates: Using the rich text editor support  in Outlook create a nicely formatted email. Use placeholder text for the values you like to change dynamically based on your task completion status. To keep this tutorial simple, I have created a  simple table with placeholder text inside the third bracket  [place holder text]. However, you can use anything supported by outlook editor. Figure: Email Template Getting HTML code: Send the created email to your own address. After that, open the sent email and right click to view source . It

Why using XOR might not be a good hash code implementation?

Using XOR for computing hash codes works great for most of the cases specially when order of computation does not matter. It also has the following benefits: XOR has the best bit shuffling properties of all bit-operations and provides better distributions of hash values. It is a quick single cycle operation in most computer  Order of computation does not matter. i.e. a^b = b^a However, if ordering of elements matter then it is often not a good choice. Example For simplicity consider you have a class with two string properties named Prop1 and Prop2  and your GetHashCode returns the xor of their hash code. It will work fine for most of the cases except cases where same values are assigned to different properties. It will generate same hash-code i.e. collision in that case as can be seen in the below example . However, using the modified approach as recommenced by Joshua Bloch's in Effective Java which uses prime multiplication and hash chaining provides more unif

SQL Performance improvement for User defined table types

Recently, I have dealt with an interesting performance issue with one of my SQL query and thought I will share the experience here. Context: We had a legacy stored procedure responsible for saving large amount of excel row data to our database tables. It was using   User Defined Table Types as one of the parameter to get a list of row data from excel. However, the stored procedure was taking very long time to save the large data set. Root Cause: After quite a bit of investigation using execution plan in SSMS, I was able to narrow down the performance issue to the following: Joining with User defined table type was taking >90 percent of the time A custom hash function which has been used multiple times as a join criteria was also quite expensive to compute. After doing additional research using stack overflow , I was able to figure out that the primary reason for the poor performance doing a  JOIN on Table Valued parameters is that : it does not keep statistics and a