Time Management is the personal skill each one has to manage and plan the tasks to be performed during a period of time.
Although my tasks end up complete in the expected time-frame, time management is not one of my strongest attributes. Very recently it was brought to my attention that my time management skills could be improved, by using simple tools (for example: a “to do” list).
A brief search on the internet provided some basic questions that I intend to answer in order to improve:
- What is your goal? Specify daily, weekly and monthly goals.
- What have you been doing? Track your daily activities.
- Do you have a plan? Create a detailed schedule to support your goals.
- Do you know what to do first? Prioritize the list of thinks to do.
- How long will it take? Before starting a task question yourself, and learn by confronting your estimate to the real effort.
I’ll try to read more about it, and provide more details as the experiment goes.
My phrase of the day is “If you can play it, you can store it…”.
If you use mplayer as your usual media player my congratulations. This one of the best and more versatile media player I know. This shell command media player (there is also a GUI available to those who prefer the little buttons) never failed me…
The ability to play media streams over the net (through mms, rtsp, etc) is one of my favorite features. Another great feature is the ability to store locally the stream’s content.
Simply run:
$ mplayer mms://server/stream.wmv -dumpstream -dumpfile local_file.wmv
and all stream content will be stored in your local file repository.
Soon or later, your Linux developed C/C++ code will generate a SISEGV signal and your application will miserably crash. This signal is generated when a program tries to read or write outside the memory that is allocated for it, or to write memory that can only be read. (Actually, the signals only occur when the program goes far enough outside to be detected by the system’s memory protection mechanism.) The name is an abbreviation for “segmentation violation”.
In order to improve your program, and terminate in a controlled way, you can register a custom function to handle such signal. The following example shows the leave function that is called whenever a SIGSEGV signal is launched.
#include
#include
void leave( int s ) {
std::cout << "FATAL: Leaving due to SIGSEGV." << std::endl;
exit( s );
}
int main() {
// Register SIGSEGV handler!
signal( SIGSEGV, leave );
// originate a SIGSEGV
double array[20];
std::cout << array[10000] << std::endl;
return 0;
}
This seems to be the 10th time I need to install net-snmp from the downloaded tarball… and it seems that I had all the problems I had the previous 9 times before!
Some tips to avoid problems the next time:
- read the ./configure –help carefully, and please deactivate perl if not needed by using –disable-embedded-perl
- use more net-snmp-config (and use –help for reference - read carefully)
- for example, to list the libraries needed to link a subagent use net-snmp-config –agent-libs
…more on snmp development coming soon (if it doesn’t it’s because all went well!)
It’s raining… Today I won’t be leaving home with my SLR hanging in my shoulder, ready to take a couple of photos to add to blog! What can I do when raining?
Well, this post has 7 very good advises to be taken by anyone trapped at home in bad weather. The last advise is keep shooting, and for that you can find here and here a couple of suggestions.
To finalize, here are some great photos taken during rainy days.