Sunday, November 25, 2012

Accents in javascripts

In the following link, we can see the codes we have to use to put accents and special characters in javascripts:

http://www.pjb.com.au/comp/diacritics.html

It is extremely easy and useful.

Friday, October 12, 2012

Map-Reduce implementation in Python

Recently I discovered a Python implementation of the Map-Reduce framework.
It is mincemeat.py, and can be found here: https://github.com/michaelfairley/mincemeatpy
The advantage is that it is an only-file implementation and it is quite efficient.
There is an example attached with the downloaded file.
To run it, you need just to execute example.py, which will perform the server tasks.
For each client, just run mincemeat.py specifying the server port (127.0.0.1 by default).

Other implementations of the Map-Reduce pattern in python are:

octopy
hadoopy
dino
mrjob

Sunday, September 30, 2012

Django - User authentication with django-registration

http://stackoverflow.com/questions/6127264/newbie-django-error-templatedoesnotexist-at-accounts-login

https://bitbucket.org/devdoodles/registration_templates/src

Friday, September 28, 2012

NoSQL and MapReduce

NoSQL is a wide variety of database systems that differ of the classical RDBMS based on SQL.

MapReduce is a framework that provides high performance in solving problems in a parallel way of computers, servers, clusters...

Here there is an interesting presentation about NoSQL and MapReduce: http://www.slideshare.net/j_singh/nosql-and-mapreduce

And here a popular NoSQL Databases web page: http://nosql-database.org/

The CAP theorem says that, for a distributed system, it is impossible to simultaneously provide the following guarantees:
  • Consistency
  • Availability
  • Partition tolerance

Sunday, August 5, 2012

Agile methodologies and Rails

I have found a very interesting online course called Software as a Service in which you are introduced to agile methodologies and Rails programming.

It can be followed here: https://www.coursera.org/courses

Here there is information about the course book and other important information (the assignments are thought to be done working in a virtual machine, which is available there also): http://beta.saasbook.info/bookware-vm-instructions