Tuesday, January 31, 2012

2 Days with Google Android at Vizu

In the firs two days of this week (3rd week of Internship) I worked with Google android mobile application development, in order to develop a camera app at Vizu. Developing Google android apps is interesting. I will work in this project for several days.

Friday, January 27, 2012

End of 2nd Week at Vizu

Today it is the last day of the 2nd week at Vizu. This week was Different from the 1st Week. At the begining of the week I completed the Vizu Vender tasks which I was assigned to.
I participated to a presentation on How the Internet Works by Mr. Prasad Peeris - CEO at Vizu.
Also I worked on integrating Google talk to a Google Site in Vizu .
In Forth and the Fifth day of the week, I Studied Microsoft Silverlight. That study was carried out as I was asked to do in order to do the next project I will be assigned.

Tuesday, January 24, 2012

Integrate Google Talk to your Webpage

Google talk Gadget එකක් Webpage එකකට Integrate කරන්න පුළුවන් සරළම ආකාරය මෙය වේ.

1. ඔබේ webpage එකට <iframe> එකක් add කර ගන්න


<iframe src="https://talkgadget.google.com/talkgadget/popout "></iframe>


2. iframe එකේ width සහ height ඔබට අවශ්‍ය පරිදි ලබා දෙන්න



<iframe width="400" frameborder="0" src=" https://talkgadget.google.com/talkgadget/popout " height="320"></iframe>




3. Iframe එකේ URL ( src )ලෙස පහත Link වලින් එකක් දෙන්න



https://talkgadget.google.com/talkgadget/popout

https://talkgadget.google.com/talkgadget/client




යම්කිසි ගැටළුවක් ඇති වේ නම් පහත Code එක Copy කර Paste කරන්න



<iframe width="400" frameborder="0" src="http://talkgadget.google.com/talkgadget/client?fid=gtalk0&relay=http%3A%2F%2Fwww.google.com%2Fig%2Fifpc_relay" height="320"></iframe><center><a href="http://ruwanview.blogspot.com/2012/01/integrate-google-talk-to-your-webpage.html"><b> Integrate GTalk </b></a></center>



4. ඉන්පසු ඔබේ Webpage එකේ පහත ආකාරයට Google talk දැක ගත හැකි වනු ඇත


5. මෙය HTML edit කිරීමට ඉඩ ලබා දෙන ඕනෑම Blog හෝ Webpage එකකට Add කරගත හැකිය.
  • උදාහරණ
    • Google sites
    • Blogs
      • blospot
      • wordpress
    • your own websites.
6. ඔබට මෙම Gadget එක පිළිබඳ වැඩි විස්තර අවශ්‍ය නම් පහත Link එකට ගොස් ලබා ගන්න.



Google talk Integrate කිරීමට තවත් බොහොමයක් Gadget ඇත. නමුත් ඒවා ඇතැම් අවස්ථා වලදී එකතු කිරීම අපහසු විය හැකිය.

වෙනත් Google Talk  Gadget සඳහා පහත Links භාවිතා කරන්න.




ඔබට <iframe> ගැන ගැටළු ඇත්නම් පහත Link එකෙන් ගොස් වැඩි විස්තර ලබා ගන්න.


Monday, January 23, 2012

2nd Week started at Vizu

Today I started the second week at Vizu. Today I finished the Vizu Vendor project tasks which I was assigned to. I was assigned to another project today. It is xml printshop project, which is having the technologies php, sql , flash and action scripts.

Friday, January 20, 2012

Presentation at Vizu

Today we had presentations on what we did in our first week at Vizu as interns. After continuous coding on projects it was really a difference in the way we do normally. It is also a good opportunity for us to improve our soft skills too. 

Thursday, January 19, 2012

Asp.Net at Vizu

Full day coding in Asp.net, Ajax etc at Vizu. MS SQL Server as database. Modification in a module of a Vizu project with Thushara under the supervision of Rukshan Navarathne.

Compiler සහ Interpreter

Interpreter යනු Programming Language එකක් Implement කිරීමට ඇති තවත් ක්‍රමයකි.  Compiler එකක මෙන්ම Interpreter එකකදීද, Lexical Analyzing,  Parsing හාType-Checking ඇත. නමුත් Syntax tree එකෙන් Code generation කිරීමක් Interpreter එකකදී සිදු නොකෙරේ. ඒ වෙනුවට Expressions Evaluate කිරීමට සහ Statement Execute කිරීමට Syntax tree එක process කිරීම Interpreter එකකදී සිදු කෙරේ. 
Interpreter එකකට, Syntax tree එකේ එකම කොටස නැවත නැවත process කිරීමට අවශ්‍යය. එම නිසා   සාමාන්‍යයෙන් Interpret කිරීම Compile කළ Program එකක් Execute කිරීමට වඩා slow වේ.
Interpreter එකක් ලිවීම Compiler එකක් ලිවීමට වඩා පහසු වන අතර Interpreter එකක් වෙනත් machine එකකට මාරු කිරීම පහසු වේ. එම නිසා speed එක ප්‍රශ්නයක් නොවන තාක් කල් Interpreters භාවිතා කෙරේ.
Compilation සහ Interpretation එකට සම්බන්ධ කිරීමෙන්ද Programming Languages සාදනු ලැබේ. එහිදී Compiler  එක මගින් Intermediate-Level code එකක් Generate කරනු ලැබේ. ඉන්පසු එය Interpreter එක මගින් Machine Language එකට Interpret කරනු ලැබේ. එනම් සම්පූර්ණයෙන් Machine Language එකට Compile නොකර Intermediate Level Code එකක් සාදා එය Run time එකේදී Machine Language එකට Interpret කරයි
Execution එක start කිරීමට පෙර Interpreter එකකට ඇති වැඩ ප්‍රමාණය අඩුය. එම නිසා program එකක් ඉක්මනින් Run  වීමට පටන් ගනී. එමෙන්ම Interpreter එකක් Source Code එකට ආසන්න Representation එකක ක්‍රියාත්මක වේ. එම නිසා Error Messages විස්තරාත්මකව පෙන්වීමේ හැකියාවද ලැබේ.



Wednesday, January 18, 2012

Photography + work at Vizu

Today we had a photography session in order to take photos for a intranet website at Vizu. It was a very nice experience we had as interns at Vizu. We took photos of staff members, surrounding and internal items in Vizu.
Also we had a small visualization exercise held by Mr. Prasad Peeris - CEO, Vizu (pvt) Ltd.

Also Thushara and me started working on vizu vender project module. We will be doing it for several days.

Tuesday, January 17, 2012

Compiler හඳුනා ගනිමු.

Computers වල ඇති Complexity එක නිසා සාපේක්ෂව සරළ Commands භාවිතා කළ හැකි පරිදි Computers designing and building කරනු ලැබේ.Computer Program එකක් එම සරළ Commands එකතු කර සාදනු ලැබේ. මෙම Computer Programs execute කිරීමට සරළ Commands --> machine language එකට පරිවර්තනය කළ යුතුය. ඒ සඳහා Compilers භාවිතා කෙරේ.

Phases of a Compiler.

Lexical Analysis : Program text එක tokens වලට බෙදනු ලැබේ. eg: variable name, keyword

Syntax Analysis : Lexical Analysis වලින් ලැබෙන tokens මේ සඳහා input ලෙස භාවිතා වේ. මෙම tokens වලින් tree structure (syntax tree)bඑකක් සාදයි. මෙම ක්‍රියාවලිය parsing ලෙස හදුන්වයි.

Type Checking : Syntax tree එක Analyse කරනු ලැබේ. මෙහිදී consistency requirements කඩ වී ඇතිදැයි පරීක්ෂා කරනු ලැබේ. eg: variable එකක් නොසාදා use කිරීම.

Intermediate Code Generation : Program එක machine independent අතරමැදි language එකකට පරිවර්තනය කරනු ලැබේ.

Register Allocation : Intermediate code එකෙහි භාවිතා කර ඇති සෑම symbolic variable name එකක්ම target machine code එකෙහි ඇති register එකකට අනුරූප number එකකට පරිවර්තනය කරනු ලැබේ.

Machine Code Generation : Intermediate language එක machine එක සඳහා specific Assembly language  (Textual representation of machine code) එකට පරිවර්තනය කරනු ලැබේ.

Assembly and Linking : Assembly language code එක binary representation එකට පරිවර්තනය කරනු ලැබේ. මෙහිදී variables සහ functions වල addresses තීරණය කිරීමද සිදුවේ.

පළමු phases තුන "front end" of the compiler ලෙස හැදින්වේ. අවසාන phases තුන "backend" ලෙස හැදින්වේ. Assembly and linking කොටස සාමාන්‍යයෙන් OS vendor programs  කරනු ලැබේ. එම නිසා compiler එකක් තුළ මෙම phase එක නොමැත.

Its going on...

Today I worked with a Version Control System to Create Project Repositories for some projects in Vizu. Today I had some free time to self studies also because I had to wait until project files were uploaded. Therefore I started learning about compilers.

පෙරපාසල්-මට තවම මතකය

දෙගුරුන්ගෙන් මුල් අකුරු ඉගෙනගත් කාලයෙන් පසු පෙරපාසල් යාමට කාලය එළඹ තිබුණි. මා මුලින්ම පෙරපාසලට බාර දුන් දිනය මට තවමත් මතකය. එදින අම්මා මාව පෙර පාසලේ තබා ආපසු යන්නට යන විට හඬමින් ඉන්නට බෑ කියූ හැටි තවමත් මතකය. අපේ පෙර පාසල තිබුනේ අපේ නිවසේ සිට කිලෝමීටරයකට අඩු දුරකිනි. එදින ගුරුතුමියට හොරෙන් පෙර පාසලෙන් පැන පාර දිගේ ගෙදර යන්නට ආ හැටිත් එය ආරංචි වී මාව රැගෙන යාමට අම්මා පැමිණි සැටිත් මට තවම මතකය. පෙරපාසලේ ගුරුතුමිය සහ යහලුවන් බොහොමයක් තවමත් මතකය.

බෑ බෑ අම්මෙ මට ඉන්නට බෑ අම්මේ
අකුරු කරන්නට බැහැ අම්මා නැතුව
යන්නට එපා අම්මේ මා මෙහි තියලා
ගියොත් එමි මමත් ආපසු ගෙදර බලා


Monday, January 16, 2012

SVN Repositories

SVN Repositories නැතහොත්   Subversion යනු ආරක්ෂිත, එමෙන්ම files සහ source code කාලයත් සමග manage කිරීමට යොදාගන්නා online Version Control System වේ. මේවා project management tools ලෙස භාවිතා වේ. Repository එකක් සාමාන්‍ය file server එකක් මෙන් file store කිරීමට සහ transfer කිරීමට යොදාගන්නා අතර web එක හරහා access කරනු ලැබේ. නමුත් ප්‍රධාන වෙනස වන්නේ Subversion Repository එකක් files සහ directories වලට කරනු ලබන වෙනස්කම් මතකයේ තබා ගැනීමයි. මේ නිසා පැරණි versions recover කර ගැනීමට සහ අධීක්ෂණය කිරීමට යොදා ගත හැකිය. TortoiseSVN යනු එවැනි එක්  version controle system එකකි.

TortoiseSVN Setup කිරීම (Windows සඳහා).

පළමුව online repository space එක ලබා ගත යුතුය. මේ සඳහා පහත link එකෙන් ගොස් Signup වීමෙන් නොමිලයේ space එකක් ලබා ගත හැකිය. Signup වූ පසු Repositories --> new Repositories යන්නෙන් new Repository එකක්ද සාදා ගත යුතුය.


ඉන් පසුව TortoiseSVN setup එක download කර install කළ යුතුය. එය පහත link එකෙන් download කළ හැකිය.


install කළ පසු desktop මත හෝ folder එකක් මත right click කළ විට අලුත් controls දෙකක් ඇති බව දැක ගත හැකිය.

ඉන් පසුව tortoisesvn, unfuddle account එක සඳහා configure කිරීමට ඉහත කී controls දෙකෙන් SVN Checkout යන්න තොරන්න.

එවිට ලැබෙන checkout window එකට, URL of Repository යන්නට සාදාගෙන ඇති unfuddle new Repository එකේ path එක ලබා දෙන්න. Checkout Directory යන්නට, local machine එකේ project files save කිරීමට අදහස් කරන folder එකේ path එක ලබා දෙන්න. මෙහිදී සාදන ලද unfuddle account එකේ username and password ලබා දීමටද සිදු වේ.

Document එකක් SVN සමග link කිරීමට, Right Click on the Document --> TortoiseSVN --> Add

මේ ආකාරයට Document or Folder/Directory මත click කර Update, Commit වැනි අනෙකුත් කාර්යයන් කර ගත හැකිය.

A good tutorial for SVN Repository for further understanding and usage.

First Day at Vizu

I have visited Vizu about 3 times before I started the internship officially today. First time for the interview. The second one was just a visit to get to know the people. And another day we went to Vizu for some works. Vizu staff warmly welcome us to the Vizu family. Vizu has a very friendly working environment for the Vizu members.


Today we had several introductory sessions about the organization- Vizu (pvt) Ltd, Commercial aspects, Business value, Business ethics, Office ethics etc conducted by Mr. Prasad Peeris, CEO, Vizu (pvt) Ltd. He is the only director of the Vizu and he has the total ownership of the Vizu.

Vizu basically provides Visualization Services to the Srilankan community with the support of Information Technology tools. Vizu has been started in 2008. Vizu is different from other organizations in the Information Technology Industry because of its aesthetic value of products.

Along with the introductory sessions I was assigned to do some works in the first day. It was to setup a SVN repository using "tortoisesvn". Also we were asked to familiar with the project management tool Manymoon.

Vizu (pvt) Ltd.