Entradas

Mostrando las entradas etiquetadas como java

Liferay 6.1 + SOLR 4 + Zookeeper = Massive scalability

Imagen
In different projects we have been working to configure Liferay+SOLR in a Active/Active cluster with HA . After trying all the available alternatives we decided to move a step forward, and to integrate SOLR with zookeeper instead of the Master/Slave recommended solutions. I've been using this configuration since SOLR 3.X and Liferay 5.2.X but with SOLR 4.X this solution has become unbeatable and i think it's time to give back to the community the patch we have been testing and using. In this article you wil find: 1. The purpose of this fork/code 2. How to setup a cloud with Zookeeper + SOLR 4.0 3. How to configure the SOLR-WEB Liferay plugin to work with a SOLR cluster based in zookeeper? 1. The purpose of this fork is the compilation of solr-web adapting it to SOLR4.0 and add the classes to connect to a cloud-based zookeeper. Once this compilation you can use the plugin in liferay with SOLR 4.0 . There are three options when installing the server: - A single se...

Cross Compiling Freeling

Why? Well basically i like Freeling, i think is a quite good platform, and i like to use it in Windows. And actually i've seen only two ways to get a win32 version and i said myself, "What the hell!!" if everybody says that's complicated it must be very fun, and this is the main reason, just for fun. http://www.lsi.upc.edu/~nlp/freeling/index.php?option=com_simpleboard&Itemid=55&func=view&id=333&catid=5&limit=6&limitstart=0 How? Well in order to get the binaries prepared for the win32 platform we have to follow those steps: Installing MingW32 Downloading Pcre, Berkeley Database, Boost, Libcfg+, Omlet, Fries and Freeling Cross-Compiling Everything PCRE BDB Boost LIbCFG+ Omlet Fries Freeling Testing and Voila Installing MingW32 First step is to install mingw and the binutils. In ubuntu to do so you should use this command: #sudo apt-get install mingw32 build-essential automake libtool subversion swig After that you can check the d...

Galcon AI Contest

Galcon AI Contest Google y la Universidad de Waterloo han lanzado un nuevo reto, esta vez de Inteligencia Artificial , el del año pasado, consistia en competir jugando al TRON y a juzgar por los videos , el resultado fue muy divertido. El reto consiste en preparar un robot capaz de jugar de forma autónoma al juego Galcon , el juego es bastante sencillo, por lo que preparar la Inteligencia Artificial para poder jugar es razonable. Al ser un juego de estrategia basado en turnos, esta bastante acotado el momento en el que hay que tomar la decisión y además los objetos con los que se trabaja son fáciles de manejar (Planet, PlanetWar y Fleet). Gracias a esa sencillez, se puede concentrar el esfuerzo en la Inteligencia Artificial, haciéndolo más complejo y divertido. ¿Por qué participar en un reto como este ? Porque no sólo sabes jugar a un juego, además eres capaz de hacer software que juega contra otros robots, incluso contra humano , incluso ganar a un humano !!. Además es una buena ...