News for hackers. Stuff that matters.
Re:WAT Driven Development by jes5199 on Wednesday March 14, 2012 @02:26PM (#3704586)
The ESC key in vi is idempotent. It's not doing it wrong to hit it thousands of times. It's doing it wrong to have to model the state of your editor in your head.

I have a similar habit of typing "git " in my terminal, and then getting distracted while I think through what I'm trying to do, and then just typing "git " again. Rather than punish myself, I just wrote a script called git-git. https://github.com/jes5199/git-git so I can type "git git git push" and it works.

Re:WAT Driven Development by nullmodem on Wednesday March 14, 2012 @04:02PM (#3705084)
You can also achieve the same effect by placing the following in your .gitconfig:

    [alias]
        git = !git
Re:WAT Driven Development by ramblerman on Thursday March 15, 2012 @05:34AM (#3707570)
" It's doing it wrong to have to model the state of your editor in your head "

WAT? By that logic you don't know if you are in insert mode half the time, and start typing random characters all over the place.

Re:WAT Driven Development by jes5199 on Friday March 16, 2012 @12:50AM (#3712019)
Never stay in insert mode unless you are typing! Insert mode is a brief experience. itype type type<esc>
Re:WAT Driven Development by jasonwatkinspdx on Wednesday March 14, 2012 @08:52PM (#3706222)
"It's ... wrong to have to model the state of your editor in your head."

from the mouth of a vi user...

Re:WAT Driven Development by dmd on Wednesday March 14, 2012 @01:56PM (#3704409)
This just perpetuates the mispronunciation of 'WAT'.

It is properly pronounced deadpan, to rhyme with 'but' (with no h-sound wutsoever).

Re:WAT Driven Development by oacgnol on Wednesday March 14, 2012 @02:11PM (#3704497)
My reference pronunciation has always been like the word "watt", deadpan, with a blank face while staring into space.
Re:WAT Driven Development by alevans4 on Wednesday March 14, 2012 @02:49PM (#3704712)
I tend to agree with this, but in the circles I run in where it was used it's also spelled 'wut'. I was a little confused when I first saw it here on HN as 'wat'.
Re:WAT Driven Development by stuartmemo on Wednesday March 14, 2012 @05:39PM (#3705511)
Properly? References? Anyway, who cares, it's funnier to say when you sound it like "cat".
Re:WAT Driven Development by ramblerman on Thursday March 15, 2012 @05:32AM (#3707566)
"This just perpetuates the mispronunciation of 'WAT'."

What a silly thing to pretend to have any knowledge over. As if there is a consensus, or any authority by your part on the matter.

Re:WAT Driven Development by pavel_lishin on Wednesday March 14, 2012 @02:21PM (#3704556)
Homographs.
Re:WAT Driven Development by LabThug on Wednesday March 14, 2012 @01:10PM (#3704121)
Back when I used Visual Studio (1999), I did something similar using Robby the Robot (Warning), Daleks (for errors), the "You have the power" (Compilation successful) chick from RevCo's Gila Copter/Silence of the Lambs, and a Skinny Puppy rift (hitting a breakpoint)...good times!
Re:WAT Driven Development by mdaniel on Wednesday March 14, 2012 @03:44PM (#3704972)
I bet your co-workers loved you.
Re:WAT Driven Development by Ironballs on Wednesday March 14, 2012 @03:24PM (#3704879)
All of these wats are wrong.

Here is mine, to you, from me: http://soundcloud.com/ironballs/wat

Re:WAT Driven Development by micaeked on Wednesday March 14, 2012 @05:37PM (#3705498)
private track?
Re:WAT Driven Development by alpb on Wednesday March 14, 2012 @01:08PM (#3704105)
Does anyone know how to set bell sound in iTerm 2 on OS X?
Re:WAT Driven Development by jrom on Wednesday March 14, 2012 @01:27PM (#3704208)
alpb I use iTerm2, it just uses the system sound as I explained. Make sure you didn't enable "Silence bell" under iTerm2 prefs, Profiles, Terminal (the tab), Notifications.
Re:WAT Driven Development by sc68cal on Wednesday March 14, 2012 @12:53PM (#3704023)
This is great! I just downloaded the mp3, converted it to WAV and now use it as the sound played when CCTray (for CC.NET) reports a broken build.
Re:WAT Driven Development by jrom on Wednesday March 14, 2012 @12:55PM (#3704035)
Haha, awesome! We're hooking it up with our CI to have a WAT when a build fails.