This is maybe a silly question, but still... wouldn't it be easier, and much more useful, that Vas release the true Rybka 1.0 source code?Rebel wrote: Since publishing disassembled work of others is forbidden by EU law I asked Vas for permission to publish the Rybka 1.0 sources and he did not hesitate for one moment.
Rybka 1.0 source code
Moderators: hgm, Rebel, chrisw
-
- Posts: 151
- Joined: Wed Mar 08, 2006 10:09 pm
- Location: Murcia (Spain)
Re: Rybka 1.0 source code
__________________________
José Carlos Martínez Galán
José Carlos Martínez Galán
-
- Posts: 6991
- Joined: Thu Aug 18, 2011 12:04 pm
Re: Rybka 1.0 source code
Yes.
He says he does not have it any longer hence the surrogate.
He says he does not have it any longer hence the surrogate.
-
- Posts: 2250
- Joined: Wed Mar 08, 2006 8:47 pm
- Location: Hattingen, Germany
Re: Rybka 1.0 source code
Yes, left constant comparison is very common in the company I work for. Specially SQL programmers use it if writing C or C++ (MSVC) code.José Carlos wrote:Just for the record, I do type those inverted comparisons in some cases. It makes life easier.bob wrote: I have been unable to find a single person that types inverted comparisons.
With overloaded C++ operators for instance in comparing strings, one has to make sure the correct type conversion takes place rather than to compare pointers.
Code: Select all
if ("abc" == aQStringVariable )
-
- Posts: 151
- Joined: Wed Mar 08, 2006 10:09 pm
- Location: Murcia (Spain)
Re: Rybka 1.0 source code
Sorry, I didn't know that. So what about the next closest (less different) source code that he keeps? I don't think it can bring him much trouble because it would be an old version and, disgracefully, all Rybka insights have already been shown to public...Rebel wrote:Yes.
He says he does not have it any longer hence the surrogate.
__________________________
José Carlos Martínez Galán
José Carlos Martínez Galán
-
- Posts: 2949
- Joined: Mon May 05, 2008 12:16 pm
- Location: Bordeaux (France)
- Full name: Julien Marcel
Re: Rybka 1.0 source code
Well, it happens that Vas not only lost the 1.0's source code, but also all the 0.x, the 1.x, the 2.x... (No, this is NOT a joke).José Carlos wrote:Sorry, I didn't know that. So what about the next closest (less different) source code that he keeps? I don't think it can bring him much trouble because it would be an old version and, disgracefully, all Rybka insights have already been shown to public...Rebel wrote:Yes.
He says he does not have it any longer hence the surrogate.
"The only good bug is a dead bug." (Don Dailey)
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
-
- Posts: 5106
- Joined: Tue Apr 29, 2008 4:27 pm
Re: Rybka 1.0 source code
The point of doing this is defensive programming. If you do this by accident:José Carlos wrote:Just for the record, I do type those inverted comparisons in some cases. It makes life easier.bob wrote: I have been unable to find a single person that types inverted comparisons.
if ( x = 7 ) { do something ... }
then you have assigned the value of 7 to x
but if you do:
if ( 7 = x ) { do something ... }
you will get a compiler error.
-
- Posts: 170
- Joined: Mon Sep 13, 2010 9:57 am
- Location: Frankfurt am Main
Re: Rybka 1.0 source code
This is what I actually find pretty strange in the whole saga.JuLieN wrote:Well, it happens that Vas not only lost the 1.0's source code, but also all the 0.x, the 1.x, the 2.x... (No, this is NOT a joke).José Carlos wrote:Sorry, I didn't know that. So what about the next closest (less different) source code that he keeps? I don't think it can bring him much trouble because it would be an old version and, disgracefully, all Rybka insights have already been shown to public...Rebel wrote:Yes.
He says he does not have it any longer hence the surrogate.
I for example also haven't used version control for my stuff but I sure as hell copied the whole VS project folder to a backup drive before I began to work on a new version.
I doesn't seem to fit into my tiny brain that somebody wouldn't do at least this. I mean, what if you screw up something, making you want to go back to known working code?
Once I lost such a backup folder because of a hard drive crash. It is reasonable that this might have happened to VR as well. Who knows, but I find it very hard to believe he didn't do backups at all.
-
- Posts: 151
- Joined: Wed Mar 08, 2006 10:09 pm
- Location: Murcia (Spain)
Re: Rybka 1.0 source code
I see.JuLieN wrote:Well, it happens that Vas not only lost the 1.0's source code, but also all the 0.x, the 1.x, the 2.x... (No, this is NOT a joke).José Carlos wrote:Sorry, I didn't know that. So what about the next closest (less different) source code that he keeps? I don't think it can bring him much trouble because it would be an old version and, disgracefully, all Rybka insights have already been shown to public...Rebel wrote:Yes.
He says he does not have it any longer hence the surrogate.
Well, I have no problem accepting the loss of sources (I myself did lose the source code of Averno when my exwife decided that my computers where part of the house I had paid but she would use, and a very nice and fair judge sent me to[...]), but there must be something. For example, the current source files might have some comments on what has been changed and when, or something like that...
__________________________
José Carlos Martínez Galán
José Carlos Martínez Galán
-
- Posts: 4675
- Joined: Mon Mar 13, 2006 7:43 pm
Re: Rybka 1.0 source code
A good C/C++ compiler will issue a warning note for case #1 above.Don wrote:The point of doing this is defensive programming. If you do this by accident:
if ( x = 7 ) { do something ... }
then you have assigned the value of 7 to x
but if you do:
if ( 7 = x ) { do something ... }
you will get a compiler error.
-
- Posts: 5106
- Joined: Tue Apr 29, 2008 4:27 pm
Re: Rybka 1.0 source code
That's right - and that's why there is no need to obsess over it.sje wrote:A good C/C++ compiler will issue a warning note for case #1 above.Don wrote:The point of doing this is defensive programming. If you do this by accident:
if ( x = 7 ) { do something ... }
then you have assigned the value of 7 to x
but if you do:
if ( 7 = x ) { do something ... }
you will get a compiler error.
I like seeing stuff like that in code, it's an indication of unconventional thinking. On the other hand it's probably not so good in environments where source code is worked on as a team.
If you want to see really good examples of unconventional thinking and coding look at code written by Ken Thompson.