Tag: cs
Vargoville
Monday, 13 September 2010
Dynamic Ticks for Operating Systems
Last week, I asked in my OS class how tickless operating systems use interrupts or other mechanisms to achieve lower power usage. I did not get my question answered, and have since read into the topic some more. Here is what I found.
Continue reading "Dynamic Ticks for Operating Systems"
Saturday, 12 June 2010
Functional Programming with PHP
Wait, what? You can do functional programming in PHP? Doesn't that make PHP even more messy? Why would you do such a thing? In this case, no, it makes my code cleaner.
Continue reading "Functional Programming with PHP"
Thursday, 13 May 2010
Testing Whether an Integer is a Power of 2
By using the & (logical and) operator, we can easily (and quickly!) test whether an integer is a power of 2.
Continue reading "Testing Whether an Integer is a Power of 2"