Autarchy of the Private Cave

Tiny bits of bioinformatics, [web-]programming etc

    Archive for December, 2015

    What is in 2016 for you and me and everyone?

    26th December 2015

    There will be 366 days in 2016 (yes, a leap year). 366 steps towards your goal. That’s a lot! With the right goal and persistence, a lot can be done and achieved.

    There are lots of good, real, helpful self-development/self-improvement techniques. These can often be practiced non-stop in one’s everyday life. These can often also be practiced in parallel, for a likely synergy.

    There are lots of success books and biographies of successful self-made people. Some stories are quite well-known, while some remain hidden gems. Likely enough reading for several months, non-stop!

    There are many good books on business, data analysis, engineering, software development, and other fields. Likely many years of reading non-stop!

    Some people say that in 5 years one can master a common subject of choice good enough to become an expert. Others point out that many activities (and their co-activities) can be monetized or turned into profitable versions of said activities.

    All in all, the only thing required is action.

    Which books do you have on your 2016 reading list?
    What is the field you will be an expert in by 2021, assuming you start in 2016?
    Information consumption aside, what will you produce in 2016? What will be your actions?

    Share

    Posted in Books, Life | No Comments »

    Midnight Commander (mc): convenient hard links creation from user menu

    3rd December 2015

    Midnight Commander is a convenient two-panel file manager with tons of features.

    You can create hard links and symbolic links using C-x l and C-x s keyboard shortcuts. However, these two shortcuts invoke two completely different dialogs.

    While for C-x s you get 2 pre-populated fields (path to the existing file, and path to the link – which is pre-populated with your opposite file panel path plus the name of the file under cursor; simply try it to see what I mean), for C-x l you only get 1 empty field: path of the hard link to create for a file under cursor. Symlink’s behaviour would be much more convenient…

    Fortunately, a good man called Wiseman1024 created a feature request in the MC’s bug tracker 6 years ago. Not only had he done so, but he had also uploaded a sample mc user menu script (local copy), which works wonderfully! You can select multiple files, then F2 l (lower-case L), and hard-links to your selected files (or a file under cursor) will be created in the opposite file panel. Great, thank you Wiseman1024!

    Word of warning: you must know what hard links are and what their limitations are before using this menu script. You also must check and understand the user menu code before adding it to your mc (by F9 C m u, and then pasting the script from the file).

    Word of hope: 4 years ago Wiseman’s feature request was assigned to Future Releases version, so a more convenient C-x l will (sooner or later) become the part of mc. Hopefully.

    Share

    Posted in *nix, how-to, Notepad | No Comments »