Code of the NoSQL benchmark I’ve mentioned a couple of days ago — the one comparing Cassandra 0.6.10, HBase 0.20.6, MongoDB 1.6.5, Riak 0.14.0 with some weird results — is now available on GitHub. Read More
Mustache is a framework templating system
Mustache is an Erlang port of the Ruby framework of the same name, originally written by Chris Wanstrath, one of the founders of GitHub. A powerful feature of this type of framework is the ability to write a ‘template’ that you could use in a Rails application and then reuse in an Erlang application with no changes to that file. The ‘view’, which in MVC terms is more like the ‘controller’ would have to be re-written, but this would greatly simplify the work of porting an application, OR simply running a part of application in a different framework for performance reasons. Read More
URL encode in Erlang
AFAIK there’s no URL encoder in the standard libraries exclude edoc_lib:escape_uri. Think I ‘borrowed’ the following code from YAWS or maybe one of the other Erlang web servers Read More
Use custom admin filters in ModelAdmin
ModelAdmin now has a lookup_allowed method which is used to either allow a lookup or raise a SuspiciousOperation exception. Read More
django-stdimage traceback “The ‘%s’ attribute has no file associated with it”
This traceback happening when you check file to __delete__, but file do not exist on file system Read More
Firefox url-bar kiling my time
My Firefox 3 has excruciatingly slow response from the URL bar. It was so slow that I nearly threw my computer out the window. The reason for this slowness is that Firefox has developed a URL bar that is smart enough to remember what you’ve typed in the past, and presents you with matching, relevant options from which to choose when typing strings into the URL/location bar. Read More
Django admin filter by ranges of ages
Adds filtering by ranges of dates birth in the admin filter sidebar Read More
Django admin filter by ranges of dates with calendar
Adds filtering by ranges of dates in the admin filter sidebar. Read More
Tutorial: Developing in Erlang with Webmachine, ErlyDTL, and Riak
3 tutorials by Oliver Reeves Read More
Linux Commands For Shared Library Management and Debugging Problem
If you are a developer, you will re-use code provided by others. Usually /lib, /lib64, /usr/local/lib, and other directories stores various shared libraries. You can write your own program using these shared libraries. As a sys admin you need to manage and install these shared libraries. Use the following commands for shared libraries management, security, and debugging problems. Read More
Comments