Code and Bugs

Coding things

Category: Uncategorized

When do you know a language?

One of my teacher used to say that we don’t know Matlab because we don’t know that there is a guide command which does what it does. Yesterday, I’ve created my Haskellers profile and I saw that there are a lot of topics in Haskell about which I know almost nothing. This made me write this post, trying to get the answer to the following question: «How much should you know about one language to be certain that you can say you know the language?».

Read the rest of this entry »

Dependency tracking

Let’s say you work on a project on your favourite language (for the purpose of this article, we will assume that that language is either C or Haskell, you’ll see why at the end of the article). Your project is complicated that you’ve split it across several libraries and several other files. Of course, you need a Makefile to build it. But, on that Makefile you need to be sure that all dependencies are listed as they should be, that they are up to date. The question arises: aren’t there any tools for automatic dependency tracking?

Read the rest of this entry »

New Window Manager

I started looking for a new distribution because I needed a window manager which could be easily configured (that is without waiting for compilation steps or anything else) and which will boost productivity when coding and will not interfere with other activities. That meant tiling wm for coding, stacking wm during other sessions.

And, i3 came to the rescue. After trying Xmonad, Bluetile, Awesome, Luchbox, Enlightenment, Fluxbox, Openbox and several others this offered me the satisfaction I looked after.

Small screenshot and goodbye for now :)

Enter Bucharest-fp group

A few days ago a new group was founded in Bucharest: Bucharest-fp group [0]. It is a place where people with a passion for functional programming can get together and discuss technical details and more.

The first meeting took place two days ago and it was a startup meeting. Te next meeting should be more interesting and I eagerly await it.

[0]: Right now, the content is little and in Romanian but this will not be a problem in the future when we will add more English content

Defensive Programming

Right now, I am reading “Defensive Programming for Red Hat Enterprise Linux (and What To Do If Something Goes Wrong)” a short article by Ulrich Drepper whenever I take a break from other activities from my busy schedule. Read the rest of this entry »

Using makefiles for regression testing

Sometimes, I found myself starting a large coding project (more than 100-150 lines) with many complex tests. In this case, I start the development phase by first creating a makefile to build all the sources along with creating a svn repository for them, even if this repository is to be kept locally. Exactly like everyone else.

Read the rest of this entry »


Get every new post delivered to your Inbox.