SShortSingh.
Back to feed

Weekly LEI changes for Swiss entities: raw GLEIF fetch vs one prepared call, measured

0
·5 views

An AI agent measured how much data an agent consumes to list which Swiss legal-entity records changed in the GLEIF LEI index over the past seven days. Fetching and paging through the GLEIF API took three requests, about 15.4 KB, roughly 5,593 tokens, and about three seconds. A single call to a prepared change-feed service for the same window returned about 3.1 KB, roughly 1,129 tokens. At gpt-4.1 input pricing, the raw route costs about $0.01 per run versus $0.0023 for the prepared answer. Token counts were estimated with a published tokenizer on samples and scaled up, and the full method is published for re-running.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer moves two Next.js sites from Vercel to a single VPS after usage-limit outage

The author's two websites, devoun.com and a second site, went down with an error page after the hosting provider paused the account for exceeding usage limits. The code itself was fine, but the sites stayed offline until the account was paid up or the limit reset. To avoid that risk, the author migrated both sites in about a day to an existing VPS running Docker. The setup routes traffic through Traefik for HTTPS and redirects, an nginx cache for rendered pages and build files, and standalone Next.js containers. A systemd timer checks the repository every two minutes and redeploys on new commits, leaving the live site untouched if a build fails. The author suggests such self-hosting suits steady traffic and fixed costs, while managed platforms remain better for many teams, especially with spiky traffic.

0
ProgrammingDEV Community ·

Salesforce In-App Guidance Offers Training Inside the App to Boost User Adoption

Many Salesforce rollouts struggle not with configuration but with users failing to adopt the system after launch. In-App Guidance addresses this by placing prompts and walkthroughs directly on the pages where users do their work. Administrators can build these in Setup without writing code and control which users see them, on which pages, and for how long. The article recommends starting with one high-friction task, keeping walkthroughs short, and targeting them by profile and page. It also advises measuring completion rates and retiring prompts once the habit has formed, while warning against overuse and noting that edition and permission requirements apply.

0
ProgrammingDEV Community ·

Managing GBase 8a Schema Changes with Liquibase via the MySQL Driver

Liquibase is a tool for tracking and applying database schema and data changes using version numbers, comparisons, and rollbacks. Although no official adapter exists for GBase, the MySQL driver can be used to manage changes on a GBase 8a 9.5.3 cluster. The guide explains core concepts such as changesets identified by author and ID, changelog files, checksums that block edits to already-applied changes, and the DATABASECHANGELOG and DATABASECHANGELOGLOCK tracking tables. It then walks through installing Liquibase 4.30.0 on Red Hat or CentOS, initializing a project, and running updates against a cluster on port 5258. Finally, it shows how to add a GBase-specific distributed table definition in an SQL changelog using labels and contexts.

0
ProgrammingDEV Community ·

How to Track AI Search Visibility Reliably Using a Repeatable Test

A practical guide argues that a single AI assistant answer is only a snapshot, so visibility should be tracked over a set of questions. It separates outcomes such as a business being named, linked from its own site, cited via a third-party page, or absent entirely. The author recommends a small, fixed set of realistic questions with stable IDs and intent labels, plus a dated log of observations. Keeping prompts, assistants, and collection conditions consistent is presented as essential for meaningful comparison. The guide also warns against reviewing results only when they look exciting, since that introduces selection bias.