SShortSingh.
0
ProgrammingDEV Community ·

Developer finds auto-correct dictionary swapping common words with accented proper nouns

A Brazilian developer built a script to automatically fix Portuguese accent marks in AI-generated text using a dictionary of over 90,000 words. She discovered the dictionary itself was incorrectly replacing common words like 'pele' (skin) with 'Pelé' and 'teve' (had) with 'tevê' (TV). The errors were silent and produced fluent, grammatically correct text, making them nearly impossible to detect without careful manual review. The root cause was that the dictionary had mapped unaccented words to their proper-noun or less-common accented forms, without accounting for real-world frequency. The developer concluded that truly ambiguous words should not be resolved automatically, and that any correction tool must be validated by a second check that does not rely on the same data source.

0
IndiaTimes of India ·

Karnataka IAS Officer Arrested Over KPSC Recruitment Exam Irregularities

The CID arrested IAS officer Gyanendra Kumar Gangwar on Sunday in connection with a recruitment scandal at the Karnataka Public Service Commission (KPSC). Gangwar had served as the Controller of Examinations at KPSC and is suspected of involvement in recruitment discrepancies. Authorities cited his failure to cooperate with the ongoing investigation as a key reason for the arrest. The Enforcement Directorate had previously raided KPSC offices as part of a separate money laundering probe linked to the case. Gangwar's earlier absence had reportedly added to complications in advancing the inquiry.

0
ProgrammingDEV Community ·

How an AI-only newsroom built a three-layer fact-checking pipeline after costly errors

The team behind presentofai.com, which publishes AI industry analysis using fully automated LLM agents with no human writers, documented the verification architecture they were forced to build after their writing pipeline produced factual errors. The first layer uses a judge model to check each draft against its source events, triggering a single revision pass for high-severity issues, since unbounded self-revision was found to introduce new errors rather than reliably fix existing ones. A second layer extracts key claims, runs independent web searches for each, and classifies them as supported, wrong, contested, or unverified — catching an invented attribution that had survived five prior review rounds. A third layer audits the upstream event timeline itself, correcting issues like speculation presented as fact, duplicate events from re-reported news wires, and confirmation dates mistaken for action dates. The team found that silent failure modes — such as rate-limited searches returning no results and therefore no findings — were among the most dangerous, requiring concurrency caps, bounded retries, and code-level guards rather than prompt instructions alone.

0
IndiaTimes of India ·

Mohammad Amir declares Pakistan cricket chapter closed after getting British citizenship

Former Pakistan fast bowler Mohammad Amir has confirmed he will not return to Pakistan's national cricket team after acquiring British citizenship and a passport. The left-arm pacer described himself as a 'British local', signalling a definitive end to his international career with Pakistan. Amir had come out of retirement to represent Pakistan before stepping away again in 2024. His international career was marked by notable performances in ICC tournaments over the years.

0
ProgrammingDEV Community ·

Silent encoding bug corrupted emails for months without a single error log

A developer in Assis, São Paulo discovered that her system had been sending emails with garbled Portuguese accented characters due to a character encoding mismatch. The root cause was a script reading a UTF-8 CSV file using Latin-1 encoding — a combination that never threw errors because UTF-8 bytes read as Latin-1 form a stable round-trip, leaving the source file intact. The bug remained invisible for months since the file appeared correct when opened and no exceptions were raised during processing. Corruption only became visible when the misread text reached an output that properly decoded UTF-8, such as an email body or an LLM prompt. The fix required nothing more than changing encoding='latin1' to encoding='utf-8' at each point the file was opened, with no data rewriting needed.

0
ProgrammingDEV Community ·

Open-source tool gives all your AI coding agents one shared local memory via MCP

A developer named sanprat has released agent-memory, an open-source project on GitHub licensed under Apache 2.0. The tool creates a universal memory layer for AI coding agents such as OpenCode, Claude Code, Cursor, and Kilo Code using the Model Context Protocol (MCP). It runs entirely locally using Mem0 and Qdrant, requiring no external API keys. Users can seed rules or context once, and all supported agents will share and retain that memory. Configuration files are auto-generated for five agents, simplifying the setup process.

0
ProgrammingDEV Community ·

Why HTML Email Rendering Remains Broken in 2026 and How Devs Are Fixing It

Despite modern web development advances, HTML emails still render inconsistently across major clients like Outlook, Gmail, and Apple Mail due to outdated rendering engines. A development team analyzed 2,529 user comments from the top 25 YouTube tutorials on email signatures, finding that over 64% were requests for bug fixes. Key issues include Outlook Desktop using Microsoft Word as its HTML engine, which ignores CSS properties like border-radius and max-width, causing images to render at full native resolution. Gmail and Apple Mail dark mode algorithms invert white or transparent borders into bright visible gridlines, while macOS Mail silently strips custom fonts by default. The team used these findings to build a zero-bloat email signature compiler that applies legacy HTML attributes and explicit inline CSS resets to ensure consistent rendering across clients.

0
ProgrammingDEV Community ·

AI Coding Benchmark Exposes How Compressed Summaries Outlive Their Own Corrections

A local AI coding benchmark originally conducted in June was re-tested on 4 July using qwen3-coder-30b via Ollama, which scored a perfect 8/8 in just 2.1 minutes compared to 7.5/8 in 44.1 minutes for the smaller qwen3.5-9b model. The re-test initially appeared to overturn the June verdict, but closer reading revealed the original findings had been misrepresented through compression — the phrase 'iterative coding not viable' had been stripped of its architectural scope and specific conditions. June's analysis had already identified five structural failure modes and noted that a proper harness could address at least two of them, which is precisely what the July setup provided. The core problem was not that the June verdict was wrong, but that a condensed version of it entered the project's working memory as a headline claim and went unchecked for two weeks. The episode illustrates how accurate technical findings can be undermined when nuanced conclusions are reduced to broad, unqualified statements during documentation handoffs.

0
ProgrammingDEV Community ·

Jio Gets SEBI Nod for India's Largest-Ever IPO; Navi Raises $100M from Prosus

Jio Platforms received SEBI approval on August 28 for its upcoming IPO, which is expected to be India's largest-ever public listing with a target raise of approximately ₹37,700 crore at a valuation of around $137 billion. The offering consists entirely of fresh equity shares, with pricing and listing dates yet to be announced. Meanwhile, Sachin Bansal's fintech firm Navi secured $100 million from Prosus — its first external funding round in eight years of operating solely on founder capital — pushing its valuation to approximately $1.3 billion. On the broader funding front, Indian startup fundraising trackers reported widely varying weekly totals ranging from $198 million to $469 million, highlighting how methodology and startup definitions affect reported figures. India's government continues to push AI infrastructure investment, with the IndiaAI Mission allocating $1.25 billion and subsidising over 38,000 GPUs for startups and researchers as part of an ambition to attract $200 billion in AI investment by 2028.

0
IndiaNDTV ·

Tea Break Saves 5 Chhattisgarh Tourists From Nepal Flash Floods

A group of five friends from Raipur, Chhattisgarh, had a narrow escape from deadly floods in Nepal. The group departed Raipur on August 21 and arrived in Nepal the next day. They had hired a local vehicle and were planning to visit religious sites including Pashupatinath Temple and Manokamana Temple. A timely tea break kept them away from a flood-hit route, inadvertently saving their lives. The incident highlights the dangers tourists can face during Nepal's monsoon season.

0
ProgrammingDEV Community ·

A buyer's AI agent audited a vendor's website before purchase, exposing key gaps

A small software vendor discovered that a customer had deployed an AI coding assistant to vet their website before completing a purchase, with the entire automated evaluation occurring the day before the eleven-second transaction. The agent systematically fetched legal pages, support information, and a security.txt file, but also attempted four URLs that returned 404 errors, including pages for a contact form and product bundle. Because the site lacked a dedicated contact page, the agent's report likely flagged the vendor as harder to reach — a finding the team considered misleading and entirely self-inflicted. In response, the vendor made four same-day changes to their site, including adding an llms.txt file for language models, structured schema.org product data with live pricing, a proper security.txt contact, and a clearer pricing page. The incident highlights how a website's machine-readable surface is becoming a critical trust signal as AI-assisted purchasing grows more common.

0
ProgrammingDEV Community ·

How to fix CJK font rendering and CSS gaps when using Satori for OG images

A developer building a Korean saju reading service encountered three key failures while generating share cards and Open Graph images using Satori via Next.js's ImageResponse. The first issue was missing hanja glyphs, solved by passing an ordered font fallback array — a Korean handwriting face for Hangul and Latin, followed by a hanja-specific font — mirroring CSS unicode-range logic. The second problem was Satori's lack of support for mask-image, filter, and backdrop-filter, requiring all styling to be written inline in JSX rather than pulled from an external stylesheet. To work around this, the developer created a small inline token mirror of the site's light-theme CSS variables and committed to light-only card output. A third practical constraint noted was that Satori requires TTF or OTF font files, not woff2, and font paths must be hardcoded literals so Vercel's file tracing can correctly bundle assets at build time.

0
ProgrammingDEV Community ·

Why Developers Are Shifting to On-Device AI Models for Production Systems in 2026

A major architectural shift is underway in software development, with engineers moving away from cloud-based AI APIs toward running large language models locally on their own hardware. The primary drivers are compounding latency issues in multi-step AI agent loops, where each cloud round-trip adds hundreds of milliseconds, making user-facing applications feel sluggish. Rising API costs, which scale with usage and token complexity, have also made cloud inference financially unsustainable for high-frequency production tools. Advances in quantization techniques — particularly 4-bit formats like Q4_K_M — now allow large models to run efficiently on mid-range consumer GPUs with minimal accuracy loss. Local inference engines have also introduced grammar-constrained decoding, which forces models to produce valid structured outputs, improving the reliability of automated agent pipelines.

0
ProgrammingDEV Community ·

Qt Remains a Top Choice for Cross-Platform Desktop Apps in 2026

Qt continues to be a leading framework in 2026 for building desktop applications that run natively on Windows, macOS, and Linux from a single C++ codebase. The framework offers two UI approaches: Qt Widgets for traditional, form-heavy desktop interfaces and Qt Quick/QML for modern, animated, and touch-friendly designs. Unlike web-based wrappers such as Electron, Qt compiles to native executables, resulting in better performance and a smaller memory footprint, though it requires C++ expertise. Beyond UI, Qt also covers networking, databases, concurrency, and file handling, reducing the need to integrate third-party libraries. Its maturity and long-term support make it particularly suitable for industrial, scientific, and enterprise software that demands years of maintenance.

← NewerPage 629 of 3976Older →