Sunday, May 23, 2010

Eclipse IDE - Starting Up

Eclipse SDE (Software Development Environment) is a great foundation for different languages IDEs (Integrated Development Environment). Eclipse functionality can be extended with plug-ins and there are plenty of them available for different purposes. Many of plug-ings are free of charge, some other are under commercial licensing. My personal interests lie in the field of programming with C/C++ and Python and corresponding plug-ins come for free.

Since Eclipse is written in Java, Java Runtime Environment (JRE) should be installed on the computer: get it from www.java.com. Installation of Eclipse is straight forward. It's easier to download the closest pre-configured package and unarchive it wherever you want. In my case it is "Eclipse IDE for C/C++ Developers". Eclipse Galileo Documentation (HTML Help Center) from Documentation page has all instructions for installation and tutorials to get started. For Windows I chose MinGW installation path:
  1. Download and run the MinGW setup program, MinGW-5.1.3.exe.

  2. Select download and install the MinGW base tools and the g++ compiler. You may select the Current or Candidate version of these tools. You may also install any of the other available compilers as well.

    Do not install the MinGW Make feature as the MSYS version of make from step 5 is a more complete implementation of make.


  3. The MinGW setup program currently does not install the gdb debugger. To install the debugger, download the file from the following location: gdb-6.6.tar.bz2

  4. Extract the contents of the file gdb-6.6.tar.bz2 to the same location where you installed MinGW.

  5. If you want to use Makefile projects, download and run the setup program from the following location: MSYS-1.0.10.exe. MSYS provides an implementation of Make and related command line tools. This is not required for other types of projects with the MinGW toolchain, which use CDT's internal build tools to perform the build.
It's simple to check how it runs by following "Creating a simple application" tutorial from Eclipse Galileo Documentation "C/C++ Development User Guide / Getting Started"
I had to put full path to dbg.exe debugger to make it working:


Follow the next "Creating a Makefile project" tutorial to check how Makefile approach works:


Here are some settings to get Makefile and Debug working:


Read more...

Sunday, May 9, 2010

Free Screen Recorders for Windows

If picture is worth a thousand words then video might be worth a million… In many cases, for instance, in order to explain how to use a program, it's easier and faster to make a video record than describe that step by step.

This is the short list of screen recorders I found useful.
  1. CamStudio from http://camstudio.org is a simple in use program, open source, comes with efficient lossless codec, can record sound from microphone or audio signal going to speakers. It can generate AVI and SWI files using different codecs. It is also possible to prepare and add annotations during recording but the way it works is not very convenient from my point of view. In any case this is five-star screen recorder program and, not surprising, it's very popular for making tutorials: check Youtube for CamStudio.

  2. "Free Screen Recorder" from http://www.nbxsoft.com is a twin brother of CamStudio, all windows and options are the same; only view of the main window has different icons. Just for the record NBXSoft offers a bunch of free tools related to video, audio, CD/DVD. I would keep "Free Flv to AVI Converter" and "Free Create-Burn ISO Image" in mind for the future.


  3. Wink from http://www.debugmode.com is a very good program for recording from computer screen. It saves records in Macromedia Flash SWF format. With default settings recorded audio from microphone sounds a little broken, intermittent, but it probably can be improved by adjusting some parameters. Wink 's strong advantages are a possibility to add annotations to frames after recording and relatively small size of SWF file.

  4. SCREEN2EXE from http://www.screen-record.com has very high compression ratio, easy to add annotations after recording and to eliminate unchanged frames automatically. Recorded audio is clean. The only limitation of the free of charge version is that it saves files only in self-playing EXE format; SWF and AVI are allowed in $49 SCREEN2SWF version only. I find EXE format sufficient for making video notes for myself.

From output file size point of view SCREEN2EXE is the outstanding winner - on a rough try it creates files 10 times smaller than Wink and about 100 times smaller than CamStudio with CamStudio Lossless Codec v1.4 and optimum settings proposed by other people. Some people suggest DivX codec for a better result, but I doubt it would create a 100 times smaller file.

Wink seems to be the best for making interactive presentations not just with annotations but also with buttons "Back", "Next" and "Go to". It also has a potential to improve output file size to get closer to SCREEN2EXE. It seems that the latter is using much lower frame rate but it collects all the frames where mouse click happened and compensates not smooth cursor movement by graphical enhancing it at click moments.

CamStudio is good for real time video when necessary to capture a process of drawing, for example. Simplicity of the program is a very strong advantage too. After all, size of files becomes less critical if you don't store them at your personal computer. Record files can be uploaded to Youtube where files are limited by 2 GB or 10 minutes: http://www.google.com/support/youtube/bin/answer.py?hl=en&answer=55743
Read more...

Thursday, April 22, 2010

Weider Adjustable Dumbbells SpaceSaver 100

After some research I decided to get a set of adjustable dumbbells from Weider. Weight of each dumbbell can be selected in range from 10 to 50 lbs by 2.5 lbs step, the set comes with a convenient stand, customer reviews are very positive, price is reasonable - practically all I need from dumbbells is there.

My expectations about it were pretty much satisfied: hand grip is convenient; all critical parts in the dumbbell construction as weight alignment and weight selector are made of metal. Weight adjustment is easy and quick.

From my point of view there is a couple of insignificant disadvantages. One is that the base tray with alignment tabs is made of plastic and it's necessary to put dumbbells back in place accurately to avoid damaging of the tray or jamming. Another is that the weights are not absolutely identical in shape. If they are messed up the holes used for weight setting can get misaligned and make weight adjustment more difficult.


To avoid the problem I found the best aligned combination of weights and put color marks on them:


The marks allow easily to keep the weights in the best order.


The dumbbell set is a space saver indeed as its name suggests and I really like the stand. To reduce pressure on carpet and make it easier to move from place to place I put 4 large Moving Men 8-Piece Furniture Sliders under the stand feet:

Read more...

Saturday, April 17, 2010

Mepis 8.5: ATI Driver on Dell Inspiron 4000 Laptop

I had a regular hang up problem with Mepis 8.0 on my old Dell laptop, so when the next version 8.5 got released I gave it a try. Installation went through smoothly and the previous hang up problem seemed to be resolved. The only inconvenience with the new Mepis was that the display GUI option to install an ATI driver was stripped out.

Mepis has a web-page describing how to Install ATI driver. Starting with Mepis 8.5, it's recommended to use the sgfxi script which I followed.

Just for the record here are some screen-shots from the installation:











Read more...

Sunday, April 4, 2010

Dust Particles Inside LCD Screen - How To Fix

After moving my LCD monitor to a new place and turning it on I noticed some dark dots located closer to the lower edge of the screen. Because of the dot sizes and their sharpness my first thought was that they were dead pixels. However, simple dead pixel tests revealed the truth: they were some dust particles between LCD screen layers.

Figuring out that they were not dead pixels was pretty straight forward: these dots were visible on any desktop color as nontransparent obstacles on the way of back-light. Also with a closer look it was noticeable that they were of slightly different sizes:

I modified the original picture to eliminate Moire pattern and make it look as it's seen by an eye.

That monitor was in use for a while and it could have some dust collected from the environment.
Apparently, moving it to another place with some shakes and turns allowed these particles to get in between LCD layers. One way, I could see, to fix it was to disassemble the whole monitor, separate the screen layers and clean them up. It is feasible but it would be a lot of work with some risk to catch more dust on the internal screen layer than there was before if the working area is not clean enough.

Another possibility was based on a hope that if the particles got inside so easily they might be not stuck there, and they might need just a little more room and weak shake to fall down out of my sight. I used suction cups of different size to get necessary grip on the screen surface to pull it out near the dust particle:

While gently pulling the screen layer out I kept slightly knocking the screen with a fingernail until the dust particle fell down. I would not say that it is absolutely safe operation for the screen, so it's better to start with very light effort and increase strength of pulling and knocking only if it seems OK. In my case I was able to make them fall down very easily.

By the way, searching through the Internet for any info related LCD monitor construction and repairing I bumped on some interesting discussions about living bugs in between LCD layers: http://cow.neondragon.net/index.php/2875-Bug-Inside-Lcd-Screen, for example, or http://www.tomshardware.com/forum/50859-3-bugs. All that seems very amusing unless it is in your monitor - then it depends. Just for the record some suggestions from the forums on how to deal with the problem:
  1. By no means, squash the bug, otherwise, it will turn into its permanent RIP mark on the screen of your monitor;

  2. These insects inside LCD screen really should feel themselves like on the heaven - very bright light and nice warm temperature, no deadly burns. Hence, the way to get rid of them is to shut down the "paradise" (no light, no warming), then lure them out with another "paradise" - an incandescent lamp aside the bugged monitor should work fine.
Read more...