• submit to reddit
John Esposito01/03/12
0 replies

JavaScript to Impress: Awesome Presentation Framework in CSS3

Back when I TAed for a class on computers and society, I noticed that student presentations were a lot less boring than usual -- in part because many of the undergraduates took advantage of prezi.com's slick animated presentation app, rather than a simple...

John Esposito01/03/12
0 replies

HTML5 Browser Accessibility Comparison

As the web becomes more and more interactive, developing for accessibility becomes more and more complex.In the past, web developers had to worry relatively little about accessibility: when markup did little more than tell the browser how to format text, the...

John Esposito01/03/12
0 replies

HTML5 Animation: Examples and Code from Simple to Complex

Deep down, animation in HTML5 isn't fundamentally different from any other kind of computer graphics programming. You use math to describe objects, and then to describe alterations of those objects. In HTML5, you'll be doing these calculations in JavaScript,...

Stoimen Popov01/03/12
2 replies

Algorithm of the Week: Interpolation Search

I wrote about binary search in my previous post, which is indeed one very fast searching algorithm, but in some cases we can achieve even faster results. Such an algorithm is the “interpolation search” – perhaps the most interesting of all searching...

Sachin Khosla01/03/12
0 replies

How to: Create a new WordPress user using a PHP function

It’s pretty easy to manage users in WordPress when you are logged into WordPress Dashboard as an Administrator. But what if you want to create a user via a PHP function? The method which we are going to discuss is useful when you are creating a plugin or...

Gordon Dickens01/03/12
24 replies

DZone Top Articles of 2011: Why Java Developers Hate JavaScript

This is the first entry in DZone's series that will revisit the top articles of 2011 throughout the month of January 2012.  As a Java developer, I used to hate JavaScript. At one time I used to say “friends don’t let friends use JavaScript”.

Gonzalo Ayuso01/03/12
0 replies

Working with clouds. Multi-master file-system replication with CouchDB

When we want to work with a cloud/cluster one of the most common problems is the file-system. It’s mandatory to be able to scale horizontally (scale out). We need to share the same file-system between our nodes. We can do it with a file server (samba...

Michael Foord01/03/12
0 replies

Sphinx doctests and the execution namespace

I've finally started work on the documentation for mock 0.8 release, and much of it involves converting the write-ups I did in the blog entries. The mock documentation is built with the excellent Sphinx (of course!) and as many as possible of the examples in...

Giorgio Sironi01/03/12
4 replies

TDD for multithreaded applications

This article describes some practices for test-driving multithreaded and distributed applications written in Java. The example I worked on and we will use is a peer-to-peer application composed of many Nodes (clients) and of a few Supernodes (servers).The...

Giorgio Sironi01/02/12
0 replies

Practical PHP Refactoring: Pull Up Constructor Body

After Pull Up Field and Pull Up Method, we explore today the last of this category of refactorings: Pull Up Constructor Body.The scenario consists of a series of constructors that contain duplication, and are spreaded among a few classes having a common...

Axel Rauschmayer01/02/12
0 replies

The multiple roles of JavaScript objects and arrays

Both objects and arrays play multiple roles in JavaScript. This blog post explains what those roles are.

Mitch Pronschinske01/02/12
0 replies

Solr on EC2

"Cloud computing" is all the rage recently, and Amazon's EC2 is one of the major players. The idea of spinning up a new instance of Solr in...

Eric Genesky01/02/12
0 replies

An Informative PHP and MongoDB Slideshow

Derek Rethans maintains a PHP MongoDB driver for 10gen.  In this slideshow, he describes some of the nuances of MongoDB, with plenty of useful script.  Check out these sample screenshots, and then link to the slideshow here and below.

Tom O'connor01/02/12
0 replies

Desktops as Servers

Personally, I hate the idea of using a desktop as a server in a production environment.  I'm going to define the term "production environment" first. If you've got an environment, any environment where the service provided is relied on by...

A. Jesse Jiryu Davis01/02/12
0 replies

MongoDB profiling hacks

Two interesting things about MongoDB. Primary thing: Mongo introduced a $comment option to queries in version 2.0.0. The comment shows up in the profiler log. Try this on the Mongo shell:> db.setProfilingLevel(2) >...