15 June 2012

A little Linux advice, if you please!

Update: See bottom.

Yeah, so it's been quiet from my little corner for a while now. Many reasons, most of them falling into "busy life" category, but one in particular is the topic of this post.

A few weeks back I was noticing a few hickups in my Ubuntu 10.10 install, nothing major but little things here and there. So, I thought the latest Ubuntu 11.04 upgrade was in order. And it was; it even fixed my Bluetooth stack, the sound was better, even the graphics were a bit more stable.

But then all of a sudden I couldn't even boot the kernel properly. Even rescue mode never quite reached a terminal, so I used a Knoppix CD to dig through the logs in trying to find out what the problem might be. However, there wasn't too much to find, no serious errors, except for a segfault in the CUPS (printing) service. After fixing that, then a segfault in something else. And then something else.

So out of the blue I thought of doing an extra 'fsck' after the one I did before the upgrade. Lots of files had various problems with them, and lost+found filled up with a couple of hundred files. So, some file pointer had run amok (perhaps while hovering over a bad sector?), and important kernel files had been corrupted.

After a few rounds and screaming, I've managed to put Knoppix on a 8Gb USB stick, installed a USB bootloader in my GRUB (my BIOS can't do USB booting), and I now boot into that USB stick for a semblance of normal life. I've installed NetBeans, MySQL, PHP and most tools I need, so I'm at least operational.

The question becomes: what now?

1. Try to fix the current Ubuntu install? (I've searched around for some tool that could re-install and re-download kernel and system essentials without any luck)

2. Re-format and install a fresh Ubuntu 11.04 LTS?

3. Buy a new 2.5" HDD, and go back to 2?

3. Buy a HDD + SDD hybrid (like the Seagate Momentus XT which got good reviews)?

4. Buy a SSD, and sacrifice internal storage space for that speedy goodness? (I've got several LAN disks for media stuff, so my space requirements are modest)

5. Change my distro? What are the sexy contenders these days? (I'm a developer by trade, so stability over candy)

6. Generic partitioning tricks, since I think I'll start a blank slate. I've got two SATA ports, so maybe a small SSD for cache and system, and mount a 7200 rpm with nice cache as a secondary? Or?

Update

Ok, so I got myself a 120Gb SSD (a Kingston SSDNow V200 2.5" 128GB SATA III), and set it up as primary drive with a Ext4 partition (115Gb) and a 5Gb swap partition, and filled it up with a new install of Ubuntu 12.04. Just installed Java, NetBeans, MySQL, PHP5, Apache2 all without a hitch, so at least I'm productive again. And the systems is really fast and responsive, too. Love that SSD feelin'

A few negatives, though, and the foremost is - still! - friggin Unity; it annoys me to no end! I tried it first in beta, then in 10.10, again in 11.04 and I've whinced and whined about it before, how it takes the few things I truly hate about the Mac, and merges that hate with the bad bits from classic Xwindows. I can't stand it, but I thought to myself, surely after over two years in the making have they at least fixed the worst, or at least made a lot of it customizable and tweakable - you know, the very essence of why we even run Linux in the first place. But no, Unity is still crap, and I don't know how long I'll last. I'll give it a go for sure, I'll try my hardest to work with it, but its fundamental design just goes against everything I'd like to do, it isn't very intuitive or easy to use either, nor does it make me more efficient. What's more, NetBeans seems incompatible with the bloody task bar thingy, so if I accidentally minimize the application the only way to get it back is to open a task manager, kill the app, and start it again, because, Unity in its infinite wisdom, have removed the app switching (although I've seen some tweaks to get it back, but why, oh why remove the usable parts of it?! The insanity is driving me nuts, and it is damaging to the reputation of an otherwise brilliant operating system. I understand why a lot of geeks are fleeing to other Debian based distros, and I might just go that way myself (any opinions on that?). When my patience with Unity dries up I'll pop the machine into Gnome Classic to at least regain my sanity, but I heard somewhere they're fazing that out as well. For Pete's sake! Talk about building your system up to great heights and then let it fall to ground in your ignorant arrogance. *sigh*

Apart from that; I'm up and running again. Yay.

30 March 2012

ACU with the Hillard Ensemble in concert, Wollongong

From time to time I take my kids to various concerts that in our household is categorised as "dad's music", because, let's face it, the stuff that I love is in minority and often causes discomfort amongst people in social settings. I do this not to torture my children, but because we (that is, me and the wife) recognise the value of a diverse education. Why should we let our children only learn about fun stuff when we weren't allowed to? No, they should be tortured just like I was when I was a boy, only I wasn't tortured with great music. Sorry, did I say torture after all? I meant, educated. There, fixed it.

So, off I took Lilje, age 8, to Wollongong and the Town Hall for a concert with the Australian Chamber Orchestra featuring the Hillard Ensamble a couple of weeks ago (I had an accident of late, so some time passed before I could even write this down). Neither of these two art music groups need no real introduction; they are world class acts, and they are awesome.

Going to this concert was thinking that this was a guaranteed good time for me, and hopefully an enjoyable evening for Lilje. But as the world turns and proves itself stranger than what we can imagine at times, it turned out that something's afoot in the playpen. I didn't actually read the program before we went, and the first time I glanced at it was going into the thing, and I remember my reaction very precisely; "Huh?"

First up, the Town Hall, a dreadful hall with crap acoustics, built in depressing 70's wood-panel, all floor seating on a flat floor, meaning Lilje had to sit on my lap for most of the concert to see anything at all. And these were cheap plastic-in-a-row seats guaranteed to be a pain in the arse from beginning until end, and needless to say, that guarantee was more than fulfilled.

Ok, the program. Since the Hillard Ensemble would be present I had thought that the ACO had brought out their finest silver. First out was Elgar. Now, I'm the first to admit that Elgar bores me more than thrills me, but I thought that surely ACO couldn't go too terribly wrong here, they could choose some of Elgars really wonderful stuff, snippets from his symphonies, or the more obvious Violin Concerto, or even Introduction and Allegro for strings. But no, they had chosen the mostly pleasant but boring Serenade in E, Opus 20 (of 1892) that reeks of conformity. What was up with that? Some unwanted due diligence towards the Hillards' English heritage or something? Looking at the audience, however, confirmed my other suspicion; it was played because it's a popular piece, especially with the, ahem, older demographics. However, it was played well.

Next up, the Hillard Ensemble did "Ah, gentle Jesu", a medieval romp by Sheryngham (around 1500), and they did what the Hillard Ensemble does best; they sang like no other group could do, and it was wonderful, if not draped in some weird dullness by the rotten acoustics. Although I think David James was out of this world awesome to not let the dullness kill his amazing singing!

And then, the final piece of the first part, was the only piece in the whole concert that the ACO and the Hillard's actually did together; Raskatov's "Obikhod", a piece you don't want to take normal people to at the best of times; a great piece for those with patience, difficult to perform, impossible to master, chuck full of idiosyncrasies, discordance, flat harmonies, fuge-like patterns of non-melodic music ... it was, eh, kind of overwhelming, and I thought to myself that this wasn't perhaps the best concert to take an 8-year old to. I can't say I enjoyed this piece, but I certainly appreciated it. It was wrapped up by a lyrical repetitive but thematically interestingly "Most Holy Mother of God" by Pärt, sung by the Hillard's.

Then there was a break in which me and Lilje a) tried to get a drink, b) gave up and went to a kiosk across the street to get a drink, c) racing back because Lilje had to go to the toilet, d) race back across the street to get the drinks, e) race back to get seated again.

Second half was the Hillard's doing Gregorian and medieval French chants, strangely without the awesome David James, a section of 6 songs, with the highlight of the concert in the middle; Ross Edwards' "Veni Creator Spritus", a string octet in two movements. The first was nice and polyphonic and templetative, but the second more lively and full of interesting bounces, melodies and harmonies. But then again, it was Ross Edwards, so it couldn't really be bad. And the ACO, again, played it to what I can only assume was flawless. Wonderful stuff.

Last piece out was Arensky's "Variations on a theme by Tchaikovsky", probably his most famous piece, but not all that know to people in general. And it was, well, nice and all, like a romantic more likeable Tchaikovsky, short and sweet and more to the point. Lilje recognised the Tchaikovsky patterns she plays in her own ensemble, which, I think, was for her the highlight. Hmm.

All in all, the ACO played wonderful. They have such a wonderful tone (and a little bird has whispered baroque tuning in my ear, which might explain some of it), some times so perfectly delicate that it's easy to forget that there's fallible people up there. And the Hillard's were great singers as usual. The problem was the program itself, and I also had this feeling I get when two great entities come together in a concert; "you do a bit, we do a bit, then you do a bit, then we do a bit" rather than making music together, with the difficult Raskatov an honourable exception. And the bits they had chosen weren't the best of bits, either.

At the end of the night I promised Lilje to take her to a better - or, perhaps, a more accessible - concert some other time.

26 March 2012

Quickie

Hiya. Just thought I'd pop in an explain the lack of posts. Again, too much to write about (and I've got a concert review coming in the next couple of days), but most of my silence was due to an accident I had a couple of weeks ago; a massive beam with nails in it rolled over and slammed into my left arm (and I'm left-handed), the nail puncturing a main artery, blood and gore everywhere, doctors, hospital, now arm in sling for over a week, more tests and scans, complications, etc. I'm writing this post veeeery slowly.

I'm slightly better today, first day of improvement in a long time, so I'm hopeful, and I'm sure I'll get into some more details later on. I'll return to work soon, but I suspect my drumming career is on the blink. On the positive side, I've had plenty of time to read (like the awesome "Don't sleep, there's snakes" which I'll review a bit later, too), especially starting and finishing Sam Harris' "Free-will" during casualty on Saturday (which I'm sure I'll write more on later as well) waiting between doctors and scans.

All in all, this latter subject points to what I'm doing a lot these days as well, dipping into philosophy a lot, mainly dipping into Aquinas and history of doctrine, and Wittgenstein the elder, epistemology as usual, with a strong focus on philosophy of science and determinism as a vehicle for the illusion of free-will (and implications thereof).

I shall talk more on that on my other blog, so here I'll push xSiteable as it shapes itself into a publishable form, and a new project I've been involved in called KTV (but I'll shed more details on this later; basically a local "tv" channel for the Kiama area, only online, and an organisation that helps to create content for the local community we live in). I'll update about our family life a bit later, too, since the girls are doing very well with their music (Grace just won a scholarship), but more details later.

Toodles!

16 February 2012

Something inspired me between coffee and office today ...

Blargh, so I haven't updated here in a while. It's not because there's nothing to say, but simply too much to say, gagging me in the process. I usually dump a few good tidbits to my Google+ stream, but my good ol' rants and raves have taken a hiatus. And I'm not quite ressurecting them yet, I'm not ready to have a strong opinion on a lot of things of late. Well, correction; I have very strong opinions on a number of things, I'm just not sure I'm right. I'm trying to unlearn a life-time of being full of bluster.

Life is full of surprises, which, in itself, is not surprising at all. For some of us, it's even a welcome change. I've ... changed lately. Not in a sudden way, but I suspect my move to a quiet town with a kinda country feel, surrounded by serene and spectacular scenery (and, no doubt, gorgeous beaches) has put my mind into a strange place. One would think it would have calmed down, relaxed a little more, taking in the scenery and let itself be soothed by the looks and sounds of this thin slice of serenity between heaven and earth, but no, it's racing harder than ever! There's so many other things I can squeeze into the time I now have available, so much more to ponder!

For those who have known me for a while knows the certainty with which I stated my bold stance on pretty much any opinion I cared about. No more. The older I get, the more steeped in the ultimate scientific quest for origins I become. I gulp down many buckets of science and scepticism every day, and try to make sense of it all as it slushes - erodes away beliefs and builds up embankments of facts - over my framework of thought. Where in the past I had knowledge and opinions, I now have facts and uncertainty, proud uncertainty! I'm starting to love all the things I don't know, licking up the sweet, sweet tears of frustration that people show me. It seems, on average, that most humans can't deal with not knowing.

I'm starting to suspect that all of humanities problems lie hidden behind the fear of not knowing, and not just not knowing what's for dinner tonight, but not knowing the meaning of life, universe and everything! Behind not knowing something is that awful, horrible, disgusting habit we have of making stuff up in the place of knowledge. We try to fill those gaps in our understanding this universe with something - anything! - quick, before someone sees us! We can't stand the gap, it is empty and repulsive in our mind. It's a pothole in our perfectly flat road to knowledge, fill it, fill it! Quickly, put religion in the spot for origin and purpose! Hurry, slap down some homoeopathy and acupuncture on that disease we don't understand! Look, you missed a spot of telekinesis in your quantum entangled deepism!

The distrust of anything you don't understand should stand in stark contrast to what you believe to be true, however it seems epistemology isn't a very prioritized field amongst normal people. Heck, even specialists and experts can't tell their ontology from their oncology on any good day, even if they depend on the former to really explain - and often cure the source of - the latter.

If that last sentence didn't make much sense to you, then you're part of the problem, too, just like me, but hopefully - if I dare suggest - getting to know the science of philosophy (as opposed to the profession of being a philosopher) and why epistemology matter, you can tatter along with me to the sound of people making bad decisions for us all on faulty grounds.

So, that's where I am right now. Soon, I shall seep through the groundwater of this blog, and become that weed in the garden of knowledge I aspire to be.

9 December 2011

Update-ish

Hi Folks. Sorry for the quiet, I have too much to say, deterring me from being able to make a coherent sentence, little less a whole blog post. There's plenty of stuff in the woodwork, and it will come out fairly soon, I promise, including a book I'm writing. However, I've been doing lots of smaller stints at my Google+ channel with drips of ideas and good stuff found elsewhere. I think that that will be my platform from now on, where here on the blog I'll do the bigger and more serious stuff, while the Google+ channel a more constant drip. I've given up on Twitter as the noise was unbearable, and Facebook is ... well, I can't really use that kind of language in front of you good people.

Here's a quick update; family doing good (and my girls exceptionally so, with grades through the roof, talents earning them rewards), we're more settled these days, plodding along with our various more or less interesting projects. I'm taking a bit more pictures which I'll showcase later, a few videos, art, music, etc. The girls are really getting good on violin, and we've started up a string ensemble (if you're in the Kiama area and play either strings or classical, come and have some fun with us! There might be a oboe-player nearby). Works fine. Life's normal.

in more technical news, xSiteable - my latest project that mixes Topic Maps with all sorts of event-based plugin fun using PHP - is that I've spent a lot of (possibly too much) time on the database side of things, creating a common xPath-based simple query language that is SQL, NoSQL and XPath compatible, and a host of ready-made plugins for it (PDO, SQL Topic Maps, LDAP / AD, session, array). The way to describe various parts of your data then becomes a cached layer of reusable nuggets of data, like " $data->get ('some-identifier' ) ", no matter where in the application it gets called, will always refer to the same data, cached or create based on definitions elsewhere (so, using a rather declarative approach in which, I feel, you can define what your application does better than any other approach I've used before.

For example, each plugin can define data sources, queries (with or without parameters) using the global query language, or ask if it's allowed to use the native language (and mostly it is, but some times you may wish to not do that, for example in core modules and such). I use events for application flow, so for example handling of users are done through the events XS_ON_USER_BLANK, ..._CONFIG, and ..._CHECK which other plugins can hook into to provide user credentials or services back to the framework.

I'm also revamping the content management and document management / store aspects of it, making sure that I don't fall into pitfalls of persistent identification, nor that I cause trouble later. Every part of the application hooks into events, and each part of the screen are rendered through them, so you can inject snippets of GUI into various parts based on them using a layout module (for example, if the GUI renders a document, a button can be injected that does something, like add the ability to share a document, or whatever, you decide). Events, events, events. I've hence also made the event handler a bit more robust.

Finally, I've made everything even more RESTful, even internal services are done through REST. Want to add a menu item to the main menu? POST your item to the resource for the menu module. And so on. Every module and plugin has a resource assigned, and the "API" (I use that term loosely) is through that or a sub-set. I've even designed the data management back-end this way, so any data source you define will have an automatic RESTful API to it, if you allow it.

Security. Yeah, working on it, and I'll explain it better later, but it's almost done as well, where any object have a CRUD self / CRUD sub-elements RESTful model. More on that later.

Ok. It's the weekend. Have fun, and I'll see you on the other side.

23 September 2011

Hi everyone. Things - meaning life, blogging, new projects, fun experiments - have slowed substantially over the last couple of years to the current standstill. But it's not a bad thing, as such, it's actually a nice break from the hectic life I used to have, and has been a good opportunity for me to re-group and re-think my life and what I should do with it. There's also been a tremendous amount of focus on the kids (helping them grow, school, etc.) and our family life, and in many ways you can say that my family is now my biggest and most important project.

It didn't used to be like that. I think I was just like every one else, balancing work with family life, compromising some things for other things in an effort to make life as easy as possible. Now I don't care about life not being easy. Well, what I mean is, I don't treat life as if it needs to be either easy or hard, but more as project that I mold and shape into how it best suits me and the family.

There's a few things going on, though;

- I'm still writing a book, but I've changed it slightly. The manuscript I had was a little bit all over the place, and I've focused it back a bit to relating to that shimmer between humanity and technology, and how we as social people could better use a great deal of human cognition and social science to solve our (software development) problems. The current title; "The well-tempered keyboard." (Classic music geeks rejoice!)

- My never-ending framework and enterprise application delivery system is getting momentum, but as with any other mention of xSiteable expect some delay before I release it. However, I'm doing interesting work in the back-end these days on modular data source integration between a disparity of systems (same API into SQL, filesystems, XML, JSON, key-value, NoSQL, caches, etc. controlled through a generic caching module) creating some funky business analysis and statistics opportunities. (If you can create a dynamic SQL statement, for example, we can now have time-based as well as real-time analysis and statistics, with drill-down, semantic linking to other statements [including non-SQL] and deliver them in widgets all over the shop) It's admittedly terribly fun, but I know a few of you are looking forward, so I'll try to speed up a bit.

Stand by for another installment, soonish.

10 August 2011

What I did on the weekend : EJ12

Here's what I did on the weekend with Grace and some of her friends from school ;



Grace and a few of her school friends created this book trailer for "Hot and Cold: EJ12 Girl Hero" for some book trailer competition at school, and we're all proud of how well it turned out. EJ12 is a teen-age girl turned secret spy, and have all sorts of adventures. This one - "Hot and cold" - brings her to face the Ice Queen in Antarctica, among other things, and we mucked around with blue-screen for a long time trying to get proper icy special effects, but it proved too cumbersome, at least until we can get a proper blue-screen and some seriously good editing software.

I used to work in the movie world (many eons ago, before children) and taught Grace to script, story-board, convert, shoot, production, editing, the lot. It was a lot of fun, and I'm impressed with the girls; you did a fantastic job. I used a Panasonic Lumix G2 camera for all shots, a simple pancake lens, and only used the free and open-source OpenShot video editor (running under Linux/Ubuntu 11.04) for editing and post-production (which I probably should write a review of, now that I am intimately familiar with it ... I've got a few suggestions :) ).

Oh, and if you thought the school uniforms in the beginning looked a bit strange, it's because the girls used their bunads, Norwegian folk costumes. Don't ask me why they chose that and those high-heels, but I suspect the glamour of movie-making seeped in. Enjoy.

Update: I sent a link to the author of the book and she loved it, and she has just posted it to her EJ12 blog. How cool is that?

18 July 2011

Australian Chamber Orchestra review

For my birthday my wife thought up a brilliant gift for me; two tickets to each of two concerts the Australian Chamber Orchestra was holding in Wollongong, so for each concert I would bring one of my two daughters so they could experience both the brilliance of ACO and that of going to a concert with a bit of pizzazz!

The first concert was called 'Baroque Virtuoso' and is, I think, one of the first times the ACO's newly aquired Stradivarius violin (price: just short of 2 million dollars) would be on display and played by the beautiful Satu Vänskä. The program for the concert promised a few Greensleeves baroque pieces but interspersed by a few contemporary pieces I knew nothing about.

First, here's Satu introducing the concert;
http://www.youtube.com/watch?v=T3PIv2w9OXA&list=UUYj5cJizFqEY

I brought Grace (11 turning 12) who's been playing violin for two years now, and she was excited, but did remark that the ratio of people to age was something bizarrely far above even my own age. Together we spotted about less than 10 people that looked anything less than 30 years old (or so, not counting me), and the concert was sold out (which means 515 seats, according to the Merringong website) with lots of older folks about. Not a bad thing in itself, but does perhaps say something about the state of classical music in this region.

I won't say too much about all the pieces in the concert, but I'd like to make a few general remarks and point out the highlights.

First the bad, and let me make it clear straight away that I'm a huge baroque fanatic; I study it, love it, live it, I have so many baroque recordings and have been to so many baroque concerts that it makes people worry about my sanity, but I love it from the sheep gut strings to the various baroque tunings, and unless you try to be as HIP as you possibly can be, I won't be pleased. And as such, I wasn't pleased. The baroque pieces in question - Handel's 'Concerto Grosso in B minor', Vivaldi's 'Concerto in B minor' RV580, Teleman's 'Viola Concerto in G major' (!!), Tartini's 'Devils Trill' G minor violin concerto and Corelli's 'Concerto Grosso in F major, op.6 No. 2' - all had the same tokens of baroque pieces played for modern chamber orchestra in modern tuning on modern instruments.

However, within that framework there was lots to love, so don't get me wrong, the playing was at times quite sublime, with the highlight for me perhaps Corelli's because I love it so (but they could have put a bit more gusto into it). Satu's solo work on Tartini's concerto was of course brilliant; she's very, very good, and has a lovely playing style and touch, not to mention that remarkable timbre in the Stradivarius (first time I've heard one live, I believe). But for me, the music lose their soul in the sharpness of the modern instruments, and cry a little in modern tuning. But that's just me.

The best part of this baroque concert was the music that wasn't baroque, starting with probably the highlight of the evening for both me and Grace;

Stuart Greenbaum's "Moments of falling" is a gorgeous Aeolian fantasy that falls off a cliff, dragging other motif's with it on the way down, rumbling lyrically until its timely death. Lots of people around us, too, were stunned at this one, and the applause, I think, captured our surprise and delight quite well, an applause that wouldn't be repeated again until the big solo pieces and the bug finish. It was a wonderful piece, and one that the ACO just nailed; this is their true domain! This is what they do best, there's no doubt about it.

Colin Brumby's "The Phoenix and the Turtle" was up next, of which I found the first movement just as wonderful as the Greenbaum piece, coming and going in and out of similar motifs, circular developments and sharp constraints that really don't constrain much. Absolutely lovely stuff, and really well played. Second movement was somewhat different from the first, and didn't quite capture me, but still good.

James Ledger's "Johann has left the building" was Grace's favourite, a delightful romp through Bachesque brilliant motions without the genius. I wasn't quite into it as I was the others, but perhaps the promise of Bach had me looking for something it wasn't trying to be. Probably. My bad.

Peter Sculthorpe was the only contemporary composer I had actually heard of (from my years at the National Library of Australia and the Music Australia project, I think), and they played his "Port Essington", a remarkable piece and perhaps the most abstract at times as well as being the most complex composition, going from ensemble, to trio, to abstract, to trio, and back to ensemble, all interspersed with various degrees of overtones (six movements in all). The bush and the life around Port Essington came alive on stage, and it was quite remarkable. I could tell some of the audience didn't quite know what to do with this music, but I loved it! The playing was simply astounding, from the syncopated abstracts to the trio cadences (on which Mr. Cello, Timo Valve, did some fine fiddlin' indeed) to some people-giving-eachother-looks discords. I sucked it all up and was enthralled in it all, and was definitely the second highlight of the evening for me.

I can't say enough how wonderful it was to hear these Australian contemporary pieces, an area I'm completely ignorant of. However, this crash introduction have me wanting more (lots more!), and that is a testament to the brilliant playing of the ACO and the pieces they chose for this concert. Every player bounced off the next, and the timing was impeccable. I'd however advice them to stay clear of the baroque period (especially when you mix it like this, because you're forced into modern tuning and playing which doesn't suit baroque music, in my snobbish and faulty opinion), and do what they otherwise do so brilliantly.

I can't wait for my next concert next month with their take on Schubert.