Posts

Showing posts from June, 2009

Task: Camera Simulator

Image
Post about a week effort at creating a needed mulithreaded tool. For the last week got an interesting task - to create a Camera Simulator tool. Yes, it is thrilling when one gets the opportunity to learn something new, and create it from scratch, is not it ? Which, sadly enough, does not happen too often. Anyway, because of the tight schedule and the project running short on money, there is the risk of wasting the effort and not getting the desired result. And that made me extra motivated. As I mentioned, the project is nearing its end, with expected customer integration in Dallas, TX beginning of next month (June.2009). The goal of the project, without going into too much detail, is to reach a certain speed and successful rate when analysing the scanned images of letters like this one (scaled down and information in it blurred) : Yeah, quickly and correctly finding the features like: bar codes, stamps, address location and letter orientation, is enormous task. But Siemens , as the le...

Handle ?

Image
the article discusses 'handles' in a system programing(beginner level) Handle is often used term when one tries to interact with the API provided by the underlying Operating System(OS) or a system library. With :-) this handle you can handle(i.e. control, manipulate) the object. Thus the name for it. All of the system object are "handled" in this way - like files, sockets, pipes. Thus the life cycle of using a system object is: Obtain a handle to the object. Use this handle to manipulate the object . Dispose of the object, by closing the handle. For example one uses the system call open to get a handle to a file. With that handle operations like reading and writing are possible: #include  <fcntl.h> //#include <io.h> #include  <unistd.h> int  main( int  argc,  char * argv[]) {      // Open a file by obtain a handle to it      int  handle_file...

My blog is born :-)

It’s not that I’m so smart, it’s just that I stay with problems longer Albert Einstein Hi, and welcome to my blog on various topics of programming that interest me in some way during the weeks, months and years of performing different tasks around the office. It all started some decades ago with a for cycle in qbasic on a pre 8086 personal computer. Then with intense mathematics in the Mathematical High School, and to finish the formal education with Informatics bachelor degree from Sofia University, Bulgaria. Through the university I had the opportunity for 3 years to be a teaching assistant in "Introduction to Programing", "Data Structure and Algorithms" and "Object Oriented Programing" in C/C++ . It was quite thrilling and lifting experience with immediate and mostly nice feedback. I still miss this kind of job, because of the energy that you can feel in a classroom. And one day I might go back.. For the last 7 years I am full time employee for a s...