A Cool CSS Effect to Dim the Screen (Dashboard Style)
Nice short explanation of how to dim you page background just like Apple's Dashboard.
link
I want to use this in GWT ... :D
For now I'm writing tidbits about computer programming, the plan is to actually blog at some point in time.
Nice short explanation of how to dim you page background just like Apple's Dashboard.
link
I want to use this in GWT ... :D
Posted by Alexei Guevara at 10:01 AM 1 comments
Labels: css, dim background, javascript, trick
In the interview Joshua Bloch on Closures, Resource Management, Google, Joshua Bloch mentions, and praises, a facility a google employee created to timeout method invocations. A couple of years ago I had the need for such utility and ended up creating it. That code is nowhere to be seen now, as my employer has changed a couple of times since then.
Most certainly this is a very handy facility in everyday programming. It will be very nice if the "method timeout invocation" concern could be easly integrated into the code using aspects!
@timeout(millis=1000)
public void foo() {
...
}
/**
* Times out a method invocation. If any of the methods matched by the pointcut invocationToTimeOut() has not
* returned after the specified timeout, the unchecked exception InvocationTimeout will be thrown.
*/
aspect TimeoutInvocation {
...
}
Posted by Alexei Guevara at 1:54 PM 0 comments