The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. September 16, 2019, 10:03:52 PM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: I just hate doing things the second time  (Read 3639 times)
stefan
n00b
*
Offline Offline

Posts: 8


View Profile
« on: November 06, 2007, 01:51:01 PM »

one of my, hrmm, scrapers, stopped working. Turned out they completely changed their site structure. So unfair of them isn't it  Wink

Ok, fine, changed my scraper code, took me about an hour, big changes with the structure of their site. Then I found out that I might indeed do it another way around (gaining speed I hoped). So I DELETED the new code- and rewrote again. Ran it - worked ok I thought. Tonight I realized I was wrong in my assumptions, the new and faster way was not getting all data needed. So now I am trying to code the first updated version again. Nothing - when it comes to programming is more depressing than knowing "I have done it before, now how the hell did I do it" .  I mean instead of taking the energy to reTHINK the solution I am trying to remember the code I used (lots of regexes etc so it's meaningless...).

And I was so ambitious when setting up my new box installing a source control system - SourceGear, SQL 2005 as backend if someone is curious - but of course I f*cking almost never check changes in but leave my code always checked out... My Q to you all: are you using any source control system ?  And are you USING it?
Logged

No links in signatures please
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #1 on: November 06, 2007, 03:44:15 PM »

Oh um, yeah man. Use one all the time.

Roll Eyes

Actually, if I wasn't such a fraidycat I'd install Leopard on my machine, get TimeMachine running and see if it'd do that for me LOL...

What I have found personally is that I am better at either commenting blocks out and rewriting (so that I keep the old logic handy) or changing the files that I include ie., copy existing file to new name, include new name, continue work there.

It's just about as sttopid and old a system as you can imagine, but since I'm the only one that works my code, it's not a problem for me.
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
leadegr00t
n00b
*
Offline Offline

Posts: 8



View Profile WWW
« Reply #2 on: November 06, 2007, 06:36:25 PM »

oh, I wish I had that much willpower.
My file systems are full of 'index copy.php' etc.
Makes them very crufty Sad

I constantly swear to myself that with the next project I will install a config tool and use the mother, but every project passes and I haven't done it Sad

(Mind you, I *never* throw anything away, I just move it all to another directory and date tag it)
Logged

No links in signatures please
dimitry12
Rookie
**
Offline Offline

Posts: 27



View Profile
« Reply #3 on: November 07, 2007, 09:50:53 AM »

svn: an hour to master - and then you can have fun with no worries
Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #4 on: November 07, 2007, 11:11:42 AM »

Never even looked at it till now Dimi.

Here at wiki: http://en.wikipedia.org/wiki/Subversion_(software)

is an excellent discussion, but most important to me is the list of folks that are using it - that was most impressive.

It just earned a few moments of my research! Thanks D!

/p
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5627


Back in my day we had 9 planets


View Profile
« Reply #5 on: November 07, 2007, 11:44:01 AM »

pffft you people have no balls. No source control here. I prefer the grand moments of stress when I delete something remote, which means it is no longer recoverable. Its much more fun that way.

actually i have a ghetto SC. I use UltraEdit which mirrors locally the remote files you work on, then I also have a daily backup of my work folder with a rolling 14 day (i think) history. So i can always get back what I had yesterday. I used to use visual source safe, just because i am and MS guy mostly. worked well for my needs.
Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
stefan
n00b
*
Offline Offline

Posts: 8


View Profile
« Reply #6 on: November 07, 2007, 12:36:25 PM »

Quote
So i can always get back what I had yesterday.

I have that setup to, robocopy changes each night, full copy each friday, however since I am so damn fast and excellent coder  Wink I finished first version, removing it and new version in the same day...


Quote
I used to use visual source safe
Then do checkout SourceGear Vault.  I am an old VSS junkie myself and this one works exactly the same (with regards to GUI), but uses SQL Server as backend. Free for a single user. I actually tried SVN with my new server setup but removed it just because I am SOO used to the VSS/SourceGear gui and way of thinking.

Logged

No links in signatures please
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5627


Back in my day we had 9 planets


View Profile
« Reply #7 on: November 07, 2007, 03:08:36 PM »

cool i will check that out. thanks
Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!