• Diogo Mónica


    Por diogomonica, em 3 Março 2015 17:30 - Mais entradas deste utilizador
  • Diogo Mónica

    Diogo Mónica - Security Lead @Docker

    Por diogomonica, em 3 Março 2015 17:30 - Mais entradas deste utilizador
    Welcome to Diogo Mónica's Website (Security Lead @Docker)
  • Diogo Mónica


    Por diogomonica, em 3 Março 2015 17:30 - Mais entradas deste utilizador
  • Diogo Mónica


    Por diogomonica, em 3 Março 2015 17:30 - Mais entradas deste utilizador
  • Diogo Mónica

    Diogo Mónica - Platform Security Lead @Square

    Por diogomonica, em 2 Março 2015 05:00 - Mais entradas deste utilizador
    Welcome to Diogo Mónica's Personal Website
  • Alcides Fonseca

    Farewell passenger!

    Por alcides, em 19 Fevereiro 2015 10:07 - Mais entradas deste utilizador

    6 years later and two VPS later, I decided it was time to leave Phusion Passenger.

    I was experience several downtimes due to database (both mariadb and mysql) crashes. It turns out the database could not recover because ruby was occupying the whole memory (512Mb on DigitalOcean). The solution was to shut down apache, then start the database, and finally start apache again. But this would only work for a couple of days.

    I decided to move all my django sites to WSGI (yes, I was deploying django apps using passenger) and ported a sinatra app to django (thanks to legacy database support) just so I could get rid of ruby.

    It all works well now. But in the meanwhile, I went to read Passenger’s source code and I am currently considering forking and removing everything ruby from it. Just an apache2 module that would automatically handle wsgi, avoiding 4 lines of apache config per project. It can be done, I am just not sure it is worth the time. Maybe it would help other people with plain-simple deploying on Apache/NGINX?

  • OCRFeeder 0.8.1

    Por jrocha, em 22 Dezembro 2014 08:38 - Mais entradas deste utilizador

    Taking advantage of the holidays, I have been dedicating some time to my side projects so today I am giving you OCRFeeder version 0.8.1!

    The last OCRFeeder version had a very important change which was the port to GObject introspection and I was already expecting a few bugs to pop up here and there. That proved to be true and so this version is mainly about bug fixing.
    Specifically there was an issue related to GDK’s threads which caused the application to abort. Besides that, exporting a document or saving/loading a project was not working correctly due to unicode issues (because Python is very nice but working with unicode is sometimes more annoying than it should be, at least in versions prior to Python 3).
    Anyway, all that should be working correctly now!

    Besides squashing bugs, I also made some long due changes: made the Preferences dialog smaller (by adding its contents to a scrolled window) and migrated the application and engines’ settings to the XDG user configuration folder as opposed to .ocrfeeder.
    Yes, I know that I should be using GSettings for the application’s settings by now but there were more critical changes to be done.
    Besides a small change in the widgets that set a box’s type (from a radio button style to a non-indicator, grouped pair of buttons), there are no other UI changes but I really like how much more polished OCRFeeder seems with the nice recent GTK+ styles.



    I have a number of ideas to make the application better not only in terms of UI/UX but also in terms of features. The detection algorithm hasn’t been touched for years and I am sure it can be improved not only in terms of performance but also in terms of accuracy.
    One cool feature I’d love to see implemented is to have a quick way of translating a document’s contents. This would be helpful e.g. to users living abroad who might need to translate letters to a language they speak.
    Nonetheless, as mentioned in my previous post about OCRFeeder, it is indeed not easy to find the time and motivation to dedicate to the project these days with all the work, life and other side projects so I don’t know when I will have time for it again. In that regard, if you want to give me a hand, you’d make me very happy as there is a lot of work to be done.

    Happy holidays everyone!

    Source tarball