• submit to reddit
Ashwin Rayaprolu08/30/11
0 replies

jsoup HTMLParser and Parsing Dzone Links using CSS Selectors in Java

I was working on a task to parse some of Amazon web-services. There are lots of ways to parse it Using DOM/SAX/Stax .  All of them require some amount of coding. I wanted a quick fix and i finally landed on to JSoup an opensource HTML Parser ( Other html...

Dmitriy Setrakyan08/30/11
0 replies

How about Distributed Queues?

Did you ever wish you could take a data structure you are familiar with and distribute it over grid? For example, why not take java.util.concurrent.BlockingDeque and add something to it on one node and poll it from another node? Or why not have a distributed...

Mark Needham08/30/11
0 replies

The read-only database

The last couple of applications I’ve worked on have had almost completely read only databases where we had to populate the database in an offline process and then provide various ways for users to access the data. This creates an interesting situation with...

Martin Thompson08/30/11
0 replies

False Sharing

Memory is stored within the cache system in units know as cache lines.  Cache lines are a power of 2 of contiguous bytes which are typically 32-256 in size.  The most common cache line size is 64 bytes.   False sharing is a term which applies when threads...

Kapil Viren Ahuja08/30/11
5 replies

TestNG or JUnit

For many years now, I have always found myself going back to TestNG whenever it comes to doing Unit Testing with Java Code. Everytime, I picked up TestNG, people have asked me why do I go over to TestNG especially with JUnit is provided by the default...

Abby Fichtner08/30/11
4 replies

Lean Startup: It Rocks Far More than Agile

Joshua Kerievsky posted this most excellent table illustrating some of the differences between Agile and Lean Startup. I think this is so awesome because it shows how much more real everything is in Lean Startup.

Felipe Oliveira08/30/11
1 replies

Step-by-Step for a Simple Twitter with Play Framework, AJAX, CRUD and Heroku

On August 31st, 2011: I will have the great honor to present our beloved Play Framework at Salesforce's Dreamforce conference here in San Francisco, CA. If you are attending, please feel free to check it out or just stop by to say hello. Thank you Zenexity...

Kai Wähner08/30/11
0 replies

Cloud Integration with Apache Camel and Amazon Web Services (AWS): S3, SQS and SNS

The integration framework Apache Camel already supports several important cloud services (see my overview article at http://www.kai-waehner.de/blog/2011/07/09/cloud-computing-heterogeneity-will-require-cloud-integration-apache-camel-is-already-prepared for...

Dawn Cannan08/30/11
4 replies

Let's not forget what makes a good tester a good tester

In the past year or so, I've spent more time than not trying to find really good "agile testers" to hire. In this search, I have also had many conversations with other people about what I am looking for, what they are looking for in hiring, and...

Marek Rogoziński08/30/11
0 replies

Solr: Data Import Handler – Sharding

Our reader (greetings!) reported a problem with the cooperation of DIH and sharding mechanism. The Solr project wiki, in my opinion, discusses the solution to this issue, but makes it a little hard to get. What is sharding? Sharding means the division of...

Bozhidar Bozhanov08/29/11
13 replies

How to handle project configuration

Every web project needs some environment-specific configurations. Database credentials, root url, smtp settings, to name a few. It’s a recurring question on stackoverflow, and I’ve seen a lot of variations on the topic, and here I’ll describe the one...

Martin Thompson08/29/11
0 replies

Disruptor 2.0 Released

Significantly improved performance and a cleaner API are the key takeaways for the Disruptor 2.0 concurrent programming framework.  This release is the result of all the great feedback we have received from the community.  Feedback is very welcome and...

Juhani Lehtimaki08/29/11
2 replies

Quick UI tip - disabled buttons should be disabled

This is a simple rule: When a button on UI doesn't do anything or user cannot perform the action at that time it should be disabled. It's a good idea to add a message telling that why the button is disabled and how to enable it if it requires an action from...

Ashod Nakashian08/29/11
0 replies

Revisiting OLTP and OLAP

Databases are as ubiquitous as computers. They are often, erroneously, attributed to data-intensive, long-term storage solutions. Yet in reality they are used in one shape or form in most programs. From word processors to media players to web-browsers. All...

Sagar H Ganatra08/29/11
0 replies

Custom validation messages for HTML5 Input elements using the constraint validation API

HTML5 has introduced several input types such as EMAIL, URL, RANGE, SEARCH, DATE, TIME, etc,. Most of the modern browsers have implemented them and are ready to be used in a HTML document. Another exciting feature introduced in HTML5 is the form...