Re: [ccp4bb] Blast from the past

2009-11-14 Thread Nicholas M Glykos
Hi James,


> "Too many reflections to store"
> 
> These errors are so 1993.

;-))  I adore both 1993 and my statically declared arrays, especially 
those that include otherwise arbitrary arithmetic constants hidden in 
#defines. They make the code impossible to read, and give me the 
opportunity to say

printf("Increase MAX_NOF_REFL and recompile (if you can).\n");
exit(1);


Nicholas


ps. I know it wasn't me. I never say 'Too many reflections to store' .-)



-- 


  Dr Nicholas M. Glykos, Department of Molecular Biology
 and Genetics, Democritus University of Thrace, University Campus,
  Dragana, 68100 Alexandroupolis, Greece, Tel/Fax (office) +302551030620,
Ext.77620, Tel (lab) +302551030615, http://utopia.duth.gr/~glykos/


Re: [ccp4bb] Blast from the past

2009-11-13 Thread James Stroud

On Nov 13, 2009, at 1:04 AM, Vellieux Frederic wrote:


Hi James,

Could not understand much. Can you explain?



If anyone out there has a program in circulation/for sale that was  
written more than 10 years ago, please change the headers and  
recompile it to take advantage of modern computers. My little python  
snippet shows what a modern computer can do.


I'd name the program that gave me that error, but that wouldn't be  
polite.


James


[ccp4bb] Blast from the past

2009-11-12 Thread James Stroud

"Too many reflections to store"

These errors are so 1993.

ROFLMAO.

sayre 31% wc my_structure.sca
 1809450  9047245 52474047 my_structure.sca
sayre 32% python
Python 2.4.5 (#1, Sep 18 2008, 14:53:26)
[GCC 3.2 20020903 (Red Hat Linux 8.0 3.2-7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
py> s = open('my_structure.sca')
py> f = s.read()
py> z = f + f + f + f + f + f
py> y = z.replace(' ','')
py> y.count('x')
543621048


James