I’m sure everyone has had the experience of a server process that was created by some developer and continues to run indefinitely without ending. This script comes in handy in such situations. When you schedule it to run regularly with tools like crontab, it will terminate these seemingly never-ending processes for you. It’s similar to scripts like Terminating Excessive Apache (httpd) Child Processes and Listing Process Execution Directories.
Continue reading Shell: Terminating Long-Running ProcessesCategory Archives: Code
Test in the Expectation and the Variance in a Sampling Distribution
Test the expectation and the variance in a sampling distribution with a program.
Continue reading Test in the Expectation and the Variance in a Sampling DistributionJava: Try, Catch, Finally Statement
I wrote the summary about try
, catch
and finally
statement in Java.
Java: For Loop and For-Each Loop
[Simulation] the Law of Large Numbers and the Central Limit Theorem
Seeing samples, simulation in other words, is a good way to understand the concept, so I’ll explain with an example. At first, I’ll show the explanation of the law and theorem, and then I’ll provide the example.
Continue reading [Simulation] the Law of Large Numbers and the Central Limit Theorem