Urgent.News

What's breaking now, across thousands of outlets.

Editions

Tech

What's an event loop anyways?

Event loops are a paradigm for processing events different than your typical single-threaded or multi-threaded application. Your request gets broken down into async "events" that are executed in a loop to improve performance and minimize synchronization across threads. It is famously used by Node.js as the backbone of their event processing and also by several other technologies like Redis and…

We haven't written up this one. Dev.to has the full story — the link below goes straight to it.

Read the original at dev.to →

More in Tech

The Principle of Least Privilege: Why File Permissions Like 600/644/755 Exist

Anyone who has worked with SSH private keys has run into an instruction to "set it to 600." Config files, by contrast, often get 644, and executable scripts get 755. What do these three-digit numbers actually mean, and why does the right number depend on what kind of file you're dealing with?

  • File permissions 600/644/755 represent Unix-style access rights.
  • Each number breaks down into owner, group, others, and read/write/execute.
  • Principle of least privilege guides granting minimal required access.

More from Friday 21 August →