Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Chocolate Chip Cookies

Author
Message
tha_rami
18
Years of Service
User Offline
Joined: 25th Mar 2006
Location: Netherlands
Posted: 19th Aug 2007 04:17
Week 2 of using DB Pro, creating a little app to create random data for a game I'm beta'ing. 6000 lines of code. I open up the file: nothing! Check file size: 1.4kb.

Oh - my - God. It ate my code! Thank God it didn't eat my chocolate chip cookies, though, I need something to take away my pain.

Mmm. Chocolate Chip Cookies.

bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 19th Aug 2007 04:22 Edited at: 19th Aug 2007 04:22
Check your temp folder before you do anything else in db!

(and get a different editor)

tha_rami
18
Years of Service
User Offline
Joined: 25th Mar 2006
Location: Netherlands
Posted: 19th Aug 2007 04:28
Already did that. Found files of my DBC project. Not one of my new app. Sigh. Luckily I had a 0.9 version compiled. Guess I'll just use an incomplete product for now and start over later.

Mmm. Chocolate Chip Cookies.

bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 19th Aug 2007 04:29
That sucks, but you should be able to write it 10 times better a second time around

tha_rami
18
Years of Service
User Offline
Joined: 25th Mar 2006
Location: Netherlands
Posted: 19th Aug 2007 04:33
I'm desperate now.Let me eat my cookies.

Cookies .

H4ck1d
18
Years of Service
User Offline
Joined: 27th Dec 2005
Location: Yes
Posted: 19th Aug 2007 04:39
GatorHex
19
Years of Service
User Offline
Joined: 5th Apr 2005
Location: Gunchester, UK
Posted: 19th Aug 2007 04:51 Edited at: 19th Aug 2007 04:51
Yeah download Code Surege ASAP nothing worse than losing your code with that damn standard IDE :/

DinoHunter (still no nVidia compo voucher!), CPU/GPU Benchmark, DarkFish Encryption DLL, War MMOG (WIP), 3D Model Viewer
Zombie 20
17
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 19th Aug 2007 06:53
I'm sorry to hear that tha_rami..that must be such a shot in the heart..I don't now what I would do if that happened.

Jrock
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Riven
Posted: 19th Aug 2007 09:08
Isn't there a backup text file that is created whenever the code is compiled?


Practice makes perfect. But if nobody is perfect, why practice?
Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 19th Aug 2007 13:34
Eep! I'm using the standard IDE, best switch to code surge then myself, before I kill my code.

Hakuna Matata
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 19th Aug 2007 14:05 Edited at: 19th Aug 2007 14:07
Yeah, with the default IDE you better check the temp files quickly or make lots of backups. I take daily backups nowadays anyway so if I screw some code up I can always copy in the unscrewed version.

Chocolate chip cookies do taste great, maybe I should buy some today

CodeSurge rules!

[center]
CREATE games with ease! NO programming required!
WIP
Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 19th Aug 2007 14:23
Yeah, you can't go wrong with chocolate chip cookies...And of course we're all forgetting something...Freaking custard creams! The ultimate biscuit!

Hakuna Matata
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 19th Aug 2007 14:38 Edited at: 19th Aug 2007 15:39
If you have updated the IDE from the update page, you'll never have the problem. It's like any software, if you're using a buggy version, it's your fault for not updating.

Personally, I have an SVN server set up on my PC (really easy to install and set up).
Every time I make some changes that work, I add it to the SVN repository. When I backup, I only backup the SVN repository. This ensures a number of things:
No lost code.
Can always revert to older code if you want.
When backing up, I'm guaranteed to not have it take too much space since I don't have erroneous binaries and what-not floating around (SVN is primarily source only).

Give it a shot, it'll save you headaches, and is as simple as Rightclick->Commit to add changes to the database.

Nintendo DS & Dominos :: DS Dominos
http://jt0.org
tha_rami
18
Years of Service
User Offline
Joined: 25th Mar 2006
Location: Netherlands
Posted: 19th Aug 2007 15:31
I've got DBP 1.062 or something - the IDE does support auto-complete so I guess it's 1.0.9.2 - the latest version, right?

I'm installing SVN now, seems pretty awesome . If I set it up with Apache I can even access it from the internet. Neat.

Mmm. Chocolate Chip Cookies.

MonoCoder
18
Years of Service
User Offline
Joined: 4th Dec 2005
Location: england
Posted: 19th Aug 2007 22:31
I've got codesurge in a folder on my desktop, but I'm still using the default ide. I should really switch some time soon.

Mind you, so long as you play it safe, your code should be fine. Though I must admit, it's probably not worth precautions like closing and restarting the editor when switching projects and avoiding the cancel button on the save-before-close dialogue box. Plus restricting your projects to one source file so it doesn't eat them.

Then again, I suppose it's good practise to be cautious. I haven't lost code for a long time.

I should still switch...


EBA: Coming Soon.
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 19th Aug 2007 23:53
Hyrichter anounced earlier today that a new update of CodeSurge will be available tonight. I found the problem with the compiler not detecting changes in sourcefiles and he mentioned that there will be some other features and fixes as well.

CS is so good right now that with this new update it will be a very good idea to switch.

[center]
CREATE games with ease! NO programming required!
WIP
GatorHex
19
Years of Service
User Offline
Joined: 5th Apr 2005
Location: Gunchester, UK
Posted: 20th Aug 2007 02:08
I only use the default IDE for searching the help files, and maybe creating a new project (seems to a be a bit of a pain to do in CS)

DinoHunter (still no nVidia compo voucher!), CPU/GPU Benchmark, DarkFish Encryption DLL, War MMOG (WIP), 3D Model Viewer
tha_rami
18
Years of Service
User Offline
Joined: 25th Mar 2006
Location: Netherlands
Posted: 20th Aug 2007 05:17
Switched to CodeSURGE. SVN installed. Restarting. Sigh.

But we\'re so offtopic! This is about chocolate chip cookies people. Come on.

Uncle Sam
19
Years of Service
User Offline
Joined: 23rd Jul 2005
Location: West Coast, USA
Posted: 20th Aug 2007 11:45
I entered a text-adventure into a contest awhile back, but when I was nearly finished, I lost the whole project. I ended up retyping several thousands lines from memory...


...angrily...

Login to post a reply

Server time is: 2024-11-19 03:21:49
Your offset time is: 2024-11-19 03:21:49