• submit to reddit
Chris Smith01/24/12
2465 views
0 replies

Seeing Double: How Ruby Shares String Values

How many times do you think Ruby allocates memory for the “Lorem ipsum…” string while running this code snippet?str = "Lorem ipsum dolor sit amet, consectetur adipisicing elit" str2 = str...or what about while running this snippet?str =...

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.

Max De Marzi01/24/12
6657 views
0 replies

Graph Visualization and Neo4j

So far we’ve learned how to get Neo4j up and running with Neography, how to find friends of friends and degrees of separation with the Neo4j REST API and a little bit of the

Willie Wheeler01/23/12
6253 views
2 replies

Closed loops - the secret to collecting configuration management data

Hi all, Willie here. In my last post, How NOT to collect configuration management data, I gave a quick rundown of some losing CM data approaches that I and others have attempted in the past. Most of these approaches were variants of asking people for...

Mitch Pronschinske01/23/12
9207 views
0 replies

Sh*t Project Managers Say

Just a few things you may hear from your everyday project manager...

Swizec Teller01/22/12
4902 views
2 replies

Are you a boy scout coder?

The Boy Scouts have a rule: “Always leave the campground cleaner than you found it.” If you find a mess on the ground, you clean it up regardless of who might have made the mess. /../ the original form by Robert Stephenson Smyth Baden-Powell, was...

Daniel Doubrovkine01/22/12
3624 views
0 replies

Sorting Tables in Rails with Mongoid

Sorting tables in Rails is a common problem. It must have been done before, right? In fact it has been done so many times that it’s really hard to find anything that “just works”.  Turned out to waste a lot of time of at least two people with...

Swizec Teller01/20/12
16999 views
18 replies

DZone Top Article of 2011: Programmers are f***ing lazy

With the possible exception of philosophers, programmers are the laziest bunch of people I know. It seems like everyone else I speak to has some sort of labor intensive profession. Think about it, biologists do all those experiments … giving a drug to...

Patrick Debois01/19/12
4544 views
0 replies

Monitoring Wonderland Survey - Moving up the stack Application and User metrics

While all the previously described metric systems have easy protocols, they tend to stay in Sysadmin/Operations land. But you should not stop there. There is a lot more to track than CPU,Memory and Disk metrics. This blogpost is about metrics up the stack:...

Tony Russell-rose01/19/12
10723 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.

Mitch Pronschinske01/18/12
8033 views
0 replies

Amazon's DynamoDB Returns as a Managed, Hosted NoSQL Service

DynamoDB is back.  This was the word today out of Amazon sending shockwaves through the development world.  If the days of cheap cloud-based NoSQL databases weren't here already, they certainly are now.  We expect this announcement to have serious...

John Esposito01/18/12
22316 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...

Anders Karlsson01/18/12
5002 views
2 replies

Database Innovation, Pleeease! (NoSQL is not really disruptive)

I think you have heard me say it before, but in this case I think repetion is needed: We should be much more innovative in the database world. And no, I am not talking NoSQL here, not at all. For all the good things with the NoSQL technologies and the...

Stoimen Popov01/17/12
7134 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...

Larry Franks01/17/12
1415 views
0 replies

Testing Ruby Applications on Windows Azure, Part 2: Output to File

In part 1, I presented an overview of testing on Windows Azure. One thing that I missed in the original article is that while there’s no testing framework for Ruby that exposes a web front-end, it’s perfectly possible to have your test results saved...