Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: Re: Can you get a package back to a notebook easily?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg82936] RE: [mg82923] Re: Can you get a package back to a notebook easily?
  • From: "Barthelet, Luc" <lucb at ea.com>
  • Date: Sun, 4 Nov 2007 06:06:01 -0500 (EST)

Hmmm. I tend to disagree.
We manage a large number of notebooks under source control and we prefer
use the .m versions since 6.0 for the notebooks which might be
conflicting.

The new .m format enables us to keep most of the data and presentation
and not the output cells, which is useful for size when working on
graphics related issues.

We do check in notebooks also.

So far no corruptions because of source control. The only corruptions I
have seen are related to laptops going to sleep (which might be fixed
now) or virtual memory full on 32bit memory systems like XP.

Luc

-----Original Message-----
From: Thomas E Burton [mailto:tburton at brahea.com]
Sent: Saturday, November 03, 2007 1:30 AM
To: mathgroup at smc.vnet.net
Subject: [mg82936] [mg82923] Re: Can you get a package back to a notebook easily?

No, reading a package into the front end as a notebook is 
unsatisfactory: you get back only initialized input cells, in rather 
poor condition, and everything else is lost. Why bother? The reverse 
is true: you can easily reconstruct a package from a notebook.

> I am asking this because I want to know if I need to save my 
> notebook and my package in CVS, or only my package?

Back in the old days (version 3?), notebooks would become unstable 
when ported between operating systems (Mac and Windows in my case). I 
think Wolfram is well beyond this issue now, but I remain skittish. 
No way am I going to trust a notebook to an IDE like CVS. So what I 
do is sync the packages into the IDE and store the notebooks 
elsewhere. (I keep four copies of important notebooks! Two on 
computers, one on local backup, one on remote backup.) If the IDE 
fouls up, I can easily recreate versions of the packages from my 
notebooks.

One compromise with this approach is that I don't keep all versions 
of all notebooks. (My notebooks are typically 2-100 megabytes each.) 
So the selection of saved notebooks will not always correspond 
exactly to the sync'ed packages, but I get away with it.

Tom



  • Prev by Date: Re: The uses of Condition (/;)
  • Next by Date: Re: [Q] Nonlinear Fitting in symbolic Integration ..?
  • Previous by thread: Re: Can you get a package back to a notebook easily?
  • Next by thread: Re: Can you get a package back to a notebook easily?