Archive for the ‘Computing’ Category

Endnote X2

Monday, March 1st, 2010

Retrieved records are added directly to your endnote library.   Or EndNote X2 automatically saves retrieved references directly to the open library.

- to stop this from happening, install the patches from endnote http://www.endnote.com/support/updates/ENX203Update.zip

Splunk - IT log analysis software - semi free

Sunday, February 21st, 2010

Looks promising:

http://www.splunk.com

VNC clients on Mac

Saturday, February 6th, 2010

keywords:  ”Chicken of the VNC” , “chook vnc” ,  jollyfastvnc

Since jollyfastvnc has changed from alpha/beta development to official release version under some sort of try-before-buying distribution model,   I’ve started to look around for something that will satisfy my need to be cheap and my need to not feel guilty about using something that I should pay for.   Also something better than Chicken of the VNC.    Lo and behold, it appears that a vnc client is built right into Mac OS X Leopard!    Just click on “Go” –>  ”Connect to Server” , and type in the vnc server address, i.e.   vnc://some.server.address       

(username might be blank, if your vnc server does not need a username)

Encrypting hard drives with keypads

Friday, January 15th, 2010

Apricorn Aegis Padlock :    http://www.apricorn.com/product_detail.php?type=family&id=58

Lenovo Thinkpad Secure hard drive  :   http://www.everythingusb.com/lenovo-thinkpad-usb-portable-secure-hard-drive-16313.html

Vantec NexStar VAULT Keypad Encryption 2.5 Inch SATA USB 2.0 Portable Hard Drive Enclosure: NST-V290S2 

Data Locker Secured Hard drive  http://www.takeanywhere.com

Laptop survival tips

Sunday, November 8th, 2009

We get a lot of laptops coming to us from people who’ve obviously not taken very good care of their computing equipment. There are a number of easy habits to prevent the most common laptop issues.

1) Snapped power connector: This is one of the more common and more expensive causes of laptop failure. A person would lift the front of the laptop and rest the entire weight of the laptop on the power cable. This unfortunately breaks the solder connections of the laptops’ power connector to the motherboard. The symptoms are that the laptop then runs on batteries until it’s depleted and the power adapter charger is unable to charge the laptop. You will also see that the charge light LED that usually shows up when it’s plugged in, does not light up. Also, if you use an another power adapter from another matching laptop, the symptoms are still the same (eliminating the possibility that the adapter is the failure point) . If you are lucky, jiggling or pushing/pulling the connector in a particular direction might put the soldering into contact again, which means that you could use an eraser, rubber band, duct tape, or whatever to hold it in place - either that or spend several hundred dollars to replace the board. If you happened to break it while it’s still under warranty, don’t mention anything to the laptop manufacturer about breaking the connector, just act dumb and accuse them of shoddy workmanship. This problem does not occur on the Mac line of laptops that use the “Magsafe” connector - since the connector just harmless falls off if excessive lateral pressure is placed on the connector.

2) Kinked cable syndrome: This happens due to repeatedly holding the charger cabling too tightly while winding the cables for storage. Eventually, the copper wiring inside breaks and you end up with the inability to charge your laptop. Make sure you hold the cable loosely in the hand so that the internal copper wiring doesn’t get twisted.

3) Hard drive click of death: This usually happens on computers over 3+ years. Unfortunately, the quality of hard drives has declined these past years, and the inevitable result are more failures. Only way to prevent this is to buy time by shutting off your computer if you’re not using it, or to activate the power saving features. Always make sure to make backups.

Installing Windows 7 on a OQO O2 (Dual/tri boot with XP and linux)

Monday, November 2nd, 2009

Here’s what I did in order to install Windows 7 on an OQO O2 that also has Win XP and Linux - with LILO handling the MBR.1 - make sure Vista OS is updated to SP1 - note - the windows update did not seem to install sp1 properly. I had to manually download and install the SP1 package.2 - use whatever means you feel comfortable to backup the MBR, i.e. DD in linux. use google to search for “backup MBR” . Make sure it is saved onto removable media that is accessible from either windows or linux.3 - install the windows 7 from the DVD . Factor around over 2 hours for the install to complete.4 - At this point the original LILO mbr has been wiped out. A huge caveat for those people using dual boot on an oqo with linux. The windows 7 upgrade will trash the LILO/grub boot sector! Make sure you back up your mbr/boot sector before upgrading to windows 7! Luckily, I’ve made a backup of it… It’s just a matter of restoring the mbr and things should be back to normal. What I’ll do before restoring, is to also make a backup of the current windows 7 installation and mbr before doing the restore, just in case things go horribly wrong. Boot using Knoppix or Backtrack Linux, and use the dd if=mbrbackup of=/dev/hdc bs=512 count=1 .After installation, the atheros wifi driver did not work. At first, the wifi needed to be manually started (enabled), which is strange. It seemed to connect to the wifi base station and also retrieved the dhcp address, however pinging the gateway did not work. The ethernet was working though, so I used that to connect to windows update and updated the atheros driver that was available from there. Once installed, the driver needed to be “enabled” , and it connected to the internet with no problems after that. So far, windows 7 on a standard issue oqo o2 seems to be a huge improvement over vista. Much faster response and usability speeds.Problems with Windows 7 on OQO O2Some issues I’ve found so far:- the Atheros AR500 wifi driver needs to be manually enabled after every reboot- the brightness controls work - however the original OQO brightness bar that used to show up is now gone- how windows 7 handles connections to wifi is maddeningly confusingUpdate:  Jan 5, 2009I waited until now before trying to install the OQO Manager software.   Some notes:   The trackstick stops working after installing the OQO Manager software…   the problem is that the manager software defaults the trackstick to “less” sensitivity.  The solution is to go to control panel –> OQO settings –> Trackstick , and move the slider bar to more sensitivity.    You’ll need to connect a usb mouse previously in order to do this though.

some very useful tools for windows

Monday, November 2nd, 2009

http://dimio.altervista.org/eng/

Getting around the argument list too long problem in linux

Sunday, November 1st, 2009

copied from LinuxJournal.com

by A. Naro

Method #1: Manually split the command line arguments into smaller bunches.

Example 1

[user@localhost directory]$ mv [a-l]* ../directory2
[user@localhost directory]$ mv [m-z]* ../directory2

Method #2: Use the find command.

Example 2

[user@localhost directory]$ find $directory -type f -name '*' -exec mv
{} $directory2/. ;

Method #3: Create a function. *

Example 3a

function large_mv ()
{       while read line1; do
                mv directory/$line1 ../directory2
        done
}
ls -1 directory/ | large_mv

Example 3b

function larger_mv ()
{       while read line1; do
                md5sum directory/$line1 >>  ~/md5sums
                ls -l directory/$line1 >> ~/backup_list
                mv directory/$line1 ../directory2
        done
}
ls -1 directory/ | larger_mv

Example 3b demonstrates how you easily can get an md5sum and a backup listing of each file before moving it.

Method #4: Recompile the Linux kernel. **This last method requires a word of caution, as it is by far the most aggressive solution to the problem. It is presented here for the sake of thoroughness, since it is a valid method of getting around the problem. However, please be advised that due to the advanced nature of the solution, only experienced Linux users should attempt this hack. In addition, make sure to thoroughly test the final result in your environment before implementing it permanently.

One of the advantages of using an open-source kernel is that you are able to examine exactly what it is configured to do and modify its parameters to suit the individual needs of your system. Method #4 involves manually increasing the number of pages that are allocated within the kernel for command-line arguments. If you look at the include/linux/binfmts.h file, you will find the following near the top:

/*
 * MAX_ARG_PAGES defines the number of pages allocated for   arguments
 * and envelope for the new program. 32 should suffice, this gives
 * a maximum env+arg of 128kB w/4KB pages!
 */
#define MAX_ARG_PAGES 32

In order to increase the amount of memory dedicated to the command-line arguments, you simply need to provide the MAX_ARG_PAGES value with a higher number. Once this edit is saved, simply recompile, install and reboot into the new kernel as you would do normally.

On my own test system I managed to solve all my problems by raising this value to 64. After extensive testing, I have not experienced a single problem since the switch. This is entirely expected since even with MAX_ARG_PAGES set to 64, the longest possible command line I could produce would only occupy 256KB of system memory–not very much by today’s system hardware standards.

The advantages of Method #4 are clear. You are now able to simply run the command as you would normally, and it completes successfully. The disadvantages are equally clear. If you raise the amount of memory available to the command line beyond the amount of available system memory, you can create a D.O.S. attack on your own system and cause it to crash. On multiuser systems in particular, even a small increase can have a significant impact because every user is then allocated the additional memory. Therefore always test extensively in your own environment, as this is the safest way to determine if Method #4 is a viable option for you.

Powershell IT monitoring - PowerGadgets

Thursday, October 22nd, 2009

http://www.softwarefx.com/sfxSqlProducts/powergadgets/default.aspx

  • Interesting server administration using powershell as a base.
  • possible car-cam

    Friday, October 2nd, 2009

    MD80 mini sport camcorder

    Data Centre Incentive Program

    Thursday, September 24th, 2009

    http://www.torontohydro.com/electricsystem/dataincentiveprogram/index.html

    Interesting technology : Solar powered air conditioner

    Tuesday, September 15th, 2009

    http://www.solarac.com/ultracooled.htm

    but is probably referring to a product made by this company:

    http://www.coolerado.com/

    http://www.buildinggreen.com/

    Cleaning the trackball on a blackberry.

    Friday, September 11th, 2009

    The following is just a documentation of what I did to clean the trackball module of my blackberry.    The reason for cleaning the trackball was because it refused to move downwards.   Left, right, and up worked ok.  Follow and apply these steps at your own risk.  Death and dismemberment may spontaneously occur!   Even the act of reading further can seriously affect the curvature of space-time in your immediate vicinity and may also cause further death and dismemberment.   You have been forewarned.  

    Each picture can be opened for a larger version.

    _igp1582.jpg  Look closely at the silver trackball ring,  you’ll see that there’s a small space surrounding the silver ring and the body of the phone.  It’s just enough to stick your fingernail in to pry the silver ring out.   Very carefully pry it out while changing sides frequently.   Before removing it completely, I noticed that the silver ring only has 3 prongs (NOT FOUR!!) ,  remember where these prongs are positioned, and also notice that the prongs fit into a slot.   REMEMBER that these prongs have to be seated into these slots…   trying to put the silver ring back on without aligning into the slots will bend+break the prongs - I already made this mistake!

    _igp1581.jpg

    Once it has been removed, it will reveal the trackball module.     It can be easily popped out just by flipping the phone face down into my palm.   <— don’t do this yet!    Very carefully flipped it into my palm and made note of how the module was oriented,  this will ensure that I put the module back in properly.

    _igp1584.jpg

    _igp1590.jpg_igp1583.jpg

    _igp1586.jpg

    Notice that there are 4 small roller things.   Take note how they are positioned!   Because after you remove the metal clips, they can easily pop off.   They are also magnetized, so they tend to be attracted to each other.   In order to remove the metal clip,  I had to use something sharp, like a swiss army knife.   Use this sharp instrument to carefully lift the metal clip off the plastic tab.

    _igp1587.jpg

    The pictures below shows the rollers and ball completely free from its’ housing.   I then used some mild cleaning solution like soapy water or windex (basic ammonia based window cleaner) and some tissue to clean the individual components.   I do not recommend using any strong cleansers which might melt the plastic.

    _igp1588.jpg

    _igp1589.jpg

    Put everything back together.  (and using the previously made notes on how things were oriented) .

     Et viola,  the trackball is working again.

    Tracking your competitors’ shipping containers?

    Saturday, August 22nd, 2009

    http://www.importgenius.com/

    File synchronizer

    Friday, June 5th, 2009

    http://freshmeat.net/projects/unison