SShortSingh.
0
ProgrammingDEV Community ·

Developer hits Claude Code token quota after oversized progress file and long-running chats

A data consultant was locked out of Claude Code for five days after exhausting an Opus token quota. Reviewing the session logs, he found that a single long-running chat for a client project had accumulated 1,094 prompts and 99 context compactions. His progress file had swelled to about 70K tokens, and Claude re-read it 316 times, consuming roughly a million tokens. He had treated the file as Claude's memory and avoided closing chats, which buried useful context under log-style detail. His base configuration was small, so the excess came from usage habits rather than setup.

0
ProgrammingDEV Community ·

Developer builds unofficial companion site for free browser physics game NoomiClone

A developer who enjoyed the free browser physics game NoomiClone, created by jamesnorth on itch.io, built an independent companion site around it. The site embeds the game on its homepage and adds a separate English getting-started guide and a troubleshooting page. The creator stresses that the site is not the official game page and labels it clearly as unofficial on every page, crediting the original author. Sharing lessons learned, the developer says plain disclosure builds trust for fan and wrapper sites, and that a short troubleshooting checklist resolved more player issues than any added feature. The creator states they are not affiliated with the original game.

0
ProgrammingDEV Community ·

Home Assistant 2026.11.0: qué revisar antes de actualizar

Home Assistant 2026.11 es una versión amplia, pero para un homelab el riesgo se concentra en la migración de HACS al Marketplace integrado y en el nuevo sistema de nombres de entidades. Quienes usan pocas integraciones personalizadas y tarjetas que dependen del friendly name pueden actualizar con una copia de seguridad previa, mientras que quienes tienen dashboards muy personalizados podrían esperar al primer parche. Los entity IDs, automatizaciones, scripts, escenas y dashboards seguirán funcionando, aunque algunos nombres mostrados cambiarán. HACS se migra automáticamente al arrancar, pero su instalador independiente deja de existir en esta versión y la migración es de un solo sentido. Las tarjetas y plantillas que construyen textos a partir de nombres son el punto de fallo más probable.

0
IndiaTimes of India ·

Bengaluru man charged with killing wife and six relatives, including a child

A man in Bengaluru, identified as Indushekar, is accused of murdering his wife, Divya, along with six of her family members. The killings reportedly took place over several days amid ongoing disputes between the couple. Police say Divya was later killed by Indushekar after she reported her relatives missing. Investigators are still gathering details about the case. Residents have been left shaken by the tragedy.

0
ProgrammingDEV Community ·

From Stack Overflow to GPT: How Developers' Debugging Habits Have Shifted

A developer reflects on how debugging has changed, moving from searching Stack Overflow and scanning voted answers to describing problems to GPT for tailored fixes. The older workflow offered peer-validated answers and community discussion that helped people learn, though it required knowing the right search terms. GPT is faster and adapts to specific code, but it can confidently produce incorrect answers, such as nonexistent methods. The author argues that the key skill now is verifying AI-generated solutions by running them and understanding why they work. The author says they use both tools, choosing Stack Overflow for proven answers and GPT for speed.

0
ProgrammingDEV Community ·

JavaScript Type Coercion: Silent Bugs and How to Avoid Them

The article explains how JavaScript silently converts value types when an operator expects a different type, producing wrong results without raising errors. It outlines the core rule for the + operator, which concatenates if either operand is a string and otherwise adds numbers, along with examples like "5" + 3 and [] + {}. It describes how loose equality (==) applies a conversion table that is hard to predict, recommending the strict equality operator (===) which never converts types. Practical risks include form input strings being concatenated, API numeric values arriving as strings, and falsy checks skipping valid zero values. The author recommends converting values explicitly at the boundary of code using Number() or String() and checking types with typeof.

0
ProgrammingDEV Community ·

Benchmarking AI Moderators Through Protocol Design in Tencent RTC Voice Rooms

A tutorial on DEV Community argues that AI moderation bots should be evaluated as a protocol with separate responsibilities rather than as a single intelligent agent. It separates live audio delivery, room and seat state, speech recognition, model recommendations, human approval, and server-side action execution. The author proposes that an AI moderator may recommend actions, such as muting an occupied seat, but cannot approve them, and that it must hold an unmuted occupied mic seat to speak. The tutorial builds an application-owned control layer and a repeatable moderation benchmark in TypeScript with Vitest, tied to Tencent RTC's Voice Chat Room concepts. It emphasizes distinguishing moderation authority from audio capability, and avoids inventing SDK methods by using a testable domain layer that adapters can connect to documented stores.

0
ProgrammingHacker News ·

Closed AI models lead the price-performance frontier, analysis finds

A blog post from village.dev argues that proprietary closed-source AI models now outperform open alternatives on the balance between cost and capability. The piece frames the price-performance frontier as the key measure for comparing models, weighing what users pay against the quality of results delivered. The post was shared on Hacker News, where it gathered 12 points and one comment. The available material consists only of the headline and link metadata, so the specific benchmarks and figures behind the claim are not detailed here.

0
ProgrammingDEV Community ·

Python and Node.js script checks domain expiry, SSL certificates and DMARC in bulk

A developer explains how expired domains and TLS certificates cause predictable outages, and how a weekly check can flag them early. The article presents a dependency-free Python script that queries RDAP for registration expiry, reads certificate dates from the TLS handshake, and fetches DMARC policy via Google's DNS-over-HTTPS API. It notes pitfalls such as ccTLDs that publish no expiry data, the difference between subdomains and registrable domains, and certificate errors. The piece also introduces a hosted bulk checker, disclosed as built by the author, that can run from cron or CI in Python or Node.js.

0
ProgrammingDEV Community ·

Tutorial Shows How to Fill Interactive PDF Form Fields in C# Using FreeSpire.PDF

A new tutorial explains how developers can populate interactive PDF forms programmatically in C# without manually placing text on the page. It covers text boxes, radio buttons, checkboxes, dropdowns, and list boxes, using an employee registration form as the example. The guide walks through installing the FreeSpire.PDF library via NuGet or the .NET CLI and loading a PDF template. It stresses that code must reference each field's internal name rather than its visible label, and notes that each control type stores its value in a different property. The approach is aimed at registration systems, application workflows, and document management tools.

0
IndiaTimes of India ·

Musk Deletes Pro-Republican Posts After Democratic Election Gains

Elon Musk removed social media posts that urged support for Republican candidates following significant Democratic victories. One pinned message had called on followers to vote Republican on Election Day. Musk had reportedly contributed around $458 million to the election cycle, making him a major donor. The election outcome was also linked to a drop in his personal wealth and in the stock prices of his companies.

0
StartupsProduct Hunt ·

Crystl Launches on Product Hunt, Drawing Community Discussion

Crystl has been listed on Product Hunt, the product discovery platform where new apps and tools are shared with its community. The post itself offers little detail beyond its title, linking to a discussion thread and the product's page. The source text does not describe what Crystl does, who built it, or what problem it is designed to solve. Readers interested in the product would need to visit the linked Product Hunt page for further information.

0
ProgrammingHacker News ·

Castration Extends Lifespan in Mice, Mouse Study Suggests

A mouse study reports that castration can extend the lifespan of the animals, an outcome researchers describe as surprising. The findings were published in a Science article covering the work. The source material provided is limited to the headline and link, so the specific methods, sample size, and mechanisms are not described here. The result is based on laboratory mice and has not been established in humans. Further research would be needed to explain why the effect occurs and whether it applies more broadly.

0
ProgrammingHacker News ·

Tesla and SpaceX Shed Over $420 Billion in Combined Market Value in Two Days

Shares of Tesla and SpaceX fell sharply over a two-day period, erasing more than $420 billion in combined market capitalization. The decline was reported by CNBC in early November 2026 and is linked in coverage to developments following the 2026 midterm elections. The source material provided is limited to the article link and metadata, so the specific drivers of the selloff are not detailed here. Further reporting would be needed to confirm the precise causes cited by analysts or the companies.

0
IndiaTimes of India ·

Trump Defends Hegseth as Calls for His Removal Grow

US President Donald Trump has publicly expressed support for Defense Secretary Pete Hegseth, praising his performance amid mounting calls for his removal from the post. The backing comes as pressure on Hegseth intensifies from critics who question his suitability for the role. Trump's statement signals the administration's intent to keep Hegseth in place despite the growing opposition. The episode highlights ongoing political scrutiny surrounding the Pentagon leadership.

← NewerPage 559 of 7358Older →