SShortSingh.
Back to feed

Developer builds 23 free UK energy cost calculators and finds keeping data current is the real challenge

0
·5 views

A developer has created Home Running Costs, a free set of 23 calculators and 8 guides estimating UK household bills such as heater, heat pump, heating oil and energy price cap costs. The site is built with Next.js, React, TypeScript and Vitest and hosted on Cloudflare. The main difficulty was keeping figures current, since Ofgem's price cap changes quarterly, heating oil prices move weekly and water bills change each April. To handle this, every figure is stored in a single config file with its source and check date, and pages are generated from it rather than hard-coding values. Tests compare outputs against official published figures, so a mistyped rate fails the build instead of showing wrong bills.

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 ·

Random Sketch: Free Online Generator Offers Drawing Prompts for Daily Practice

Random Sketch is a free online tool that generates random drawing prompts to help artists, students, and beginners find ideas quickly. Users can choose how many drawings they want, shuffle a gallery of images, and sketch at their own pace. The site also works as a random item generator, offering a wide variety of objects to draw. Its prompts are suited to practicing proportion, line work, and composition, and to warm-ups or building a regular sketching habit. Users can enlarge cards to change pose, angle, texture, or color, or download them as a ZIP file for later.

0
ProgrammingDEV Community ·

VibeCheckr Launches Zero-Storage AI Tools to Rate Selfies and Decode Chat Screenshots

A developer team has built VibeCheckr, a bilingual web app that uses multimodal AI to score selfies, photos, and chat screenshots. The tool produces 0-100 Aura Scores, comedy roasts, compatibility breakdowns, and suggested text replies. Users can upload images that are processed in memory and deleted immediately, with no photos stored, sold, or used for model training. A guest mode lets visitors try the features without providing an email or payment details. Results can be exported as shareable social media cards, and the app is available free at thevibecheckr.com.

0
ProgrammingDEV Community ·

How to Export a Competitor's Meta Ads to a Spreadsheet for Analysis

Competitors' Meta ads are publicly visible in Meta's Ad Library, but manually reviewing them is slow and quickly outdated. The article recommends recording a consistent set of fields for each ad, including copy, start date, status, platforms, and ad library ID. Run time is highlighted as a useful signal, since brands tend to stop paying for ads that underperform. Exporting the data may require a Meta access token obtained through a developer app, which must be kept private. The guide then describes using a scraping tool to pull the ads into a CSV file that can be sorted and analyzed in a spreadsheet.

0
ProgrammingDEV Community ·

IboChat Bug Silently Saved Characters Without Cloned Voices, Now Surfaced with Retry

The AI voice chat app IboChat let users create characters with cloned voices, but a failed clone was saved as a null voice ID without any visible error. The creation endpoint returned success because the failure was only logged on the server, so users got a character that sounded like a default voice with no explanation. The developer's fix surfaces the failure on the chat page with a warning banner. The fix also keeps the original voice recording in the browser so users can retry cloning without re-recording, though retries work only on the device that created the character.