The GIMP

\"\"These  day I have a lot of talks about graphics/drawings/art around me. In most of the cases they also in clude talks about digital art. I am not a good painter or something, but being curious enough I went around my Fedora installation to check

what\’s there on this issue. Once again I tried to see what The GIMP can do and thus ended up drawing something. The idea is cool and since I used to draw some small sketches with pen while I was in school I decided that I will draw some stuff in The GIMP from time to time. Here is what I ended up with this time.

I have created a set on my Flickr page where I will be putting occasional drawings of mine :)

jQuery fancybox with ajax

I was fighting with bloody fancybox jQuery plugin the whole day yesterday. While it was working find on loading large image popups in normal scenarios, it was refusing to work when content was supplied through AJAX, meaning that DOM was altered after the fancybox was initialized.

Have tried several methods like using livequery plugin for jQuery, putting fancybox init in success callback of AJAX request and a lot of other things – non helped.

Finally, the solution was to put fancybox reinit in success callback of AJAX request, but not directly. Instead I had to use setTimeout method with delay of 600 to reinit fancybox as follows:

$.getJSON(ajax_url,function(html) {

    // populate my DOM with some HTML here

    // make fancybox reinit
    setTimeout(
        function() {
            $(\"a.some_fancy_box_element_class\").fancybox();
        },
        600
    );
});

This way it is working fine for me. Not sure why timeout is needed and what is the best delay time though. Can assume that DOM needs some time to insert all the elements and that by default fancybox was faster to check it than the actual update was finished.

Keep in mind that standard fancybox init should still remain in document ready event to adjust all elements on initial page load complete.

More public

Just a note that I set a lot of photos on my flickr page to be public. Before, I used to have most of the stuff for friends and/or family only, while these days I was going through them and making public if pictures were not containing people (just photos of stuff around). The reason of not making photos with other people on them public is that I really don\’t know if those people want those photos to be public, so I would prefer to keep them private at all time.

Hopefully will have more photos coming as I really like taking pics of different stuff around (just from my mobile, don\’t want any other camera since I am not fighting for quality, just for ideas)

Wind Power

Had a short trip to Paphos and by the chance saw those new wind power systems they install there. Looks just amazing. Managed to take few pictures but they still do not describe the whole greatness I saw.

BTW, the mood is bit better. Thinking that maybe I should start writing more here (doubt I will though)

Fucked up day

I know it\’s been too long I haven\’t wrote anything here to put a post about just one fucked up day now, but that\’s how it goes. Probably I am too unti-social person and it looks like writing posts in my blog is not something I like doing. Anyway.

Just to give a short summary of what happened since last post: I changed my job, I spent 2 months in Russia waiting for the bloody passport to be renewed. I moved to new apartments. I\’ve seen many things. A lot of thing changed around me and so on and so forth.

For today, I have a dual feeling which just drives me crazy. From one side everything is good and is facing right direction on the lane of progress, but on the other side – everything is somehow fucked up. Moreover it is too much of all of these around and I can\’t do anything with it. Have strange and fucked up feelings inside of me and don\’t know how to fight them.

Please don\’t ask what exactly is going wrong since I don\’t know it myself, as well as don\’t give me any advice since this only confuses me even further. I wrote this post just to drop out some of the feelings and probably feel better, though I still doubt this will help me in any way (