• submit to reddit
Stoimen Popov12/27/11
1 replies

Algorithm of the Week: Binary Search

The binary search is perhaps the most famous and best suitable search algorithm for sorted arrays. Indeed when the array is sorted it is useless to check every single item against the desired value. Of course a better approach is to jump straight to the...

Andrey Prikaznov12/27/11
0 replies

HTML5 canvas – Custom brush (BezierCurveBrush)

I hope that you still remember when we did our first Paint program with HTML5. Today I have decided to enhance it by adding new additional brush to it. This brush will use ‘bezierCurveTo’ function. As a result we will have an interesting effect; just...

Rafał Kuć12/27/11
0 replies

Explain.solr.pl beta version available

We are pleased to announce, that http://explain.solr.pl is now available for users. Please remember that this is a beta version and will be further developed. If you want to know more details please read the following blog post. Design Currently...

Giorgio Sironi12/27/11
0 replies

Clojure libraries and builds with Leiningen

Leiningen is an automation tool for Clojure projects: while you could in theory continue to use Ant and Maven directly to download JARs dependencies and to run tasks such as the project's test suite, Leiningen allows you to write just Clojure code, and...

Giorgio Sironi12/26/11
0 replies

Practical PHP Refactoring: Pull Up Field

We now enter in the territory of generalizations. It's a natural process, as we add more and more tests, for our code to become more general; but after we have made our test pass, the refactoring phase include many ways to deal with generalization.Refactoring...

John Esposito12/26/11
3 replies

HTML5 Canvas + WebSockets = Multiplayer Space Shooter In Browser

Recently I ran across Rawkets, a slick site taking two emerging web technologies -- HTML5 Canvas and WebSockets -- and combining them in the most obvious way possible: a multiplayer space shooter.Why Canvas? No plugins -- graphical Yes; and why WebSockets?...

Kin Lane12/26/11
0 replies

Quick Walk Through the World of Location & Places APIs

I took a walk through what I am calling the locations and places API landscape today. Most of these APIs I’m familiar with, but as the CityGrid API Evangelist, I’m getting an opportunity to immerse myself into this new local, social mobile world. As I...

Terrence Ryan12/26/11
1 replies

Android Toast-like Alerts in HTML using CSS

One of the little things I like about Android is the "toast." If you are not familiar with the toast, it is the little transparent notice you get that operations are done. The best example is the toast that tells you how long you will have to...

jb j12/26/11
1 replies

Super useful WordPress hacks and snippets

For one of my last posts of the year, I have decided to share with you a list of the most exiting, useful and awesome WordPress hacks and code snippets to make your blogger life easier. Have a great read, and happy coding! Add Google+ button to...

John Esposito12/25/11
2 replies

HowTo: Integrate with Facebook from PHP

Who doesn't want their apps to integrate with Facebook? the second most popular site worldwide, and most popular, bar none, in eight countries (according to Alexa)?Well, Facebook loves PHP, and even offers a PHP SDK for the Facebook API.

John Esposito12/25/11
0 replies

3D Animated Canvas Christmas Tree (Plus: How It Works)

In the spirit of the season, how about a clever Canvas Christmas tree? which looks static like this: but when unleashed on the browser's renderer, rotates beautifully, with shading, in the midst of the falling snow.

Jalpesh Vadgama12/24/11
8 replies

Async file upload with jquery and ASP.NET

Recently before some I was in search of good asynchronous file upload control which can upload file without post back and I have don’t have to write much custom logic about this.

John Esposito12/24/11
0 replies

Tweaking CSS3 Text Shadows: Two Examples

If I had a dime for every time I created a text drop-shadow in Photoshop, I wouldn't have worried about the price. But this seems a little wasteful: drop-shadowing for a living would be like erecting awnings for a living, if Photoshop were a structural...

John Esposito12/24/11
0 replies

Famous Logos in Pure CSS3

So a bunch of pure CSS3 logos isn't as much fun as the South Park CSS3 I posted a few weeks ago -- but it's probably closer to real dev projects, and in some ways more complex.