TDD or not TDD? This isn't the question.

Submitted by daniele on Fri, 07/11/2014 - 18:11

Instead of reply to these reasons:

I prefer to find what make testing hard: mock object, the missing part!

All these arguments seems to fail to understand that TDD is not just testing, it is to guarantee SOLID principle of object oriented design

Use Grunt. Always

Submitted by daniele on Thu, 06/26/2014 - 18:29

The worst could happen, but use grunt. Always.

A little lesson from wasted time.

Code could be wrong, thus it has to be tested, and tested, and tested. Automate that test. Do not wait to waste any more time.

A note on grunt is that shell can do the most, for example lftp is very good:


  shell: {
    upload: {
      command: 'lftp -e \'put ./myfile.tar.bz2\''

 Is better than use grunt-ftp, or grunt-ftp-deploy, or whatever.

JsDay, news from the front. (and back end)

Submitted by daniele on Fri, 05/16/2014 - 12:58

If I should rate an event from the front end I thing I should consider the UX. In this field JsDay has 10/10 as UX: location is easy to reach (once you are in Verona), food are good (missing salt from meat, they are salutist), very clean and comfortable, you get what you want and need, coffee breaks spans during the day in a regular basis, free bottled water (very valuable thing) and kindly hotel's and organization's staff.

Twitter Insecure by Design

Submitted by daniele on Mon, 10/21/2013 - 13:52

It happens I have a new identity ... no, someone has my credential or such for using my twitter account. Twitter does not reply, there is no team that can fix it.

Problem with twitter is that it is insecure by design. You indicate an email address and confirm it, at registation time, or whenever you want.

Well, now? If you want to change email address you have to confirm it with the old, confirmed one, email, you are guessing ... no. You have to verify the new email address with the new email address!!

Upload a javascript as attachment to drupal entity (and run it) ... and what is it munge?

Submitted by daniele on Fri, 06/14/2013 - 12:52

I am in the need to attach javascript code to my content for tech blog purpose, and give capability to run it by visitors.

Do you think there are security concerns? Me no.

PHP filter is there in Drupal core from the begin, and it was not a security concern, unless you give permission to everyone to post content or comment in PHP format. What does it make javascript a security concern?