Urgent.News

What's breaking now, across thousands of outlets.

Tech

Kairos 1.0 — a schedule language where "3 business days before month-end" is an expression

Today I tagged 1.0 of Kairos , a schedule definition language I've been building — a small DSL where schedules like "3 business days before month-end" or "payday on the 25th, previous business day if it's a holiday" are single expressions. premise US { calendar-system: Gregorian; calendar: NYSE; tz: "America/New_York"; wkst: Sun } @US monthEnd |> roll(Preceding, on: bizDay) |> shift(-3, unit:…

Kairos 1.0 is a schedule definition language that allows users to define schedules using single expressions, such as "3 business days before month-end" or "payday on the 25th, previous business day if it's a holiday". It addresses the limitations of existing tools like cron, Quartz, RRULE, Temporal, date-fns, and dateutil, which do not compose expressions well or do not account for holidays and other special cases.

Kairos is built around the principle of closure, where every expression maps a time stream to a time stream, allowing derived streams to feed further definitions. The language is frozen at version 1.0, with a focus on being a prototype with zero runtime dependencies and a comprehensive test suite. The documentation is available in both Japanese and English.

Brief written by urgent.news from Dev.to's own syndicated text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

I Built a Python CLI Toolbox Instead of Writing One-Off Scripts

Whenever I ask an AI assistant to do a small task, it writes a quick Python script for me. Convert an image. Compress a PDF. Convert a CSV to Excel.

  • Developer created Python CLI toolbox named Toolbox
  • Toolbox includes utilities for CSV to Excel conversion, image manipulation, PDF compression
  • Developer used Python's package manager uv for dependency management

Migrating from crontab: five everyday schedules, translated into Kairos

If you arrived from the Kairos 1.0 announcement , this is the hands-on one: take a crontab you already have and translate it.

  • Translate crontab schedules to Kairos language for non-fixed-time repeats
  • Define calendar system and time zone before creating Kairos schedules
  • Run translated schedules with one crontab line checking for points daily

My parser reported a parse error on a file that was never malformed

A build step that reads requirement tables out of a document reported this, every run: FAIL_MAP reason=parse reason=parse has an obvious reading.

  • Parser misidentified 256 well-formed rows as paragraphs
  • Reason code should indicate zero structured forms, not file malformation
  • Derived artifacts must be regenerated from committed state

How I Turned the SAM.gov Public Bulk Dataset Into a Searchable Contractor Database

Working with public government datasets often sounds straightforward until you actually try to turn them into something useful. That was my experience with the SAM.gov public bulk dataset .

  • Author created SAM.gov Public Contractor & NAICS Database Compiler tool
  • Tool processes raw SAM.gov dataset locally, bypassing API limits
  • Supports multiple filters and two output modes for contractor data

More from Sunday 13 September →