librarys are hell to write.

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
keeper

librarys are hell to write.

Post by keeper »

hey, i just lost about 2 mounths of work in a crash, and all i really hade done was a nice set of functions and was about to get started on the actual "Design" part. is there a set of librarys or something i can download so i dont have to rewrite all of 'em?

Tip:Always keep an atleast 2 day back up, i did not and look at me.

.:Peace:.
--Keeper
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:librarys are hell to write.

Post by Pype.Clicker »

keeper wrote: is there a set of librarys or something i can download so i dont have to rewrite all of 'em?
That depends on what you're looking for and what license you're willing to accept. "OS for Dummies" website may have things interresting you ...
Tip:Always keep an atleast 2 day back up, i did not and look at me.
Nah. Keep a CVS repository (or subversion, or whatever :) on a physically separate location.
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:librarys are hell to write.

Post by distantvoices »

and not to forget - burn your doings and archieves to cd on a regular base.

I've got nearby 20 of them by now - all snapshots of my development directory, with all intermediate saves included.

One never knows, when it might be necessary to revert to some olden state - I've done it Two times already because I've messed two or three files so heavy with tinkering that nothing worked anymore -> restore old - working - state and start again. :-)
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
zyp

Re:librarys are hell to write.

Post by zyp »

That's one good thing about SCM's (CVS and subversion), they keep all the history, so if somethings breaks you can just check the diff between the current and the last working revision.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:librarys are hell to write.

Post by Solar »

Means, you can backup dumps of them on rewritable media, instead of wasting dozens of CD-R. I only recently retired a venerable ZIP-100 I used for just that purpose (got myself a DVD-RW, and finally dumped the last of my Amiga-time SCSI peripherals). ;)
Every good solution is obvious once you've found it.
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:librarys are hell to write.

Post by distantvoices »

nevertrust the rewriteable media tooo much. I've got a harddisk full of os code crashed a few months ago - for gods sake, the day before I have saved off all the crucial data, so there was only a need to get a new hard disk and install a decent Linux (I'm SuSE user) on it - et voila everything worked again. :-)
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:librarys are hell to write.

Post by Solar »

Never trust your CD-R either. If it's one-of-a-kind data, always keep two backups in seperate locations.

Now, how did we drift from libraries to backup strategies? :D
Every good solution is obvious once you've found it.
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:librarys are hell to write.

Post by distantvoices »

Hm. Keeper 's mentioned it in his post. *gg*

Well - I also keep backups on my web space. Kinda 'doppelt Gemoppelt'. 8)
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
keeper

Re:librarys are hell to write.

Post by keeper »

I cant use CVS, what if my hard drive dies...again? and i have to agree, cds are to fragile. i tar it, then i bzip it, then if i have time i rar it. then i put it on a cd-rw.

the way it happened was, my cd had just been steped on when i was cleaning out my home desk, then while i was making a new copy, my puter crashed while i was opening CDWiz(<<Linux cd bur ning) and it would not restart. my hard drive was messed up too :( i could not retrievee my files.

ps. i found a 9 day old back up in my trash bucket outside(took hours to find it :() :) so im not that far behind :)
mystran

Re:librarys are hell to write.

Post by mystran »

I'd suggest keeping a Subversion (or CVS) repository, and then making backups of the repository. Even if you can't have the repository on a second computer, you maybe can store the latest repository backup on some other computer?

One can also burn CD's of the whole repository once in a while, in case the repository backup is lost too or something.
keeper

Re:librarys are hell to write.

Post by keeper »

are there services that you can create a repository on a remote pc? like u would sing up and they would give you a ftp address or somthing?
nerd

Re:librarys are hell to write.

Post by nerd »

keeper wrote: are there services that you can create a repository on a remote pc?
Googling for "free cvs hosting" seems to give some interesting-looking results. I haven't tested them, though.

My 1st post :o
mystran

Re:librarys are hell to write.

Post by mystran »

If your code is open source, then you might want to checkout savannah, sourceforge, berlios(?) and a heap of others that also give you everything else including mailing-lists and a (bad) bug-tracking tool.
Post Reply