Urgent.News

What's breaking now, across thousands of outlets.

Tech

File Naming Conventions That Sort by Date: 4 Simple Rules

Every shared folder seems to have a "report_final_REALLY_final.xlsx" somewhere. Nobody is sure which file is current, and sorting by name doesn't help, because the names were never written to be sorted. A few naming rules fix both problems. They need no software, only agreement on the order of things. TL;DR: Start with the date as YYYY-MM-DD, use two digits for months and days, use v1 and v2…

Sorting shared files by date is a challenge when names are not written to be sorted. A few simple rules can fix this issue. The first rule is to begin every file name with the date, formatted as year-month-day (e.g., 2026-10-01). This ensures that when sorted alphabetically, the files appear in chronological order. Another rule is to use two digits for both months and days.

This prevents September (09) from sorting after October (10) or November (11). Instead of using "final" to indicate the latest version, use version numbers like v1, v2, etc. The highest version number indicates the most recent file. It is beneficial to apply these naming rules to any folder that more than one person accesses and that you may need to search through six months later.

This includes reports, invoices, meeting notes, and data exports. Common mistakes include using mixed formats or placing the date in the middle of the file name. To avoid these problems, choose one date format and rename old files. Avoid placing the date in the middle of the file name, as this will group files by content rather than by date.

For files with more than nine versions, use version numbers with leading zeros (v01, v02, etc.) to maintain the correct order. Developers already use this method because it follows the ISO 8601 date standard used in logs and backups. By writing dates in the largest unit first with fixed widths, string sorting and date sorting will both produce accurate results.

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

Grok en la Casa Blanca y decisiones con IA en Estados Unidos

Grok en la Casa Blanca y las nuevas decisiones sobre IA en Estados Unidos cruzaron la raya que separa a un asistente de oficina de un asesor con línea directa al poder político.

  • Grok AI consulted Trump on Venezuela change impact
  • Concerns over Grok's geopolitical understanding and data exposure
  • Super Intelligence Force committee to coordinate advanced AI use

Connect Microsoft Excel to InterSystems IRIS via ODBC (Windows)

How to create an ODBC connection on your native Windows laptop to IRIS running on a Windows VM on the same computer, test the connection, and pull data from IRIS into Excel.

  • Install latest InterSystems ODBC driver on Windows
  • Note Windows VM's IP address and Web Server Port
  • Create ODBC data source in System DSN tab

Log Files Are Untrusted Input - A Red Team Found Out the Hard Way

A team red-teaming their own log-reading AI assistant found something that should worry anyone who's bolted an LLM onto an internal tool: planted instructions inside log lines could get the model to…

  • Red team exploited log-reading AI assistants
  • Inserted commands into log lines to reveal passwords
  • AI lacked safeguards to distinguish malicious input

How I Built an Autonomous Physical Device QA Farm with Python, ESP32, and n8n (Bypassing AWS Device Farm)

If you've ever tried running automated UI tests on a fleet of physical mobile devices, you know the pain. Cloud-based device farms (like AWS Device Farm or BrowserStack) cost thousands of dollars per…

  • Autonomous Mobile UI QA Fleet Manager uses ESP32 microcontrollers for independent screen streaming.
  • n8n Webhook triggers Python API to assign test suites to idle ESP32 nodes.
  • Vision Engine analyzes RTSP stream with OpenCV and AI Agent for UI assertions.

Word Paste Options: Ctrl+V, Ctrl+Shift+V and Keep Text Only

You copy a paragraph from a web page or a chat window, paste it into a report, and that one section now has a different font, size and color from the rest of the document.

  • Ctrl+V keeps original formatting of pasted text
  • Ctrl+Shift+V pastes text without formatting
  • Paste Options button provides Keep Source, Merge, or Keep Text Only choices

More from Tuesday 13 October →