Wednesday, February 29, 2012

apt-get update && apt-get upgrade

I noticed that at times when I am doing my usual updating to my system from the terminal, I will get a message:

    The following packages have been kept back:

Doing the usual:

    apt-get update && apt-get upgrade

will update / upgrade the packages that are  installed.  If new packages have changed "dependencies", then they are held back.  In other words, the upgrades may depend on packages that are new to your system and since they aren't available they will be held back.  To update the packages to the newer versions and fix the dependencies issue, you can run:

    apt-get dist-upgrade

Now the new packages are acquired that satisfy the dependencies of the upgrades, and your system will then update with the newer packages.

Sunday, February 26, 2012

Python

AutoHotKey has been incredibly useful for managing to make my electronic medical record actually useful instead of a hindrence to my daily workflow. I am sure I will continue to use it, however, I have gravitated away from Windows unless I have to (i.e. with work) and I prefer to use Linux predominately (CrunchBang, a Debian based distro) and MacOS as well with the family as they are most adjusted to that and it keeps everyone's iPods working smoothly :)
I think AHK has really whet my appetite for additional programming that I can move between more systems, and after trying out a little intro C++, then Javascript, I've decided the most useful for my needs looks like Python. So far, I have found a great reference to get started from by a guy named Zed Shaw (learnpythonthehardway.org) which is available in the HTML version for FREE. Can't beat that. many thanks to him and I will try to place things that helped to clarify things for me here as usual. At some point, if I am able to cleanly make a program that is more universal for typical EMR's to help fix the many lacking areas of usability within most of them, I might share... but until then, I can blow up my own system without harming others.