Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Dirty deals cloud mayoral race

The race for the eThekwini mayoral chain is fraught with tension following allegations of vote-buying and the sudden resignation of five councillors ahead of a critical coalition vote.

Dirty deals cloud mayoral race

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

Source: mg.co.za

Read the original at mg.co.za →

Report a problem with this story

More in Tech

Avatar Thumbnail Processing Explained — Node.js Sharp, Fixed Sizes, Private Storage

Short answer: save the untouched avatar under a new versioned key, generate square 32, 64, 128, and 256 pixel variants with Sharp, keep every object private, and store those keys in the user record.

  • Node.js Sharp creates unique assetId for each avatar update.
  • Stores original image and four fixed size WebP versions (32.webp, 64.webp, 128.webp, 256.webp).
  • User record points to assetId and five keys, not permanent URL.

More from Thursday 26 November →