Ika's Weblog XML
Architecting the Thought.

After a very painful data-migration process

The blog has moved to a new location: www.freshblurbs.com

Please, kindly update your RSS Reader with the new URL:
http://www.freshblurbs.com/rss.xml

I apologize for the temporary inconvenience but in the long run the new server is going to be much more featue-rich and comfortable, benefiting both me and my kind readers.

11/24/06

Spreading the Message of (Red)

We are humans because we care. Please, spread the message:

posted by irakli, 23:02 | link | comments

11/23/06

Quick Comment on MySQL Clustering - master.info

Let's consider a relatively typical scenario: MySQL with clustering, Master instance and Slave instance. The master processes day-to-day operations and Slave is in standby to kick-in if something happens to the master.

Let's now imagine a stormy, cold Monday that Master decided to die on. Sysadmin quickly re-configures slave to kick-in as Master. Another sysadmin figures-out the problem with ex-master and reincarnates it. However, Manager decides that the swap-back can not be allowed until the weekend (4 days left, huh?). Sysadmin decides that to minimize the risks, it's the best to setup ex-master as the slave of the now-master (ex-slave). Who knows if the current master decides to die, too? What will we fail-over to, in that case?

Pretty reasonable assumption and come weekend the sysadmin re-configures my.cnf files, once again - restarts servers + some magic that goes with it and proud of himself goes home...

Alert: bad move. It may be too late but eventually the sysadmin will find out that even though he re-configured ex-slave to be master now, it still continues to be slave, as well. He will be very surprised because he definitely edited my.cnf and made sure that it removes all slave properties makes the server purely master. So - what the heck?

MySQL creates master.info file for a slave database. Even if you edit my.cnf and remove all traces of the instance being slave, it will still remain to be slave unless you delete the master.info file.

Do not forget to remove master.info if you do not want a MySQL instance to be a slave, anymore.

posted by irakli, 08:01 | link | comments

11/20/06

Data-Bound GUI Components

In almost any GUI framework (and hence accompanying visual IDE) you will most certainly find a set of visual components that work with an RDBMS. Furthermore, most "regular" components (like edit-field or listbox) have the ability to bind to the database fields, as well. I think such components are referred to as "data-bound" components. It may have been championed by Visual Basic, but I am not sure.

It's nothing new, of course. The reason i remembered about them is - I stumbled upon them, once again, today when I was playing with one of such framework/IDEs.

I really never understood why people bother to create such things. Except the marketing buzz (or bull) about Rapid Development - I see exactly zero sense.

Firstly, such components are in direct conflict with well-adopted and recognized principle of Model-View-Controller separation. Then, even if you do not care about MVC (why?) I honestly have never seen an application that had a logic so simple that such components made its development any more rapid, than it would be without them.

So, why do IDE/framework designers bother? Who are they trying to fool? Are they just waisting their time?

posted by irakli, 23:56 | link | comments

11/17/06

Drupal 5.0 beta - First Impressions

I finally got to install the new 5.0 beta1 of Drupal, today.

I have not played with it enough to get a full impression but there are several nice things that strike immediately:

  • Smart and nice, web-based installation script.
  • New, beautiful, highly ergonomic and very clean, amazingly appealing default theme - Themetastic. AND IT IS LIQUID!

    I can not help admiring how good this theme is. Especially since I have, myself, participated in the creation of default themes for several portal and other content-management systems and I know very well what a tough job it is.

  • Revamped Admin panel looks much better than in previous version. In addition, it's separate from main site's template which is very good - no need to fit to into one.

    I still like Google control panel (as featured in Gmail, for example) approach more but I can not ignore the fact that not only Drupal's new panel looks better it's much more intelligent, as well. I was pleasantly surprised by a collection of guiding alerts and messages. These messages look pretty, too, by the way.

Overall - great job! I am very excited with Drupal 5, personally and look forward to using it in production.

posted by irakli, 22:08 | link | comments

Microsoft Zune on CNN

You should watch it to the end, even if you are an iPod fan :)

posted by irakli, 20:11 | link | comments

11/11/06

Shut Up and Sing

I was never Dixie Chick's fan because I am not fan of Country music, but I AM HUGE FAN OF FREEDOM OF SPEECH, so after what happened to Dixie Chicks and after even the promo trailer for a documentary about it was banned from several TV networks, I am going and buying their albums - for the sole reason of supporting those who are opressed for expressing their beliefs.

Do the same or copy this clip on your blog

posted by irakli, 23:16 | link | comments (2)

11/09/06

Web 2.0 - Cubism of the Web

I can not help the feeling of tremendous similarity between Cubism in art and Web 2.0 culture.

Apart from the similarity in aesthetics of the visual presentation (main principles: simplicity, clarity), even conceptually there is too much in common.

Here is how Wikipedia defines cubism: "In cubist artworks, objects are broken up, analyzed, and re-assembled in an abstracted form — instead of depicting objects from one viewpoint, the artist depicts the subject from a multitude of viewpoints to present the piece in a greater context. Often the surfaces intersect at seemingly random angles presenting no coherent sense of depth. "

Sounds familiar? :)

posted by irakli, 14:39 | link | comments

11/08/06

It's a Beautiful Day

Democrats won both House and Senate.

This is a very nice day and I am very happy with the outcome of the elections. Not because I believe there is huge difference between the parties but because I believe consolidation of power within one party (which was the case up to now) is BAD. I also happen to enjoy more liberal ideas so I am a little bit more sympathetic to Democrats than to Republicans.

Well done!

posted by irakli, 21:06 | link | comments

11/03/06

How to Select Large Blocks of Text in Safari

Although you can't see a cursor when you click on text in Safari, it seems that one might be there. If you click on a position in a line of text in Safari, and then Shift-click somewhere else in the page's text, it will select all of the text from the first place you clicked to the place you Shift-clicked, despite the lack of a visible cursor.

This makes selecting really big clumps of text a lot easier, as you can drag your scroll bar to get from one end of the selection to the other, rather than dragging the cursor and waiting for it to autoscroll. Just be sure not to click anywhere on the page between your first click and the Shift-click!

source: http://www.macosxhints.com/

posted by irakli, 10:15 | link | comments

11/01/06

Apple :(

Just installed latest iTunes update and my interface became German all of the sudden

WTF? :(

posted by irakli, 16:37 | link | comments


Copyright (C). Irakli Nadareishvili. Picktek Ltd.