Long time not written anything in here, but I’d like to rant a little about Rails’ single-table-inheritance (STI) half-assed support. I’m doing a project where using an STI started to ma...
if (/*you*/ $_GET) { //celebrate
//3.4 JeK My manager promised me a lap dance if I can fix this release //3.5 JeK Still waiting for that dance from my manager //3.6 JeK My manager got changed, the new manager is hairy, dont wa...
// Catching exceptions is for communists
In drivers/net/sunhme.c (Linux kernel): /* Welcome to Sun Microsystems, can I take your order please? */ if(!hp->happy_flags & HFLAG_FENABLE) return happy_meal_bb_write(hp, tregs, reg, value); ...
long time; /* know C */
/* after hours of consulting the tome of google i have discovered that by the will of unknown forces without the below line, IE7 believes that 6px = 12px */ font-size: 0px;
Repeat … Until (JesusChristsReturn) ’ Not sure
//MailBody builders for two outgoing messages StringBuilder hanz = new StringBuilder(); StringBuilder franz = new StringBuilder();
// TODO: Fix this. Fix what?
def format_ticket_content(text, recursive = true) if text.is_a?(TicketNote) note = text text = note.content else note = nil end ## Safety pig...
// John! If you'll svn remove this once more, // I'll shut you, for God's sake! // That piece of code is not “something strange”! // That is THE AUTH VALIDATION.
* ...and don't just declare it volatile and think you've solved * the problem. You young punks think you know what volatile * means... why in my day we had to cas...
virgin = 0; /* you're not a virgin anymore, sweety */
public boolean isDirty() { //Why do you always go out and return dirty; }
try { } catch (SQLException ex) { // Basically, without saying too much, you're screwed. Royally and totally. } catch(Exception ex) { //If you thought you were...
class Act //That's me!!! { }
// This comment is self explanatory.
} catch (PartInitException pie) { // Mmm… pie
// this comment included for the benefit of anyone grepping for swearwords: shit.