- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Only for editing. If you just want to view the document, Less loads faster.
Admin
A year ago, I tried to convince my boss that we dont need a productivity measurement for us developers. Every time he came with an idea how we could do it, I had top show him how it would not work. He kept telling us: "...but the upper management demands this!" He is a bit clueless anyway. But smiling while wearing a suit every day did the trick for him ...
After 6 month or so he gave up. Mainly because he himself got a new boss, which I had a small talk shortly after we employed him (he had a small chat with most of us. kind of cool). He was smart enough to understand my point of view. And since I attend interviews now, we are not employing any more douchbags that much.
Admin
indent (or perhaps better, artistic style) is much better at generating diffs that:
and
In fact, with astyle, you can easily change the metric to "size of commit" instead of "number of commits," and still come out ahead!
Admin
I only need to use Word very, very occasionally. I cannot say the amount of times I've tried to save a Word document by using the Visual Studio "build" Control+Shift+B.
Go figure.
Admin
Wow, you can pipe through vi now? Vim has really bought a lot more power to this editor... <smiley/>
Admin
E. FILE_NOT_FOUND F. ... G. PROFIT
Two birds with one comment!
Admin
What is this film that you mention?
Admin
There is no non-production code. If in-house developed code used as part of company work processes then it is production code. Period. It does not matter if it is used only once and only by yourself.
Consider svn a vastly emhanced backup program. Run a daily svn check-in script over all your code created/modified that day and you have your backup even if you dislike manual check-ins.
Admin
In what world am I being dishonest by checking in my source code ? I mean, I am not the PHB who decided to do measure a(meaningless) process metric.
On another note: That PHB is problably planning to skip the company anyway. Just waiting until the end of the year, getting his performance bonus and then skips. After him the Deluge.
Admin
Just "ZZ" - is faster.
Admin
And the moral of the story is... don't count your checkins before they hatch.
Admin
No. There is no "vi mode" in less, "v" launches the editor that the VISUAL environment variable is pointing to, or, if it's not set, EDITOR.
Also, the underlying editor of vi is ex, not ed.
P.S. ed rules. Did you know GNU ed is under active development?
P.P.S. ePeen += 10cm;
Admin
I think I wouldn't stay there for long. With a boss as stupid at that I'd be frustrated all day. I liked especially that one:
Admin
Let me submit a friend-of-a-friend's work colleague's CVS diff. This is one of about 200 commits over several days. And, yes, the comment is:
"Made more generic/formatting/javadoc/checkstyle"
http://i25.tinypic.com/dvjaq0.jpg
Admin
Obviously "Milo" either didn't realize or didn't care that SVN gradually gets slower the more commits there are (SVN stores a separate file for each revision in a single directory).
I hope I never have to work on the same repository as some of the people here who are trying to one-up each other on ways to generate the most commits.
The real WTF is that Milo didn't muster up a little bit of people skill and explain tactfully why commits are a bad way to measure performance and instead created a system that would slowly cripple the performance of their SVN server and did nothing to disabuse his superior of his misunderstanding of programmer performance. Furthermore, it is a true WTF that he participated in fostering ill will between management and his co-workers when he could have done just the opposite.
Admin
Admin
http://www.imdb.com/title/tt0061512/
Admin
Which is as easy to catch with a svn diff as just appending spaces.
Admin
Just the one, evidently.
Admin
True, but at least this way you have an excuse : "I couldn't decide which version looks better, with or without the space ... and we all know that productivity is so much higher when the code you work on looks good." .
Granted, you'd still have to explain why it took you 20,000 commits to decide. :)
CATCHPA: damnum . Latin profanity ?
Admin
Why wouldn't this work? Measure the combination of:
Admin
Sadly, it changes fast, so you need a continous check-in process to avoid the versioning having stale data.
Admin
I can appreciate that many managers in the IT industry come from biscuit factories or whereever and have absolutely no understanding of how computers work or how software is developed, but surely Greg's boss could be discretely informed as to how his subordinates are managing his projects.
CAPTCHA: Uh....huh huh...he said
genitus
...Admin
On the other hand, if (like me) you avoid environment variables wherever possible, typing v inside less will still launch vi (at least on cygwin here -- somebody may have snuck in VISUAL or EDITOR on my linux/solaris workstations while I wasn't looking). As far as I'm concerned, therefore, the two are identical.
I wish I'd got the underlying editor correct, though. That would have been much funnier if I'd said, "Trust me, you do not want to talk to Ex."
Admin
Admin
Wow. Your manager actually knows how to use Subversion and inspect commit statistics?
Do you have an open position at your company?
Admin
They don't check stuff in? If they don't check in, the code doesn't exist. If it doesn't exist, then they don't do anything (Assuming software devs).
Admin
Oh well, just use a filesystem that doesn't suck.
Admin
You wrote a Perl script ?! Learn sed dude :)
Admin
"... and write a simple program in perl to add a space to the end of a single line (that line being round-robined through the file, and thus different between successive executions of the program) ..."
Why on earth would anybody choose to add a space to every single line (OK, arbitrarily the first 1024)? Why on earth would anybody assume the presence of sed on all the development machines?
Bit too complicated for a sed programmer, I suppose.
Admin
Admin
If you wanted to be productive in terms of check-ins and actual work, some script that automatically checks in a file every time you save it would be handy. You could even couple this with an auto-save mechanism.
This way, you might manage to be productive AND meet a deadline.
Admin
The problem is you'll never get to the profit, because you keep repeating the first part of your plan.
Admin
Meant to reply to the quoted post, sorry about that.