[gmx-developers] FW: Gromacs quotes

Tsjerk Wassenaar tsjerkw at gmail.com
Mon Dec 17 12:11:41 CET 2012


I once wrote a small snippet of python to decode/recode those things:

T.

##

#!/usr/bin/env python

from string import join
from struct import unpack
import sys

for line in sys.stdin:
  try:
    print join( map( lambda x: chr(~x), unpack( (len(line)-1)*'b',
line[:-1] ) ), "" )
  except:
    pass

##

#!/usr/bin/env python

from string import join
from struct import pack
import sys

for line in sys.stdin:
  try:
     print join( map( lambda x: pack( 'b', ~ord(x) ), list( line[-1] ==
"\n" and line[:-1] or line ) ), "" )
  except:
    pass



On Mon, Dec 17, 2012 at 11:08 AM, Anton Feenstra <k.a.feenstra at vu.nl> wrote:

> On 17/12/12 10:58, Mark Abraham wrote:
>
>>
>>
>>     Disabling the feature with an environment variable is fine (and
>>     documented!) but I think, at the very least, we should clean up the
>>     database, since the onus is on us, the developers, to produce a
>>     user-friendly product.  I'm a big fan of witty quips, though :)
>>       Maybe the database should simply focus on humorous quotes from the
>>     developers and other influential people?  Just a thought.
>>
>>     "If I had a dime for every time I posted a link to the wiki..." (J.
>>     Lemkul)  ;)
>>
>>
>> "... you'd be not as rich as me" (M. Abraham) :-P
>>
>> Mark
>>
>> /cue web scrapers
>>
>
> "If I'd had a euro for every memory leak fixed in gromacs..." (K.A.
> Feenstra)
>
>
>
> --
> Groetjes,
>
> Anton
>  _____________ ______________________________**_________________________
> |             |                                                       |
> |  _   _  ___,| K. Anton Feenstra                                     |
> | / \ / \'| | | IBIVU/Bioinformatics - Vrije Universiteit Amsterdam   |
> |(   |   )| | | De Boelelaan 1081 - 1081 HV Amsterdam - Netherlands   |
> | \_/ \_/ | | | Tel +31 20 59 87783 - Fax +31 20 59 87653 - Room P136 |
> |             | Feenstra at few.vu.nl - www.few.vu.nl/~feenstra/         |
> |             | "You Could Be a Shadow" (The Breeders)                |
> |_____________|_______________**______________________________**
> __________|
> --
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://lists.gromacs.org/**mailman/listinfo/gmx-**developers<http://lists.gromacs.org/mailman/listinfo/gmx-developers>
> Please don't post (un)subscribe requests to the list. Use the www
> interface or send it to gmx-developers-request@**gromacs.org<gmx-developers-request at gromacs.org>
> .
>



-- 
Tsjerk A. Wassenaar, Ph.D.

post-doctoral researcher
Biocomputing Group
Department of Biological Sciences
2500 University Drive NW
Calgary, AB T2N 1N4
Canada
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20121217/68f73cee/attachment.html>


More information about the gromacs.org_gmx-developers mailing list