Nov. 30th, 2011

juan_gandhi: (Default)
пусть ярость благородная вскипает как волна

"Right now at Yammer we're moving our basic infrastructure stack over to Java"

Here's what Josh Suereth writes on this topic.

stuff

Nov. 30th, 2011 05:22 pm
juan_gandhi: (Default)

    private static StackTraceElement whereami(int i) {
        return Thread.currentThread().getStackTrace()[i];
    }

    public static int __LINE__() {
        return whereami(3).getLineNumber();
    }

    public static String __FILE__() {
        return whereami(3).getFileName();
    }


e.g.
        SysLog.debug("this is %s #%d", "message", 42);
        assertEquals("DEBUG  (" + __FILE__() + ":" + (__LINE__() - 1) + ") - this is message #42", log.toString());

Botched

Nov. 30th, 2011 10:05 pm
juan_gandhi: (Default)
The movie

ктоньть видел? Я так и завис

дело в Москве происходит

харе кришна хирайкам (в конце поёт незнамо кто)

Охранник говорит на таком английском, что к нему субтитры приставили (например: "moof!")

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

November 2025

S M T W T F S
       1
23456 7 8
9 1011 12 1314 15
16171819 20 2122
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Nov. 22nd, 2025 09:53 pm
Powered by Dreamwidth Studios