I also created a tiny Perl program to generate a text file with tweets
which I can automatically tweet using another Perl program. I hope to
get more visitors this way. For more information, see the
The blue cat with white socks
On our way to the town centre my mother and I encountered a beautiful
blue cat with white socks. The cat was very friendly and loved to be petted.
Performance Wiggle Room
“Premature optimization is the root of all evil“: the famous
Knuth-ism that we all know and… well, that we all know. It’s hard to
go a day of reading programming blogs without someone referencing
this and leaving their particular footnote on it. I suppose today I
am that someone.
[W]e should pursue loose coupling, so one would be able to easily
analyze/debug/maintain any class, without detailed knowledge about
other classes within the system. The looser the coupling is, the
more independent the classes are.
I am very happy with those tiny arachnids, and I am sure our children
will play a lot with them.
Memory management in Python
Everything in Python is an object. Some objects can hold other
objects, such as lists, tuples, dicts, classes, etc. Because of
dynamic Python's nature, such approach requires a lot of small
memory allocations. To speed-up memory operations and reduce
fragmentation Python uses a special manager on top of the
general-purpose allocator, called PyMalloc.