What is WPF ? | Windows Pesentation Fundation




Windows pesentaion foundation is one of cool product of Micosoft Coparation.It has extended to UI design to new area

Before it took lot of time to create some user attractive user interface some time Visual Studio it self does not capable of creating animations,positioning controllers in different places or the coder \ Developer have to waster lot of effort to make such things. But today using WPF it is a simple thing

Before if developer need to integrate nice animating background to a form the developer have to design background form some other tool and use it but WPF allows developer to create vector background which is really awsm using few lines of coding

Apart from that it is possible to use WPF in following area

Graphical services
Media Services
Data binding
Layout
Templates
Imaging
Effects
Documents
Text
Annotations
Interoperability
Alternative input
Accessibility

My Hello Word Application of WPF

Actually I had no idea how to use WPF.Because of that I read few tutorials and decided to create a web radio listener which has one form and one web browser

Here is the screen shot of my little artifact


Code










I did not coded for any controller except loading event to maximize the windows form
used language C sharp



Posted on 12:51 AM by Viduruwan Suvinith and filed under | 0 Comments »

මැක් ඔය කියන තරම්ම හොදද ?

මම මේ විඩියෝ පටය දැක්කම ඊළග සැරේ මැක් ලැප්ටොප් එකක් ගන්නවා කියලා හිතා ගත්තා හැබැයි අවුලකට තියෙන්නේ Visual Studio and Dot.net Developing වලට කෙල වෙනවා. නමුත් ඉතින් අරක්ෂක අතින් සහ වැඩ කිඩ අතින් බැලුවම මැක් හොදයි වගේ

හුගක් ඔෆීස් වැඩවලට මැක් හොදයිලු අපේ බාලා සරුත් මැක් ගැන හොද කියුවා අනික වයිරස් වලටත් බය වෙන්න ඔනේ නැනේ.ගානනම් පොඩ්ඩක් විතර සැරයි. බලමු JOB එකක් කරන කාලකවත් එකක් අරන් දාන්න්



Posted on 4:54 AM by Viduruwan Suvinith and filed under | 0 Comments »

යුනිකොඩ් එසනින් පරිවර්තකය ජංගම දුරකතන සදහා

මේක මගේ පලවෙනි සින්හල බ්ලොග් එක මේක අවසාන වසරේ ව‍යපතිය ගැන අදහසක් හැබැයි මගේ නෙමේ එක ගැන මට කියුවේ බාලා සර් , එක සින්ග්ලිශ් පරිවර්තකයක් නිකම් " යුනිකොඩ් එසනින් පරිවර්තකය" වගේ එකක් හැබැයි එක ජන්ගම දුරකතන සදහා
අදහසනම් නරකම නැ හැබැයි ජන්ගම දුරකතනවලට අපේ යුනිකොඩ් එක දාන එක ප්‍රශනයක්

හැබැයි ඩයලොග් සහ සෙල්ටෙල් කට්ටිය මේක කලින් කරලා තිබ්බාලු.එක සාර්ථක උනේ නැත්තේ සින්හල කෙටි පනිවිඩයක් යවද්දී එක ලබන්නාටත් ඒ මෘදුකංගයත් ස්ථපිත කරල තියෙන්නට ඔනේ මගේ මෘදුකංගයට එක අවශ‍ය් වෙන්නේ නැ.

මෙකෙන් කරන්නේ පනිවිඩය පින්තුරයක් විදියට හරවලා යවන එකයි.හැබැයි පුතෝ ජංගම දුරකතනයකට මේ ඔක්කොම කරන්න හැකියාව තියෙනවද දන්නේ නැ.

මේ දවස්වල හර්ෂණ කියලා බ්ලොග් කරුවෙක්ගේන් උදව් ගන්නාවා මේක කරන්න පුලුවන්ද බැරිද කියලා
තව එයා දුන්න බ්ලොග් ටිකකුත් කියවනවා බලමු මොකද වෙන්නේ කියල
Posted on 7:56 PM by Viduruwan Suvinith and filed under | 0 Comments »

Web Based Ownership Assuring System for Images

Today Internet cause to lot of intellectual right violations. Especially this happen when posting a specific image to the internet any one can use that image and put there copy right terms. To avoid that most of people hard code copy right terms in photo which cause to reduce the quality of the image and it is possible to remove the copyright notice using image processing software and make similar to original photo. As a reason of that many people do not share their valuable photos with online users which might really important to society.
As a solution for that most of people use “ Steganography ” based tools to make the hidden watermark there. But to identify the water mark user should have use same tool. It is practically not possible to use those tools when user is not able to reach that software and any one can use same tool and duplicate the image. Because of that it is not useful in this matter.
Therefore it suggest to develop a system which allows to user to use web based solution that allows to user to register the image with system and put the owner ship assuring unique identity value into the image and when it required to validate it user can simply use the system and prove the ownership of the image. Apart from that user can embed the message that is only visible if entered correct unique identity key of the image.
The main research area of this project will be embed secret message in to images (Steganography).
Some advanced features like encryption algorithms that can be archived if time cab be arranged.
Since this is a web based solution, deciding and selecting efficient steganagraphy algorithms which allows to embed sufficient amount of data for different image formats will be a challenge.
Posted on 12:59 AM by Viduruwan Suvinith and filed under , | 0 Comments »

Identify and Tag multiple faces in photos

This artefact will identify different faces in a photo and tag them based on images in the data base. Although there are similar systems most of them are in developing steps and contain lot of error. During this project I will try to answer those problems as well.
Audients/Users
General computer users who want to automatically tag friends and relations of their photos
Main Challenges
Identify and separate particular objects form the background
Image Processing
Reduce Noise
Separation
Identify persons of the database and tag them
Implementation challenges
There are already similar systems (IPpthos , face.com,facetagger,Picasa)
Referred papers
Face detection and recognition using PCA
http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=818355

Face detection and recognition using hidden Markov models
http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=723445

Multi-view face detection and recognition under variable lighting using fuzzy logic
http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=4635753
Posted on 9:50 PM by Viduruwan Suvinith and filed under , | 0 Comments »

Web Based English to Sinhala Translator

The idea behind this project is provide web based solution for that. There are already built systems which do not give accurate results. It is objective of the system that provide a solution for that and increase accuracy of the system

Audients/Users
General computer users who want to convert Sinhala to English

Main Challenges
Identify grammar of the sentence and provide accurate solution
Identify and separate sentence, words and separating them
Implementation challenges
Sample data
There are already similar systems
Posted on 9:49 PM by Viduruwan Suvinith and filed under , | 0 Comments »

Face Recognition System for Mobile devices to help law enforcement of Sri Lanka

Currently Sri Lankan law enforcement officers are facing lot of difficulties to identify suspects because there are no ways to confirm that suspect is a wanted person or not. In those kind of situations the suspects have to go with officers to police station and check the “wanted person list “in police or police have to let the suspects to go. Because of that it is waste of valuable time of both citizens and officers. To avoid unnecessary waste of time and money, It is proposed to develop an solution that allows officers or other privileged person to take a photo of suspect using a mobile device (can use for mobile phone, PDA) and check it with the photos of centralized database (Since this is a prototype it is not necessary to have actual data) and decide the suspect is wanted person or not by examine result of the search.

Since there are no similar applications in Sri Lanka I think this project will be a good invest to the society and as well as to me because I think there will be more challengeable things that allow me learn and experience.
Posted on 9:48 PM by Viduruwan Suvinith and filed under , | 0 Comments »

Intelligent Computer power manager



Most of modern computer operating systems provide feature that make computer standby when there is a no interaction of user in given time. The OS detect presence of the user by detecting movement of the computer mouse and user interaction with the key board but sometimes users do not physically interact with the computer for a period but interact with the computer in other way

E.g. watching a movie in computer
Reading a long article in computer

But a computer cannot identify that user is there. The proposed artefact will identify the presence of the user by detecting movements of the user and keep computer in working mode that allow user to continue whatever user were doing.

In other way it detects the absence of the computer user and changes the computer mode to given stage which is efficient that default computer power saving feature. The following advantages can be achieve by using this artefact

1. Provide efficient way to save the power usage of computer by changing the state of computer which cause to lower usage of electricity

  • According to Grisebach (2003) a typical computer (including monitor) energy usage is 175 Watts. Although typical computer use small electricity when it is turn on. The most computers which are available today consume significant amount of electricity because of high-end hardware and software. When it takes individually it might be a small amount but considering large number of computer there will be a huge energy wastage.

  • This is a huge impact to environment crisis and unnecessary energy consumption cause to wastage of money which is very prohibitive to people in this economic crisis.
    Using this artefact allow user to minimize unnecessary energy consumption

2. It is allows to user to constraint on what was user were doing without having any disturbance
Posted on 9:45 PM by Viduruwan Suvinith and filed under , | 0 Comments »

MY FYP Ideas

Believe me or not finding a idea for a FYP was bad night Mair

I think , think and think then find a idea and present to the project manager and reject it because of the many reasons

It is true that there can be some things in the idea that might not applicable to project

But finding a idea it is a bad dream

Let see my new idea will get approval or not
Posted on 9:41 PM by Viduruwan Suvinith and filed under | 0 Comments »

Unlimited Freedom Makes you crazy !

This is a good lesson for "Kalu Suddo" those who live in western and worship them

And Those who tell the people of this Paradise are savages


This thing said eastern philosophers , long time ago when western was a savage land

-----------Simple Life Style Make Human , Human-------------

Posted on 8:13 AM by Viduruwan Suvinith and filed under | 1 Comments »

Merchandised Heritage of Sinhalese - Wesak


Coming Soon


 

Reference

http://www.foundinceylon.com/photos/aus092.jpg

http://www.sundayobserver.lk/2007/05/06/z_p13-Vesak.jpg

Posted on 8:52 AM by Viduruwan Suvinith and filed under | 0 Comments »

Love with Education?/!




"Love" it is the biggest problem in some ones young life. Most of people struggling to find the right love while they are doing their education. Actually it causes to mess-up not only their education but also their personal lives. This post about the my vision about the having love affairs while studies


There are some couples who started their relationship when they are in 13 years old which mean that time even do not have any idea about what is love and the responsibilities. Actually those incident happen because of less caring of the parents And some remote area they start to have physical relationships because of less understand of the sexuality.


In towns we can see lot of school age couples having chat in dark corners of the cinemas or some people less areas most of them cut their tuitions. Sri Lankan cultural does not allows having under age relationships because the cultural of Sri Lanka consist of pure Buddhism, Hinduism, Islam and Christianity.


The long term affection of underage physical relationships is really high to Sri Lankan society


1. Their can be a growth of social diseases

2. growth of single parents

3. growth of underage school leavers

4. Finally It can affect to total economic of the country


Even this will be a cultural bomb something happen in America in mid 80's.The main reason for these underage's relationships is allowing unwanted and harmful TV programmes for seen by young teenagers


How we can avoid this


  1. Give good knowledge about sexuality and love to younger children
  2. Parents should more alerted about the their children and there activities


And also In Sri Lanka cultural , Parents normally does not talk about the sex related issues in front of the their children because of that children get incorrect idea about the sex ,Actually Sri Lankans should have some deviations from the traditional parent – children relationship.


Posted on 8:38 AM by Viduruwan Suvinith and filed under | 0 Comments »

Why Should not we do A/L to be a Graduate



Image 1.0 Why Should not we do A/L to be a Graduate

I think this topic will be help for those who have a doubt in choosing what to do after finishing their O/L exam .Those days when I was doing O/L I did not have such a question because I did not have a alternative to be taken there for I contnued with my A/L. Today I’m following BSC degree in UK University which is recognized by Sri Lankan Government

Actually I did my O/L in year 2003 and I did A/L two times with hopes of selecting Sri Lankan State University which is only a dream. Totally I spent 4 years of My life to be select to Sri Lankan University actually the fault was mine I spent my A/L student life by doing lot of Extra circular activities and less time to Education

But After whole 4 year I realized I have less chance to select to Sri Lankan Government and I joined private institute which offer degree with excellent education. I joined with my A/L qualification but there were another option that is follow a foundation course which conduct that university and continue with degree then there will be total 4 years course and less than 10 million spending which equal to those 4 years I spent to my A/L. Today I’m 22 years old and still in 2nd level and 1 year yet to finish. I really sad about me because if I could join right after my O/L I will be doing a job now and I have extra few years to continue with my career.

But finally I would like to tell those experience and knowledge I gained from the my School time is unique comparing with those who did foundation course. But If you are not planning to join Sri Lankan government university the best option is follow a foundation course and finish your degree and continue with your future

Reference

Image 1 : http://www4.ncsu.edu/~kacollin/images/HeadInHands.jpg

Posted on 9:02 AM by Viduruwan Suvinith and filed under | 0 Comments »

Facebook and Student Life

Figure 1: Facebook Addict C ( 2009)

This is post about some my founding and understanding of affection of facebook® to students .I'm writing this after having little bit research about that.

As a student and Facebook® Users I have seen lot of students, using facebook on there studying time and free time on there personal Lap tops and Laboratory computers.Actually most of their free time spending on a in front of computers chatting with some one on facebook or surfing on the facebook.It is very rare to find some one working on there educational work except some special time periods.Even final year student also using this site.
It is okay to spend some time with friends on Internet but actually what is happening is day by day lot of students are addicted to facebook and spending plenty of time playing with facebook which day can use for other valuable work.
Actually in this case Net work administration should take some of responsible on it because they can limit the usage of this application and warn and advises to users to disadvantages of this addiction.Also university management should get some actions against this situation by supporting to get rid of this missus of facilities.

References
C , 2009,Confessions of a Facebook Addict , Marketing Supporting Inc [ Online] Accessed 29 th April 2009 ,url http://blogmsi.com/tag/christos-ellis/
Posted on 8:47 AM by Viduruwan Suvinith and filed under | 0 Comments »

A new Web site for University Students

I have include this idea for my application which I provided to APIIT "AREA 51 Team" selection
It is a web site which provide services to users and make profit by allowing 3rd parties to reach users that can be a advertisement or a private message

This application will facilitate to its primary stakeholders who are university students to share education materials, publish papers, make friends networks among users, search and apply for jobs, conduct surveys, rating and ranking user’s posts, messaging and having discussions as main features and allow educational institutions, job providers and other third parties to reach and provides services to students with some conditions.
And also this application will be able to work as a CMS (Content Management System) which allows further extends of the services and features of the application.

The details proposal will be attached later
Posted on 7:51 AM by Viduruwan Suvinith and filed under | 0 Comments »