Skip to main content

Posts

Showing posts from 2018

The medical reason I use tabs instead of spaces

Oh the old war between tabs and spaces. The battles that have been fought and won and lost. The friendships born and destroyed. The style guides that have been created that demand one or the other. The insane auto-indentation calculation systems that mix tabs and spaces in the same document. The difference in pay that can be achieved...and then debunked.

But enough waxing poetic. I used to be a spaces guy for many, many, many years and even went so far as to tout "two-space tabs" as "the best indentation format". All of my code consistently used spaces and I loved it. But then I switched to tabs and haven't looked back. There's a simple reason to use tabs that universally beats out all other reasons:

Carpal Tunnel Syndrome

Years ago, I got carpal tunnel not once, but twice in a fairly short period of intense coding. I made the realization that I needed to cut back the number of times I was hitting the spacebar. So even "two-space tabs"…

Linux LVM is a disaster

I just got done converting my last LVM enabled system to non-LVM. Not by choice, mind you, but because Linux LVM is a disaster and creates disasters. Every system I've ever deployed Linux LVM to (servers mostly because Ubuntu Server LTS edition "recommends" it), I've encountered nothing but problems. I've got a decade of experience deploying and running Linux servers so it's not a competence issue. LVM is a technology that simply isn't ready for real production environments. LVM also lacks mature community support when things go sideways. RedHat created and barely maintains LVM, which is all I need to know since anything RedHat touches usually winds up a convoluted mess.

What is Linux LVM (that's lvm2 to the initiated)? In short, LVM is a set of user and kernel space modules that give greater control over partitioned space. To that end, it works pretty well. You can partially assign partition space on a drive and leave the extra storage avai…

Dear Google: Follow your own demands/recommendations!

Google has a problem with following its own rules. Here's how you can prove it: Start a web browser on a desktop, visit www.google.com and search for something, and now shrink the window to the smallest possible size.



Notice anything unusual? Well, the page, for one, does not follow Google's own rules for their own search engine indexing. Webmaster tools says that website operators that run websites without responsive designs will get a reduction in PageRank. Yet Google Search results, probably one of the blandest pages to make responsive, is not actually responsive. Google: You don't get to dictate rules if you aren't willing to follow them yourself (just try plugging in a google.com search URL into that box) for all screen resolutions (including desktop browsers). So either make your search results pages fully responsive or back down from your position.