I have been doing this too long, I swear
-
So... for reasons, I copy/paste the SVN revision log of my current project (sole dev) to a forum so others can keep an eye on what's going on (and because I CBA to set up a thing to actually use the hooks in SVN to do it, though I have done it before)
Anyway. My project has just passed rev 400, and when pasting I found I'd been doing this:
Revision: 400 Bad Request Author: arantor Date: 30 September 2014 19:06:12 Message: A bit anti-climactic for revision 400: house cleaning, pruning old todo comments, pruning old debugging information that shouldn't be needed any more. ---- Modified : variouscrapTDWTFdoesn'tneedtohearabout Revision: 401 Authorization Required Author: arantor Date: 01 October 2014 02:23:31 Message: As lovely as ... ---- Modified : morecrapTDWTFdoesn'tneedtohearabout
Yes, that's right, practically on autopilot I ended up adding HTTP status messages to the copy of the commit log.
Perhaps I should go to bed haha.
-
Enjoy this "You are TRWTF" badge.
-
Well, I knew that. I've been saying it for weeks
-
Well, yes, but consider this validation.
-
It's always good to be validated. What about sanitised?
-
What about sanitised?
Will you settle for disinfected? I just bought a bunch of those bleach disks you put in the toilet tank.
-
Sanitizing is OK, no fishy function declarations anywhere.
-
I work with legacy PHP code a lot and sometimes I'll spend some time tracking down unused functions and stuff, and big blocks of commented code, and just yank them out. I always figure, they can only serve to confuse people and if someone is very emotionally attached to them they can just go into the Git repo to get them out again.
-
Clearly you gotta skip revision 404!
this is all I gotta say, carry on!
Filed Under: Wow, SVN has a "Modified"-Field and you chose to mention TDWTF in it? Amazing </stupid>
-
Revision: 402 Payment Required
Author: arantor
Date: 01 October 2014 04:00:39
Message:
And add social icons...Actually, love, it's just one of those adorkable little things you do.
-
You can blame me, I started that thread.
-
Nope, this one was all me.
-
Revision: 418 I'm a teapot
-
I'm not up to rev 418 yet but yes, yes it will be.
-
What about sanitised?
public function Sanitize($string){ return null; #wtf is this doing here. That's a hell of a sanitization lol. }
-
Even passes unit tests and has an NPath complexity of 1.
Fantastic. CHECK IT IN IMMEDIATELY!
-
Our local fire house's truck is number 404. We like to call it "Truck 404: Fire Truck not found."
-
Update: I just committed r404. In true FILE_NOT_FOUND tradition I did actually refactor a thing I needed to refactor and removed a class I refactored away.
So a file really is not found now
-
surely FIRE_NOT_FOUND
-
So there was speculation about rev 418.
Revision: 418 I'm A Teapot Author: arantor Date: 06 October 2014 04:49:39 Message: Just sat down with a mug of Assam and knocked out this cheeky little commit
-
-
TRWTF
And that's BST, too... Yes, I'm still up because I LOVE doing what I do and am quite happy to spend the night on it. (As in: that's not some timezone issue at work.)
-