7 messages in com.perforce.perforce-user[p4] Audit Question
FromSent OnAttachments
Jim Ray05 May 2003 10:47 
Jim Ray05 May 2003 12:34 
Noel Yap05 May 2003 18:39 
Jay Han05 May 2003 23:33 
Stephen Vance06 May 2003 03:57 
Jay Han06 May 2003 10:30 
Jay Han06 May 2003 11:06 
Subject:[p4] Audit Question
From:Jay Han (hjh@yahoo.com)
Date:05/06/2003 11:06:13 AM
List:com.perforce.perforce-user

On HP-UX, the compiler worked differently and the built files would be different sizes every time. This made check-summing on this platform useless for rebuilds. Still useful for providing integrity checks for customers.

this is SCARY. What compiler was this?

-jay

P.S. An excerpt from http://www.linuxcare.com/viewpoints/os-interviews/12-14-99.epl about the infamous phase of the moon bug in rabbit compiler.

Richard: Do you know about the bug that depends upon the phase of the moon?

Linuxcare: I've heard about this.

Richard: We always liked to talk about the bugs that depended on the phase of
the moon. So, when Guy Steele wrote the Rabbit compiler, which is a scheme compiler, he made it print out a comment at the beginning which showed the time it was could always look. If you had a bug that depended on the phase of the moon, you could look at the thing and see at what phase of the moon it was compiled, and that might help you figure out what went wrong.

Eventually, he got a bug report about a certain program that had been compiled once, and worked, and when it was compiled at another time it didn't work. So, he looked and he discovered that when the initial comments were printed out, the LISP feature that would automatically put in a line break if a line got too long was activated on one occasion, because the phase of the moon took too many characters to print out. So, it triggered that feature, and the last part of the phase of the moon was on another line, and therefore it wasn't marked by comments. So it was just sitting t here in a file, whereas at another time the phase of the moon didn't take up so many characters, and the whole thing was properly commented. So, this was a bug that actually depended on the phase of the moon. You can take that as a final thought.