Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Ever been in this situation?

Ever been in this situation?

Scheduled Pinned Locked Moved The Lounge
visual-studioquestionworkspace
15 Posts 10 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    daniilzol
    wrote on last edited by
    #1

    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?

    E C D M A 7 Replies Last reply
    0
    • D daniilzol

      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?

      E Offline
      E Offline
      Ennis Ray Lynch Jr
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • D daniilzol

        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?

        C Offline
        C Offline
        Chris Meech
        wrote on last edited by
        #3

        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[^]

        1 Reply Last reply
        0
        • D daniilzol

          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?

          D Offline
          D Offline
          Douglas Troy
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • D daniilzol

            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?

            M Offline
            M Offline
            Marc Clifton
            wrote on last edited by
            #5

            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

            Thyme In The Country Interacx My Blog

            L P 2 Replies Last reply
            0
            • D daniilzol

              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?

              A Offline
              A Offline
              AspDotNetDvlpr
              wrote on last edited by
              #6

              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!

              1 Reply Last reply
              0
              • D daniilzol

                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?

                S Offline
                S Offline
                Shog9 0
                wrote on last edited by
                #7

                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. ;)

                P 1 Reply Last reply
                0
                • M Marc Clifton

                  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

                  Thyme In The Country Interacx My Blog

                  L Offline
                  L Offline
                  leppie
                  wrote on last edited by
                  #8

                  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>()

                  M 1 Reply Last reply
                  0
                  • L leppie

                    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>()

                    M Offline
                    M Offline
                    Marc Clifton
                    wrote on last edited by
                    #9

                    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

                    Thyme In The Country Interacx My Blog

                    L 1 Reply Last reply
                    0
                    • D daniilzol

                      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?

                      T Offline
                      T Offline
                      The Man 0
                      wrote on last edited by
                      #10

                      Maybe you could invent a new diet? You could call it the "keep your cookies at home" diet. It will be based on the concept of keeping the amount of food (x) at a place (y) inversely proportional to the desire for food (x) that you feel at place (y)

                      1 Reply Last reply
                      0
                      • M Marc Clifton

                        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

                        Thyme In The Country Interacx My Blog

                        P Offline
                        P Offline
                        Patrick Etc
                        wrote on last edited by
                        #11

                        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

                        1 Reply Last reply
                        0
                        • S Shog9 0

                          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. ;)

                          P Offline
                          P Offline
                          Patrick Etc
                          wrote on last edited by
                          #12

                          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

                          S 1 Reply Last reply
                          0
                          • P Patrick Etc

                            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

                            S Offline
                            S Offline
                            Shog9 0
                            wrote on last edited by
                            #13

                            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.

                            1 Reply Last reply
                            0
                            • M Marc Clifton

                              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

                              Thyme In The Country Interacx My Blog

                              L Offline
                              L Offline
                              leppie
                              wrote on last edited by
                              #14

                              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

                              M 1 Reply Last reply
                              0
                              • L leppie

                                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

                                M Offline
                                M Offline
                                Marc Clifton
                                wrote on last edited by
                                #15

                                leppie 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

                                Thyme In The Country Interacx My Blog

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • World
                                • Users
                                • Groups