Freelance Programming Insights
Freelance Programming Insights
October
2
Infinitytech Magazine
Technically advance
[Link]
Copyright@ 2009 [Link]
All right reserve
All text and context in this book solely owned by [Link] .Reproduction without permission in any form is illegal .
Editor’s pen
Advantages of contract
programming in software
development industry
As we all know that programming
industry is getting tougher rapidly
and as a result of that the necessity
of freelance programmers and
contract programmers is being
sensed vastly. In a professional
software development firm, the
programmer’s expertise module
wise. Some times it is viewed that,
such programmers are unable to
work at different module in same
project.
Table of contents
Editor speak
Devil facts
Programmers Area
Career Guide
Learn Linux
Hardware/Software Problem
Help Line
5
Devil Fact
Devil Fact
Organized crime seems too be extremely active in the scam
known as "phishing" in which they send emails under the guise of
being a financial institution or other legitimate organization. In
the email they ask unsuspecting victims to verify personal informa-
tion such as account numbers and passwords. They will target home
users who have become the weakest link and they target their vic-
tims much more closely than before, by tracking down full names
and personal interests. They also skim social networking sites
and personal websites where most people have left a digital
footprint that can be mined .
Another trend in the first half of the year is that phishes have
become more sophisticated, dodging spam filters and other defense
mechanisms designed by provider sand software companies to keep
out the criminals.
1. Do nothing and hope their attacks, risks, and threats don’t occur on
your computer.
3. Get professional help to lockdown your system from all their attacks,
risks, and threats.
Ratnakar Mishra
[Link]@[Link]
Programmers Area
By the programmers for the programmers…
9
Now the outcome of this ‘Research’ was that I get to know that now a
days people really want to get there things ‘Customized’ be it the skin
of their iPhone or having their Gmail theme and gadgets in place. But
there is restriction, I mean this whole customization of your personal
stuff is offered by very limited web players, the Giant Google of course
with there Gmail personalisation wherein a user can add gadgets from
Google Labs, customize the shortcut keys for saving drafts, adding a
label or be it choosing the background for their Gmail or theme per
seethe there is iGoogle,what more... up to a certain extent by Face-
book just that it allows you to “Hide/Show” certain posts/updates.
But still they have this “interface architecture” defined by them which
bounds you to the things which they want you to get displayed on
your profile, not something completely on your own. Let our imagina-
tion get wild, now think something like an ‘Compilation’ of web pages,
rather Web applications....on a SINGLE webpage......now you might
think I am suggesting you to create an web page of your own (By the
way pick up the last addition of this magazine to learn how to “Make
your own website in just days”),no my friend that’s where the fun
comes, you don’t need to make a page of your own, just imagine if you
10
can personalize each and every webpage that you see, be it some
news channel, some radio junction or any other social networking site
(Even if they don’t provide you with the liberty of customising the way
the profile looks),even wilder, imagine if you can merge the Updates
of your friends from Facebook,the latest Email notifications from
Gmail,recent RSS feeds from Sun’s website and the most watched
video on you tube for the day. Isn't that fun, now you may ask me that
what about the privacy issues, why will these sole owners of the
contents allow me to do so, the answer is Alias (Will get to that later).
Now don’t get worried due to all those heavy and alien terms if you
happen to be unaware of them,read below,I shall explain them:
What is a Scraper:
A web scaper is a application or a software which extracts useful
information out of sites,at the back end and then it can form a totally
new Scraper site on which there is content gathered and compiled
onto [Link] those sites which are especially meant for advertising in
which there is no original content,you may call a search engine as a
Scraping site using bots for scraping the www for [Link] our case we
use the scraper to extract and fetch the webpage from the www.
What is DOM:
A DOM typically elaborated as Document Object Model is the
description of how a webpage is stored displayed/rendered as an
HTML page. Objects under the DOM (also sometimes called
"Elements") may be specified and addressed according to the syntax
and rules of the programming language used to manipulate them.
That's one of our purpose in the entire flow, to manipulate the DOM,it
can be achieved easily by Javascript.
url [Link]
The scraping
engine,it shall DOM process-
take care of all ing, manipula-
the parsing and
DOM tions, rules, Request*.htm (The
scraping to be ‘changed’ webpage as de-
Content Proxy
(Since it filters the request)
Algorithms As A Technology
Think computer were infinitely fast and computer memory was
free. Would you have any reason to study algorithms? The answer is
yes. Of course computers may be fast, they are not infinitely fast.
And memory may be cheap, but it is not free. Computing time is
therefore a bounded resources and so is space in memory. These re-
sources should be used wisely, and algorithms that are efficient in
terms of time or space will help do so. Total system performance
depends on choosing efficient algorithms as much as on choosing
fast hardware. Just as rapid advances are being made in other com-
puter technologies, they are being made in algorithms as well.
Analyzing an algorithm has come to mean pre-
dicting the resources. Occasionally, resources such as memory, com-
munication bandwidth, or computer hardware are of primary con-
cern, but most often it is computational time that we want to meas-
ure.
The number of steps an algorithm requires to
solve a specific problem is denoted as the computational time or run-
ning time of the algorithm. The notion of a step refers to an underly-
ing machine model. The machine must be able to execute a single
step in constant time.
In general, the computational time depends on
the size of the problem and on the respective input.
Example: The computational time of a sorting al-
gorithm grows if the length of the input sequence grows. If the input
sequence is presorted, compared to an unsorted sequence possibly
less steps are sufficient.
In order to evaluate an algorithm independently
of the input, the notion of time complexity is introduced. The time
complexity T(n) is a function of the problem size n. The value of T(n)
is the running time of the algorithm in the worst case, i.e. the maxi-
mum number of steps it requires with an arbitrary input.
Sometimes the behavior on the average case is
considered, i.e. the mean number of steps required with a large num-
ber of random inputs.
Example: The sorting algorithm insertion sort
has a worst case time complexity of T(n) = n(n-1)/2 comparison-
exchange steps to sort a sequence of n data elements.
Often, it is not necessary to know the exact value of T(n), but only an
upper bound can be estimated.
Ashok kumar
MCA B7(ER&DCI-IT)
13
14
1956 : IBM ships the first hard drive in the RAMAC 305
system. The drive holds 5MB of data at $10,000 a mega-
byte. The system is as big as two refrigerators and
uses 50 24-inch platters.
1961: IBM invents heads for disk drives that "fly" on
a cushion of air or on "air bearings." The IBM 1301
Disk Storage Unit, with its larger capacity, flexibility
and speed, greatly expanded the operational capabil-
ity of the IBM 7000 series of computers (7070, 7094,
7080 and 7090).
Visit
[Link]
16
1. Decide Which Career To Opt For: There are a whole lot of resources
available on the internet or in books that talk about the various career
choices in the job market. Before deciding on which career to opt for,
one should conduct adequate research about the new job. This would
be important to ensure that once one changes his/her career to a new
field, it doesn't come across as an unpleasant experience.
In addition to the things listed above that discuss what one "should"
do; there are a number of things to beware of. A random list of 'don'ts'
is:
- Changing careers only for money is a bad idea. In most cases, people
fail to realize that there is a cost to pay for a higher compensation in
the form of more travel or longer working hours.
Shailendra Kumar
[Link]@[Link]
18
Desktop go to die…!
In this fast-changing technological world, sometimes
you are faced with some difficult choices. For instance,
your current computer has matured to the ripe old age
of six months and has been deemed obsolete. Now it's
time to purchase a new computer and the question is,
"Should I buy a laptop or a desktop?" so there laptop
has some advantage over desktop .
Mobility - Well, sure, it's the big one. If you need to work remotely, a
laptop is the way to go. Remember that a 3G card from your cell phone
provider can give you high-speed internet access in most urban areas.
Peripherals - Remember that when you're in the office, you can always
plug in an external mouse, keyboard, and monitor to your laptop.
19
[Link]
Every thing is different
20
Nikesh Arora
President, Global Sales Operations and Business Development in Google
Nikesh Arora oversees all revenue and cus-
tomer operations, as well as marketing and
partnerships. Since joining Google in 2004,
he has held several positions with the
company. Most recently, he led Google's
global direct sales operations. He also
developed and managed the company's
operations in the European, Middle Eastern
and African markets and was responsible
for creating and expanding strategic
partnerships in those regions for the benefit
of Google's growing number of users and
advertisers. This will make him the
top-ranking (4th Position) Indian in Google.
With a background as an analyst, Nikesh's main areas of focus
have been consulting, IT, marketing and finance. Prior to joining
Google, he was chief marketing officer and a member of the man-
agement board at T-Mobile. While there he spearheaded all prod-
uct development, terminals, brand and marketing activities of T-
Mobile Europe. In 1999, he started working with Deutsche Tele-
kom and founded T-Motion PLC, a mobile multimedia subsidiary of
T-Mobile International. Prior to joining Deutsche Telekom, Nikesh
held management positions at Putnam Investments and Fidelity
Investments in Boston.
Nikesh holds a master's degree from Boston College and an MBA
from Northeastern University, both of which were awarded with
distinction. He also holds the CFA designation. In 1989, Nikesh
graduated from the Institute of Technology in Varanasi, India with
a bachelor's degree in electrical engineering.
Rajeev Ranjan
rranjan@[Link]
21
I've since been working in recruitment for some time and have been
the Interviewer asking those tough Interview questions on many
occasions. Its clear that many candidates still don't know what I'm
looking to hear from them. So I thought I'd cover some of the tough
Interview Questions and ways to answer them.
"At some point we all make mistakes, I'm always happy to take on
constructive criticism as this will help me perform better."
"I couldn’t give a time scale, I would want to prove myself and
demonstrate my value to the company, I appreciate that promotion is
a reward, not a right"
Answering Tough Interview Questions well, will set you apart from
other candidates Padmakar Mishra
applying for the same
position
padmakar.mishra2010@[Link]
[Link]
23
VIRUS
Computer viruses are programs that have been pur-
posely designed to interfere with the regular operation
of a computer. Depending on its nature and capabilities,
a virus may cause minor or major interruption to the
smooth functioning of a computer. They may just slow
down your computer, or repeatedly cause meaningless
message to appear on your monitor, freeze your
computer or bring up cascading windows on your
screen, cause screen blinking, record data without a
commend from you, corrupt or delete data, revive deleted data, pick
up e-mail addresses from your address book and local files and start
sending e-mails on its own, and even damage vital system files.
Boot Sector Viruses: Boot sector viruses are an older type of virus
and are not so common today. They used to infect computers’ startup
programs, so that the virus would become active as soon as the
computer started up.
Speeding up your hard drive to get faster file transfer by using 32-bit
transfers on your hard drive:
/sbin/init.d/[Link]
hdparm -t -T /dev/hdX
1 Use your favorite text editor in your home directory to edit the file
".bashrc".
The period is there on purpose, this hides the file from normal ls
display.
alias md="mkdir"
Here “alias” is a powerful tool, and can be used in the .bashrc script
as well as from the command line. You can, if you want to spend the
time, create your own group of shell commands to suit how you
work. As long as you put them in your .bashrc file, they'll be there
every time you log in. Note that if you frequently log in as root, you
might want to copy /home/username/.bashrc to /root/.bashrc to
keep yourself same.
This will make a 64 megs (about 67 millions bytes) file on your hard
drive. You now need to initialize it:
sync
And you can then add it to your swap pool:
swapon /swapfile
With that you have 64 megs of swap added. Don't forget to add the
swapon command to your startup files so the command will be re-
peated at each reboot.
VINEET PRATAP
[Link]@[Link]
27
Fix-it
28
The following error message can occur during the WinXP upgrade
process:
When you press any key as instructed, the following error message
appears: “A problem has been detected and windows has been
shutdown to prevent damage to your computer. PROC-
ESS1_INITIALIZATION_FAILED”Huh? Again, the Microsoft Knowl-
edge Base comes to the rescue. The root cause triggering this er-
ror message is a software program (namely Roxio’s GoBack) that is
incompatible with WinXP. To resolve the problem, disable GoBack
when WinXP restarts by pressing the space bar at the GoBack boot
menu, pressing d to disable and pressing y to confirm. Once Go-
Back is disabled, cancel the WinXP setup process and uninstall Go-
Starting off
Light Panda Cloud Antivirus protects you while you browse, play or
work and you won’t even notice it. It is extremely light as all the work
is done in the cloud.
Secure Panda Cloud Antivirus provides you with the fastest protec-
tion against the newest viruses thanks to its cloud-scanning from
PandaLabs’ servers
Easy Panda Cloud Antivirus is truly install and forget. Don’t worry
about updates, configuration or complicated decisions ever again.
Anurag Shankar
anuragshankar2005@[Link]
30
Ask...
31
[Link]@[Link]
infinitytechmagazine@[Link]
infinitytechmagazine@[Link]
infinitytechmagazine@[Link]
[Link]