Xaprb

Stay curious!

Wikipedia’s concensus: Linux is an operating system

with 2 comments

My brother sent me these thoughts, slightly edited:

Recently I looked at the [Wikipedia] Linux page. To my surprise it’s not about the kernel Linux, it’s about the “OS”. I looked at discussion and it appears that by general consensus the term Linux applies to the unix like operating system, and so it is correct for Wikipedia to follow that consensus. So, instead of providing information, they are deliberately misleading folks… Often what the majority does is wrong because the majority of people are not the experts. By definition, the experts are a minority.

You’d expect a higher standard from Wikipedia, wouldn’t you? Wouldn’t you? Aw, come on, surely you don’t mean to imply that Wikipedia is a place where things become true because most people say so, do you?

Consensus, when used in this way, is nothing other than mind-rot for the masses, group-think at its worst. There is a valid use of the word when it applies to decision-making. But this isn’t about decision-making, it’s about out-voting or out-discussing.

What’s interesting to me is that I heard a radio interview with Wikipedia’s founder Jimmy Wales, and he was extremely careful to say GNU/Linux when discussing the operating system that runs the website.

Saying that Linux is an operating system has not, does not, and never will make it true any more than saying that a steering wheel is a car makes it so.

Written by Xaprb

July 1st, 2009 at 4:06 pm

Posted in Commentary, GNU/Linux, World Wide Web

Tagged with

How to add a wiki homepage, sidebar, and TOC in Google Code

with one comment

I just adore Google Code. But the default wiki view (a list of pages, sorted by last-modified) is lacking something. Fortunately, it’s fixable. Here’s the before:

Default wiki list

Default wiki list

And here’s the after:

Wiki with sidebar and default page

Wiki with sidebar and default page

Here’s how:

  1. Create a wiki page called TableOfContents, or something like that. Using normal wiki syntax, enter links and text for your table of contents. The best way to do this is to use bulleted lists to organize and outline the pages. Keep in mind that we’ll use this same text for the sidebar, so keep it brief.
  2. Go to Administer/Wiki and enter that wiki page’s name in the “Wiki Sidebar” box. Save the changes.
  3. Go to Administer/Tabs and enter the same page in the Wiki box. Save the changes.

Now both the wiki “homepage” and the sidebar will contain the page you created. No more ugly list-of-pages. And as you navigate through the wiki pages, the sidebar automatically expands and closes the outline to show where you are.

If you want, you can use a different homepage and sidebar, but I’ve found that it works well for me to use the same page for both. It’s a preference, that’s all.

There’s one more trick I’d like to share: you can add the text <wiki:toc /> at the top of any page to create a small table of contents for that page. There are ways to customize it — check the documentation for more options.

Written by Xaprb

July 1st, 2009 at 10:29 am

A review of MySQL Administrator’s Bible

with one comment

MySQL Administrator's Bible

MySQL Administrator's Bible

MySQL Administrator’s Bible by Sheeri K. Cabral and Keith Murphy, 2009. Page count: 800+ pages. (Here’s a link to the publisher’s site.)

This book is a comprehensive reference guide to MySQL that’s accessible to beginning DBAs or DBAs familiar with another database. It has enough detail to be a useful companion throughout a DBA’s career. It also covers many related technologies, such as memcached, at a moderate-but-useful level of detail. This isn’t exactly a how-to book, and it isn’t exactly a reference manual; it’s more of a blend of the two.

The audience will depend on personal preferences. Some of the reference material is the type of thing I would look up with command-line --help options or the MySQL manual. But there are times when the reference aspect of the book is uniquely valuable. For example, the online documentation tends to list things alphabetically; the book might break them down into groups by function. An example is the sql_mode parameters, which it groups into categories like “Getting rid of silent failures, silent conversions, and silently allowing invalid data.”

The non-reference aspect of the book has a lot of examples of how to do things, such as how to set up replication over SSL. This is exactly what I’d look for in a book. Otherwise, you’re reduced to reading documentation (inefficient, mind-numbing) or trusting the information you find online, which is generally not something I do.

Speaking of trusting information, I was happy to see very few typos or errors. Occasionally I caught a minor slip. For example, when discussing the limited memory a 32-bit mysqld can use because it runs in a single process, there’s a typo that mis-states this architectural feature as “mysqld is currently single-threaded,” which is not quite the same thing. Overall, you can rely on the information you’ll read in this book.

The book is divided into four parts: first steps, developing with MySQL, core administration, and a set of chapters and appendixes grouped under extending your skills. I think this organization works well. You can read the full Table Of Contents at the publisher’s site linked above.

Coverage is for MySQL 5.1 and 6.0. As we know, 5.1 was GA’ed and 6.0 has been killed and replaced by a new release policy. This gives a slightly odd feeling to some passages, which speak about 5.1 in the past tense and 6.0 in the present tense! As far as I know, however, this book contains the most complete coverage of MySQL 5.1 in print. The only other similar book I’ve read that covers 5.1 is High Performance MySQL 2nd Edition — and that one is a bit light on details because there wasn’t a lot of production knowledge of 5.1 yet (I’m the lead author of HPM2e, by the way).

Speaking of which, I think that MySQL Administrator’s Bible is a very good complement to High Performance MySQL, 2nd Edition. The former is useful to people who have varying levels of knowledge, while the latter assumes a lot of experience and doesn’t cover introductory material much. And the books have different topics, of course. So if you’re new to databases, or if you’re new to MySQL, you might do well to start with Sheeri’s book, then continue or supplement your education with ours.

All in all, this is a book that’s well worth buying if you’re going to administer a serious MySQL installation. I tip my hat to Sheeri — I don’t know how she did it. It’s a huge project and she pulled through the last (and by far most difficult) part of it by herself.

Disclosure: I tried to be a tech reviewer for this book, but I was over-committed and had to back out after a while.

Written by Xaprb

June 30th, 2009 at 9:43 am

Posted in Review, SQL

Tagged with ,