SShortSingh.

Programming

0
ProgrammingDEV Community ·

OpenAI GPT-6 Astra Acts as Autonomous Operator, Raises Security Concerns

OpenAI announced GPT-6 Astra on September 3, 2026, describing it as its most intelligent and aligned model to date. Unlike previous AI models focused on answering queries, Astra can autonomously navigate software, execute code, browse the web, manage files, and complete multi-step tasks within enterprise environments. The model posts exceptional benchmark scores, including 99.9% on ARC-AGI-3 and 72.6% on OSWorld 2.0, and supports over one million tokens of context. OpenAI classifies Astra as the first widely deployed model to reach a critical cybersecurity capability threshold, as it demonstrated the ability to independently discover unknown vulnerabilities and build working exploits. While Astra shows improved behavioral alignment over its predecessor, experts note its chain-of-thought reasoning is harder to monitor, posing new challenges around oversight, security architecture, and enterprise accountability.

0
ProgrammingDEV Community ·

Researcher Reproduces PROFINET Protocol Behavior in Linux Lab to Study Security Surfaces

Security researcher RUGERO Tesla (@404Saint) documented a structured effort to reproduce PROFINET industrial protocol behavior in a controlled Linux lab environment. The setup used network namespaces to isolate controller and device sides, with the open-source p-net stack alongside custom Python and Scapy-based tools for traffic analysis. The research covered five phases, including DCP and LLDP discovery, DCE/RPC application-relation traffic, cyclic Real-Time frame analysis, Layer 2 traffic generation, and a review of PROFINET security mechanisms. A key finding was that observable packet behavior does not always confirm endpoint acceptance, as cyclic RT frames depend on implementation state rather than structure alone. The project aimed to clearly document where packet construction, implementation output, and verified endpoint behavior diverge as separate forms of evidence.

0
ProgrammingDEV Community ·

How to Make Database Audit Logs Truly Tamper-Proof, Not Just Trusted by Convention

Most audit logs rely on application-level promises to avoid edits or deletions, but bugs, rogue scripts, or compromised credentials can silently corrupt that history. A more reliable approach enforces immutability at the database layer itself, starting with granting the app role only INSERT and SELECT permissions on the audit table. Additional defenses include database triggers that reject any UPDATE or DELETE operations and hash-chained rows linked by foreign keys to make deletion structurally difficult. Each method has known bypass vectors — superusers can override permissions and disable triggers — so layering multiple techniques together provides stronger protection. For compliance scenarios requiring data erasure, appending a redaction event rather than deleting rows keeps the log tamper-evident while still satisfying legal obligations like GDPR.

0
ProgrammingDEV Community ·

Developer details nine critical failures building an image SaaS on Cloudflare Workers

A developer spent a week building Album Art Creator, a tool that generates music release cover art using AI image models, running entirely on Cloudflare Workers with TanStack Start, D1, and R2. During the build, nine unexpected technical failures each consumed between one hour and a full day to resolve. Key issues included cron jobs silently failing to deploy because the worker entry point was misconfigured, and Cloudflare Turnstile bot-protection tokens breaking on the first production day since they are single-use and anonymous sessions require multiple protected calls. The developer resolved the Turnstile issue by minting a signed, fingerprint-bound HMAC cookie after the first successful verification, allowing subsequent calls to bypass repeated token checks. The post serves as a practical troubleshooting reference for developers building production SaaS products on Cloudflare's edge infrastructure using newer, less-documented framework integrations.

0
ProgrammingDEV Community ·

Confluence Content Manager: What It Can Do and Its Key Limitations

Confluence's Content Manager is a space-level settings tool available exclusively on Premium and Enterprise plans that allows space admins to bulk archive, delete, reassign, or change the status of up to hundreds of pages in a single action. It offers several filters including Last Active, Last Updated, Created date, Labels, and Contributors, making it useful for auditing stale or orphaned content. Notably, the tool excludes blog posts entirely, meaning any announcements or decisions published as blogs will never appear in the manager regardless of age. A critical but understated limitation is that the Last Active filter omits pages that have child pages, which can leave significant gaps in a content audit. This design choice is intentional — Atlassian cites permission inheritance risks when bulk-moving nested content — but editors relying on it for a full space audit should be aware the results may be incomplete.

0
ProgrammingDEV Community ·

Confluence Cloud Cannot Import Word Docs Into Existing Pages — Here Are Your Options

Confluence Cloud only supports importing Word documents as new pages, unlike Confluence Data Center, which allows importing into existing ones. This creates a problem when a regularly revised document has an established Confluence page with links, comments, and history that users want to preserve. The two main workarounds are pasting content directly into the existing page — which retains the URL and history but can introduce messy formatting — or importing as a new page, copying the converted content, and deleting the new page. Pasting via Markdown is generally the cleanest method, as Confluence Cloud auto-converts it, preserving headings, lists, and basic tables more reliably than a direct Word paste. For teams managing many frequently revised documents, the manual effort can add up to over ten hours annually, making it worth evaluating whether third-party Marketplace apps are cost-effective.

0
ProgrammingDEV Community ·

Claude AI Agent Scraped Google Maps Accurately but Used 190K–540K Tokens Per Place

A developer tested a Claude Sonnet AI agent equipped only with browser tools to scrape data from 60 Google Maps coffee-shop listings across New York, San Francisco, and Chicago, without writing any pre-built scraper code. The agent successfully collected name, rating, review count, address, and phone number for every listing, achieving full accuracy across all four test runs. However, each place took 23–35 seconds and consumed 190,000–540,000 processed tokens, compared to just 6–14 seconds and zero model tokens for an equivalent Playwright script. Costs were not flat — a longer Chicago run of 30 places turned out cheaper per record after the agent spontaneously switched to a more efficient JavaScript strategy targeting aria-label attributes. The experiment highlights that while LLM agents can replace scrapers in terms of accuracy, they carry significant and variable token overhead that grows as context accumulates across a session.

0
ProgrammingDEV Community ·

Confluence Space Export: What Each Format Delivers and What It Silently Skips

Confluence Cloud allows space admins to export an entire space or selected pages in PDF, HTML, XML, or CSV formats, each serving a distinct purpose such as archiving, offline browsing, or site migration. However, several content types are silently excluded from exports, including blog posts from PDF exports, comments from HTML exports, Team Calendars, and unpublished drafts. The CSV export does not produce a spreadsheet of page tables as many users expect; instead, it flattens space content into a transport format, leaving table data unstructured. Export results also vary depending on who initiates them, since only content visible to the exporting user is included unless a site admin uses CSV or XML. These silent omissions can cause significant problems when exports are relied upon for legal, compliance, or data migration purposes.

0
ProgrammingHacker News ·

Google Replaces Direct URLs in Search Results with Redirect Links

Google has changed how URLs appear in its search results, moving away from providing direct links to websites. Instead of linking users straight to a destination page, Google now routes clicks through its own redirect system. This shift means users can no longer see or access a clean, direct URL simply by hovering over or clicking a search result. The change has drawn attention from developers and privacy-conscious users who prefer transparent, untracked links. Google has not publicly detailed the full reasoning behind the move, though it likely supports better click tracking and data collection.

0
ProgrammingDEV Community ·

Why AI Coding Tools Need Transparent Pricing and Task-Based Model Selection

A software developer argues that AI coding agents lack the cost transparency and accountability that other trades take for granted, often trapping users in a sunk-cost cycle of iterative prompting without clear delivery guarantees. Unlike traditional software marketplaces where engineers were rated publicly and priced honestly, current AI tools normalize vague estimates and unpredictable outcomes. The author also raises concerns about widening access inequality, noting that frontier model hardware grows more expensive rather than more affordable over time. To address this, the developer proposes an 'intelligence ladder' — a framework that maps tasks to specific model requirements and cost estimates before work begins. After a year of development, a working version of this system is now ready to be shared publicly.

0
ProgrammingDEV Community ·

pdlc-skills Adds Three Tools to Track Project Status, Change Impact, and Trends

The pdlc development lifecycle framework offers three visibility tools — a statusline, /pdlc-status, and /pdlc-retro — designed to monitor software projects across different timescales. The statusline displays a feature's current stage, next step, run mode, test results, and time spent in the current stage in a single compact line. The /pdlc-status command verifies project data against changelogs and git tags, flagging features that have stalled without shipping. A relation-mapping tool, /pdlc-relate, automatically identifies how features connect through six relationship types by scanning requirements text for dependency language. All three tools read from shared state files under docs/.pdlc-state/, meaning the accuracy of their output depends entirely on how well those files are maintained.

0
ProgrammingDEV Community ·

Better AI Answers Come From Cutting Context, Not Adding More

A software developer argues that reducing what goes into an LLM's context window typically improves output quality more than expanding it. Because language models attend to all provided tokens equally, irrelevant material competes with useful information and can anchor the model on wrong details. Content buried in the middle of a long context also receives less model attention than material placed at the start or end, meaning placement matters as much as inclusion. The author recommends a workflow of generous retrieval followed by aggressive trimming — removing full files, stale conversation history, and boilerplate — keeping only the task, the directly relevant facts, and the desired output format. This approach simultaneously improves answer accuracy and lowers token costs, making it one of the few optimizations that benefits both quality and budget.

0
ProgrammingDEV Community ·

Why Running Database Auth in Next.js Middleware Hurts App Performance

A technical analysis warns that placing database-backed authentication checks inside Next.js Middleware is a common architectural mistake that degrades application performance at scale. The Next.js Edge Runtime, built on V8 isolates, lacks support for native Node.js modules that most database drivers depend on, making direct database connections impossible without clunky workarounds. Because middleware executes on every matched request — including page navigations, server component fetches, and background revalidations — firing a database query each time can overwhelm and exhaust database connections. Developers are advised to adopt a two-layer authentication approach: using lightweight JWT signature verification via the jose library at the edge, while deferring role checks and session validation to Server Components or Route Handlers running in the full Node.js runtime. This separation preserves both security and performance without overloading the database.

0
ProgrammingDEV Community ·

Full Hierarchical Pitman-Yor Model Fails to Match Transformer Data Scaling

A research series testing whether language-model-like behaviour can emerge without neural networks reached a key milestone with its final non-neural candidate. The experiment pitted a fully trained hierarchical Pitman-Yor language model — using Gibbs sampling and inferred hyperparameters — against a small transformer on a text prediction benchmark. While the full model outperformed simpler count-based methods like modified Kneser-Ney, its accuracy gains halved with every doubling of training data, mirroring weaker models rather than closing the gap with the transformer. The transformer continued improving at roughly three times the rate of the best count-based model once training data exceeded one million tokens. The finding suggests the ceiling lies with the count-model family itself, not with how well its parameters are fitted, meaning any viable non-neural alternative will require a fundamentally different type of state representation.

0
ProgrammingDEV Community ·

LinkDigest Tool Extracts Full Content from Xiaohongshu and Similar Walled Platforms

A developer has built LinkDigest, a hosted service that converts Xiaohongshu, Douyin, TikTok, YouTube, and X posts into structured text usable by AI language models. Standard web fetches on these platforms return little usable content due to login walls, tokenised share links, and media-heavy formats that leave almost no readable HTML. LinkDigest addresses platform-specific hurdles — such as Xiaohongshu requiring a desktop user agent and a two-step cookie handshake before note content loads — to extract transcripts, image descriptions, OCR text, and metadata as Markdown or JSON. The service is available as an MCP server, a REST API, and a web console, with three free digests requiring no payment details. Limitations are disclosed openly: Bilibili blocks the service's server address, Instagram support is unverified, and Douyin requires logged-in session cookies with no anonymous workaround available.

0
ProgrammingDEV Community ·

AI Generates Code Fast, But Developers Must Master Abstraction and Design

The rapid advancement of AI coding tools like GPT 5.1 and Claude Opus 4.5 has enabled developers to generate production-ready code within minutes, raising questions about what skills remain essential. While AI accelerates building, many developers report feeling less in control since they are no longer writing or fully understanding every line of code. Experts and practitioners suggest reframing AI-generated code as a higher level of abstraction, similar to how scripting languages like Python once challenged traditional programming norms. Rather than focusing on syntax alone, developers are encouraged to prioritize skills such as problem decomposition, interface design, data modeling, and trade-off evaluation to effectively supervise AI output. The consensus is that understanding system structure, module boundaries, and risk management matters more than line-by-line familiarity in an AI-assisted development environment.

0
ProgrammingDEV Community ·

Developer Reports 40 Production Automations Built Using Claude Code Over Six Months

A independent finance and trading automation consultant claims his practice gained ₹40,000–₹70,000 in extra monthly capacity after making Claude Code his primary development tool over the past six months. Across 40 shipped automations — including GST filing helpers, bank reconciliation pipelines, and stock screeners — he compared Claude Code against Cursor and GitHub Copilot on real production workloads. He found Claude Code superior at handling large multi-file codebases, asking clarifying engineering questions, and matching existing code style, while Cursor and Copilot struggled beyond a handful of files. However, he noted three recurring failure modes: hallucinations on broker-specific API details, looping behaviour during stubborn debugging sessions, and a tendency to over-engineer solutions when tasks are left unconstrained. The review is self-funded with no sponsorships, and the author cautions that results may differ for developers working primarily on front-end or web application projects.

0
ProgrammingDEV Community ·

LinkDigest API converts TikTok, YouTube and Xiaohongshu links into agent-readable text

A developer has launched LinkDigest, an API service that extracts readable text from social media links on platforms like TikTok, Douyin, Xiaohongshu, YouTube, and X, which typically return login walls or empty HTML to automated tools. The service performs transcription, OCR, image description, and metadata extraction on its own servers, returning structured JSON or Markdown output with a single API call. Measured performance tests show it processed a 17-image Xiaohongshu post in 119 seconds and retrieved a YouTube talk with native captions in about one second from cache. LinkDigest integrates with AI agent frameworks such as Claude, Cursor, and Dify via MCP, and is also available on Apify. Pricing starts with three free digests, followed by a $9 monthly plan offering 500 credits, with previously digested links available free to all users.

0
ProgrammingHacker News ·

Google's Gemini 2.5 Pro Sunset Alarms Enterprise Users Before GA Replacement Arrives

Google has announced the deprecation of its Gemini 2.5 model generation, including Pro and Flash variants, by October, prompting concern among enterprise developers. The company is directing users to migrate to Gemini 3.x Flash, which performs better on standard benchmarks but falls short on complex, reasoning-heavy tasks involving large documents. Gemini 2.5 Pro had carved a distinct niche for processing very long documents — up to roughly a thousand pages — at a relatively low token cost, a capability not closely matched by OpenAI or Anthropic offerings. The planned sunset is drawing criticism because no equivalent Pro-class model is yet available in general availability, leaving businesses with geo-restrictions and advanced use cases without a clear migration path. Some developers are now weighing whether to abandon Google's ecosystem entirely and absorb the higher costs of working around competitors' limitations.

← NewerPage 1452 of 3360Older →