2 May 2011

Ubuntu 11.04 - disaster, fear, loathing, all wrapped up in one!

I'm a huge fan of Linux (the kernel) and the many incarnations of operating systems that use from, from humble devices and cool smart-phones (using Android), to servers and desktop systems. It is today probably the most used operating system for computers today, and it all started in humble beginnings and embrace complete freedom and collaboration. It is nothing short of an amazing feat of humanity, thanks to an open and sharing geeky Finn.

I am myself an Ubuntu user of about two years or so. I've had various incarnations in the past (Red Hat and Slackware, specifically), but more or less found that Ubuntu was the distribution for me; easy to use, easy to maintain, stable, effective, well supported and well packaged.

And now, all of that might change. Well, all of the things about Ubuntu, that is. I started with Ubuntu 9.04, then I had version 9.10 for a while, and then upgraded to 10.04 (not without a hitch or two), and then a couple of months ago I upgraded to version 10.10 (which was a roaring success). If you look at the calendar you'd notice that my 10.10 upgrade is fashionably late, and that's because I have one principle in regards to upgrading my OS;

  • Wait at least 3 months until the forums are filled up with actual solutions to all the problems you might bump into.

And then on Saturday I broke my principle, partly because I felt brave and confident that Canonical (the people behind the Ubuntu distribution) had it all under control, and partly because of the success of the last upgrade. What could possibly go wrong?

Well, the first problem was that I hadn't been paying attention to the gossip of the Ubuntusphere, and didn't know that they had replaced the Gnome2 window manager with Unity, a window manager spawned from a more successful netbook line of software. I'm sure it might have been a good choice for netbooks and lighter machines, or even lighter users, but for us heavy-weight developers it turned out to be a disaster, bordering on unusable.

Just like the disastrous change in Ubuntu 10.04 of moving the window control icons from the right-hand side (where we all know them, from Windows and Mac to most Linux) to the left (back to some distant past x-windows time-travelling exercise gone wrong) against all cries, and simply ignoring all usability issues that came from it, Unity brings with it a whole bucketload of additional confusing and counter-intuitive concepts. And, against the nature of Linux itself of complete freedom and a multitude of choices, Unity is pretty much non-tweakable. A lot of the time as I was trying to get to grips with the new user-interface I thought to myself, "surely there's a config option where I can tweak this to be usable?" but no such thing exists. Want the taskbar at the bottom instead of the left-hand side of the screen? Tough. The menus were confusing enough, but the plain stupidity of Unity as a screen real-estate saver then filled up with advertisement for programs I might want to download and install? Unbelievable. And moving the menus from the top-left panel where you could rely on a consistent and static place for all your programs and settings you now get a mish-mash of scattered options by right-clicking and clicking on "more" options! I'm sure a lot of it sounded cool on paper, but in practice this is just terrible.

Anyway, the biggest gripe I have (apart from shifting the window bar icons and titles into the top-panel when maximized!) is the new taskbar concept, which is a taskbar and quick-start menu, wrapped into one. It's similar to the Max OSX bar where you fly over your programs, and if it's running you get some little indicator that it is indeed already running, meaning instead of starting it when you click on it, you switch to it. Fine enough unless you're like me and have many windows of the same program open at the same time. At all times I have at least 7-9 Chrome windows open, each sporting an assortment of tabs. Want to switch between these windows? Why, simply flick your mouse to the left-side of the screen to open the taskbar (with the added delay until it comes up), scroll till you get to the Chrome icon, click it. It has a tiny indicator on it saying there's more than one window open, so you click it again where minimized versions of those windows zoom out and gets placed on the screen with a cool animation, and now you click the window you wish to switch to (and note the small windows have no titles just graphics, and if you squint really well you might pick out what the window might contain, but most of the time it's a random click'n'try process). So when I'm in multiple windows that rely on eachother (one window is the program I'm developing, another a test window, then there's the debug window, a JS debug window, documentation, and on and on) I have to go through this whole ordeal to switch between them if I was arrogant enough to want them maximized (and when you develop complex programs that is a guarantee). The only solution is to have them not maximized and placed around in some fashion where I can click on them, if I can read the window bar text. Horrible.

I'm almost lost for words as to why Ubuntu has chosen to now use Unity as the default window manager, given that a majority of users would still be geeks and more or less tech-savvy people. As a supplement, fine, but the default thing for all Linux geeks and users? Shocking.

Needless to say I was less than impressed, and pondered what to do. And then a stupid thought came to me; I just read about the sexiness of Gnome3, so why not try that? Yeah, a bit premature at this point, but I was seriously that disappointed with the whole Unity ordeal, willing to try desperate measures to get away from it (also, not realizing that Gnome3 and Unity are actually terribly similar, and if the story had a successful ending at this point, I'd actually probably been very, very unhappy at this point, so it's kind good that it didn't happen as planned).

Ok, so I found a page or two that showed how to add a ppa to do the trick, and a apt-get dist-upgrade later I rebooted. However I rebooted into a black screen where nothing except a solitary mouse happened. Oops.

Fast forward a number of reboots and apt-get install/upgrade gnome* later, I just thought, hmm, this isn't going to work. Could be graphics drivers, but I had a mouse so I had no idea. And reverting back to Unity was not really an option (as the big warnings had told me), however someone had made a ppa for purging the Gnome3 from the system. I ran that, and it make things even worse (but in a good way I learned later) where I couldn't even open a session of any kind. Ok, back to the terminal and Lynx trying to work things out, and then I stumbled upon a tool which I can't for the life of me remember (menustat, statmenu, something like that?), but is a console tool for tagging what your distribution should contain. So I tagged out ubuntu and in kubuntu (because I thought might as well give that a try), let the program churn away, and rebooted ...

... into a Ubuntu 11.04 with Gnome 2.* classic user-interface. And yes, in hindsight I should have known that the way to do it is to log out of Unity, click my username again for login, but before putting in the password select 'ubuntu-classic' from a drop-down menu at the bottom, and then log in, and I would have gotten something almost like what I've got now, but doing it correctly is for wimps.

However, what I've got right now is somewhat better; it's a mutated mix of Ubuntu gnome 2.* and KDE (and I'll see what I want to remove, little by little), but in the purging effort it cleaned up a few snags I had been struggling with, like the graphics card (graphics now much smoother and faster), now unstuck options, some sound problems in some packages, and a cleaner theme throughout.

All in all, over the weekend I thought I'd screwed up my system seriously (although I did use the great Ubuntu One service to back up my essentials). But after a purge or two, everything snapped back to normal, all programs working, all personal settings intact. Now that stands as a testament to the greatness of Linux if nothing else, and I'm back to being a somewhat happy camper.

But I'm not happy in that I think Ubuntu is not going to be for me anymore. Both Unity and Gnome3 seems like a step in the wrong direction, so perhaps KDE is my next try, we'll see as the next version of the Ubuntu saga unveils. Or, failing that, this might be a good time to go shopping for another great distribution. The options are, unlike Unity, endless.

14 April 2011

xSiteable coming along

Just a quick note that the xSiteable framework is coming along nicely, and I've started to document it and clean it up ready for a release in a couple of weeks time. Yeah, I know, release small, release often, but there are some basics I'm going through right now that will impact it enough to make a 0.9 release bunk in a week or so, so I'm just holding out a little bit more.

Anyway, take a look at the introductory page I put up at GitHub, which should give you enough info ;

   https://github.com/shelterit/xSiteable/wiki

And let me know what you think. This is the framework itself, and we're releasing the CMS / CRM / Intranet / DataWarehouse / ERP / DMS / whatever system as open-source probably at the same time, we just gotta come up with a name for it first. :)

8 April 2011

Dumpty-dumpty!

It's time again to dump a whole slew of links ;

Tech

ElasticSearch : Another newcomer of searchy goodness, open-source and on GitHub. Yummy.

MQL : FreeBase's MQL query language tutorial. Good food for thought.

HTSQL : A really interesting take on that juction between SQL and NoSQL.

A plugin pattern : A JQuery development pattern and tutorial.

HTML5 logo : When you want to express how cool you are.

JSON-LD : JSON-LD (JavaScript Object Notation for Linked Data) is a lightweight Linked Data format. It is easy for humans to read and write. It is easy for machines to parse and generate.

BackBone : This is one cool light-weight JavaScript framework. Backbone supplies structure to JavaScript-heavy applications by providing modelswith key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing application over a RESTful JSON interface.

Aloha Editor : A damn sexy WYSIWYG next-generation editor.

Lithium : Another sexy light-weight PHP framework.

Linux Sound Scopes : A nifty albeit somewhat outdated list of Linux sound gizmos and widgets.

Less Framework : Yet another less-is-more frameworks, this one for HTML5 and CSS templating.

Biology, science, philosophy

The Trouble With Testosterone : "In these essays, which range widely but mostly focus on the relationships between biology and human behavior, hard and intricate science is handled with a deft touch that makes it accessible to the general reader. In one memorable piece, Sapolsky compares the fascination with tabloid TV to behavior he's observed among wild African baboons. "Rubber necks," notes the professor, "seem to be a common feature of the primate order." In the title essay of The Trouble with Testosterone, Sapolsky ruminates on the links, real or perceived, between that hormone and aggression."

The Information, a natural history of information theory : "Gleick is one of the great science writers of all time, and that is, in part, because he is a science biographer. Not a biographer of scientists (although there is much biographical insight to scientists, mathematicians, lexicographers, writers and thinkers inThe Information), but a biographer of the idea itself, and the way that it ricochets off disciplines, institutions and people, knocking them into new, higher orbits, setting them on collision courses."

In memoriam: the x-phi debate : "The controversial new movement called experimental philosophy – 'X-phi' as it has come to be known – has generated both excitement and hostility in the philosophical community. Questions abound: Is experimental philosophy the wave of the future or just a passing fad? Can probing for the intuitions of the 'folk' tell us anything about philosophical truth? Are philosophers qualified to conduct empirical studies, or should this be left to the psychologists?"

Starting over - choosing my religion : "What form would the ideal religion take?" Interesting question, even though I strongly disagree with the conclusions.

A natural education? : A Christian take on the secular world of education. Again, good piece, but there's many flaws to be explored here, and I'll tackle that in my philosophy blog at some time later.

Miscellaneous

Tiburtina Ensemble : Here's a Czech vocal (mostly) ensemble that I stumbled upon by random, and boy am I glad I did. Pay especially attention to Hana Blažíková (which stars in a few of these productions, especially the "Maddalena ai piedi di Cristo", an oratorio by Antonio Caldara, one of my most favorite pieces of music) whom I posted a video of a few days ago; she's amazing, in no uncertain terms.

What movies do people regret watching?  Some of these answers are good, but I expected more like my own story. Quite a number of years ago now, I was doing a project that needed some old footage of people snuffing (with the old snuffbox) and smoking and cavorting, so a few good black/white fast-moving silent movies, that sort of thing. I popped in a search, opened a few random movies to see what I've found (this was many years before Google, YouTube and previewing anything), and one of the movies that came up (auto-play, no less) was this little snuff movie (of the non-profit kind) of a woman who got shot in the head. I seriously, absolutely regret seeing that movie. It was a very dark and horrifying moment in my life, also due to the shock and horror of it all.

What are the most underrated movies?  This is a seriously good list of films that are far, far better than their reputation and fame. Explore.

Ok, that's it. Enjoy, and I'll see you over the weekend.

7 April 2011

Ubuntu 10.10

I had held off upgrading my computer to the latest version of Ubuntu, because every time I do, something screws up. Maybe the sound disappears, or the mouse accelerates, or Java goes missing, or the graphics gets botched. Always something.

But I shouldn't have worried. I went to update manager, hit that 'distribution upgrade', waited an hour or so (lots of downloads on a slow line), one reboot, and everything worked perfectly on the first go. Not a single hitch. Not even a small one. In fact, something's even improved, such as my internal microphone started working. It looks better, feels better, responds better, and the fonts are vastly improved. Everything is just, well, perfect. Color me impressed, and thanks to the Linux community, Canonical and the Ubuntu team for making this awesome operating system that frankly, for me, couldn't be improved upon.

5 April 2011

Antonio Caldara: Maddalena ai piedi di Cristo (6)

I was very happy to find this gem today (and hopefully it stays up a while). I've been a huge fan of Antonio Caldara ever since that epic recording of his "Maddalena ai piedi di Cristo" with favourite soprano in the whole world Maria Cristina Kiehr, super-star counter-tenor Andreas Scholl and Gerd Turk from Cantus Koln (one of my favorite ensembles).

Hana Blazikova is a new find for me, but boy am I glad I stumbled upon her. Her singing is nothing short of fantastic, and as a bonus she's Czech which speaks to my half-Czech heart. :) But I truly love her version of Madelena, a more timbre version of Kiehr, more edgy, softer vibrato, and a rather clean ornamentation which I prefer. I wish I could find out more about who's playing and what event it is, though, but until I figure it out, let's make no mistake;

This video is amazing. I hope you enjoy it, too.

28 March 2011

Options for an open-source project

I'm nearing completion of the next generation of xSiteable, which used to be a "website generator in XSLT using Topic Maps" but has evolved over the last 10 years into "RESTful SOA, event-driven developer-focused, less-is-more PHP framework and super-cool XSLT templating layer, with a Topic Maps engine, full-stack plugin architecture, life-cycle-based event model, shaped around HTML5, CSS and JQuery" kinda framework, a little something I've tinkered with to fit all my many needs over the years.

Now, in my current job I'm creating a document-control, intranet, social web app thingy for a health-care organisation, and we've agreed to open-source the lot. So, I could use some advice, but here's the current plan ;

  • xSiteable is BSD licensed, and consists of the framework itself
  • a yet unnamed application written using xSiteable is released with BSD license as well

How should I distribute the two? Are the licenses ok? What source repository to use? Google Code, GitHub, what? (We've got both in subversion on a local server right now) xSiteable is really a collection of reusable classes where some are dependent on others, but not completely. Where to document the API's? Where to document examples and guides? How to attract users? Should I create a blog for it? And on and on.

Thoughts or ideas?

14 March 2011

Updates, clarifications, revelations, forgiveness

So, a little more time has passed, and what have I done to make sure that you, dear reader, still come back for more? Not a lot. So, here's a list of interesting tidbits one can ponder after the immensity of the Japan situation has eroded all sense of scale and importance of mere secular indulgences, without less of a technology angle this time to prove that I am, after all, human ;

Subnormality : Last week I ordered as a poster this fantaboulus comic which I fell in love with some time back, and it arrived in the mail a few days ago to much glee and satisfaction. My kids like it a lot, and it has been hung up in the best spot in the house where we mostly ponder the important things in life; the back of the toilet door.

Pigs Fly : A few months ago I was hunting beer at my local liquor store (Kiama Downs IGA on the corner), not expecting to find much more than rubbish Aussie beer (with a few exceptions, like Coopers), when the lady behind the counter surprised me with this treat from a local brewery (Bowral, home to Australia's perhaps most famous and loved cricketer, is in the Southern Highlands, about 1 hour north of here) called "Pigs Fly." I highly and absolutely recommend giving this a try; it is now officially my favorite beer in the world. It's that good.

Pictures : For Christmas I bought the "family" a new camera, since I wrecked our last one in an attempt to take pictures of water with a non-water camera (sorry, Julie!); A Panasonic Lumix G2, a four thirds system based camera that I'm starting to love to bits, allows me to really explore a more professional realm of photography. Apart from fabulous picture quality (pressing the right buttons, of course) there's a hack available to give you the option of doing 1080p resolution video in 60fps, which looks Awesome! I've dumped a few initial shots to my Flickr stream, but more to come as I refine skills and motives.

Sheltered objections : I've kinda decided to be a bit more pro-active on my old blog of philosophy, secularism and epistemology. It's been lying dormant as a rather busy life has rushed past, but things are settling down, and I want to start a series of analysis of various definitions epistemic notions people hold while talking about things in their normal lives. Oh, and I've been given a ton of various "religion X for skeptics" over the last little while, and I wanted to document not only what it means to be a skeptic, but also be a bit more explicit about why these pamphlets are failing.

Coffee : We've just got ourselves a nice little coffee machine, and I'm already quite good at making cappuccinos, mochas, and that Aussie favorite, long black (short black being a bit of an oxymoron). We got it at some garage sale for cheap because it didn't work properly, but I cleaned and fixed it up, and it works really good, and is quite fast and looks great. Come on over for a cuppa.

Pool : Did I mention that our house has a swimming pool in the back? Yeah? Well, you know what I love almost most of all when it comes to house maintenance? Grab my snorkeling gear, jump in, and clean that sucker out. The bubbles and quiet thundering serenity gives me great pleasure as I suck all sorts of grit into the cleaning tube, mix chemicals, and scrub walls. If you need a good way to dis-connect and revitalize after a busy week of work, this hits the spot for me.

Update!

Stewart Lee : A few months ago I stumbled over a link to Stewart Lee's documentary "Don't get me started", a smallish documentary on blasphemy, the religious conundrum of embracing and banning certain freedoms of expression at the same time, and his story about his musical "Jerry Springer: The musical" meeting with censorship and persecution of the religious. I've since gotten quite smitten with this comedian / writer / artist to the point of writing him a thank-you note to which I got a great reply as well (which now sits in my glory box, obviously).

I just wanted to show you this amazingly funny and fantastic clip where he's talking about "Top Gear" and their hosts. Tell me what you think.

16 February 2011

Back to my roots

Lately I've dived back into document control, content management and intranets and data ware-housing in general, a swarm of concepts and technologies I haven't played with in a while. Taking these breaks from certain areas is a good thing; it allows me to return to it at a later stage and witness how they've changed, often for the better.

But my return to this field hasn't been the happy smooth ride I was hoping for. Put briefly, the technologies and intellectual concepts within seems to me to still, uh, suck. I'm constantly living on the edge between people and policies in various organisations, and there's nothing more frustrating(1) than seeing the divide between good intentions and good actions, ever growing despite that people should know better.

The first thing I notice is that the concept of persistent identification management is no further than when I left it. Documents are still named silly things, and identifiers in systems that tries to deal with it still apply internal identifier schemes, and have no external facility for managing them, either sharing nor changing them. It seems to me that most of the technologies in the DC / CMS / KM space still has no good solutions to perhaps the problem that sit at the core of each of them.

Some user interfaces have improved, but not in the way I was hoping. Sure, things look smoother and prettier, and surely the misnomer "web 2.0" have injected it healing juices into old battered ideas, but they're still bad ideas at the core no matter what. It doesn't matter that the buttons look good or are big and shiny if the functionality behind them are fundamentally flawed. A document without external identity is still an internal abomination, even when the buttons are easy to hit.

Workflows are still sequential stop-points along a list of basic logic that only triggers on what we might think of, never of what should happen. The ontological concepts are often completely missed, if present at all. Roles and permissions are all ACL where, perhaps, human organisations don't function that way. Maybe that ACL model fits your network, but does it fit how we humans deal with information and knowledge? We humans might have permissions and access through it, but they do not cover our roles and positions in compound situations. I would have thought this was done better these days.

Wiki's have come a long way. I'm excited about using Semantic MediaWiki with Semantic Forms and a few other plugins, for doing essential super-rapid application development, but the Wiki user-interface have not improved much. The concept of every page simply being a point to which to hang knowledge is still mostly if not entirely missed, even by Wiki makers. People still think a Wiki page is just a page, when it should be a point of data to hang our other bits on to, including, ahem, identity management.

And don't get me started on the various and numerous CMS out there. There's now simply too many of them, and they all do pretty much the same with minor differences. It's almost a bit embarrassing that the field haven't progressed beyond the basic model they pretty much all offer. Even Drupal which claim to be different still, to me, feels and works, well, to a poor model.

So let's talk about the models. They're still the same. They haven't moved. It's all still based around the concepts of content, structure, users and plugins, plopped into a relational model that have to have a specialized table for any ontologically interesting concept you want to introduce. I don't understand, are most of these systems being developed with bribed from the DBA association or something?

Where are the semantic options? Where's the ontology editors? Where's the conceptual modeling tools for content and knowledge management? Where's the persistent identification schemes implemented so we can actually do, you know, integration of systems? Where's the simple data mergers that allow distributed and / or federated reporting?

None of these things are tricky in and of themselves, not even when merged into larger systems, unless, of course, they're rooted in old and stale ideas. Where's the new ideas? The bright and new ways of solving some of these old problems? What have I missed?