Urgent.News

What's breaking now, across thousands of outlets.

Tech

A Government Liquor Board Lab-Tests Every Bottle It Sells. Almost Nobody Uses the Data.

The best datasets aren't hidden. They're published in plain sight by bureaucracies that have no idea anyone might want them — collected for compliance, exposed out of habit, and abandoned one page at a time. Here's my favorite example. The LCBO — Ontario's government liquor monopoly, and one of the largest single buyers of beverage alcohol in the world — runs a quality-assurance lab. Products it…

Abstract editorial illustration

The Ontario government-run liquor monopoly, the LCBO, conducts lab tests on every bottle of alcohol it sells, including sugar content in grams per litre for over thirty thousand products. However, the LCBO website lacks any interface to utilize this valuable data, leaving diabetics, keto dieters, and others unable to easily access this important information.

Winesugarcontent.com, built by the author, fills this gap by providing a searchable and sortable database of lab-verified sugar content, along with additional filters like price, category, country, grape, and sweetness level. The site's data pipeline involves ingesting the LCBO search API, cleaning and deduplicating the data, and generating static pages using Astro and PostgreSQL.

The project's key principles include never allowing language models to invent numbers, trusting lab measurements over marketing descriptors, and recognizing the interface as the product itself. The same data publication pattern can be replicated with other government purchasing monopolies, such as Sweden's Systembolaget or Finland's Alko, providing valuable information to the public.

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

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.

  • On the 24th day of the 100-day journey, the author discovered file path intricacies.
  • The author practiced using both relative and absolute file paths in Pycharm.
  • The author enhanced a Snake game with a high score feature that persisted across game loads.

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 →