Continue reading 磁盘权限错误导致launchd高CPU占用

Here's to the crazy ones

Here's to the crazy ones: the misfits, the rebels, the troublemakers, the round pegs in the square holes, the ones who see things differently. 

They are not fond of rules. They have no respect of status quo. You can quote them, disagree with them, glorify or vilify them. About the only thing you can't do, is ignore them, because they change things. They push human race forward.

Some may see them as the crazy ones. We see genius,because the people who are crazy enough to think they can change the world ... are the ones who do.



malloc: *** error for object 0x100105438: incorrect checksum for freed object - object was probably modified after being freed.*** set a breakpoint in malloc_error_break to debug


现在的处理办法是 : 在用过ifdev和ofdev之后,把这两个字符串清空,就可以一切正常。

Continue reading 自己实现的dd工具

MIT Algorithms (1)

1)  f(n) = O(g(n))
    It means there are consts C > 0, n > 0 such that 0 <= f(n) <= c * g(n) for sufficiently large n.
    f(n) = Ω(g(n))
    It means there are consts C > 0, n > 0 such that 0 <= c * g(n) <= f(n) for sufficiently large n.
    O notation, less than or equal to.
    Ω notation, greater than or equal to.
    Θ notation, less than or equal to AND greate than or equal to.
2)  Macro convention
    A set in a formula represnts on anonymous function in that set.
3)  big O is upper bounds
O notation, less than or equal to.
Continue reading MIT Algorithms (1)