Reboot

May 21, 2015
Reboot

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!

Nikita Melnichenko.

Making Bash script parallel with xargs

September 16, 2010
Communication

People, who tried to create parallel Bash scripts, are probably aware of -P parameter of xargs utility. In conjunction with find 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.

When I started to write such scripts, a certain inconvenience is revealed. Commands, that should be given to xargs, 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 xargs call.

I analized how to combine these two script into one...

Nikita Melnichenko.

More on Make Progress

May 3, 2010
Plasma

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 KDE-Look.org. 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 task management script that uses PHP, MySQL and my plasmoid. Some unpleasant bugs were also discovered. For instance, Plasma bug #234781 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.

Nikita Melnichenko.

About Me

Photo

I'm interested in mathematics. I studied it in Moscow State Uni­ver­sity and graduated in 2005. I work in a small russian company in sci­en­ti­fic department. More...

RSS Feeds