Ever just have one of those days?
Ever just have one of those days?
I can't seem to get any work done. I just keep staring at all this code and I can't make sense of any of it, which is weird because I wrote it all not long ago. Just one of those days I guess 
w00t
- Last Known Hero
- Posts: 807
- Joined: Wed Aug 26, 2009 12:28 am
Re: Ever just have one of those days?
I get days like that with 3D, they end up being my most productive days actually.. but staring at code I think would be tougher 

Power3DArt
-Current Project: Fault [Pre-Alpha]
Re: Ever just have one of those days?
It's funny I was at my office, and the business that occupies the office across from me offered me some paying freelance gigs immediately after I posted this. And I also came up with an awesome idea (it's a secret for now) for a new app. So I guess it was a decently productive day 
w00t
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: Ever just have one of those days?
1. Make a copy of your code
2. Get the original code off of your computer (things are about to get hectic)
3. Do a search and replace for the number "10" and replace it with "10691" (or something similar, bold, and not a syntax error), blindly without looking at what you are doing or where at, and close the code and re-open it at the top of the page.
4. Start the application and see what goes wrong due to your little "experiment"
5. Start working backwards from the issue you find in your application, and start debugging to find the altered code
This isn't a joke. I have actually done this before when I am having a "meh" day and I need a jump-start. Why does it work (at least for me)? It gives you a (sometimes) simple problem that you introduced, and forces you to start looking at your code, thinking about its functionality, remembering why you did something the way you did, all with a purpose. I guarantee that within 5 or 10 minutes you will be perking up, and finding things you want to start working on, at which time you can erase the altered code, grab your back-up (which should have been on another drive to prevent accidental issues creeping into the real codebase over something like this) and get started.
2. Get the original code off of your computer (things are about to get hectic)
3. Do a search and replace for the number "10" and replace it with "10691" (or something similar, bold, and not a syntax error), blindly without looking at what you are doing or where at, and close the code and re-open it at the top of the page.
4. Start the application and see what goes wrong due to your little "experiment"
5. Start working backwards from the issue you find in your application, and start debugging to find the altered code
This isn't a joke. I have actually done this before when I am having a "meh" day and I need a jump-start. Why does it work (at least for me)? It gives you a (sometimes) simple problem that you introduced, and forces you to start looking at your code, thinking about its functionality, remembering why you did something the way you did, all with a purpose. I guarantee that within 5 or 10 minutes you will be perking up, and finding things you want to start working on, at which time you can erase the altered code, grab your back-up (which should have been on another drive to prevent accidental issues creeping into the real codebase over something like this) and get started.
The indelible lord of tl;dr
Re: Ever just have one of those days?
That sounds like a good idea! 
Today may just have been a case of needing to vent. I ended up talking to a few people about some things that had been bothering me, and now I feel pretty renewed.
Today may just have been a case of needing to vent. I ended up talking to a few people about some things that had been bothering me, and now I feel pretty renewed.
w00t
Re: Ever just have one of those days?
I have one of those days everyday.
Fighting for peace is declaring war on war. If you want peace be peaceful.
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Ever just have one of those days?
your avatar with the whale stuck in a chair is disturbing.
Re: Ever just have one of those days?
K, I changed it 
Fighting for peace is declaring war on war. If you want peace be peaceful.
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm