Urgent.News

What's breaking now, across thousands of outlets.

Tech

Day 24 of 100

Today I learnt all about files, paths and directories. I learnt what a relative and absolute file path is as well as how to use both in Pycharm alongside reading and writing files. Rather than doing a singular main project I did multiple small ones, including upgrading my Snake game to have a high score that stays every time you load the game. This is one of the mini-projects that I did - with…

On the 24th day of the 100-day journey, I discovered the intricacies of files, paths, and directories. I familiarized myself with the distinction between relative and absolute file paths, and how to effectively utilize both within Pycharm. Alongside these concepts, I practiced reading and writing files.

Rather than focusing on a single primary project, I embarked on multiple smaller endeavors. One of these mini-projects involved enhancing my Snake game to include a high score feature. This score persisted every time the game was loaded, providing a competitive edge for players.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Why Low-Code Platforms Need a Plugin Mechanism

In the previous post about workflow engines, I ended with a distinction: Workflows determine how business moves forward. Automation and plugins determine how the platform extends those actions beyond…

My MCP Tool Fetches Before It Writes and Logs Every Change. It Never Checked Whether There Was Anything to Change.

Two fixes ago, update_article — one of the tools in this repo's MCP server — got hardened twice. The first time, because it took a bare integer article_id , PUT whatever fields you gave it straight to…

  • MCP tool fetched empty data to DEV.to API with bare integers
  • Hardcoded diff logged even when no changes made
  • Function lacked check for any changes before updating

More from Saturday 8 August →