Tag Info

Hot answers tagged

6

Unless it's a foundational library building project, I think writing perfect code is not fruitful. Since you are asking the question here, you surely agree with me on this. I used to struggle with similar symptoms. I do have perfectionism, and I love fast yet general code, but at the same time I acknowledge leaky abstraction and the evil premature ...


5

I've been doing polyphasic sleeping for almost one year (Everyman with two naps, but I am thinking about switching to biphasic sleeping since it seems more natural). Here is what you could do (supposing you want to try the "standard" biphasic with 6-hours core sleep and one 20-minutes day nap): Know your the length of your own sleep cycle. 1.1 Take a ...


5

When it comes to Polyphasic sleep I know of no better reference than my favorite alternative lifestyle guy, Steve Pavlina. He tried a VERY extensive polyphasic sleep experiment a few years back and I am still itching to try it due to the success he had but life around me is not working that way. You can see/learn everything you need to know about it here: ...


5

I use the concept of friction based productivity, it goes like this: If you want to stop doing something, make it harder to do that thing. The first step would be to simply uninstall Minecraft and any game while you still have some consciousness of the time wasted there. Another example is getting rid of your TV (but I am guessing that you are still living ...


4

Well, a heart attack or diabetes might be a good motivator, but they often take a lot of time to achieve. Since the knowledge of living an unhealthy lifestyle isn't a strong enough motivator for you, perhaps a practical change to your schedule might help. Take and eat a snack while you are commuting (something not messy or smelly, which won't offend or ...


4

There is a way out of this. Like any other technique to replace 'bad' habits, it requires discipline but the reason it appears to work for a lot of us is its a good hack to trick your brain: If you are able to diagnose every habit into its underlying cues, routine and reward, you will be able to attack each component separately and will most likely ...


3

You mention that you have a long commute. How long? Do you commute by car, train, bus? Is it possible for you to work exercise into your commute? For instance, some places have park and ride, could you ride a bicycle to such a place, then commute the rest of the way by train or bus? You also mention that by the time you are home you are "so hungry I ...


3

I'm not convinced this is personal productivity, but here's a hack to help: in my experience, I build up a static charge when walking around, not while seated at my desk. To avoid the pain of the static discharge hold something metal (a key, for example) in your hand while walking around, and touch grounding objects with the key. The static charge will ...


2

I have recently started using a polyphasic sleep schedule (6 hour core sleep with a 20 min nap). To do this, I basically just started taking a nap in the middle of the day when I was able and then going to bed later. After a few days of this, I found that I wanted to go to bed for my core sleep earlier rather than later and so I allowed myself to do that, ...


2

Option 1: Parallelize tasks Can you program while travelling between cities? In the inability to reduce travel time, I would check if it is possible to do a task in parallel. I myself program, so I realize programming while travelling has the following issues: battery life (bring your charger to work, charge your laptop there) coding offline is more ...


1

You can purchase static straps that increase the conductivity between yourself and the floor, which should prevent most static buildup, unless your floor has a very high resistance as well. https://www.google.com/search?q=static+shoe+strap It will probably be easier, however, to change the clothing you wear. Synthetic fibers are plastic, and not only ...


1

Several options: New carpets. Ideal but not always possible. Increase humidity, as this helps conduct electricity. Use an anti-static spray. May be available from carpet shops. This is what my previous employer used to solve a similar problem, and it was quite effective. Change your shoes. Special antistatic shoes may be an option.


1

I did this for quite a while last year and what I found that an alarm was almost always needed....otherwise I worried about oversleeping while I slept, which made it less deep. I forget the brand (and am not at home) but it was a huge help to get an alarm that gradually lights up my room and plays natural sounds as it does so. Such a better way to wake up ...


1

Getting sick is indeed a blow to your productivity. There's not much you can do when you've caught a cold. The best thing you can do is to avoid getting sick in the future: Wash your hands often to clear away all those viruses and bacteria Keep your fingers away from your nose, eyes, mouth Avoid public transportation, best thing is to walk or bicycle your ...


1

The most popular method I've heard of is the Polyphasic Sleep and a famous person who has been using it was Leonardo Da Vinci Da Vinci's sleeping schedule The Polyphasic Sleep method is based on the sleeping phases and takes advantage of the phase which gives rest to the brain, the REM phase. The idea of the method is to sleep only 4 hours a day by taking ...


1

That really sounds exactly like OCD, including the "fear" or superstition about certain letters or letter combinations. Do these sorts of problems manifest outside of writing code? Either way, though, I think what you are experiencing goes beyond perfectionism regarding coding. I really urge you to consult a professional, as OCD and anxiety in general (OCD ...


1

I am a programmer, I work for others and I have my own products, too. I think you are passionate about programming, so the other problems can be easily solved. I recommend you to follow SDLC (software development life cycle) if your project is not too small. Never start coding right away without a crystal clear understanding of the overall system and what ...


1

Another possibility is to reduce the scope of the project. Pare the project down to the absolute bare essentials and build that. Remove any embellishment, and bells and whistles and instead concentrate on the core. That way you end up with something simple and elegant - the kind of thing you're trying to achieve by rewriting and restructuring.


1

You believe that you may suffer from Obsessive compulsive disorder. It is best treated with Cognitive behavioral therapy. In your case, it means subjecting you to the anxiety that results from not rewriting your code. Start with something small, then leave larger parts of your code as is. In this way, you learn that you don’t need the rewriting ritual to get ...


1

I haven't tried this myself, but I have a colleague who swears by his Fitbit. It is apparently able to do sleep tracking to monitor your actual sleep cycles.



Only top voted, non community-wiki answers of a minimum length are eligible