Smart Programmer - Programming , Productivity Improvement Tips, Tricks
Monday, May 01, 2006
Best Web Hosting
10 Reasons Why PowWeb Is Right For You!1. Best Value For Your Money
Our one plan hosting package offers EVERYTHING you need for only $7.77 per month! Other Web hosting companies charge up to 5 times more. We offer more disk space, bandwidth, and more service features than any provider on the internet. PowWeb offers 5GB of diskspace and 300GB of data transfer a month.
2. Testimonials Galore
PowWeb has more customer testominials than any other host. Evidence of the quality and superior service we prove, the testimonials offer first hand feedback of our valued customers.
3. Fast Network/Server Backbone Connection
Our servers are connected to the internet at lightning speed! Our backbone includes high speed OC12/48 connection for efficient and reliable high-speed performance. We have teamed up with a major connection tier 1 provider to bring you one of the most reliable services on the Internet today.
4. Load Balanced Servers
Take advantage of the latest technology. Thanks to our "load balanced"
servers, your website will experience virtually no downtime during server reboots, server maintenance, and server hardware failure. PowWeb provides the best uptime in the web industry!
5. We Use Our Own Hardware & Proprietary Software
PowWeb uses its own state-of-the-art hardware. All of our servers are company-owned and operated. Most Web hosting companies are just resellers relying on other people's equipment. We pride ourselves in using proprietary software. Our whole infrastructure was built from the ground up by our team of experienced developers. This includes server configurations, billing software, helpdesk, WebMail, Site Manager, and OPS.
6. Largest Online Community
We operate one of the largest communities on the internet allowing clients to communicate freely and openly with each other. Join the family - it's a great place for web designers and novices alike to exchange ideas, code, advice, or just hang out! This openness is unmatched by any other provider.
7. Build, Grow & Profit!
In addition to providing you with quality hosting at an affordable price, we also provide you will the necessary tools so you can grow and profit from your website. This includes our Resource Center, FreeLance Marketplace and our Community Forum.
8. Friendly Technical Support
Your website(s) will be in good hands with PowWeb. We provide 24/7 Email support, Toll-Free phone support, 24/7 Live Chat Room.
9. Upgrades
Our development team is continuously upgrading our systems with the latest technology, creating new tools and features to make your Web presence as easily maintainable and reliable as possible. All upgrades will be available to all of our customers at no additional charges.
10. Satisfaction Guarantee
Keeping our customers happy is our main priority. If for ANY reason we do not measure up to your expectations, we offer an unconditional 30-day money back guarantee. It's that simple!
Wednesday, April 26, 2006
Windows Command Prompt - 3 Cool Tips
Many times we use windows command prompt for running batch files or simple operations. DOS users still prefer to interact with the systemthrough command (cmd) prompt. Here are 3 cool tips known to very few users.(1) Give title to the command prompt
By default system gives title something like "C:\WINDOWS\system32\cmd.exe" to the command window. It becomes very confusing when you open multiple command prompts and minimize them. Use the following syntax to give title to every window.
title
like
C:\>title OneSmartClick.com
will override the default title by 'OneSmartClick.com'
(2) Browse command History (Doskey feature) through F7
Hit F7 Key to browse through the command history. To select a specific command by number, hit F9 after hitting F7. You can use Up/Down arrow keys, Home, End, Page Up, Page Down keys for faster browsing. To cancel history window hit Escape key.
(3) Colorize the Command Prompt
If you are running different applications/scripts in different windows, colors help you to identify application/script easily.Use the following command to change background and foreground. (Note : There is NO SPACE between backround and foregroundcolor digits)
color
e.g.
C:\>color 5e
Sets background to 'Purple' and foreground to 'Light Yellow'. Use 'color -help' to check hex digits for colors.
Visit my Windows Batch Programming Page for cool tips
(C) Prashant N Mhatre (OneSmartClick.Com)
IT Interview questions / Tips page
GRE/GMAT/TOFEL/SAT Links
Mechanical, Chemical, Computer, Electrical, Electronics Engineering Page
Tuesday, April 25, 2006
15 Exercises for Learning a new Programming Language
15 Exercises for Learning a new Programming Language by: Prashant N MhatreI've working knowledge of a bunch of programming languages but job demands to learn a new language frequently in a short time. Instead of reading hundreds manual/book pages, I quickly read 10-15 pages of tutorial or primer. (As you know google is the best search engine to look for such stuff). I keep printed copy of the language syntax reference card handy. (There are many reference cards available over internet. Type in 'language to learn' + 'reference card' in google.)
First of all, get familiar with Compiler, compiler option, editor shortcuts or integrated
development environment (IDE). Start with a simple 'Hello World' program. Compile it. Use basic functionalities of debugger like setting break points, printing variable values, moving to the next or specific position, stopping debugger etc.
To grasp basics of a new language quickly, here are the exercises I use. Remember some programs may not good for beginners.
(1) Display series of numbers (1,2,3,4, 5....etc) in an infinite loop. The program should quit if someone hits a specific key (Say ESCAPE key).
(2) Fibonacci series, swapping two variables, finding maximum/minimum among a list of numbers.
(3) Accepting series of numbers, strings from keyboard and sorting them ascending, descending order.
(4) Reynolds number is calculated using formula (D*v*rho)/mu Where D = Diameter, V= velocity, rho = density mu = viscosity Write a program that will accept all values in appropriate units (Don't worry about unit conversion) If number is < 2100, display Laminar flow, If it’s between 2100 and 4000 display 'Transient flow' and if more than '4000', display 'Turbulent Flow' (If, else, then...)
(5) Modify the above program such that it will ask for 'Do you want to calculate again (y/n), if you say 'y', it'll again ask the parameters. If 'n', it'll exit. (Do while loop)
While running the program give value mu = 0. See what happens. Does it give 'DIVIDE BY ZERO' error? Does it give 'Segmentation fault..core dump?'. How to handle this situation. Is there something built in the language itself? (Exception Handling)
(6) Scientific calculator supporting addition, subtraction, multiplication, division, square-root, square, cube, sin, cos, tan, Factorial, inverse, modulus
(7) Printing output in different formats (say rounding up to 5 decimal places, truncating after 4 decimal places, padding zeros to the right and left, right and left justification)(Input output operations)
(8) Open a text file and convert it into HTML file. (File operations/Strings)
(9) Time and Date : Get system time and convert it in different formats 'DD-MON-YYYY', 'mm-dd-yyyy', 'dd/mm/yy' etc.
(10) Create files with date and time stamp appended to the name
(11) Input is HTML table, Remove all tags and put data in a comma/tab separated file.
(12) Extract uppercase words from a file, extract unique words
(13) Implement word wrapping feature (Observe how word wrap works in windows 'notepad')
(14) Adding/removing items in the beginning, middle and end of the array.
(15) Are these features supported by your language: Operator overloading, virtual functions, references, pointers etc.
Is there something called 'namespace / package / module' supported by your language? (Name mangling) - Read More on this
About The Author
Prashant N Mhatre
I mainly developed software for Stock Markets and Chemical Instrustries. To learn more about programming, you could refer to the Programming page I maintain.
http://www.onesmartclick.com/programming/programming.html
Also Engineering page
http://www.onesmartclick.com/engineering/engineering.html
prashant_n_mhatre@yahoo.com
Sunday, February 26, 2006
Web Designing - Useful Tutorials
Web Design - Useful Tutorials
One Hour Html - Learn the design language of the web, HTML in just 60 minutes.
Become An Expert Web Designer! - Video tutorials and stunning templates show you how to create your own websites and graphics from scratch in the next hour!
Dreamweaver Made Simple ! - Dreamweaver Interactive Video Tutorial and eBook
Step By Step Websites In 3-6 Hours - Easy guide to creating your Own customized, money-making website with Dreamweaver 8, Mx, or Mx 2004, and more.
Photoshop Master - Master Photoshop with these Easy Tutorials
Learn Adobe Illustrator - Start Learning Illustrator Right Now?!
The Photoshop Companion: Industrial Strength Tools and Techniques - Get most out of Photoshop - Grab These Proven Tips, Tools And Techniques To Master Photoshop And Create Better Scans, Images And Prints In Less Time
The Ultimate Guide to Free Video Editing Software - The Ultimate Guide to Free Video Editing Software!!
15,000 Mb Hosting For $4.95/mon - 4.95 web hosting, Free domain registration! Free setup and online website builder included.
Website Workshop - Video Training and Eductation for Website Building And Internet Marketing.
OneTemplate.com - OneTemplate is a versatile web template designed with longterm maintenance in mind.
How To Master Css (Cascading Style Sheet) - eBook on How To Master Css. Step-by-step Guide, Including Training Videos.
The Million Dollar Script - The hottest new idea in internet advertising in years!
WebMaster Media Maker - Create Streaming Audio and Video with Media players that do not require a streaming media server.
The Article System 2.0 - Instantly add targeted content to your website. Create pages that search engines will index to boost your traffic and profit!
The Article Money System - Drive massive amounts of free traffic to your website & create hundreds of back links around the web with this new Seo program!
Saturday, February 25, 2006
Useful Windows Utitilities
Pixie - The Color PickerPixie is an easy-to-use, fast and tiny utility designed especially to fit the needs of Webmasters and Designers. Its a color picker that includes a mouse tracker. Run it, simply point to a color and it will tell you the hex, RGB, HTML, CMYK and HSV values of that color. You can then use these values to reproduce the selected color in your favorite programs. Pixie will also show the current x y position of your mouse pointer. Its the only tool you'll need for working with colors.
http://www.nattyware.com/pixie.html
PDF reDirect - The free PDF Creator alternative to pdf995, cutepdf and freepdf
PDF reDirect will generate PDF files from any application easily. We can append to an existing PDF file
http://www.exp-systems.com/PDFreDirect/
Free FTP and Telnet Clients
FileZilla - FTP clientFileZilla is a fast and reliable FTP client and server with lots of useful features and an intuitive interface. Please visit the project page for details.
http://filezilla.sourceforge.net/
dtelnet: a free Telnet Client for Windows 16/32
If you like the simplicity of the telnet client that comes with Windows, but are not that happy with the functionality, dtelnet might be what you are looking for. Unlike most other telnet clients for Windows, dtelnet is not massively over-featured and confusing to use.
http://dtelnet.sourceforge.net/
SmartFTP
The free secure FTP client for Windows.
http://www.smartftp.com/
Testing - Test Automation Tools
Regression Testing - Mercury WinRunnerRegression testing with Mercury's WinRunner software offers your organization apowerful tool that captures, verifies, and replays user interactions ...
http://www.mercury.com/us/products/quality-center/functional-testing/winrunner/
Mercury LoadRunner
Load testing from Mercury includes the load testing software LoadRunner, the industry-standard performance testing product for predicting system behavior ...
With LoadRunner, you can:
- Obtain an accurate picture of end-to-end system performance.
- Verify that new or upgraded applications meet specified performance requirements.
- Identify and eliminate performance bottlenecks during the development lifecycle.
Mercury TestDirector
Using TestDirector, multiple groups throughout your organization can contribute to the quality process:
- Business analysts define application requirements and testing objectives
- Test managers and project leads design test plans and develop test cases
- Test automation engineers create automated scripts and store them in the repository
- QA testers run manual and automated tests, report execution results, and enter defects
- Developers review and fix defects logged into the database Project managers create application status reports and manage resource allocation
- Product managers decide whether an application is ready to be released.
http://www.mercury.com/us/products/quality-center/testdirector/
Expect
Expect is a tool for automating interactive applications such as telnet, ftp, passwd, fsck, rlogin, tip, etc. Expect really makes this stuff trivial. Expect is also useful for testing these same applications. And by adding Tk, you can also wrap interactive applications in X11 GUIs.
Expect can make easy all sorts of tasks that are prohibitively difficult with anything else. You will find that Expect is an absolutely invaluable tool - using it, you will be able to automate tasks that you've never even thought of before - and you'll be able to do this automation quickly and easily.
Best Editors for Programmers
EditPlus Text EditorEditPlus is an Internet-ready 32-bit text editor, HTML editor and programmers editor for Windows. While it can serve as a good replacement for Notepad, it also offers many powerful features for Web page authors and programmers.
http://www.editplus.com/
EditPad™ Pro - Mighty Fine Text Editor
EditPad Pro is a powerful and versatile text editor or word processor. Designed to make text editing as convenient as possible, using EditPad Pro to edit text files will save you a lot of time and frustration.
http://www.editpadpro.com/
TextPad - the text editor for Windows
TextPad is an award winning text editor for Windows. Download a free evaluation copy, to discover the powerful features that will increase your productivity ...
http://www.textpad.com/