Look, someone's on that tree
Sep. 22nd, 2010
Here is a little bit update on the script I am using to shorten my plug-ins based on mootools (yes, they still work after the code is run trough this !)
sed -e '/\/\*/,/\*\//d' | sed -e '/\/\//d' | tr -d '\t' | tr -d '\n' | sed -e 's/\ *\(\[\|\]\|,\||\|\.\|\+\|\-\|:\|==\|!=\|
Sep. 18th, 2010
12:44 pm - Подаръци от Clinique
Ето какъв подарък получих:
Специално тази компания не ми беше непозната, но също така никога не бях ползвал и нейни продукти (де факто Клиник е дъщерна компания на Ести Лаудер, макар че не е на дъщеря ѝ, а на племенница или нещо такова, на кой му пука). Първоначално се стресирах от избора на марка, защото от едно време помня рекламата със сапуна за лице и ми се видя нелепо сапун да струва 40 лева.
Всъщност първите ми впечатления са доста положителни. Не съм убеден до колко ще има дълготраен благотворен ефект употребата им (винаги когато сменям продукт в началото реакцията е много добра но бързо бързо след това отшумява), но като цяло съм доволен. Недоволен съм обаче от факта, че уж са без аромати тези продукти, а не само че миришат, ами и Макс (котаракът) им се е наточил супер яко да ги ближе! Какво говори това, а?!
12:35 pm - Ориз с подправки (по индийски)
За тази рецепта са нужни малко повечко подправки (които не винаги се срещат във всяка кухня, но лесно могат да бъдат закупени от по-големите магазини).
2 чаши пълнозърнест ориз
1 с.л. краве масло
1 ч.л. морска сол
1 ч.л. куркума
1 ч.л. кимион на зърна
1 ч.л. канела на прах
1 ч.л. джинджифил на прах
1/2 ч.л. индийско орехче (настъргано или на прах)
6-8 кардамонови шушулки - счукани в хаванче
2 люти чушлета
Всички лъжички са с връх, намалете количеството за по-малко ориз.
Приготвянето е много лесно: в тенджерка загрявате маслото, прибавяте подправките, бъркате докато стане като кашица, после прибавяе измития ориз и бъркате 1 минута,, заливате с гореща вода (3 чаши и половина) и захлупвате плътно, намалявате газта до минимум и когато всичката вода се изпари оризът е готов. Не се разбърква и не се опитва, само се оставя да къкри, докато се изпари всичката вода при затворен капак. Отнема около 30-40 минути. Когато оризът е готов, на повърхността има само пара, тоест водата се е изпарила, изгребете шушулките кардамон (не са ядливи!) и спрете котлона. Ястието се поднася топло.
Аз обичам да го поднасям с нарязан сладък домат и магданоз, но снимката е със зелен лук, тъй като нямаше пресен магданоз в магазина. Често го хапвам с люта чушка, защото едно чушле или две на половин килограм ориз не ми е достатъчно, но повечето хора не обичат толкова люто, за това внимавайте.
В оригиналната рецепта (взета от The Hare Krishna Vegetarian Cooking Book) изпълнението е доста по-сложно, например подправките се добавят една по една в определен ред в маслото, оризът се кисне и прочее, но ви уверявам че крайния продукт абсолютно еднакъв на вкус и вид, така че ако сте като мен и гледате готварството да не отнема съществена част от деня ви можете да ползвате побългарения вариант предложен тук. Оригиналната рецепта също така не включва куркума, но аз харесвам жълтия цвят и я добавям. Рецептата се намира на 125 страница (Масала бхат).
Sep. 17th, 2010
07:57 pm - How to build a dalek!
Saved from oblivion instructions on how to build a Dalek! Enjoy and use at your own risk!
Sep. 12th, 2010
06:18 pm - BBC Proms - Doctor Who!
You HAVE to watch BBC Proms Doctor Who!
It is magnificent! I 100% guarantee you will not regret it. And its got the Doctor!
Sep. 10th, 2010
10:37 am - Tiny house tour
Now dude, really! I mean... fuck yeah!
Sep. 9th, 2010
Drop Dead Diva season finale, great show by the way, and WHO is THAT!? He is toatally cute and he is not even credited! And he has several lines come on! So please please please help me foind out who that might be, name, agency, whatever!
In the first of the double season finale he plays Bradly. So who are you Bradly!? And how old are you:)
Tuesday, September 21
Glee (Fox, Tuesdays at 8 PM)
Why It’s Gay: It’s not. There’s absolutely nothing gay about Glee at all.
Sep. 8th, 2010
05:31 pm - Cat Parkour
Sep. 7th, 2010
10:10 pm - Long weekend over...
Friday, Sathurday, Sunday, Monday.... and now it is over...
Sep. 6th, 2010
08:55 pm - Do começo ao fim
The movie is from Brazil (so it is in Portuguese, you have been warned) and while I find it a bit bizarre (the part where two half-brothers have been left to fall in love and develop sexual relationship) it is very positive and love affirmative.
In my opinion the story line would not have lose any if they have been let's say neighbors' kids or cousins at least, never the less I believe the blood relationship is not the important part of the message the movie is sending.
The story is beautifully narrated and has all its positive messages are told on the right spots in the timeline of its development.
The movie is easy to watch and should you not be alerted by the fact that parents are aware of the intimacy between the brothers and still unwilling to take any action against it or simply imagine they are not actually brothers it is a very nice love story. Because of their blood relation their love can not be understood by the others, well I think this is the directors exaggeration of any love that is not considered conventional in any location on earth. Still love wins. At least in this movie.
So watch it, or better yet, save it for the lonely, shivering cold, endless winter nights, cuddle under the blankets and pour yourself a nice cocktail while watching something warm for the heart.
Sep. 3rd, 2010
05:17 pm - Using Homebank with Buxfer
Buxfer is a very nice and easy to use online money tracking application. I am using it only to track my cash expenses however as it has many limitation to the free version of the service, like the number of accounts you can set up and projections that can be used.
On the other hand there is Homebank. It allows unlimited number of accounts as well as budgets and projections. However it does not have online interface, thus it is not possible to bring it everywhere with you. It does not have Android or iPhone application either. The interface for manually entering transactions is a bit sluggish also. The hierarchy of categories (in buxfer those are called tags) is demanding full category:subcategory typing to trigger the auto completion which is also inconvenient.
To bring together both worlds I use buxfer to track my daily expenses, entering those in very useful and user friendly interface on the web or on the android application and once in a while I download the transactions from my cash account to import them in homebank. I use the export as cvs option and then I convert the file to one that homebank can understand with the following script:
mv $1 $1.old
cat $1.old |sed '1,2d'|sed 's/^..\(..\)-\(..\)-\(..\)/\3\/\2\/\1;3;
Here is how it looks; first select the date range to export/import in homebank:
After that run the script over the downloaded file:
Then import the file in homebank:
Select the account to hold the imported transactions and check for duplicates:
For more information on the import visit the documentation page of homebank or click here.
I hope this would be helpful. As a side note I have to admit it helps a lot to track your spending for large periods of time so you can see where your money really go. I have been tracking mine for about 14 months and I am pretty sure I spend now more wisely.
Aug. 31st, 2010
Definetely a must read if I have not yet recomened! Very good naration and shot enough to not bore you or take too much of your time!
Aug. 27th, 2010
08:49 pm - New desktop theme
I am inclined to often change my desktop appearance (as I like diversity, can be seen here, here, here, here, here, here, here). Indeed profit is in versatility, in this case again Linux wins over Windows 7 / OSX. Without further due here is the current appearance of my Gnome desktop:
Unfortunately the theme is not complete as utilizing all windows like effects require better video chipset (for reflex plugin in compiz) and better Gaussian blur. Also the full transparency effect in all applications require patched murrine engine which I do not have the source of and the compiled version requires newer GTK.
Still I think this is pretty much close enough for me, and it is indeed very beautiful, I like it much better than the darker tones OSX decided to take for defaults. The panel image is awesome also, dockbarX totally rock at window/application management and all this runs on 1.6 Ghz CPU with now much outdated X3100 iGPU.
Aug. 20th, 2010
08:19 pm - Пирамидата на Мазлоу
Ако сте сравнително интелигентен човек, непременно вече сте чували за пирамидата на Мазлоу. Аз лично съм готов да споря, че не всички хора се подчиняват на реда установен в нея и че някои от по-горните ѝ етажи могат да бъдат възпитани и упражнявани дори когато основите ѝ са оронени, но това е една друга тема, факт е, че в България се наблюдава обратното, особено върха ѝ изобщо нийде го няма. Но млъкни сърце...
Ето как изглежда традиционната, добре позната ни пирамидка:
А ето как изглежда пирамидата на Мазлоу, що се отнася до роботите:
Забавно е! Смейте се, иначе ще го повторя!
За много хора крие очарование безкрайната зеленина на тропическите джунгли, особено популярни могат да бъдат открити по десктопите картини изобразяващи тучна зеленина, тук там някой пернат многоцветен папагал и може би някой примат, ей така, за цвят.
Аз лично обаче, вече виждайки тези прекрасни сцени се сещам за безбройните болести, които може човек да пипне едва ли не само кацайки някъде близо до тези места. Ето защо много по приятни ми изглеждат сцени като тези:
Поне в доста голяма степен съм сигурен, че няма да се разболея от нещо мъчително и смъртоносно реша ли да се поразходя из околията им. В този ред на мисли - ужасно е че България преминава от умерен към тропичен климат, препоръчвам на всички да мигрират 2 3 хиляди километра на север!
Jun. 27th, 2010
09:21 pm - Small update.
Кой каза, че не може да се яде вкусно и здравословно? Може, но се иска време. А именно, да си вдигнете дупарките до пазара/магазина, да си харесате нещо за приготвяне, да си го приготвите, да си измиете ползваната посуда и чак тогава да се наслаждавате. От време на време си струва, за всеки ден... още обмислям въпроса. Но определено се получава ниско бюджетно и ниско калорично - два особено търсени ефекта!
Варна, преди бурята:
Другите интересни неща, когато най-сетне си купя домейна.
May. 29th, 2010
09:40 pm - Top 100 hottest men
AfterElton has this list of 100 hottest men. Good but I don't know most of them and I have not seen enought of the rest, so here is my list of their list, starting from the "bottom" (pardon the punch).
Chris Allen is last because I have not seen enough of him to list him as really hot, but he has the cutest photo on the list! Just adorable.
Chris Pine was not supposed to be in this list. I really disliked him in most recent movies. However I recently saw "Surrender Dorothy" and he seemed more human and cute in that production, also on some scenes one can notice his imperfect skin, which is a big plus for (in my own ranking system, I happen to dislike perfect guys). So go see the movie and tell me then if he is adorable or not!
Ricky Martin: Not really cute or adorable, but masculin and mature. More and more looking like the man one would want to marry and not the man one would stare at in admiration, which is a move in the right direction and up in my ranking!
John Barrowman is... okay what can I really say, he is fucking hot! Especially as captain Jack... omg I am in love! He was superb also as the villain in Desperate housewives too! And he is plain cute with the perfect smile, never mind he is the oldest. I am not the youngest me either! Ha!
May. 1st, 2010
05:16 pm - Johny-boy
05:03 pm - Domenico ScarlattiWikipedia:
Apr. 24th, 2010
02:52 pm - Goodbye Betty
Apr. 21st, 2010
08:24 pm - "Scientific" bullshit
I will not be talking much here, just a quick reference:
Michael Specter on the danger of science denial. Here is the thing: you either vaccinate your newborn child and you avoid a whole bunch of deforming, life threatening diseases with 100% proven effectiveness or you don't do it because no-scientists (but instead publicity popular persons) tell you on the television and other media that there is a risk of your child becoming an autistic and if it does not you pray with all your heart that the other diseases do not bother him/her. Note that in the first case you rely on pure science and evidence and in the second you initially rely on claims that are not proved (meaning no causality can be scientifically proven, only some correlation in some studies, rejected by most) and then and only if your child does not turn out to be autistic you rely on faith and prayer that no serious condition will be the result of the vaccination skipping. He also talks on other topics where science is denied in favour of faith. And we believed that the dark ages has been over.
James Randi on psychic fraud. Here one go on the same page as Specter - why do people exploit our weakness being not aware or in denial of science and proof. Very interesting presentation. I remember Mr. Randi from my younger years when he proposed 1 million dollars if a scientific proof can be presented in favour of homoeopathic treatment. I remember no one won the money as no homoeopathic laboratory could prove the efficiency of the drugs they produce and yet millions of Euro is spent yearly purchasing homoeopathic products, including the popular in Bulgaria "Oscillococcinum". From the national pharmaceutical agency we can obtain the document for this product. In the Ingredients list we can not read what it is made from at all, notice the difference with the traditional pharmaceuticals. So it means that Boiron can put anything in it, just because it does not says what should be inside. And I especially liked the joke Randi made:
From James Randi's web site one can follow the links and go to Science Based Medicine, worth adding it to your feed reader, just in case you are wondering about some claims on scientific and medical information made popular by the newspapers and other media.
I feel that this is a good place to remind of Carl Sagan's last book - The demon haunted world. It is also translated in Bulgarian and is available from Bard
Apr. 20th, 2010
11:37 am - Ricky Martin simulates 'it'
Okay, I think lots of gay guys have imagined mr. Martin in this pose, but come on! Do you have to simulate being sexually excited naked and probably imagining being fucked? Not to say anything bad about Ricky of course, I am not a bad person, but... what will be next, releasing home made porn video?
Apr. 19th, 2010
09:25 pm - Static blogging
Today's tests of WadcomBlog went fine, now I have to wait for the design inspiration to make the pages looks awesome from the templates.
WadcomBlog is static blog generator, it takes your entries (wirtten in either plain HTML or any markup language that is comverted to html with python) and generates the directory stucture, tags and permalinks. Then one can rsync the blog to the server as needed.
I wanted to have static web pages as blog entries simply because I don't want to manage a whole database engine for something as simple as my own blog, I needed just the rss ad the entires. The comments can be managed by external service and I have never cared much about that either.
Livejournal has been my blogging platform for 4 years (well, almost, first entry there was on 26 of November 2006) and has hosted 838 unique entries. It server very well I would say, but ufortunately it has features I dislike too much to stay with it; one being lack of support for audio and video tags, external embeds, google maps, flexible templating and so on. They should really move on. On the other hand they are payed service and I have never payed for it. I should be thankful for what they have provided for free.
Unfortunately LJ decided to delete the blogs of users that are not active for more than 6 months, which is really not what I want, I suspect I will have to migrate all entries to the new blog, which is not ideal, lots of markup will be lost. The comments will also be lost.
Still this time around I will own all my blog, the entries, the pictures - everything and only I will decide what to go and when. Which is ideal!
I will still use LJ for a while, until I finish the new platform, I will have to write some additional plugins for it, and an imported evidently, which should be easy with python as I have all entries in sqlite DB.
The bad news is I will have to by myself a domain name (or I will have to suck it up and go with hostname in a not so good domain, which is fine as long as it is free).
I will also be able to tell google bot what to index and what not to touch, which is exactly what I want also.
Once it all is up and running I will close and delete this blog, lot of it will remain in Google I know, but ... so be it.
Apr. 18th, 2010
In several articles I saw discussion on Fitts law and and its demonstration in popular computer interfaces.
First of all I would like to mention the Mac main menu, its properties and accessibility from the Gnome Desktop point of view. As can be seen in mupltiple of the example screen shots I have posted in this blog I use the Global menu paradigm (as it is presented in Mac OSX). As per the author the Global menu is faster to navigate because of the constrained parameter of the monitor. This might be true for the older monitors where to navigate the mouse to the infinite will not require too much motion (i.e. 768 to 800 pixels screen estate height) but recent purchases of screen estate are mostly somewhere between 1200 and 1800 pixels height. More over the ratio of 4:3 has shifted in favour of 16:9 and even 22:9 in most recent models. While in Gnome environment one can shift the global menu applet to be placed in the centre of the screen on MacOSX this is not possible, the menu always starts in the upper left hand corner. Now, imagine you are using an application with a very small window (lets say 300x400 pixels) and you operate a cinema display (30 inches diagonal) and that this very small window is lower on the right hand side of the monitor estate. Now, what would be more appropriate, to have the menu right in the application window or to travel 1000 and more pixels diagonally to select a menu item?
The application being too far from the 'easy to access global menu':
The application has the same size but the smaller screen allows easier access to the menus:
This said I have to state that most modern application developers have elaborated a work around this issue: put ALL important actions in the window tool bar. This is also applicable for Gnome applications, all major and often used actions are available as easy to recognize icons within the window. The menus are used for rare, specialized tasks. Some applications even allow the user to add and remove buttons from the tool bar to suits their usage patterns. In the light of that said I consider the global menu a good way of separating the basic, mostly used functionality from application preferences, highly technical or rarely used functions. That is why I like it and why I use it, in all cases on a small size monitor one cannot put all applets and panel gizmos on one panel only, you need second one, but then again it is often left demi empty (or overly crowded in case one decides to put everything on the panels). Thus putting the menu up there and having some space left for notification icons, time/date and other utilities seem like a good idea, plus once you have the panel there you loose 20 pixels of a smaller monitor, you can get them back if the application is 20 pixels shorter just because its menu is docked in the panel. In any case the developer must make sure to have all often used actions inside the main window, even if the menu is in the main window as navigating a menu is more difficult and time consuming than navigating icons on tool bars.
Example of overcrowded panel: note that I have cut off some of the applets and the repetition of the icons is not a coincidence, lots of people use the panel this way: on the left are the launchers and on the right is the tray which holds the actually running applications, not very smart use of space!
One thing I dislike in Mac OSX is that the menus do not provide colourful, easy to recognize icons in the menus, this makes them even more hard to use, this because navigating in menus our brains recognize colour patterns easier than text, so having icons for the most used menu items speeds up the navigation and usage. Gnome Desktop has the icons in menus available (as option).
Easy to recognize icons in menu actions to speed up finding the needed entry for the user:
Next I will point out some weaknesses in the Gnome community while aiming to duplicate other OS-es look and feel on the Linux desktop. First and most obvious is the famous Apple dock.
In the speed run to provide most attractive, most good to look at and most full of features application to replace the Apple dock application on Linux desktop the authors went too far away from the main idea of dock applications.
The dock's main reason to exists is to provide easy to use pattern driven launcher/active applications manager. But instead what we see in the most popular dock applications is too much animation (which is supposed to make the dock more interactive and "informative"). Take for example AWN (0.3 series, I haven't had the chance to try 0.4). Every windows appearance and disappearance is provoking two thing: 1) the application icon itself is animated in slow motion and 2) the dock itself is shrinking in slow motion, those two not being synchronized, thus the dock shrink animation takes much longer and is most visible on the left and right dock edges (as the most apparent movement is there), each movement draws the eyes of the user as something needing attention thus a sole window creation/destroy draws the eyes toward the dock, however the window might not have been manipulated by the dock itself, in this case all this movement down there is completely inappropriate. It might be good for demoing animation capabilities in composed desktop but is killing work process.
Docks that have launchers and secondary application windows are complete disaster as the main pattern recognition advantage of the dock is lost: consider this: the dock is not useful application by itself, it is more like a system application in which focus the user spends very few of his time. However because the dock is constructed by large icons the pattern recognition in humans allow them to very fast learn which is where on the dock. This works even with hidden docks (e.g. auto-hide or intelligent hide enabled docks) - once he user knows the pattern the applications are arranged in the dock he/she aims at the correct place even if the dock is not visible the time the movement toward it starts. Now if the dock creates a new icon for launched application windows or for secondary application windows the pattern is lost because it creates the new icons in the order the windows appear and not in a known pattern, thus the user first aims a random position in the dock and then uses additional time to pattern recognize the application icons he/she is looking for. Even worse (in Apple dock especially, but also in cairo-dock) the small window miniatures created are so small even with magnification set to 2.0 in dock preferences the user spends much more time recognizing the windowed icon as linked to the window he/she is aiming than when a simple application icon with clear colours and shape is used. As result from the above docks that adds icons for applications that are already represented are against usability. More over using window miniatures is wrong.
Next is dock on mouse over magnification. This might seem like a good idea if one happen to have 20 and more icons on the dock, for them to be displayed the dock can do two things: a) reduce the size of the icons or b) hide some of them. The second approach is wrong on so many levels I will not discuss it, it can be seen in AWN 0.3, when there are too many icons (and this being solely because more and more icons are created for each new window of the same application). The first one seem like a good idea, the pattern is kept, once the user aims for the correct destination the approximation of the mouse is bigger as the icon gets bigger and easier to click on. This all seems fine except one thing: On Mac OSX the icons are often very very beautiful, colourful and nice to look at, very easy to tell one from another when big enough, the problems start when they get smaller than 30 by 30 pixels. The smeller the icons the harder to tell them apart. Especially if you have half the icons constantly there as launchers (which supposedly is good enough as you already know the pattern and can find the approximation of an icon by the nearby icons just because you know the order they are in and not because it is very well defined apart from the others and half being randomly arranged icons of applications rarely used. To avoid this regression in the pattern recognition tow ways can be followed: a) have smaller and more defined variant of the application icon to be used when the icons get too small for the big beautiful icons to be well visible (supported in Gnome - several icons are provided, when smaller ones are required they use simpler geometrical forms to allow easier recognition) or b) separate the workspaces and show only icons from the current workspace. I consider variant A to be more appropriate as otherwise the pattern recognition of the arranged icons can be lost plus entirely redrawing the dock on each switch from workspace to workspace (in Mac style it would probably be animated) can additionally distract the user.
Notification: In Apple's OS notifications for windows are strange: The icons jumps very high and constantly until one address it. Okay, but lets say one have 3 jumping icons. This is already a mess. Jumping for starting application is also a bit overly used, one jump is just enough or ay re-action from the icon, just to let the user know that the icon has been successfully pressed. If start-up notification is required (which is pointless once the user know the icons is clicked it should not be important how much time the application takes to load, I can see it once it is shown, right, I don't need an icon jumping around letting me know it is still starting, I will notice when it starts!) it does not necessary need to be animated, for example the icon can just change its colour (lets call it tinted) and get back to normal once the window appears. Same applies for notification of "urgent" windows: chances are if I miss it the first jump I would like to ignore it further, simple change or colour or tint overlay would be just enough to remind me later that I have something to do with that application once I have the time and willingness. This is also misused in cairo-dock, gnome-do-docky and awn.
Here can be seen urgent hint notification in dockbarX; note that the icon does not blink, jump, sing, run etc; it just have tint colour. It is still very well recognizable because of the shape it has, distinctive one, which is very important for the pattern recognition, the tint colour is not used in the regular application icon so the user can see the hint easily.
Window information: all docks in Gnome provide means to notify the users when more than one window of the same application is existing on the desktop. Why is this information so important that is has to be displayed all the time now that the tabbed application paradigm is used everywhere, browsers, text editors, chat clients, pretty much all applications that work with documents thus more than one instance is running and having logic of itself not being directly connected to the other instance. Grouping documents in tabs is the most important innovation on desktop management IMO. Please use it. Having 10 firefox windows is not better than having 10 tabs in single window plus drag and drop, rearrangement and so on typical window actions are supported in tabs. Even file managers have it now days. This way the dock can stay more usable also. The user should not care how many windows are there but most certainly if there are more than 3 your application interface needs renovation.
Launchers versus running applications: All docks on all platforms provide feedback on the icons to allow the user to recognize when the application is running and when it is not. I don't know why is this: if I need text editor I click on the text editor icon, I don't have to remember or know if it was already started or not. While I don't find this information useful some might think otherwise and I would love to know why it is so. Meanwhile (thank God) the notion of the running application's icon is small and not distracting really.
Active window determination: Linux docks seem to find it extremely important to allow the user to recognize the active window by looking at the icons. Why is this? Unless I look at the dock most of the time (because it is pretty and animated and the icons are beautiful) I already know which is the active application, when I aim for the dock I just left it, right? Thank God it is not animated. But on some docks/themes for docks it is bright enough to distracts, lest say one is using very big screen estate and have two applications next to each other without them overlapping, slicking in the one that was not active will change the dock appearance by removing the active icon mark from one icon and put it on the other, and here we are talking about big changes on some themes, for example making the new active icon bigger or with much different and brighter colour background. Completely unnecessary. The fact that the windows themselves change when they gain and loose focus is enough of notifications for the user, when I click on inactive icon I can see that a new window on the desktop have the focus. This means the active application notification in the dock is redundant.
Apr. 14th, 2010
11:26 pm - Glee singns Lionel Richie's Hello
Click on the image for the video of Rachel and this buddy singnig Lionel Richie's 'Hello'. The best song of this episode (my opinion). The video is encoded in mp4, if you cannot play it, well, sorry for you.
04:10 pm - Two small changes in Metacity
The composition application xcompmgr is not updated in a while, still have some issues with windows with alpha channel (like gnome-terminal and the unframed windows like the one for the brightness in Gnome) leaving artefacts or not displaying shadows where it have to and displaying them where they are not supposed to be. Instead ot spanding time hacking on it I had some changes in metacity, namely chaning the default shadows and removing the pixmaps of the windows on the change window panel (Alt-TAB by default) as the last one is very slow gathering all the pixmaps when there are 10+ windows thus slowing down the whole changing the current active window process (user experience, not the change itslef, as pressing very fast Alt+TAB changes the window but does not display the selection panel.
This was metacity with compositor enabled is much better IMO.
Apr. 13th, 2010
11:52 pm - The best dock for Gnomelike it is in the iconbox on XFCE - more information on it) and baking the task text labels.
In addition to the fact that the tasks and launchers are signified by easy to remember icons (larger ones also) they can stay always on the same place on the desktop (when a launchers is added to the panel is always stays on the same place, when it becomes task also stays on the same place, when regular taksbar is used the tasks are ordered in the order they are created) which means the user get used to the place and searches for that activity/application faster.
The applet also supports theming, which is useful for people who tend to theme their desktops heavily so it can fit into their tuning.
It does not require compositing manager and thus can work on older hardware. It supports activating windows when drag'n'drop is used (dragging item over the icon will show the window - this is also not working in gnome-do (as of 0.8.3.1) nor iconbox (on XFCE as of 4.6), which makes this applet more useful than those two) and multiple windows under the same icon. I rarerly use it this way as mor and more applications that use more than one window are actually supporting tabs so instead of creating multiple windows they utilize the more intuitive tabbed interface.
The applet is not packeged for Fedora yet but can be easily installed (as it consisits of only 2 files and themes). To have it installed run the followng:
This will create the dockbarx directory in the current directory, cd to it and read the README file as it explains how to install: basically copy the dockbarx.py and dbx_preference.py files in /usr/bin/ and GNOME_DockBarXApplet.server in /usr/lib/bonobo/servers/. Then create the theme directory as explaine din the file.
To add the applet use the panel menu -> Add to panel and that is it.
I admit I was wating for this for a long time - the functionality available without the bling! So a big Thank You to the authors.
06:22 pm - Clash of titansthe one from 1981? Common! It was not even an attempt to make it somewhat more intriguing - just more computer graphics and that is it.
Not that I know what should have made the story more compelling. Maybe they could have made the monster more.... something more. I do not know.
What else there is in this film: The Avatar guy (easily recognizable which means we suddenly feel like we have already seen the movie (and indeed we have if we have been born before 1985)). He is kind of not the guy that look like demigod nor hero, I do not understand why one would choose him. The other nice thing to look at is Io (strangely pronounced as Iiii-oo). She is very nice, beautiful to look at, huh!
What is good about the movie is also the use of lots of names that are also names of celestial objects which means lots of youngsters in US theatres would think : Hey, I know him/her, something from school but what exactly....
Am I the only one to think that Zeus looked kind of stupid? Oh well, Pegasus have never been so beautiful. Gorgeous! Anyway, go see it.
Apr. 11th, 2010
11:40 pm - Torchwood
Препоръчвам го, ако харесвате британски акцент, ако мислите, че омни-сексуалността няма да ви дойде в повечко и харесвате процепи във времето и пространството Torchwood ще ви допадне.
Apr. 9th, 2010
Horizontal gene transfer has been discovered in the bowels of Japanese volunteers. The full story can be read here. What is more intriguing is the fact that indeed certain diet conducted for long periods of time (probably more than a human lifespan) can provides certain part of the population with the ability to digest food that the rest of the population cannot by simply having bowel bacteria that others do not have. I believe it is probably save to assume that this difference in bacterial flora can vary in other directions, for example with vegetarian food as a whole. There could be people that can take more of the vegetarian diet than other. Just thinking about it, maybe vegetarian and vegan is not for everyone.
I for one would take this medicine if it will enhance my digestion.
Mar. 31st, 2010
10:02 pm - В болница/In the hospotal
Ако не се върна.. значи нещо лошо се е случило. / If I don't come back .. something bad happened with me.
05:41 pm - Truth behind the window
Original source: Yasmine Chatila: Stolen moments. See the full collection - it is good, I promise!
Mar. 29th, 2010
01:24 pm - Steampunk computer
I have been inspired yesterday by those modes. Well, I am not that of a handyman so I figured out I can just make my desktop look a bit like it! Here is the resulting dekstop (click for full size image).
Here is a small Python script to export source code as html from gEdit (as the original plugin seem to not work any more with recent versions of gnome-vfs)
Note that gvim is required for this to work (should be available in your path and one need X running, but this is natural as gEdit is GUI application).
Also I used zenity for the selection of the file type, this is not required as the mime type can be extracted from gEdit, but I am still not sure how to do so with Python, so for now zenity is also required. I am working on porting the original plugin from C to Python, but for now this should work okay. The code of the instrument is exported with the instrument itself.
2 #There seem to be a problem as vim does not use colors when invoked from here...
3 import os
4 import sys
5 import re
6 import subprocess
7 import string
11 while True:
15 except EOFError:
21 fob=open(file_to_write, "a")
25 p1=subprocess.Popen(["gvim", "-s", "/home/peterj/applications/Scripts/vimco
27 fob=open(file_to_write+".html", "r")
30 os.remove(file_to_write + str(".html"))
34 print "<div class='cod'><lj-raw>"
35 print newbuf
36 print "</lj-raw></div>"
Text version of the script can be found here. Note also the paths used are for my user, this is not exactly ready for distribution, you are welcome to make it.
Mar. 26th, 2010
Very inspiring and honest talk, really enjoyable regardless of your affection (or lack of) for classical music. It is short, highly recommended (by me)
Direct link to the video file (mp4 format for the desktop)
11:57 am - Almost OS 10
Because of the lack of professionalism of the guys in the Public store I decided I will wait a bit longer for the purchase of my new Mac. Instead I was willing to emulate the desktop if possible.
Here is what I have got:
- What you see on the picture is:
- Gnome 2.28
- Globalmenu applet (for mac menus)
- gnome-do 8.3.1 for dock application
I think it is pretty close (yeah, I know, it is not the same, I have been using OSX and the dock there make some more but not too much more, besides gnome-do can make things the OSX dock cannot).
I feel fine with it. The main reason I want Mac is the hardware compatibility with tablets and other hardware that I could not make to work under linux (which is a shame).
Link to a small (2.1MB) video (ogv) demoing the new gnome-do. What is the best feature ever (and I honestly think should be available in gnome-panel and Xfce-panel is the intelligent hide - when a window border is near or beyond the dock / panel border the dock/panel hides - this way it is hidden only when you want to use the full screen estate and is visible when needed.
Mar. 25th, 2010
01:08 pm - Mac mini of my own
Надъхан и предал се под флага на "Ябълката" в крайна сметка исках да имам нещо различно от безрбой Линукс дистрибуции и се втурнах да си купя Mac Mini. Най-евтиния възможен - като за първи ябълков компютър, да се запознаем, без прекалено скъпи изненади. Първо се отправих към Фотосинтезис. Е, героите вече не работели с марката (Apple). Добре де, ясно. Отиваме тогава в Public. Те, милите, провели следното нещо: Apple и приятели в Public (на 6-ти март).
Влизам в магазина и се отправям към Apple-щанда. За мое удивление никой не се зае да ми помага в избора. Наложи се да чакам 10 и повече минути, при все че очевидно поевчето служителите нямаха друга работа освен брауново дживение в рамките на магазина. Все едно, на края не издържах и помолих един от служителите да ми обърне внимание. Оказа се, че имали Мак Мини. Но му загубили кабелите. Интересно. Последва 30 минутно суетене къде аджеба биха могли да са тези кабели. Обясних на консултанта, че няма да купя нищо, докато не ми демонстрират как върви 1080p филм на съответното нискобюджетно чудо. Но за целта трябвали кабелите. И всъщност минито било от по-скъпите, но имали и от евтините. След още 20 минути и звънене на колеги, които в момента явно не са на работа ми се обясни, че всъщност нямало други минита (може би са се разпродали на 6-ти март?), а кабелите за това ги нямало. Питах за дистанционно - нямали в момента. Питах за клавиатури с numpad - и такова нямали в момента, НО ако си дам капаро щели до няколко дни да ми доставят.
Накрая ми взеха номера и обещаха да ми се обадят, когато имали наличност. Тоест никога няма да стане това, предвид че бе записано на летящи листче. Странно, натискаш се да си дадеш 1400 лева, ей така, и никой не иска да ти помогне, защото "сме загубули кабелите". Дам, интересно. Да не говорим, че щяха да ми продадат мини, което е работило и седяло в агазина незнайно колко време на същата цена, както не отваряно такова. Не е ли кефско да живееш в България?
Mar. 22nd, 2010
05:33 pm - Wacom tablet
I was on the verge of buying this tablet:
Unfortunately it seem to not work at all under Fedora 12, regardless of the praise the version has received about its support for tablets. The guys at Multirama have put into effort every single grey cell in their brains just to figure out why it is not working and yet it did not worked out. Too bad, because I stated that if it does not work for MY LAPTOP I will not buy it.
So I did not buy it...
Bad Fedora, bad!
Mar. 20th, 2010
11:39 am - Fedora vs. Ubuntu (FvU)
Well, I do not know who Kevin Higgins is, but all of the "top reasons" can be equally set on any GNU/Linux distribution and not just Fedora. I still think I should switch to Ubuntu, especially now, that they are about to release a Long term support spin in a month or so. So much fed already with not being able to use ATI cards nor old software (or exotic one like Cinelera
12:41 am - GTK with python
First of all I have written stuff for logjam (mainly adding some new menu entries with additional functionality, nothing big, but approved patch to the Fedora build of logjam) but it is written in C and I did not want to bother with this again, I needed something I can write fast and start using it right from gEdit.
So I tuned to external tools plugin, it allows definition of external tools like bash scripts for example. So all I needed now was a script that will allow me to add images to the entries.
My initial attempt included zenity with the File chooser and then the Entry dialogue. While this was somewhat working I needed something that will calculate the size of the image imported and half the size to be set as property for the span to add the pin on the image (all CSS styling). It was getting too complicated for my limited knowledge of bash so I turned to Python. I have never used gtk from python yet I was able to create what I needed for 20 minutes: File chooser with preview enabled and entry for the description.
So my advise is: no matter what you are aiming at as programming - try python!
3 from __future__ import print_function
4 import Image
5 import sys
6 import os
7 import pygtk
8 import gtk
14 def use_image(imgfile):
16 global comment
17 global image_alt_text
18 if toggle2.get_active():
19 print("<div class='divph' width='",im.size,"' height='", im.size,"'>",sep='',end='',file=sys.stdout)
20 if toggle.get_active():
21 print("<a ", sep='',end='',file=sys.stdout)
22 if entry_link.get_text() !='':
23 print("href='", entry_link.get_text(), sep='', end='', file=sys.stdout)
26 if image_alt_text != '':
27 print("' title=",'"',image_alt_text,'">', sep='',end='',file=sys.stdout)
28 if toggle2.get_active():
29 print("<span class='pin' style=",'"',"left:", im.size/2,'px;"', "></span>",sep='',end='',file=sys.stdout)
30 print("<img width='", im.size,"' height='", im.size,"' alt=", '"',comment,'"'," src='http://184.108.40.206/peterj/", os.path.basename(imgfile),"'",sep='',end='',file=sys.stdout)
31 if toggle2.get_active():
34 if toggle_image_right.get_active():
35 print(" align='right'",sep='',end='',file=sys.stdout)
37 print(" align='left'",sep='',end='',file=sys.stdout)
38 print(" vspace='5' hspace='5'", sep='',end='',file=sys.stdout)
39 print(" class='drops' />",sep='',end='',file=sys.stdout)
40 if toggle.get_active():
42 if toggle2.get_active():
43 print("</div>" , sep='',end='',file=sys.stdout)
The full script can be downloaded from here.
Mar. 18th, 2010
04:09 pm - Package management (for Linux)
Others do not like yum that much.
I think we need more application based approach: provide the base system and system libraries and services as repository and then make sure to provide suitable stable interface for the end user application developers to utilize, so once a new version fo an application is out the developer can compile it not only for ubuntu, but instead universally - for Linux. Because when I go to the web page of a free application I see three links: Window, Mac and Linux. If I click on Windows it states only "Windows XP or above". If I go to Mac is states "Tiger or above". Well, If I go to Linux link i get Ubuntu 8, Ubuntu 9, ubuntu 10, Fedora 9, fedora 12, source, static and so on. Excuse me, but do I have to have major in CS to be able to install a text editor. And nope, that fact that there might be already some version of this or a similar application in the repository is NOT what I want, I want that version from THAT web site and I want to be able to save copy of the installer and when I upgrade my Linux (which should not happen more than one every 2 or 3 years - because now, upgrading every six months I am actually doing it more often than my friend with windows, they re-install every 8 to 9 months!) I can right away re-install my end user software and be productive again.
Well, this is just a dream I guess....
Mar. 15th, 2010
04:40 pm - PredatorS
So Rodrigez desiced it is time to make another Alien/Predator/Movie. Fine by me. Yet remember who is NUMBER ONE! The best EVER movie in this fucked up series! And who is the best monster of all time on film! Yeah, that's right Rodrigez, suck it up, you may try and pretend to do something but you can NOT ever beat the aliens! Nope sir, never ever!
Mar. 14th, 2010
01:53 pm - Manga drawings
When I was young I loved to draw. If one opens my school books from prep school up until the end of high school the last few pages (usually blank or with small print text at the bottom) magical scenery will be revealed. Nature, humans, animals, magic, mystery, even some 'noir'. I was a big fan of the manga (at time time in Bulgaria it was only possible to see those in pirated VHS tapes)
I liked the Manga animations because they have very interesting way of expressing movement and emotions. Very different from what can be seen in the Western animation. I was heavily influenced and most of my drawing in the last two or three years in high school was mostly manga style. One of the animations I liked the most was 'A wind named amnesia' (風の名はアムネジア). There were many other of course. What is interesting in the recent manga animations is that the surrounding world which used to be finely drawn (very beautiful examples can be found in every classic manga movie), but is now computer generated and in 3d. The characters however are still looking much like the original 2d with several shades personages as the original animation was developed. I find this fascinating, it is clear that now even the characters are drawn in computers but rendered as 2d. Cool stuff! (For example one can check Ghost in the shell 2: Innocence - see video bellow)
direct link in youTube for the above video
Some of the original manga (comics) are drawn without colours (much like I was drawing it because I was using only one colour - the one of my pen). I have been looking for some examples and found a great one - the original art work for the Crying Freeman series. The art work is exceptional (okay maybe not, but for me it look like it is - the sole fact that one can understand emotional expressions from single colour drawing is fascinating) and the details in some scenes are awesome. Here are some examples:
What those artist can do (and what I could not master) is how one recognize the character right away, regardless of his facial expression. I could never make my hero look the same person over and over. And then again I have never been to a drawing class either, I visited one but made something stupid (like ruining another class mate's work and was banned - that was the time I realised I'll be better off as a critique).
One can view the whole series following this link.
Oh and by the way the other work of the same artist (Ryoichi Ikegami) is pretty much the same, even the protagonists look much alike.
Matt Bomer has finally showed us his 32 years old body in the series 'White collar'. It was about time duh! I mean why hiring cute actor if not utilizing it at its full potential, right?
Here we go (if you are wondering - season one, episode 14, what took them so long?):
Okay, he is officially fuck-able. And adorable. Too bad he is taken, he-he.
01:48 pm - R.I.P. Corey Haim
Life is a funny game. When you are young you think it will last for ever. When you grow older you start to realise it will not, so you start making amendments. When you are old you know it does not matter.
I was too like that, and then, all of a sudden I got sick. Doctors cannot fix it, I doubt they can fix anything more than appendicitis and a broken arm. But that does not matter now.
Corey Haim has died, too young. He was one of the actors I liked when I was a kid (see here). My question is:
Mar. 11th, 2010
02:00 pm - Michael Jackson transformation
Done with only mascara, lipstick and scotch tape! Yeah baby!
Direct link to youtube video
Mar. 7th, 2010
02:36 pm - Мъжете знаят защо
Седя си аз днес и погледа ми се рее из бюрата и какво да съзрат очите ми - реклама на Каменица, същата онази бира, което едно време я пиеха два западноевропейски гея из разни планини и реки, после гейовете станаха повече но си останаха на Каменица. След няколко години изглежда рекламодателя се усети какво се случва, че българския мачо няма как да се трогне от разни лигави, засукани, вчесани и загладени германски/френски гейчета и смениха тактиката, сложиха мъже като мъже на рекламата, грозни, космати, за предпочитани с видима умствена нестабилност и прочее необходими неща, за да може героя на рекламата да мине за български мъж.
Едно от скорошните им творения (на маркетинга де) явно е да засилят мъжкарското още повече и българския мъж от прасе да стане свиня, ето и въпросните 16 спасителни тактики за мъжа:
Обаче не щеш ли някой в рекламния отдел явно упорито се опитва да наложи про-гей-ското в тази бира. Направо не е за вярване, какво съзираме на този толкова мачистки, балкански манифест:
И какво излиза, два, три и повече западноевропейски гея може и да си пият Каменица по разни скални пътеки и реки, нашия си налива в къщи и прави bromance с аверите. Сигурно и юмрук надигат от време на време, къде заплашително, къде закачливо... пффф... Никаква бира повече. Поне не Каменица. После мъжете знаели... аре па да не знаят!
01:21 pm - The CLI affair
The CLI affair
It is true that I fall for the CLI applications a while back. Well, it was short and passionate love. It is pretty much over now, I barely use any CLI application except for ssh access to remote servers, this being used as Thunar (in current Fedora) does not support GIO and thus I cannot mount easily the remote servers.
But I think it is a good idea to sum up the impressions I have got during this shot term affair.
MPD: the thing with mpd is that is uses much more CPU than lets say mplayer when playing one and same file, this is not true for all file, just some of them but still having a music player going to 30% CPU utilization is insane, even if you have a descent computer/laptop. Guess how much the CPU load goes up when playing remotely! So MPD is no option if you are into preserving energy or low cost, low power set up.
Mail: I still use thunderbird. But I have managed to configure alpine. It works pretty well with Google's IMAP support, it even manages to set labels on the mails, threading them and so on, pretty cool. The good stuff is because of IMAP it can be used with other applications as well, e.g. I can access the same mail with thunderbird and apline, however I see fit. On the other hand there is no way to configure more than one mail (probably two) in alpine and see them all at once, the only way is to have several alpine configurations and start different apline sessions for each of your mails! This is not very convenient.
I think this is it: brief review of my experience with the command line applications.
Mar. 5th, 2010
09:21 pm - Newmoon(ing)
So, what to do with those 2 hours you were planning on spending watching this flick - SOMETHING ELSE!
Oh, and by the way, if you are a woman or a gay man and you think seeing half naked Taylor Lautner compensate the excessively boring long minutes of Bella being sad on the screen - guess again! I bet one can make a compilation of the moments there is nice, hunky, wet, bronze skin and flesh on the screen into a five minutes clip. That's it. The wolf are exclusively stupidly made with CG, those people that made the animation have NEVER ever seen a dog or a wolf, the fur looked like it was alive, like an alien on itself, not wolf or dog fur and no, don't tell me this is because it is not wolf but werewolf. CG guys - look for a new job, you have FAILED on this one.
And now the promised flesh, for all who were not bound to read my moaning.