Category Archives: Programming

A few weeks ago I introduced my students to the notion of dictionaries in python. The obvious way of teaching them, especially in the context of my module, is to use dictionaries to create word frequency lists. In order to make the students understand better why dictionaries are useful, we discussed other ways to produce frequency lists which use only lists. This prompted me to try to think as many ways as possible to produce frequency lists. I also wanted to see how feasible is to use these methods.

Read more

The other day I wanted to format the text in a post using a definition list-like structure. Basically I wanted something like this:

May 2018Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. 

June 2018Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Read more

The other day I wanted to allow users of the metadiscourse annotator to quickly locate in text the marker they tag. This is particularly important if the text contains many markers. When the user presses a button I wanted the following effect:

Read more

I am not quite sure when the problem began, but at some point I noticed that the tabs do not look good when I run Netbeans in Fedora. and they look like in this screenshot.

Read more

I deal with several projects that are written in PHP using the Symfony framework. One of the regular tasks I have to do is to deploy the applications on the production servers. For more than one year I have been successfully using capifony, which after the initial tweaking worked without a problem till last night. The problem was not because of capifony, but it was caused by composer:

Read more

5/5