Blogs

Varnish

varnish!
is the shiznit.

Reverse-proxy, with insane configurability. Also makes it very easy to completely screw over cookies and sessions on your website!

Blinders

From the not-quite-current-affairs dept.

Read some blog post by a guy who apparently hashes out protocols like the Wireless 802 stuff. This guy argues that DNS servers 'cause ugly errors in webbrowsers' by giving NXDOMAIN's, and makes a case for ISP's redirecting traffic to these NXDOMAINS to their own 'portal pages'. Software that can't cope with this is 'outdated and unfriendly'.

The amount of stupidity in this statement is mindboggling. I count 5 gross misconceptions (IMHO). Goes to show that a nice C.V. and experience doesn't guarantee intelligence on all subjects.

Paraphrased most stuff; source is somewhat more extreme, even.

Drupal modules

CCK
Views
Akismet
DHTML Menu

Must have Drupal modules. These modules easily extend the usability of Drupal to the insane. Some are handy timesavers, some are insanely powerful... 

Asus EEE PC 900 Review

Key size
Key size
The EEE pc is one of the most successful of an emerging niche in the notebook landscape: "netbooks". These low-power, low-cost and exceedingly small laptops are rapidly becoming popular, with manufacturers like Asus, MSI, Acer and even Apple putting out competative products. One of the heavy hitters in the market, despite the somewhat idiotic abbreviation ("Easy to use, Easy to play, Easy to work"), is the Asus EEE pc series.

Partition Migration Quicklist

Quicklist for migrating partitions:

  • Download Knoppix LiveCD
  • Burn and boot to said CD
  • umount any partitions that you will be moving
  • Use gParted to "Copy and Paste" partitions to intended destinations (yes, even across harddisks). Don't forget to create the swap fs!
  • Take notes where each partition is and what it contains. Map to expected /dev/sdxx devices so you know what's where
  • Shutdown and move around / disconnect harddisks if needed
  • mount filesystems for /boot and /etc (may be on one filesystem
  • edit /boot/grub/device.map file to reflect changed harddisk organisation (or whatever other hoops other boot managers make you jump through)
  • reinstall GRUB (or other boot manager). something like this
    • find /boot/grub/stage1
    • Use output for next command  root (hdx,x)
    • Setup grub with setup (hd?) where ? is whatever disk (for MBR install) or where ? is whatever partition (for partition install).
  • Edit /etc/fstab to point to correct partitions, delete obselete lines from the file.
  • Reboot and test. Also prepare to reinstall windows, if needed... :(

The Amarok music player: a review.

One of the pearls of the K Desktop Environment is the Amarok audio player. It looks more similar to Itunes than Winamp, but without the tie-in to the Itunes Music Store and the fairly conservative functionality. It seems my quest for an allround music player has found a new winner!

Flash 32bit on 64bit installs of Linux

Edit: this has ceased to be relavant.

One of the things missing from 64bit computing at this moment is the Adobe Flash player. This severely limits your ability to spend countless hours on Youtube and/or most of the embedded video sites. Turns out Adobe has been especially slow releasing a 64bit solution, so we'll have to make do with a trick. AFAIK the 32bit flash player is 'wrapped' in ndiswrapper and then installed into your 63 bit Firefox.

Linux migration Revisited

About three months ago, I started to jump ship from Windows to Linux. I detailed my progress in this blog post. Three months later, what's to add? What's changed? Well, it turns out most of my gripes were just a combination of n00bage, bad luck and misconfiguration. Read on for "The Migration: Revisited"

CjDWiki Mediawiki skin

Releasing my adaptation of the Monobook skin, CjdWiki! overview The skin retains the sensible positioning and overall feel of Monobook, but looks a bit fresher than the grey-grey Monobook. Color scheme is white and orange on black. The skin has not been tested per sé, but should work without any technical problems. Please report inconsistencies and bugs!

Self-Servering 101

One of the things any self-respecting wannabe webdevver™ just has to do is plunk some old poor Pentium 2 online and set it up as a http/svn/ftp server. SSH means you can admin the thing from your normal machine, and stick the ugly beige case away somewhere out-of-the-way.

All well and good, but after a while you start noticing the harddisk lights blinking at 4 in the morning. You check out all the logs, and it turns out some bot is trying to log in, using each and every common username (linux, admin, sales, purchasing...). Of course, there's no danger of them actually brute-forcing the bugger, since you've undoubtedly set up a nice 16 character password and hammered down the hatches. (Have you? ;) I know I didn't...)

But it's still pretty irritating, and firing off emails to abuse@someprovider.tld gets tiring after a while. You'll want some automated blacklisting: DenyHosts is a pyscript that'll add offending IPs to hosts.deny and cleans up after itself. Here's a nice howto to get you up and running. The tool even communicates with a master server (a la Akismet) to get you lists of known ssh scanbots! The Dev deserves a beer!

Update: apparently you can also just apt-get install libpam-abl