SShortSingh.

Programming

0
ProgrammingDEV Community ·

Developer Accidentally Spends $200 Extra After Claude Code Tool Missed Per-Model Usage Cap

A developer building a custom status line tool for Claude Code discovered that the tool was tracking overall API usage across all models but missing individual per-model weekly limits. While running long-duration AI agents on Anthropic's Fable 5.1 model, the status line showed a comfortable 47% usage on the all-models tracker, even as Fable's own weekly quota had been fully exhausted. This gap led to roughly $200 in unexpected overage charges before the developer noticed the discrepancy. The developer subsequently updated the status line to separately display per-model weekly usage alongside the all-models figure, using an undocumented Anthropic API endpoint to fetch the data. The fix also introduced a background caching script that refreshes per-model quota data every five minutes to keep the display accurate without slowing down the interface.

0
ProgrammingDEV Community ·

Kimi K3 Tops Design Arena Rankings but Wins Only 1 of 5 Head-to-Head Rounds

A YouTube channel with 202,000 subscribers published a 6-minute video on September 12, 2026, claiming Kimi K3 dominates Design Arena and questioning whether developers are paying for the right AI model. The video tested Kimi K3 against Fable and Astra across five one-shot design tasks: a landing page, a 3D scene, a component library, a mobile app, and a game with custom assets. Kimi won only the landing page round, while Astra won the 3D scene, Claude won the game task, the component library ended in a draw, and no winner was declared for the mobile app round. Despite this, Kimi K3's top ranking on Design Arena is supported by aggregate data from over 8,650 competitions, where it holds a 64% win rate and ranks first in landing page and data visualization categories. The video unintentionally highlights that ranking first most frequently across thousands of matches is fundamentally different from winning every individual head-to-head comparison.

0
ProgrammingDEV Community ·

Zero-Parameter Document Cache Outperforms 1.4M-Parameter Transformer on Long Texts

A new experiment compared six language-prediction systems to measure how a simple document-frequency cache stacks up against a 1.43-million-parameter transformer with a fixed 64-token window. At short document lengths (around 60 tokens), the transformer holds a clear advantage, but the cache overtakes it somewhere between 60 and 250 tokens without any training, parameters, or significant compute cost. By 1,000 tokens, the cache leads by 0.064 top-1 accuracy — a 43% relative margin — because the transformer's fixed window cannot access most of a long document. When both mechanisms are combined, adding the full transformer on top of the cache contributes only 0.002 top-1 accuracy at L=1,000, suggesting the cache nearly replaces the neural model's contribution as documents grow. The findings highlight that document length is a resource the cache can exploit while the transformer structurally cannot.

0
ProgrammingDEV Community ·

Pixxel Raises $100M Series C, Becomes India's Best-Funded Private Space-Tech Firm

Bengaluru-based hyperspectral satellite startup Pixxel closed a $100 million Series C round on September 7, co-led by Temasek and Seraphim Space, bringing its total funding to $195 million — the highest ever for a private space-tech company in India. New investors 360 ONE Asset and South Korea's IMM Investment joined existing backers in the round, which was founded in 2019 by Awais Ahmed and Kshitij Khandelwal. Separately, Jio Platforms has begun investor outreach for its anticipated IPO, with roadshows planned across the US, Singapore, Hong Kong, London, and the Middle East, targeting a valuation of around $137 billion. On the quantum-security front, Bengaluru's QNu Labs raised ₹200 crore in a Series A1 round led by India's National Quantum Mission, taking its total funding to ₹375 crore. The week also saw PB Fintech's payment aggregator PB Pay go live for merchant sign-ups and Mahindra Finance expand its voice-AI partnership with Sarvam AI across 12 Indian languages.

0
ProgrammingDEV Community ·

How Static Typing Helps Developers Manage Growing Codebases Safely

In small projects, developers can easily track function expectations and object structures from memory, but this becomes unreliable as codebases expand with more contributors and components. Static typing, as offered by TypeScript, converts implicit assumptions into compiler-enforced contracts, reducing the risk of undetected errors. This proves especially valuable during refactoring, where changes to shared functions or objects can silently break unrelated parts of an application. Type safety does not replace testing or guarantee bug-free code, but it shifts many runtime errors to compile time. Its greatest advantage in large systems is reducing the mental load on developers, making complex codebases easier to modify with confidence.

0
ProgrammingDEV Community ·

Parameterized Queries: The Standard Defense Against SQL Injection Attacks

SQL injection occurs when user-supplied input is concatenated directly into a database query, allowing attackers to manipulate the query's logic and potentially access or corrupt data. Parameterized queries prevent this by separating the SQL structure from user-provided values, so the database driver always treats input as data rather than executable code. Relying on input filtering — such as blocking single quotes — is considered an unreliable primary defense because attack techniques and database dialects vary too widely to cover every case. Combining parameterized queries with server-side input validation, such as confirming a value is a positive integer before use, provides layered protection against injection. Beyond security, parameterized queries also tend to produce cleaner, more readable code, especially when multiple user values are involved in a single query.

0
ProgrammingDEV Community ·

Developer Publishes Open Framework That Withholds AI Answers to Preserve Human Thinking

Inventor Parth Nirgide has released a technical specification called Beneficial Intelligence (BI), a publicly disclosed AI framework designed to prevent cognitive atrophy caused by over-reliance on automated answer-generation tools. Unlike conventional AI systems that deliver complete solutions, the BI engine computes answers internally but deliberately withholds them, instead guiding users through a tiered, psychology-based scaffolding process. The four-stage architecture includes a cognitive state classifier, an information-withholding arbiter, and a hint pipeline that progressively nudges users toward independent problem-solving across domains such as mathematics, software engineering, and medical diagnostics. Published on September 13, 2026, under a Creative Commons Attribution 4.0 license, the disclosure is explicitly intended to establish global prior art, preventing future patent claims over these core mechanisms under US, European, and Indian patent law.

0
ProgrammingDEV Community ·

Hunter: Open-Source Local AI Platform for Individual Stock Research Launches on GitHub

A project called Hunter (agentpit-io/hunter-community) was open-sourced on GitHub and gained attention after developer Dan Cornas highlighted it on X on September 11, 2026. The platform functions as a local AI agent system for individual investors, enabling stock price monitoring, news retrieval, deep analysis, trend forecasting, and watchlist management through customizable SKILL files. All data — including investment reasoning, portfolio holdings, and conversation history — is stored locally in a Postgres database on the user's own machine, with the team stating they have no access to it. The project, created on August 10, 2026, holds 509 GitHub stars under an Apache 2.0 license and supports free data sources such as akshare and yfinance without requiring proprietary API keys. However, reviewer Nokka noted that the two most recent CI pipeline runs ended in failure as of September 12, 2026, meaning the test suite is not fully passing even though Docker image builds succeed.

0
ProgrammingDEV Community ·

A Beginner's Guide to Testing Apps with iOS VoiceOver Screen Reader

VoiceOver is Apple's built-in screen reader for iPhone and iPad, and developers, designers, and testers are encouraged to learn it to evaluate app accessibility. Before enabling VoiceOver, users should set up a triple-click shortcut via Settings > Accessibility so they can easily toggle it off if they get disoriented. Key interactions differ from standard use: a single tap selects an item and reads it aloud, while a double-tap anywhere on screen activates it, and one-finger flicks move focus between elements. Three-finger swipes are used for scrolling, and a dedicated VoiceOver Practice sandbox lets beginners learn gestures safely without affecting device settings. Automated accessibility tools can miss issues like illogical focus order or unreachable controls, making hands-on VoiceOver testing a more reliable method for catching real-world accessibility gaps.

0
ProgrammingDEV Community ·

Cogweald Treats a Single Day as a Core System Primitive, Not Just a Timestamp

Most AI applications operate on a per-request time unit, but Cogweald is built around a different abstraction: one real calendar day. Each story world in the platform can progress by only one chapter per day, a constraint that shapes state management, cost predictability, and user return cadence. To prevent duplicate daily advances from cron job misfires, the system uses a database-level tick claim that converts the time window into a verifiable state transition. This design elevates time from a simple UI label to a core product primitive that governs permissions, scheduling, and consistency. The approach raises a broader engineering question about which concepts in a product are being stored as plain strings when they should instead be modeled as formal system state.

0
ProgrammingDEV Community ·

Five Python-Based Finance Automations Indian SMBs Can Deploy Without Enterprise Tools

A finance automation practitioner has outlined five high-impact processes that Indian small and mid-sized businesses can automate using Python, free APIs, and existing ledger software such as Tally or Zoho Books. The five areas identified are bank reconciliation, accounts receivable matching, real-time profit-and-loss reporting, GST compliance, and cash flow forecasting — all of which reportedly consume the most manual hours in typical Indian finance teams. A three-layer pipeline for receivables matching, designed to handle India-specific payment modes like UPI, NEFT, and grouped settlements, helped one D2C brand reduce its receivables gap from seven days to same-day application, freeing up roughly ₹14 lakh in working capital. Real-time P&L automation, built on scheduled scripts feeding into Google Sheets dashboards, allows founders to act on current financial data rather than figures that are typically 20 days old by the time an accountant delivers them. The approach is positioned as accessible to SMBs without large technology budgets, drawing on the author's work with CA firms, family manufacturers, and fintech startups across India.

0
ProgrammingDEV Community ·

Developer Writes 206-Page Reference Book for Custom Language Frankie

A software developer has announced 'The Book of Frankie,' a comprehensive reference guide for Frankie, a custom programming language inspired by Ruby, Python, FORTRAN, and R. The book spans 28 chapters and approximately 206 pages, written using Quarto on RStudio. Development of Frankie has been frozen at version 1.22.2 while the book undergoes final review, with only bug fixes permitted going forward. The book is not yet available for purchase, pending feedback from reviewers. The developer is seeking up to 10 beta testers, offering a free copy in exchange for bug reports on the book or the language itself.

0
ProgrammingDEV Community ·

AWS VPC Peering Links Private Networks Across Accounts and Regions

A technical project demonstrates how to establish VPC peering between two AWS accounts — one for infrastructure (BS-Infra) and one for security (BS-Security) — located in different regions. The setup reflects a common corporate multi-account strategy where responsibilities such as DNS management, CI/CD pipelines, vulnerability scanning, and SIEM tools are isolated by function. VPC peering enables direct, private communication between the two networks without routing traffic over the public internet. Each account hosts workloads distributed across three availability zones, with private subnets protected by NAT gateways and public subnets connected via internet gateways. VPC Flow Logs are configured to capture network traffic metadata and centralized in CloudWatch to support connectivity analysis and troubleshooting.

0
ProgrammingHacker News ·

Apple Music deletes your entire library when subscription lapses

Apple Music users have reported that cancelling or letting their subscription lapse results in their entire music library being deleted. The issue was highlighted in a Reddit thread on the r/apple community, drawing attention to the data loss risk tied to the subscription model. Unlike purchased iTunes tracks, music added through Apple Music appears to be removed from a user's library once access ends. This behavior has raised concerns among users about data ownership and the risks of relying on subscription-based music services.

0
ProgrammingDEV Community ·

El Salvador Startup Uses Open Source Protocol to Cryptographically Seal Its Own IP

HormigasAIS, a sovereign edge computing company founded by Cristhiam Leonardo Hernández Quiñonez in San Miguel, El Salvador, has built a dual-layer technology model that blends open source and proprietary software. The company released its binary communication protocol, lbh-sdk, under the MPL 2.0 license, allowing public use and community contribution. Its enterprise layer — including master nodes, internal governance, and proprietary agents — remains private under a separate institutional license. In May 2026, the company authenticated its own logo using an HMAC-SHA256 cryptographic seal generated via its own protocol, bypassing traditional notarization. The model is designed to demonstrate that organizations can maintain digital sovereignty without relying on foreign technology platforms or third-party validation.

← NewerPage 1547 of 3479Older →