Possibly moving away from Drupal...

I will be looking into updating the site in the near future.  While I'm at it, I will be looking into other CMS systems.

  • Drupal 7 - Drupal is nice, but it can really be a pain sometimes.  I like having power, but its a little too hands on for my limited time...
  • Bitweaver - looks nice...
  • Joomla
  • wordpress
  • mambo
  • plone
  • mediawiki
  • tikiwiki

Requirements are:

  • easy backup and restore (preferably a web interface, but bash scripts if nothing else)
  • WYSIWYG editor (with spell checking)
  • good search (had to use google search in drupal because its search sucks so bad)
  • easy patching/upgrading
  • regular updates

It world also be nice to have a photo management replacement for picasa, but I really doubt that happens anytime this century...

EXT4 to the rescue

Looks like ext4 might be better than ext2 for SSDs...
http://thunk.org/tytso/blog/category/computers/ssd/

Just need to set that noatime and no journal options...

Other reading... http://en.gentoo-wiki.com/wiki/Solid_State_Disk

  Changing defaults... changed huge_file to large if you don't need 2TB files/devices
  Also removed has_journal
/etc/mke2fs.conf
 ext4 = {
                features = extents,large_file,flex_bg,uninit_bg,dir_nlink,extra_isize
                inode_size = 256
        }

  just to make sure that no journal is used...
mke2fs -t ext4 -O ^has_journal /dev/hda1

  might be required (mount may not autodetect ext4)
mount -t ext4 /dev/hda1 /mnt/gentoo

Also note that the huge_file/large_file option affects the kernel... (block layer-> support for large (2TB+) block devices and files

Gentoo collisions

IO-Compress collisions...
 * Detected file collision(s):
*      /usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/RawInflate.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Inflate.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Base.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Unzip.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Bunzip2.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Gunzip.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/AnyUncompress.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/AnyInflate.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Adapter/Bunzip2.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Adapter/Identity.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Uncompress/Adapter/Inflate.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Deflate.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Zip.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Base.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/RawDeflate.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Gzip.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Bzip2.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Adapter/Deflate.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Adapter/Identity.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Adapter/Bzip2.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Gzip/Constants.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Zlib/Extra.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Zlib/Constants.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Zip/Constants.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Base/Common.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/auto/Compress/Zlib/autosplit.ix
 *      /usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm
 *      /usr/lib/perl5/vendor_perl/5.8.8/File/GlobMapper.pm

Turnes out removing (or backing up) those files solves the issue...

Gentoo web package info / search

Since the main gentoo package site is so badly broken, I've been using http://www.gentoo-portage.com/
Pretty nice, but a little slow and overkill for somethings (but also some nice features sometimes).

I also just found this.. which looks like a great replacement for the original :) http://packages.larrythecow.org/

Another small gentoo hickup

nepomuk error...
found no soprano plugin at  "/usr/lib/soprano/libsoprano_sesame2backend.so"

Fixed with:
emerge redland soprano nepomuk rasqal

torrent update anyone?

Not something I use very often, but when I do...
Currently I use deluge... very nice.  But might as well survey the lands before updating...

  • Deluge
    • + Lots of features
    • + Fairly constant updates (src and ebuilds)
    • + Nice website
    • - GTK
    • - Quite a few dependencies
  • Ktorrent - KDE
    • + Lots of features
    • + Fairly constant updates (src and ebuilds)
    • + KDE
    • - Not so nice website
    •  - Quite a few dependencies (of which most I already had)
  • BTG
    • + Several clients
    • - No KDE client
    • - Appears slightly more stagnant (enough to knock anyone out of this tight race)
    • - Appears to have limited features
    • - Not so nice website
  • qBitttorrent
    • + KDE
    • + Lot of features
    • + Lots of updates (src and ebuilds)
    • + OK website
    • - Currently requires X (not a requirement for me, but certainly is handy enough to knock it out of the race)
  • Transmission
    • + Lots of updates (src and ebuilds)
    • + Nice plugins
    • + Lots of clients
    • + Nice website
  • ... incase you didn't catch it, I'm looking for a simple client with a web interface (thats how i arrived at this list).  And a KDE based solution would be nice, since I'm running KDE 4.  Well, this stinks.. no clear winner.  Guess I'll just have to try them all
  • Looks like its down to transmission, ktorrent (lost last round of reviews to deluge), and deluge

Them fancy words

So, it seems things never quit rolling forwards...
upstart
DeviceKit-power
DeviceKit-disks
grub2?

Looks like HAL is kicking the bucket... infact, xorg-server needs to have the "-hal" use flag or my keyboard and mouse wouldn't work!
 

xorg-server 1.7 !!!

http://blogs.gentoo.org/remi/2009/10/26/xorg-server-1-7-unmasking

Its currently in testing (~) and requires these (quite a few) testing packages as well...
x11-proto/fixesproto ~x86
x11-proto/xextproto ~x86
x11-proto/xf86vidmodeproto ~x86
x11-proto/renderproto ~x86
x11-proto/recordproto ~x86
x11-proto/inputproto ~x86
x11-proto/xineramaproto ~x86
x11-proto/bigreqsproto ~x86
x11-proto/xf86driproto ~x86
x11-proto/xf86dgaproto ~x86
x11-proto/xcmiscproto ~x86
x11-proto/xproto ~x86
x11-libs/libX11 ~x86
x11-libs/libXext ~x86
x11-libs/libXinerama ~x86
x11-libs/libXxf86dga ~x86
x11-libs/libXtst ~x86
x11-libs/libXi ~x86
x11-libs/libXxf86vm ~x86

So, libX11 has a bug thats not being fixed anytime soon (so it seems).  http://bugs.gentoo.org/show_bug.cgi?id=290844

cd /usr/portage/x11-libs/libX11/
wget -O bug http://bugs.gentoo.org/attachment.cgi?id=208529
patch < ./bug
ebuild ./libX11-1.3.2.ebuild digest

And it appears that another emerging of input device drivers is needed...
qlist -I -C x11-drivers/
tempString="";for driver in `qlist -I -C x11-drivers/`;do tempString="$tempString $driver"; done;emerge $tempString

Looks like we got issues with packages (like nvidia-driver) not liking >xorg-1.6 ... trying to get this worked out now... (maybe using a MASKED !!! version of nvidia-drivers will work)
ChoGall jake # cat /etc/portage/package.unmask
=x11-drivers/nvidia-drivers-190.42-r1
ChoGall jake #

Scratch that! The newest driver is not in testing!

OH and as a note, to find what package a file is part of:

qfile /etc/fonts/fonts.conf

OR, if you unmerge (use depclean) and break something, try revdep-rebuild
 

awk

Maybe this will grow into something bigger one day...

While trying to get awk to cooperate with the following:
ps | awk '{print $1}' | awk -v cmd=$FOO '/\<$cmd\>/ {print}'
or more simply
ps | awk '{print $1}' | awk -v '/\<$FOO\>/ {print}'

I discovered that I can't make it work :P

So this appears to work, although I can't make sense of it...
ps | awk '{ print $1 }' | grep -e "^$FOO$"

Syndicate content