Wherever performance is the key factor, choosing the right algorithm, (in a very unbiased fashion,) is a very crucial factor. And generally for reversing string in JavaScript applications, I endorse this petite string reversal algorithm using Array.reverse() method.
Continue reading

It has happened with me a number of times that documents got stuck in my print queue like super-glue!
Perhaps it was the wrong document or maybe the wrong printer chosen. In any case, going to printer options and cancelling/deleting the print would result in all but the last document being stuck at “deleting…” state in the printer queue. Nothing would remove that last document from the list of print jobs. And you know that until that small little document is not cleared off the list no other work can be done without getting distracted! Continue reading