Tuesday, September 29, 2009
Git The Basics Tutorial
Git The Basics Tutorial
Monday, February 09, 2009
Wednesday, January 07, 2009
YuLastfm Pidgin plugin download
Author: Chih-Chun Lin (linleno)
Version: 0.1.1
License: GPLv2
Requirement: Pidgin 2.3+
Desc.: This perl script is a Pidgin(one popular instant message software on Linux) plugin which help you update your "now playing" information from the Last.fm musical social network.
HowTo:
- cp yulastfm.pl ~/.purple/plugins/
- configure yulastfm plugin: set username and set refreshing rate (don't set the refreshing rate too high, 30-60 per sec. is reasonable range), in sec.
- You could go to Tools->YuLastfm->"Refresh Tune" to refresh Tune right away, at the meantime, the timeout will also been reset.
You could visit YuLastfm Project Homepage on SourceForge.net for more specific and updated information.
Tuesday, January 06, 2009
How to get a backtrace on Ubuntu
This is a quite worth-read document.
Pidgin Backtrace
A pidgin backtrace How To.
Thursday, December 25, 2008
Naming and Version Number of Debian Packages
- package name_version number-debian revision_architecture.deb
- [epoch:]upstream_version[-debian_revision]
- amarok_1.4.10-0ubuntu3_i386.deb
- 1.4.10: original version number
- 0ubuntu3: Ubuntu build number
- i386: architecture
- libplasma3_4:4.1.85-0ubuntu1~intrepid1~ppa1_i386.deb
- 4: epoch, usually single unsigned integer. It is intended to be used in case of a change in version numbering scheme, or if a mistake is made.
- 4.1.85: original version number
- 0ubuntu1~intrepid1~ppa1: Ubuntu build number
- i386: architecture
When comparing two version numbers, first the epoch of each are compared, then the upstream_version if epoch is equal, and then debian_revision if upstream_version is also equal. epoch is compared numerically. The upstream_version and debian_revision parts are compared by the package management system using the following algorithm:
The strings are compared from left to right.
First the initial part of each string consisting entirely of non-digit characters is determined. These two parts (one of which may be empty) are compared lexically. If a difference is found it is returned. The lexical comparison is a comparison of ASCII values modified so that all the letters sort earlier than all the non-letters and so that a tilde sorts before anything, even the end of a part. For example, the following parts are in sorted order from earliest to latest: ~~, ~~a, ~, the empty part, a.
Then the initial part of the remainder of each string which consists entirely of digit characters is determined. The numerical values of these two parts are compared, and any difference found is returned as the result of the comparison. For these purposes an empty string (which can only occur at the end of one or both version strings being compared) counts as zero.
These two steps (comparing and removing initial non-digit strings and initial digit strings) are repeated until a difference is found or both strings are exhausted.
Note that the purpose of epochs is to allow us to leave behind mistakes in version numbering, and to cope with situations where the version numbering scheme changes. It is not intended to cope with version numbers containing strings of letters which the package management system cannot interpret (such as ALPHA or pre-), or with silly orderings (the author of this manual has heard of a package whose versions went 1.1, 1.2, 1.3, 1, 2.1, 2.2, 2 and so forth).
--
Ref
- Package Systems
- Debian Policy Manual
- Chapter 5 - Control files and their fields
- 5.6.12 Version
Rebuild Ubuntu deb Package
- build-essential
- devscripts: debuild
- fakeroot
- apt-get sourc foo
- apt-get build-dep foo: download related sources
- apt-get source foo
- apt-get build-dep foo
- cd foo
- source editing
- debuild -us -uc: -us and -uc are the parameters passed to dpkg-buildpackage
- -us Do not sign the source package.
- -uc Do not sign the .changes file.
- sudo dpkg -i ../foo.deb
Tuesday, December 16, 2008
Monday, December 15, 2008
Quadro vs GeForce
- Antialias
- OpenGL Per-Fragment Logic Operation
- Overlay Plane Support
- Highlighted by the Cursor
- Clip Regions
- Overlapped Windows
- Hardware-Accelerated Clip Planes (lesser unnecessary triangles)
- Two-Sided Lighting
- Overlay Plane Support
- Quad-Buffered Stereo
- P4 Optimizations (NetBurst)
- The more frequently the more efficiently
- Unified Driver Architecture
- Application Support and Optimization