SShortSingh.
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.

0
IndiaTimes of India ·

Gavaskar Opposes Free Hits in Tests, Backs Financial Penalties for No-Balls

Cricket legend Sunil Gavaskar has firmly rejected the idea of introducing free hits for no-balls in Test cricket. He argues that free hits give batters an unearned advantage and do not belong in the longest format of the game. As an alternative, Gavaskar proposes escalating financial penalties for bowlers who repeatedly overstep, potentially holding their coaches accountable as well. He also suggests that teams should be empowered to vote on additional punishments for on-field errors to foster greater accountability.

0
IndiaTimes of India ·

UP Man Throws Acid on Ex-Fiancee and Her Sister After Engagement Called Off

A man named Harsh Bhati allegedly threw acid at his former fiancée and her sister in Uttar Pradesh after their engagement was broken off. The family of the victims overpowered and held him until police arrived. The engagement had been dissolved after the family reportedly discovered Bhati's alleged substance abuse. Both sisters sustained serious injuries and have been admitted to a hospital. Authorities are currently investigating the case.

0
ProgrammingDEV Community ·

Developer Builds Code-Focused Typing Trainer to Fix Slow Speeds on Symbols

A developer frustrated by slow typing on programming symbols like `=>`, `{}`, and `!==` built Typre, a free, open-source typing practice tool that uses only real code snippets. Unlike conventional typing trainers that rely on prose, Typre offers language-specific pools of actual Go, SQL, React, and Rust code across short, medium, and long run lengths. The tool also includes a punctuation-only drill mode, a shortcut trainer covering 61 VS Code and Vim commands, and standard metrics like WPM, accuracy, and daily streaks. Real-time races, per-language leaderboards, and challenge links are also available, though the developer acknowledges that WPM scores are verified only client-side and the leaderboard should not be treated as authoritative. Built with React 19, TypeScript, and Supabase, the project is live at typre.dev under an MIT licence.

0
IndiaTimes of India ·

Missing Picasso Etching Worth Up to $50,000 Found in Vacant Apartment After 8 Years

A Picasso etching that had been missing since 2018 was unexpectedly discovered by a landlord inside a vacant apartment. The artwork is estimated to be worth between $35,000 and $50,000. The landlord grew suspicious upon noticing the artist's signature and had an antique dealer verify its authenticity. Police commended the landlord for his honesty in returning the piece rather than keeping it. The gallery owner, who had long sought the etching, welcomed its recovery as an emotional moment.

0
ProgrammingDEV Community ·

How to Detect and Fix Catastrophic Backtracking in JavaScript Regexes

A developer maintaining CodeSwap, a browser-based developer-tools site, documented a repeatable audit process for identifying JavaScript regular expressions vulnerable to ReDoS, or Regular Expression Denial of Service attacks. The core risk arises when nested or overlapping quantifiers allow the regex engine to explore an exponentially growing number of match paths before rejecting a crafted input. Testing the pattern /^(a+)+$/ with incrementally longer hostile strings revealed that every two additional characters roughly quadrupled processing time, reaching over six seconds for just 30 characters. OWASP identifies nested quantifiers and overlapping alternatives inside repetition as key warning signs of this vulnerability. The recommended fix is to eliminate ambiguous repetition — for example, replacing /^(a+)+$/ with /^a+$/ — and to always test suspicious patterns in an isolated environment using short, controlled inputs rather than on a live request thread.

0
ProgrammingDEV Community ·

Five Common Casbin model.conf Mistakes That Silently Break Permissions

Casbin is a cross-language permission framework where model.conf defines access rules and a separate policy file stores the data, but beginners frequently misconfigure it with no error feedback. The five most reported mistakes include swapping the order of request or policy definition columns, failing to add the required role-assignment rows in the policy file alongside the role definition, and misunderstanding how policy effects like priority denial work. Developers using the cached synced enforcer often mistake stale cache results for model errors, delaying debugging. Because model.conf fails silently by returning false, the Casbin community is now gathering real user pain points to build a plain-language tool that auto-generates correct configurations.

0
ProgrammingDEV Community ·

Developer shares input validation lessons from building 77 browser calculators

A developer building 77 free browser-based calculators for a platform called Efficienco found that handling user inputs correctly was far harder than writing the underlying formulas. Key lessons included distinguishing between empty fields and invalid entries, rather than treating all falsy values as missing. Domain-specific range checks, unit conversion to a single base unit before calculation, and preserving full numeric precision until the final display step were identified as critical patterns. The developer also noted that hidden assumptions — such as waste factors or efficiency rates — should be surfaced and made editable to avoid giving users a false sense of precision. The article focuses entirely on pre- and post-formula logic, offering reusable validation patterns applicable across varied calculator types.

0
ProgrammingDEV Community ·

How to Show Gratitude to React Developers: Community Ways to Give Back

A developer who has successfully used React in a commercial Enterprise Content Management system is looking for ways to thank the framework's creators. The user praised React's component-based architecture and its state and props model for managing large codebases. They explored React's official site and GitHub repository but could not find clear channels for financial or non-financial contributions. Possible ways to give back include reporting bugs, contributing to the open-source codebase, creating learning materials, or promoting the framework within the developer community. The post invites advice from others on meaningful ways to express appreciation to the React team and its broader ecosystem.

← NewerPage 633 of 3979Older →