As my memory is limited, I started to write some notes on re-usable or interesting project. It is cheat sheet. Like a reminder of topic I have worked on. Many topic on programming, tips on various subject :
- Scripting (Bash,Python)
- Use Macro (LibreOffice)
- Programming ( C,C++, Ada)
I have done most of those projets when I was students as computer is heavily time consuming.
If debugging is the process of removing bugs, then programming must be the process of putting them in.
Edsger W. Dijkstra.
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are–by definition–not smart enough to debug it.
Recently, I am also focusing on debuging and performance aspect. Well, programming is fun . But you have to spend huge amount of time and many care to write your program that may already exist. So I started reading running and then adapting program from others to fit my needs. It lets me learn many library, tools, methods.
I started using new linux tools. The true new approch is inspection with those specific tools. It lets you see the programm running as the clockmaker watches all the gears rotating.Some usefull link :
- mutrace Lock contention and Memory allocation based on LD_PRELOAD
- Brendan Gregg One impressive blog on performance
- ltrace strace and ptrace
- valgrind heap profiler
Do not cross the red lines