Comment Re:The Law of Unintended Consequences (Score 1) 1364
This is the way such ballot petitions work in Washington state. You vote to repeal an existing law or to approve it. It's not specific to Referendum 71.
This is the way such ballot petitions work in Washington state. You vote to repeal an existing law or to approve it. It's not specific to Referendum 71.
There's nothing unsafe about printf (since compilers started doing format type checking), as long as you don't use user input as the format string. To print user input, you use printf("%s", user_input).
%n writes to the stack. It's disabled by default in VS2005 onwards. More at http://weblogs.asp.net/george_v_reilly/archive/2007/02/06/printf-n.aspx and http://julianor.tripod.com/bc/formatstring-1.2.pdf
I wonder if any of the VIM developers use emacs to develop VIM.
I wrote most of the Win32 console-mode port of Vim that appeared in Vim 4.x, back in 1995-96. My dirty little secret is that I did most of the work using Emacs' Viper mode. At the time, I found Vim to be too rudimentary for serious development work. I have long since completely abandoned Emacs (I never got beyond 19.34), and I use Vim for almost everything.
"I just want to be a good engineer." -- Steve Wozniak, co-founder of Apple Computer, concluding his keynote speech at the 1988 AppleFest