SShortSingh.

Programming

0
ProgrammingDEV Community ·

Misskey instance count: 3,354 by fingerprint versus 717 by page title

A ZoomEye search on 5 October 2026 found 3,354 assets matching a Misskey fingerprint but only 717 matching the word Misskey in the page title. The gap arises because titles can be altered by operators, themes, or reverse proxies, so the title count undercounts running instances. Neither figure shows whether an instance is reachable, correctly configured, or vulnerable. The author argues that fediverse instances hold accounts and content, often run volunteer-managed admin interfaces, and that audits should be done on the host rather than through search indexes. The counts are not a measure of victims, and results depend on the index version and scanning vantage point.

0
ProgrammingDEV Community ·

Node.js Queues vs Self-Hosted Workers: Handling Failed Jobs, DLQs and Idempotency

The article argues that retrying failed jobs safely with at-least-once queue delivery requires a dead-letter queue, acknowledging messages only after side effects succeed, and making consumers idempotent. It recounts an incident where increasing a webhook timeout caused a shipment event to be redelivered, so a partner received duplicate updates. The author recommends tracking explicit state transitions, distinguishing a received message from one whose update was applied, and replaying with a durable idempotency key such as shipment_id:event_version. Malformed payloads should go to a DLQ for operator review rather than being retried indefinitely. The worker is described as having three outcomes: ack on durable success, nack on transient failure, and DLQ after retries are exhausted.

0
ProgrammingDEV Community ·

Timed-out API fetch silently wrote an empty array, and tests locked in the wrong result

A developer's scraper reported that a GitHub repository had zero closed pull requests, though it actually had dozens. A curl request with a 25-second limit was cut off mid-transfer on a large response, leaving a partial JSON fragment that the parser failed on. The error was swallowed and an empty array was written to disk, which was then cited as evidence. The author argues the pipeline lacked a way to represent 'unknown' versus 'none', and that tests asserting counts or fixtures captured from live data can pass while hiding such bugs. The article recommends explicit failure signaling, named error details, and tests that assert the specific field that can be wrong.

0
ProgrammingHacker News ·

User Objects to Unauthorized Integration That Scans Their Secrets

A user has raised a complaint on a GitHub issue in the Home Assistant documentation repository, stating they never authorized an integration that scans their secrets. The post gained attention on Hacker News, where it received 68 points and 23 comments. The source material provides only the issue link and engagement figures, so the specific integration, its developer, and the scope of the scanning are not described. The issue points to concerns about consent and data access within the Home Assistant ecosystem.

0
ProgrammingDEV Community ·

Building an AI bug-fixing agent that runs inside your own GitHub Actions runner

The author describes an AI agent that fixes production errors using a design where the coordinating service never has access to the codebase. The control plane is a GitHub App limited to metadata and workflow dispatch, so it can start a job in the user's repository but cannot read the code. The agent runs on the user's own GitHub Actions runner, which holds the code and the AI API key. A per-run, short-lived HMAC token scoped to one run lets the runner fetch error context and report results. The agent works through a small set of tools, including reading files, searching code, and opening a pull request, with no shell or network access.

0
ProgrammingDEV Community ·

LedgerLens: Open-Source, Privacy-First AI Expense Auditor Built for Freelancers

A developer has released LedgerLens, an open-source expense auditing tool aimed at freelancers and solo business owners. The software automatically categorizes invoices and receipts, flags duplicate charges and calculation errors, and identifies potential tax compliance issues. It is built with FastAPI and runs Gemma 2 through Ollama, allowing local processing so sensitive client financial data need not go to third-party cloud services. The creator positions it as a low-cost alternative to subscription accounting platforms that charge $35 to $70 per month. The project is deployed using a Render Blueprint and is available on GitHub.

0
ProgrammingDEV Community ·

A Practical Framework for Writing Email Sequences to Niche Audiences

Generic email sequences tend to underperform in niche markets because specialized audiences quickly notice when a sender lacks real understanding of their work. The framework starts by collecting 20 to 30 authentic phrases from customer replies, sales calls, competitor reviews and niche communities, then reusing that language in subject lines and openings. Each sequence should be built around one clear goal, such as a demo booking or completed setup, and a typical five-email welcome or nurture series runs about two weeks. The guide outlines a timed structure covering delivery and expectations, problem naming, a useful lesson, social proof and a final clear request. Keeping segments small and relevant, and only emailing people who have opted in, rounds out the approach.

0
ProgrammingDEV Community ·

New UK Companies House API tool cleans addresses, flags directors and extracts balance sheet data

A developer has released a service that works with UK Companies House data to address common frustrations such as rate-limit errors and inconsistent records. The tool normalises raw addresses into standard formatting and attaches verified GPS coordinates. It also sorts board officers into active and resigned categories for know-your-business checks. Filing PDFs can be scanned to pull balance sheet figures into structured JSON, and a proxy allows official PDFs to be displayed in web portals. A live sandbox is available without an API key, and an open-source Laravel wrapper has been published on Packagist.

0
ProgrammingDEV Community ·

Shipment Reminders Need Durable Idempotency, Not Just 5-Minute Queue Deduplication

A developer argues that a shipment reminder system should assume at-least-once queue delivery and rely on a durable idempotency key before sending, since queue deduplication only covers a 5-minute window. Acknowledging messages only after a send is safely persisted prevents lost notifications, but it can cause duplicate emails or SMS messages if a worker crashes after the provider accepts a send and before the completion is recorded. The piece recommends an atomic claim on a logical key such as user_id, reminder_id, and scheduled_at, with duplicates acknowledged without resending. It also suggests alerting on mismatches between delivery attempts and unique send keys, and sizing the key store for the full retry horizon.

0
ProgrammingDEV Community ·

Developer Turns GitHub Contribution Graph Into Printable Yearly Poster

A developer noticed that their 847 GitHub contributions in 2024 existed only as fleeting green squares online. To preserve that record physically, they built Commit Print, a free web tool where users enter a GitHub username and select a year to generate a clean, print-ready contribution graph poster. The tool requires no login or API keys, relying on GitHub's GraphQL API to fetch contribution data. It is built with React and react-activity-calendar, and exports high-resolution A4 or A3 images. The creator argues that developers invest thousands of hours annually in coding yet have little tangible to show for it.

0
ProgrammingDEV Community ·

Open-source OpenAI proxy strips Indian PII before LLM calls to aid DPDP Act compliance

A developer has released Indian-PII Shield, an open-source reverse proxy that sits between applications and OpenAI's API and replaces sensitive Indian identifiers with placeholders before prompts are sent upstream. The tool validates Aadhaar, GSTIN, and payment card numbers using checksum algorithms, and it uses contextual detection tuned for Indian names, honorifics, and addresses in Hindi and English. Responses are then restored with the original values so application code works unchanged. The project states it stores no raw PII on disk and logs only metadata such as timestamps, latency, and entity counts. The author cites penalties of up to ₹250 crore under India's Digital Personal Data Protection Act 2023 as the motivation, and proposes a ₹500 per month private deployment as a possible commercial model.

0
ProgrammingDEV Community ·

How AI Agents Can Prove Their Work On-Chain, and Where Verification Goes Wrong

Many AI agent projects fail at proving that an agent actually completed its assigned task after the demo stage. The article outlines a simple on-chain approach built on three mechanisms: hash commitments that prove an output existed before a claim was made, escrow contracts that release funds only after independent evaluators grade work against a rubric, and reputation scores that track an agent's pass rate over time. It explains that hash commitments confirm an output was submitted but say nothing about its quality, so a rubric-based jury is needed on top. The author recommends writing the rubric for a real task before building the commitment.

0
ProgrammingDEV Community ·

AWS lanza Lambda Web Functions para correr servidores HTTP directamente en Lambda

AWS presentó Lambda Web Functions, que permite ejecutar aplicaciones web y APIs en Lambda corriendo un servidor HTTP de Node.js sin necesidad de adaptadores ni handlers por evento. La aplicación escucha en el endpoint que Lambda le asigna mediante una variable de entorno, mientras AWS gestiona HTTPS, TLS y el escalado. A diferencia de las funciones basadas en eventos, un mismo entorno atiende varias peticiones simultáneamente y puede escalar a cero sin tráfico. La funcionalidad aún solo soporta Node.js, y las Lambda clásicas siguen siendo preferibles para tareas dirigidas por eventos como procesar colas o reaccionar a eventos de S3.

0
ProgrammingDEV Community ·

Van-to-Quote turns spoken job notes into priced PDF quotes offline

Van-to-Quote is a local app that lets tradespeople like plumbers and electricians dictate job details and receive a priced PDF quote. Its creators say cloud quoting tools charge monthly fees, require a signal, and store customer data externally, which motivated a fully offline alternative. The pipeline transcribes speech with faster-whisper, uses a small local language model to extract items, quantities and labour hours, and applies the user's own price list and VAT with plain code. The model is designed never to set prices, and items missing from the list are flagged for manual pricing. The project is a Hacktoberfest challenge entry and is positioned as a one-time license or flat-fee product for solo and small trade businesses.

0
ProgrammingDEV Community ·

Freelancers Can Run Clients, Projects and Invoices in One Notion Workspace

A freelancer's workflow usually spreads across several tools, including spreadsheets, to-do apps, invoice folders and email. This guide proposes consolidating everything in Notion using four linked databases: Clients, Projects, Tasks and Invoices. Relation and rollup properties let users see totals billed per client, project progress and overdue invoices without switching apps. A central HQ page with linked views serves as a daily starting point, and templates help standardize project setup and client onboarding. The author notes that Notion does not handle accounting, tax or invoice sending, so it is best used for tracking alongside a separate invoicing tool.

0
ProgrammingDEV Community ·

Business Metrics Beat Uptime Probes for Guarding Pricing Rule Rollouts

An internal uptime dashboard for a Node.js logistics service should track business outcomes rather than rely solely on external health probes. A pricing endpoint can return success while producing wrong quotes, so transport-level checks miss rule errors. The recommended design labels quote outcomes by a bounded rule version and watches fallback usage and suspicious price categories. Comparing candidate and baseline traffic in the same window gives operators a clear basis for deciding whether to roll back. Keeping labels limited avoids unbounded storage growth and keeps the dashboard easy to scan.

0
ProgrammingHacker News ·

Flux 3 Image Klein released with open weights and 5.6B parameters

Black Forest Labs has released Flux 3 Image Klein, a new image model, according to a Hacker News post linking to the company's blog. The model is being made available with open weights, meaning its trained parameters can be downloaded and used by others. It contains 5.6 billion parameters. The available source material is limited to the link and a post with four points and no comments, so details on capabilities, benchmarks, and licensing terms could not be confirmed.

0
ProgrammingHacker News ·

Why 911 Responses Often Fall Short in Mental Health Crises

A Marshall Project article examines how the 911 emergency system has struggled to handle calls involving people experiencing mental health crises. The piece argues that police are frequently dispatched to situations better suited to trained mental health responders. It draws on the broader debate over whether relying on armed officers for these calls leads to poor outcomes. The article was discussed on Hacker News, where it gained modest attention. The source text provided is limited, so the summary reflects only the headline, link, and discussion metadata rather than the full article content.

0
ProgrammingHacker News ·

Anthropic says Claude now writes about 90% of Claude Code's code

Anthropic has reportedly stated that its Claude AI model generates roughly 90% of the code for Claude Code, its coding tool. The claim appears in a blog post on the company's site that discusses how Anthropic approaches code review. The source material available is limited to a link and brief Hacker News metadata, so the full article's details and context could not be verified. The figure reflects Anthropic's own description of how its tooling is built. Readers should consult the original post for the specifics behind the estimate.

0
ProgrammingHacker News ·

Bounty for Finding NIST Elliptic Curve Seeds Has Been Claimed

A bounty offered for the seeds used to generate certain NIST elliptic curves has reportedly been claimed. The announcement appeared in a post by cryptographer Filippo Valsorda on his blog, words.filippo.io. The post was shared on Hacker News, where it drew 29 points and two comments. The source text provided is brief, so further details about the claimant, the method used, or the seed values are not available.

← NewerPage 392 of 3104Older →