How to find which program is using a specific Windows port?

If you experience a python – Error: That port is already in use, or Apache’s: Port 80 in use by “Unable to open process”, it’s very likely that another program is already using the port. For anyone who ever experiences this kind of issue, or whenever you suspect that something else is using one of the ports, please follow these instructions to resolve the problem and find which program is using a specific Windows port. [Read more…]

Storing arrays in computer memory [exercise]

I’ve got this interesting exercise to share with everyone. See if you can figure this out on your own first… Suppose a homogeneous array with 8 rows and 6 columns is stored in column major order starting at address 20 (base ten). If each entry in the array requires only one memory cell, what is the address of the entry in the third row and fourth column? What if each entry requires two memory cells? So, the problem #1 is following: Identify the address of the entry in the third row and fourth column of the array, in the given problem. And the problem #2 is to: Identify the address of the entry in the third row and fourth column of the array, in the given problem if each entry requires two memory cells. [Read more…]