When you manage an online application one the most important thing is resources monitoring in order to collect and understand internal metrics of your application and trigger alarms in case of problems (close feedback loop -> machine to machine networks). AWS CloudWatch is an interesting starting point but effectively send all your events directly to the cloud monitor can impact on your application.
On 21th of May i was one speaker of Cloud Party 2014 in Milan Italy. My speech was about deploy and orchestrate infrastructures on cloud providers. In particular my presentation is mainly focused on OpenStack but you can move to AWS (Amazon Web Services) or any other cloud provider.
Me and Francesco Ficili are working on different Raspberry Pi shields that helps us to solve common problems. The navigation shield add a GPS module and the inertial measurement unit in a stackable format for the Raspberry Pi board.
The shield adds also a couple of LED and connectors in order to expand features with external boards.
Today i released a Symfony2 bundle that handle maintenance pages. When i look for other maintenance bundles, different authors solve the problem cutting off requests using the event manager and many other PHP techniques. The problem with this approach is that effectively, we want to stop the application completely, who is telling us that the application layer is correctly working?
A month ago I discuss with a customer about BDD, Behavior-Driven Development, and i show our exciting results with this approach. He was extremely interested in because he knows how many time a company waste during a product development because of missing business expectations. They uses WordPress as a framework and develop several plugins in order to realize custom features.
Today i was one of CloudConf 2014 speakers. My talk is about Disaster Recovery & Cloud. Cloud Computing is very interesting for Disaster Recovery plans because of several features of Cloud infrastructures, like: scalability, pay as you go etc.
I was one of ZFDay’s speakers, here in Turin on 7th February. I present a talk with title: Build your own (micro)framework with ZF2 components (as building blocks). In practice i present how we can achieve an interesting result with just a couple of components. The framework that we have created at the conference is based on the event manager and relies on the service manager for getting and resolve internal/external services. In this little article i just want to explain more the framework.
I use Vim as text editor during my daily work on source code. It is cool, i like it almost always. My projects are typically test driven or at least i always create a bunch of tests. Movements between buffers are quite simple in Vim but i want something that can simplify my life more. Issue a command in order to open a related test-case from a source file or viceversa.
I have written about the UpCloo Web Framework few months ago (click here) and, as the README.md says, the micro-framework (App.php) is quite a bit messy. At this time is important, before starting add new features, clean the code base a little bit and move on with the microframework. In order to do this I want to apply the Boy Scout Rule: “Always leave the campground cleaner than you found it”. First of all I ran all tests and I discover that App.php is poorly covered (only 46%) and many key features not at all (at commit c70375e6).
A couple of days ago I found an interesting breakout. The HC-SR04 ultrasonic sensor. It is so cheap, just 3€ (yes, three euros). Why not, why don’t buy it… There is a little problem with this component, it is TTL 0 – 5V. All Raspberry Pi GPIO, are 3,3V and not 5V tollerant. So I decided to skip this problem (yes i skip the problem… but, with a couple of resistor I think you can achieve a good solution), just because I don’t have any resistor at home… Now the point is: Do i damaged my Raspberry Pi?