tag:blogger.com,1999:blog-189028962024-03-27T17:53:43.486-06:00Smart Programmer - Programming , Productivity Improvement Tips, TricksWindows and Unix Programming Tips, TricksUnknownnoreply@blogger.comBlogger9125tag:blogger.com,1999:blog-18902896.post-1146527373706335242006-05-01T17:48:00.000-06:002006-05-01T17:49:33.943-06:00Best Web Hosting<a href="http://partners.powweb.com/cgi-bin/click.cgi?id=onesmartclick"><span style="font-size:180%;color:#3366ff;">Powweb Web Hosting - The best and cheapest Host - Visit Website for details</span></a>Unknownnoreply@blogger.com15tag:blogger.com,1999:blog-18902896.post-1146527230396526562006-05-01T17:45:00.000-06:002006-05-01T17:47:44.433-06:00Best Web Hosting<span class="redtext14bold">10 Reasons Why PowWeb Is Right For You!</span><br><br><br /><img src="http://www.powweb.com/powweb-images/bestvalue.gif" width="48" height="48" align="left"></strong><br /> <h4>1. Best Value For Your Money</h4><br /> Our <a href="http://www.powweb.com/PowWeb/OnePlan/Detail">one plan</a> 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. <br><br /> <br><br /> <br /> <h4><img src="http://www.powweb.com/powweb-images/trustedcompany.gif" width="48" height="48" align="left">2. Testimonials Galore</h4><br /> PowWeb has more customer <a href="http://www.powweb.com/PowWeb/Testimonials">testominials</a> than any other host. Evidence of the quality and superior service we prove, the testimonials offer first hand feedback of our valued customers. <br><br /> <br><br /> <br /> <h4><img src="http://www.powweb.com/powweb-images/fastbackbone.gif" width="48" height="48" align="left">3. Fast Network/Server Backbone Connection</h4><br /> Our servers are connected to the internet at <a href="http://www.powweb.com/PowWeb/Technology/Network">lightning speed</a>! 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.<br><br /> <br><br /> <br /> <h4><img src="http://www.powweb.com/powweb-images/loadbalancedservers.gif" width="48" height="48" align="left">4. Load Balanced Servers</h4> <br /> Take advantage of the latest technology. Thanks to our "<a href="http://www.powweb.com/PowWeb/Technology/Overview">load balanced</a>"<br><br /> 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! <br><br /> <br><br /> <h4><img src="http://www.powweb.com/powweb-images/proprietarysoftware.gif" width="48" height="48" align="left">5. We Use Our Own Hardware & Proprietary Software</h4><br /> 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.<br /> <br><br /> <br> <br /> <h4><img src="http://www.powweb.com/powweb-images/largestonlinecommunity.gif" width="48" height="48" align="left">6. Largest Online Community</h4><br /> We operate one of the <a href="http://forum.powweb.com" target="_blank">largest communities</a> 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.<br /> <br><br /> <br> <br /> <h4><img src="http://www.powweb.com/powweb-images/buildgrowandprofit.gif" width="48" height="48" align="left">7. Build, Grow & Profit!</h4><br /> 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 <a href="http://resources.powweb.com" target="_blank">Resource Center</a>, <a href="http://freelance.powweb.com" target="_blank">FreeLance Marketplace</a> and our <a href="http://forum.powweb.com" target="_blank">Community Forum</a>.<br><br /> <br><br /> <br /> <h4><img src="http://www.powweb.com/powweb-images/friendlytechsupport.gif" width="48" height="48" align="left">8. Friendly Technical Support</h4><br /> Your website(s) will be in <a href="http://www.powweb.com/PowWeb/CustomerCare">good hands</a> with PowWeb. We provide 24/7 Email support, Toll-Free phone support, 24/7 Live Chat Room.<br><br /> <br><br /> <br /> <h4><img src="http://www.powweb.com/powweb-images/upgrades.gif" width="48" height="48" align="left">9. Upgrades</h4><br /> 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.<br><br /> <br><br /> <br /> <h4><img src="http://www.powweb.com/powweb-images/satisfactionguarantee.gif" width="48" height="48" align="left">10. Satisfaction Guarantee</h4><br /> Keeping our <a href="http://www.powweb.com/PowWeb/Testimonials">customers happy</a> 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!<br /> <span class="padding5"><br /> </span>Unknownnoreply@blogger.com7tag:blogger.com,1999:blog-18902896.post-1146094961275133422006-04-26T17:39:00.000-06:002006-04-26T17:42:41.580-06:00Windows Command Prompt - 3 Cool TipsMany 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.<br /><br /><strong><span style="color:#ff9900;">(1) Give title to the command prompt<br /></span></strong><br />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.<br /><br /><strong>title <your_title></strong><br />like<br /><strong><span style="color:#6666cc;">C:\>title OneSmartClick.com</span></strong><br />will override the default title by 'OneSmartClick.com'<br /><br /><span style="color:#ff9900;"><strong>(2) Browse command History (Doskey feature) through F7</strong><br /></span><br />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.<br /><br /><strong><span style="color:#ff9900;">(3) Colorize the Command Prompt</span></strong><br /><br />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)<br /><br /><strong>color <hex><hex></strong><br /><br />e.g.<br /><strong><span style="color:#6666cc;">C:\>color 5e</span></strong><br /><br />Sets background to 'Purple' and foreground to 'Light Yellow'. Use 'color -help' to check hex digits for colors.<br /><br /><a href="http://www.onesmartclick.com/programming/batch-files.html"><strong><span style="color:#9999ff;">Visit my Windows Batch Programming Page for cool tips</span></strong> </a><br /><br />(C) Prashant N Mhatre (OneSmartClick.Com)<br /><br /><a href="http://www.onesmartclick.com/interviews/interviews.html"><strong><span style="color:#9999ff;">IT Interview questions / Tips page</span></strong></a><br /><strong><span style="color:#9999ff;"></span></strong><br /><a href="http://www.onesmartclick.com/exams/gre-gmat-tofel-sat.html"><strong><span style="color:#9999ff;">GRE/GMAT/TOFEL/SAT Links</span></strong></a><br /><strong><span style="color:#9999ff;"></span></strong><br /><a href="http://www.onesmartclick.com/engineering/engineering.html"><strong><span style="color:#9999ff;">Mechanical, Chemical, Computer, Electrical, Electronics Engineering Page</span></strong></a>Unknownnoreply@blogger.com8tag:blogger.com,1999:blog-18902896.post-1146002119609889372006-04-25T15:53:00.000-06:002006-04-25T15:55:19.940-06:0015 Exercises for Learning a new Programming Language15 Exercises for Learning a new Programming Language by: Prashant N Mhatre<br /><br />I'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.)<br /><br /><br />First of all, get familiar with Compiler, compiler option, editor shortcuts or integrated<br />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.<br /><br /><br />To grasp basics of a new language quickly, here are the exercises I use. Remember some programs may not good for beginners.<br /><br /><br />(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).<br /><br />(2) Fibonacci series, swapping two variables, finding maximum/minimum among a list of numbers.<br /><br />(3) Accepting series of numbers, strings from keyboard and sorting them ascending, descending order.<br /><br />(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...)<br /><br />(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)<br />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)<br /><br />(6) Scientific calculator supporting addition, subtraction, multiplication, division, square-root, square, cube, sin, cos, tan, Factorial, inverse, modulus<br /><br />(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)<br /><br />(8) Open a text file and convert it into HTML file. (File operations/Strings)<br /><br />(9) Time and Date : Get system time and convert it in different formats 'DD-MON-YYYY', 'mm-dd-yyyy', 'dd/mm/yy' etc.<br /><br />(10) Create files with date and time stamp appended to the name<br /><br />(11) Input is HTML table, Remove all tags and put data in a comma/tab separated file.<br /><br />(12) Extract uppercase words from a file, extract unique words<br /><br />(13) Implement word wrapping feature (Observe how word wrap works in windows 'notepad')<br /><br />(14) Adding/removing items in the beginning, middle and end of the array.<br /><br />(15) Are these features supported by your language: Operator overloading, virtual functions, references, pointers etc.<br /><br />Is there something called 'namespace / package / module' supported by your language? (Name mangling) - Read More on this<br /><br /><strong><span style="color:#ff9966;">About The Author</span></strong><br /><strong><span style="color:#ff9966;"></span></strong><br />Prashant N Mhatre<br /><br />I mainly developed software for Stock Markets and Chemical Instrustries. To learn more about programming, you could refer to the Programming page I maintain.<br /><a href="http://www.onesmartclick.com/programming/programming.html" target="new">http://www.onesmartclick.com/programming/programming.html</a><br />Also Engineering page<br /><a href="http://www.onesmartclick.com/engineering/engineering.html" target="new">http://www.onesmartclick.com/engineering/engineering.html</a><br /><a href="mailto:prashant_n_mhatre@yahoo.com">prashant_n_mhatre@yahoo.com</a>Unknownnoreply@blogger.com117tag:blogger.com,1999:blog-18902896.post-1140966703525206262006-02-26T08:10:00.000-07:002006-02-26T08:15:10.910-07:00Web Designing - Useful Tutorials<p><br /><strong><span style="color:#ff6600;">Web Design - Useful Tutorials</span></strong> </p><p><a href="http://mhatrep.e14050912.hop.clickbank.net/" target="_blank">One Hour Html</a> - Learn the design language of the web, HTML in just 60 minutes. </p><p><br /><a href="http://mhatrep.iwzone.hop.clickbank.net/" target="_blank">Become An Expert Web Designer! </a>- Video tutorials and stunning templates show you how to create your own websites and graphics from scratch in the next hour! </p><p><a href="http://mhatrep.ibookshop.hop.clickbank.net/" target="_blank">Dreamweaver Made Simple !</a> - Dreamweaver Interactive Video Tutorial and eBook</p><p><a href="http://mhatrep.dwhelp.hop.clickbank.net/" target="_blank">Step By Step Websites In 3-6 Hours</a> - Easy guide to creating your Own customized, money-making website with Dreamweaver 8, Mx, or Mx 2004, and more. </p><p><br /><a href="http://mhatrep.spearce000.hop.clickbank.net/" target="_blank">Photoshop Master</a> - Master Photoshop with these Easy Tutorials </p><p><br /><a href="http://mhatrep.illytips.hop.clickbank.net/" target="_blank">Learn Adobe Illustrator</a> - Start Learning Illustrator Right Now?! </p><p><br /><a href="http://mhatrep.tallman46.hop.clickbank.net/" target="_blank">The Photoshop Companion: Industrial Strength Tools and Techniques</a> - 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 </p><p><br /><a href="http://mhatrep.freevideo.hop.clickbank.net/" target="_blank">The Ultimate Guide to Free Video Editing Software</a> - The Ultimate Guide to Free Video Editing Software!! </p><p><br /><a href="http://mhatrep.lonex.hop.clickbank.net/" target="_blank">15,000 Mb Hosting For $4.95/mon</a> - 4.95 web hosting, Free domain registration! Free setup and online website builder included. </p><p><br /><a href="http://mhatrep.eclaires.hop.clickbank.net/" target="_blank">Website Workshop</a> - Video Training and Eductation for Website Building And Internet Marketing. </p><p><br /><a href="http://mhatrep.1template.hop.clickbank.net/" target="_blank">OneTemplate.com</a> - OneTemplate is a versatile web template designed with longterm maintenance in mind. </p><p><br /><a href="http://mhatrep.h2564rt5.hop.clickbank.net/" target="_blank">How To Master Css (Cascading Style Sheet)</a> - eBook on How To Master Css. Step-by-step Guide, Including Training Videos. </p><p><br /><a href="http://mhatrep.babyweb.hop.clickbank.net/" target="_blank">The Million Dollar Script</a> - The hottest new idea in internet advertising in years! </p><p><br /><a href="http://mhatrep.rawkindaw.hop.clickbank.net/" target="_blank">WebMaster Media Maker</a> - Create Streaming Audio and Video with Media players that do not require a streaming media server. </p><p><br /><a href="http://mhatrep.artsyst87.hop.clickbank.net/" target="_blank">The Article System 2.0</a> - Instantly add targeted content to your website. Create pages that search engines will index to boost your traffic and profit! </p><p><br /><a href="http://mhatrep.article.hop.clickbank.net/" target="_blank">The Article Money System</a> - Drive massive amounts of free traffic to your website & create hundreds of back links around the web with this new Seo program!<br /></p>Unknownnoreply@blogger.com21tag:blogger.com,1999:blog-18902896.post-1140923844376594872006-02-25T20:08:00.000-07:002006-02-25T20:17:24.453-07:00Useful Windows Utitilities<strong><span style="color:#ff6600;">Pixie - The Color Picker</span></strong><br /><br />Pixie 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.<br /><br /><a href="http://www.nattyware.com/pixie.html">http://www.nattyware.com/pixie.html</a><br /><br /><strong><span style="color:#ff6600;">PDF reDirect - The free PDF Creator alternative to pdf995, cutepdf and freepdf</span></strong><br /><br />PDF reDirect will generate PDF files from any application easily. We can append to an existing PDF file<br /><br /><a href="http://www.exp-systems.com/PDFreDirect/">http://www.exp-systems.com/PDFreDirect/</a>Unknownnoreply@blogger.com11tag:blogger.com,1999:blog-18902896.post-1140923200873422072006-02-25T20:00:00.000-07:002006-02-25T20:06:44.410-07:00Free FTP and Telnet Clients<strong><span style="color:#ff6600;">FileZilla - FTP client</span></strong><br /><br />FileZilla 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.<br /><br /><a href="http://filezilla.sourceforge.net/">http://filezilla.sourceforge.net/</a><br /><br /><br /><strong><span style="color:#ff6600;">dtelnet: a free Telnet Client for Windows 16/32</span></strong><br /><br />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.<br /><br /><a href="http://dtelnet.sourceforge.net/">http://dtelnet.sourceforge.net/</a><br /><br /><strong><span style="color:#ff6600;">SmartFTP</span></strong><br /><br />The free secure FTP client for Windows.<br /><br /><a href="http://www.smartftp.com/">http://www.smartftp.com/</a>Unknownnoreply@blogger.com10tag:blogger.com,1999:blog-18902896.post-1140922698556056462006-02-25T19:50:00.000-07:002006-02-25T19:58:18.606-07:00Testing - Test Automation Tools<strong><span style="color:#ff6600;">Regression Testing - Mercury WinRunner</span></strong><br /><br />Regression testing with Mercury's WinRunner software offers your organization apowerful tool that captures, verifies, and replays user interactions ...<br /><br /><a href="http://www.mercury.com/us/products/quality-center/functional-testing/winrunner/">http://www.mercury.com/us/products/quality-center/functional-testing/winrunner/</a><br /><br /><br /><strong><span style="color:#ff6600;">Mercury LoadRunner</span></strong><br /><br />Load testing from Mercury includes the load testing software LoadRunner, the industry-standard performance testing product for predicting system behavior ...<br /><br />With LoadRunner, you can:<br /><ul><li>Obtain an accurate picture of end-to-end system performance. </li><li>Verify that new or upgraded applications meet specified performance requirements. </li><li>Identify and eliminate performance bottlenecks during the development lifecycle. </li></ul><a href="http://www.mercury.com/us/products/performance-center/loadrunner/">http://www.mercury.com/us/products/performance-center/loadrunner/</a><br /><br /><br /><strong><span style="color:#ff6600;">Mercury TestDirector</span></strong><br /><br />Using TestDirector, multiple groups throughout your organization can contribute to the quality process:<br /><ul><li>Business analysts define application requirements and testing objectives</li><li>Test managers and project leads design test plans and develop test cases </li><li>Test automation engineers create automated scripts and store them in the repository </li><li>QA testers run manual and automated tests, report execution results, and enter defects </li><li>Developers review and fix defects logged into the database Project managers create application status reports and manage resource allocation </li><li>Product managers decide whether an application is ready to be released. </li></ul><p><a href="http://www.mercury.com/us/products/quality-center/testdirector/">http://www.mercury.com/us/products/quality-center/testdirector/</a></p><p><strong><span style="color:#ff6600;">Expect</span></strong></p><p>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. </p><p><br />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.</p><p><a href="http://expect.nist.gov/">http://expect.nist.gov/</a></p><p> </p>Unknownnoreply@blogger.com15tag:blogger.com,1999:blog-18902896.post-1140922069116644752006-02-25T19:47:00.000-07:002006-02-25T19:47:49.356-07:00Best Editors for Programmers<strong><span style="color:#ff6600;">EditPlus Text Editor</span></strong><br /><br />EditPlus 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.<br /><br /><a href="http://www.editplus.com/">http://www.editplus.com/</a><br /><br /><br /><strong><span style="color:#ff6600;">EditPad™ Pro - Mighty Fine Text Editor</span></strong><br /><br />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.<br /><br /><a href="http://www.editpadpro.com/">http://www.editpadpro.com/</a><br /><br /><br /><strong><span style="color:#ff6600;">TextPad - the text editor for Windows</span></strong><br /><br />TextPad is an award winning text editor for Windows. Download a free evaluation copy, to discover the powerful features that will increase your productivity ...<br /><br /><a href="http://www.textpad.com/">http://www.textpad.com/</a><br /><br /><br /><a class="l" onmousedown="return clk(this.href,'res','1','&sig2=GOnuzyrNjJfZGTDNLSFWPA')" href="http://www.textpad.com/"></a>Unknownnoreply@blogger.com12