9 ms·
Show HN: Block yourself from the Internet until you write or code each day
- damienfir 14y agoIf you really like coding or writing, you shouldn't need to force yourself to do it.
- jemka 14y agoAlthough I think you're baiting, I'll bite. I really enjoy eating, but if I'm caught up in something I don't always remember to do it. Sometimes I'll go hours past my regularly scheduled meal times. Then I'm sitting at my desk wondering (only for a short time) why my stomach hurts. Oh ya, food. While this is a extreme example, the logic still applies to coding/writing or anything else. Sometimes the tasks you should do are side tracked by other tasks. And if you're deep in thought, you might not have the internal alarm to switch to something more of a priority. Hence external alarms.
- benthumb 14y agoIt's interesting you bring up food. Everything goes much more smoothly when I'm fasting: I'm way more focused, and the problems that do crop up, I feel I'm able to negotiate more effectively. I tend to look at it as a kind of perverse karmic trade-off, but that's just me...
- lawn 14y agoLet me just counter that with my experience. I can focus better and I get things done much better when eat regulary and when I eat well (no fast food, not too much fat etc). If I eat to late or if I only eat a sandwich for breakfast the whole day can become ruined and if I completely skip a meal I'll be worse off for a day or two. But that's just me.
- mdm_ 14y agoI experience this too. The period when I arrive at work before I've eaten anything is usually my most focused. I feel calm and I would describe my mind as "quiet". Once I eat, it's like everything gets noisy and I have a really difficult time concentrating for longer than about a minute on anything.
- alaskamiller 14y agoI don't think that's the right metaphor. In the process of eating you have access to many choices. You have good food, you have junk food, and you have bad food. Some people lack self control and discipline so they end up eating more junk food and bad food than good. Same goes for the process of productivity. You have work, distractions, and hinderances. If this is what you need to build up a habit of self control, then good for you. If not whatever. But it also somewhat true. If I love music I would be playing my guitar every single day. Being a rockstar is sometimes both incidental and consequential.
- jemka 14y agoMy example doesn't mention making a choice of what to eat, only becoming "aware" that one is hungry (needs to eat). The joy of eating (independent of choice) has little to do with recognizing that it's time to eat. Likewise, the joy or writing/programming has little to do with identifying and prioritizing those tasks efficiently. I could have said it simpler by stating that one would be foolish to rely on emotions to schedule his/her day.
- TreyS 14y agoI don't think it's about liking or not liking writing or coding. It's easy to start the day with checking email, reading HN or other less productive tasks. It's just something to help you start your day Hemingway style -- writing (or coding) every morning without distractions.
- minikites 14y agoI agree with you. I've been listening to Merlin Mann's podcast Back To Work and he talks a lot about things like this and things like "distraction-free writing environments". His philosophy (that I tend to agree with) is that if these tools work for you - great. But you might be solving the wrong problem. Procrastination might be your brain telling you something about the task you're putting off doing. http://www.43folders.com/2010/02/05/first-care http://www.43folders.com/2010/02/05/first-care
- yoasif_ 14y agoI expected something interesting or insightful from your link, but it just completely seems to sidestep the idea that procrastination exists. The Wikipedia definition is "act of replacing high-priority actions with tasks of lower priority, or doing something from which one derives enjoyment, and thus putting off important tasks to a later time". This clearly exists, and completely disavowing it with some (semi)feel good idea about how you aren't caring enough, implicitly linking it to low willpower is way too simplistic - and totally not insightful. My own experience has been that even when I know that the task needs to get done, even when it is enjoyable, it can be hard to get started. Once started, everything flows as you might expect, as the author says "How many things do I need to shed ... with extreme prejudice in order to singlemindedly focus on this one thing that I love?" The post also neatly sidesteps the idea that even if you do not care, you may need to get things done. The attitude probably appeals to some libertarian philosophy/Protestant work ethic, but even those people will freely admit that doing beats wanting to do something -- it's the doing that counts. If people cannot get themselves to do something, even if they want and care to do it, telling people to care more isn't very helpful, especially when pooh-poohing the very things that work for some people to do what they want to do! "If that sounds fancy and oversimplified, then you "care" about too many things. Period." What if you really do not "care" about the things that you are doing while procrastinating? What if you are simply avoiding the anxiety of starting to do what you care about? There are serious psychological questions here, and this blog post just ignores them all.
- minikites 14y agoPart of it might be a confusion of terms. I would argue that if you really wanted to do something you'd be doing it or it would already be done (by definition of the word "want"). Same with "care". The very first episode of the podcast I listened to was Merlin and his co-host discussing the word "priority". He was giving a talk at a company and someone in the crowd claimed to have "27 high-priority items" which Merlin thought was completely insane. He says you can tell something is a priority in one of two ways: you're doing it or it's done. Calling something a priority when it's not obscures the real problem. I think it's the same here. Calling something a thing you care about but never do doesn't solve anything. I wrote down Merlin's definition of procrastination: procrastination is what happens when you temporarily forget who you are, what you should pay attention to, and what your options are for doing something about it. Do you need an alarm to remind yourself to play video games? Do you need a "distraction-free gaming environment"?
- readme 14y agoI agree. These tools will only work for someone who would have been able to do it anyway. You might find something like this helps you, but you're not going to find that if you can't do it that this will change that.
- drumdance 14y agoOne can enjoy the process of coding but still hate the current task assigned to you.
- makmanalp 14y agoCoding or writing are not uniform tasks. There are ups and downs, parts that are tedious, parts that go smoothly, parts that will not budge one inch despite lots of time put in (bug hunting!). It's not all the same. Building up on that, you can't control if the next task you have is going to be a tedious or smooth one. If you have a bug, or have to parse a CSV file in your assembly language program, then you just gotta do it. Sometimes there may be a way around it, but most often there isn't. Otherwise, you'd be able to circumvent the whole task in the first place. You might think you like all ice cream, until someone hands you some anchovies ice cream or something.
- danko 14y agoNo matter how fulfilling or worthwhile something is, there will always be tedious parts. Always. It's a refusal to accept this that prevents people from completing tasks -- they hit the inevitable wave of tedium, and they can't grind through it, because they assume anything that's truly edifying will be tedium-free. That's a really dangerous belief. Now if something is all tedium, then I agree, find something else to do. But there is no project on Earth that won't have frustrating patches where your mind will try to wander.
- watty 14y agoI'm a software dev but my favorite thing to do in the world is fish. Last month I took a vacation to the Caribbeans, which has some amazing surf fishing. My goal was to get up and fish every sunrise. I did this for 4 or 5 days but ended up sleeping in a few days because, after all, sleeping is fun and fishing can wait. I do really like fishing and had a goal to do it each day but failed. I'm guessing you think I don't really like fishing after all?
- _sentient 14y agoI personally use the Chrome Nanny extension to block certain websites during specified hours. This goal-oriented approach is interesting though, as it seems to get at the core issue: "to create more than you consume".
- ptrklly 14y agoI think that's a good observation about how this approach differs: it's not just a technical hack, but a behavioral one as well--the user experience with the tool is to simply do the warmups that they want to be doing anyway. I like that a lot, but it still feels like the tool is missing something to really successfully accomplish that.
- mistermann 14y agoI want this but at the OS level (windows in my case) with white lists.
- charliepark 14y agoIf you had contact info in your profile I'd send you this privately, but that's exactly what we've built with https://monotask.com https://monotask.com. The pro version is free for another few days. Free version will be free forever. Not trying to threadjack, so if anybody has questions, etc., would love for you to e-mail me directly at charlie@monotask.com.
- yoasif_ 14y agoIs the pro version free for life, or for the next few days? Looking at your site, it looks like you are charging $19.95 a month.
- charliepark 14y agoWe'll be charging for the pro version, but if you (or any other HN users) grab the pro version now and e-mail me [charlie@monotask.com], I'll comp your account through August.
- CJefferson 14y agoI'm guessing 'Mac and PCs' means 'Mac and Windows', and you don't support Linux? You seem to send a windows exe to linux users.
- charliepark 14y agoSorry about that. Yes. We're working on a Linux version, but wanted to iron out some kinks in the other two first. If you e-mail me, I'll let you know as soon as we have something for you. I'll update that copy on the site, too.
- why-el 14y agoDoes this block all internet? How can you code well without resort to some googling? Edit: By this I mean it would be preferable if I can leave some sites up, like SO for instance.
- 27182818284 14y agoI had to deal with shitty, shitty Internet once. I downloaded the docs ahead of time when I did have a good connection. Then when you're online later, what you still haven't figured out you attack. It is not really that hard, I think it is just a culture shock for some to not have the Internet nearby. It was for me.
- samspot 14y agoBut sometimes completely unanticipated problems come up and you need stackoverflow... I'm not even sure how I did any work pre-internet. I know troubleshooting took me significantly longer back then, but I was also less experienced.
- jsm 14y agoCurrently you will have to open a different browser if you want to google something. I'm considering adding a blacklisting/whitelisting option but I was going for minimalism with v1.
- samgro 14y agoI would whitelist the hosts, stackoverflow.com, google.com, and dev* - should cover 90% of productivity related websites :)
- yamalight 14y agowhat if i need to search for a solution to something or find out if it's a bug in IDE or it's me doing something wrong? doesn't seems like a very good idea to me personally. just learning to focus on your target would probably help more
- ww520 14y agoPrepare a hosts file as 127.0.0.1 news.ycombinator.com 127.0.0.1 reddit.com 127.0.0.1 twitter.com etc A shell script to rename the regular hosts file and this one at will. Add it in cron if you want it scheduled.
- idontlikebacon 14y agoI wrote a little shell script that makes it easy to manage host files for this very purpose. You can check it out here: https://github.com/theabraham/wrk https://github.com/theabraham/wrk
- daenz 14y agoFocus.py does something similar, but on a non-fixed schedule https://github.com/amoffat/focus https://github.com/amoffat/focus
- henryboston 14y agoI did this for a while but I just ended up editing my hosts file every time I wanted to stop working. Maybe I just need to practice more self discipline.
- wpietri 14y agoA workable substitute for self-discipline is to make it hard enough to do the bad thing that either your laziness or your better nature wins out. E.g., I don't keep cookies in the house. Instead, I go to the store if I want some. It's pretty rare that I'll overcome my laziness enough to head out for them. And then on the way I often come to my senses. In this case, I might make it harder to edit the hosts file. E.g., a daemon that puts the block back automatically unless I solve 25 captchas. I also really like LeechBlock's option to insert a 30-second pause before viewing banned websites. Since it cancels the countdown if the window loses focus, I have to just sit and wait for half a minute. 90% of the time I'll say, "But I don't even want to look at Facebook now," close the window, and get back to what I want to be doing.
- 14y ago
- danso 14y agoStayFocusd is currently my favorite plugin for this purpose https://chrome.google.com/webstore/detail/laankejkbhbdhmipfmgcngdelahlfoji https://chrome.google.com/webstore/detail/laankejkbhbdhmipfm... However, adding a rewards/gamification system is not a bad idea at all. I like StayFocusd but I end up filling my time otherwise if I don't have a hard deadline. Having goals to reach is a great incentive, enough to keep me focused without a plugin. But the plugin provides a basic physical deterrent effect which sometimes alone can be enough
- FrojoS 14y agoI love StaFocusd, too. The problem is there is more browsers, than just Chrome.
- brc 14y agoI've looked at many, many of these types of apps. Most are laughably easy to get around. Having one that only works on one type of browser when you have 4 different types is so easy to circumvent, it's not worth doing.
- jherdman 14y agoConcentrate (OS X): Pricy, but absolutely invaluable for me http://getconcentrating.com/ http://getconcentrating.com/
- nXqd 14y agoa long time ago, I've stopped using and finding productivity app like this. Just look around when I really have free time. Instead of playing around with this, completing the most important things, others tasks will take care of themselves.
- edw519 14y agoIf what you're working on is important enough and you love it enough, you would never need this. If not, then maybe you're working on the wrong thing. Let's stop treating the effect of poor work habits and deal with the cause: find something better to work on. [EDIT: I'd stay and reply to your great responses guys, but I'm not here anymore. As compelling as this discussion is, the real-time CRUD/robot interface I'm writing is way cooler.]
- engtech 14y agosometimes the problem is long compiles that get you out of flow and give you enough time to load a web browser
- msluyter 14y agoNo doubt there's some truth here, but I would hesitate to write off the incredibly distracting and addicting power of the internet entirely. Even when I'm working on something I really enjoy, I find myself breaking to check HN, for example... The problem goes beyond motivation. Speaking only for myself, I'm so used to having my attention divided -- for example, watching TV while also surfing the internet -- that it's difficult to exclusively focus on anything.
- leviathant 14y agoIf people only worked on truly important things, the world would be a better place. I love what I do, but my brain simply functions in a way that makes it difficult for me to focus. If I have to treat that by removing distractions from my periphery, that's not because I'm not working on something important or because I'm not working on something I love.
- watty 14y agoThis is poor advice. First off not everyone has the opportunity to work on something important and that they love. Sure, it's ideal and probably a goal of everyone but sometimes it takes steps to attain that goal and sometimes people sacrifice their 8-5 hours to provide for their family. Secondly, not everyone has the ability to get kickstarted each day to 100% productivity. You're very lucky if you do but I don't. I use Focus Booster and it helps but isn't a cure.
- abhi_mehta 14y agocan u also provide bitbucket integration?
- ruswick 14y agoThis seems like it would be more of a hindrance than a help. Implementing anything to force yourself to code is a good indicator that you really don't want to code in the first place, and is just going to encourage you to write perfunctory code. It will probably also just make you more upset and contemptuous towards work in general. After all, who want's to be forced to something they don't want to do through negative reinforcement? If you need this, there's most likely a bigger problem and you probably should be doing something else. Additionally, even if this gets the job done, it's going to piss you off to a large extent. Lastly, this method is antithetical to coding in general. You most likely NEED the internet to code. Without things like Stack Overflow, you won't be able to solve problems as quickly and your productivity is going to go down.
- RegEx 14y ago> Implementing anything to force yourself to code is a good indicator that you really don't want to code in the first place, and is just going to encourage you to write perfunctory code. The work I do is very boring. I do Drupal development for a series of television stations, and I'm not happy with it. But I need this job to pay the bills, so I have to perform well. Once I start coding, I realize my job isn't the worst thing in the world, and I'll get into a good flow. Starting, though, is the hardest part. These self-controlling applications help give me the start I need and don't let me give up so easily.
- programminggeek 14y agoYou know what works well? Just write some code. I use the metaphor "paint every day" which I took from a HN comment years ago, but how does an artist get good at painting? You paint every day. How do you get stuff done? Code every day. Fix a small problem, big problem, whatever. Just take steps forward every day. It's how I got http://reme.me http://reme.me off the ground. I do something every day. In a couple short months I built the API, site, iPhone, and Android apps all by myself. I only get an hour or two a day maybe to get stuff done, so I just try and do something. Lately I've been giving myself a list of tasks and either a week or two deadline to hit a "release", but really, that doesn't get stuff done. Just coding something each day does. Paint every day.
- RegEx 14y agoI find this very condescending. Not all of us get to work on fun problems, but the work has to get done nonetheless.
- laberge 14y agoI think the context of this is related to working on "fun" problems though. If you're at work, getting paid and not working, you'll get fired. Working in a startup is much different.
- run4yourlives 14y agoI think you are missing the point of the OP's comment. Essentially, he/she is saying that persistence is the key to completing the task, and that is true regardless of whether the task is enjoyable or not. Pound away, day after day, each and every day, and it will get done.
- programminggeek 14y agoTo clarify, ReMeme is a side project. None of it is my day job. My day job is a cool project, but it's by no means a startup. There is plenty of not fun work to do on it at times. Also, plenty of the things on ReMeme aren't that much fun either. The outcome is pretty cool, but building it is still work.
- engtech 14y agoI saw it on HN a while ago, but I've been liking morphine: regulate distractions You configure the websites to block, and when you try to access a blocked site it lets you create a 1, 3, 5 minute window to access the site. really good for a 5 minute break. https://chrome.google.com/webstore/detail/fbnpehpbojenlldmfcopeajkichnnjpo https://chrome.google.com/webstore/detail/fbnpehpbojenlldmfc...
- ptrklly 14y agoA bit of a tangent but: I like Earnest Hemmingway's advice to only stop your work when you know exactly where to pick up again. I don't do great but when I follow the advice I find that it helps me get into flow more quickly. "You write until you come to a place where you still have your juice and know what will happen next and you stop and try to live through until the next day when you hit it again."
- RegEx 14y agoSelfControl[0] is an OS X application that lets you set up a black list. It's free, and works great for me. [0]: http://visitsteve.com/made/selfcontrol/ http://visitsteve.com/made/selfcontrol/
- rimantas 14y agoI use this: http://bumblebeesystems.dyndns.org/wastenotime/ http://bumblebeesystems.dyndns.org/wastenotime/
- mmaunder 14y agoI occasionally do this with my hosts file. But not right now...
- a3_nm 14y agoThe Internet != the web.
- justhw 14y agoBut you can always uninstall the extension. Can we discipline ourselves, is the question.
- dreeves 14y agoYes, but you may need to enlist a third party. (Discl: my startup -- http://beeminder.com http://beeminder.com -- is such a third party!)
- verganileonardo 14y agoIf I download the Extension without an account I see a giant error page with lots of debug information at /write/.
- Scottopherson 14y agoDo commitment devices like this actually work for anybody? I've never known anyone who struggled with procrastination or any other vices that prevent them from getting work done and had their problems solved by a tool like this. The pomodoro technique seems like it would be more effective for motivating you to work since it immediately rewards your efforts with a short break from your tasks.
- lokh 14y agoLots of people commenting if your code is fun you shouldn't have to restrict yourself, blah blah blah. That's not the problem. The problem is how easy it is to instantly distract yourself. Taktaktaktaktak "Oh hey, I wonder if so-and-so replied on my Facebook, let's just to a quick look.." 5 hours later "Oh snap, the time just flew by!" If you're serious about blocking yourself from parts of the Internet, do it comprehensively. Here's what I do. Most of the advice on this page is blocking from the browser-level or OS-level. This is easy to bypass, and you have to configure every device. You need to work at the router-level. Let's talk blocking. A complete blacklist is wrong, you still need some Internet to Google or ask for help. e.g. stackoverflow.com, etc. Similarly, whitelists don't work because you can't possibly list every site you may need access to -- you may not know they exist yet. You need a keyword-matching blacklist. You need two things: 1. WRT54GL router ($20-$50) 2. Tomato firmware: http://www.polarcloud.com/tomato/ http://www.polarcloud.com/tomato/ Vendor firmware usually has access restrictions, but they usually limit it to like 10 websites, and it usually doesn't have pattern-matching. You need a 3rd party firmware like Tomato. Install the firmware per instructions from its website. It's really easy. The firmware has a page called "Access Restrictions". It does keyword blacklists/whitelists. You can block yourself for only certain hours of certain days. Here is an easy video tutorial from their website to guide you: http://www.polarcloud.com/v/screst.htm http://www.polarcloud.com/v/screst.htm For example, one keyword I use is "news". BAM! All URLs with the word "news" instantly blocked. Good. I don't need to be reading news when I should be coding. Resources like stackoverflow.com don't usually put "news" in their URLs, so they're safe. There is the problem of unplugging the uplink from the router and directly into your computer (bypassing the router), or simply reconfiguring the router without restrictions. If you lack that much self-control, which I can understand (as I do too!!!), I recommend locking your router in a electrical enclosure and throwing away the key. Ok, not really. I made a cron job for the router that changes its login password to gibberish at some hour of the day, and X minutes prior it sets it to my normal password. Thus, I have X minutes of access to the router per day, should I need it.
- mvip 14y agoI prefer to just use a tool that simply removes distraction instead, like Quiet (http://wireload.net/products/quiet/ http://wireload.net/products/quiet/).
- oofabz 14y agoIf only it worked on my coworkers.
- vipervpn 14y agoAwesome app. I'll check it out. But I wish it wasn't a browser plugin. Too many browser plugins are bogging up my browsing experience.
- wavesounds 14y agoMy email address is longer then 30 characters so I had to use javascript to input it. Still doesn't look like it worked though not sure if your no longer accepting new users or if my hack didnt work.
- shasty 14y agoWhy dont you stop coding until you surf the net each day
- dustyreagan 14y agoI find the whole "if you love it then you don't need this" sentiment at best naive, and at worst arrogant. Sometimes we all have to do things we don't want to do. This includes, at times, working on your own project. There's nothing wrong with you, or what you're working on, if you actively try to limit your distractions. If your project is so awesome you never get distracted, good for you. Kindly, take your hubris elsewhere.
- decklin 14y agoEveryone seems to be talking about the force-yourself-to-code part of this, but I recently read something about "write every morning" and as a tool for that this sounds appealing -- but only because my job is coding, not writing. Sort of like stretching before athletic activity, maybe? The only thing that worries me is I have to inspect and trust the code to not do anything with potentially sensitive text. something local would be nice.
- nkeating 14y agoPer usual on HN, I think people take simple, fun utilities like this way too serious and try inject some philosophical ideal about loving your work blah blah blah. They dont get it. I like it. Good job.
- Jazear 14y agoCan you allow specific site exceptions? I'd like to check specific coding education sites and my local server. Other than that issue, great app!
- lukifer 14y agoThis is cool, nice job. I'm currently working on something similar: a Chrome extension to gamify internet self-control with a configurable mana bar. Tools that allow people to give themselves "bright lines" to guide their own behavior are a good thing.
- vipervpn 14y agoOk, now that I used this app I'm totally impressed. It even continues blocking after rebooting. Ha! Awesome. I banged off almost 1000 words yesterday and had to shut down because of an oncoming storm. This morning I boot up and my connection is still locked up. My browser is saying I need to type another 1000 words if I want to get Internet. Nice. I think your app will do well!
- cscru 14y agoChaps, if anyone on this thread wants to buy this domain http://www.undistract.me http://www.undistract.me let me know! (Site was just a market test a while back.)