It’s summer in Bucharest and it’s kinda hot. Although this might sound weird, the best drink in such a warm day is a hot liquid. Some of my colleagues will choose a hot tea, but many of us will go with a delicious cup of steamy coffee. You can smell that unique fragrance of fresh coffee from the moment you step into the office in the morning and until late in the afternoon.
But something funny happened today. One of our colleagues from the software devel noticed that we do not have any process for making coffee, so she wrote the algorithm :). It looks like this:
function makeCoffee(qty) { washFilter(); washPot(); addWater(qty); addCoffeePowder(); pressPowerButton(); } getCoffee(self.drinkCup); try { if ( coffeePot.coffee.size() < 50ML) if (currenttime.hour < MIDDAY) makeCoffee(coffeePot.size()); else makeCoffee(coffeePot.size()/4); } catch (CoffeeSupplyException e) { sendSupplyNotification(e.getMessage()); } work();
I thought it might be good to put this Open Source. 🙂
Next version: Devel is working at the coffee pot integration with Twitter and Facebook. The first tweet/post in the morning will turn on the pot, so coffee will be available even before people come in the office. Unified Coffee (in the Cloud, of course) should be available soon. Stay tuned and follow @4PSA on Twitter and Facebook!
[youtube]http://www.youtube.com/watch?v=uMZ3joAyh54[/youtube]
Enjoy a good coffee with Edmundo Ros & his orchestra and The Coffee Song :).
#coffee #social #cloud #unifiedcommunications #uc #ucom #voip
Post A Reply