News for hackers. Stuff that matters.
Re:PyRoom — distraction free writing by Keyframe on Sunday February 28, 2010 @12:06PM (#1157139)
I've been doing this with emacs for years now. I usually have emacs running fullscreen on 4:3 monitor alongside my main monitor, or when I'm on laptop I run it fullscreen also. Makes me, for some reason, more focused.

clean darkroom

http://imgur.com/LloOY.png

and with menu

http://imgur.com/yTeUz.png

Re:PyRoom — distraction free writing by starbuck_ on Sunday February 28, 2010 @02:38PM (#1157330)
Would you mind posting your config? I'm a bit of an emacs noob but I would love to be able to do this.
Re:PyRoom — distraction free writing by Keyframe on Sunday February 28, 2010 @05:10PM (#1157554)
well my .emacs is a lot of collected/revised cruft over the years. It's a mess really, and I'm always putting away refactoring for some other time - since it works for me. You'd also need all of the included dependencies and stuff (it's windows specific, but could be made to work on other OS' also). So I might zip up my .emacs with all of the dependencies files if you want me to.
Re:PyRoom — distraction free writing by starbuck_ on Sunday February 28, 2010 @11:04PM (#1158019)
I'd appreciate it if you did. I primarily use emacs on Windows, so that aspect is not a problem, and I weeding through all of your cruft might be fun :)
Re:PyRoom — distraction free writing by Keyframe on Monday March 01, 2010 @09:15AM (#1158699)
http://www.vga.hr/temp/home.zip - here is my home folder, just be sure to set HOME var as an environment variable to that folder. There are also minor install files in darkroom folder inside (you'll see). F12 toggles title bar, F11 toggles fullscreen (a bit buggy, so sometimes you need to press it a few times due to external program that sets it), F7 and F8 cycle back and forward between emacs buffer and F6 toggles line numbers.
Re:PyRoom — distraction free writing by zephyrfalcon on Sunday February 28, 2010 @10:09AM (#1156958)
I'm still waiting for the app that makes other household members shut up... now that would be distraction-free writing. :-)
Re:PyRoom — distraction free writing by oscardelben on Sunday February 28, 2010 @11:58AM (#1157125)
It's not an app, and it doesn't work for others, but for you: use noise-canceling headphones.
Re:PyRoom — distraction free writing by Estragon on Sunday February 28, 2010 @12:34PM (#1157184)
I'm still waiting for the app which makes the voices in my head shut up. :-)
Re:PyRoom — distraction free writing by pasbesoin on Sunday February 28, 2010 @12:08PM (#1157142)
If you know of noise canceling headphones that are effective against the irregular waveforms of human speech, I'd be most interested.
Re:PyRoom — distraction free writing by jrockway on Sunday February 28, 2010 @01:57PM (#1157278)
In that case, you want something that actually blocks the sound, like these:

http://www.amazon.com/Etymotic-Research-Portable-Earphones-B...

35db of isolation. You basically can't hear anything, which is nice when you need to work somewhere noisy, or want to listen to music on an airplane. It's infinitely better than noise cancellation.

Re:PyRoom — distraction free writing by pasbesoin on Tuesday March 02, 2010 @02:29PM (#1162274)
Thank you. I recently spent $80 on another brand that uses foam tips. It had the highest rating I could find amongst the choices at a specialty shop, at IIRC 31 dB attenuation. I haven't been in a suitable work environment since then, to try them out.

I'll probably give those a go, first, but if they do not suffice, these look worth trying, and at about $120 are within my price range (as opposed th the $300 plus that I've seen for some other items).

As you say, though, these work via passive blocking and not active cancellation. Some time ago, I came across an explanation by an audio engineer claiming that cancellation will never work fully with headphones. Even if the processing is fast enough, he argued, the distances involved between the speaker and eardrum just won't permit it. Perhaps this was in combination with the inertia and therefore delay in the speaker elements; I no longer recall fully.

When people state "wear canceling headphones", I've never yet seen the statement backed up with a real / real world use case.

EDIT: I guess/imagine it might be more a matter of the location of the microphone that drives the noise cancellation, than that of the speakers. Although I do seem to recall also something about the limitations imposed by pressure waves operating in such a small, confined space.

Re:PyRoom — distraction free writing by rms on Sunday February 28, 2010 @02:00PM (#1157283)
Being ineffective for speech is actually a "feature" of Bose headphones. I second the recommendation for Etymotic earphones.
Re:PyRoom — distraction free writing by pasbesoin on Tuesday March 02, 2010 @02:51PM (#1162325)
Thanks, I appreciate the second. With so many products and opinions out there, it nice to have some concurrence in an endorsement.

I know I'm not the only one facing this problem of environmental noise as distraction, although I may be towards the extreme end. If and when I find a solution like this that really works for me, it will be for me one of if not the most effective workspace "hacks" in my toolkit.

Re:PyRoom — distraction free writing by betageek on Sunday February 28, 2010 @10:35AM (#1156995)
Seems to be a open source clone of WriteRoom (http://www.hogbaysoftware.com/products/writeroom) - pretty much identical
Re:PyRoom — distraction free writing by Khroma on Sunday February 28, 2010 @11:03AM (#1157038)
The sad thing is that people are willing to pay for WriteRoom.
Re:PyRoom — distraction free writing by dirkstoop on Sunday February 28, 2010 @12:04PM (#1157134)
Yes, don't you just hate it when people make a living creating software? </sarcasm>
Re:PyRoom — distraction free writing by hyperbovine on Sunday February 28, 2010 @12:28PM (#1157179)
I paid for it! Strangely enough, I felt happy afterwards. Must have been me.
Re:PyRoom — distraction free writing by jrockway on Sunday February 28, 2010 @01:58PM (#1157281)
Mac users would pay for air if it had rounded corners.
Re:PyRoom — distraction free writing by chanux on Sunday February 28, 2010 @10:04AM (#1156952)
OMMWriter for Mac - http://www.ommwriter.com
Re:PyRoom — distraction free writing by pgbovine on Sunday February 28, 2010 @10:42AM (#1157003)
what about using vim with your terminal set to full-screen mode?

Edit: or in-terminal emacs ;) iTerm for Mac OS X has a nice full-screen mode

Re:PyRoom — distraction free writing by onewland on Sunday February 28, 2010 @10:49AM (#1157015)
Honestly, I'd like to do this but have a margin on the sides but haven't figured out how.

I would forever be your e-servant if you know how to do that. I'm sure I could figure out some hack, but it's just something I'd rather not work on.

Re:PyRoom — distraction free writing by visitor4rmindia on Sunday February 28, 2010 @12:05PM (#1157137)
Here you go:

    (defun fullscreen ()
      (interactive)
      (let (f w l r cb b)
        (setq cb (current-buffer))
        (setq b (switch-to-buffer "*NOSUCHBUFFER*")) ;Temp buffer otherwise
        (setq f (make-frame '((fullscreen . fullboth)))) ;settings don't take effect
        (select-frame-set-input-focus f)
        (setq w (frame-width f))
        (setq l (/ (- w 80) 2))
        (setq r (- w (+ l 80)))
        (seq-default left-margin-width l
                      right-margin-width r)
        (delete-other-frames f)             ;Only one main window
        (kill-buffer b) ;Kill temp buffer - now original buffer will get new margins
        (switch-to-buffer cb)))
    
    (defun fullscreen-off ()
      (interactive)
      (let (f cb b p)
        (setq cb (current-buffer))
        (setq b (switch-to-buffer "*NOSUCHBUFFER*")) ;Temp buffer
        (setq-default left-margin-width nil
                      right-margin-width nil)
        (kill-buffer b)
        (delete-other-frames (make-frame))
        (switch-to-buffer cb)))
Re:PyRoom — distraction free writing by GeoJawDguJin on Sunday February 28, 2010 @01:41PM (#1157257)
MacVim's full screen mode has the neatest implementation I've seen of this. Play with the 'fuoptions' setting, which gives you control over the margin color and the maximization behavior. If you disable maximization, it will just use the height/width values in 'lines' and 'columns' and the (borderless) window will be in the center of the screen.
Re:PyRoom — distraction free writing by ams6110 on Sunday February 28, 2010 @10:56AM (#1157027)
Aquamacs: SHIFT-ALT-ENTER full-screens a frame. For side margins you can look at "fringe" settings.
Re:PyRoom — distraction free writing by pgbovine on Sunday February 28, 2010 @10:51AM (#1157019)
hmmm sorry don't know how to do that. one semi-gross hack is to simply open up 3 vertical buffers in vim/emacs and have two of them be empty :)
Re:PyRoom — distraction free writing by dkarl on Sunday February 28, 2010 @01:37PM (#1157253)
AwesomeWM + emacs + turn off the other monitor.

Awesome helps because sometimes you really do need to switch to another application (a terminal or browser) while writing. With Awesome you can switch between applications without seeing anything else. Be sure to turn off the Awesome status bar and the emacs menu bar for maximum immersion.

Also, it's nice to use a web browser like Conky that makes random browsing less convenient.

Re:PyRoom — distraction free writing by steadicat on Sunday February 28, 2010 @01:35PM (#1157245)
Looks like it's targeted squarely at programmers, given the name ("Py*") and the screenshot (green monospaced font on black).

Why? It's not a programming editor. And, judging by the other comments, programmers don't want this, as they can get pretty much the same layout in Emacs.

Change the name and start using a better font for prose and you've got yourself a much larger and more suitable audience.

Re:PyRoom — distraction free writing by kidko on Sunday February 28, 2010 @01:35PM (#1157248)
I used it quite successfully for Nanowrimo. The "Py" is probably because it's written in Python.
Re:PyRoom — distraction free writing by chadaustin on Sunday February 28, 2010 @02:24PM (#1157315)
I use DarkRoom ( http://they.misled.us/dark-room ) on Windows, which is going to be open source if enough people can harass the author. He simply hasn't gotten around to releasing it yet: http://github.com/jjafuller/DarkRoomW
Re:PyRoom — distraction free writing by jimmi on Sunday February 28, 2010 @05:30PM (#1157578)
love it!
Re:PyRoom — distraction free writing by jrockway on Sunday February 28, 2010 @10:40AM (#1157002)
C-x 1.
Re:PyRoom — distraction free writing by jimmi on Sunday February 28, 2010 @02:23PM (#1157314)