Wednesday 28 November 2012

Phonegap Development Interview Questions and Answers for Mobile Developers

Phonegap Development Interview Questions and Answers for Mobile Developers

We have compiled a short list of phonegap development interview questions and answers for mobile developers. A phonegap mobile application developer must know the answers of these following questions of phonegap before going to phonegap interview.

1. What is PhoneGap and why should mobile developers consider using phonegap?

PhoneGap is a mobile application framework that allows developers to use HTML, JavaScript and CSS to create mobile apps that are present as first-class applications on the phone. That means the mobile apps have their own icons and operate similarly to native applications without a browser frame around them.

They are distributed via the application stores, such as the Android Market and the Apple App Store, and they have access to a set of native functions to further make them work like native apps.

Mobile developers use PhoneGap because it allows them to have a common codebase for all their application code. It doesn’t force developers to reinvent the wheel every time they move from platform to platform.

2. Are there downsides to using PhoneGap? or Limitations of Phonegap

You are subject to the limitations of the browser and the JavaScript engine that comes with your device. On Android 2.3, this isn’t too bad. Earlier versions of Android don’t support certain features, and many of them use older JavaScript interpreters, which can impact an application. Also, there are certain things that are better implemented in native code, like cryptography or 3-D graphics. Most apps don’t use features like this — they simply display information, which the web does well.

3. What’s the best way for PhoneGap developers to handle device-specific needs?

It depends on the feature set. Most mobile applications don’t need many device-specific features beyond the user interface, but there are numerous plugins that can help with this approach. The best approach is to decide what features you need and to use only those features. There are many applications that have permissions turned on that they don’t need. For example, a simple ebook doesn’t need access to your phone state, GPS or contacts.

4. What is a hybrid app?

A hybrid application is one that has features of both a web application and a native application. Certain features, such as Image Capture, NFC or Android OpenAccessory, may be implemented natively since there is currently no way to do this in JavaScript. But the application logic and the UI are implemented using web technologies to allow for a consistent and unique user experience across devices.

5. How phonegap simplifies mobile development?

Mobile development is a mess. Building applications for each device--iPhone, Android, Windows Mobile and more--requires different frameworks and languages. One day, the big players in mobile may decide to work together and unify third-party app development processes. Until then, PhoneGap will use standards-based web technologies to bridge web applications and mobile devices. Plus, because PhoneGap apps are standards compliant, they're future-proofed to work with browsers as they evolve.

PhoneGap is an open source implementation of open standards. That means developers and companies can use PhoneGap for mobile applications that are free, commercial, open source, or any combination of these.

Tuesday 27 November 2012

Simple Delphi Program to Show Usage of OnCloseQuery Event in Delphi XE2

Simple Delphi Program to Show Usage of OnCloseQuery Event in Delphi XE2

Usage of OnCloseQuery Event:

OnCloseQuery Event occurs when close is attempted.

Use OnCloseQuery to specify the conditions under which the form can close. An OnCloseQuery event handler returns a Boolean CanClose value that determines whether a form is allowed to close. Its default value is true.

You can use an OnCloseQuery event handler to ask users if they are sure they really want the form closed immediately. For example, you can use the handler to display a message box that prompts the user to save a file before closing the form.

The TCloseQueryEvent type points to the method that determines whether a form can be closed. The value of the CanClose parameter determines if the form can close or not.

Requirement: When I close my delphi form by pressing cross/cancel red button on the top right corner of the delphi form or by pressing ALT + F4, I should get a confirmation message 'Do you really want to close the application?' If I press YES, then my delphi form should get closed otherwise nothing happens.

Solution: I will make a small function say 'CloseApplication' on the OnCloseQuery event of my delphi form. I will use MessageDlg asking for the confirmation to close the delphi application. Here is the simple delphi program which does all.

procedure MyForm.CloseApplication(Sender: TObject; var CanClose: Boolean);
  buttonSelected : integer;
  buttonSelected := MessageDlg('Do you really want to close the application?',mtCustom, [mbYes,mbNo], 0);
  if buttonSelected = mrYES then
    CanClose := True;
    CanClose := False;

Monday 26 November 2012

How to find all the components and controls of a delphi form using ComponentCount method?

How to find all the components and controls of a delphi form using ComponentCount method?

Sometimes in delphi programming, we require to find all the components and controls of the delphi form at runtime and do something with their properties.

For example, we may require to enable or disable all the buttons of the delphi form at runtime. Traditionally, we can do this by setting the enabled property to false or true for each and every button component on the form one by one. But if we don't know the names of buttons beforehand, or the names of button is assigned at runtime, then how can we set the enabled property at design time? For this, we will need to find all the button components at runtime and assign the enabled property.

ComponentCount method is useful here. ComponentCount Method is used to count all the components present on your delphi form. We will use ComponentCount Method to find and disable all the buttons of the your delphi form at runtime. Here is the simple delphi program to illustrate the concept of ComponentCount Method.

procedure MyForm.DisableAllButtons;
  i : integer;
    for i := 0 to ComponentCount - 1 do
      if Components[i] is TButton then //Check whether the component is button or anything else
        MyForm(Components[i]).Enabled := False;
    on E : Exception do
      ShowMessage('Error occured in function DisableAllButtons: ' + E.Message);

Above procedure finds all the button components of the TMyForm delphi class and disables them in single line of code. No need to figure out all the buttons and then disable them one by one.

4 Top and Commonly Used Reporting Tools in Delphi XE2

4 Top and Commonly Used Reporting Tools in Delphi XE2

Here is the list of top reporting tools and report builders used in delphi programming language. These reporting tools help you in generating reports, formatting reports and then printing the reports. You can also have a preview of your report. A lot of delphi reporting components are available with these tools which you can use to make your delphi application.

Easily create complex reports that are linked directly into your Delphi EXE. Most of the tools from the list provide all the means for you to develop reports, including a report engine, report designer, previewer.

1. FastReport Reporting Tool

FastReport is an add-in component for giving your application the ability to generate reports quickly and efficiently. FastReport provides all the tools you need to develop reports, including a report engine, report designer, previewer, dialog designer, and Pascal-like macro interpreter. With FastReport you can develop reports that meet your cross-platform needs for Windows and Linux.

2. Rave Reports Reporting Tool

Rave Reports combine essential requirements with the easiest yet most powerful visual design environment available. The code based reporting system contains 19 components with over 500 methods, properties, and events and compiles into your application with no external files. Some of its features include word wrapped memos, full graphics, justification, precise page positioning, etc.

3. QuickReport Reporting Tool

QuickReport is a banded report generator written in 100% Delphi code. QuickReport integrates with Delphi and C++Builder almost to the extreme! You design your reports within the Delphi IDE, using the familiar form designer as a report designer. QuickReport is so easy to use, fast and powerful that Borland choose to use it as the standard reporting tool for both Delphi and C++Builder!

4. Virtual Print Engine Reporting Tool

VPE for Windows is a reporting tool for software developers. VPE allows the dynamic creation of documents for screen- and printer output by calling functions during the runtime of your delphi application. The free positioning of graphical objects (i.e. text, images, lines, etc.) by code offers unlimited layout options. Using VPE you can create both reports and lists as well as complete documents and forms.

Simple Delphi Program to show usage of FastReport Delphi Component - Reporting Tool and Report Builder in Delphi

Simple Delphi Program to show usage of FastReport Delphi Component - Reporting Tool and Report Builder in Delphi

FastReport is a delphi component used as a reporting tool and report builder in delphi. FastReport is the most commonly and frequently used reporting tool in delphi. Here is a simple delphi program which will show you how to use fastreport reporting tool in delphi. This simple delphi program will show you how to generate report and print that report in delphi using fastreport reporting tool and report builder.

procedure MyForm.HowToUseFastReport;
    frxReport1.PrepareReport(true); //Prepare the report
    frxReport1.ShowPreparedReport; //Show the prepared report.
    frxReport1.PrintOptions.ShowDialog := False; //Do not show print dialog
    frxReport1.PrintOptions.Printer := YourPrinterName; //Assign Printer Name
    frxReport1.SelectPrinter; //Select this printer
    frxReport1.PrintOptions.Copies := NoOfCopies; //Assign number of copies to be printed
    frxReport1.Print; //Finally print
    on E : Exception do
      ShowMessage('Error occured in function HowToUseFastReport: ' + E.Message);


First of all you have to prepare report and then afterwards show the prepared report using ShowPreparedReport. Now the report will be shown. When you close the report next lines of code will be executed. If you do not want to see the report and just want to print it automatically just commnet the following line:

frxReport1.ShowPreparedReport; //Show the prepared report.

Saturday 24 November 2012

Read Online Free eBooks, Textbooks, Novels and Plays (Comic, Science Fiction and Romance)

Read Online Free eBooks, Textbooks, Novels and Plays (Comic, Science Fiction and Romance)

Do you want to read free ebooks, textbooks, novels and plays online on various categories like comic, science fiction and romance? Here is the list of websites which will provide you whatever you want. You will find here online free romantic novels, science fiction stories, stories for kids, free online textbooks and plays. You will find free online extensive lecture notes. You will also get many online free literatures. Following websites are full of all kind of stuffs (literature, notes, textbooks, ebooks, science finction and romantic novles, comic stories, romantic plays etc.) in all the major languages spoken worldwide. There are more than one million free ebooks online in all the formats like Kindle, PDF, ePub, Daisy, DjVu and ASCII text. You can download online free ebooks as many as you want. A lot of free online sacred texts are also available. Lets have a look.


ReadPrint offers thousands of free books, including novels, poems, fiction, nonfiction, essays, and plays. They were voted one of Time magazine’s best 50 websites in 2010, and for good reason: the site is easy to navigate, and there are over 8000 books here to download for free. The front page offers several different ways to find books, but my personal favorite is browsing through the list of Top Authors; notable picks include Louisa May Alcott, Rudyard Kipling, and Jack London.


Check out the most popular titles, special collections, or browse through some covers to see what interests you. ManyBooks offers over 29,000 free ebooks in a wide range of categories, from Adventure to Young Readers. Browse through the most popular downloads, recommendations, and special collections.

3. The Literature Network

This site is organized alphabetically by author. Click on any author's name, and you'll see a biography, related links and articles, quizzes, and forums. Most of the literature here is free; some downloads require a small fee.

4. Free Computer Books

Every computer subject and programming language you can think of is represented here. Free books and textbooks, as well as extensive lecture notes, are available.


Librivox is a dream come true for audiobook lovers. All the books here are absolutely free, which is good news for those of us who have had to pony up ridiculously high fees for substandard audiobooks. Librivox has many volunteers that work to release quality recordings of classic books, all free for anyone to download. If you've been looking for a great place to find free audio books, Librivox is a good place to start.


Authorama features a nice selection of books written in HTML and XHTML, which basically means that they are in easily readable format. Most books here are featured in English, but there are quite a few German language texts as well. Books are organized alphabetically by the author’s last name. Authorama offers a good selection of free books from a variety of authors, both current and classic.

7. Project Gutenberg

Project Gutenberg is one of the largest sources for free books on the Web, with over 30,000 free downloadable ebooks available in a wide variety of formats. Project Gutenberg is the oldest (and quite possibly the largest) library on the Web, with literally hundreds of thousands books available for free download. The vast majority of books at Project Gutenberg are released in English, but there are other languages available. If you already know what you are looking for, search the database by author name, title, language, or subjects. You can also check out the top 100 list to see what other people have been downloading.

8. Scribd

Scribd offers a fascination collection of all kinds of reading materials: presentations, textbooks, popular reading, and much more, all organized by topic. Scribd is one of the Web’s largest sources of published content, with literally millions of documents published every month.

9. International Digital Children's Library

Browse through a wide selection of high quality children's literature here. Check out Simple Search to get a big picture of how this library is organized: by age, reading level, length of book, genres, and more.

10. Ebooks and Text Archives

From the Internet Archive; a library of fiction, popular books, children's books, historical texts and academic books.

11. World Public Library

Technically, the World Public Library is NOT free. But for a measly 8.95 a year, you can gain access to hundreds of thousands of books in over one hundred different languages. They also have over one hundred different special collections ranging from American Lit to Western Philosophy. Worth a look. They also have what they call a Give Away Page, which is over two hundred of their most popular titles, audio books, technical books,a and books made into movies. Give the freebies a try, and if you really like their service, then you can choose to become a member and get the whole collection.

12. Questia Public Library

Questia has long been a favorite choice of librarians and scholars for research help. They also offer a world-class library of free books filled with classics, rarities, and textbooks. More than 5000 books are available for download here, alphabetized both by title and by author.

13. Wikisource

Online library of user-submitted and maintained content. At the time of this writing, over 200,000 pieces of content are available to read.

14. Wikibooks

Wikibooks is an open collection of (mostly) textbooks. Subjects range from Computing to Languages to Science; you can see all that Wikibooks has to offer in Books by Subject. Be sure to check out the Featured Books section, which highlights books that the Wikibooks community at large believes to be “the best of what Wikibooks has to offer, and should inspire people to improve the quality of other books”.

15. Bibliomania

Bibliomania gives readers over 2000 free classics, including literature book notes, author bios, book summaries, and study guides. Books are presented in chapter format.

16. The Open Library

There are over one million books here, all free, all available in PDF, ePub, Daisy, DjVu and ASCII text. You can search for ebooks specifically by checking the "show only ebooks" box under the main search box. Once you've found an ebook, you will see that it will be available in a variety of formats.

17. Sacred Texts

Sacred Texts contains the Web’s largest collection of free books about religion, mythology, folklore and the esoteric in general.

18. Free eBooks

Free eBooks offers a wonderfully diverse variety of books, ranging from Advertising to Health to Web Design. Standard memberships (yes, you do have to register in order to download anything, but it only takes a minute) are free and allow members to access unlimited eBooks in HTML, but only five books every month in the PDF and TXT formats. A VIP membership here gives you unlimited access to any book you want, in any format.

19. Slideshare

Slideshare is an online forum where anyone can upload a digital presentation on any subject. Millions of people utilize SlideShare for research, sharing ideas, and learning about new technologies. SlideShare supports documents and PDF files, and all these are available for free download (after free registration).

20. The Online Books Page

Maintained by the University of Pennsylvania, this page lists over one MILLION free books free available for download in dozens of different formats.

Job Satisfaction and Motivation

Job Satisfaction and Motivation

If you’re overstressed and at risk for job burnout, you may feel that a major life overhaul is necessary for you to be able to enjoy your job and avoid burnout. Before making major changes, this article can help you to better enjoy your situation with a few minor adjustments, and give you food for thought on whether major changes may be necessary. The following suggestions can help you increase job satisfaction:

Be Clear About Job Requirements:

It’s nearly impossible to do a good enough job at your work if you don’t know what the requirements are. Unfortunately, sometimes it’s difficult to know all of the requirements at a job when those in charge are poor communicators. Some bosses and supervisors are vague with expectations, assign new tasks with little advance notice, request new tasks without providing training, and inadvertently set workers up to fail in other ways. While you can’t prevent things like this from happening altogether, you can gain a clearer view of what you need to do and help your situation quite a bit with assertive communication skills. Learn to speak up for yourself in a respectful way and you’ll improve your work life and your relationship, and decrease your risk for burnout.
Find Rewards and Recognition:

We all need to feel recognized and rewarded for what we do. If your job doesn’t have built-in opportunities for recognition, or if rewards are infrequent, you may need to add rewards and recognition to your own life. You may decide to take yourself to a movie, have a home spa experience, buy yourself something nice, or give yourself other small but nurturing rewards when you complete a project or complete another month of hard work. You can also team up with a supportive friend and agree to listen to each other’s successes and provide support to one another if you don’t get that support and recognition from your job. These things can nurture you emotionally and remind you of the importance of the work you do, especially if you work in a job or field where these rewards are sparse.
Maintain a Balanced Lifestyle:

Keeping balance in your lifestyle is important; if it’s all work and no play, you may find your ability to work beginning to wane. In order to maintain balance in your lifestyle, the first step is to take an overview of your current lifestyle and see which areas are out of balance. Do you have enough time for relationships, hobbies, sleep, self care, exercise, healthy eating, and other important features of a healthy lifestyle, in addition to your work responsibilities? If not, the next step is to look at your priorities and make some changes so that your lifestyle reflects them better.

Think Positive:
You can usually change your experience of your current circumstances by changing your attitude about them. Developing an optimistic point of view and changing negative self talk patterns can go a long way toward helping you see the glass half-full, as well as actually making you more productive and less stressed! Assess your current state of mind, and make some changes in yourself so that you see things in a more positive light, and you may just find you’re much happier where you are in life!

Know Yourself and Work With Your Personality:

Certain features of your personality make some jobs a better fit for you than others. If you’re in a job that’s not well-suited for your personality, you may be putting yourself under unnecessary stress every day you go to work. The following are some good questions to ask yourself:
Do you like to work toward deadlines, or do you like your tasks to come in a relatively steady stream?
Do you like to work as part of a team, or independently?
Do you like things to be structured and routine, or loose and variable?
Do you enjoy being a ‘big fish in a small pond’, or would you like to be a ‘small fish in a big pond’? (Meaning, would you like to be a small part of a large company or a large part of a small company, or something else?)
Do you believe in what you do, and is it important to you that you do?

These questions and others can give you a better picture of what kind of work would be best for you. If you find you’re not in the type of position that’s ideal for you, you can see if you can make additional changes in your job’s structure to make it fit better with your needs, or you might think of what jobs might be better suited for you and see if working toward a change in jobs is a good idea for you.

Friday 23 November 2012

Employee Engagement Strategies and Benefits

Employee Engagement Strategies and Benefits

Employee engagement is a buzz phrase these days and an often overlooked aspect of retention, perhaps because it is broader and more abstract than other metrics associated with retention such as compensation and benefits. Employee engagement, although measured quantitatively, is the emotional response, either positive or negative, that employees have towards their job. It goes beyond being satisfied with pay or with the cleanliness of the facility. It is more intangible than that. An engaged employee is happy to come to work, willing to help others, and enthusiastic about his or her job.

Employee engagement is a valuable asset but, as much as we all want engaged employees, engagement is something the employee has to offer: it cannot be ‘required’ as part of the employment agreement.

The following factors can be considered during the interview process to hire engaged employees:

1. Hire for a positive attitude and passion: Employees with positive mental attitude and passion for work will differentiate your company from your competition. These candidates stand out during the interview in many ways: they appear energized, excited and genuinely interested in their jobs.

2. Probe the candidate about negative experiences: While probing the hardships of the candidates, their reaction both verbally and through body language can be observed while they describe their difficult work experiences.

3. Interview for intelligence and a desire to learn: While interviewing, the focus should be on the applicant’s intelligence and their ability to learn new things. During the interview ask the candidate about the feedback they’ve received on “projects gone bad” and what actions they’ve taken as a result.

4. Identify candidate who fits your culture: It is not just what you know, but also how you fit in the culture that results in enhanced performance. Cultural fit involves distinct characteristics that can be difficult and often impossible to teach or develop. During the interview, it is not only critical to determine if the candidate possesses the right knowledge and technical skills to be a good fit for the job, but also if he possesses the right attitude, expectations and beliefs to be a good fit for your culture.
Benefits of Employee Engagement Strategies

Today organizations are trying to achieve more with less, move faster at the same time as improving quality and customer service without increasing costs. As they do this they realise that what makes the difference is not just strong brands, state-of-the-art technology, new products or new markets. Increasingly organisations realise that they also need to inspire their employees to go the extra mile and feel passionate about the future of their company. They need to motivate them to exert maximum effort, deploy maximum intelligence, and apply maximum creativity in their work for the benefit of the organisation as a whole. In a nutshell, many organisations now realise that engaged employees are a powerful source of competitive advantage.

An engaged employee is willing to put discretionary effort into their work in the form of time, brainpower and energy, above and beyond what is considered adequate. An engaged employee has a desire and commitment for always doing the best job. They grip any task with energy and enthusiasm. They bring fresh ideas, infuse their teams with their own engagement and are less likely to seek opportunities to work elsewhere. They believe in the purpose of their organisation and demonstrate that belief through their actions and attitudes.

An engaged workforce can help put a business ahead of its competitors. But despite this recognition, new evidence suggests that UK businesses could benefit by redoubling their focus on this aspect of organisational culture. According to the results of the Towers Perrin 2007 Global Workforce Survey only 14% of employees in the UK are fully engaged and this points to a major opportunity for UK PLC to unlock the competitive power of its workforce.

One key to unlocking the full potential of a workforce is to understand and address the organisational factors that drive employee engagement. According to the Global Workforce Survey the number one driver of engagement is a belief amongst employees that their leaders are sincerely interested in their well-being. The survey also reveals that employees are now increasingly concerned about the reputation of their employer. Indeed, an organisation’s reputation for social responsibility is the fifth most important driver of employee engagement.

Why Engaged Employees are More Valuable?

Organizations depend on their staff's ability to work together in an efficient, productive manner. This is particularly true in the hospitality industry, where service quality is such an important determinant of success. Your staff's ability to work together as effectively as a well-oiled machine can mean the difference between success and failure for your business.

In turn, your staff's ability to work well together is determined, to a large extent, by the attitude and outlook of each individual employee. Decades of research have shown that happy, involved, and emotionally invested employees are more likely to be positive assets to the team than are their alienated, disengaged counterparts.  Furthermore, employees who describe themselves as engaged and fulfilled are up to 75% less likely to report looking for a new position.

Effective Performance Appraisal Management Process, Phrases and Comments

Effective Performance Appraisal Management Process, Phrases and Comments

Like in the case of educational institutes where students are rated based on their academic performance – organisations also have standard rules for assessing employee-performance. Though the time pattern in mapping the performance level varies between the two, their objectives remain the same. They ultimately want to understand if the students/employees are on the right track and guide them in case they falter.

An organisation looks at three aspects while appraising its employees – quantity, quality and potential. Where on one it is easy to measure an employee’s growth potential and quality of work, it is challenging to measure the quantity or amount of work already done. This however, differs from function to function – For example: in a sales oriented job, where the sales team is expected to hit a specific monthly/annual revenue target, it is easy to measure the quantity of work (done or undone). On the contrary, in a services job where there is no set target it becomes a daunting task for an employer to establish the work quantity. Looking at this particular scenario more and more companies are restructuring their mode of appraisal and in some cases developing tools for tracking employee-performance – which means anything and everything that an employee does gets quantified.

Right from the time when an employee is oriented into a new job, the boss or the immediate reporting manager starts observing his/ her day-to-day activities. Though in most cases this goes unnoticed by the employee, this seems to be a smart move indeed. Therefore, one should always remember – even when you are not noticed, you are being noticed! A good boss should always encourage his team to interact with the HR manager on a regular basis. This comes handy during the appraisal when the boss finds out other employee concerns from the HR – which somewhat has a direct impact on the employee’s appraisal.

Some of the appraisal objectives as illustrated by the company are rather obvious, while others are not. In several cases employees are mislead by these objectives. Compensation and Promotion being two of the most vital aspects of an appraisal are often ignored. Even after securing the required level of output, employees often fail to get their yearly promotions or deserving compensation. This happens due to a lot of factors, lack of transparency between the boss and the employee being one of them. Therefore, an employer must take the employees through the appraisal guidelines:

1. Set your own key result area (KRA)

2. Get them checked by your reporting manager

3. Discuss the future scope of work with your manager

4. Incorporate any KRA changes made by your manager

5. Be clear about the rating system

6. Clear your doubts with HR pre and post appraisal

The performance appraisal is nothing but a systematic evaluation of the performance of the employees. By following the above guidelines one can ensure a smooth and authentic appraisal process. This way one can be rest assured – if you are a good performer you will be rewarded!

How to negotiate your salary raise? Factors to be considered beyond salary raise

How to negotiate your salary raise? Factors to be considered beyond salary raise

Negotiating a salary raise out of your future employer that meets your expectations might seem like an impossibility in this economy, but there are other benefits that you can negotiate for that will satisfy your need for a ‘better opportunity’.

Negotiating beyond salary raise, as easy as it may sound, can be a difficult exercise for the candidate – especially if he is unsure of the reason for his job change. Any candidate primarily looks for a change for better salary raise, but it is not the only reason. To negotiate one need to first understand the actual reason for change. A systematic interview process followed by career discussion can lead to exploring multiple aspirations. Recruitment and selection is similar to a sales pitch.

If we may consider an interview candidate to be a consumer, we can label an interviewer as a salesman – the product in question here is the job. The salesman can either display products with fixed price tags or keep them open for bargaining. It’s similar in case of a job opening, where an employer can either have perks specific to the candidate’s requirements or offer whatever is available. Therefore, in some cases the candidate can opt to negotiate beyond salary raise. Some of the common facilities which candidates look forward to are: flexible working hours, working-from-home, incentives, well connected offices, diverse workforce, and onsite opportunities among others.

Factors like job location, work culture, health care benefits, day care facilities, etc are important while considering a particular job. Parents usually prefer to stay closer to their kid’s schools and often don’t mind travelling that extra mile to their office.

Work culture: Besides salary, employees look for some comfort zone and benefits with the organization. Working-from-home, though an option initially given to women employees returning from maternity leave, this benefit is widely recognised by many MNCs for all genders. Companies have this as a policy where employees can opt to work from home once a week.

Health care benefits: Companies with attractive health benefits covering the employees as well as their spouse as well as parents can often be a pull factor.

Day care for employees’ kids will be a boon for young parents who do not have family support to take care of their toddlers.

Other areas: Flexible work timing, more vacation time, professional classes, tuition reimbursement.

As much as one hankers after that fat pay cheque at the end of every month, the satisfaction of working for the right employer or doing the right kind of work is immense. It is therefore important to look into other factors besides salary while accepting a job offer. If there’s future growth prospect and basic working comfort within an organization, an employee should consider this before dismissing the offer!

Online Kindle Books Store, Shopping and Sales: How to download free kindle books?

Online Kindle Books Store, Shopping and Sales: How to download free kindle books?

What is Amazon Kindle?

The Amazon Kindle is a series of e-book readers produced by Amazon Kindle enable users to shop for, download, browse, and read e-books, newspapers, magazines, blogs, and other digital media via wireless networking.

A Kindle is a wonderful thing. It is the iPod of books, a means to transport the British Library around in your pocket.

How and From Where to download free kindle books?

There are many ways to download free kindle book from internet. There are great free kindle book stores on internet. Here is the list of some of the good websites on the internet from where you can download free kindle books.

1. Project Gutenberg

If there is one place where you are sure to find a plentiful supply of free Kindle books, then it’s Project Gutenberg. This is the ultimate resource for just about anything you can think of book related that is out of copyright.

There are more than 40,000 free kindle eBooks on there to choose from, including plenty of classics. You can download a plenty of free kindle books from there.

Once you have content picked, click the relevant link and then download the Kindle format of the book. This will save a file to your PC which you can then copy across to your Kindle via USB. Just make sure to save it in your Kindle’s documents folder and it should appear on the home page once you next boot it up.

2. Openlibrary

This is a bit like the Linux of kindle books. Openlibrary is all about user-contributed content and right now has more than 1 million texts and free kindle books available to download for free. Like Internet Archive, there is some seriously unusual stuff.

You do need to create an account to get hold of it and a lot of the kindle books are only available on loan.

Once you get hold of them, however, a lot can be sent directly to your Kindle - which is incredibly awesome. Simply click the relevant link, login to Amazon and get it delivered to your Kindle to read.

3. Google Play

If you can’t find it on Gutenberg, then Google Play should be your next stop. Amazingly, despite such a significant paid-for content push, Google still has a big library of free books to download.

Here is the problem though, you need to get them on to your Kindle. Google says they aren’t compatible yet, but we know a clever little workaround.

Download an application called Calibre, then find the free kindle book you want and click the "how to read" tab at the top of Google Play Books. From there, download the ePub form of the book. You then want to open up Calibre and click add books, add the ePub and convert the file to Mobi. You can then drag and drop the book onto your Kindle just as you did with Gutenberg books.

4. Internet Archive

If you are still struggling to get hold of the free kindle book you are after, then Internet Archive should be your last port of call. It is home to the rarities of the free kindle eBook world and, like Gutenberg, stocks a lot of them in Kindle format.

Make sure to click the texts tab at the top of the website and there you have it, a rather random selection of books, the majority of which we have never heard of. Still though, the whole lot is there, for free, for you to download.

Kindle Books Sales

Specific Kindle sales numbers are not released by the company; however, Jeff Bezos, founder and CEO of, stated in a shareholders' meeting in January 2010 that "millions of people now own Kindles".

According to anonymous inside sources, over three million Kindles have been sold as of December 2009, while external estimates, as of Q4-2009, place the number at about 1.5 million.

According to James McQuivey of Forrester Research, estimates are ranging around four million, as of mid-2010. On March 6, 2011, AT&T stores officially started sales of the Amazon Kindle.

In 2010, Amazon remained the undisputed leader in the e-reader category, accounting for 59% of e-readers shipped, and it gained 14 percentage points in share.

According to an International Data Corporation (IDC) study from March 2011, sales for all e-book readers worldwide reached 12.8 million in 2010; 48% of them were Kindles.

In December 2011, Amazon announced that customers had purchased "well over" one million Kindles per week since the end of November 2011; this includes all available Kindle models and also the Kindle Fire tablet. IDC estimated that the Kindle Fire sold about 4.7 million units during the fourth quarter of 2011.

How to make Rounded Corners of Controls and Components in Delphi XE2?

How to make Rounded Corners of Controls and Components in Delphi XE2?

We will show here how can you make rounded corners of various delphi components and controls. We will take an example of delphi panel component. We will drag 4 delphi panels on a delphi form. We have to make the corners of these delphi panels rounded.

Just call a function RoundTheCorners on the OnShow event of the delphi form. RoundTheCorners function again calls MakeRounded function by passing the name of components (panels here) as an argument. MakeRounded  does all the calculations of rounding the corners of delphi components.

procedure TMyForm.RoundTheCorners;

procedure TMyForm.MakeRounded(Control: TWinControl);
  R: TRect;
  Rgn: HRGN;
  with Control do
    R := ClientRect;
    rgn := CreateRoundRectRgn(R.Left, R.Top, R.Right, R.Bottom, 20, 20);
    Perform(EM_GETRECT, 0, lParam(@r));
    InflateRect(r, - 5, - 5);
    Perform(EM_SETRECTNP, 0, lParam(@r));
    SetWindowRgn(Handle, rgn, True);

Thursday 22 November 2012

Free and Best Online Large and Big File Sharing, Transfer and Storage Service Providers

Free and Best Online Large and Big File Sharing, Transfer and Storage Service Providers

Many times you have to send a large and big file which your gmail or yahoo mail does not support. There is solution for that. There are many online big file sharing and storage service providers and websites which will help you share / transfer and store large and big files online for free. Some of them are free and some charges a small amount for premium accounts. We have picked some of the best and free online file sharing, storage and transfer service providers.

We are listing down some of the common features which each online file transfer / sharing / storage service provider should have:

1. Should provide online large and big file transfer up to 2-3 GB.

2. Online File Transfer, Sharing and Storage should be secure.

3. Online File Transfer, Sharing and Storage should be fast and easy to use.

4. Online File Transfer, Sharing and Storage Service Providers should be able to send all kind of formats of files like pdf, jpeg, mp3 etc.

5. While sending, sharing and storing the big file online, there should be no need to install any software for that.

6. Online File Transfer, Sharing and Storage Service Providers should take backup of all the big files transfered, shared or stored online.

7. Online File Transfer, Sharing and Storage Service Providers should be able to archive your big files which are stored online.

8. Online File Transfer, Sharing and Storage Service Providers should inform or email you when online file transfer, sharing or storage has been done.

9. The big file you are sending or transfering online should not be shared on Internet - it should be sent directly to your recipient.

10. Online big file transfer and sharing should be private unlike BitTorrent or other P2P techologies.

11. Version History with Checkin/Checkout should be maintained for each big or large file shared, transfered or stored online.

Here is the list of some of the best and free online big and large file sharing, transfer and storage service providers:


DropSend allows you to send files up to 1GB with a premium account (starting at $5/mo). Meanwhile, their free account provides you with 250MB of storage and up to 5 sends per month. Unlike some of the other services, you do need to create an account in order to send a file. The company also offers a desktop client for both Windows and Mac.


There’s no registration required to use the website. You can just go to the home page and start uploading some files.


One of the best known file delivery services, YouSendIt allows you to send up to a 100MB file without creating an account. Upon uploading a file to YouSendIt, an email is sent to the recipient, where they are given a link to download the file. The download is available for 7 days and includes advertising on the page. YouSendIt also offers a variety of premium accounts starting at $4.99/mo that allow you to send files up to 2GB, use more bandwidth, and remove the ads from your download pages.


Leading provider of services that allow secure uploading, transferring and file sharing. The service uses a network of the newest, quickest and most reliable servers with memory close to unlimited working on multi-gigabyte Internet connections.


Instantly send music, movies, presentations or any other files to anybody!
Max filesize: Unlimited | Registration: No | Premium account: No | Password Protection: No |


SendThisFile allows you to easily send and receive large files to and from anyone, anywhere.
Max filesize: Unlimited | Registration: Yes | Premium account: Yes | Password Protection: Yes |


Serves as an online, centralized vault for all important file types including: music, videos, photos, documents, and more.


With a 500MB limit, MegaUpload offers the most storage space we found for non-paying users to send files. The service functions in the same way as YouSendIt, with no account necessary to send a file. For users that sign up and subscribe to a monthly or annual plan, MegaUpload offers “unlimited” file size and downloads, faster download speeds, and less advertising (the advertising on the free download pages is pretty aggressive).


Perhaps the simplest of the file transfer services, zUpload offers you up to 500MB to share a single file. A unique URL is generated for each file and is available for 30 days. Unlike the other services, there are no user accounts or premium features at the moment. It appears zUpload is entirely advertiser supported.


Based in the UK, MailBigFile functions almost exactly the same as YouSendIt. Without registering, you can send up to a 100MB file, while a Pro Account ($20/yr) allows you up to 2GB. MailBigFile also claims unlimited bandwidth, but since they cap it at 25 downloads per month, there are indeed limits.


LeapFILE targets business and enterprise users with a focus on customized branding and security. The company’s main product – Enterprise Exchange – allows organizations to setup their own completely private labeled file exchange services. Additionally, LeapFILE offers a personal version called Basic Exchange that lets you send up to 1GB files starting at $14.95/mo.


MediaMax is focused on storage, but also offers the option to share your files with others. With a free account, you can store up to 25GB of files, but there’s a catch: you can only send files up to 10MB in size with a total transfer limit of 1GB/mo. For $4.95/month, you can send 1GB files, and for $9.95/month you can send files of any size.

13. DROP BOX (

Dropbox is software that syncs your files online and across your computers or even share it with friends and peers.
Max filesize: Unlimited | Registration: Yes | Premium account: Yes | Password Protection: Yes |


Powered by iDrive Online Backup, this free web service allows both web file sharing or simply just share files via your PC’s desktop.
Max filesize: 500Mb | Registration: No | Premium account: Yes | Password Protection: No | Visit


Upload and download lots of files, big files, small files, data files, media files, archives or backups any files.
Max filesize: 100Mb | Registration: No | Premium account: No | Password Protection: Yes |


Based in Stockholm, Streamfile is a better looking, easier to use and the fastest way to deliver data, wherever you are in the world.
Max filesize: 300Mb | Registration: No | Premium account: Yes | Password Protection: No |

How to make database connection in delphi xe2 using TDatabase?

How to make database connection in delphi xe2 using TDatabase?

Following article shows how to make database connection in delphi xe2 using TDatabase. We have made a function called MakeConnection in which all the code for making database connection in delphi xe2 is written.

Take TDatabase delphi component on you delphi form (dfm file). Now set following setting to TDatabase delphi component.

object database1: TDatabase
    DatabaseName = 'YourDatabaseName'
    DriverName = 'YourDriver'
    LoginPrompt = False
    SessionName = 'Default'

Now, come to your pas file and create a function say MakeConnection like below:

function TMyForm.MakeConnection;
    MyForm.database1.Params.Values['SERVER NAME'] := Servername;
    MyForm.database1.Params.Values['USER NAME']   := Username;
    MyForm.database1.Params.Values['PASSWORD']    := Password;
    if database1.Connected then
       ShowMessage('Database connected')
       ShowMessage('Database could not be connected')
    on E : Exception do
      ShowMessage('Database Connection Error: ' + E.Message);

Tuesday 20 November 2012

Indy Server, Internet, FTP and SMTP Delphi Components

Indy Server, Internet, FTP and SMTP Delphi Components

Indy is short term for Internet Direct.  Indy is a set of Open Source Delphi Components that allow developers to write network based software.

TidTCPServer and TidTCPClient Components

TidTCPServer and its counterpart TidTCPClient give the developer the ability to write enterprise level applications, peer-to-peer applications, as well as the ability to support TCP based protocols.

Socket Blocking

Socket Blocking is the way Indy operates.  This means that when a server is communicating to a client it will not run any other code until it is done.  This is okay in a multi-threaded environment, because every client has his own thread.  That is why well designed use of Indy’s TCP servers scale very well. 

By default, all of Indy’s server components use multiple threads.  In a high demand system, clients will not wait.  In that environment, multi-threaded programs are best. 

Difference between Threads and Fibers in Multi-Threading of Indy Delphi Components

Multi-Threaded programming is not evil; however, to guide developers safely into the multi-threaded realm, Indy designers have given programmers the ability to use fibers.  Fibers are NOT threads.  However, fibers are more forgiving than threads when it comes to memory management because they run in a scheduled manner.  This means that you do not have to worry about thread/GUI synchronizing.  It is important to remember, however, that a well-designed multi-threaded application should be able to easily out-perform a fiber-based application.  Again, by default Indy uses threads.  To you, the developer, Indy makes this all very transparent.  Simply pick the TidScheduler that suits you, and then go back to adding your event handling code.  Using threads or fibers Indy components are still very fast.

Do you actually need to develop a server? 

Remember, servers do not initiate connections.  Clients initiate connections.  If you are thinking of developing the next peer-to-peer file trading application.  You are actually of thinking of developing an application that contains both a server and a client.

What port are you going to use for your new protocol? 

In a nutshell, a port is simply a number that is used to identify connections using your protocol.  In theory, it can be arbitrarily picked.  In the past, I have picked the street address number where the code was written.  However, be careful, there are many standard protocols out there that have their own port numbers.  So be sure not to use one of those.  If you do, you may run into problems running your code. To get more information about port numbers, you can go to the Internet Assigned Numbers Authority or

Command Handlers: Whether or not to use Command Handlers of Indy Delphi Component

In past versions of Indy, TidTCPServer gave the developer the ability to choose to handle an OnExecute event for all of the data on the socket or use a wonderful device called Command Handlers.  Command Handlers simplify socket management by allowing the developer to simply define text based commands for the new server.  Command handlers also support parameters.  It really does not get any easier than this.  Now that behavior has been moved to a class call TidCmdTCPServer. We must not forget to set the CommandHandlersEnabled property to “True” when our server is instantiated.

Since we have chosen to use TidCmdTCPServer we cannot simply put one on a form.  We must instead descend our own class based on TidCmdTCPServer and add all of our custom behavior to it.  This was even the prefered way to go even when TidTCPServer supported command handlers.  The option still remains to register the new server as a Delphi component.  However, before the component is thoroughly tested, it might just be easier to leave that for a later time.


Whether it is developing a server for a standard protocol, or developing a server for some custom protocol Indy is a pretty solid way to go.  The product is free, there is lots of support in the newsgroups, it comes with the source code, and best of all it works.  The team that put this product together continues to improve it and their latest and greatest can be found at

FastReport VCL Reporting Tool in Delphi XE2

FastReport VCL Reporting Tool in Delphi XE2

FastReport VCL is an add-on component that allows your application to generate reports quickly and efficiently. FastReport provides all the necessary tools to develop reports, including a visual report designer, a reporting core, and a preview window.

FastReport VCL Embarcadero Edition is included at no extra charge the Professional, Enterprise, Ultimate and Architect editions of Delphi XE2, C++Builder XE2 and RAD Studio XE2.

Features of FastReport VCL Reporting Tool:

1. Advanced report designer
2. Data Grouping and Master-Detail reports
3. Caching of the big reports
4. Exports to popular formats (PDF, RTF, HTML, BMP, JPEG, TIFF, GIF, TxT, CSV)
5. Report inheritance
6. UNICODE support
7. Report encryption
8. Nested reports by using sub report object
9. Dot Matrix reports
10. Linear barcodes
11. Composite reports

Why do developers choose FastReport VCL Reporting Tool?

1. Technological leadership
2. Time leadership
3. More subtle and quick to address the needs of the customer

Improvements and Bug Fixing in Fast Report VCL 4.13 (Latest version released on 20/11/2012)

- fixed compatibility with Fast Report FMX installed in the same IDE.

This version can co exist with Fast Report FMX version installed in IDE.

+ published "Quality" property of TfrxPDFExport object
+ published "UseMAPI" property of TfrxExportMail object
+ published "PictureType" property  to ODF export
- fixed bug with expressions in RichEdit
- fixed bug in multi-column reports
- fixed exception in the report designer
- fixed bug with URLs in Open Document Text and Open Document

Spreadsheet exports

- fixed format string in XLS OLE export
- fixed format string in XLS BIFF8 export
- fixed output of the check boxes on the highlighted lines in PDF export
- fixed bug with PDF anchors
- fixed bug when using two or more macroses in memo
- other minor bug fixes

Monday 19 November 2012

Advantages, Disadvantages, Benefits and Risks of Cloud Computing

Advantages, Disadvantages, Benefits and Risks of Cloud Computing 

We will discuss a lot of benefits and advantages of cloud computing here in this article. We have made a list of advantages and benefits of cloud computing. After mentioning advantages, we will also discuss some of the risks and disadvantages of cloud computing.

22 Advantages and Benefits of Cloud Computing

1. Decrease in cost

The biggest advantage of cloud computing is the elimination of the investment in stand-alone software or servers by the user. By cloud computing, one can easily save the overhead charges such as cost of data storage, software updates, management, and most importantly cost of quality control. Now anyone can use the services of cloud computing at affordable rates.

Cloud computing is probably the most cost efficient method to use, maintain and upgrade. Traditional desktop software costs companies a lot in terms of finance. Adding up the licensing fees for multiple users can prove to be very expensive for the establishment concerned. The cloud, on the other hand, is available at much cheaper rates and hence, can significantly lower the company’s IT expenses. Besides, there are many one-time-payment, pay-as-you-go and other scalable options available, which makes it very reasonable for the company in question.

2. Speed and scalability of cloud services

With cloud computing, the user has no need to install the hardware or software for a new application; he or she can easily scale up or down the services, limiting them according to their requirements. There are many data centers that are located at multiple locations for the storage of data from near locations.

3. Almost Unlimited Storage

Storing information in the cloud gives you almost unlimited storage capacity. Hence, you no more need to worry about running out of storage space or increasing your current storage space availability.

4. Backup and Recovery

Since all your data is stored in the cloud, backing it up and restoring the same is relatively much easier than storing the same on a physical device. Furthermore, most cloud service providers are usually competent enough to handle recovery of information. Hence, this makes the entire process of backup and recovery much simpler than other traditional methods of data storage.

5. Automatic Software Integration

In the cloud, software integration is usually something that occurs automatically. This means that you do not need to take additional efforts to customize and integrate your applications as per your preferences. This aspect usually takes care of itself. Not only that, cloud computing allows you to customize your options with great ease. Hence, you can handpick just those services and software applications that you think will best suit your particular enterprise.

6. Easy Access to Information

Once you register yourself in the cloud, you can access the information from anywhere, where there is an Internet connection. This convenient feature lets you move beyond time zone and geographic location issues.

7. Quick Deployment

Lastly and most importantly, cloud computing gives you the advantage of quick deployment. Once you opt for this method of functioning, your entire system can be fully functional in a matter of a few minutes. Of course, the amount of time taken here will depend on the exact kind of technology that you need for your business.

8. Innovation in technology

With the innovation in technology, the user has no need to manage or own the resources; cloud computing does that and provides the user the complete benefits.

9. Selection of location

Service providers can select the location for infrastructure freely, according to their requirements, minimizing their overhead expenses.

10. Use of device

Cloud computing services can be used and accessed from any device such as computer, mobile phone, or iPhone.

11. Cap-Ex Free Computing

Whether you go with a public cloud or outsourced private cloud computing option, cloud computing delivers a better cash flow by eliminating the capital expense associated with building the server infrastructure.

12. Deploy Projects Faster

Because servers can be brought up & destroyed in a matter of minutes, the time to deploy a new application drops dramatically with cloud computing.  Rather than installing and networking a new hardware server, the new server can be dialed up and imaged in through a self-serve control console.  Or better yet, with a private cloud, your service provider can dial up a new server with a single call or support ticket.

13. Scale as Needed

As your applications grow, you can add storage, RAM and CPU capacity as needed.  This means you can buy “just enough” and scale as the application demands grow.

14. Lower Maintenance Costs

Lower Maintenance Costs driven by 2 factors:  Less hardware and outsourced, shared IT staff.  Because cloud computing uses less physical resources, there is less hardware to power and maintain.  With an outsourced cloud, you don’t need to keep server, storage, network, and virtualization experts on staff full time.  You get economy of scale of those expert resources through your cloud provider.

15. Resiliency and Redundancy

One of the benefits of a private cloud deployment is that you can get automatic failover between hardware platforms and disaster recovery services to bring up your server set in a separate data center should your primary data center experience an outage.

16.  Increases Collaboration

Cloud computing increases collaboration by allowing all employees – wherever they are – to sync up and work on documents and shared apps simultaneously, and follow colleagues and records to receive critical updates in real time. A survey by Frost & Sullivan found that companies which invested in collaboration technology had a 400% return on investment.

17. Work From Anywhere

As long as employees have internet access, they can work from anywhere. This flexibility positively affects knowledge workers' work-life blanace and productivity. One study found that 42% of working adults would give up some of their salary if they could telecommute, and on average they would take a 6% paycut.

18. Security

Some 800,000 laptops are lost each year in airports alone. This can have some serious monetary implications, but when everything is stored in the cloud, data can still be accessed no matter what happens to a machine.

19. Competitiveness

The cloud grants SMEs access to enterprise-class technology. It also allows smaller businesses to act faster than big, established competitors. A study on disaster recovery eventually concluded that companies that didn’t use the cloud had to rely on tape backup methods and complicated procedures to recover.

20. Environment Friendly

Businesses using cloud computing only use the server space they need, which decreases their carbon footprint. Using the cloud results in at least 30% less energy consumption and carbon emissions than using on-site servers. And again, SMEs get the most benefit: for small companies, the cut in energy use and carbon emissions is likely to be 90%.

21. Device Diversity

The cloud computing method can be accessed through various different electronic devices that are able to have access to the internet. These devices would include and iPad, smartphone, Laptop, or desktop computer.

22. Customize Settings

Last but not least, you will enjoy the fact that cloud computing allows you to customize your business applications. This is a great benefit because the world of online business is very competitive.

Disadvantages and Risks of Cloud Computing

In spite of its many benefits, as mentioned above, cloud computing also has its disadvantages. Businesses, especially smaller ones, need to be aware of these cons before going in for this technology.

The Risks Involved in Cloud Computing (Disadvantages of Cloud Computing)

1. Technical Issues

Though it is true that information and data on the cloud can be accessed anytime and from anywhere at all, there are times when this system can have some serious dysfunction. You should be aware of the fact that this technology is always prone to outages and other technical issues. Even the best cloud service providers run into this kind of trouble, in spite of keeping up high standards of maintenance. Besides, you will need a very good Internet connection to be logged onto the server at all times. You will invariably be stuck in case of network and connectivity problems.

2. Security in the Cloud

The other major issue while in the cloud is that of security issues. Before adopting this technology, you should know that you will be surrendering all your company’s sensitive information to a third-party cloud service provider. This could potentially put your company to great risk. Hence, you need to make absolutely sure that you choose the most reliable service provider, who will keep your information totally secure.

3. Prone to Attack

Storing information in the cloud could make your company vulnerable to external hack attacks and threats. As you are well aware, nothing on the Internet is completely secure and hence, there is always the lurking possibility of stealth of sensitive data.

About the Author

I have more than 10 years of experience in IT industry. Linkedin Profile

I am currently messing up with neural networks in deep learning. I am learning Python, TensorFlow and Keras.

Author: I am an author of a book on deep learning.

Quiz: I run an online quiz on machine learning and deep learning.