SShortSingh.

Programming

0
ProgrammingDEV Community ·

Rocket Pool Security Audit Flags Reentrancy and Access-Control Risks

An independent security audit dated 14 October 2026 reviewed Rocket Pool, a decentralized liquid-staking protocol holding roughly $1.27 billion in total value locked. The review focused on reentrancy vulnerabilities and access-control design across the protocol's Ethereum and Layer 2 contracts. It found no classic reentrancy bugs in the current mainnet deployment, but flagged design patterns that could become exploitable after future upgrades or new cross-chain bridge integrations. Auditors also raised concerns about inconsistent permission modifiers and upgrade admin keys held in a multisig without a timelock. The protocol was assigned an overall risk score of 7 out of 10, with recommendations for proactive remediation.

0
ProgrammingDEV Community ·

How to read a Shopify store's product catalog via its public products.json feed

Most Shopify stores publish their full public catalog as JSON by appending /products.json to the store's domain, requiring no API key, app, or HTML scraping. The feed returns product titles, descriptions, prices, variants, SKUs, availability flags, and image URLs, which is useful for price comparisons, catalog audits, or exporting a store's data. Developers can page through large catalogs by requesting up to 250 products per page until an empty response, and the endpoint allows cross-origin browser requests. Stores that disable the feed or place it behind a password page will return a 404 or HTML instead of JSON. The article advises spacing requests a second or two apart to avoid rate limiting, and notes that the feed only exposes public data without stock counts.

0
ProgrammingDEV Community ·

Two Years of Self-Hosted Cloud Storage: Costs, Surprises and Lessons Learned

A developer shares a two-year report on running a self-hosted cloud stack built on Nextcloud, MinIO, and ScsDriver on a Hetzner server costing about $30 per month. Mounting the storage as local drive letters let them edit large video and photo files with little noticeable latency, thanks to ScsDriver's caching layer. Their 4 TB disk filled to 4.3 TB, and they recommend choosing 8 TB from the start, along with monitoring and a tested update routine. The author concludes that self-hosting is cheaper than commercial cloud storage only at larger capacities, and suggests that smaller users should pay for a hosted service instead.

0
ProgrammingDEV Community ·

Green Checks Can Mislead: Tracking Silent Failures in Cron Jobs, Workers and APIs

A successful exit or HTTP 200 does not guarantee that backend work actually ran or produced a correct result. The article argues that exception capture alone misses cases such as jobs that never start, workers that stall after beginning, and responses with invalid content. It recommends separate signals for missed schedules, unfinished runs, exceptions, and result validation, linked by a shared run ID. The author also advises against storing prompts, documents, or secrets in default telemetry, favoring metadata such as operation name, release, and elapsed time. Failure experiments are proposed as a way to test whether each alert actually fires.

0
ProgrammingDEV Community ·

Detecting Terraform Drift Nightly with GitHub Actions and AWS OIDC, No Stored Keys

Infrastructure drift occurs when live cloud resources diverge from what Terraform state records, often through manual console edits, autoscaling changes, or applies from stale branches. The article proposes running terraform plan on a nightly schedule, using its exit code to flag differences, and opening or updating a GitHub issue when drift appears. Authentication to AWS uses OIDC so GitHub Actions obtains short-lived credentials through STS instead of storing long-lived access keys. The setup defines an IAM OIDC provider and a read-only role trusted only by the specific repository and branch, with a matrix strategy to check multiple environments in parallel. The author also explains that the role needs read access to the state backend in S3 and DynamoDB, and that the trust condition must be tightly scoped to prevent other repositories from assuming it.

0
ProgrammingDEV Community ·

Why Vibe Coding Falls Short of Real Software Development

The author contrasts traditional software development, which moves through planning, analysis, design, coding, testing, deployment, and maintenance, with 'vibe coding' in which someone simply prompts an AI to build an app. Real projects are typically built by specialized teams, while vibe-coded projects often hide architectural flaws and security vulnerabilities that surface only as user numbers grow. The piece describes common outcomes, including abandoned projects, repeated AI-introduced bugs, and production downtime without monitoring to trace failures. The author argues that AI-assisted development, guided by experienced engineers, can be effective, while vibe coding suits only simple apps.

0
ProgrammingHacker News ·

Jev 1.14 Released With Features Aimed at Builders and Dreamers

Jev version 1.14 has been announced on the typesafe.ai blog, according to a Hacker News post. The source material provided is limited to the headline, the link to the release post, and basic Hacker News metadata showing 7 points and no comments. The announcement is framed as being for builders and dreamers, but the specific features and changes in this release are not described in the available text. Further details would need to be confirmed by reading the original blog post directly.

0
ProgrammingDEV Community ·

Resume Tip: Use Problem-Action-Result Bullets with Numbers to Stand Out to Recruiters

A software engineer describes months of unanswered job applications and concluded that resumes were not conveying their impact clearly enough. Analyzing successful engineering resumes, the author found a recurring pattern: bullet points structured as Problem, Action, and Result, with a quantifiable outcome. The article contrasts vague task-list bullets with rewritten examples that cite specific latency reductions, recovered revenue, and test coverage gains. It also lists common pitfalls such as weak verbs, missing metrics, omitted tech stacks, and overly long bullets. The author recommends keeping each bullet to two lines and naming the tools used so both recruiters and applicant tracking systems can parse it easily.

0
ProgrammingDEV Community ·

New l10n_health tool audits Flutter translation files for unused and missing keys

A developer built l10n_health, a tool that checks Flutter translation files alongside Dart code for problems the analyzer misses. It reports unused keys, missing or untranslated entries across languages, mismatched placeholders, hardcoded text that bypasses localization, and hidden invisible Unicode characters. The tool works with gen_l10n and flutter_intl and can be installed globally or as a dev dependency. It also includes a careful prune command that removes unused keys as a text edit after validating the JSON, and can produce HTML, GitLab, and GitHub reports for CI.

0
ProgrammingDEV Community ·

Retry With Backoff and Jitter: A Reusable Pattern for Failed API Calls

A developer shares a retry function they reuse across projects, built to keep a single failed API call from overwhelming a backend. The article argues that naive retry loops, especially those with fixed delays, cause synchronized retry storms that prolong outages. The approach combines exponential backoff with full jitter so clients spread their retries out instead of firing together. It retries only on specific statuses like 429 and 503, respects Retry-After headers, and warns against retrying non-idempotent writes without idempotency keys. The author suggests starting with a 200ms base delay, a 30-second cap, and five attempts, then tuning based on observed failures.

0
ProgrammingDEV Community ·

AI Agents Face Conflicting Fediverse Rules, from Bans to Fees

An AI agent spent two weeks testing websites to see whether any automated gate screens visitors by what they are rather than what they hold. The author found that some sites vary their responses based on the browser identity sent, while others only check whether a user has a login or key. The clearest statements about AI participation came from written policies on Mastodon-based Fediverse instances. These rules ranged from an outright ban on AI-operated accounts to a 100-euro account fee and a requirement for disclosure. The author concludes that community policy, not technical filtering, is what decides whether an AI agent is welcome.

0
ProgrammingDEV Community ·

HTX Yield Protocol Audit Rates Risk High, Flags Reentrancy and Oracle Weaknesses

A security audit of HTX, a cross-chain yield aggregator with about $4.17 billion in total value locked, has been published by an independent research team. The review examined its strategy-execution engine, asset-allocation oracle, cross-chain bridging, and governance controls. Auditors assigned the protocol an aggregate risk score of 7.2 out of 10, rated as high, while judging the design fundamentally sound. Key concerns include a possible reentrancy path in the withdrawal logic, unchecked external call returns, and a single-key upgrade authority without a timelock or multi-signature requirement. The report recommends targeted hardening of these components to reduce high-impact attack risks.

0
ProgrammingDEV Community ·

Build in Public sprint ends at $0 revenue as team reviews what went wrong

A small team set a deadline of October 16 to earn back a monthly AI subscription through digital products without paid ads. As of October 15, they had recorded zero orders across Gumroad, itch, and their Chinese storefront. Only one tracked click was verified as coming from outside the team, via a free fee calculator, and it did not lead to a sale. The team attributes the shortfall mainly to weak distribution, since surviving channels sent very little traffic and many directory listings were scheduled to land after the deadline. They also note that a rise in Gumroad views was largely untraceable Direct traffic that did not coincide with increased downloads of their free trackers.

0
ProgrammingDEV Community ·

house_rules: Writing Flutter project lint rules in YAML instead of custom analyzer plugins

The author argues that project conventions, such as using design tokens rather than raw colors or preventing cross-layer imports, are usually documented in wikis and go unenforced. Dart's analyzer cannot easily express such rules, and custom analyzer plugins require a separate package and ongoing maintenance. To address this, they created house_rules, a tool where each rule is defined in a few lines of YAML and ships with ten built-in rules. It includes a baseline feature so existing violations do not fail CI while only new problems do. On a 2,937-file Flutter app, the tool reportedly checks the whole project in about 0.285 seconds, and it requires Dart 3.11 or newer.

0
ProgrammingDEV Community ·

Bot Storm Radar scores WordPress traffic as a crowd to catch distributed bot swarms

Bot Storm Radar is a WordPress plugin that evaluates a site's traffic collectively rather than judging each visitor separately, so swarms of addresses making single requests can be detected. Each minute it measures distinct addresses, single-request visitors, browser-like asset loading, and user-agent diversity, combining these into a storm score from 0 to 100 against a seven-day baseline. The plugin can block scanner probes and temporarily ban persistent offenders, starting in an observe-only mode that logs would-be bans before enforcement. On the GitHub build, an early-loading gate can refuse probes before WordPress loads, while the wordpress.org build applies the same rules later and at higher cost. Verified search engine bots and administrators are exempt from bans.

0
ProgrammingDEV Community ·

New Flutter package blocks rooted and jailbroken devices before app launch

A developer has released device_integrity_guard, a Flutter package that runs integrity checks before the app starts. It detects root access on Android, jailbreak indicators on iOS, emulators, and attached debuggers. A configurable policy lets teams block, log, or allow each signal, and developers can disable checks in debug builds. The author recommends logging first to see real user behavior before enabling blocking, and pairing the client-side checks with server-side attestation such as Play Integrity or App Attest.

0
ProgrammingDEV Community ·

riverpod_architecture: A shared structure for Flutter feature state

The author argues that Riverpod manages state but leaves feature structure to each developer, causing repeated loading and error handling code. They introduce riverpod_architecture, a package they use to start Flutter apps, which organizes each feature into a repository returning a failure or data, a notifier converting that into state, and a screen rendering it. The package provides base notifiers that handle loading and error states through a single execute() call, paginated notifiers for infinite lists, and app-wide loading and failure messages. It is built on Riverpod 3 and uses Either for results so failures are returned as values rather than thrown exceptions. The article notes that smaller apps may not need these extra base classes and can rely on Riverpod's built-in AsyncNotifier instead.

0
ProgrammingDEV Community ·

WebDAV Outperforms FTP on Small Files and Local Drive Access in 2026 Tests

A developer ran FTP and WebDAV side by side on the same Linux server, network, and test files for a year. Large single-file transfers performed identically, but WebDAV handled thousands of small files about five times faster, owing to persistent HTTP connections. The article argues WebDAV can be mounted as a local drive, letting desktop applications edit remote files directly, which FTP cannot do. It also notes FTP's plaintext-by-default authentication and firewall difficulties, while WebDAV runs over HTTPS with modern authentication options. The author concedes FTP still has niche uses, though the comparison favors WebDAV on nearly every measured dimension.

0
ProgrammingDEV Community ·

Node.js Feature Flag Check: 5 Express Middleware Route Gating Lessons

A scheduled game-catalog import has two separate states: permission to run and evidence that it produced a result. Treating one as the other creates a quiet failure mode. Short answer: use an Express middleware boolean check to gate the import route, keep a safe local default, and monitor completed imports with an independent heartbeat. Server-side evaluation is the better fit when rollout timing must be predictable; polling clients cannot provide that guarantee. This distinction also makes cost attribution less slippery.

0
ProgrammingHacker News ·

OpenCode 2.0 Released, Per Post Shared on Hacker News

A post titled OpenCode 2.0 has been shared on Hacker News, linking to an external article on the anoma.ly site. The submission has drawn 26 points and 5 comments from readers so far. The source material provided contains only the link and engagement metrics, without the article's full text. Specific details about the release's features, changes, or date cannot be confirmed from the information available.

← NewerPage 431 of 3109Older →