<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5174812214702977876</id><updated>2016-12-17T14:23:04.689+03:00</updated><category term="solution"/><category term="linux"/><category term="code snippet"/><category term="python"/><category term="debian"/><category term="tip-n-trick"/><category term="thinkpad"/><category term="announce"/><category term="laptop"/><category term="maemo"/><category term="serna"/><category term="ubuntu"/><category term="gnome"/><category term="osso help"/><category term="qt"/><category term="xfce"/><category term="actkbd"/><category term="android"/><category term="gmail"/><category term="google buzz"/><category term="java"/><category term="news"/><category term="osso-help-plugin"/><category term="patch"/><category term="skype"/><category term="transmission"/><category term="truecrypt"/><category term="webapy"/><title type='text'>kondor&#39;s IT beetlebum</title><subtitle type='html'>kondor&#39;s blog to dump his thoughts about informational technologies.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.thekondor.net/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>32</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-6039061502536657866</id><published>2013-11-05T21:55:00.001+04:00</published><updated>2013-11-05T21:55:59.741+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="code snippet"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="tip-n-trick"/><title type='text'>Pattern of Error Reporting in Python</title><summary type="text">

Instead of Intro

That is not an uncommon and even not rare when an application which was supposed to be a prototype suddenly becomes a tool for everyday usage. Not a perfect thing here is that in a rush to make the program more or less user-friendly a developer has to hide internals by preserving error messages with internal details. Here I am going to share the pattern I mostly use in my &quot;</summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/6039061502536657866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2013/11/pattern-of-error-reporting-in-python.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/6039061502536657866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/6039061502536657866'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2013/11/pattern-of-error-reporting-in-python.html' title='Pattern of Error Reporting in Python'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-1703193594322703104</id><published>2013-10-15T20:13:00.005+04:00</published><updated>2013-10-15T20:13:58.210+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="code snippet"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Python, argparse and Environment Variables</title><summary type="text">
argparse more likely is the one of frequently used Python&#39;s libraries. It covers all standard cases out of the box. When a case goes beyond the box a developer is encouraged to extend the library with the specially provided API.

What to do when the argument is marked as required and its value is not changed during some quite long time? Make the argument&#39;s value persistent; store somewhere. </summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/1703193594322703104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2013/10/python-argparse-and-environment-variables.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/1703193594322703104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/1703193594322703104'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2013/10/python-argparse-and-environment-variables.html' title='Python, argparse and Environment Variables'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-2436022586002781260</id><published>2013-09-04T21:30:00.002+04:00</published><updated>2013-09-04T21:30:53.939+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="solution"/><category scheme="http://www.blogger.com/atom/ns#" term="tip-n-trick"/><title type='text'>Run Unit Test automatically for Python code</title><summary type="text">
Have you ever thought how often you write the tests for the newly developed code? I believe that more likely -- every time. Even a tiny tool which will never leave the developer&#39;s sandbox, which is supposed to show that the implemented logic is correct might be called a &quot;test&quot;; it is not perfect, not maintainable, but it is intended to do at least one thing -- to check the code. I did so. </summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/2436022586002781260/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2013/09/run-unit-test-automatically-for-python.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/2436022586002781260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/2436022586002781260'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2013/09/run-unit-test-automatically-for-python.html' title='Run Unit Test automatically for Python code'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-_YqEJBh49-M/Uidm_UrKakI/AAAAAAAANkA/mesQo8xvT6Y/s72-c/sublime-python-wrapper-build.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-8327753300461559261</id><published>2013-05-29T22:18:00.002+04:00</published><updated>2013-05-29T22:20:28.146+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="code snippet"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="solution"/><title type='text'>Pass arguments to BaseHTTPRequestHandler</title><summary type="text">
Each time when I face with the Python&#39;s built-in web-server (BaseHTTPServer) I feel a pain. The pain is caused by a strange architectural decision to pass a class as a request handler not an instance. At first glance it does not matter what kind of entity to pass. Since you can extend the default implementation with your logic. It still does not matter until a some moment. This moment happens </summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/8327753300461559261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2013/05/pass-arguments-to-basehttprequesthandler.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/8327753300461559261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/8327753300461559261'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2013/05/pass-arguments-to-basehttprequesthandler.html' title='Pass arguments to BaseHTTPRequestHandler'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-gt1dMJd3jV4/UaZAYLjqNII/AAAAAAAANi4/nyA4mskvosQ/s72-c/BaseHTTPRequestHandler.png" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-1315585778614968028</id><published>2012-09-06T09:33:00.000+04:00</published><updated>2012-09-06T09:33:14.751+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="solution"/><category scheme="http://www.blogger.com/atom/ns#" term="thinkpad"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Make new ThinkPad&#39;s charge thresholds work in Debian/Ubuntu</title><summary type="text">

Instead of Intro
ThinkPad`s have been always famous for the amazing hardware compatibility with Linux. But seems this time has gone and owners of new ThinkPad`s like ThinkPad X230, T430 and of some other may have started experiencing some uncomfortable changes. The one of the such changes is inability to use tp_smapi module to set battery thresholds.

Battery charge threshold might be important</summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/1315585778614968028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2012/09/make-new-thinkpads-charge-thresholds.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/1315585778614968028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/1315585778614968028'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2012/09/make-new-thinkpads-charge-thresholds.html' title='Make new ThinkPad&#39;s charge thresholds work in Debian/Ubuntu'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><thr:total>6</thr:total><georss:featurename>Moscow, Russia</georss:featurename><georss:point>55.7427928 37.6154009</georss:point><georss:box>55.4567773 36.983686899999995 56.028808299999994 38.2471149</georss:box></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-9112445786708210898</id><published>2012-07-22T11:16:00.000+04:00</published><updated>2012-07-22T11:40:17.633+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="solution"/><title type='text'>Splitting OpenBox configuration to several files</title><summary type="text">
Several weeks ago I decided to enhance performance of my Linux-powered ThinkPad x120e laptop. The one of the steps was switching from XFCE&#39;s window manager to a more lightweight and configurable one. I decided to give a try to OpenBox and since then I still like it.

Being a Software Developer I cannot stand pieces of software code which are large than ~15 lines. The one of the reasons is such </summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/9112445786708210898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2012/07/splitting-openbox-configuration-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/9112445786708210898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/9112445786708210898'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2012/07/splitting-openbox-configuration-to.html' title='Splitting OpenBox configuration to several files'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-5167714295927618268</id><published>2012-05-30T09:41:00.001+04:00</published><updated>2012-05-30T09:41:05.408+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="solution"/><category scheme="http://www.blogger.com/atom/ns#" term="xfce"/><title type='text'>How to replace screensaver in XFCE</title><summary type="text">

Intro: XFCE&#39;s default screensaver
By default XFCE is shipped with a quite ascetic xscreensaver. Some people ma find it not attractive. So I do also. For example, if you install an alternative screen locking application called i3lock there are about no chances that it will be used by XFCE. Even there are no other alternatives installed. Because XFCE knows nothing about it. But user definitely </summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/5167714295927618268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2012/05/how-to-replace-screensaver-in-xfce.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/5167714295927618268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/5167714295927618268'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2012/05/how-to-replace-screensaver-in-xfce.html' title='How to replace screensaver in XFCE'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-4426202441153236469</id><published>2012-05-01T19:36:00.000+04:00</published><updated>2012-05-01T19:36:23.759+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="announce"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="solution"/><category scheme="http://www.blogger.com/atom/ns#" term="truecrypt"/><category scheme="http://www.blogger.com/atom/ns#" term="xfce"/><title type='text'>Some TrueCrypt sugar for Linux</title><summary type="text">

Intro
Currently we have a fast growing trend called &quot;Clouds&quot;. In the Clouds we can store about everything and be sure that we are able to get it back anywhere and anytime. The only thing is Clouds do not belong to us. That&#39;s why we should think critical when we upload a very-very private data there. This way of thinking leads us to use various file encryption tools like encfs, TrueCrypt and </summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/4426202441153236469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2012/05/some-truecrypt-sugar-for-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/4426202441153236469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/4426202441153236469'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2012/05/some-truecrypt-sugar-for-linux.html' title='Some TrueCrypt sugar for Linux'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-bGy2Poi9_5A/T5_xVc7GI3I/AAAAAAAAIcU/wPA02jA0NmM/s72-c/truecrypt-extra-step-1-open-with.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-1241018252891229607</id><published>2011-12-03T22:59:00.001+04:00</published><updated>2011-12-03T23:47:20.156+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="laptop"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="solution"/><title type='text'>Reduce Linux laptop&#39;s backlight on boot up</title><summary type="text">
I like Linux. Especially for being able to create graceful workarounds for the things we get accustomed in a real life.

Being a Linux-powered laptop owner I have always been annoyed by sharp backlight change when Linux boots up. I do not like when a backlight is set to the maximum one and there are no ways to affect these settings on. So I did a very funny trick.

System&#39;s backlight (aka &quot;</summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/1241018252891229607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2011/12/reduce-linux-laptops-backlight-on-boot.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/1241018252891229607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/1241018252891229607'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2011/12/reduce-linux-laptops-backlight-on-boot.html' title='Reduce Linux laptop&#39;s backlight on boot up'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-6234951104489306594</id><published>2011-11-11T11:01:00.001+04:00</published><updated>2011-11-11T11:44:10.320+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="code snippet"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="solution"/><title type='text'>Python, make ConfigParser aware of spaces</title><summary type="text">
There is a wonderful Python&#39;s module called ConfigParser which allows to process .ini-style configuration files easily. I prefer to use it everywhere rather than spend the time to implement my own solution. Recently there was a bug received that values with leading and trailing spaces are read incorrectly: spaces are lost. This might be important for cases when an application is sensitive for </summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/6234951104489306594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2011/11/python-make-configparser-aware-of.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/6234951104489306594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/6234951104489306594'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2011/11/python-make-configparser-aware-of.html' title='Python, make ConfigParser aware of spaces'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-537824184235053285</id><published>2011-10-28T22:23:00.001+04:00</published><updated>2011-10-28T22:24:17.838+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="patch"/><category scheme="http://www.blogger.com/atom/ns#" term="transmission"/><title type='text'>PAM authentication for Transmission btorrent client</title><summary type="text">

The one of the most valuable things in the World Wide Web beside the public available knowledge are files. Files which you can grab; and it does not matter they are Free or not. Files could be downloaded using various ways: when you grab them for yourself only or when not just grab but also provide others with the abilities to get them easily too. Due to the second point I like to use torrents.</summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/537824184235053285/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2011/10/pam-authentication-for-transmission.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/537824184235053285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/537824184235053285'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2011/10/pam-authentication-for-transmission.html' title='PAM authentication for Transmission btorrent client'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-8324563219887811031</id><published>2011-06-23T11:44:00.001+04:00</published><updated>2013-10-27T11:41:49.072+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="actkbd"/><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="laptop"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>actkbd package for Debian/Ubuntu</title><summary type="text">
Recently I became an owner of Thinkpad X120E laptop produced by Lenovo. The computer was supplied with no pre-installed OS so I deployed (unexpected decision, huh!) Debian GNU/Linux there. This time I decided not to use desktop &quot;ready-to-use-out-of-the-box&quot; environments like Gnome or KDE and give a try to build a DE I want from bricks.



The one of the tasks I have faced with is how to make </summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/8324563219887811031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2011/06/actkbd-package-for-debianubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/8324563219887811031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/8324563219887811031'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2011/06/actkbd-package-for-debianubuntu.html' title='actkbd package for Debian/Ubuntu'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-3384076690225330696</id><published>2011-05-22T17:56:00.000+04:00</published><updated>2011-05-22T17:56:54.887+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="solution"/><title type='text'>Python, imp.load_source() trap</title><summary type="text">While I have been writing a hook for WebApy lightweight RESTful Python webserver -- the recent a project of mine, I got ran into the funny (actually it wasn&#39;t; since it was hard enough to debug) issue related to loading of Python-app addons. As far as you know (or not; if you already have taken a look at sources), there is Python&#39;s standard library&#39;s &#39;imp&#39; module is used to load hook files. &quot;</summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/3384076690225330696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2011/05/python-imploadsource-trap.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/3384076690225330696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/3384076690225330696'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2011/05/python-imploadsource-trap.html' title='Python, imp.load_source() trap'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-92143403658064469</id><published>2011-05-11T09:18:00.001+04:00</published><updated>2011-05-11T11:42:17.784+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="announce"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="webapy"/><title type='text'>WebApy -- webserver for easy and rapid REST API imitation</title><summary type="text">Have been developing an application which depends on a remote REST (stands for Representational State Transfer) API of one of popular services I ran into the need to use it [API] more intensively while testing/debugging the code. Not all remote services provide developers with SandBox`ed environments to play in. And not all services may tolerate frequently repeated requests to their REST API; </summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/92143403658064469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2011/05/webapy-webserver-for-easy-and-rapid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/92143403658064469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/92143403658064469'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2011/05/webapy-webserver-for-easy-and-rapid.html' title='WebApy -- webserver for easy and rapid REST API imitation'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-8213085713781620498</id><published>2011-05-01T14:32:00.001+04:00</published><updated>2011-05-01T14:35:38.873+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="solution"/><title type='text'>Broken Java networking in Debian</title><summary type="text">Playing around with Java I ran into the problem well known as Bug #560044. Seems that the problem appears for Debian GNU/Linux only. The essence of the issue is: when you run any Java application that requires network access (by HTTP or by other protocol; it does not matter) you will (as well as the running application itself) receive the following error. Or a very similar one:

Exception in </summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/8213085713781620498/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2011/05/broken-java-networking-in-debian.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/8213085713781620498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/8213085713781620498'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2011/05/broken-java-networking-in-debian.html' title='Broken Java networking in Debian'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-8275004018792915439</id><published>2011-02-12T22:33:00.000+03:00</published><updated>2011-02-12T22:33:31.756+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="gnome"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="tip-n-trick"/><title type='text'>Customizing GNOME screensaver&#39;s lock dialog</title><summary type="text">Using bleeding edge Linux there are absolutely no guarantees that something doesn&#39;t go wrong. Several days ago I updated my Debian GNU/Linux &quot;Testing&quot; [branch] installation in the way I usually do using aptitude upgrade. Some things got broken some didn&#39;t. After this update I found that appearance of GNOME screensaver&#39;s lock dialog had changed: it became collapsed in it&#39;s total width. So, how to </summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/8275004018792915439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2011/02/customizing-gnome-screensavers-lock.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/8275004018792915439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/8275004018792915439'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2011/02/customizing-gnome-screensavers-lock.html' title='Customizing GNOME screensaver&#39;s lock dialog'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-6531598275780067947</id><published>2010-10-13T22:46:00.001+04:00</published><updated>2010-10-13T22:47:29.189+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="maemo"/><title type='text'>Transition to Android. Said &#39;No&#39; to Nokia.</title><summary type="text">It seems I have not updated this for ages. Lets sort this out!

From the technical point of view the most considerable news of mine is that I am not Nokia admirer any more. Yes, it happened! (*)

Firstly I sold my Nokia N810 which I very liked and was very proud about (year ago, not now). The second thing I did - I got rid (**) of my E50 (Nokia) cellular phone. And finally I bought new Android </summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/6531598275780067947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2010/10/transition-to-android-said-no-to-nokia.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/6531598275780067947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/6531598275780067947'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2010/10/transition-to-android-said-no-to-nokia.html' title='Transition to Android. Said &#39;No&#39; to Nokia.'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-3046708723283481966</id><published>2010-06-08T23:41:00.000+04:00</published><updated>2010-06-08T23:41:27.906+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="thinkpad"/><category scheme="http://www.blogger.com/atom/ns#" term="tip-n-trick"/><title type='text'>Linux, Thinkpad, HDAPS: battery mode</title><summary type="text">ThinkPad laptops have a lot of amazing features. HDAPS is one of them. HDAPS stands for Hard Disk Active Protection System; it is intended to protect ThinkPad&#39;s HDD from damage in case of a notebook drop or other kind of impact while it is running.

But HDAPS doesn&#39;t work &#39;out of the box&#39; on Linux by default. On my Debian too. But there is so indispensable website named ThinkWiki with the tons of</summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/3046708723283481966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2010/06/linux-thinkpad-hdaps-battery-mode.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/3046708723283481966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/3046708723283481966'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2010/06/linux-thinkpad-hdaps-battery-mode.html' title='Linux, Thinkpad, HDAPS: battery mode'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-940485682919657361</id><published>2010-06-02T20:52:00.000+04:00</published><updated>2010-06-02T20:52:51.047+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="solution"/><title type='text'>APT suggests to remove (autoremove) required packages</title><summary type="text">After another packages update (or after my attempts to remove Evolution out from the system, I do not know exactly) on my Debian Squeeze, APT began to suggest me to remove &#39;non-required&#39; packages using &#39;autoremove&#39; option like this:

The following packages were automatically installed and are no longer required:      totem-common libempathy-gtk28 libaprutil1-ldap vinagre odbcinst    </summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/940485682919657361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2010/06/apt-suggests-to-remove-autoremove.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/940485682919657361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/940485682919657361'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2010/06/apt-suggests-to-remove-autoremove.html' title='APT suggests to remove (autoremove) required packages'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-9097985361067069908</id><published>2010-05-22T08:35:00.000+04:00</published><updated>2010-05-22T08:35:41.888+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="solution"/><category scheme="http://www.blogger.com/atom/ns#" term="thinkpad"/><title type='text'>Twitter and my solution for Debian + Thinkpad issues</title><summary type="text">Having the latest Debian Squeeze (kernel 2.6.32) I got in some issues (hm... Seems that for some time I&#39;m going to write about Debian and my Thinkpad only :)) with my laptop.

The common issues that I (and Google proves that not only my Thinkpad T410 run into them) had were:
LCD brightness up/down doesn&#39;t work with loaded up ``thinkpad_acpi&#39;&#39; module; ``hotkeys&#39;&#39; module param does not help. Even `</summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/9097985361067069908/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2010/05/twitter-and-my-solution-for-debian.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/9097985361067069908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/9097985361067069908'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2010/05/twitter-and-my-solution-for-debian.html' title='Twitter and my solution for Debian + Thinkpad issues'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-1854429944013325969</id><published>2010-05-20T11:09:00.000+04:00</published><updated>2010-05-20T11:09:03.126+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="solution"/><category scheme="http://www.blogger.com/atom/ns#" term="thinkpad"/><title type='text'>Debian Lenny + Thinkpad T410: network adapter issue</title><summary type="text">Since I chose Debian to be my primary and favorite Linux distribution on my new Lenovo Thinkpad T410, I agreed to myself to spend my time to solve various specific issues related to it.

So the first issue I met was that the Debian Lenny installation system didn&#39;t manage to find my Thinkpad&#39;s Intel 1000 ethernet adapter. Google &#39;said&#39; that appropriate driver for the adapter was &#39;e1000e&#39;. Manual &#39;</summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/1854429944013325969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2010/05/debian-lenny-thinkpad-t410-network.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/1854429944013325969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/1854429944013325969'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2010/05/debian-lenny-thinkpad-t410-network.html' title='Debian Lenny + Thinkpad T410: network adapter issue'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-7045951295648367445</id><published>2010-05-06T22:19:00.000+04:00</published><updated>2010-05-06T22:19:59.394+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="laptop"/><category scheme="http://www.blogger.com/atom/ns#" term="thinkpad"/><title type='text'>My new laptop: Lenovo Thinkpad</title><summary type="text">Today I bought my first Thinkpad -- Thinkpad T410. I know that since &#39;Thinkpad&#39; trademark was bought out from IBM by Lenovo many people believe that they lost their legendary advantages. I think so also. A bit :). Anyway I still like them and their spirit.

Buying Thinkpads in Russia has its own unique peculiarities.
First one: you have to do your best to find a laptop w/ tech specs you like/need</summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/7045951295648367445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2010/05/my-new-laptop-lenovo-thinkpad.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/7045951295648367445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/7045951295648367445'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2010/05/my-new-laptop-lenovo-thinkpad.html' title='My new laptop: Lenovo Thinkpad'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-7190687588513040292</id><published>2010-04-28T21:33:00.001+04:00</published><updated>2010-04-28T21:34:35.785+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="code snippet"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="tip-n-trick"/><title type='text'>&#39;cp&#39; command with a wget-like progress bar</title><summary type="text">Can not help re-posting: a tip and trick to make &#39;cp&#39; command have a wget-like progress bar.

#!/bin/sh
cp_p()
{
   strace -q -ewrite cp -- &quot;${1}&quot; &quot;${2}&quot; 2&gt;&amp;1 \
      | awk &#39;{
        count += $NF
            if (count % 10 == 0) {
               percent = count / total_size * 100
               printf &quot;%3d%% [&quot;, percent
               for (i=0;i&lt;=percent;i++)
                  printf &quot;=&quot;
</summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/7190687588513040292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2010/04/cp-command-with-wget-like-progress-bar.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/7190687588513040292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/7190687588513040292'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2010/04/cp-command-with-wget-like-progress-bar.html' title='&#39;cp&#39; command with a wget-like progress bar'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-119003044662091956</id><published>2010-03-16T11:28:00.000+03:00</published><updated>2010-03-16T11:28:59.554+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="gnome"/><category scheme="http://www.blogger.com/atom/ns#" term="tip-n-trick"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>How to return back buttons layout in Ubuntu 10.04</title><summary type="text">Ubuntu wants to be more user-friendly than other Linux`es. It is the fact. Each new Ubuntu release always introduces a set of features which make user&#39;s life easy. But not all these features are cool. Is the fact too.
Upcoming Ubuntu 10.04 also introduces a Mac-like approach when window-control buttons (to minimize, to maximize and to close a window) are placed on the top-left side of the window,</summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/119003044662091956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2010/03/how-to-return-back-buttons-layout-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/119003044662091956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/119003044662091956'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2010/03/how-to-return-back-buttons-layout-in.html' title='How to return back buttons layout in Ubuntu 10.04'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_fD8elqc3NVI/S58vown84-I/AAAAAAAAByM/-tzDMoSFNpQ/s72-c/ubuntu-10.04-new-look.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5174812214702977876.post-2155224366026097963</id><published>2010-03-11T15:59:00.007+03:00</published><updated>2010-03-11T16:12:44.032+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="code snippet"/><category scheme="http://www.blogger.com/atom/ns#" term="qt"/><title type='text'>Code snippet: QLabel to show remote pixmap by URL</title><summary type="text">Perhaps one of the most often used widgets in Qt is QLabel. It is mainly used to display a plain text as well as rich one (which contains HTML markup). QLabel is also able to show graphics by passing QPixmap instance to it. But what if there is a need to display (using QLabel) a pixmap stored on remote server? There is no such &quot;out of the box&quot; functionality in QLabel. But it can be easily done. </summary><link rel='replies' type='application/atom+xml' href='http://blog.thekondor.net/feeds/2155224366026097963/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.thekondor.net/2010/03/code-snippet-qlabel-to-show-remote.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/2155224366026097963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5174812214702977876/posts/default/2155224366026097963'/><link rel='alternate' type='text/html' href='http://blog.thekondor.net/2010/03/code-snippet-qlabel-to-show-remote.html' title='Code snippet: QLabel to show remote pixmap by URL'/><author><name>Andrew &quot;kondor&quot; Sichevoi</name><uri>http://www.blogger.com/profile/11819320892810620423</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-5OOWwS745J4/TpHiJ9YcT8I/AAAAAAAAF4I/HgwrLEUy_8U/s220/AndrewSichevoi_photo.jpg'/></author><thr:total>1</thr:total></entry></feed>