10 Oct 11
Requests allow you to send HEAD, GET, POST, PUT, PATCH, and DELETE HTTP requests. You can add headers, form data, multipart files, and parameters with simple Python dictionaries, and access the response data in the same way. It’s powered by urllib2, but it does all the hard work and crazy hacks for you.
Getting familiar with common uses of lsof
21 Sep 11
Distributed and fault-tolerant realtime computation: stream processing, continuous computation, distributed RPC, and more
A dive into Quake 2’s source code.
20 Sep 11
This Sample Resume Template is a simple and quick way to build a HTML resume.
02 Sep 11
Most people use this web site to get information about a particular number sequence. If you are a new visitor, then you might ask the database if it can recognize your favorite sequence, if you have one.
25 Aug 11
Some help on picking the right NoSQL database.
12 Aug 11
Learn Clojure the Easy Way?
No, there generally isn’t an easy way to learn anything worth learning. To the extent there is an easy way to learn Clojure, that way is simply to use the language to create something you love. You won’t even notice the effort of learning.
28 Jun 11
Visual Cryptography uses two transparent images. One image contains random pixels and the other image contains the secret information. It is impossible to retrieve the secret information from one of the images. Both transparent images or layers are required to reveal the information. The easiest way to implement Visual Cryptography is to print the two layers onto a transparent sheet.
A collection of articles on game mechanics.
17 Jun 11
On methods to make games addictive. And on why they are so effective.
15 Jun 11
“Hello, world. Welcome to the ReadyForZero programming challenge. I have employed 8 bits of CPU and nearly 32KB of random-access memory to devise 3 gray-matter-twisting questions.”
14 Jun 11
How to crack Java’s default random number generator, java.util.Random
- Revenue per customer: How much money you will get from each customer and for what.
- Cost to acquire a customer: How much will it cost you to acquire a customer.
- Cost to serve a customer: How much it will cost you to provide the service to the customer.
11 Jun 11
We keep your address book up-to-date. As soon as you receive an email, we recognize the signatures and update your address book.
Script to run an OpenId server.
Highlights:
- Written in Perl
- Utilizes MySQL
- Written to run in Apache
- Supports multiple users
- Login and user pages are “templates” that are easily customized
- Implements every mandatory message exchange in OpenID 2.0
- Implements much of the OpenID 1.1 specification (“dumb” mode described in the 1.1 spec has not been tested)
- Supports deployments that use HTTP or HTTPS
- Password validation routine is separated from the login page to optionally allow one to use HTTP for identifiers, but HTTPS to actually validate the user password
- Supports both (HMAC|DH)-SHA1 and (HMAC|DH)-SHA256
- Entirely free open source with no licensing restrictions
01 Jun 11
How to redefine the cached values of Integers between -127 and 128 in Java.
19 May 11
Anyone familiar with the book of patterns by the Gang of Four [1] knows that the patterns presented in the book represent elegant solutions that have evolved over time. Unfortunately, extracting these patterns from legacy code is impossible, because nobody knew that they were supposed to be using these patterns when they wrote the legacy code. Hence, this work is a catalog of patterns for the masses. The patterns presented here represent abundant solutions that have endured over time. Enjoy reading the patterns, but please don’t use them!
Examples of using elasticsearch and protovis to provide with useful and good looking visualizations.
14 May 11
Protovis composes custom views of data with simple marks such as bars and dots. Unlike low-level graphics libraries that quickly become tedious for visualization, Protovis defines marks through dynamic properties that encode data, allowing inheritance, scales and layouts to simplify construction.