• submit to reddit
Bas De Nooijer01/10/12
1 replies

Solr select query GET vs POST request

In most cases a GET request is used to send select queries to Solr. This is how it’s done in most examples, it’s easy to test in the browser and easy to implement. However, Solr also supports POST requests for select queries. This can for instance be...

Giorgio Sironi01/10/12
0 replies

Object-oriented Clojure

Clojure is a LISP dialect, and as such a functional language based on a large set of functions and a small set of data structures that they operate with.However, it is possible to implement classes and object in Clojure, with constructs well-supported in the...

Gareth Rushgrove01/10/12
0 replies

Talking To Jenkins From Campfire With Hubot

In what turned out to be a productive holiday hacking with languages I’d not used before, I got round to writing some coffeescript on node.js. This was more to do with scratching a personal itch that pure experimentation. I had a play with Janky ...

Andrey Prikaznov01/10/12
0 replies

HTML5 Game Development – Lesson 6

This is our next game development article. We continue a series of articles on game development in HTML5 using canvas. Today this is a quite complete game example – it will reincarnate an old computer game – Battle City. I will teach you to use...

Stoimen Popov01/10/12
1 replies

Algorithm of the Week: Data Compression with Run-length Encoding

No matter how fast today’s computers and networks are, the users will constantly need faster and faster services. To reduce the volume of the transferred data we usually use some sort of compression. That is why this computer sciences area will be always...

Chris Smith01/09/12
0 replies

3 Shiny New Toys for Redis

It’s a new year, and already the Redis community is hard at work developing some new and very cool tools to make Redis work for you.  Often described as “memchached on steroids,” Redis runs atomic operations on keys containing everything from strings...

Terrence Ryan01/09/12
1 replies

Circular Button with Photo Mask Using CSS

I'm currently working on porting Finicky over to HTML5 as a training exercise for building real applications (as opposed to more demoware) with HTML5 for mobile. It's going fairly well, but there was one piece of UI that I was really worried about. It...

Emil Stenström01/09/12
0 replies

Partial XMLHttpRequest responses?

We all know how to make an AJAX request, and fetch some data. But as soon as you need to fetch data incrementally, have the server push data to you, you have to resort to all sorts of complicated stuff. Websockets; with all their different versions and...

Dhananjay Nene01/09/12
1 replies

Functional Programming with Python – Part 1

Lately there has been a substantial increase in interest and activity in Functional Programming. Functional Programming is sufficiently different from the conventional mainstream programming style called Imperative Programming to warrant some discussion on...

Giuseppe Vettigli01/09/12
0 replies

Fixed point iteration

A fixed point for a function is a point at which the value of the function does not change when the function is applied. More formally, x is a fixed point for a given function f if

Giorgio Sironi01/09/12
0 replies

Practical PHP Refactoring: Push Down Field

As happens often for a method, a field may be present in the base class of a hierarchy even if it is actually used only in some of the subclasses. This scenarion can be the result of the evolution of the code from some previous state where that field was...

Axel Rauschmayer01/09/12
0 replies

JavaScript inheritance by example

This blog post illustrates several JavaScript inheritance topics via an example: We start with naive implementations of a constructor Point and its sub-constructor ColorPoint and then improve them, step by step.

Eli Bendersky01/09/12
1 replies

New Year’s Python Meme 2011

In this post, active Python blogger Eli Bendersky reflects on the most interesting developments in the Python community from 2011 by following a fun Python memeFollowing Tarek’s lead:   1. What’s the coolest Python application, framework or library...

Antonio Santiago01/09/12
0 replies

Presentation tools in the browser

With the arrival of HTML5+C33 the browsers are getting more attention because the new possibilities. One example of the possibilities are the proliferation of frameworks, tools and libraries to create HTML presentations to run in the browser. No need to...