Thursday, November 8, 2012

How I Calculate a Proper Tip

I was just thinking about tipping while looking at a receipt just now, and decided to let the world in on how I come up with the appropriate amount (in this case at least).
I always tip 20%, because it's the upper end of what I've heard to be the spectrum 15-20% and it makes for relatively easy calculation.
My check was $14.41, divide by 10 (move decimal point left one space) to get 1.44 and multiply by 2 to get to 20%, I saw 1.44 was close to 1.5 so I just made it an even $3 which comes to a 20.8% tip.

NotBad.JPG

Thursday, November 1, 2012

Arch Linux VPS and glibc upgrade issue


So I just got a VPS with Archx86_64 and had some trouble with the glibc upgrade (again), I've been following various guides and ran into a little hiccup with glibc that I haven't seen elsewhere, there were files owned by util-linux-ng in /lib, I just had to sync that package explicitly and it was removed and replaced util-linux and glibc installed fine :)
[root@lovejes ~]# find /lib -exec pacman -Qo -- {} +
error: cannot determine ownership of directory '/lib'
/lib/libcrypt.so.1 is owned by glibc 2.16.0-99
/lib/libnss_hesiod-2.16.so is owned by glibc 2.16.0-99
/lib/libresolv-2.16.so is owned by glibc 2.16.0-99
/lib/libpcprofile.so is owned by glibc 2.16.0-99
/lib/libuuid.so.1.3.0 is owned by util-linux-ng 2.17.2-2
/lib/libcidn.so.1 is owned by glibc 2.16.0-99
/lib/libresolv.so.2 is owned by glibc 2.16.0-99
/lib/libuuid.so.1 is owned by util-linux-ng 2.17.2-2
/lib/libnss_files-2.16.so is owned by glibc 2.16.0-99
/lib/librt.so.1 is owned by glibc 2.16.0-99
/lib/libBrokenLocale-2.16.so is owned by glibc 2.16.0-99
/lib/libnss_nisplus-2.16.so is owned by glibc 2.16.0-99
/lib/libblkid.so.1 is owned by util-linux-ng 2.17.2-2
/lib/libnss_dns-2.16.so is owned by glibc 2.16.0-99
/lib/libSegFault.so is owned by glibc 2.16.0-99
/lib/libc-2.16.so is owned by glibc 2.16.0-99
/lib/libdl-2.16.so is owned by glibc 2.16.0-99
/lib/libBrokenLocale.so.1 is owned by glibc 2.16.0-99
/lib/libpthread-2.16.so is owned by glibc 2.16.0-99
/lib/libthread_db-1.0.so is owned by glibc 2.16.0-99
/lib/ld-linux-x86-64.so.2 is owned by glibc 2.16.0-99
/lib/libm-2.16.so is owned by glibc 2.16.0-99
/lib/libnss_nis-2.16.so is owned by glibc 2.16.0-99
/lib/libnss_compat.so.2 is owned by glibc 2.16.0-99
/lib/libdl.so.2 is owned by glibc 2.16.0-99
/lib/libnss_hesiod.so.2 is owned by glibc 2.16.0-99
/lib/librt-2.16.so is owned by glibc 2.16.0-99
/lib/libmemusage.so is owned by glibc 2.16.0-99
/lib/libutil.so.1 is owned by glibc 2.16.0-99
/lib/libblkid.so.1.1.0 is owned by util-linux-ng 2.17.2-2
/lib/ld-2.16.so is owned by glibc 2.16.0-99
/lib/libpthread.so.0 is owned by glibc 2.16.0-99
/lib/libnss_files.so.2 is owned by glibc 2.16.0-99
/lib/libutil-2.16.so is owned by glibc 2.16.0-99
/lib/libanl.so.1 is owned by glibc 2.16.0-99
/lib/libcrypt-2.16.so is owned by glibc 2.16.0-99
/lib/libnss_db.so.2 is owned by glibc 2.16.0-99
/lib/libnsl.so.1 is owned by glibc 2.16.0-99
/lib/libcidn-2.16.so is owned by glibc 2.16.0-99
/lib/libanl-2.16.so is owned by glibc 2.16.0-99
/lib/libnss_db-2.16.so is owned by glibc 2.16.0-99
/lib/libm.so.6 is owned by glibc 2.16.0-99
/lib/libnss_dns.so.2 is owned by glibc 2.16.0-99
/lib/libnss_compat-2.16.so is owned by glibc 2.16.0-99
/lib/libnss_nis.so.2 is owned by glibc 2.16.0-99
/lib/libnss_nisplus.so.2 is owned by glibc 2.16.0-99
/lib/libthread_db.so.1 is owned by glibc 2.16.0-99
/lib/libnsl-2.16.so is owned by glibc 2.16.0-99
/lib/libc.so.6 is owned by glibc 2.16.0-99
[root@lovejes ~]# pacman -S util-linux-ng
resolving dependencies...
looking for inter-conflicts...
:: util-linux and util-linux-ng are in conflict. Remove util-linux-ng? [y/N] y