SShortSingh.

Programming

0
ProgrammingDEV Community ·

Login Alone Isn't Enough: Per-Operation Authorization and Recovery for AI Agent Tools

A valid login only establishes identity, but an agent may keep acting after a user has lost a permission, so each tool call must be checked on its own. This article presents an architecture exercise rather than a report of a completed AWS deployment, and its test scenarios are proposals. It distinguishes authentication, authorization for a specific operation and resource, and approval tied to a concrete proposed change. It compares AWS API Gateway IAM invocation with Lambda authorizers, and argues that shared MCP routes need fine-grained checks enforced by the executor. It also notes that policy changes and cached authorization results can delay revocation, and that interrupted sensitive operations require durable evidence before any replay.

0
ProgrammingDEV Community ·

Automating Stock Uploads: Generated Metadata CSVs, Duplicate Guards, and Product Packaging

A creator lost a morning of uploads after a wrong column order in a Vecteezy CSV caused an entire 40-asset batch to fail validation before review. Stock platforms each require different CSV header layouts, so the creator wrote a script that generates the exact format for each platform rather than typing spreadsheets by hand. To prevent duplicate uploads caused by rerunning batch scripts, they built a standard-library-only ledger tool that skips assets already marked as done. They also created scripts to convert Markdown notes into styled PDFs and to package folders into zips with cover and thumbnail images for sale. Their central lesson is that automation amplifies existing habits, so safeguards should be built into the tools themselves.

0
ProgrammingDEV Community ·

Developer Shares Four Python Scripts That Packaged 39 Stock Assets in Under an Hour

A creator who had 39 finished stock assets stuck unuploaded describes how upload rejections and a near double-posting mistake pushed them to build tools. They wrote four small Python scripts to generate platform-specific metadata CSVs, track which items were already submitted, convert Markdown into PDFs, and bundle products with cover and thumbnail images. The author notes that the entire batch of 856 MB was processed on a modest server with no GPU. The post stresses that simple, consistently run tracking tools matter more than clever ones for avoiding account flags. The article also recommends a clear project folder structure once a collection grows beyond about twenty assets.

0
ProgrammingDEV Community ·

Several Third-Party Reddit MCP Servers Now Let AI Agents Search Threads and Draft Replies

Reddit does not publish an official MCP server, so the available options all come from third-party vendors, according to a comparison published by Appie.run, which is itself one of the servers reviewed. The right choice depends on whether a user wants to research all of Reddit, track a monitored feed with reply drafts, or post content, with the author recommending that posting still be done manually. The comparison notes that Reddit is phasing out its public Data API, with new requests ending on 31 October 2026 and remaining access ending in March 2027. Each vendor sources Reddit data differently, so the article advises asking providers how they obtain it. Pricing and features were checked on vendor sites as of 21 October 2026.

0
ProgrammingDEV Community ·

OpenAI's GPT-Rosalind Flags TSC2-Linked Signal in Mouse Brain Data for Tuberous Sclerosis

OpenAI reports that its GPT-Rosalind platform identified a potentially significant difference between disrupting the Tsc1 and Tsc2 genes in a large mouse-brain dataset. In cerebellar neurons, Tsc2 disruption altered the activity of dozens of genes tied to neuronal communication, while Tsc1 disruption produced only a modest change. The work was a collaboration among OpenAI, PerturbAI and Scripps Research, using thousands of AI agents to analyze a whole-brain CRISPR atlas of millions of cells. The researchers stress that the result is a research lead, not evidence of a new treatment or a confirmed explanation for differing disease severity in tuberous sclerosis. The analysis also surfaced other leads, including a possible link between cholesterol regulation and neurodegeneration, which specialists would need to examine further.

0
ProgrammingDEV Community ·

CMMC Level 2: Defining Scope Before Securing Systems

Many CMMC Level 2 projects fail at the outset because contractors have not identified which systems handle Controlled Unclassified Information. CUI is typically flagged through contract terms such as DFARS 7012, flow-down clauses from primes, and markings on documents. Organizations should trace how CUI arrives, where it is stored, who can access it, and where it leaves. Assets are sorted into groups such as CUI assets, security protection assets, risk-managed assets, specialized assets, and out-of-scope assets. Keeping CUI in a separate, tightly controlled enclave can reduce the number of systems requiring protection and simplify assessment, with the scope documented in the System Security Plan.

0
ProgrammingGitHub Blog ·

GitHub copies 99.99999% of repositories to Azure, plans for agent-scale Git

GitHub has moved a copy of nearly all of its repositories, 99.99999 percent, to Azure. The company describes per-reference quorums as the mechanism that will carry over the remaining repositories. Separately, it explains how object storage allows read operations to scale independently of other workloads. The post frames these changes as groundwork for Git infrastructure capable of supporting agent-scale demand. The article is published on the GitHub Blog.

0
ProgrammingDEV Community ·

Why AI agents need idempotency keys to avoid duplicate writes

An agent that issues a refund and receives a timeout cannot tell whether the payment went through, so a retry may trigger a second refund. The problem stems from infrastructure rather than model reasoning, and it is amplified because agents retry from several layers at once, including the model itself, frameworks, SDKs, and message queues. The established remedy is idempotency: each intended action gets a stable key that is sent with every attempt, and the receiving system returns the recorded outcome rather than executing again. The article notes that keys must be derived from the business identity and that provider-side key retention is limited, so workflows that may retry over longer periods need their own records.

0
ProgrammingDEV Community ·

6pm reads VietQR codes on-device and hands off to 28 bank apps

The 6pm expense tracker decodes VietQR payment codes entirely on the phone, using a small TLV parser and a CRC-16/CCITT-FALSE checksum, with no bank login required. After parsing, it opens the payer's bank app, pre-filling the transfer with account, amount and note for 28 supported apps. Other banks open to their home screen, with the amount copied to the clipboard and the QR code saved to Photos. The parser lives in a plain TypeScript package, tested with Vitest, and is shared with the app and its iOS extensions. The source code is published under the Apache 2.0 licence.

0
ProgrammingDEV Community ·

How to Build a Digital Product Offer Using AI Prompts, From Idea to Launch Emails

The article argues that many people with professional expertise could sell online products but get stuck turning an idea into a clear offer, sales page, and launch emails. It recommends starting from problems people already ask about rather than chasing trends, and ranking them by pain and personal experience. The author outlines a three-step AI-assisted process: shaping a product idea into a plain offer with honest scope, drafting a sales page with a conversational structure that includes who the product is not for, and writing a short three-email launch sequence. The piece stresses avoiding invented testimonials, results, or income claims. It presents these prompts as a way to move from rough notes to a launch-ready draft in an evening.

0
ProgrammingDEV Community ·

Excel and Google Sheets Debt Payoff Calculator Using NPER, FV and PMT

A DEV Community tutorial shows how to build a two-tab debt payoff calculator that works in Excel, Google Sheets and LibreOffice. It calculates months to payoff, the size of the final payment, total interest, and the payoff date for each debt. The sheet also compares costs at minimum payments and estimates the extra payment needed to clear a debt by a target date. The author tested the formulas against an independent Python model across a worked example and 40 randomized debt sets. The method correctly handles edge cases such as 0% loans and payments too small to ever retire a balance.

0
ProgrammingDEV Community ·

Delayed Queue Reminders: Using a 7-Day Window and Worker Pool to Avoid Polling

The article explains how to schedule user reminders in an edtech app by splitting them into two horizons. Reminders due within seven days are placed on a delayed queue immediately, while later ones remain as database rows. A cron-based promoter moves rows into the queue once they enter the seven-day window, with the database serving as the source of truth. Because standard queues are at-least-once, the author stresses idempotency keys on both notification calls and database state changes. The code sample uses a vendor-neutral adapter so the reminder logic stays separate from the specific queue service.

0
ProgrammingDEV Community ·

GitHub Copilot Premium Request Multipliers Now Range From 0.25x to 27x

GitHub Copilot's premium request multiplier determines how many premium requests a single model interaction consumes from a user's allowance, with the current legacy table spanning 0.25x to 27x. As of June 1, 2026, these multipliers apply only to Copilot Pro and Pro+ subscribers on annual plans still under the older request-based billing model. All monthly plans have shifted to usage-based billing with GitHub AI Credits, where model costs appear as per-token rates. Annual subscribers should note that multipliers were raised on June 1, and that the newest models are available only on usage-based billing. Under the legacy system, lightweight models cost 0.25x to 0.33x while standard models cost 3x and higher-tier models cost more.

0
ProgrammingHacker News ·

PHP Foundation Issues Security Release and Outlines Plans to Strengthen PHP Security

The PHP Foundation has published a blog post announcing a security release for the PHP language. The post also describes the steps the project is taking to strengthen PHP's overall security. The article was shared on Hacker News, where it drew 41 points and 7 comments. The source text provided is limited to the link and discussion metadata, so specific vulnerabilities fixed and version details could not be confirmed. Readers are directed to the original blog post for full details.

0
ProgrammingHacker News ·

Former Eventbrite and Reforge Engineer Reveals Felony Past After Two Decades

A former early engineer at Eventbrite and founding engineer at Reforge disclosed publicly that he is a convicted felon, a fact he had kept hidden for about 20 years. He describes facing housing and employment barriers after his release from prison, along with a $17,000 restitution debt that left him in desperate circumstances. Despite being homeless at 19, he says he later built a seven-figure income through startup work and retired at 38. He is now writing an autobiography centered on hope, aiming to share his experience of living in a car while believing in a better future.

0
ProgrammingHacker News ·

Oregon lawmakers approve funding to buy waterfall listed for sale on Redfin

Oregon lawmakers have approved money to purchase an iconic waterfall that had been listed for sale on the real estate platform Redfin. The approval comes as state officials seek to keep the natural site in public hands rather than allow it to be sold to a private buyer. The source material available is limited to a brief Hacker News link and the associated Associated Press article, so details such as the exact sale price, the buyer's identity, and the specific legislative vote are not confirmed here. The story reflects a growing trend of public agencies stepping in to protect scenic properties that appear on commercial listings.

0
ProgrammingDEV Community ·

Does a Cloned Voice Stay the Same? Scoring Qwen3-TTS With ECAPA

Written with AI assistance. Every number comes from my own runs; if you spot an error, tell me and I'll fix it. I had Qwen3-TTS 1.7B read two long narrations, one in Korean and one in English, and scored every sentence chunk against the voice sample using ECAPA speaker embeddings. In these two runs, English held steady and Korean wandered more: the English narration had a median similarity of 0.861 and no chunk below 0.75, while the Korean one had a median of 0.806, with 10 of its 51 chunks under 0.75. The practical lesson is short.

0
ProgrammingHacker News ·

GitHub Reports Another Service Incident, Per Its Status Page

GitHub has logged a new incident on its public status page, as referenced by a Hacker News post. The item links directly to the incident report hosted on githubstatus.com. The post drew modest attention on Hacker News, with 8 points and one comment at the time of capture. The source material provides no details on the affected services, the duration of the disruption, or its root cause. Readers seeking specifics should consult the linked GitHub status incident page.

0
ProgrammingDEV Community ·

Detecting Website Technologies: Why Reliable Domain Analysis Is Hard

A developer building SalesData.in, a domain-intelligence platform, explains the difficulties of identifying the technologies behind a website. Detection is complicated because sites may conceal fingerprints, serve assets through CDNs, customize installations, or run several technologies at once. Relying on one signal risks false positives and false negatives, so the approach combines evidence such as HTML patterns, asset paths, HTTP headers, DNS records, and SSL data. Engineering challenges include handling incomplete responses, keeping records consistent across rescans, validating detection rules against real sites, and distinguishing missing signals from failed scans. The author notes that technology detection is only one part of broader domain analysis.

0
ProgrammingDEV Community ·

UE5 Devlog Details Blueprint Sprint and Stamina System Linked to Hydration and Health

A developer's devlog describes a Blueprint-based sprint and stamina system built in Unreal Engine 5 and tied to the player's health and thirst. Hydration drains at a steady rate while walking, and sprinting uses stamina while speeding up that loss. When stamina runs out, the added sprint drain stops, but the normal drain continues. Reaching zero hydration causes the player to start losing health, so resource management becomes part of movement. Drinks restore hydration, medkits recover health, and the UI highlights critical levels as resources drop.

← NewerPage 181 of 2976Older →