Create mule common libraries

Image from A nice story
Mule libraries

Today we will explore how to build our own “batteries” for mule and include it in our applications just like a normal java project.

I found, by working with several customers, that they tend to ignore this capability of Mule ESB and end up in copying around mule xml fragment in all their application forgetting that you can use all the power of Maven and modules even with Mule.

If you are and experienced java developer working since long time with maven this post will probably don’t teach you anything new but I often saw that, due to the easy to use GUI of Anypoint Studio, Mule is often used by several different type of profiles that don’t actually already have an huge experience with maven and/or java and this post targets mainly this audience.Read more

Getting started with Mule Cloud Connect review

muleI’m finally back writing about books once again, something that I honestly like and I should do more often.

First of all let’s go with a disclaimer: The author of this book, Ryan Carter, asked me kindly to review the book giving me this copy for free so I actually didn’t spent any money for it.

I tried, as always, to be as objective as possible even if sometime I tend to empathize with authors as I understand well what they go trough when writing a book.

This review will be quite different, I will do it in questions and answer format with a short and long version because I often thing this is the most direct way to give a feedback and let people understand if this book can be useful for them or not.Read more

Getting started with (Mule ESB) Anypoint Studio and Maven

mule-esbRecently I started to work with Mule ESB, in my opinion one of the best Enterprise Service Bus on the market. It’s easy, fresh, modern and does not give you the impression of a Big Monster that will eat you like products from Oracle or IBM :-).

It is really a good product but is not immune to some little defects that could let you waste some time, especially at the beginning when you are not confident with it.

In the following tutorial I will describe how to configure Anypoint Studio with Mule ESB runtime embedded on a local machine and the initial setup to work with Maven.

I assume that you already have a Anypoint Studio with an Enterprise/Community run-time installed, if not you can always download AnyPoint Studio from MuleSoft official website.

Another prerequisite is a local Maven installation and some confidence with the tool.

Read more

Hundreds Scoops of Django 1.6

twoscoopsI consider myself an Advanced/Expert Django developer but I also think that there is always something new to learn and that’s exactly what you expect from a book coming from Daniel and Audrey (authors will forgive me if I call them by name to help the conversational nature of this post). The book Two Scoops of Django 1.6 meets the expectations and in most cases it exceed them. There is a great layout and a great use of convention that makes the read really easy and also fun thanks to the nice Ice Cream related examples.

Read more

Amazon AWS 3D cubes with Impress.js

Screen Shot 2013-10-07 at 4.39.22 PM

After a while I’m back on my blog to post about my small experience with Impress.js

Some time ago I was involved in a hiring process with Amazon AWS and a part of the interview process consists in preparing a 30 minutes presentation on an Amazon service. So what I did is using Impress.js to try to impress them, designing the Amazon AWS logo with impress.js and navigating through it in a cool 3D way.

Read more

Celery centralized logging

As someone of you that is already using celery already know extend the celery logger was a bit tricky until the last version, mainly because the logger object is not unique, the same handler is added to different logs object (Main Process logger, PoolWorker logger, TaskLogger).
For this reason the command logging.getLogger(“Celery”) give you back only the Main Process logger.
From the version 2.2.7 of Celery is possible to extend all the logs object by using two new signals after_setup_logger and after_setup_task_logger.

Read more

Boto Mturk Tutorial: Fetch results and pay workers

This is another tutorial of the mturk series, in this one I will explain how to fetch the ready results from mturk trough python boto and how to approve or reject payments to the workers.
Before continue I suggest you to read my first tutorial about boto and mturk if you didn’t it already.

Well, before continuing for have a good test case I suggest you to publish some hits on the mturk sandbox and do it trough the workers sandxbox, in this way you will have some results ready to be fetched.Read more

Boto Mturk Tutorial: Create hits

This tutorial will be the first of many about mturk and Boto, a python interface to Amazon Web Services.
When I started to develop python tasks for automate some process by using amazon mturk was a little bit difficult found enough information about the usage of Boto and about mturk, for this reason I want to make those things easy for others developers that, like me some time ago, are starting to deal with Amazon Mturk.
Let’s start from the origins what you need is:

Boto library (2.0b4): you can install it with easy_install or download the package from the github page.
Amazon Web Services keys: create an account or login if you already have one on, after that go to you account admin panel and than security settings.
In the page scroll to the section Access credentials and keep note of the Access Key ID and Secret Access Key.

Read more

History Timeline wp plugin: now it support before Christ dates

Hi all, today I finally release the new version of my history timeline plugin.
I understand that a plug-in called “History timeline” have to allow you to use before Christ date too, I know, I’m a little bit in late but now is published the version 0.7 that give you also more option for post discrimination.
Here a list of functionalitiesRead more