Planeta

  • Diogo Mónica

    Pages

    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

    Categories

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

    Archive

    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.

    ocrfeeder-0.8.1-screenshot

    Future

    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
    Git
    Bugzilla

  • OCRFeeder 0.8 is out

    Por jrocha, em 4 Agosto 2014 22:01 - Mais entradas deste utilizador

    After a long time without a new release, OCRFeeder 0.8 is out! The previous version was released in February 2013 from another continent :) After that a lot of things happened in my life (very good ones) and I didn’t really have much time to devote to the project.

    What’s up?

    This version represents one big change: it was ported to GObject Introspection (and thus GTK+ 3)!
    This is also related to the delay (because GooCanvas’s GI, a dependency, was not usable in the beginning). Also, after the port started, a few things were deprecated in GTK+ — like Stock items — but this will only be updated on a future release.

    I didn’t want many new features in this version as I wanted it to be basically about the port to GI. This way, “eventual” bugs are likely to be about this change and not about unstable new features. I included a small novelty however: support for multi-page TIFF images.
    There are, of course, some other small improvements that were developed, as well as a number of bugs that were fixed.

    Future

    Work, life and other projects make it more and more difficult to find the time to work on OCRFeeder. I would nonetheless be happy to help anyone interested in contributing to it to give the first steps. I believe that OCRFeeder is a useful project and not only for accessibility purposes (although this is a great reason on its own!) so, if you like Python, GTK+, and want to help make this project better, drop me an email.

    I need to thank one more time to the awesome GNOME i18n team for keeping OCRFeeder available in many languages and to my dear friend Berto for keeping the Debian package up to date and for the useful bug reports!

    Source tarball
    Git
    Bugzilla

  • Diogo Mónica

    Diogo Mónica - Security Engineer @Square

    Por diogomonica, em 8 Junho 2014 18:30 - Mais entradas deste utilizador
    Welcome to Diogo Mónica's Personal Website