Urgent.News

One page, thousands of outlets. See who else covered it.

Editions

Tech

How Python Takes Out Its Own Garbage

Python manages memory automatically, freeing developers from manual allocation and deallocation. It does this through two complementary mechanisms: reference counting and a generational garbage collector for cyclic references. This article covers how garbage collection works in CPython. In other implementations such as PyPy, it works under a different mechanism Reference Counting: The Primary…

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

Understanding chmod Without Memorizing Numbers

How Linux file permissions actually work under the hood, why symbolic mode is your best friend, and how to stop blindly typing chmod 777. Every Linux engineer has been there.

  • Symbolic mode simplifies chmod by using letters instead of numbers.
  • File mode string in ls -l shows read/write/execute permissions.
  • Chmod u+x adds execute permission for user without changing others.

Your Database Is Making 4 Promises. Here's What ACID Means.

Introduction Your program keeps opening transactions. A signup writes a new user row. A checkout debits one account and credits another. A form submission updates three related tables at once.

  • Atomicity ensures all parts of a transaction happen together as one unit
  • If any part fails, the entire transaction is rolled back to maintain consistency
  • ACID guarantees Atomicity, Consistency, Isolation, and Durability for transactions

More from Monday 17 August →