Christianity

Faith? Or Science? Or Both?

I’ve always loved science. Science, to me, represents the quest for understanding; the peeling back of the layers of our world and figuring out how it all works. It is the believe-nothing, question-everything-until-proven approach that demands hard evidence and rigid logic before it accepts anything, in its ongoing mission to seek out the truth. And, judging by the results, it seems to work pretty well. I like it a lot. But here’s the crux: I’m…

Continue reading

IT and Software

Steps to Greater Happiness and Fulfilment of Joy with Dropbox and KeePass

I use Dropbox and KeePass together to manage all my passwords; for websites, email accounts, PIN codes and everything else. I use KeePass because I don’t trust online services to store my passwords for me; I want them at home, private, where only I can see them and no one else. However, it takes a little bit of effort to set this up – but it’s well, well worth it. Here’s how I do it:…

Continue reading

IT and Software

Aggregated Fail States

The concept of a program failure, in the mind of a software developer, usually takes the form of a boolean or an exception. It’s either true or false, fail or no-fail. But sometimes you come across more subtle error states – and this is especially true with web-based applications or applications that consume external services. Temporary errors, due to connectivity issues, pop up from time to time, and handling those correctly means the program has…

Continue reading

IT and Software

Windows CMD reference

I spent a part of yesterday looking through all the commands in Cmd.Exe (the Windows command shell, inheritor of the old COMMAND.COM). It’s interesting how they’ve added switches and stuff to improve on it since the early days, but how almost nobody seems to use it. Admittingly, it’s a far cry from bash, the Unix command shell, but there’s a few old tricks you still can pull out of the hat. People may flame it…

Continue reading

IT and Software

Common ffmpeg parameters

Information -codecs Display codecs -formats Display formats -f fmt Force format “fmt” -i filename Set input file name -y Overwrite output file -t secs Force duration to specific length (hh:mm:ss[.xxx] syntax works) -fs limit Set file size limit -ss secs Seek to given time position (hh:mm:ss[.xxx] syntax works) -target type Specify target type (“vcd”, “svcd”, “dvd”, “dv”, “dv50”, “pal-vcd” etc) … all the format options are set automatically Video -b bitrate Video bitrate in bps…

Continue reading