Ever been in this situation?
-
I don't know why but for some reason junk food, such as pretzels, chips, chocolate chip cookies always taste better at work. Say, I might have chocolate chip cookies at home but never touch them because I don't really want to, but at work they suddenly become extra delicious. Which is kind of sad really because I've got cookies at home but never really eat them, and when I crave for cookies at work there are never any around. Same with coding. Right now I'm trying to understand workflow of a particular control (6,800 lines not including IDE generated code) and boy do I wish I was working on one of my home projects instead (I've got a number of half-finished home projects in hiatus). However, the thing is by the time I get home I rarely put my wishes into action which is part of the reason why most of my home projects are in hiatus. Anyone ever experienced something like this, with cookies or with home projects?
-
I don't know why but for some reason junk food, such as pretzels, chips, chocolate chip cookies always taste better at work. Say, I might have chocolate chip cookies at home but never touch them because I don't really want to, but at work they suddenly become extra delicious. Which is kind of sad really because I've got cookies at home but never really eat them, and when I crave for cookies at work there are never any around. Same with coding. Right now I'm trying to understand workflow of a particular control (6,800 lines not including IDE generated code) and boy do I wish I was working on one of my home projects instead (I've got a number of half-finished home projects in hiatus). However, the thing is by the time I get home I rarely put my wishes into action which is part of the reason why most of my home projects are in hiatus. Anyone ever experienced something like this, with cookies or with home projects?
Your bored. You eat when bored. It is a way of passing the time.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway -
I don't know why but for some reason junk food, such as pretzels, chips, chocolate chip cookies always taste better at work. Say, I might have chocolate chip cookies at home but never touch them because I don't really want to, but at work they suddenly become extra delicious. Which is kind of sad really because I've got cookies at home but never really eat them, and when I crave for cookies at work there are never any around. Same with coding. Right now I'm trying to understand workflow of a particular control (6,800 lines not including IDE generated code) and boy do I wish I was working on one of my home projects instead (I've got a number of half-finished home projects in hiatus). However, the thing is by the time I get home I rarely put my wishes into action which is part of the reason why most of my home projects are in hiatus. Anyone ever experienced something like this, with cookies or with home projects?
My home projects of baking cookies just never seem to get off the ground. :)
Chris Meech I am Canadian. [heard in a local bar] Donate to help Conquer Cancer[^]
-
I don't know why but for some reason junk food, such as pretzels, chips, chocolate chip cookies always taste better at work. Say, I might have chocolate chip cookies at home but never touch them because I don't really want to, but at work they suddenly become extra delicious. Which is kind of sad really because I've got cookies at home but never really eat them, and when I crave for cookies at work there are never any around. Same with coding. Right now I'm trying to understand workflow of a particular control (6,800 lines not including IDE generated code) and boy do I wish I was working on one of my home projects instead (I've got a number of half-finished home projects in hiatus). However, the thing is by the time I get home I rarely put my wishes into action which is part of the reason why most of my home projects are in hiatus. Anyone ever experienced something like this, with cookies or with home projects?
It's called stress. When some people are highly stressed, they eat more. It maybe that you are stressed at work, and therefore, crave food more; hence, the reason it might "taste better" at work. To avoid this stress related side-effect, try pounding your head on your desk or a wall until you loose consciousness; That should do the trick. I am so good at this helping other people stuff. Dr. Phil, eat your heart out, looser. :-\
:..::. Douglas H. Troy ::..
Bad Astronomy |VCF|wxWidgets|WTL -
I don't know why but for some reason junk food, such as pretzels, chips, chocolate chip cookies always taste better at work. Say, I might have chocolate chip cookies at home but never touch them because I don't really want to, but at work they suddenly become extra delicious. Which is kind of sad really because I've got cookies at home but never really eat them, and when I crave for cookies at work there are never any around. Same with coding. Right now I'm trying to understand workflow of a particular control (6,800 lines not including IDE generated code) and boy do I wish I was working on one of my home projects instead (I've got a number of half-finished home projects in hiatus). However, the thing is by the time I get home I rarely put my wishes into action which is part of the reason why most of my home projects are in hiatus. Anyone ever experienced something like this, with cookies or with home projects?
JazzJackRabbit wrote:
Anyone ever experienced something like this, with cookies or with home projects?
This is why I work at home. I get to work on what I want, when I want, rather than someone else's concept that income generating work is between 8-5. For example, I blew off Monday because I had my second article on Parallel FX on the brain and I just couldn't focus on anything else. Now that the brain is clear, I've been cranking on my client's stuff. Not to mention the selection of food is better at home than either at a company or at a nearby restaurant. In fact, when I visit my client in Ohio (about once a month) I don't even eat out for breakfast and dinner. Driving there, I bring supplies and hotplate and cook my breakfast and enjoy a dinner of good food in the hotel room. Yeah, we all go out to eat at lunch, and I'm amazed, after eating good healthy food for a while now, how bad restaurant food tastes. Even the salad bars are off. Marc
-
I don't know why but for some reason junk food, such as pretzels, chips, chocolate chip cookies always taste better at work. Say, I might have chocolate chip cookies at home but never touch them because I don't really want to, but at work they suddenly become extra delicious. Which is kind of sad really because I've got cookies at home but never really eat them, and when I crave for cookies at work there are never any around. Same with coding. Right now I'm trying to understand workflow of a particular control (6,800 lines not including IDE generated code) and boy do I wish I was working on one of my home projects instead (I've got a number of half-finished home projects in hiatus). However, the thing is by the time I get home I rarely put my wishes into action which is part of the reason why most of my home projects are in hiatus. Anyone ever experienced something like this, with cookies or with home projects?
Yeah, it's emotional eating. I get similar cravings when I'm not that interested in what I'm working on, but am being forced to do it anyway :) It's just your brains way of trying to relieve the stress the situation is causing (boredom is a form of stress ;)) Exercising for a few minutes does help, if you have that option... usually gets rid of the munchies for a while.
Happy programming!
-
I don't know why but for some reason junk food, such as pretzels, chips, chocolate chip cookies always taste better at work. Say, I might have chocolate chip cookies at home but never touch them because I don't really want to, but at work they suddenly become extra delicious. Which is kind of sad really because I've got cookies at home but never really eat them, and when I crave for cookies at work there are never any around. Same with coding. Right now I'm trying to understand workflow of a particular control (6,800 lines not including IDE generated code) and boy do I wish I was working on one of my home projects instead (I've got a number of half-finished home projects in hiatus). However, the thing is by the time I get home I rarely put my wishes into action which is part of the reason why most of my home projects are in hiatus. Anyone ever experienced something like this, with cookies or with home projects?
JazzJackRabbit wrote:
Anyone ever experienced something like this, with cookies or with home projects?
I remember one day, stuck at work for about ten hours straight with nothing to eat, finally i hit the vending machines. Two boiled eggs, salt and pepper, and a package of saltines. Tasted fantastic - best eggs i've ever eaten. No idea how long they sat in that machine though. I'm working at home now, with a left-over home-baked pizza in the fridge waiting for me. I guess i'll just have to live with it. ;)
-
JazzJackRabbit wrote:
Anyone ever experienced something like this, with cookies or with home projects?
This is why I work at home. I get to work on what I want, when I want, rather than someone else's concept that income generating work is between 8-5. For example, I blew off Monday because I had my second article on Parallel FX on the brain and I just couldn't focus on anything else. Now that the brain is clear, I've been cranking on my client's stuff. Not to mention the selection of food is better at home than either at a company or at a nearby restaurant. In fact, when I visit my client in Ohio (about once a month) I don't even eat out for breakfast and dinner. Driving there, I bring supplies and hotplate and cook my breakfast and enjoy a dinner of good food in the hotel room. Yeah, we all go out to eat at lunch, and I'm amazed, after eating good healthy food for a while now, how bad restaurant food tastes. Even the salad bars are off. Marc
Marc Clifton wrote:
Parallel FX on the brain
I dont see the big fuss, how is some library going to be different or better than the following? I cant even use ParallelFX, because all my code is still VS2005 based.
public delegate void Thunk();
public static class Parallel
{
static Stack<object> executionstack = new Stack<object>();public static void Execute(IList<Thunk> thunks)
{
// to prevent deadlocks, dont parallelize inner sections, but keep them!
if (executionstack.Count == 0)
{
executionstack.Push(thunks);
List<IAsyncResult> results = new List<IAsyncResult>() -
Marc Clifton wrote:
Parallel FX on the brain
I dont see the big fuss, how is some library going to be different or better than the following? I cant even use ParallelFX, because all my code is still VS2005 based.
public delegate void Thunk();
public static class Parallel
{
static Stack<object> executionstack = new Stack<object>();public static void Execute(IList<Thunk> thunks)
{
// to prevent deadlocks, dont parallelize inner sections, but keep them!
if (executionstack.Count == 0)
{
executionstack.Push(thunks);
List<IAsyncResult> results = new List<IAsyncResult>()leppie wrote:
I dont see the big fuss, how is some library going to be different or better than the following?
It isn't, from what I've seen. It just adds syntactical sugar (yet again). So, you would simply write "Parallel.For". If there's any major "ooh, this is great" improvement to processor utilization that PFX provides, I haven't seen it. In fact, the tests I did show its worse (see my second article). I was LMAO when a video by "The Moth" on PFX also showed a test case where PFX was slower. He glossed over that one. And the performance improvements that he showed in his video were pretty small. Yet again, it's another thing everyone is oohing and aahing over, not realizing the that the hard work setting up your code to work well in a concurrent environment. Oh, and it's LINQ can use it. PLINQ - Parallel LINQ. So, Microsoft jumps on the concurrent programming bandwaggon, with Anders Hejlsberg even getting in on the act, over what is essentially quite the yawner in its CTP version at least. Beautiful code snippet, BTW. :) Marc
-
I don't know why but for some reason junk food, such as pretzels, chips, chocolate chip cookies always taste better at work. Say, I might have chocolate chip cookies at home but never touch them because I don't really want to, but at work they suddenly become extra delicious. Which is kind of sad really because I've got cookies at home but never really eat them, and when I crave for cookies at work there are never any around. Same with coding. Right now I'm trying to understand workflow of a particular control (6,800 lines not including IDE generated code) and boy do I wish I was working on one of my home projects instead (I've got a number of half-finished home projects in hiatus). However, the thing is by the time I get home I rarely put my wishes into action which is part of the reason why most of my home projects are in hiatus. Anyone ever experienced something like this, with cookies or with home projects?
-
JazzJackRabbit wrote:
Anyone ever experienced something like this, with cookies or with home projects?
This is why I work at home. I get to work on what I want, when I want, rather than someone else's concept that income generating work is between 8-5. For example, I blew off Monday because I had my second article on Parallel FX on the brain and I just couldn't focus on anything else. Now that the brain is clear, I've been cranking on my client's stuff. Not to mention the selection of food is better at home than either at a company or at a nearby restaurant. In fact, when I visit my client in Ohio (about once a month) I don't even eat out for breakfast and dinner. Driving there, I bring supplies and hotplate and cook my breakfast and enjoy a dinner of good food in the hotel room. Yeah, we all go out to eat at lunch, and I'm amazed, after eating good healthy food for a while now, how bad restaurant food tastes. Even the salad bars are off. Marc
Marc Clifton wrote:
I'm amazed, after eating good healthy food for a while now, how bad restaurant food tastes. Even the salad bars are off.
I recently took a trip for some client work. While we were there, we worked with several other guys from another group, who had a penchant for choosing the chain restaurants for lunch (Chili's, TGIF, etc.). Everytime I ate at one of those places I didn't feel well the rest of the day and I NEVER felt satisfied. Once they left, we chose to eat at the smaller mom-and-pop places and both of those problems went away. I guess they like those places, so more power to them, but for me, I prefer not to eat at those kinds of restaurants. It's gotten to the point that I won't eat out, not because it's unhealthy or I want to save money, but because I don't want to feel sick and I know the food won't make me feel satisfied. My gut responds to eating at a restaurant is "Why??? What's the point?!" I generally bring snacks to work with me that I can eat throughout the day (not sweets or salty foods, either; those don't help). I've never done well on the 3-meal-a-day diet, I need to eat more continually than that.
It has become appallingly obvious that our technology has exceeded our humanity. - Albert Einstein
-
JazzJackRabbit wrote:
Anyone ever experienced something like this, with cookies or with home projects?
I remember one day, stuck at work for about ten hours straight with nothing to eat, finally i hit the vending machines. Two boiled eggs, salt and pepper, and a package of saltines. Tasted fantastic - best eggs i've ever eaten. No idea how long they sat in that machine though. I'm working at home now, with a left-over home-baked pizza in the fridge waiting for me. I guess i'll just have to live with it. ;)
Shog9 wrote:
eft-over home-baked pizza
This has got to be a programmer thing. Everytime I offer to make a pizza for my girlfriend or my family, I get looks and sour faces, DESPITE the fact that anyone who's ever eaten one of my pizzas has loved them. I don't know what it is... I like making pizza at home, but nobody else wants to eat it. They always want the order out crap. I've been sampling the local pizza places to try to find a good non-chain pizza joint, so far without any luck...
It has become appallingly obvious that our technology has exceeded our humanity. - Albert Einstein
-
Shog9 wrote:
eft-over home-baked pizza
This has got to be a programmer thing. Everytime I offer to make a pizza for my girlfriend or my family, I get looks and sour faces, DESPITE the fact that anyone who's ever eaten one of my pizzas has loved them. I don't know what it is... I like making pizza at home, but nobody else wants to eat it. They always want the order out crap. I've been sampling the local pizza places to try to find a good non-chain pizza joint, so far without any luck...
It has become appallingly obvious that our technology has exceeded our humanity. - Albert Einstein
Patrick Sears wrote:
Everytime I offer to make a pizza for my girlfriend or my family, I get looks and sour faces, DESPITE the fact that anyone who's ever eaten one of my pizzas has loved them.
Yeah, i've had similar experiences. I just put it down to pizza being such a common and commonly-low-quality item. It's like offering someone macaroni and cheese - folks are gonna think Velveeta or Kraft powdered cheese, just 'cause that's what they're used to.
-
leppie wrote:
I dont see the big fuss, how is some library going to be different or better than the following?
It isn't, from what I've seen. It just adds syntactical sugar (yet again). So, you would simply write "Parallel.For". If there's any major "ooh, this is great" improvement to processor utilization that PFX provides, I haven't seen it. In fact, the tests I did show its worse (see my second article). I was LMAO when a video by "The Moth" on PFX also showed a test case where PFX was slower. He glossed over that one. And the performance improvements that he showed in his video were pretty small. Yet again, it's another thing everyone is oohing and aahing over, not realizing the that the hard work setting up your code to work well in a concurrent environment. Oh, and it's LINQ can use it. PLINQ - Parallel LINQ. So, Microsoft jumps on the concurrent programming bandwaggon, with Anders Hejlsberg even getting in on the act, over what is essentially quite the yawner in its CTP version at least. Beautiful code snippet, BTW. :) Marc
Marc Clifton wrote:
Beautiful code snippet, BTW.
Thanks :) I had to share it, I have a 10 liner for "Parallel.For" too, maybe I'll write a mini-article this weekend.
Marc Clifton wrote:
If there's any major "ooh, this is great" improvement to processor utilization that PFX provides, I haven't seen it.
I have a test case where on a Core2Duo it runs 4 times faster :rolleyes: . It is a very repetitive loop though. The JIT must be doing some good work.
xacc.ide - now with IronScheme support
IronScheme - 1.0 alpha 1 out now -
Marc Clifton wrote:
Beautiful code snippet, BTW.
Thanks :) I had to share it, I have a 10 liner for "Parallel.For" too, maybe I'll write a mini-article this weekend.
Marc Clifton wrote:
If there's any major "ooh, this is great" improvement to processor utilization that PFX provides, I haven't seen it.
I have a test case where on a Core2Duo it runs 4 times faster :rolleyes: . It is a very repetitive loop though. The JIT must be doing some good work.
xacc.ide - now with IronScheme support
IronScheme - 1.0 alpha 1 out nowleppie wrote:
I have a test case where on a Core2Duo it runs 4 times faster
Oh, sorry, I didn't mean to imply that there wasn't any improvement. I meant in terms of thread management and processor utilization, it doesn't seem to do a lot besides what you'd expect if you run additional threads for additional cores.
leppie wrote:
The JIT must be doing some good work.
That's what I concluded. Marc