Random interesting stuff that I learned last week
ER diagrams
Entity Relationship diagrams are important concept in database design. They help to conceptualize the relationship between tables in a database. I was looking for a quick refresher on the ER diagrams. These two videos did the job: Part 1 and Part 2
Unix sockets
You know when you’re trying to connect to MySQL and an error shows up that the socket file is missing? That’s because in MySQL the socket connection is enabled by default on localhost. What are UNIX socket files? These are files that enable two application to communicate with each other on the same machine, without the need for networking.
Here is an in-depth explanation of how they work:
www.techdeviancy.com/uds.html
And here’s a quick video explanation:
www.youtube.com/watch?v=uXve8WYiGts
More on the details of sockets:
stackoverflow.com/questions/14919441/principle-of-unix-domain-socket-how-does-it-work