Urgent.News

What's breaking now, across thousands of outlets.

More in Tech

How to Learn Kafka (Without Mixing Up Topics, Partitions, and Consumer Groups)

You watch a twenty-minute Kafka explainer over lunch. Topics, partitions, consumer groups, offsets. It all clicks. Two weeks later a teammate asks why your consumer isn't picking up messages, and you…

  • A topic is a named stream of records, not a queue
  • Topics are divided into partitions for scalability
  • Consumer groups are teams of consumers sharing the same group id

Turning a video clip into a game sprite sheet in the browser

I make 2D characters by generating a short animation video and cutting it into a sprite sheet. For a while that meant ffmpeg, a Python script and a lot of fiddling with transparency.

  • Extract frames by manipulating video element's currentTime property and waiting for seeked event.
  • Identify backdrop color using corners of each frame for background removal.
  • Implement process with plain JavaScript, no external dependencies, returning array of frame data.

Inode Exhaustion: The Disk Full Error That Makes No Sense

You run df -h and the root partition shows 85% used. Plenty of space left, right? Then you try to create a new file and get: No space left on device . You check again. You reboot.

  • Inode exhaustion occurs when lack of available inodes, not disk space, causes disk to appear full.
  • Tiny files like npm installs and log rotation contribute significantly to inode exhaustion.
  • Prevention includes proper logrotate configuration and monitoring inode levels with cron jobs.

32.3 million WhatsApp users in Malaysia face malware threat

AN estimated 32.3 million WhatsApp users in Malaysia could be exposed to cyberattacks involving malicious files designed to infiltrate smartphones, steal personal information and gain access to financial accounts. The files, which may appear to be or...

  • 32.3 million Malaysian WhatsApp users at malware risk
  • Cybercriminals exploit trusted contacts to infect devices
  • Disable auto-downloads, verify messages, activate 2-step verification

More from Sunday 8 November →