BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Always appreciate the little things given to you.
Goto page 1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Non-Technical
View previous topic :: View next topic  
Author Message
Michael Bennett
Guest





PostPosted: Fri May 21, 2004 8:54 pm    Post subject: Always appreciate the little things given to you. Reply with quote



Well, here's another reason why I love Delphi.

~.pas files.

No, seriously. I'll explain.

It was around 1:30am a.k.a. 11th hour programming, and I'm banging away at the
keyboard coding. Just finished implementing a class for a small DLL that's due
by tommorrow, no biggie. Before I can start testing it, my notebook running XP
Pro has made a decision that my life isn't full of excitement as it should be.
So it proceeds to spice things up:

--------------------------------------
BSOD

SAVRT.SYS
STOP 0x0000008E AT ADDRESS F0484AF8 BASE F046C000 DATESTAMP 3FA3986D
---------------------------------------

15 minutes later and after some random screaming about NAV2003, my notebook was
back up and running.

Unfortunately, when I went back into Delphi 7 and attempted to resume my work,
a dialog box popped up informing me that "one or more lines are too long and
will be truncated"

Huh? So I clicked ok.

Apparently... my entire file was truncated into one... darn... long line of
blocks.

I don't do legos, and I don't type blocks either.

....and I have no source code. Joy. It's 1:50 now. If only I could chuck those
blocks at someone.

Before I decided to seek 'final redemption', I checked my directory and noticed
that the ~.pas file had a timestamp on it that appeared to be around 5-10
minutes before my notebook bombed on me. So I removed the ~ character, replaced
the corrupted .pas file, and I'm back on track. Peace will remain...for now.

Is there a lesson in all of this? Yup, one that I almost learned the hard way.
save and save often!!!!

-J. Michael Bennett Jr.
Back to top
DS
Guest





PostPosted: Fri May 21, 2004 9:22 pm    Post subject: Re: Always appreciate the little things given to you. Reply with quote



Michael Bennett wrote:
Quote:
15 minutes later and after some random screaming about NAV2003, my notebook was
back up and running.

Sorry if I'm being somewhat OT here, but...

Company I work for also sells some hardware, usually with Windows &
stuff preinstalled, mostly to our SW customers (isn't it wonderfull to
have single entity to blame to whatever your problem with is?) and I
must say that NAV screwed things up one more than one occasion.

I wholeheartedly recommend Panda Antivirus. Unobtrusive, doesn't slow
down the machine, cheap, and always up-to-date.

IMHO, of course.

LP,
Dejan

Back to top
DS
Guest





PostPosted: Fri May 21, 2004 9:31 pm    Post subject: Re: Always appreciate the little things given to you. Reply with quote



DS wrote:
<some crap>

And I really do need to install a spell checker.

LP,
Dejan

Back to top
Alain Quesnel
Guest





PostPosted: Fri May 21, 2004 9:48 pm    Post subject: Re: Always appreciate the little things given to you. Reply with quote

Ever heard of auto-save and "Run (F9) often"?

--

Alain Quesnel
[email]alainsansspam (AT) logiquel (DOT) com[/email]

www.logiquel.com


"Charles McAllister" <charles (AT) avimark (DOT) net> wrote

Quote:
"Michael Bennett" <mikemkii (AT) nospam (DOT) forme.hotmail.com.ok> wrote in message
news:40ae6c8b (AT) newsgroups (DOT) borland.com...
Is there a lesson in all of this? Yup, one that I almost learned the
hard
way.
save and save often!!!!
I'm not kidding. I press Ctrl+S a few hundred times a day :)





Back to top
David Clegg
Guest





PostPosted: Fri May 21, 2004 10:21 pm    Post subject: Re: Always appreciate the little things given to you. Reply with quote

Michael Bennett wrote:

Quote:
Is there a lesson in all of this? Yup, one that I almost learned the
hard way. save and save often!!!!

Auto-Save option in IDE (Workaround includes details of OTAPI add-in
written by Ray Lischner)

http://qc.borland.com/wc/wc.exe/details?ReportID=1178

--
Cheers,
David Clegg
dclegg_at_ebetonline_dot_com

Vote 1 http://cc.borland.com/codecentral/ccweb.exe/listing?id=21489 Smile
Now supports Google Groups searching with Dyna-extend(tm) technology!

Quality Central. The best way to bug Borland about bugs.
http://qc.borland.com

"I'm just trying to get into heaven. I'm not running for Jesus." -
Homer Simpson

Back to top
Charles McAllister
Guest





PostPosted: Fri May 21, 2004 10:32 pm    Post subject: Re: Always appreciate the little things given to you. Reply with quote

"Michael Bennett" <mikemkii (AT) nospam (DOT) forme.hotmail.com.ok> wrote

Quote:
Is there a lesson in all of this? Yup, one that I almost learned the hard
way.
save and save often!!!!
I'm not kidding. I press Ctrl+S a few hundred times a day Smile




Back to top
Craig van Nieuwkerk
Guest





PostPosted: Fri May 21, 2004 10:59 pm    Post subject: Re: Always appreciate the little things given to you. Reply with quote


Quote:
Ever heard of auto-save and "Run (F9) often"?

Yes. I should add that i'm not complaining, and I knew there was an
expert
to auto-save. Its just that subconsciously I've grown accustomed to doing
it manually :)


Me too, I save after making almost any small change. After all these years
it is just automatic and I dont even think about it.



Back to top
Wayne Niddery [TeamB]
Guest





PostPosted: Fri May 21, 2004 11:09 pm    Post subject: Re: Always appreciate the little things given to you. Reply with quote

Michael Bennett wrote:
Quote:

Is there a lesson in all of this? Yup, one that I almost learned the
hard way. save and save often!!!!

And use version control. While the ~pas file saved you in this case, it can
also be that you save too many times - the ~pas file now contains stuff you
wish you hadn't saved and you need to get prior stuff back.

I've heard so many times that single developers don't need version control,
that it only makes sense for teams, and I say every time they are wrong.

--
Wayne Niddery - Logic Fundamentals, Inc. (www.logicfundamentals.com)
RADBooks: http://www.logicfundamentals.com/RADBooks.html
"True peace is not the absence of tension, but the presence of
justice." - Martin Luther King, Jr.



Back to top
Charles McAllister
Guest





PostPosted: Fri May 21, 2004 11:38 pm    Post subject: Re: Always appreciate the little things given to you. Reply with quote

"Alain Quesnel" <alainsansspam (AT) logiquel (DOT) com> wrote

Quote:
Ever heard of auto-save and "Run (F9) often"?

Yes. I should add that i'm not complaining, and I knew there was an expert

to auto-save. Its just that subconsciously I've grown accustomed to doing
it manually :)



Back to top
Alexander Tereshchenko
Guest





PostPosted: Sat May 22, 2004 2:19 am    Post subject: Re: Always appreciate the little things given to you. Reply with quote

Quote:
SAVRT.SYS

Ah! Symantec Antivirus Real Time protection... Well, actually all
real-time virus protections are crap (officially confirmed by QA labs in
company where I work), but Symantec's is the special crap. For example
recent version of their Corporate Antivirus bluescreened Windows2000 and
WindowsXP if you will type one specific russian character (ш) exactly at
position number 6 on the first line of some .txt file. Pure bliss!


------------------------------------------
Alexander Tereshchenko
[email]alex (AT) knives-out (DOT) org[/email]
http://www.knives-out.org/

Back to top
Iman L Crawford
Guest





PostPosted: Sat May 22, 2004 3:24 am    Post subject: Re: Always appreciate the little things given to you. Reply with quote

"Michael Bennett" <mikemkii (AT) nospam (DOT) forme.hotmail.com.ok> wrote in
news:40ae6c8b (AT) newsgroups (DOT) borland.com:
Quote:
Is there a lesson in all of this? Yup, one that I almost learned the
hard way. save and save often!!!!

JBuilder has multiple save points for files. You can do diff's on all of
them from within the IDE.

--
Iman
"Tragedy is when I stub my toe.
Comedy is when you fall into an open sewer and die."


Back to top
Hannes Danzl[NDD]
Guest





PostPosted: Sat May 22, 2004 3:58 am    Post subject: Re: Always appreciate the little things given to you. Reply with quote

NAV is pita. it slows down the system (especially smaller ones), locks up,
creates UI freezes, ...

all things that are gone after changing to another product ...

--

Hannes Danzl [NexusDB Developer]
Newsgroup archive at http://www.tamaracka.com/search.htm


Back to top
Hannes Danzl[NDD]
Guest





PostPosted: Sat May 22, 2004 3:59 am    Post subject: Re: Always appreciate the little things given to you. Reply with quote

same here. is completely unconconscious ...

--

Hannes Danzl [NexusDB Developer]
Newsgroup archive at http://www.tamaracka.com/search.htm



"Charles McAllister" <charles (AT) avimark (DOT) net> wrote

Quote:
"Michael Bennett" <mikemkii (AT) nospam (DOT) forme.hotmail.com.ok> wrote in message
news:40ae6c8b (AT) newsgroups (DOT) borland.com...
Is there a lesson in all of this? Yup, one that I almost learned the hard
way.
save and save often!!!!
I'm not kidding. I press Ctrl+S a few hundred times a day :)





Back to top
Hannes Danzl[NDD]
Guest





PostPosted: Sat May 22, 2004 4:01 am    Post subject: Re: Always appreciate the little things given to you. Reply with quote

i was using a tool some years agon on win3.11 that saved always saved a history
file for delphi 1. i can't remember what it was called though... saved me quite
a few times...

--

Hannes Danzl [NexusDB Developer]
Newsgroup archive at http://www.tamaracka.com/search.htm




Back to top
Michael Bennett
Guest





PostPosted: Sat May 22, 2004 4:25 am    Post subject: Re: Always appreciate the little things given to you. Reply with quote

Wayne Niddery [TeamB] wrote:

Quote:
And use version control. While the ~pas file saved you in this case, it can
also be that you save too many times - the ~pas file now contains stuff you
wish you hadn't saved and you need to get prior stuff back.


Yup, we already do. I'm using Visual Source Safe, along with VssConneXion for
version control at my place of employment. I checked out the project so I can
work on it at home. Unfortunately our server isn't set up yet for me to
check-out/check-in files from outside the office.

-J. Michael Bennett

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Non-Technical All times are GMT
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.