blog.grys.it
Python and profiling
http://blog.grys.it/2012/12/14/python-and-profiling
December 14th, 2012. While working on the Rosalind's problems, I discover a nice feature of python, the cProfile module, that produce an output like this:. These informations are very usefull when the execution time matter, since looking at what function/method are called and how many time they are called, you can locate the bottle-neck and try to eliminate them. Optimizing this single function, both in term of numer of calls and execution time, reduce the overall execution time of about 2 minutes.
blog.grys.it
mongodb - G.R.Y.S. Software
http://blog.grys.it/tag/mongodb
Subscribe to this tag. December 16th, 2011. As part of my activity with a modeller group near home, I maintain the site of the group (www.footy.it, italian only) and someone suggested that it should be nice to have a list of yacht that we own/use. So flotta.footy.it was born. The site itself is a very simple interface to search for someone that has a footy yacht near you, but it is not this the point of the article. It is developed using the Flask. Python micro framework and mongodb. Site] to the proxy.
blog.grys.it
Two new features for BulbCalculator
http://blog.grys.it/2014/12/04/two-new-features-for-bulbcalculator
Two new features for BulbCalculator. December 4th, 2014. Following a request from a BulbCalculator user, I started the work on implementing the export of the bulb into a STL model file, to be able to print a model with a 3D printer (or to be able to mill the bulb with a milling machine :-) ). I also started to implemente the possibility to add a hole for the keel, which is somewhat tricky since for any material you remove, you should update the bulb dimension to take care of the difference.
blog.grys.it
Deploying Flask application
http://blog.grys.it/2011/12/16/deploying-flask-application
December 16th, 2011. As part of my activity with a modeller group near home, I maintain the site of the group (www.footy.it, italian only) and someone suggested that it should be nice to have a list of yacht that we own/use. So flotta.footy.it was born. The site itself is a very simple interface to search for someone that has a footy yacht near you, but it is not this the point of the article. It is developed using the Flask. Python micro framework and mongodb. Site] to the proxy.
blog.grys.it
On upgrading server software
http://blog.grys.it/2013/05/14/on-upgrading-server-software
On upgrading server software. May 14th, 2013. Short story: when upgrading a production system, always check the release notes of the new version. After the first upgrade of the server following the release of the new Debian stable, I was no more able to send e-mail from my home pc, but I am still able to send from the server itself, which is running Debian testing, so in the following days of the Debian release, testing got a lot of upgrade as usual. This upgrade also boost postfix. May 11 09:28:22 local...
blog.grys.it
stl-tools operation: mirror
http://blog.grys.it/2013/06/04/stl-tools-operation-mirror
June 4th, 2013. This want to be the first of a series of posts that will explain the operation that can be performed by stl-tools. The first, and the one which inspired me to write the software, is. This was the first since I originally write stl-mirror (which later became stl-tools) to mirror a STL file generated from FREE! Ship without the necessity to use a full 3D CAD/CAM program. Sintax: stl-tools -i source file.stl - axis=x y z [-o dest file.stl] mirror. Comments powered by Disqus.
blog.grys.it
Profiling - G.R.Y.S. Software
http://blog.grys.it/tag/profiling
Subscribe to this tag. December 14th, 2012. While working on the Rosalind's problems, I discover a nice feature of python, the cProfile module, that produce an output like this:. These informations are very usefull when the execution time matter, since looking at what function/method are called and how many time they are called, you can locate the bottle-neck and try to eliminate them. So the lesson learned here was: profile the code! Page 1 of 1.
blog.grys.it
Working on stl-tools
http://blog.grys.it/2013/08/09/working-on-stl-tools
August 9th, 2013. Stl-tools get some work in the last couple of days which will be the basis for future development. The main point I nailed out is to have a structure that can support commands that needs different number of parameters. The old implementation needs to specify the axis for all the operations, but while adding the new operation stubs, I realize that not all of the operations I'd like to implement need the axis specification and, more important, not all of them refer to an axis.
blog.grys.it
Bulbcalculator ported to QT5
http://blog.grys.it/2014/04/09/bulbcalculator-ported-to-qt5
Bulbcalculator ported to QT5. April 9th, 2014. After some work, Bulbcalculator is finally ported to QT5, with the future 2.2.0 version. While I am working on this, I also decided to implement some other features, firs of all a recent project list and the possibility to setup the page size, like some very well known CAD programs. I have not a date to release the 2.2.0 version, since I have not so much time to work on it, but the work is slowly going on. Comments powered by Disqus.
blog.grys.it
Software - Page 1 - G.R.Y.S. Software
http://blog.grys.it/tag/software
Subscribe to this tag. Two new features for BulbCalculator. December 4th, 2014. Following a request from a BulbCalculator user, I started the work on implementing the export of the bulb into a STL model file, to be able to print a model with a 3D printer (or to be able to mill the bulb with a milling machine :-) ). Bulbcalculator ported to QT5. April 9th, 2014. After some work, Bulbcalculator is finally ported to QT5, with the future 2.2.0 version. While I am working on this, I also decided t...The main ...