Warning: file_get_contents(http://www.prelovac.com/deploy.csv) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /accounts/giovannidimilia/www/dimilia.it/wp-content/plugins/wp-quick-deploy/wp-quick-deploy.class.php on line 437
Archive Web | Giovanni Di Milia
Jan 28 2014

Pain with Bottle.py app and PyDev debugger


Since it took quite a bit of time for me to figure out the solution to this problem, I decided to write a quick reminder here.

I was working on a web application written in Bottle.py and everything was going smoothly until I decided to debug a function using the PyDev debugger in Eclipse.

Long story short there was no way to make the debugger work even if the same debugger was working perfectly fine in the unit tests.

After several tests I was able to understand that the PyDev debugger is incompatible with the option “reloader=True” of the bottle app.

So you can run your app in this way:

application.run(host=your_host, port=your_port, debug=True, reloader=True)

and it is wonderful because the app will reload by itself every time you change a python file,

but if you want to run the code in the PyDev debugger you need to start your app in this way:

application.run(host=your_host, port=your_port, debug=True)

Oct 11 2011

At school… part #2


It’s a while since I begun my online course! Actually in 3 weeks I’m done!

How is going? Great! I know I don’t know everything about web programming, but this course is really opening my mind!

The great part is that even if it should be dedicated to mobile, there are so many good advices for general web developing that it will be worth even if I’ll never develop anything for the cellphones!

I think I’ll collect some good link and I’ll post them at the end of the course!

Be tuned!

Sep 28 2011

My first WordPress plugin


Is talking about WordPress inside a WordPress website “meta-talking”?

No, the point of this post is not answer the previous question…. that one just came out because I just finished to submit my first WordPress plugin in their website and right now I’m pretty tired!

The plugin I wrote is for the service I work for (ADS http://adsabs.harvard.edu ) and probably will be useful for few people only!

But who cares! It has been a wonderful experience and I learned how to write these kind of small web applications: I’m extremely satisfied!

Anyway, if you want to give a look you can read something more HERE.


BTW… I’m still thinking that  talking about WordPress inside a WordPress website is “meta-talking” :-)

Sep 23 2011

Facebook and usability


Did you see the new interface of Facebook?

Ok… I have to be more specific :-) : did you see the new interface that Facebook released few days ago (September 21 2011)?

New features, new filters, new cool stuff! Moreover I just read that they are going to introduce a new interface for the user page.

The problem? I don’t want them because I don’t need them! 

Now, as a computer scientist I understand the need of improving a service. I also understand that there is a competition between Facebook, Google+ and Twitter and that Facebook and Google+ are copying each other.

What I really don’t understand is: why don’t they hire some experts in usability?  

My question comes from the fact that every new feature they introduce in Facebook is against any concept of good usability about interfaces! Now they want their users to learn how to use their service, and I’m fine with that (even if I have some different point of view), but they cannot change completely in one day the way the users have to do the same basic things! 

An example? If I’m used to have the list of the posts in chronological order (most recent first), it’s ok to introduce new filters and new ways to view the same posts, but WHY THERE IS NOT “View the posts in chronological order” any more?

So my only complain is: why cannot I give up on the new stuff and have my old simple functional interface?