background preloader

Programming learning and tips

Facebook Twitter

Information, tutorials and tips on programming language and practices.

jGuru: Fundamentals of the JavaMail API. Short Course By jGuru [ About This Short Course | Exercises ] Course Outline Introducing the JavaMail API The JavaMail API is an optional package (standard extension) for reading, composing, and sending electronic messages.

jGuru: Fundamentals of the JavaMail API

You use the package to create Mail User Agent (MUA) type programs, similar to Eudora, Pine, and Microsoft Outlook. The JavaMail API is designed to provide protocol-independent access for sending and receiving messages by dividing the API into two parts: The first part of the API is the focus of this course. Reviewing Related Protocols Before looking into the JavaMail API specifics, step back and take a look at the protocols used with the API. You will also run across NNTP and some others.

The Simple Mail Transfer Protocol (SMTP) is the mechanism for delivery of email. POP stands for Post Office Protocol. Brainstorm and mind map online. JSONPath Expression Tester. MySQL MD5 and Java MD5 not equal. Large collection of Free Microsoft eBooks for you, including: SharePoint, Visual Studio, Windows Phone, Windows 8, Office 365, Office 2010, SQL Server 2012, Azure, and more. - Microsoft SMS&P Partner Community Blog - By Eric Ligman.

Throughout the year I try to share resources and information with you that I think will be helpful for you.

Large collection of Free Microsoft eBooks for you, including: SharePoint, Visual Studio, Windows Phone, Windows 8, Office 365, Office 2010, SQL Server 2012, Azure, and more. - Microsoft SMS&P Partner Community Blog - By Eric Ligman

Often times these resources will include links to free eBooks that we make available on a variety of topics. Today, I thought I would post a large collection of eBooks for you here so that you can find them in one place and consume them as you see fit. Also, if you find this list helpful, please share it with your peers and colleagues so that they too can benefit from these resources. Due to the incredible popularity of this post, I’ve added a second post on even MORE free Microsoft eBooks and Resource Kits available for you, in case you are interested.

Diving into PHP: Day 2. Central Dogma (molecular biology) "transcription and translation" 50 Must-read Books on Web Development. Main page - Introduction to Genetic Algorithms - Tutorial with Interactive Java Applets. These pages introduce some fundamentals of genetic algorithms.

Main page - Introduction to Genetic Algorithms - Tutorial with Interactive Java Applets

Pages are intended to be used for learning about genetic algorithms without any previous knowledge from this area. Only some knowledge of computer programming is assumed. You can find here several interactive Java applets demonstrating work of genetic algorithms. As the area of genetic algorithms is very wide, it is not possible to cover everything in these pages. But you should get some idea, what the genetic algorithms are and what they could be useful for. Now please choose next to continue or you can choose any topic from the menu on the left side.

There are translations of these pages available as well - Portuguese one (original mirror here) by Hermelindo Pinheiro Manoel, Japanese one by Ishii Manabu and Bulgarian one by Todor Dimitrov Balabanov. You can also check recommendations for your browser or read about the background of these pages. Automatic testing with Jubula. Eclipse Jubula is a new addition to the Eclipse universe.

Automatic testing with Jubula

It’s a functional UI testing tool that allows you to specify and run tests.Jubula consists of plug-ins for an IDE and a standalone RCP application. In this tutorial we will create a simple RCP java product and then we’ll use Jubula testing tool to execute some automated tests. First we will create a minimal RCP application, using the Plug-in Project creation Eclipse Wizard.

The next step will consist into setup the Jubula environment and the AUT Agent to link the application with jubula The final step will be create some recorded tests and play them with Jubula. The result is a simple suite of tests that allow us to automatically run our tests saving our time. Step 1: Setup Environment First we have to setup the environment, downloading the Eclipse for Tester version: Eclipse for Testers (Indigo Packages) The Eclipse Jubula Download And Jubula Standalone application from: The Jubula StandAlone Download Step 3: Create the Product. Apache Ant Demystified - Parts 1 and 2. One of the principles of good software engineering is the daily build.

Apache Ant Demystified - Parts 1 and 2

If you build your software every day then it acts as a barometer, showing the state of the project. If something’s broken, it gets noticed faster, so it gets fixed faster. The daily build becomes the heartbeat of the project. These are the reasons why Microsoft builds the five gigabytes of Windows source code every day, even though it takes twelve hours — on very powerful and expensive servers — to do so.

As you might imagine, in order to be able to perform daily builds, the build process has to be automatic and repeatable. [Infographic] PHP vs. Python vs. Ruby. Udemy has put together an infographic that compares Ruby, PHP and Python.

[Infographic] PHP vs. Python vs. Ruby

This looks (briefly) at the history, popularity, ease of use, demand for programmers, benchmarks and more for each language. If you're job-hunting, Udemy says that you probably want to know PHP above Ruby or Python. According to Udemy, Python is the "most-discussed" language, followed by PHP and Ruby. The rankings come from IEEE Spectrum's analysis of IRC discussions. Udemy also looks at the TIOBE Index, where PHP outranks Ruby and Python.