Sunday, December 09, 2007

Organizations Behaviour 09th dec 2007 class

it was a pleasure to start my BCS classes again after facing lot of personal problems for 2+ weeks. as usual i was late for my first class because the registration process took a little bit more time than i expected. todays classes were held by Dr.Dayan. even though i didnt knew him before it was a pleasure to have such a lecturer to cover the topic of Proffessional Issues in Information Systems Practice.

i have missed the first part of the syllabus which is named professional institutions. so i have to work hard and study for that part as these are all therotical it will be harder to understand these points if i dont study them now.

today the class started with the topic of ORGANIZATIONS. this was quite interesting to me as i've covered many of the topics in CIMA business law subject.

organizations can be defined as group of people working together to achieve a common goal. there are two main types of organizations,
  1. Commercial - (these type of organizations do business with a profit motivation, most of the time selling products and services)
  2. Non Commercial ( these are probably having a motivation of social and economical value. there are several types of examples available for this type of organizations)

in order to start new commercial organization in UK you have to follow the legislation of Companies Act 1985. and as in sri lanka you have to follow the New Companies Act 2007. but for non-commercial organizations in UK the approval process is still handled by queen as a tradition. but that Royal Charter State will not be given to non-commercial organizations if they dont prove their comitment beyond reasonable doubt to approving council (privy council).

under companies act of UK there are 3 types of companies that you can start.

  1. Sole Proprieter
  2. Partnerships
  3. Registered Companies

Sole Proprieter
there are not many formal documents and formal procedure in starting an sole proprieter business. but there is no seperate legal existance for this type of business, so the owner of the company is personally liable for all its liabilities.

Partnerships
Partnerships are those where couple of people start working in a group to achieve a common goal. the arrangement for this can be in written or verbal. the problem in partnerships is that all contracts should be signed by a all of the mebers in a partnership and every member is unlimitedly liable for that partnership. all most all of the commercial partnerships among people fail because sharing revenues always become a critical factor. but proffesional partnerships such as with lawyers and GPs are likely to be successful as there is no sharing of invesment or revenue in that. it is all about sharing their client base with members of that partnerships. the no of members for a partnership must be of 2-20 and when the ownership changes the law will treat it as a new partnership so all those important documents should be revised again. and every member in a partnership is having the management powers and the power to act as a agent of that partnership.

Registered Companies (limited liability)
with this type of organizations we can give a seperate legal existance for the comapany which we are starting. so in that case there will be no liability on companies owners and the management to the company it self. the maximum liability of a given shareholder for that paticular company is the money he/she have invested in that company. there are two types of companies which can be formed under registered companies.

  1. Private Limited Companies (PVT)
  2. Public Limited Companies (PLC)

Private Limited Companies
in this formation there have to be a minimum of 2 and maximum of 50 shareholders. and the ownership is decided by the no of equal shares they own. but there are some restrictions placed in private companies by its constitution.

  1. private companies cannot offer shares or debentures to public.
  2. when the ownership of shares change first it should get approved from the board of directors.
  3. maximum no of share holders cannot exceed 50.

Public Limited Companies
public limited companies dont have those three restrictions which were in private limited companies, but in a public limited company there should be a minimum of 7 shareholdes.

limit of a liablity of a shareholder towards company debts are controlled in three ways.

  1. limited by shares (shareholders liability is limited to the amount they have invested)
  2. limited by guarantee (members agree to pay a small equal amount in any case the company wound up)
  3. unlimited ( every share holder is personally liable for all company debts)

Wednesday, October 10, 2007

Poeplsenet V1.0 Released

At last we managed to get peoplesnet version 1 to be deployed in production server after doing 5 Quality Assuarance cycles. now we are awaiting the next theme from the client and once we re-theme it it will go live. :)

Features it contains include:
1. Profiles
2. Inviting Friends
3. Photo Galleries
4. Video Galleries
5. Blogs
6. RSS Feeds
7. Private Messaging
8. Address Book
9. Classifieds
10. Events
11. Forums
12. Jobs
13. Dynamic Networks
14. Content Sharing
15. Content view definable Public / Networks
16. Admin Controlled Advertisement system

Some Screen Shots:Home Page

Recent Video

My Network Graphic


Movable Task Window


Classified Listing

Thursday, August 09, 2007

How to estimate the cost of a web development project

for web development i think you should move with a fixed price for the time period. once you get the time estimation from the project manager make sure your developers / designers doesn't take more time than expected to finish a job. because this field is so competitive, you have to deliver projects on time to keep up in the business. and a good process should be defined to gather client requirements and the project spec, and you have to make sure not to adopt to any change requests from the customer till you finish the first release.

and at the same time you have to make sure that you have a sound Quality Assurance process to make sure that the deliverables are exact to the client requirements.

Thursday, June 14, 2007

filter.php

This is my newest solution on form submit data validation. it was developed in a "developer point of view" rather than "end user point of view". so if you don't have any idea about php development then you'll find it bit difficult to understand. but once you got to know the pattern u'll be loving it and of course you'll be using it to validate all your form submissions.

first we'll see what type of things do we have to validate as HTML form elements.
  • textfield
  • textarea
  • checkbox
  • radio button
  • radio group
  • List / Menu
  • file field
and with respect to all these fields what we should thoroughly take care of is not letting users submit any values containing <SCRIPT> tags, <STYLE> tags and any other undefined strings.

and one other cool feature of this script is that you can keep the default values of other elements even though one element fail to validate. and it may sounds like a very common and lazy task with javascript enabled pages but remember this snippet will validate and keep the default values nicely even without no javascript at all.

does that sounds interesting?

Monday, June 11, 2007

The Big Day Coming ahead on friday

ya it will be a big day for me becouse friday i have to conduct my first technical session to all my collegues at accura-tech. even though they have given me the title of software engineer im currently educating all other developers about new technologies.

so by friday evening i should prepare myself to conduct this technical session on user input validation. hopefully this will be the first in the row of web security which is one of my favourite topics.

i have already designed and checked the validation code which i will be using to demonstrate the impact.

i'll update this blog with a photo (if available) and the neccessary files once im done with this.

and i know that surely there will be lot of ideas coming in from our developers too. so i'll try to post it back to the blog.

--
Praveen Gunasekara

Wednesday, May 30, 2007

vote for drupal

Drupal has been selected as a finalist by the editors at CNet Webware in the first ever “Webware 100” Awards, from over 4,000 user-submitted nominations. Winners will be announced on Monday, June 18 and posted on Webware.com.

Voting is NOW OPEN, and will remain so until June 11. So please, vote for Drupal!

Vote for Drupal in the CNet Webware 100 Awards!

Monday, May 14, 2007

installing bluetooth manager on my debian laptop

i just wanted to install some kind of bluetooth connection manager in my laptop, coz i had some files to be transfered from my mobile to laptop. my laptop is a compaq presario m2000 and i'm using debian(my favourite OS) on it.

first i installed bluez-utils package.

apt-get install bluez-utils

then i conected the bluetooth dongle and ran hciconfig .

hci0: Type: USB
BD Address: 00:11:67:1D:ED:DC ACL MTU: 678:8 SCO MTU: 48:10
UP RUNNING PSCAN
RX bytes:4816991 acl:18400 sco:0 events:7524 errors:0
TX bytes:657600 acl:7361 sco:0 commands:71 errors:0


so with the previous result i knew that the dongle is recongnized and then i wanted to scan for new devices. then i turned on blutooth in my mobile phone(sony ericcson k750i).

then i executed hcitool scan and it gave me following result.

praveen-laptop:/home/praveen/Desktop/Downloads# hcitool scan
Scanning ...
00:18:13:4F:4A:61 Praveen K750i
00:03:7A:E0:9B:EE CHANDIKA
00:17:4B:D4:29:56 Chandika Nokia 6630


now it seems that i can connect into the phone. so i wanted to know
some more information about my mobile so i ran hcitool information 00:18:13:4F:4A:61 and gave me the following result.

Requesting information ...
BD Address: 00:18:13:4F:4A:61
Device Name: Praveen K750i
LMP Version: 1.2 (0x2) LMP Subversion: 0x41c
Manufacturer: Philips Semiconductors (37)
Features: 0xff 0xed 0x8d 0xf8 0x1a 0x08 0x00 0x00
<3-slot> <5-slot> ....


then i installed gnome-bluetooth debian package. so i selected tuxfamily.org to download it, so i had to update the sources.list which resides at /etc/apt/sources.list .

deb http://download.tuxfamily.org/osrdebian unstable gnome-bluetooth
deb-src http://download.tuxfamily.org/osrdebian unstable gnome-bluetooth


i added the following two lines. then i tried to update apt but it seems that you need a public key to access the newly added sources.

so then i ran

wget http://download.tuxfamily.org/osrdebian/61B8DB62.gpg -O- | sudo apt-key add -

to add the key to the apt trusted key list.

hard work is over it seems. then i ran apt-get install gnome-bluetooth in order to install gnome-bluetooth

when the install completed there was new button appearing under

applications ->accessories -> bluetooth file sharing.

when i clicked on it. the service got started and then i tried to send an image file to the laptop from my mobile and it worked.

wooow, at last.

but to send files from my laptop to mobile i still have to use the command gnome-obex-send which opens a new window asking to which device i want to send the file.

thats well done.

i'm catching up and living with linux.