Programming

Programming tutorials, languages, development tools, version control, and coding best practices.

Programming

Test Early » Hudson - Tips and Tricks

| Test Early » Hudson - Tips and Tricks | Hudson is an open source CI server that is by far the easiest one to configure. Second to ease of use is Hudson’s impressive plug-in framework, which makes it easy to add features. For instance, Hudson has a plug-in for tracking FindBugs issues, PMD issues, and CheckStyle issues over time as well as code coverage. It also trends test results from JUnit, as well as build results and corresponding execution times. In spite of all these cool features, we had to find ways to get around some common issues we faced at work using Hudson.

1 min read
Programming

Zero to Continuous Integration with Windmill | Adam Christian

| Zero to Continuous Integration with Windmill | Adam Christian | Following ‘automation’ and ‘continuous integration’ in the micro blogging world I have seen a major influx in people being super interested in functionally automating their web apps. I have seen a slew of things about Grid, and Selenium, and people hacking on Watir so I decided to show you from the ground up how incredibly easy it is to get automated test running setup using Windmill and Hudson. I am not going to walk you through every detail, this is much more high level but I do plan to start a ‘continuous integration’ page on getwindmill.com in the near future for those kinds of details.

1 min read
Security

Easy Automated Web Application Testing with Hudson and Selenium » Vitamin Features »

| Vitamin Features » Easy Automated Web Application Testing with Hudson and Selenium | What will you get out of this article? Our set-up achieves the following:

  • It checks our Subversion repository every hour to see if anyone has committed any changes.
  • If they have, it updates the project from Subversion and builds it.
  • It then creates a clean version of our application database, loads in reference data and deploys the application on our app server.
  • A job is triggered that runs through a series of tests in a remotely-controlled web browser on the fresh application.
  • Anything that deviates from the accepted norm is logged and screenshots of the web browser are taken.
  • Screenshots of the browser are also taken for key pages of the site for later checking by a human.
  • If any of the tests fail, the developers responsible for the changes are notified by email of the problems.
  • Our issue tracker is updated with any issues that were fixed in the build.

1 min read
Programming

The Power of GIT | Innovation On The Run

| The Power of GIT | Innovation On The Run | Started working with git for the first time last week and I am really impressed at how powerful the tool is.  I’ve been interested in using a distributed version control system like git, darcs, or mercurial for a while, but I have been turned off on actually making the move because of the lack of integration with these version control systems and other software (bug tracking, automated build software, etc.).  Also, as a manager, I did not want to have to retrain a whole team of developers on a new version control system. | But enter git-svn which allows me to use git locally and Subversion for the distributed repository.  So now I get the best of both worlds, I can make my local branches and commits, but I don’t have to retrain my team or worry about integration as we still have all of the Subversion interfaces for interacting with the repository.

1 min read
Programming

Linux / UNIX: Python programming tutorial for system administrators

| Linux / UNIX: Python programming tutorial for system administrators | Generally I use Perl and Shell script for automation or to make system administration easier for me. Python is an interpreted, interactive, object-oriented programming language that combines remarkable power with very clear syntax. Python runs on Windows, Linux/Unix, Mac OS X, OS/2, Amiga, Palm Handhelds, and Nokia mobile phones.

You can easily adopt Python to manage UNIX and Linux systems while incorporating concepts of good program design. Python is an easy-to-learn, open source scripting language that lets system administrators do their job more quickly. It can also make tasks more fun:

1 min read
Programming

Google Web Toolkit - Build AJAX apps in the Java language

| Google Web Toolkit - Build AJAX apps in the Java language | Google Web Toolkit (GWT) is an open source Java software development framework that makes writing AJAX applications like Google Maps and Gmail easy for developers who don't speak browser quirks as a second language. Writing dynamic web applications today is a tedious and error-prone process; you spend 90% of your time working around subtle incompatibilities between web browsers and platforms, and JavaScript's lack of modularity makes sharing, testing, and reusing AJAX components difficult and fragile.

1 min read
Programming

PHP 101: PHP For the Absolute Beginner

| PHP 101: PHP For the Absolute Beginner | This area is intended for everyone new to PHP. It opens with a series of informal, entertaining tutorials written by Vikram Vaswani, founder and CEO of Melonfire. These tutorials build on a previously-published 5-part series which has now been updated and extended to embrace PHP 5, making parts of it suitable for those of you who already have worked with PHP 4 in the past.

1 min read
Programming

CNET's Ruby on Rails Toolbox

Find out all the open source servers, plugins, libraries, and other tools used by two of CNET's Ruby on Rails powered sites, Chow.com and Chowhound.

read more | digg story \<http://digg.com/programming/CNET_s_Ruby_on_Rails_Toolbox\>__

1 min read
Programming

Python 101 cheat sheet

This is a great Python cheat sheet.

read more | digg story \<http://digg.com/programming/Python_101_cheat_sheet\>__

1 min read
Programming

download.com - Best Free Utilities

Reviews and free downloads at Download.com

The best things in life may be free, but most software isn't. Limited functionality, annoying adware, and pesky nag screens mean even most "free" software isn't actually without cost.

Anyone who has explored the world of free utilities knows the woes of saving a few bucks. But have heart, ye short of dollars; when it comes to boosting performance, snagging spyware, or protecting your privacy, Download.com has software that debunks that old saying about the mythical free lunch. If you need a beefy, dynamic FTP client, SmartFTP is tough to beat. Does your PC sound as if it's about to go into orbit? Look under the hood with SpeedFan. Ridding yourself of gnarly spyware and the associated headaches won't cost you a penny with HijackThis, Microsoft AntiSpyware, or Spybot - Search & Destroy. When it comes to utilities, here are 10 of our frugal favorites.

1 min read
Programming

Google on your cell phone.

Google SMS (Short Message Service) enables you to easily get answers to specialized queries from your mobile phone or device. Send your query as a text message and get phone book listings, dictionary definitions, product prices and more. Just text. No links. No web pages. Just the answers you're looking to find. Hopefully!

Here's how:

  1. Enter your query as a text message. See some sample queries.
  2. Send the message to the US shortcode 46645 (GOOGL on most phones).
  3. Receive a text message (or messages) with your results, usually within a minute. Results may be labeled as "1of3", "2of3", etc.
  4. To get Google SMS help info sent directly to your phone, send the word 'help' as a text message to 46645.

To get business listings try something like:

2 min read