Tuesday, December 16, 2008
Ouch!!! Dependency injection is incomplete!!!
i've found this blog post about remote ejb injection, and it makes me sad :_(
Wednesday, November 5, 2008
Encoding with mancoder (from wmv to xvid)
nice -n 19 mencoder -ss 00:03:00 -endpos 70 -vf scale=352:288 <source_file> ofps 23.976 -oac mp3lame -lameopts abr:br=92 -ovc xvid -xvidencopts pass=2:bitrate=100 -o <dest_file>
where
nice is to increase process priority
-ss start time
-endpos stop after 70 seconds
-vf scale to resize original to quarter PAL
bitrate for web from 100 to 150 is ok
Wednesday, October 22, 2008
Uncertainty principle and quanta
The values of certain pairs of conjugate variables (time and software quality, for instance) cannot both be known with arbitrary precision. That is, the more precisely you want one value, the less precisely you get the other. This is not a statement about the limitations of a software engineer's ability to design a system, but rather about the nature of the system itself.
In software engineering, a man (plural: men) is an indivisible unit of work and is related to both time and software quality. Behind this, one finds the fundamental notion that a software system may be "quantized", referred to as "quantization". This means that the man can take on only certain discrete numerical tasks, rather than any value, at least within a range.
In software engineering, a man (plural: men) is an indivisible unit of work and is related to both time and software quality. Behind this, one finds the fundamental notion that a software system may be "quantized", referred to as "quantization". This means that the man can take on only certain discrete numerical tasks, rather than any value, at least within a range.
Friday, October 17, 2008
Some applications to replace MS Windows III
After lot of time I'm playing chess again (collecting defeats :D). Linux provides software to deal with chess too, my preferred are: scid, which is a game database with analysis capabilities and crafty, which is an analysis engine.
Reaching managed beans
Managed beans are reachable by injection through configuration of the faces-config or through look up using expressions like:
(MyBean)FacesContext.getCurrentInstance()
.getApplication().evaluateExpressionGet(
FacesContext.getCurrentInstance(),
"#{myBeanName}", MyBean.class);
Subscribe to:
Posts (Atom)