The worst part of SVN is that it’s got lots of .svn folders hidden in every single versioned directory. It has never occurred to me how terrible an idea this is until I delete a directory. I had this weird deja vu that I’m going to regret issuing that rm -rf command but I did so anyway. It’s versioned, I tell myself.
No. Once I did that I spend the next 30 minutes trying several commands to recover it, such as svn revert and svn update. They don’t work because the current directory’s .svn folder is still there and it’s just silly SVN’s way of knowing its there. Every command to revert led me, falsely, to believe my folders are all still there.
So I downloaded an entire new copy of the files I just deleted and put them back. That failed as the files I have restored manually don’t have the .svn folders. I tried committing the restored copies and the SVN server will just say the “Commit failed” with the reason “Server sent unexpected return value (405 Method Not Allowed) in response to MKCOL request for ‘…'”.
Well… The thing is I wasn’t convinced. In an act of folly I deleted the parent directory which now resulted in the whole project just dead basically. Fantastic.
I should add that at this moment it all came back to me. I am certain this SHITuation happens to me at least a dozen time especially when I’m half awake.
As least Git doesn’t have that issue. Every time I use SVN, I have this feeling I’m walking on thin rope fearing to offend the Tiki gods. I guess I’m just not smart enough for SVN.
This is nerdy. Raw footage of a performance that “CS rapper” Monzy gave last summer outside Stanford University’s Computer Science building.
[code lang=”bash”]kill -9
kill -9 no more CPU time and your processes are mine. kill -9 ’cause it’s my time to shine.
And its theme song.
This is a parody of Britney Spears’ Womanizer. It’s now about nerds.
Lyrics to follow. Continue reading “Nerdy parody of Britney Spears’ Womanizer”
The following video is a parody of “I Will Survive” that mentions calculus and a bunch of stuff a mathematics genius can pretty much relate to. Not me, but still, I enjoyed it.