>>> for i in range(1,31): … print(‘ ‘ + ’1′*30) … print(‘x ‘ + ’1′*i) … print(‘= ‘ + str(int(’1′*30) * int(’1′*i))) … print() … 111111111111111111111111111111 x 1 = 111111111111111111111111111111 111111111111111111111111111111 x 11 = 1222222222222222222222222222221 111111111111111111111111111111 x 111 = 12333333333333333333333333333321 111111111111111111111111111111 x 1111 = 123444444444444444444444444444321 111111111111111111111111111111 x 11111 = 1234555555555555555555555555554321 111111111111111111111111111111 x 111111 = 12345666666666666666666666666654321 [...]
Archive for the ‘reSearch’ Category
Interesting Numeric Pattern
Posted in Interesting, reSearch, tagged Math, Numbers, Patterns on May 15, 2010 | Leave a Comment »
Python 3.1 and mod_wsgi performance notes
Posted in AppCove, Engineering, Linux, reSearch, tagged Apache, mod_wsgi, Performance, Python, python 3 on October 11, 2009 | Leave a Comment »
We’re researching the use of Python and mod_wsgi running under apache for developing some extensive web applications. Here are some notes on a performance test that we recently ran. ================================================================== Server: x86_64 Python 3.1.1 mod_wsgi 3.0c5 apache 2.2 RHEL 5.3 quad core xenon 8 GB ram Development system – not in production use. ================================================================== Application: [...]
Update [1] on Fedora vs Redhat Enterprise Linux
Posted in AppCove, Linux, reSearch, tagged EPEL, Linux, RPM, YUM on February 8, 2009 | 1 Comment »
This is in reference to http://blog.gahooa.com/2009/01/18/fedora-or-redhat-enterprise-linux-in-a-production-environment/. After the excellent comment by Sergio Olivo, I did some heavy looking into the Extra Packages for Enterprise Linux project (EPEL for short). On a brand-spanking-new RHEL 5 box, I installed the YUM repository for EPEL, and quite immediately had access to tons of extra packages. Erlang is there. [...]
Fedora or RedHat Enterprise Linux in a production environment?
Posted in AppCove, Linux, reSearch on January 18, 2009 | 2 Comments »
[UPDATE AT http://blog.gahooa.com/2009/02/08/update-on-fedora-vs-redhat-enterprise-linux/] At AppCove, we run RedHat Enterprise Linux on all of our servers. RHEL is great, because: It works It still works Automatic security updates Did I mention, it just works? RedHat, as far as I know, takes a very serious perspective on patching all of their RPM’s and automatically pushing them out [...]