News for hackers. Stuff that matters.
Re:Eating Mindfully: How to Pay Attention to What You Eat an... by edw519 on Wednesday May 14, 2008 @10:08AM (#189580)
This is great advice, but I've never been able to do anything like this while working.

I know, I know, you're supposed to get away from your terminal and eat in the other room. But I never do.

I either a. eat a meal while surfing or b. munch on something while coding. It's the munching while coding that I've never been able to do "mindfully".

The best coding munchies are almost always the worst things to eat, like microwave popcorn, chips, cookies, and soda. When you're 4 levels deep into a nested routine, who notices that the munchies are gone? I suppose I could eat fresh fruit or something like that, but honestly, has anyone ever gotten into the "coding zone" eating grapes?

Re:Eating Mindfully: How to Pay Attention to What You Eat an... by justindz on Wednesday May 14, 2008 @10:48AM (#189625)
Grapes, bags of spinach, you name it. The trick is to not stock munchies that you don't want yourself to code on. If you don't have it, you can't eat it. The other trick is to not cut out all snacking but stock up on snacks that fill the void without expanding the void, so to speak.

And drink a tall glass of water three minutes before you feel like snacking. It'll keep you hydrated, which is good, and you'll snack less on average. A lot of the munchies is actually dehydration (like late night snacking).

Also, if you have peanuts or something and you're just watching TV rather than coding try eating them with chopsticks to slow you down so you notice when you're full. Once you get good at that, try peanuts with a fork or do the toss and catch or something ;-)

Re:Eating Mindfully: How to Pay Attention to What You Eat an... by DaniFong on Wednesday May 14, 2008 @06:58PM (#190066)
There are completely different snacks that are decent treats while/between coding. The trick is to make things that a little bit of a chore to cook -- things like eggs, or salads, or falafel. I like pita with tahini, or olives, or fruit leather. I also like soup -- in particular, hot and sour soup, when I'm feeling a chill :-)

PS: If grapes aren't quite 'coding munchie' enough for you, try roasting with garlic, olive oil, pepper and salt. This really works. Mmm.

Re:Eating Mindfully: How to Pay Attention to What You Eat an... by jkkramer on Wednesday May 14, 2008 @11:37AM (#189678)
I find if I gorge on carbs or rich foods during work time, I'll start to feel sluggish and want a nap. If I eat a small to medium portion of veggies and fruits, I'll be able to maintain (elevate even) my focus without the "food-ludes".

I don't know if it's age (in my late 20s) or an increased interest in being attuned to my body, but food management has become critical to my daily productivity.

So yeah, I get into the coding zone with grapes.

Re:Eating Mindfully: How to Pay Attention to What You Eat an... by scott_s on Wednesday May 14, 2008 @12:16PM (#189721)
I always leave the office for lunch, just to get away. And I bring a book.