Slashdot Mirror


How Do You Maintain Your Work Focus?

chowsapal asks: "I've recently switched from another line of work into computer programming, where I work as a contractor. I'm making more money than I need, and more than I'm used to even working 20 or 25 hours a week. I'd like to work more, and rake in even more money, but sometimes it's hard to stay focused for more than 5 or 6 hours at a time. What do other programmers do to motivate themselves? Do you work a specific set of hours? In a specific location? Are there types of breaks that you find really increase productivity? Does diet and/or coffee consumption make or break the deal? Do you end up working late at night for the quiet? I realize that on some level you just need to suck it up and put in the time, or stop worrying about it and enjoy your time off. However, the question stands: How do you work best outside an office environment?"

153 comments

  1. Motivation by Rydia · · Score: 3, Funny

    Constantly remind myself of my company's small army of trained ninja.

    1. Re:Motivation by __aaclcg7560 · · Score: 2, Funny

      You prefer to be a drone instead of a trained ninja? Your days are numbered.

    2. Re:Motivation by foniksonik · · Score: 2, Funny

      It's modded "Funny" but maybe just maybe it's really a cry for help...... = yes 2 ellipses...

      --
      A fool throws a stone into a well and a thousand sages can not remove it.
    3. Re:Motivation by blugu64 · · Score: 5, Funny

      I just ask my self with every action, is what I'm doing good for the company

      --
      "Personal ownership is a hallmark of conservative capitalism. And I don't believe I am entitled to anything that I did n
    4. Re:Motivation by dup_account · · Score: 1

      I wish I had more mod points so I could mod this up and funnier

    5. Re:Motivation by rubycodez · · Score: 1

      I do that too, and after I answer myself "of course not", then I ask myself if the action is good for me. If the answer is affirmative, then I do it. Corporations are now hellbent out of fucking every employee and every citizen out of everythihg they have, it is therefore your duty to preemptively fuck them out of as much as you can before they do you in.

  2. It's very easy by Anonymous Coward · · Score: 0

    I just... hey, look, shiny!

  3. Two Options by acvh · · Score: 4, Insightful

    One - Provigil.

    Two - Trust your feelings, Luke. If you're already "making more" than you need, and you can't get motivated to make more, then don't. Go out and have some fun.

    1. Re:Two Options by Eideewt · · Score: 2, Insightful

      Indeed. If he know's he's got big expenses coming up and wants to prepare that's one thing, but he sound's like he's just wants to work more because he feels he should earn as much as he can. Don't do it, guy. Working five to six hours at a time is plenty.

    2. Re:Two Options by Anonymous Coward · · Score: 0
      Provigil isn't so much for concentration as it is for wakefullness/alertness. What you may be interested in is Adderall. The immediate release is generic, so it is very cheap. You'll be able to be 'in the zone' and focused like a laser.

      You don't say if you are working at home or in an office. If at home, I try and set up a routine that allows me to separate my work time from my personal time. I usually put on slacks and a shirt when I have to make phone calls. It makes one more professional sounding.

    3. Re:Two Options by Colonel+Panic · · Score: 1

      Two - Trust your feelings, Luke. If you're already "making more" than you need, and you can't get motivated to make more, then don't. Go out and have some fun.

      Indeed. If he still persists in wanting to work more hours then I'd like to job-swap with him. 25hours/week would be just right both in the amount of money and time.

    4. Re:Two Options by reanjr · · Score: 1

      There's also Straterra

    5. Re:Two Options by Ohreally_factor · · Score: 0

      I've been using Darnitol and it doesn't seem to be helping motivation-wise. Anyone else with Darnitol experience?

      =)

      --
      It's not offtopic, dumbass. It's orthogonal.
    6. Re:Two Options by spx · · Score: 1

      2 more..... 1 Give me all your money 2 Go make your money all over again

    7. Re:Two Options by aminorex · · Score: 1

      Even if he doesn't need it, there are lots of other people who are literally dying for lack of money. I recommend amphetamines. I can pull down 80-120 highly productive hours per week when it is expedient; but more than a couple of weeks over 100 hours, even with rigorously enforced physical fitness breaks and careful diet, would push the limits of sanity at my age (45).

      --
      -I like my women like I like my tea: green-
    8. Re:Two Options by tverbeek · · Score: 1

      25hours/week would be just right both in the amount of money and time.

      I once had a job which I tried to negotiate down to 30 hours/week with a proportionate pay cut, but they wouldn't go for it; they wanted me there 8-12+1-5/M-F. {shrug}

      My current job is 32 hours/week, which is darn near perfect... except for the fact that being <40 means it doesn't include benefits, which means I'm actually missing out on affordable insurance, vacation pay, etc. They're saving a small fortune, while I get a mere 8 hours/week I wouldn't have otherwise. Not quite the fair trade I was hoping for.

      Both employers are stuck with this obsolete fixation on "full time = 40 hours/week", rather than letting the hours fit the job and the employee's needs, and matching the full pay package to the amount of time worked. This kind of bureaucratic inflexibility can't be efficient, and is probably contributing the whole unemployment problem, in which some people are working too much, and others aren't working at all.

      --
      http://alternatives.rzero.com/
  4. Re: How Do You Maintain Your Work Focus? by Dr_Art · · Score: 2, Insightful

    > What do other programmers do to motivate themselves?

    How do I motivate myself to work? Usually I just visualize my family and I living under a bridge and carrying a handwritten "will program for food" sign.

  5. Priorities? by sharkey · · Score: 5, Insightful

    If you are making more than you need, and more than you are used to in a "shorter than normal" work week, perhaps you should go to the pool or something. It sounds like you are working to get money so you can HAVE money, not so that you can attain any other goal in life but to get more money.

    Perhaps your motivation problem is that you seem to have no goals outside of the numbers on your bank accounts.

    --

    --
    "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next.
  6. Add a bit of Diversity by SubliminalVortex · · Score: 5, Insightful
    I'm almost convinced that programmers are afflicted with 'ADD' as a side effect. It's very easy to get bored with a programming task (especially one that is boilerplate) so we go off on a tangent trying to automate the process of writing boilerplate code.

    I find that when spending too much time looking at the same code, it starts becoming 'vague' and I feel as if I'm in a fugue. It's akin to the same thing as writing a story or some e-mail and thinking that you've misspelled the words 'it' or 'and'. It may very well be correct, but it looks foreign and you try to fix something that isn't broken. At that point, it's time for a mental break.

    I actually tend to take at least three breaks a day for about five to ten minutes each. The first two, I read Slashdot; usually around 10:00am and the other right before lunchtime. I don't eat out often, but I do pick up lunch and then around 4:00pm, I check out the latest 'IT' curiosity posted on The Daily WTF http://www.thedailywtf.com/. I also check Slashdot again right before I leave so I don't miss some of the few gems posted here.

    A lot of IT shops have their eye on Web browsing, but they usually won't pay mind to it unless you're not producing or you have a tendency to frequent sites that raise an eyebrow or two (hint: pr0n sites tend to fall in that category). I do like to visit sites geared towards developers, such as GotDotNet http://www.gotdotnet.com/, CodeProject http://www.codeproject.com/, CodeGuru http://www.codeguru.com/ and the latest "up and coming" Krugle http://www.krugle.com/ code search engine. Sometimes visiting those sites will give a tidbit or two that is useful; you may run across some code or solution to a problem that interests you. Also, you may end up learning something that you'll run into in the future. (Coders tend to re-invent the wheel if they don't have the code handy; however, if the code is there, they tend to add spinning rims to it.)

    Adding a bit of diversity to the routine helps keep you on the edge and refreshed to approach a problem in a new light.

    1. Re:Add a bit of Diversity by MoogMan · · Score: 1

      I find that when spending too much time looking at the same code, it starts becoming 'vague' and I feel as if I'm in a fugue.

      Most programmers that have had a hardcore hacking session have probably gotten to this stage. I term is "code blindness" :)

      After code blindness is typefinger (you know, where your fingers start going cold, and you can't type as fast).

      Generally, either of these mean you've spent *way* too much time on your current task. Get some sleep.

    2. Re:Add a bit of Diversity by turgid · · Score: 1

      I actually tend to take at least three breaks a day for about five to ten minutes each. The first two, I read Slashdot; usually around 10:00am and the other right before lunchtime. I don't eat out often, but I do pick up lunch and then around 4:00pm, I check out the latest 'IT' curiosity posted on The Daily WTF http://www.thedailywtf.com/ [thedailywtf.com]. I also check Slashdot again right before I leave so I don't miss some of the few gems posted here.

      Lucky you. My boss says that if I need a 5-10 minute break then I can always review my bug list.

    3. Re:Add a bit of Diversity by horn_in_gb · · Score: 1

      Oh god, dreaded typefingers. I can't believe you have described perfectly the phenomenon I used to experience pulling all nighters in the CS lab. Well, that and the experience of random gangstas coming up and banging on the windows and telling me to let them in or they would shoot me, then me having to turn off all the lights and hide under the desk. But that's totally unrelated (I am totally not making that up. Anybody else at Northwestern U ever have this happen to them?)

    4. Re:Add a bit of Diversity by dynamo · · Score: 1

      Just review it with your eyes closed.

  7. Slashdot! by Mini-Geek · · Score: 2, Funny
    Are there types of breaks that you find really increase productivity?
    Slashdot
    --
    do {print "Mini-Geek Rules!\n";}
    until ($TheEndOfTheWorld);
  8. Follow these steps by Anonymous Coward · · Score: 5, Funny

    Step 1. Stop reading Slashdot

    Step 2. I still haven't gotten past step 1, but when I do, I'll let you know.

    1. Re:Follow these steps by Anonymous Coward · · Score: 0, Funny

      Step 1. Stop reading Slashdot

      Step 2. ???


      Step 3. Profit!

      Fixed.

    2. Re:Follow these steps by SubliminalVortex · · Score: 1

      Mr. Smith, we've just notified your employer that you have an unhealthy addiction to Slashdot. Your internet access has been revoked.

    3. Re:Follow these steps by iced_773 · · Score: 1


      It would be rather pointless to inform him on a website if his internet access has been revoked.

    4. Re:Follow these steps by SubliminalVortex · · Score: 1

      Yes, but that's for us to know and him to find out.

    5. Re:Follow these steps by Spacejock · · Score: 0

      If you do get past step two you might find it very profitable. If the russians and old people don't get you first, that is.

    6. Re:Follow these steps by jruschme · · Score: 1

      I'd laugh at this one except that I actually had Slashdot cited in my last annual performance appraisal. :-(

  9. It's a constant battle for me too... by HotNeedleOfInquiry · · Score: 1

    Get up and walk around. Chew a couple vitamin C tablets and drink some water. Read slashdot and get back to work. Sometimes music helps, sometimes it doesn't. Wished I had some better ideas...

    --
    "Eve of Destruction", it's not just for old hippies anymore...
    1. Re:It's a constant battle for me too... by crankshot999 · · Score: 1

      [chew a couple of c tablets]hahaha very funny but it only works if thats the programing language :)

  10. Long lunches by Bender0x7D1 · · Score: 4, Interesting

    Where I used to work it was pretty normal for people to come in early (about 7:00AM), take an extra long lunch (1.5 - 2 hours) and then work until 5:00PM. They put in their 8 or 9 hours, but have a nice refreshing break in the middle so they can handle the afternoon. Also, people would go to the gym at lunch time to refresh their minds for the afternoon.

    Another tactic was for people to come in late, about 10:00AM, go to lunch at 12:00PM for an hour, work the afternoon, go home for an hour or two to eat supper, and work a few more hours from home. Some would also come back to the office for a few hours in the evening - but they generally lived pretty close-by. After work, they could go out, stay out late, but be able to sleep in the next morning.

    I think the important part is determining how long you can go without a serious break, and then figuring out how to work that break into your schedule. It may mean starting earlier, or working later, but you still get your time off. Why go to the gym in the morning, when you can go at lunch time and refresh yourself for the afternoon?

    --
    Reading code is like reading the dictionary - you have to read half of it before you can go back and understand it.
    1. Re:Long lunches by Jasin+Natael · · Score: 1

      The problem I have with this approach is that I feel guilty, since every hour during the day that I don't work, is one hour I'll be squirreled away in my office after my wife comes home. However, working 5 or 6 hours a day tends to be more productive than working 8-10, unless I really just get "dialed-in" to a problem. Being an independent contractor (like myself, and the OP) means you can spare yourself the drudgery of those last few hours of consecutive work, and you won't have to look at buggy, opaque, or inefficient code in the morning.

      I think we're saying the same thing -- If you feel like you *have* to work more than you feel naturally able, it can be done, but don't expect some super Jedi trick to let you do it all in one block, or squeeze 16 productive hours into a day. If you want to get 4 extra hours, prepare to spend 3-4 hours not working, so that you can regain your motivation and focus. (YMMV)

      --
      True science means that when you re-evaluate the evidence, you re-evaluate your faith.
    2. Re:Long lunches by Javaman59 · · Score: 1

      I discovered the same thing. For 10 years or so, I treated the lunch break as an enforced time out from paid work, and only took 30 minutes. Then I worked at a company where the norm was for everyone to take a break from 12:00 till 1:00 (it was not enforced, but it was the norm). When I started taking this break I found that my whole day improved - the afternoon was productive, I was more fresh at the end of the day, I started getting to work on time, I stopped attempting to make up for wasted hours by working late.

      I no longer have that job, but still attempt to take a 1 hour lunch. At a minimum, I take 30 minutes, and make sure I leave my desk (ie. don't browse while eating lunch), and take a walk.

      The only problem with this is that it means you spend an extra 30 minutes per day away from home. It's worth it.

      --
      I'm a software visionary. I don't code.
  11. Thought exercise by mortonda · · Score: 3, Funny

    I keep my attention on task by .... um.... what was the question again?

    Seriously, I have the same problem, as a contractor... Some days I'm lucky to get 1 hour billed. OTOH, I have a 14 month old boy that keeps distracting me. :)

    1. Re:Thought exercise by D'Sphitz · · Score: 1

      Yep same problem, my lunch break will usually entail gourging myself, a nap and a couple TNG re-runs, and maybe Dr. Phil.

  12. Easy answer... by Anonymous Coward · · Score: 5, Funny

    127.0.0.1 www.slashdot.org

    1. Re:Easy answer... by Anonymous Coward · · Score: 0

      127.0.0.1 www.slashdot.org

      Most people don't use "www" when referring to Slashdot anyway. Why should they when "www.slashdot.org" and "slashdot.org" refer to the same IP address and the URLs within Slashdot itself don't normally refer to it as "www.slashdot.org"?

  13. I think by countach · · Score: 4, Interesting

    The best thing you can do is have a siesta. Sleep for half an hour and come back to work.

    But most of the time it's best not to work at all. I can get a ton of work done in a few hours in the morning, and the afternoons are often a write-off. I might as well have gone home. If mornings are you best, schedule meetings in the late afternoon as much as possible so that you don't waste your most productive times. Make the most of your most productive hours and do admin the other hours.

    Generally, I don't believe in the idea you can "push yourself" into creating more software by staying more hours. All you'll do is make yourself even more tired and not produce any more output.

    1. Re:I think by iced_773 · · Score: 1


      The best thing you can do is have a siesta. Sleep for half an hour and come back to work.

      Ah, yes - the good ol' powernap. I spent many-a-lunchbreak in the high school library preparing for my excruciating AP English class that way.

      I can get a ton of work done in a few hours in the morning

      I usually get the most work done in the late evening, but I'm a night person anyway. Use whatever time works for you.

      Generally, I don't believe in the idea you can "push yourself" into creating more software by staying more hours.

      Neither do I. After about 3 hours, I usually have to take a break and drink something with caffeine and CO2 before I can get any more work done. However, caffeine and napping will only take you so far. To truly increase productivity, 9+ hours of uninterrupted sleep the night before is the real solution.

  14. Temperature Control by tansey · · Score: 4, Interesting

    You'd be amazed how much better you work at 65 degrees than say 72. The building my employer recently moved into is new, and was designed for normal 9-5 business days, so after 5:30, the AC cuts off and by 7 the temperature is around 75 degrees. Since I'm much more of a night person, I come in around 1pm every day and stay til around midnight--or at least I did until we moved into the building.

    The few of us who stay past 7 have all come to the conclusion that heat will make your brain slow down a LOT. It's gotten to the point where I just started going home at 8 or so because I would accomplish absolutely nothing by being there.

    So my advice is to make sure you keep your work environment at a slightly-less than relaxing temperature, just to make sure you stay on your toes.

    1. Re:Temperature Control by SubliminalVortex · · Score: 1

      So why have the number of "ice-cream" men been diminishing over the years?

    2. Re:Temperature Control by Anonymous Coward · · Score: 0

      That is an interesting idea, however I remember an article from last year that said the exact opposite was true: people are significantly more productive in warmer offices.

      http://science.slashdot.org/article.pl?sid=04/10/2 1/1421251

      To each his own, I suppose.

    3. Re:Temperature Control by r00t · · Score: 1

      At that temperature, I'd have my feet up on the seat and I'd be hugging my knees to keep them warm. All the hair on my arms would be standing at attention. My fingers would suffer reduced blood circulation, becoming slightly numb, off-color, and shrivled.

      Best is 81 degrees (22.22 for the French) while wearing shorts and maybe a T-shirt.

    4. Re:Temperature Control by Reziac · · Score: 2, Interesting

      I forget if it was here on /. or where, but I just read an article about some research into temperature vs. productivity, and turns out that contrary to popular belief, most people work better in a comfortably warm environment (IIRC around 75F), and that dropping the temp to 68F was not such a good idea after all.

      Yeah, some individuals' metabolisms run at different rates, and it also depends on what sort of work you're doing (if you're furiously chopping wood, you can be overly warm at 10 below zero, even in just a T-shirt).

      But for average folks, keeping the workplace a little warmer makes sense, since if you're chilled, the body responds by limiting the blood supply to the extremities, and eventually to the brain as well. Remember that one of the risks of hypothermia is disorientation or loss of cognitive function, and if you're sitting in a 65F office all day, you *can* become mildly hypothermic.

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    5. Re:Temperature Control by Anonymous Coward · · Score: 0

      Oh man, you must be fat. Even my fingers wouldn't move on low temperatures, let alone brain cells.

    6. Re:Temperature Control by Jasin+Natael · · Score: 1

      If you can, change your chair. I recently changed my office chair from a traditional work-chair, to a full-mesh (see-through seat and back) model, and have found that I do stay much more alert. This is the case when driving, too -- if there is no circulation at the seat and back (leather seats, etc.), I'll often find myself becoming sleepy at the wheel. You might just get an extra hour or two of decent work in the evenings.

      --
      True science means that when you re-evaluate the evidence, you re-evaluate your faith.
    7. Re:Temperature Control by gozar · · Score: 3, Informative
      You'd be amazed how much better you work at 65 degrees than say 72. The building my employer recently moved into is new, and was designed for normal 9-5 business days, so after 5:30, the AC cuts off and by 7 the temperature is around 75 degrees.

      I think the fine folks at Cornell would disagree with you.

      --
      What, me worry?
    8. Re:Temperature Control by Rob+Simpson · · Score: 1
      The link you provided said a powerpoint(!) version of the study could be found at http://ergo.human.cornell.edu/ but upon searching, the only thing I could find was this:

      Optimum comfort temperature may be higher than optimum productivity
      - Heat stress effects on performance are not always linear
      - In temperate zones:
      - Critical temperature for performance decrements is 30C
      - Accident rates increase 30% at 24C and are lowest at 20C
      - Moderate heat stress:
      - impairs efficiency in men > women
      - Interacts with fatigue to decrease efficiency
      - Interacts with age and accidents (at 20C there is no correlation, between 22-30C age accounts for increasing variance up to 40%

      Temperature and Productivity
      - Without incentives or knowledge of results more typing work was done at 20C than 22C (New York State Commission on Ventilation, 1914)
      - Office task performance was slower at 21C than 24C, when subjects were thermally neutral, but was faster at 18C than 21C (Langkilde, 1978)
      - Optimum industrial work temperature is 17-24C
      - Skilled arm movements are optimum at 21C (13-29C)
      - SBS reports increase above 22C

      It seems that they don't disagree...

    9. Re:Temperature Control by Anonymous Coward · · Score: 1, Insightful

      "the body responds by limiting the blood supply to the extremities, and eventually to the brain as well."

      Your body won't limit blood to the brain in an office setting; that doesn't happen until you are about to die.

    10. Re:Temperature Control by Reziac · · Score: 1

      Actually, if you are hypothermic long enough, it starts to have an impact on the brain as well.

      But probably more relevant to the usual suit-and-tie office was a study that found TIES are a problem -- many men wear them too tight, sufficiently so to restrict circulation to the brain. One also has to wonder if this contributes to aterial blockages, by inducing a choke point where bacterial plaque is more likely to accumulate. [Arterial plaque has been found to be based on bacteria from the mouth, ie. secondary to bad teeth.]

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    11. Re: Temperature Control by gidds · · Score: 1

      Sounds a bit like the experiments that produced the Hawthorne Effect.

      --

      Ceterum censeo subscriptionem esse delendam.

    12. Re:Temperature Control by fbg111 · · Score: 1

      The few of us who stay past 7 have all come to the conclusion that heat will make your brain slow down a LOT.

      Next time you get a chance, try cooling your brain to absolute zero and see if it turns into a superconductor. Get a year's worth of work done in an hour. ;)

      --
      Flying is easy, just throw yourself at the ground and miss. -Douglas Adams
    13. Re:Temperature Control by Tower · · Score: 1

      Wow - it really is amazing how different people like different temps. I generally work in shorts and a short sleeved polo shirt, and find my office far too warm (usually over 75). At 81 I would be completely unproductive as I would be (even in low humidity situations) mopping my forehead any feeling rather uncomfortable. I need a fan in my office (cube) to keep the air exchanging with the hall and what not since the whole air system was poorly designed - when I enter in the morning my cube is already several degrees above the ones next to me.

      Just for reference, I am about 6' tall/ 175lbs and can run a 5k in 20 minutes... I am not suffering from the heat due to extra layers of subcutaneous insulation. I just have a different internal thermostat setting from some. My son is the same way as I am. My wife is the opposite. What is comfortable for her is too hot for me, and what works for me is too cold for her.

      65 would be great, 68-70 would be more than reasonable, I would think, given that it is always easier to put on another layer to keep warmer than... well, nobody wants an office of naked engineers and computer scientists all stuck to their chairs...

      --
      "It's tough to be bilingual when you get hit in the head."
    14. Re:Temperature Control by LoveGoblin · · Score: 1

      The catch with that link is that they're judging productivity as typing speed/accuracy. In which case I agree - have you ever tried typing with really cold hands? :) But if I'm doing something that actually requires some brainpower - like, say, programming - a warm room will just make my brain sluggish and my eyelids heavy. :p

  15. It's a bit sad by Anonymous Coward · · Score: 0

    That you must know Slashdot's IP addresses.

  16. I don't by JanneM · · Score: 5, Interesting

    I don't maintain focus for more than an hour at a time. In fact, I can't. And being involved in cognitive science research, I can state that for sustained work, neither can anybody else. Yes, once in a while, if your current problem is intensely interesting, you can zone out and work on it for many hours straight. But most work - however interesting it is - isn't able to grab your focus in that manner. To see it from another perspective, a movie is designed to grab your attention, is created by people devoting their lives to grab your attention as effectively as possible and has about every technical means short of drugs available to grab and hold your attention. And yet, few movies are longer than two hours, because people will not be able to hold their focus for much longer than that.

    If you try to force yourself by having only your work available and forcing yourself to sit on front of it, all that will happen is that after an hour or two your thoughts will start to drift, you'll get stuck in a rut reiterating old thought processes, and you may even nod off for short periods due to the imposed lack of stimulus variation. In short, "maintaining focus" is a good way to sink your productivity.

    Instead, accept that you can't single-mindedly focus on any one thing for more than about 45 minutes to an hour (there's a good reason class time seems to have converged to about 45 minutes the world over). Do one of these things in combination:

    * Get up, stretch and move about a bit. Go look out the window, find someone else on a break and shoot the breeze for a few minutes. Leaf through the morning paper, trade magazine, or that 2001 office supplies catalogue you never seem to get around to throw away. Go over to Accounting and ask about that missing trsvel reimbursement. In short, get yourself exposed to some new stimuli so you canh approach the next hour with a fresh mind.

    * Have a secondary task you can switch to whenever you get bored with the main one. Maybe now is a good time to answer a few email, or write some documentation (there's always documentation to write). Really the same thing as above - get some new stimuli - but with more of a work focus.

    * Set a goal for the day. And when it's done, quit. Sure there's more work to be done - but there's always more work to be done. You can stay 24/7 and there will still be more. Do what you set out to do, then go home. With a definite short-term goal, pacing yourself is easier, and it's much easier to focus on a comprehensible, digestible chunk of work.

    --
    Trust the Computer. The Computer is your friend.
    1. Re:I don't by Josuah · · Score: 3, Interesting

      Instead, accept that you can't single-mindedly focus on any one thing for more than about 45 minutes to an hour....

      Or perhaps it takes a certain mindset. I have no trouble doing this when it comes to coding. But then I also have no trouble doing other things for hours on a time, including movies (all three LoTR:EE in a row), TV shows (10 episodes of 24 in one sitting), video games (earlier Zelda games in one sitting), books (read for hours straight). Earlier today I think I spent about 2-3 hours working on my postfix settings and I didn't even realize it'd been that long. There was one summer I coded for 16 hours, slept for 10 hours, and repeated that schedule for maybe two weeks.

      I'm not trying to toot my own horn. I just think making that generalization based on what you've learned in CogSci might be an incorrect generalization to make. Sure, all of those things interest me, but I've found myself doing that even when I don't particularly like what I'm doing. I have a compulsion to finish things, which one of my coworkers finds idiotic. He'd just stop watching a bad movie whereas it wouldn't even cross my mind to stop watching (and only watching, not doing other things at the same time).

    2. Re:I don't by Anonymous Coward · · Score: 0
      "... neither can anybody else. "

      I have no idea what research shows, but if it's as you claim, I can assure you that it is absolutely dead wrong. There is absolutely nothing like the feeling of staying focused on a problem for hours. I truly enjoy this type of work, and am not fully happy, nor as productive, when I don't have this type of intensive focus.

      But then, I love my work, and I love challenging problems. Granted, the type of problems I get are more challenging than what most programmers see (bringing up software on new hardware, or obscure kernel problems). But that's what is required in order to be good at this sort of thing.

      So your research is quite off. At least as it applies to some people. For general grunt work, I'd agree though.

    3. Re:I don't by Jeff+Molby · · Score: 1
      And yet, few movies are longer than two hours, because people will not be able to hold their focus for much longer than that.
      That and it gets awfully hard and expensive to keep a plot good after two hours.
    4. Re:I don't by siride · · Score: 1

      Why are you disagreeing with him? Everything you said agrees with what he said.

    5. Re:I don't by spx · · Score: 1

      Same, even though sometimes I get bored. I currently work from home (office being remodeled), so I have to either take a break for awhile and find something to interest me for like 30 minutes or go ahead and multitask, so I am not bored. I get bored *way* too easy, drives me batty sometimes. I can easiley (when not working), sit on here, or another forum and spend 3 hours just reading whatever.....good and bad at the same time. Sidenote: I find I work better w/o eating breakfast, need music in the backround (so its not dead silent) & funny little things around my desk so I can take a peek and giggle from time to time, so Im not sucked down into the work hell.

    6. Re:I don't by Javaman59 · · Score: 1
      Great post! Thanks for that bit of science which backs up what we've learnt from experience.

      Have a secondary task you can switch to ... write some documentation
      Good idea. I like to look for a secondary task, but often it's not obvious, so I just drift on to the web. I think that if I kept a document as a "work in progress" to switch too, then that would give me more healthy alternative.
      --
      I'm a software visionary. I don't code.
    7. Re:I don't by Anonymous Coward · · Score: 0
      Uhh, no.


      You mean like his statement "Yes, once in a while..."? Or perhaps his statment "But most work - however interesting it is - isn't able to grab your focus in that manner". And of course there's the original statement that I already mentioned: "I can state that for sustained work, neither can anybody else."


      Kindly show me what I said that agrees with any of the above statements. My experience is absolutely contrary to his claims.

    8. Re:I don't by LoveGoblin · · Score: 1
      ...making that generalization based on what you've learned in CogSci might be an incorrect generalization to make.

      With the disclaimer that I don't know anything about cognitive science, I'd like to say this:
      Welcome to the wonderful world of the Bell Curve! I hope you'll enjoy your stay here at the far right side of it. :P

  17. Focus? by cbiltcliffe · · Score: 1

    What focus?

    If I was focussed, I wouldn't be reading /.

    --
    "City hall" in German is "Rathaus" Kinda explains a few things......
  18. A little stress is a good thing by JavaRob · · Score: 3, Insightful

    I work independantly as well. It can be tough to work up the motivation to get going on things, and I occasionally have the experience of realising at 10pm that I've spent about an hour of billable time that day -- the rest was running errands, procrastinating, websurfing, reading news, socializing, etc.. Sometimes I'll then work another 7 hours, which sometimes works okay (sometimes my brain really starts clicking only late at night)... but of course makes it that much harder to get started the next morning.

    Of course, the answer is self-discipline, time management, etc., but there are a lot of factors that affect how successful I am at that. Here's what I'm watching properly during the times that things are really working well:

    * Personal physical factors: I avoid caffeine, because it keeps me "awake" but destroys my focus. If I'm really focused, I simply won't get sleepy anyway. I avoid all alcohol during the week, and avoid sugary things at night, because those both affect my sleep patterns and sharpness in the morning. Proper sleep also makes a huge difference to focus... if I only slept 3-4 hours, even if I'm wide awake things just don't seem to get done.

    * Project factors: an interesting project that uses my knowledge/skills but also brings in some new things is much easier to work on. Boring projects (just solving the same old problems again in a slightly different way), overly tedious/frustrating projects (like cleaning up someone else's mess or working with really buggy APIs), or overly daunting projects (working with a new language, in a domain only vaguely understood)... that's when I end up bouncing off the work into random other activities like a stone skipping off water.

    * Work organization: I try to stop periodically to make priorities lists and to-do lists, and to break down tasks into smaller and smaller sections. It's important for scheduling purposes already, but the mental benefits are also huge. You can hit lots of little goals to keep you going, like "just get this query finished, send that email, then I can break for lunch".

    * Breaks: get up and walk around when you're stuck. Don't just sit in your chair (or take a break by going off to check /.) -- walk around and maybe get some fresh air. Let your mind play with the problem and come up with some new solutions to test out before you go sit down again.

    Now I just need to follow my own rules *all* the time....

    1. Re:A little stress is a good thing by D'Sphitz · · Score: 1

      I occasionally have the experience of realising at 10pm that I've spent about an hour of billable time that day -- the rest was running errands, procrastinating, websurfing, reading news, socializing, etc.

      OMG are you me?

  19. Have a goal but remember when to FIDO by RobertLTux · · Score: 1

    If you want to do "something" and want to push yourself to get "something" then go for it but if you have the money to tell your boss to "take this job and Shove it!!"
    (ie six months worth of wage and relocate money). then don't push yourself*
    Dispair inc probably has a response to the "shoot for the moon if you miss you will be among the stars" that works out to
    Actually your results will be
    1 a large crater when you hit the ground
    2 LEO is very cold
    3 and what use is being off planet anyway??

    Just whatever you do make sure that you are moving slow enough to say "Hello WALL" and not "Hell[Splat , thud ,dripp drip]"

    just remember that if you hork one client your next client may be a friend of the first or worse be in a club full of "next clients" the Good, Cheap ,Fast Triad is quite wise

    --
    Any person using FTFY or editing my postings agrees to a US$50.00 charge
  20. Concentration is a rare commodity by Mumpsman · · Score: 2, Insightful

    Since I've taken a stand in my life to only work 40 hours a week, I'm limited to working 8 hours a day. 2 to 3 of those hours are spent responding to e-mail, which requires very little concentration. "It's possible, but will take 30 hours...I can fit you in next September...What is your business need?" So I get all of my coding done in the morning, take a late lunch, then respond to all my emails in a food coma induced zombie state. Then I eat a chunk of dark chocolate, roll down all my windows and drive home.

    --
    No battles to the death are recalled. Mumpsman can hit to attack and cause brainsmashing.
  21. Citrus Drop by iced_773 · · Score: 2, Insightful


    Does diet and/or coffee consumption make or break the deal?

    Go to Kroger and get the store brand of Mountain Dew. It's called Citrus Drop. Whenever I need to concentrate, I chug one. The resulting burning feeling in my head from the caffeine and the fresh carbonation greatly improves my focus for the next hour.

    However, don't do this right before a gaming session. You'll just get jittery.

  22. crtl-r by muftak · · Score: 1

    spend all day refreshing slashdot

  23. Music by WasterDave · · Score: 4, Interesting

    Get a favourite album, one you know well. Put it on repeat, drop into the zone and code for an hour or so. Do this for ... dunno, maybe twenty or thirty repetitions and you'll quickly find that putting the music on drops you into the zone whether you want to or not. As an added bonus you'll find memories associated with the music so getting back into the work is faster.

    Clearly you're going to need to change music from time to time but because of the memory associations I suggest you have an album per module, or per project, or whatever suits you. The memory associations also make maintenance easier.

    But, danger! Do not listen to the work album and fsck about!

    As a starter can I suggest "Snivilisation" by Orbital.

    Cheers,
    Dave

    --
    I write a blog now, you should be afraid.
    1. Re:Music by ryl000 · · Score: 1

      I'd second this notion. I used to do this in college, where I found that blasting New Order through my headphones did more for my concentration than the quietest library ever could. Nowadays, I've got 80+ hours of random MP3s at work to zone out to.

    2. Re:Music by Reziac · · Score: 2, Interesting

      I do something similar both for work, and for taking a nap.

      I have a playlist called "naptime", which is all my faves from one particular group, always played in the same order. I start WinAmp with the volume just high enough to be able to make out the words, flop down on the couch, and by the 3rd song I'm asleep from sheer habit. And somewhere during the last couple songs, I wake up.

      The object of a nap is to get some rest without going into deep sleep (since once that happens, the whole ~2.5 hour sleep cycle has to run its course, or you'll be groggy until it would have). The music triggers the nap, prevents it from delving into a too-deep sleep cycle, and provides the wakeup trigger as well.

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    3. Re:Music by Frumious+Wombat · · Score: 1

      I've done the music instead of coffee as a wake-up move before, and it seems to work well, without the acid stomach of too much coffee. Just be picky; Wagner/Bartok works better than Brahms/Chopin. New-age white-noise is right out.

      --
      the more accurate the calculations became, the more the concepts tended to vanish into thin air. R. S. Mulliken
    4. Re:Music by Gribflex · · Score: 1

      One danger I've found with music is that if it has words that I can listen to or a tune that I can hum along to, I will. Meaning, I will sing or hum instead of actually working.
      To get around that problem, while also repeaing the benefits of using music to help me focus, I've started being very selective about the sort of music I listen to.

        - Electronica tends to be good (no words). I like Groove Salad on SomaFM.com
        - Non-english music works well for me. Particularly Hindi and Mandarin. The tricky part is finding music in other languages that's in a genre you don't mind listening to (Mandarin music, for example, tends to fall into the 'adult favourites' category. Chinese John Tesh is just as bad as English John Tesh).
        - Very, very loud punk. If it gets loud enough, I stop listening to the words.
        - Some Jazz and some classical.

      The other trick that I've found useful (although it sounds silly) is that I wear my headphones even when there is no music playing. I find that they damper sounds enough to keep minor distractions away. Also, they provide a psychological trigger that helps me to work. It's weird - but it works for me.

    5. Re:Music by Mark_in_Brazil · · Score: 1

      In my experience, the greatest work music is the Brandenburg Concertos. My sister gave me a 2 CD set back in about 1988 or so, and I've been using them for heavy studying or work ever since. I very rarely listen to them just to enjoy them (it has been years since I did), but as the parent post notes, that actually makes them more effective as work music. When those CDs (or the MP3s I ripped from them) are playing, I find it much easier to get into "the zone" and work productively.

      --
      "It is nice to know that the computer understands the problem. But I would like to understand it too." --Eugene Wigner
    6. Re:Music by Liquid+Len · · Score: 1

      Actually I follow the same recipe. But my work involves pretty deep thinking and after a while, I usually find myself throwing away the headphones because the music is actually distracting me slightly, and I can't focus as much as I would. So, I guess music is my way to get started, but after a while, I don't need (want) it anymore.

    7. Re:Music by Tweekster · · Score: 1

      EDM is always my preference

      Get some techno/trance. Something uplifting and lacking vocals.

      It keeps you energized and not distracted.

      --
      The phrase "more better" is acceptable English. suck it grammar Nazis
    8. Re:Music by S'harien · · Score: 1

      Philip Glass works best for me, my favorites are the scores for the Qatsi trilogy. Usually no words, if there is singing it's usually nonintrusive chanting or choir-type stuff. The music has sort of a progressive/evolutionary feel about it that makes me feel like accomplishing something. When I get bored, I can watch the accompanying video images and seeing all the people hard at work (in some scenes) also motivates me.

  24. Here's what works for me by hobuddy · · Score: 4, Insightful

    My work environment is very flexible, so I'm pretty much free to structure my time, as long as I get the work done. But let's face it: a larger slice of programming than we'd like is friggin' boring drudge work. Here's the most effective strategy I've found for concentrating on work:

    - Get enough sleep, and get up early (heresy for a geek, I know).

    - Have some breakfast and then *dive right into work while you're still fresh*. Don't squander these precious hours on Slashdot and Reddit! Do 3-4 hours of work until your morning high is gone.

    - Then stop and do some very intensive physical exercise for 45-75 minutes. By "very intensive", I'm talking about the frothin-at-the-mouth, panting, totally-drenched-in-sweat kind of stuff. My chosen exercise is to split firewood with a maul, at the fastest pace my body can handle.

    - After going all out on the exercise, take a shower.

    - Eat lunch and enjoy a bit of leisure (read Slashdot or whatever). At this point, the post-morning-high crash is long gone, but it should have been replaced by a feeling of relaxation (because of exercise -> shower -> lunch), but still with adequate energy because the exercise revved your body up. I find that if I don't do the (very intensive) exercise, I tend to be very sleepy from the time the morning high wears off until the end of the work day.

    - Do another 3-4 hours of work. You'll probably find it easier to concentrate on boring work during this period of the day, since you'll be mellowed by the exercise -> shower -> meal.

    - If 6-8 hours is enough, you're now done for the day. However, I sometimes find the very most boring work most tolerable between 8 p.m. and 10 p.m., when my body is winding down toward sleep. Just don't do anything so absorbing or intellectually taxing that it wakes you back up, or you'll be up really late.

    I know these suggestions are not realistic for most people, but for those who work from home, they're feasible. That mid-day exercise provides a huge boost to my ability to concentrate.

    --
    Erlang.org: wow
    1. Re:Here's what works for me by bazorg · · Score: 1

      My chosen exercise is to split firewood with a maul, at the fastest pace my body can handle.
      our hacker neighbour is at it again! keep the noise down buddy!!!

    2. Re:Here's what works for me by commanderfoxtrot · · Score: 1

      I also find cold showers help after exercise.

      --
      http://blog.grcm.net/
    3. Re:Here's what works for me by Anonymous Coward · · Score: 1, Interesting
      - Get enough sleep, and get up early (heresy for a geek, I know).


      You know, this helps quite a few things. Not only does it increase work performance, but other tasks like effectively studying or losing weight (or gaining weight if you're a lifter) have been linked to getting the proper amount of sleep.

      Have some breakfast and then *dive right into work while you're still fresh*. Don't squander these precious hours on Slashdot and Reddit! Do 3-4 hours of work until your morning high is gone.


      Eat a fairly high protein breakfast and find a way to work a teaspoon of cinnamon onto your toast. This helps with blood sugar issues.
      And yes, if anybody wants to google cinnamon was inadvertantly found to have a positive effect on lowering blood sugar.

      Then stop and do some very intensive physical exercise for 45-75 minutes.


      This works, and another way is that if you work in an environment with a gym you can get to at lunch, learn how to deadlift, squat, do pullups, and military press. They're all very practical strength exercises, and after you learn proper technique they've been shown to have a tonic effect. Shoot for warming up and then doing three sets of 3-5 reps of each, heavy weight. Don't do all exercises every day though, say Mon-Weds for squats and military press, Tues-Thurs for deadlifts and pullups. Friday: go walk.

      If you can't do that, go for a brisk half hour walk.

      - After going all out on the exercise, take a shower.


      Or risk being unpopular with the coworkers. ;)

      That mid-day exercise provides a huge boost to my ability to concentrate.


      Indeed!

    4. Re:Here's what works for me by pklinken · · Score: 0

      you must have a lot of firewood..

  25. I don't. by RyoShin · · Score: 1

    If you're already making more than you need, why work more? Go to the park, watch some TV, rent a hooker, something. You have the free time without the worry, so go make use of it. I would love to only work 25 hours a week making more than I need.

    Anyway, as to how I maintain my work focus- I don't. I've always had a poor short term memory and get distracted easily, so whenever I get something new to do or to get, I write it down. On a notepad, in a task file, anywhere that I can regular check when I say "Now, what the hell have I been working on?"

    According to a friend of mine (I don't have enough money to do this myself) having two monitors can really help. Dedicate one window to mainly work, and the other to mainly fun. If you feel yourself getting bored, just turn your head slightly and read some Slashdot. The work will be right there, in the other monitor, staring you in the face. If you get a stroke of inspiration, you just turn right back.

    Also, don't sit at the computer all the time. I worked in tech support for a small company for a while, and it was refreshing to get up and walk to someone else's desk to help them with a problem, or to replace a bad monitor/keyboard/cup holder. (I didn't have my sleep apnea diagnosed at the time, so I was tired all the time, but it still helped.) My new job as a programmer has me sitting in front of a computer for eight hours straight. We're allowed two fifteen minute breaks and a half hour lunch. The work environment doesn't really allow for personal web browsing, goofing off, or going somewhere for lunch. (Yes, I do hate it, but it's for an internship and is providing some great experience.) However, even taking a ten minute or so walk around the building is helpful in re-energizing me, at least for a bit.

  26. Re:I think (of siestas) by SubliminalVortex · · Score: 1

    Holy hibernation Batman! They trained me in kindergarten to take naps when I didn't want to take them. What's the use of training a child (who is against them) to take naps when they aren't allowed to have them in the future workplace! The public school system needs to learn that the "real world" is full of coffee and danish, not tasty paste and naps!

  27. Are you sure you're making more than you need? by Pyromage · · Score: 4, Insightful

    If it weren't for all the other people here saying 'enjoy the time off' I wouldn't say this, but: *no*, you're *not* making more than you need!

    Ok, maybe you are. But I doubt it. First, a contracting career is not secure. That's why they pay you a premium: because you constantly take the risk of being fired without another gig lined up.

    Secondly, how much are you saving? Emergency funds? Retirement nest egg? Do you have health insurance, 401/k, etc? Contractors usually don't.

    Just because you're more than covering all your bills now doesn't mean you're making enough. If you don't have enough cash or readily liquidatable assets to cover 6 months expenses, I wouldn't be 'not worried', I'd be absolutely panicking.

    My serious advice: see a financial planner, figure out how much you should be saving. Get a second contracting job to fill the other 20 hours of a full work week. You should be able to more easily focus when you have totally different projects.

    And as far as motivation goes, shipping quality products to customers who appreciate it is more than enough motivation. I love seeing a hearing a customer tell me he's happy with the product, even though it cost him around $300k.

    1. Re:Are you sure you're making more than you need? by nolsen · · Score: 1

      Very good advice. Especially if you haven't thought about retirement/don't have retirement savings covered. You can never have too much money to stash away for later. Invest it, forget it exists (within reason) and enjoy later.

  28. Ritalin! by wemgadge · · Score: 2, Interesting

    (I'm adult ADHD)

    --
    -- Cheers!
  29. TPS reports by Anonymous Coward · · Score: 0

    Thay try force us to stay focused by makeing us doing TPS reports

  30. Why? by Zadaz · · Score: 2, Interesting

    Sounds like you are focused enough to make enough money. Take some time and enjoy the other 143 hours in the week. What's the point in making more money if you're working too much to enjoy it?

    I saw the coroner van in front of a $10 million house on Friday. See all the good that money did the dead guy.

    As a contractor for 12 years I found that I get more down in my part-time hours than most people get done in their full time jobs. What's the lesson there? Double my rates.

    On topic, you can stay focused by paying attention to your productive cycle. Do you work better in mornings? Evenings? Do you work better on a four or six day work week? My most productive times are 2-7PM and midnight to 5 am on a thirteen day work cycle (10 on, three off).

    Also you should have a designated office space if you're working from home, something closed off from the rest of your home so you don't suddenly realize you need to do dishes or get the mail, etc.

    If you don't have a lot of time specific events (calls, meetings, etc) throw away your alarm clock and find your natural sleep schedule. It will take around 6 weeks. Waking up and falling asleep naturally helps prevent fatigue and keeps you alert, and prevents burnout and mistakes.

    Take time to eat proper meals, and don't eat sitting at your desk. Eating properly will help your concentration and leaving your desk will a) keep you from becoming a fat bastard, and b) induce more natural breaks from your work.

    Of course some people just can't work in an unstructured environment. For them it's back to work.

    1. Re:Why? by Anonymous Coward · · Score: 1, Funny

      I saw the coroner van in front of a $10 million house on Friday. See all the good that money did the dead guy.


      Do you live in New Orleans? Maybe it was the coroner's house.

  31. Several suggestions... by wanax · · Score: 3, Interesting

    1) Work in a cool & dry environment. If it's too humid or warm, you'll get lethargic and have trouble getting motivated.

    2) When you're sitting in front of the computer and the work is just not happening, and you've reloaded slashdot 5 times in the last 5 minutes etc, get up and take a break. Don't force yourself to sit there. Walk around the room, or better yet that's a good time to walk to the store and do errands.

    3) On the similar vein to #2, get yourself on a normal exercise program. Not a beat-the-crap-outta-yourself one, but something like trying to bike for an hour a day. When you're not motivated to work, get on the bike and go work out. It'll both give your mind a chance to float (and often come up with an idea about what you're working on), but once you make this a habit, you'll be more invigorated when you're done.

    4) Most people can work most efficiently on stuff like programming immediately after they wake up (whenever that is ;p). I find that if immediately after I wake up, I sit down in front of the computer and work until I'm bored it really makes me get a lot more work done. On the other hand, if I sit down in front of the computer and start checking news sites, etc. then it often takes me a lot longer to initiate doing the real work.. which is the major struggle in the first place.

    5) In terms of diet, caffeine and stuff like that.. I personally find that I work best when I'm not drinking, not eating sugary things that'll cause my blood sugar to fluctuate, and not on caffeine unless I absolutely need to stay up because a deadline is looming (another advantage of that is the caffeine works a lot better).

    But beyond that, I'd echo other people's comments that if you're not having a problem supporting your lifestyle workings 25hrs/week, then take advantage of that and do things you find fun, indulge your hobbies etc. Chances are you'll wind up being forced into 40+hr/week situations for periods in the future, so take advantage of your current situation.

    1. Re:Several suggestions... by ShaunC · · Score: 1
      I personally find that I work best when I'm not drinking
      I know that you were talking about caffiene, but your comment struck me with some significance.

      I've found that if I have a particularly tough time getting motivated, a couple of drinks will often soften up the boredom enough, and relax my brain enough, that I'm able to get back into things. I suppose it's all about defining "the zone" that others have mentioned here, and that every programmer knows about. In my experience, you will accomplish your best work when you're just shy of comfortable; for me, "comfortable" frequently equates to inebriation, and thus I tend to perform very well after imbibing a bit.

      Disclaimer: this applies to the work that I do from home (e.g. what I'm working on now, at zero dark thirty), and not to the work that I do at work. I do not drink during the workday, and if you don't work at home, I don't suggest that you do so either.

      I totally agree with regards to your points 1 and 4. The cooler the better, and I'm much more productive before lunch than I am after lunch. Make hay while the coffee's fresh!
      --
      Thanks to the War on Drugs, it's easier to buy meth than it is to buy cold medicine!
  32. structure your work into small tasks by witte · · Score: 1

    This may be self-evident for most slashdotters, but I found that when I get the time to think about whatever it is I am supposed to accomplish, and plan it out ahead into simpler tasks, for example in a tree structure according to scope / dependence (eg. for software : Project plan + requirements doc -> use cases doc -> functional specs ) :

    - I get things done in time, and because I can finish-and-forget small bits, I get the warm fuzzy feeling inside of getting yet another thing done/leaping another hurdle. This also helps staying motivated, not in the least because you can track your progress.

    - The completion time of a given project decreases (as opposed to just starting and see where you wind up) because everything was planned out in advance : every task corresponds to a given sub-problem/use case/functionality/... and going back and fixing issues becomes that much easier because you can place everything in its proper context.

    Proper preparation may not be the proverbial holy grail, but it helps a LOT.
    Also, this is useful for reporting to your clients and discussing matters with them.

    Other notes :

    - You will have to maintain your documentation/planning for larger projects in addition to implementing your solution, but for non-trivial projects your docs become the spine of your project, and they assure you when things go pear-shaped : if you have a rough time with a specific problem, you can isolate it from the rest of your project and dedicate the necessary resources to it (if the cost doesn't run too high).

    - If you are unable to properly plan your project ahead you are probably not the right person to do the job, you will get stuck or lose a lot of time in research. This is of course interesting in situations where you are unexperienced, and a great learning experience when you can benefit from a bit of coaching from a more experienced peer. But it's not acceptable for a lone-wolf 'expert' contractor at a client site (unless your client is ok with this -- usually they aren't).

  33. Re: How Do You Maintain Your Work Focus? by techno-vampire · · Score: 1

    Don't laugh. I've seen a photograph of a retired professor of math holding up a cardboard sign reading, "Will solve partial differential equations for food!"

    --
    Good, inexpensive web hosting
  34. Knowing when to break by Hallous · · Score: 1

    I usually in the morning will catch up on what is new in the industry by reading various blogs and of course slashdot. I'm a java guy so I'll check out sites like theserverside.com. Then usually I'll start in on whatever I'm suppose to do. Fortunately, for me, my company likes me doing R&D most of the time so that means I get to play with new technologies (EJB 3.0 for example.) this is a lot of fun but it can still get boring. About every hour or so I take a walk around the builing and chat up anyone who is willing to listen. Another thing I do is walk around the building outside which is great for contemplating ifs, whys, and buts. Another thing that helps me focus is to keep work very casual. I like to joke around with my fellow developers and more often then not you'll find us yelling back and forth across cube walls. This makes work fun, I don't think you could find this in contracting though. In my company our development is physically seperate from everything else so we can get away with just about anything.

  35. Environmental differences by SocialEngineer · · Score: 2, Interesting

    For me, it really depends on the environment.

    While at college, I'd usually get the most work done listening to a loop of some pumping Nine Inch Nails while in a public place - people are usually too intimidated to walk up to you when you are banging your head and the keyboard at the same time (that is how I did a semester of programming in 3 days - 12 hours each day).

    For my current primary job (graphic artist and web developer for a newspaper), I'm lucky to not have to come in until 9. I'll usually come in, check my e-mail, plan out the order-of-business, and do misc things not directly related to graphic design or web development (my primary duties) - not wasting time, mind you (I have a few duties that are more organizational than "turn-crank, produce product"). I'll take my lunch at 11:30, come back at 12:30, and be ready to start cranking everything out.

    For my own web design business I run, I usually take my laptop into a public setting (I prefer the local coffee shop). I welcome interruptions, just because most people know I don't necessarily want to stop for a long period of time. Every half hour or so I'll have a 5-15 minute conversation. Sometimes I'll just quit working after an hour and socialize, but other times I'll work for 2-3 hours total, with solid productivity.

    It also helps, on occasion, to mix up whatever duties you have. I like to avoid doing the same thing for more than 2 hours straight.

    --
    "Better to be vulgar than non-existent" -Bev Henson
  36. One word by Anonymous Coward · · Score: 0

    India.

  37. exercise, it's not just for jocks. by warewolfe · · Score: 2, Insightful

    For me it is a case of sleeping well and eating healthy and being fit. A decent cardio and weights session 3+ times a week helps with the sleeping, gives a decent appetite and helps keeps the mood up.


    I agree with those before who say take a break when you've lost focus. There have been more than a couple of times I've stared at a monitor for over an hour trying to force myself to see the bug, only to wander away for five minutes and come back to see the flaw straight away.


    Avoid places or situations where there are lots of distractions. There have also been times when I've been totally immersed in the code only to have somebody interrupt and to lose my place. It's not the ten seconds it takes to answer a question; it's the lost time it takes to get back in that mind-zone. (Little trick about working at home, have an agreed upon signal of some kind to tell people that it's absolutely not okay to interrupt you in anyway, I wear a baseball cap.)

    Oh, and coffee to maintain focus. Proven to aid short term memory and concentration (Or so they said in my introductory psychology paper, it may have been sponsored by nestle though).

    --
    Then again, I could be wrong.
  38. Headphones and MP3s by Black+Art · · Score: 1

    I have a hard time focusing. (Diagnosed ADD, among other things. And no, the drugs do NOT work for me. Not with serious and unpleasant side effects. Like losing weeks of memory.)

    I just shut out the world.

    I spent a hundred bucks on a good set of headphones for my laptop. I have a large collection of music on the hard drive.

    Lords of Acid gets me through the work day.

    --
    "Trademarks are the heraldry of the new feudalism."
  39. Consistantcy and the golden rule. by WgT2 · · Score: 1

    Be consistant:

    • Set up a regular work space
    • Keep it clean
    • Keep regular work hours
    • Keep a regular break and lunch schedule
    • Separate, as much as possible, your 'home-space' from your 'work-space'
    • Set goals for hours worked per week and per day
    Be your own boss:
    • Treat yourself as an employee
    • Treat yourself like you would want to be treated (hehe: kind of expected if not already practiced)
    • Construct as of the above as if you were going to be running THE BEST company in your field to hire and to work at: aim high

    Just don't fire yourself.

    1. Re:Consistantcy and the golden rule. by Kamineko · · Score: 1
      Just don't fire yourself.

      If you're doing that at the office, you need a serious rethink of your priorities.

  40. Outside of an office environment by nacturation · · Score: 2, Interesting

    However, the question stands: How do you work best outside an office environment?

    I think this is the key that many other people who have posted are missing. Outside of an office environment, it's really tough to maintain that discipline. There are too many distractions at home. Many can do it, but the majority aren't wired that way. So don't think that, short of drugs, you can just change a couple of things and magically focus twice as much. Odds are, you can't.

    My advice, having experienced the same thing, is this: find other contractors in your area who are in the same boat as you. Get together and get some office space and recreate the office environment. Generally what I've found is that what motivates people -- and I certainly fall into this category -- to work is being in an environment where everyone else is working too. Then when you stop working, you start feeling like the odd man out and want to work again. So if you can get a reasonable sense of the office environment, you can motivate yourself that way. And, if getting actual office space isn't feasible (and there are tons of reasons why it may not be a good good risk for you) then consider looking up various packaged/executive office spaces where you can rent a small office. If you're in a larger city, you're bound to find companies offering this service... generally anywhere from about $400 to $1000/month depending on size of office, what services are included, the going rental rates, etc. You often also get the benefit that they'll answer your phone professionally for you, which might be a plus for you too. If you're in a smaller city with a low cost of living, you might find something even cheaper. But the extra cost will more than make up for the increase in productivity.

    Or, partner up with a company that you've dealt with before. Many have more office space than they need and might be amicable to letting you take up an unused office or desk in exchange for some consulting work.

    --
    Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
  41. Ritalin, Whisky, Vitamins and Whores by Anonymous Coward · · Score: 0
    Ritalin will keep you awake and help you concentrate. Whiskey with vitamins will protect you from atherosclerosis, keep your arteries clear of plaque and help you sleep.

    When you get too exhausted, clear memory and reboot by getting a blowjob.

  42. Thank you CowboyNeal by Anonymous Coward · · Score: 2, Funny

    Above post made by Cowboyneal sitting at the server console.

    1. Re:Thank you CowboyNeal by Deltaspectre · · Score: 1

      ... :P

      It's all about hosts file lovin ;)

      --
      My UID is prime... is yours?
  43. Question poster, please just be grateful by Anonymous Coward · · Score: 0

    OK, I'd have to go with the general concept offered by a couple other posters.

    You're already making (earning?) more money than you need, yet not only want more but want others in the programming community to give you ideas about how you can stay alert enough to earn more?

    Please understand that I'm not trying to be rude, but I personally know programmers who have been forced to find other lines of work due to layoffs and to the general dearth of jobs following the "dot-com burst."

    If you find it hard to stay alert enough to earn even more than you've already admitted is excessive for you, please stand aside so that other people can step in and earn. Some (most) of these people have trained specifically to become programmers but got bumped out, and it's just possible that they can do a better job than you.

    Again, I don't mean to be rude at all and I truly wish you the best success in both your current job an any which may come in the future. Still, some may interpret your entire question as a slap in the face against those who have been working for years on end in programming only to be kicked out into the cold.

  44. Sit up straight! by adenium_obesum · · Score: 1

    I have found that a chair that is neither too comfortable nor too uncomfortable helps out a lot.

    Also, proper lighting helps. I hate working under fluorescents. My office has a south facing window and in the winter I get lots of sunshine coming in and I can work without my office lights. If I bring my laptop home, I like to sit at the kitchen table because the lighting is nice and bright. The family computer is in a dark corner and it's impossible to do any real work on that machine.

    Also also, if you have a boss it helps if he/she is out of the office a lot so you can actually do the work you've been assigned without having him/her dump more on you!

  45. Adderall by XaXXon · · Score: 1

    Seriously.

    I'd never kept a job longer than a year and half until i got a prescription for Adderall. Adult ADD is a bitch and seriously hinders one's performance at work.

  46. Focus by GreggBz · · Score: 1

    I work as a systems admin, and program games for fun. I say fun, but in reality it's not much fun anymore. The reality of it is, that the project I'm currently working on is so large, and so much work has been poured into it, that I can't foresee giving it up, so I continue to plod along. With that being said, I can relate to your circumstance. It's hard to get motivated at home. Here are some things I find helpfull.


    1.) Keep a bug / todo / wishful feature list with EVERYTHING you can think of on it. If you run into programmers block, visit that. Try to work on small things, with big returns. Features that provide quick reward. That gets me into the swing of things.

    2.) Determine you most productive hours and environment. Get into a routine around it. Develop a ritual and stick to it. Even if it's take a shower, make a cup of tea and eat an orange. That's mine and it's what I always do. My body and mind seem to know when it's time to focus because I have a pattern. Don't let anyone bug you. (Wife, BF, Cats, Mom - let them know when it's time to stop bugging you)

    3.) Music and fresh air really help. As does good lighting.

    4.) Listen to classical music. Really, it's provocative and relaxing at the same time and kind of encourages a mind grind.

    5.) Work with pencil and paper for a while on a nice big notebook. I do this often, when I need to design.

    6.) If you have a laptop and your really stuck, or have personal issues that are dragging you down, go to your local library and pick a cubicle. The library is where I do my best work because there are no distractions, clean air, good lighting, and it's a library, what else are you going to do?



  47. I Can't by Anonymous Coward · · Score: 0

    I can't which is why I'm currently unemployed. The work has to be interesting, which it was for a while but then I got put on a project which I could not get out of, and was incredibly boring. So now I have to find another job where the work will hold my interest. This probably sounds like a cop-out but I have not found any other way to deal with my problem.

  48. Things to keep you motivated by jarg0n · · Score: 1

    Pr0n

    Games

    Naps

    Caffine

    --
    Error 2101: all your sig are belong to us
  49. Re: How Do You Maintain Your Work Focus? by tloh · · Score: 1

    A couple years ago Linus came to speak at the monthly meeting of the San Francisco Bay Area Linux User's Group. They were giving out t-shirts with this on the front. It was kind of ironic because not soon after, One of the most visible linux companies in San Francisco (and a supporter/sponsor of SFBALUG) reached it's apex and began a downhill slide. What had been a cheeky joke had become suddenly very somber.

    --
    Stay sentient. Don't drink bad milk.
  50. overbill by Anonymous Coward · · Score: 0

    um, duh....

    use an agile framework like Rails, work for 4 and bill for 8.

    use the other four to play with your kids after school and build lego mindstorms and read slashdot.

  51. work vs. life by drDugan · · Score: 1

    get into a situation where you stop thinking of work as "work" but rather as your life.

    get to a place where over beers on sundays with friends you say things like, "And can you believe it, they actually PAY me to do it! I can't, I just to come in and do what I love and they give me cash."

    If you are having trouble with motivation on anything, it's because what you are doing is not what your brain wants you to do. There is a problem in aligning your interests with your actions. Meditate a lot. Read some books like "Do What You Are" and talk to a really good career coach, even if you have to pay them. You will figure it ALL out if you really want to.

  52. My Aunt said it Best "Mind to Task" by PDX · · Score: 1

    Morning hours for computations. Put in a 20 min nap at 1pm if you can. Avoid stimulants or else find a new brain to take your place.

  53. People by andy753421 · · Score: 1

    I'm currently working on a project and I find that I'm usually most productive right after talking about some aspect of the project with the other people working on it.

    I think part of this is because if one person is focused it seem to help keep everyone around them focused as well. Just keep away from to many jokes and off topic discussions (although a few are good). When I'm working by myself my mind will wander but if I'm working directly with others I have to stay focused.

    With small projects/teams this can be especially helpful because it will change up what you're working on from time to time and help get important things done first. For example, if you're asked whether feature X works (and it doesn't) you can implement it right away and take a break from what you were working on.

  54. DevPlanner helps me staying concentrated by cdevunit · · Score: 1

    Hi, I'm just planning my day and trying to keep promises to myself. At least once per 2 hours I'm reflecting what am I doing. This helps me staying concentrated on planned task. I'm using DevPlanner, but sure there are a lot of other titles.

  55. Lost focus already by Anonymous Coward · · Score: 0

    Oops, I already lost my focus while reading this article. And this was the first thing in the morning.

  56. ask an expert by thoughtlover · · Score: 1

    Ahh, my friend, I usually refer such matters to professionals.

    --
    No sig for you! Come back one year!
  57. Dridex by clambake · · Score: 1

    $150 a month and free weight loss to boot!

  58. Periodic Breaks by ggKimmieGal · · Score: 1

    In reality, studies have shown that mind jobs, such as programming, make people tired faster. Therefore, you do not realize it because the men upstairs don't want you to, but in an 8 hour day, they only really expect about 4 hours of real actual work. Now that's not to say you shouldn't go in at 9, stop at 1, and chill till 5. About every hour, I take at least a ten minute break. During that time, I walk away from my desk. I talk to my co workers about my weekend plans. I get something to eat. I just do not think about what I have been doing. When I come back I feel better. The key is, do not push yourself. Just do as much as you can comfortably do. Take breaks as you need them.

  59. Don't... by Starry-Eyed+Saint · · Score: 1

    There have been a number of psychology studies that indicate the usefulness of both short and long breaks. Nevermind preventing damage to your eyes by not looking at a screen, but a 10-15 minute break will allow you new stimuli (to keep your mind fresh), and a chance to push that problem you've been turning over into your subconscious. It's not by coincidence that 'sleeping on it' often makes whatever hard problem we have to deal with a little clearer and less complex. By distracting our consciousness from the problem it allows our powerful subconsious to take it over (the same subconscious that's capable of comprehending speech's sound waves and turning them into meaningful concepts, as well as many other amazing feats). In short, I stay focused by not staying focused. Aside: While caffeine can make you feel more awake, it's much more of a detriment in the long run. You'll get a burst of clarity but then be left largely befuddled by the drug itself... best to stay away from it.

  60. hmmm by rsperry79 · · Score: 0

    Focus on the number of stippers you can pay for. Find something stupid to buy, like a boat. Code for a Open Source project you LIKE. Just find something more in life than how many zeros you have to do nothing with. If that doesn't work, hire a geek dominatrix... type faster bitch, do it like I tell you too.....

  61. This can work pretty well by Xamusk · · Score: 1

    # aptitude install workrave

    http://www.workrave.org/

  62. I don't. by scumdamn · · Score: 1

    I'm a tech writer. I'm writing all the new content for Windows Vista. How could anybody stay focused through that? I just let my mind unfocus a bit and get stuff done.

  63. Its all about the monitor by treak007 · · Score: 1

    Try adjusting the settings on your monitor around. I find that having a certain resolution and refresh rate allows me to focus a lot more. That and a lot of mountain dew. Oh, and if you feel that your losing your concentration, go take a nap

    --
    Klingon Software is not released, it escapes, inflicting terrible damage onto the enemy as it does
  64. Hmm by GregNorc · · Score: 1

    Depending on your corporate culture (though personally I'd never work somewhere more concerned with appearances than worker productivity), I'd reccomend some music either on headphones if in a cubicle situation or softly playing in your office. Take a short break every 45 minutes. Once a day, have this "break" be your suck up period for your boss. Give him (or her) a general status report, inquire about any anything you need to ask, then ask him (or her) a few personal questions. You have no idea how asking how your bosses weekend went will help your career. Basically, when you take a break actually walk around, don't just read /.

  65. Identify your obstacles, stay sharp by deuterium · · Score: 1

    I often find that I encounter seemingly trivial setbacks that somehow end up taking forever to solve, such as an errant database connection or a z-index problem on a website or browser issues, etc. The documentation either doesn't address the issue or things simply don't work like they're supposed to. The snag isn't central to the actual project, but it ends up taking me forever to address, wasting hours of my time. Increasingly, I've begun to identify and define exactly what the issue is ("div over a windowed object"), and instead of continuing to work on it within the context of my project, I move on to something else. Later, at home, I create the simplest version of the snag possible, and solve it as an isolated puzzle.
    That's one of my typical productivity issues. The other is what I would call "overthinking" an issue. Too often, I find myself trying to think of the best possible abstraction for a system and end up avoiding the task because of the difficulty involved in trying to do so. The nebulousness of the problem doesn't allow me to solve it in a one or two hour session, so I put it off if it's almost lunchtime or if there's a meeting soon or if it's near quittting time, etc. In avoiding it, it only becomes more unworkable. I eventually am forced to make progress on it, and for some reason I then am able to break it down into smaller problems instead of being cowed by the abstract whole. The time pressure focuses me, as I no longer have a large amount of time to create the best solution, so I'm satisfied to produce a workable solution. This may just be unique to me. I don't know the idiosyncracies of other coders.
    Both of these boil down to the ability to break down your problem into workable pieces so that you can make progress regardless of limited time or perhaps just a bad day mentally. If you can budget your time into productive blocks (2+ hours at a minimum) and keep your brain sharp (get your sleep, eat right, exercise, regularly take any meds you may require) as well, you really can't do much else individually to improve things.

  66. It's part of the job. Environment & drugs help by Rearden82 · · Score: 1

    Here's what helps me:

    -Use a good, large monitor with the highest resolution you can see easily, set to the highest possible refresh rate.

    -It's amazing how a good quality mouse & keyboard can improve your work environment. $30 for a high-quality Logitech mouse to replace a 10 year old Microsoft POS is an excellent investment.

    -Get a large collection of music and the best headphones you can afford. Cheap uncomfortable headphones will just be annoying and induce headaches. Good ones will make your work much more enjoyable.

    -Ritalin. The thought of having ADD never really crossed my mind until I talked to my doctor about my problems at work. He diagnosed me for ADD, and I ended up nailing pretty much every symptom. He said that it's extremely common among computer programmers. Ritalin has been a miracle for me, especially when it comes to getting through boring repetitive stuff.

    This kind of frustration is very common, and it makes sense. Most of us are programmers because we enjoy the challenges, complex problems, and creativity that is inherent to programming. But we also end up maintaining software, making trivial revisions to other peoples' work, and doing repetitive, simple, boring tasks.

    That's somewhat unique to our line of work-- playwrights don't have to make copies and revisions of other peoples' plays. Automobile designers don't spend half their time bolting things together at an assembly line. I never saw the guy with the afro get interrupted in the middle of painting his "happy trees" because his manager needed him to go whitewash someone's garage.

  67. I use music and sometimes work on side projects... by Richard+Steiner · · Score: 1
    What do other programmers do to motivate themselves?

    I tend to listen to tunes a lot when I'm writing a lot of code or doing some heavy design work, and I find that certain types of music do help me focus. I also take web breaks from time to time, or sometimes I'll take a little time off to work on something completely different (since I wrote code professionally on two different platforms right now, I usually flip to the other side of my development life for 15-30 minutes just to clear my head out a bit). After the short break, I can usually dive right back in.

    Do you work a specific set of hours? In a specific location?

    Yes. I find that a consistent schedule helps me. I know when I'm supposed to be working, and I know how long I have until I can stop. A freeform schedule is harder for me to follow -- I need to have defined hours. It's a crutch of sorts, I know.

    Are there types of breaks that you find really increase productivity? Does diet and/or coffee consumption make or break the deal?

    I'll get up and walk about quite frequently when I'm working on something which requires intense thought. It helps me to get away from the desk for a little while so I can reflect on things.

    Do you end up working late at night for the quiet?

    No. I used to work later (usually noon until 8:30 or so) when I was at a previous position with very flexible hours, but I still went to my formal workplace every day. These days I tend to work from 10am local time until 6:30 or so. Consistently. It helps me to define a work context and helps me to get into a work-related frame of mind.

    I realize that on some level you just need to suck it up and put in the time, or stop worrying about it and enjoy your time off. However, the question stands: How do you work best outside an office environment?"

    I find that I have too many distractions outside the work environment. I can pull off working at home for a while, but it takes more effort for me to focus. If I'm actually at the office, I know I'm supposed to be working, and that helps motivate me to focus more.

    --
    Mainframe/UNIX Bit Twiddler and long time Windows/Linux Hobbyist.
    The Theorem Theorem: If If, Then Then.
  68. How do you maintain work focus? Easy .... just by nvatvani · · Score: 1

    MUTITASK! What are you doing now? You are at work, and you are reading Slashdot. If you wish to classify "reading" / "researching" as part of your work, I am pretty sure that it can be arranged. After all, you are programming .... right?

  69. Stop working and have fun. by Peganthyrus · · Score: 1

    "I'm making more money than I need."

    Try opening a savings account. Also try considering the luxuries you do have, which ones you really enjoy, and spending more money on them.

    Have you considered a vacation?

    "sometimes it's hard to stay focused for more than 5 or 6 hours at a time."

    Yes, this is why we have lunch hours, and why crunch time mostly just results in frazzled developers and probably less actual work done, once you factor in fixing your mistakes.

    I'm not a programmer - I'm an illustrator and animator. I work in a fairly technical fashion, and I've had issues in the past with my attention span. Know what's done the most to increase my attention span for stuff I really don't care to work on that much?

    Estrogen.

    Seriously.

    I'm somewhere in the middle of a male-to-female gender transition. When I was a boy, I simply could not make myself focus on something I didn't want to. All kinds of distractions presented themselves, constantly. Now that I'm on the other side of things, with a brain floating on estrogen, I have a lot more ability to just make myself shrug and work on something that's bringing in bills, and then guiltlessly go work on something for myself once that's done. And stuff gets done on time when the deadline and/or my estimate is sane. When something goes wrong like a file corruption, instead of flying off in a storm of annoyance, I can calmly assess the damage and recover what I can.

    And when I forget to order more in time, or when my supply's interrupted by customs siezing a shipment of hormones or whatever, it becomes a lot harder to focus.

    Now, I'm not saying you should dose yourself up on estrogen! But... chemicals can have a powerful effect.

    Oh yeah, and caffeine never helps me. When I try to use caffeine to stay up and work longer I just end up tired for longer 'cause I can't go to sleep.

    Mostly, though, in your case? Examine this urge to work more. You're working twenty hours a week and making more than you need. Invest, help out your friends, have some fun. If you want to work more, start playing around with personal projects. Nothing huge and ambitious, just stuff you want to make. Tools that scratch your itches. Games you think are fun to play. Maybe not even code - ever wanted to be a painter, a potter, a musician, a writer? Buy the tools you want. Buy the tools your previous line of work didn't pay you enough to afford. And use the time you have for yourself, not as a contractor.

    You're not gonna lie on your deathbed saying "Man, I wish I'd spent more time being a consultant and enhancing b2b synergenizitation of widgets".

    --
    egypt urnash minimal art.
  70. My personal pointers by UnahaClosp · · Score: 1

    Most important: Find a routine that works for you!

    My steps are more or less like this:
    * I come in late (I always come in at 9:43)
    * I don't work more than 1½ hour in a row (Except when I'm on a coding spree)
    * Make sure my desk & general work area doesn't have too many distractions. (Throw away the family photo's and post-its, that's what jpg's and txt's are for)
    * Eat lunch the same time every day (And I take around 1½ to 2h before I begin working again)
    * Good Headphones are great to ignore the outside noise/world and concentrate on the task at hand.
    * Skip the surfing in between breaks.
    * Don't be afraid to take powernaps (use an alarm and don't sleep more than 15-20min)
    * Be sure to do something with your spare time so life doesn't become one big routine
    * Get a reasonable goal to keep the big picture (My goal is a house in Spain when I'm 35)

    It took me around 2 years after I started working my first fulltime coding job before I actually found what routine that really works for me.

  71. More meetings by Ratbert42 · · Score: 1

    If you're getting 5-6 hours of productive work done on most days, you're about maxed out. It's a rare day that I can actually write productive code for 8 hours. You need to fill the rest of the day with reading, writing doc, building test environments, etc. Or meetings.

  72. WRT your tagline... by leonbrooks · · Score: 1

    About True science means that when you re-evaluate the evidence, you re-evaluate your faith, I have to agree.

    Most truly impressive scientific advances come with re-evaluations, as Isaac Asimov once put it, The most exciting phrase to hear in science, the one that heralds new discoveries, is not 'Eureka!', but 'That's funny...' which will happen more often to people who take a break and a fresh look, as you advise.

    Mr Asimov also needed to re-evaluate a lot of his own principles, even though he did fairly well for such a self-limiting personality. OTOH, while Charlie Darwin butchered quite a huge number of concepts very badly, he seems to have spoken this particular one pretty well: Ignorance more frequently begets confidence than does knowledge. The bottom line is to take a break, not disconnect yourself completely.

    --
    Got time? Spend some of it coding or testing
  73. Maintain Focus by DaveV1.0 · · Score: 1

    I don't.

    --
    There is no "-1 offended" or "-1 you don't agree with me" mod options for a reason.
  74. 4 day week? by shani · · Score: 1

    Since I'm much more of a night person, I come in around 1pm every day and stay til around midnight--or at least I did until we moved into the building.

    I'm not so good at mathematics, but I think that's 11 hours in the office a day.

    Do you work a 4 day week? If you do, you're "only" putting in hours for an extra half day per week.

    It's gotten to the point where I just started going home at 8 or so because I would accomplish absolutely nothing by being there.

    Oh wait, never mind. You only work 7 hours a day. Well done! :)

  75. Sorry? Coders won't understand the question. by pla · · Score: 1

    What do other programmers do to motivate themselves?

    You don't need to "do" anything to stay focused on programming... If you love doing it, your friends and relatives will complain that you spend too much time trancing out while staring at a computer. They'll worry about your mental health that you would rather pass the time reading what they perceive as meaningless blobs of punctuation with the occasional English-like word thrown in, rather than something "healthy" like watching TV. They'll irritatedly point out that your mere three "just a minute"s have taken over half an hour, and you really felt like only three minutes went by.

    Or to put it another way - Given your described work-week, A good coder wouldn't ask how they can force themselves to work longer to make more - They'd just spend the surplus of free time "working" on their own code, a nice open source project or the like.

    Perhaps you do a decent enough job at coding, I don't mean to disparage your skills. But merely asking your question means you don't love programming. You do it for pay; not for the pure joy of losing yourself in an elegant algorithm, or even just the simple satisfaction of killing bugs in a section of code written too hastily for a deadline.



    Are there types of breaks that you find really increase productivity?

    Sorta... You don't code as well when you really need to pee; and if you use that as a sort of built-in alarm clock to go for a 15 minute walk (around the block, around the building, or in a big enough building, just down to get coffee and back), you'll find your neck, back, and eyes don't hurt at the end of the day.



    I'm making more money than I need, and more than I'm used to even working 20 or 25 hours a week. I'd like to work more, and rake in even more money

    I say unapologetically - Get a frickin' clue.

    You don't work for the sake of making money - You work to afford to enjoy your time off; You negotiate to maximize your time off, trading as much pay as you can bear to lose for as much vacation time (or the shortest work-week) you can get. Even if you spend every second of your time off doing almost exactly the same thing you would do at work, it still counts as your time, not the company's. Enjoy it!

    If you already make more than you need, and in a work-week that most of us only dream about - CELEBRATE! Don't ask slashdot "How can I lower my quality of living in exchange for flipping bits in a bank's computer". As they say, no one ever died wishing they had worked more.

  76. Re:I think (of siestas) by tverbeek · · Score: 1

    What's the use of training a child (who is against them) to take naps when they aren't allowed to have them in the future workplace!

    Naptime isn't for the benefit of the children, but for the teacher. The fact that it reduces the chances of her strangling any of them is the main ancillary benefit they receive.

    --
    http://alternatives.rzero.com/
  77. Night time by corychristison · · Score: 1

    I find that I get a lot more done during the night. I set a goal for one night, and I work at it. I have set my working hours from 10:00pm - 4:00am, which I feel is reasonable... as I can still get enough sleep and be up around noon to enjoy most of my day.

    I simply cannot do any work during the day. There is always something else to do -- like buy groceries, pay bills, relax and have a beer, etc.

    If it's feesible, I suggest trying to work out a schedule later in the day or really late at night -- I don't have any issues. Except, of course, trying getting up at noon. ;-)

  78. Half the time... I just can't by Daegras · · Score: 1

    As a summer hire programmer for a small business, I find it damn near impossible to focus on task as well. I find that programming small webapps and such is boring and not very stimulating, so I tend to waste time half the day reading slashdot and other various forums. However, when I do make myself stay on task, the common reasons are music, beverage of choice (sleep is hard to come by, so keeping hydrated keeps me focused), and simply the knowledge that if I don't meet such and such deadline then I'm rather screwed. I think, though, that the best way to stay focused is having a goal in mind and not stopping until you've accomplished it. That sense of accomplishment is usually enough to renew your interest in a project.

  79. Take up Smoking by Joe_NoOne · · Score: 2, Funny

    Take up smoking - then you can have a 20 minute break every hour but be paid for the whole hour. As a bonus you get to piss off us non-smokers that get paid the same as you do for doing 1/3 less work (and that's now you make MORE money!).

  80. Advice by macdaddy · · Score: 1
    First off don't let the job consume you. I personally suffer from this afflication. I'm young, single, making a good wage (could always be higher but it's not a bad wage at all), and I'm constantly learning things (a top 3 requirement for me). However I constantly stay late, I do things for work even after I leave the office, and I think about work 24/7. I have to get a life. You have to get a life. I started working out every morning at the YMCA. It's been a good means of relieving stress and I hope it will lead to an improvement in my personal life. I'm a network engineer; you're a computer programmer. I'm sure we both sit about the same amount all day long. Unless you're already working out I can guarantee you that you're either already overweight and out of shape or you will be within 6 months. If it's not too late, get your ass into the gym and stop it from happening to you. Your health is what's at risk. I wish that I'd managed to do that myself. Now I'm trying to recover from only 3-4 years of bad health habits and 90lbs of excess weight (or at least weight I didn't have back when I was active in college. 60lbs would get me down to the low-end of the correct weight for my build and age). Don't weight until it's too late, trust me.

    If you're making more money than you need then you need to plan for the future. I take it that you're young. It is not too early to start saving for retirement. Yeah, I know it sounds silly to think about retirement when you're in your early 20s. It's worth it though. I won't waste your time with numbers but there are plenty of websites out there that you can refer to. The main thing is to increase your retirement savings. Does your company have any retirement matching (ie, do they match what you contribute up to say 5% of your pay?)? If so then take advantage of it. On top of that increase your retirement contribution to use up some of that excess income. If you are really lucky and are making and putting enough $$$ into your 401k to hit the IRS limit then contribute to an IRA. The limit on that is $5k. Do you still have $$ to play with? First off make sure that you have no debt. Next look into investing in a home instead of paying rent. This is what I'm getting ready to do. Also same up some $$ in a fairly liquid form (not stocks but perhaps bonds) for emergencies. All too few of people have any cash on hand for emergencies such as major vehicle repairs, medical problems, deaths in the family requiring traveling, etc. The whole point of this is that you should take advantage of your good financial years to plan for potentially bad financial years. They happen to everyone so you should be prepared. Plan ahead and you'll have less regret later.

  81. 26 hour day?! by madaxe42 · · Score: 1

    Coding for 16 hours and sleeping for 10? Please share your day-lengthening secret with me - the extra sleep would be great.

    I'm a web developer - myself and my colleague run a web-app & eCommerce design firm (www.blubolt.com). He works 7am-9pm, with 1-2 hours off, 7 days a week - when he's working, he's working, and he doesn't stop/browse/whatever - he does the design/html/css. I work 9:00 am - 3:00 am - I stop what i'm doing and spend 5 mins browsing/whatever every 20 mins or so, and go for 20 min walks when confronted with a challenging problem - admittedly if I'm interested by something I can focus on it for 4-5 hours on end...
     
    I guess it's different strokes for different folks - I work well in short bursts over a long period of time, he works well in one large chunk over a shorter period of time.

    1. Re:26 hour day?! by Josuah · · Score: 1

      No day-lengthening secret. I just slept and woke two hours offset each day. Which one of the guys I was working on the project with found quite amusing.

      I can't do this anymore because of the stupid 24-hour rotational behavior of the Earth and how that impacts the rest of civilization. Meaning my current job actually requires me to interact with others in a shared building on a daily basis. :P Otherwise I do still have the tendency to want 26-hour cycles and having to conform to 24-hour cycles means I almost never fall asleep or wake up at a time my body likes.

  82. Love it and Leave. by neoafricanusgmail.co · · Score: 1

    Only three comments I can give are:

    1) Make sure that programming is really what you love doing, and not just what you do for money. I consider programming to be like what I would imagine, (perhaps incorrectly since Im not one) playing music would be like to a true musician- something he or she just does, and would do whether or not they were being paid to do it. I just like the physical act of just pounding out a good set of code and even when Im doing stuff that I dont like, usually its the situaton, (e.g. tracking and fixing a really nasty bug, fixing OPP's (other people's problems), working with a crappy API that I hate and didn't have any input in choosing) and not the coding itself that makes me want to stop or gets me bored. And usually even in those situations its easy to psych myself into remaining focused by reminding myself that the faster and better I do it, the less time Ill have to spend on it or looking at it.

    2)Leave home and go somewhere else to work. Even when Im working for a large corporation that allows me to work from home, I tend to find that Im a lot more productive if I leave my living space, (with all its distractions), and head to a good cafe, (a bit grungy, with free internet access of course, lots of outlets and a good cup of cappucinno). I usually find that after Ive been going there for awhile I, like Norm, even have a favorite table (close to the bathroom but out of the main foot traffic throughfare) and once I'm there then its really easy to zone out for 4 hours at a stretch and get some good coding in. I even find that the background noise helps get my creative juices flowing. After 4 hours I usually stop and walk around outside or talk on my cell for awhile, but after that its easy to get back to work. Sometimes I split the 8 hours between home and a cafe, but I find that if I just stay home, after about 4 hours then the temptation of too many other things to do at home is too great to resist.

    3)Along with your programming books keep a copy of "The Good Earth" by Pearl S. Buck or "The Jungle" by Upton Sinclair or "Oliver Twist" by Dickens or something by Steinbeck or any book that has a grim enough description about some type of physical manual labor. I flip through these from time to time and then after I compare what type of work I *could* be doing if I was unfortunate enough to have arrived on this planet in a different time, or out of a different portal, and how incredibly lucky I am to be able to actually sit in a climate controlled environment and get paid, well, for just pressing some keys and spewing out some garbled text, then the guilt and gratitude usually makes it very easy to stop fooling around and get my butt back to work.