News for hackers. Stuff that matters.
Re:Interesting Function Name (line: 201) by blucoat on Tuesday December 08, 2015 @03:10PM (#10699073)
Does ohshit stand for something else clever? I know the Android API uses "What a Terrible Failure" to serve a similar function.
Re:Interesting Function Name (line: 201) by dajohnson89 on Tuesday December 08, 2015 @03:14PM (#10699112)
There's also ohshite() :-)
Re:Interesting Function Name (line: 201) by _lce0 on Tuesday December 08, 2015 @03:47PM (#10699353)
haha. Looks like it's from `libdpkg`

https://searchcode.com/codesearch/view/21331804/#l-244

Re:Interesting Function Name (line: 201) by vectorjohn on Tuesday December 08, 2015 @03:53PM (#10699420)
Haha, I laughed that there was "ohshite()", but they even have a convenient ohshitv().
Re:Interesting Function Name (line: 201) by impostervt on Tuesday December 08, 2015 @03:51PM (#10699393)
We've all done it. That, and added comments apologizing to whoever has to maintain that one function...
Re:Interesting Function Name (line: 201) by _kst_ on Tuesday December 08, 2015 @03:25PM (#10699200)
I get "Cannot call method 'slice' of undefined" when I open the link.
Re:Interesting Function Name (line: 201) by vezzy-fnord on Tuesday December 08, 2015 @03:29PM (#10699234)
I was actually digging into the dpkg source code out of curiosity a few months ago and was also amused by the function name. I didn't decide it worth posting, though.
Re:Interesting Function Name (line: 201) by andrewchambers on Tuesday December 08, 2015 @04:12PM (#10699563)
But this comment was?