/proc kcore file is huge

In answer to your original question: “Is it safe to delete the /proc/kcore file? Or is there a solution on getting it to an normal size.” No, it’s not safe. Well, I wouldn’t like to bet what would happen if you deleted it anyway! The /proc directory is the mount point for procfs (run mount … Read more

Why do we need fibers

Fibers are something you will probably never use directly in application-level code. They are a flow-control primitive which you can use to build other abstractions, which you then use in higher-level code. Probably the #1 use of fibers in Ruby is to implement Enumerators, which are a core Ruby class in Ruby 1.9. These are … Read more

When to use lambda, when to use Proc.new?

Another important but subtle difference between procs created with lambda and procs created with Proc.new is how they handle the return statement: In a lambda-created proc, the return statement returns only from the proc itself In a Proc.new-created proc, the return statement is a little more surprising: it returns control not just from the proc, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)