• submit to reddit
Stoimen Popov02/07/12
7261 views
0 replies

Algorithm of the Week: Data Compression with Prefix Encoding

Prefix encoding, sometimes called front encoding, is yet another algorithm that tries to remove duplicated data in order to reduce its size. Its principles are simple, however this algorithm tends to be difficult to implement. The good thing is that this algorithm can be used in many cases once we know the data format in advance. So here are three examples where this algorithm can be very handy.

Austin Kowitz02/03/12
11410 views
40 replies

DZone's Different!

Hello DZoners!My name is Austin Kowitz and I’m a graphic designer at DZone. And you can mostly blame (praise?) me and DZone developer, Ross Jernigan, for what you see currently at DZone. We still have tons of ideas we haven't implemented yet -- but we're...

Jim Bird02/03/12
6585 views
4 replies

Source Code is an Asset, Not a Liability

Many have argued that Source Code is a liability - something you just have to deal with to produce business value. The more code you have the more effort to maintain it, right? Jim Bird argues that none of this changes the fact that Source Code is still an asset.

Judah Johns02/03/12
6723 views
0 replies

Moving from Google App Engine to Jelastic

If you have have used Jelastic, chances are, you have also tried one of our competitors. There are a number of them out there. One of the biggest ones is Google App Engine.

Judah Johns01/31/12
8979 views
0 replies

The Cost of High Availability

Now that you are able to setup session replication in Jelastic for Tomcat, GlassFish and Jetty web servers, you might be interested in how this great feature affects resource usage.

Stoimen Popov01/31/12
8901 views
0 replies

Algorithm of the Week: Data Compression with Relative Encoding

I will show you how you can save space for certain implementations by reducing the amount of characters you are encoding using relative encoding.

Robin Bramley01/30/12
9137 views
0 replies

Grails & Hudson / Jenkins: Monitoring Build Status

There are a number of ways you can monitor the progress of your Grails build: using the Hudson / Jenkins web app; or leveraging the API: from your IDE, bespoke API clients or even your enterprise monitoring client. We’ll look at all of them here and...

Stoimen Popov01/24/12
12239 views
1 replies

Algorithm of the Week: Data Compression with Diagram Encoding and Pattern Substitution

Two variants of run-length encoding are the diagram encoding and the pattern substitution algorithms. The diagram encoding is actually a very simple algorithm.

Tony Russell-rose01/19/12
10724 views
0 replies

Designing Search (Part 1): Search Box Design

This is the first installment in a series of tutorials on creating the right search utility for your use case.  In this part, you will learn how to make the right decisions when picking a design for your search box.

John Esposito01/18/12
22321 views
23 replies

DZone Top Article of 2011: Ask DZ - What's the best programming advice you've ever got?

For example, Travis Griggs' blog post explains some of the best OOP advice he ever received.What is the best piece of advice anyone ever gave you, and why it was so good? Maybe include some particular projects the advice helped you with, or how the advice...

Stoimen Popov01/17/12
7137 views
0 replies

Algorithm of the Week: Data Compression with Bitmaps

In my previous post we saw how to compress data consisting of very long runs of repeating elements. This type of compression is known as “run-length encoding” and can be very handy when transferring data with no loss. The problem is that the data must...

Nirav Assar01/17/12
14711 views
3 replies

Groovy DSL - A Simple Example

Domain Specific Languages (DSLs) have become a valuable part of the Groovy idiom. DSLs are used in native Groovy builders, Grails and GORM, and testing frameworks. To a developer, DSLs are consumable and understandable, which makes implementation more...

Judah Johns01/16/12
5659 views
1 replies

GlassFish Clustering within Jelastic

GlassFish is an open-source application server that can run any Java EE application, providing enterprise level reliability and performance with full clustering and has wide functionality range. Up until now, GlassFish could be used as a separate server...

Robert Diana01/15/12
12872 views
0 replies

DZone Top Article of 2011: 7 Tenets Of Framework Selection

As you develop any application, you will need to choose various tools, libraries and frameworks that you want to integrate into the application. In some cases, this could be a very simple task of choosing the most popular and widely respected tool....

John Fuex01/05/12
19866 views
6 replies

DZone Top Articles of 2011: The Code Sample (The Programmer’s Guide to Getting Hired)

Why you are being asked for a code sample and what it says about the employer. At some point during the developer recruiting process, any hiring manager with the remotest concept of due diligence is going to attempt to get a preview of what to expect from...