Added a bunch of quotes from the 2013 Nobel lectures
authorErik Lindahl <erik@kth.se>
Sun, 8 Dec 2013 22:20:23 +0000 (23:20 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Tue, 17 Dec 2013 13:32:51 +0000 (14:32 +0100)
And our string-reading routines have been updated to use
our standard length STRLEN, which is currently 1024 chars.

Change-Id: Id3e2c07774ee98cf6d4e58534c5f87821516d5a8

share/top/gurgle.dat
src/gromacs/gmxlib/strdb.c

index abdbebabb43a7cb64f57a808bd13b24f74d4c1a9..f84556a0494d6b202bedcb88f835536e1fbe0b9a 100644 (file)
@@ -1,4 +1,4 @@
-383
+388
 If You Want Something Done You Have to Do It Yourself_(Highlander II)
 I Live the Life They Wish They Did_(Tricky)
 Jesus Built My Hotrod_(Ministry)
@@ -381,3 +381,9 @@ How will I know it's working right?_(MGMT)
 There was no preconception on what to do_(Daft Punk)
 It takes money to make money, they say_(Lou Reed)
 The future always gets twisted and turned_(Lisa o Piu)
+Do not go where the path may lead, go instead where there is no path and leave a trail_(Ralph Waldo Emerson)
+I went to Venice and looked at the paintings of Canaletto to understand how he presented perspective, and it turned out it was an exponential law. If I had published this, maybe there would be a Karplus law in art theory as well as the Karplus equation in NMR_(Martin Karplus, Nobel lecture 2013)
+Theoretical chemistry has of course always been important and useful ... at least to theoretical chemists_(Sven Lidin)
+I do not believe continuum electrostatics_(Arieh Warshel, Nobel lecture 2013)
+During my undergraduate work I concluded that electrostatics is unlikely to be important [for enzymes]_(Arieh Warshel, Nobel lecture 2013)
+Martin [Karplus] had a green laser, Arieh [Warshel] had a red laser, I have a *blue* laser_(Michael Levitt, Nobel lecture 2013)
index 54d018f4b156fc720b638350e17362f120827fed..da16e9aada5bb9d3a43ed975f4e80f1578dcfa41 100644 (file)
@@ -167,11 +167,11 @@ int search_str(int nstr, char **str, char *key)
 int fget_lines(FILE *in, char ***strings)
 {
     char **ptr;
-    char   buf[256];
+    char   buf[STRLEN];
     int    i, nstr;
     char  *pret;
 
-    pret = fgets(buf, 255, in);
+    pret = fgets(buf, STRLEN-1, in);
     if (pret == NULL  || sscanf(buf, "%d", &nstr) != 1)
     {
         gmx_warning("File is empty");
@@ -182,7 +182,7 @@ int fget_lines(FILE *in, char ***strings)
     snew(ptr, nstr);
     for (i = 0; (i < nstr); i++)
     {
-        fgets2(buf, 255, in);
+        fgets2(buf, STRLEN-1, in);
         ptr[i] = gmx_strdup(buf);
     }