SShortSingh.

Programming

0
ProgrammingHacker News ·

Usenet Rewind Launches Archive Search Engine for Historic Newsgroup Posts

A new web service called Usenet Rewind has been launched, offering a search engine dedicated to browsing and exploring archived Usenet content. Usenet, one of the oldest internet discussion systems, hosts decades of newsgroup conversations that are now searchable through this tool. The project was shared on Hacker News, where it attracted early community attention. The service is accessible at usenet-rewind.com and appears aimed at researchers, historians, and enthusiasts interested in early internet culture. No specific details about the team behind the project or its data coverage range were provided in the announcement.

0
ProgrammingDEV Community ·

How Generative Models Learn Data Distributions Instead of Memorizing Datasets

Generative models aim to approximate the underlying probability structure of data rather than memorize individual examples. Since the true data distribution is unknown, a parameterized model distribution is trained on observed samples to serve as a learned approximation. This approach allows the model to both evaluate how plausible a data point is and generate entirely new samples from the learned structure. High-dimensional data makes this task harder, requiring models that balance flexibility with computational tractability. The same learned distribution supports multiple applications, including data generation, density estimation, and unsupervised representation learning.

0
ProgrammingDEV Community ·

Developer Builds Terminal-Based Snippet Manager to End Repetitive Command Retyping

A developer frustrated by wasting time hunting for frequently used commands across bookmarks, chat logs, and terminals built a lightweight CLI tool called snippetx. The tool stores code snippets in a single local JSON file at ~/.snippetx/snippets.json, requiring no account, cloud sync, or background process. Published as an npm package under the MIT license, it weighs around 5 KB and has zero dependencies. Users can save, search, copy, and delete snippets entirely from the terminal using a minimal set of commands. The developer also cautions users to scan snippets for sensitive tokens or hostnames before backing them up to any public repository.

0
ProgrammingDEV Community ·

How to Use CNAMEs and Signed URLs for Secure, Tenant-Safe Asset Delivery

A technical guide explains how platforms can let customers serve assets under their own subdomains by pointing a CNAME at the platform's asset host, while keeping access control entirely within signed URLs. The author emphasizes that a custom hostname is purely cosmetic routing and does not isolate one tenant's objects from another's — bucket policies and signing logic must still enforce per-tenant checks. During customer onboarding, the DNS record write should be implemented as an idempotent upsert to safely handle network timeouts and retry scenarios without creating duplicate records. A minimal Python example demonstrates the pattern, using exponential backoff for rate limits and a unique idempotency key on the DNS upsert call. The guide also warns that presigned download URLs must be returned as-is, without appending platform authorization headers, and that tenant-object verification must occur before any URL is issued.

0
ProgrammingDEV Community ·

How Scoped, Short-Lived API Keys Reduce Risk When CI Build Logs Leak Secrets

Security-focused developers are urged to issue each CI pipeline job a narrowly scoped, short-lived API key rather than a single account-wide credential, limiting the damage any one leaked token can cause. Build logs should be treated as effectively public, since masking tools can be bypassed by transformed values or verbose error output, making it safer to keep secrets out of unnecessary pipeline steps entirely. Teams are advised to conduct a 'leak drill' — creating a disposable key, running a pipeline, inspecting logs, revoking the key, and timing the response — so that revocation becomes a rehearsed procedure rather than an emergency improvisation. Revocation logic should be idempotent and include explicit timeouts, with HTTP 429 rate-limit responses handled via back-off rather than immediate retries. CI platforms like GitHub Actions offer environment-level approval gates for protected deployments, but organizations must also enforce branch-level policies to prevent untrusted forks from inheriting write credentials.

0
ProgrammingDEV Community ·

Developer Builds AWS IoT-Powered Sim Racing Pit Wall to Improve Lap Times

An AWS cloud developer at Cloudhesive built a digital pit wall for sim racing using AWS IoT Core to capture and process real-time telemetry data from the Assetto Corsa simulator. The project was motivated by the difficulty of improving driving performance without expert coaching, prompting the developer to engineer a technical alternative. The system reads live data from the simulator's Shared Memory feature — which normally disappears when the game closes — and securely transmits it to AWS for real-time analysis. The developer noted that the underlying architecture solves a universal IoT challenge: securely streaming data from edge devices, such as industrial sensors or medical wearables, into cloud infrastructure at scale. The project is set to be presented at AWS Community Day Argentina on September 12, 2026, with all code and slides published on GitHub.

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.

← NewerPage 1451 of 3359Older →