Nikita.Melnichenko.name: recent posts http://nikita.melnichenko.name Recent Nikita Melnichenko's posts Copyright 2024, Nikita.Melnichenko.name en Thu, 25 Apr 2024 00:00:00 +0300 Thu, 21 May 2015 00:00:00 +0300 Nikita Melnichenko Nikita Melnichenko 180 Reboot http://nikita.melnichenko.name/blog.php?id=19&topic=reboot&lang=en <p>The last blog entry is dated 2010. Seriously? Oh, time goes so fast... and so much interesting happened during these years. I preferred spending time on different projects rather than writing a technical blog. Let's admit, I'm not a writer, but in the same time I like to discover new things and share my experience with others. I think I know what needs to be done. It's time for reboot. Stay tuned!</p> Thu, 21 May 2015 00:00:00 +0300 [nikita.melnichenko.name] post #19 (en) Nikita Melnichenko Making Bash script parallel with xargs http://nikita.melnichenko.name/blog.php?id=18&topic=making-bash-script-parallel-with-xargs&lang=en <p>People, who tried to create parallel Bash scripts, are probably aware of <tt>-P</tt> parameter of <tt>xargs</tt> utility. In conjunction with <tt>find</tt> it allows to execute a specified command for each file and distribute these commands among several processes. This scheme is perfect when you need, say, convert all files in the given directory.</p> <p>When I started to write such scripts, a certain inconvenience is revealed. Commands, that should be given to <tt>xargs</tt>, usually appear to be more complicated than a single call of some utility with arguments. It's often needed to pass a set of commands, especially when progress indication and error reporting are required. Finally, a separate script for processing a single item is created in addition to the script that has the <tt>xargs</tt> call.</p> <p>I analized how to combine these two script into one...</p> Thu, 16 Sep 2010 00:00:00 +0400 [nikita.melnichenko.name] post #18 (en) Nikita Melnichenko More on Make Progress http://nikita.melnichenko.name/blog.php?id=17&topic=more-on-make-progress&lang=en <p>One month has passed since the first public release of Make Progress plasmoid and it's time to sum up. The most important thing is that the program appeared to be useful for people. It's shown by the first place in the user voting on the KDE Javascript Jam Session and high rating on <a href="http://www.kde-look.org/content/show.php?content=122783">KDE-Look.org</a>. This interest motivates me to continue development. I've received many feature requests and it's clear that people really use the plasmoid on their desktops. For example, Andrew Andrianov even shared <a href="http://necromant.ath.cx/wp/?p=198">a task management script</a> that uses PHP, MySQL and my plasmoid. Some unpleasant bugs were also discovered. For instance, <a href="https://bugs.kde.org/show_bug.cgi?id=234781">Plasma bug #234781</a> that causes crash when plasmoid intensively used with the Make Progress data engine. This means that we should not use DBus interface for some time. KDE team didn't devoted their attention to this issue yet and it's not known when it will be fixed. If you want to help then vote up this bug on its page.</p> Mon, 03 May 2010 00:00:00 +0400 [nikita.melnichenko.name] post #17 (en) Nikita Melnichenko