SShortSingh.
0
ProgrammingDEV Community ·

OpenAI Usage API Now Supports API Key Grouping for Token and Cost Reconciliation

OpenAI's August 4, 2026 API changelog introduced API-key filtering and grouping across its usage and cost endpoints, enabling developers to attribute token activity and spending to specific keys. Because the two endpoints return different datasets, a simple inner join risks hiding unmatched or unattributed rows, making a full-outer join on date and API-key ID the safer approach. Both endpoints support daily bucketing and pagination, and consistent grouping dimensions across both sources are required to ensure row-level compatibility. A .NET implementation demonstrates the pattern using synthetic data, flagging each row as matched, usage-only, or cost-only to keep gaps visible rather than concealed. Notably, the approach deliberately avoids estimating costs from token counts, since cost buckets may include line items beyond completion tokens.

0
IndiaTimes of India ·

Xi and Putin Meet at SCO Summit, Push for Deeper Bilateral Cooperation

Chinese President Xi Jinping and Russian President Vladimir Putin held talks on the sidelines of the SCO summit. The two leaders discussed strengthening bilateral relations and addressed key international and regional issues. Cooperation in artificial intelligence and digital innovation featured prominently on the agenda. Russia proposed making its visa-free arrangement with China permanent for Chinese citizens. The leaders also briefly addressed the ongoing conflict in Ukraine during their discussions.

0
ProgrammingDEV Community ·

FastAPI File Uploads: The Gateway to Document-Based AI Applications

FastAPI simplifies file uploads for AI applications using the python-multipart library and two key classes: File and UploadFile. The UploadFile class provides useful attributes such as filename, content type, and async file reading, making it well-suited for processing documents. Developers can save uploaded files to disk using Python's binary write mode, which supports non-text formats like PDFs and images. This upload workflow forms the foundation of AI systems such as RAG pipelines, resume analyzers, and medical report processors. The tutorial is Part 8 of a FastAPI series aimed at AI engineers building document-centric applications.

0
ProgrammingDEV Community ·

How Long-Form Technical Posts Can Drive Traffic and Earn Google AI Overviews

A detailed content framework published on DEV Community argues that well-structured 5,000-word technical articles can significantly outperform shorter blog posts in search performance. The guide claims such posts can help a new domain reach a Domain Rating of 20, attract over 1,000 daily organic visitors, and secure placement in Google's AI Overviews. Key recommendations include choosing complex, multi-layered topics, using a clear heading hierarchy, and opening with a concise TL;DR summary that AI models can easily extract. The framework also emphasizes including code blocks with explanations, FAQ sections targeting long-tail queries, and architecture diagrams to improve engagement. Distribution through platforms like Hacker News, Reddit, and technical newsletters is highlighted as essential to building the post's authority over time.

0
ProgrammingDEV Community ·

Developer Builds AI System to Qualify Real Estate Leads via WhatsApp

A developer working on a product called Vaxyro is building a WhatsApp-based AI system designed specifically for real estate lead qualification. Unlike basic chatbots that simply reply to messages, the system is engineered to extract structured buyer data — such as budget, location, property type, and purchase timeline — from natural conversation. This information is then automatically organized into CRM records, making it immediately usable by sales teams without requiring them to manually review chat histories. The system also manages follow-ups based on conversation context rather than fixed timers, and is designed to hand off leads to human salespeople at critical stages such as price negotiation. The goal is to treat WhatsApp not just as a messaging channel but as a full sales intake pipeline for real estate businesses.

0
TechnologyThe Verge ·

Debian votes to permit AI-assisted contributions under existing standards

The Debian Linux project has voted to allow developers to use AI tools in development, maintenance, and documentation work. The new policy states that generative AI is subject to the same standards already expected of all Debian contributors, neither exempt from nor held to special rules. Debian's voting developers considered multiple proposals, including some that would have outright banned AI-assisted contributions, before settling on this permissive approach. The policy recognizes that responsible AI use can boost developer productivity. However, some users and contributors have expressed dissatisfaction with the decision, according to reports from It's FOSS.

0
ProgrammingDEV Community ·

Four validation checks that prevent small workflow automations from going wrong

A developer at Allure Labs has published a demo project illustrating four practical safeguards for small file-based workflow automations. The checks address common failure points: missing required fields, duplicate submissions, unexpected input columns, and broken input files. Rather than creating incomplete tasks or passing unintended data downstream, the workflow routes problematic requests to a review list for human oversight. The repository includes sample input files, expected output files, and ten automated tests to verify consistent results. The project is presented as an educational demonstration and is publicly available on GitHub.

0
ProgrammingDEV Community ·

Developer Publishes WIP Cookbook for DDD and Typelevel Stack in Scala 3

A developer has released a work-in-progress book titled 'Scala 3 Domain Design & Typelevel Stack Cookbook', currently 40% complete. The book aims to teach Domain-Driven Design principles in Scala 3 while providing practical recipes for working with the Typelevel ecosystem, including cats, cats-effect, fs2, and http4s. It was created in response to the author's frustration with the complexity and sparse documentation of the Typelevel stack for intermediate developers. The book is available on Leanpub, where readers can access a few chapters for free.

0
ProgrammingHacker News ·

Almanac (YC S26) Launches AI Assistant That Builds a Living Knowledge Base for Your Company

Almanac, a Y Combinator S26 startup founded by Kushagra, Rohan, and Divit, has launched an AI assistant that connects to a company's tools and accounts to build a continuously updated knowledge base. The product integrates with services like Gmail, Google Calendar, Granola, and PostHog via one-click OAuth, then organizes pulled data into personal and shared company wikis. These wikis serve as a pre-compiled memory layer for an underlying Hermes agent, enabling context-aware responses without manual setup. Unlike session-bound AI tools, Almanac supports long-horizon tasks by maintaining ongoing project context across days, and can proactively suggest or draft work autonomously. The founders, who previously built AI knowledge-layer products for Harvard and NASA, developed the concept from a capstone thesis and were motivated by their own frustrations setting up AI agents for internal use.

0
TechnologyArs Technica ·

Google Maps briefly renames Lake Ontario to Lake America ahead of US government

Google Maps renamed Lake Ontario to 'Lake America' on Saturday, moving faster than official US government mapping agencies in implementing the change. The renaming appears tied to a broader push to update geographic labels on American maps. US government maps had not yet reflected the change at the time of the update. The swift alteration by Google highlights the platform's ability to rapidly modify geographic data at scale. The move has drawn attention given the significance of renaming a major internationally recognized body of water.

0
Crypto & Web3CoinDesk ·

Kalshi issues lifetime ban to ex-Congressman George Santos for market manipulation

Prediction market platform Kalshi has permanently banned former U.S. Congressman George Santos, marking the platform's first-ever lifetime ban. Santos was removed due to market manipulation, according to the company. The move is part of broader efforts by the prediction market industry to demonstrate accountability and self-regulation. Kalshi's decision signals a firm stance against misconduct as the sector seeks to build credibility with regulators and the public.

0
SportsESPNcricinfo ·

Maphaka confident to lead South Africa pace attack in Rabada's absence

Young South African fast bowler Kwena Maphaka has expressed confidence in his ability to step up as a lead pacer for the Proteas. Maphaka pointed to his prior experience leading bowling attacks at multiple levels, including with the Lions franchise and the South Africa under-19 side. The 20-year-old also noted that he has spent enough time in the senior Proteas setup to feel prepared for the added responsibility. His readiness comes as South Africa face the prospect of managing without their premier fast bowler Kagiso Rabada.

0
TechnologyThe Verge ·

Sony WH-1000XM5 Headphones Drop to $198 at Amazon and Best Buy

Sony is offering a Labor Day discount on its WH-1000XM5 over-ear headphones, cutting the price to $198 at both Amazon and Best Buy. This marks a $50 reduction from the typical selling price of around $250, matching the low seen during Prime Day 2026 in late June. Unlike that earlier deal, no Amazon Prime membership is required to access the discount. Originally priced at $399.99 when launched in 2022, the XM5 remain competitive despite the newer XM6 model released in 2025. The sale is part of Sony's week-long Labor Day promotional event.

0
WorldBBC World ·

Met Museum cancels John Galliano exhibition amid antisemitism backlash

The Metropolitan Museum of Art in New York has cancelled a planned exhibition featuring British fashion designer John Galliano. The decision came after significant public backlash directed at the institution. Critics objected to the museum honouring Galliano, who was convicted in 2011 for making antisemitic remarks. The controversy reignited debate over whether cultural institutions should platform figures with histories of hate speech.

0
ProgrammingDEV Community ·

Why Good Research Creates More Questions Than It Answers

A product developer writing on DEV Community shares how their understanding of research fundamentally shifted while building a data-driven product. Initially assuming that gathering data would straightforwardly lead to final answers, they found that each answer typically surfaced a deeper, more precise question. Drawing a parallel to software debugging, the author argues that real investigation is iterative — answers refine the question rather than conclude the inquiry. They also note that having access to more data does not automatically translate into clarity or actionable direction. The key insight is that reframing a question mid-investigation is a sign of progress, not failure.

0
ScienceWIRED ·

Kalshi Bans George Santos for Life, Fines Him Over $71,000

Former US Representative George Santos has received a lifetime ban from Kalshi, marking the prediction market platform's first-ever such penalty. The ban was accompanied by a fine exceeding $71,000 levied against Santos. The sanctions stem from allegations that Santos attempted to manipulate Kalshi's prediction market. Kalshi's decision represents a significant enforcement action by the platform against a high-profile user.

← NewerPage 664 of 4080Older →