Oh what a morning
-
Came to work at 8am, looking forward to code all day, and then... then... this f****** CVS file server is down all morning. :mad: Anyway, I've got time to surf the CodeProject. So a big HI to anyone! :-D When I was young my mother told me to clean up my room, I told her -1!
you lucky guy.... When out source control would be down, I would have to do the chanting and blessing. And then, code faster so I get my work done....
One day I might find it quite amusing how touching tongues make life so confusing Anne Clark again [sighist]
-
Stefan Spenz wrote: this f****** CVS file server is down all morning. Hm, unless you didn't have sandbox checked out already a lack of server connection should not really stop you from coding. If you did checkout before then you can easily work and commit after you get a server connection back. Actually you can even clone the sandboxes and implement different fixes in each and do update/commit and it should still work. More - some actions like cvs edit will actually be stored and re-send once connection is back and any cvs operation is performed. So, it's a good idea to keep a sandbox at all times checked out and ready for action...
George wrote: Hm, unless you didn't have sandbox checked out already a lack of server connection should not really stop you from coding. Actually it will stop me from coding, as I need to compile previous revisions of some files. :| When I was young my mother told me to clean up my room, I told her -1!
-
you lucky guy.... When out source control would be down, I would have to do the chanting and blessing. And then, code faster so I get my work done....
One day I might find it quite amusing how touching tongues make life so confusing Anne Clark again [sighist]
peterchen wrote: When out source control would be down, I would have to do the chanting and blessing For this we have our own employee. He worked as a priest before ;) When I was young my mother told me to clean up my room, I told her -1!
-
George wrote: Hm, unless you didn't have sandbox checked out already a lack of server connection should not really stop you from coding. Actually it will stop me from coding, as I need to compile previous revisions of some files. :| When I was young my mother told me to clean up my room, I told her -1!
Stefan Spenz wrote: Actually it will stop me from coding, as I need to compile previous revisions of some files. Of course it all depends on the task at hand. If you need to access the history of files then you are screwed, but you can "move forward" and do at least some changes that don't require old versions. Most of the coding that I am doing requires very small access window to the source control - once or twice a week to check in the changes. We rarely go back to the old versions...
-
Stefan Spenz wrote: I simply return -1 Did you know that if(-1){printf("Ok mom!");} actually prints "Ok mom" :laugh: :laugh: :laugh: May the Source be with you Sonork ID 100.9997 sijinjoseph
Sijin wrote: Did you know that if(-1){printf("Ok mom!");} actually prints "Ok mom" No way, that will throw an exception! ;P When I was young my mother told me to clean up my room, I told her -1!
-
:-D :-D :-D That is a great sig. I think it means he said NO to his MOM in geek speak May the Source be with you Sonork ID 100.9997 sijinjoseph
Sijin wrote: That is a great sig Dont think so. Its a sign of outdated/bad programming style. It should be either a boolean return value to indicate success or failure (yes/no in this case) or, in case of a int return value (which might indicate the level of agreement), raise an exception to indicate failure to agree. ;)
int x=1, y=5;
x^=y^=x^=y; // whats the content of x and y now?
ClickHereForHelp(); -
Sijin wrote: That is a great sig Dont think so. Its a sign of outdated/bad programming style. It should be either a boolean return value to indicate success or failure (yes/no in this case) or, in case of a int return value (which might indicate the level of agreement), raise an exception to indicate failure to agree. ;)
int x=1, y=5;
x^=y^=x^=y; // whats the content of x and y now?
ClickHereForHelp();Andreas Saurwein wrote: Dont think so. Its a sign of outdated/bad programming style That's why I wrote When I was young ;) When I was young my mother told me to clean up my room, I told her -1!
-
Sijin wrote: That is a great sig Dont think so. Its a sign of outdated/bad programming style. It should be either a boolean return value to indicate success or failure (yes/no in this case) or, in case of a int return value (which might indicate the level of agreement), raise an exception to indicate failure to agree. ;)
int x=1, y=5;
x^=y^=x^=y; // whats the content of x and y now?
ClickHereForHelp();Andreas Saurwein wrote: in case of a int return value (which might indicate the level of agreement), raise an exception to indicate failure to agree I'd prefer an int return value, as a competent designer would then be able to augment a simple failure with a helpful message, depending on the return value, to explain clearly the reason for the failure. The range could include such things as "Not now, Mom - I'm watching a good movie" or "Not on your life Mom, there's something dead under the bed" or even the unlikely case of "Not now, Mom - I'm doing my homework." This Signature is Temporarily Out of Order
-
Sijin wrote: That is a great sig Dont think so. Its a sign of outdated/bad programming style. It should be either a boolean return value to indicate success or failure (yes/no in this case) or, in case of a int return value (which might indicate the level of agreement), raise an exception to indicate failure to agree. ;)
int x=1, y=5;
x^=y^=x^=y; // whats the content of x and y now?
ClickHereForHelp();I guess you've been getting a lot of replies from Codeproject! I just got this back: Reporting-MTA: dns; mx.yourdomain.com Received-From-MTA: DNS; [your IP Address] Arrival-Date: Mon, 2 Sep 2002 08:33:34 -0700 (PDT) Final-Recipient: RFC822; saurwein@uniwares.com Action: failed Status: 5.0.0 Remote-MTA: DNS; mailhost.inca.at Diagnostic-Code: SMTP; 554 Message contains known spam source in Received: header Last-Attempt-Date: Mon, 2 Sep 2002 08:33:39 -0700 (PDT) This Signature is Temporarily Out of Order
-
Came to work at 8am, looking forward to code all day, and then... then... this f****** CVS file server is down all morning. :mad: Anyway, I've got time to surf the CodeProject. So a big HI to anyone! :-D When I was young my mother told me to clean up my room, I told her -1!
Stefan Spenz wrote: this f****** CVS file server is down all morning. Ah well.. pack your stuff and head off home ;-) Regards, Brian Dela :-)