Posts

Showing posts from 2010

Dock6 installation on Ubuntu Linux

What is DOCK? DOCK addresses the problem of "docking" molecules to each other. In general, "docking" is the identification of the low-energy binding modes of a small molecule, or ligand, within the active site of a macromolecule, or receptor, whose structure is known. A compound that interacts strongly with, or binds, a receptor associated with a disease may inhibit its function and thus act as a drug. Solving the docking problem computationally requires an accurate representation of the molecular energetics as well as an efficient algorithm to search the potential binding modes. Installation procedure Download DOCK 6 from the official UCSF DOCK web-site and build source like this. ######################################################### ######################################################### # Compilation procedure for Dock 6.4 on Ubuntu Linux # # Date: 2010.12.19 # # Additional docs (where search for solutions): # http://dock.compbio.ucsf.edu/DOC…

Few IT comic strips

Image
Long time no post, but here are some random images found on web describing of software creation process - mostly from a software developer perspective :).



Tip: Changing file names recursively from command line

Recently I've found very nice tool to change file names recursively, and fixing file names encoding. The tool is called convmv. It might be very helpful if you're migrating from older systems (or you had bad samba config).

Exact description of convmv from project site.

convmv converts filenames (not file content), directories, and even whole filesystems to a different encoding. This comes in very handy if, for example, one switches from an 8-bit locale to an UTF-8 locale or changes charsets on Samba servers. It has some smart features: it automagically recognises if a file is already UTF-8 encoded (thus partly converted filesystems can be fully moved to UTF-8) and it also takes care of symlinks. Additionally, it is able to convert from normalization form C (UTF-8 NFC) to NFD and vice-versa. This is important for interoperability with Mac OS X, for example, which uses NFD, while Linux and most other Unixes use NFC. Though it's primary written to convert from/to UT…

Watch out for fake flash drives

Image
Note: All software described/linked in this article is for Microsoft Windows Operating System.

Recently my friend bought 128GB "Kingston" USB Flash Stick from some guy at eBay. He discovered that flash was fake. Remember, before buying USB stick read article "detecting your flash disk real capacity" and always try to test device before buying it.



Here some stats from our test, it was performed using h2testw procedure is described with details here: Full write test time: 42h 15min 32 secFull read time: 8h 15min 3secReal capacity of 128GBs: 43MB :(.The media is likely to be defective. 43 MByte OK (88064 sectors) 124.9 GByte DATA LOST (262023168 sectors) Details:124.9 GByte overwritten (262023168 sectors) 0 KByte slightly changed (< 8 bit/sector, 0 sectors) 0 KByte corrupted (0 sectors) 64 KByte aliased memory (128 sectors) First error at offset: 0x0000000002a90000 Expected: 0x0000000002a90000 Found: 0x0000001f3ef90000 H2testw version 1.3 Wri…