SShortSingh.

Programming

0
ProgrammingDEV Community ·

How Open Source Can Double Engineering Capacity for Nonprofit Tech Teams

A software engineer has outlined a strategy for social impact organizations to expand their engineering capacity by leveraging open-source contribution models on GitHub. The approach allows internal engineers to focus on high-priority work such as architecture and security, while external contributors handle maintenance, bug fixes, documentation, and dependency upgrades. To attract mission-aligned developers, organizations are advised to tag repositories with terms like 'social-good' and 'non-profit', register with the Digital Public Goods Registry, and submit beginner-friendly issues to curated lists. Making repositories contributor-friendly through clear README files, contribution guidelines, and codes of conduct is emphasized as essential to building an active community. The strategy aims to reduce reliance on costly full-time hires while broadening the societal reach of technology built for public good.

0
ProgrammingHacker News ·

Signal to enable phone-number-free registration using zero-knowledge proofs

Signal, the encrypted messaging app, is working on allowing users to register accounts without providing a phone number. The new approach will leverage zero-knowledge proofs, a cryptographic technique that can verify information without revealing the underlying data. This development has been discussed in Signal's community forums and is generating interest among privacy-focused users. The move would mark a significant shift from Signal's current model, which requires a phone number for account creation and verification.

0
ProgrammingDEV Community ·

Three Ways to Safely Run CI Workflows on Forked Pull Requests in GitHub Actions

GitHub repository maintainers face a security challenge when running secret-dependent workflows on pull requests submitted by external, untrusted contributors. By default, GitHub restricts forked PRs triggered via the pull_request event to a read-only GITHUB_TOKEN with no access to repository secrets, preventing exposure of sensitive data. GitHub introduced the pull_request_target event in 2021 to elevate token permissions, but using it to execute untrusted forked code directly is considered dangerous without additional safeguards. Security experts, including a GitHub researcher, warn that any automated processing of external fork PRs should be treated as untrusted input due to risks like code injection and race condition exploits. The article outlines three solutions of varying security levels for maintainers needing to run tests or other secret-dependent workflows against community-contributed code changes.

0
ProgrammingDEV Community ·

GPT-6 Astra Independently Builds a Puzzle, Supply-Chain Model, and Booklet Tool

OpenAI's GPT-6 Astra ran three independent AI-agent experiments, published on 4 September, in which separate agents built a string-based puzzle game called Loose End, a supply-chain simulation called The Order Echo, and a single-sheet booklet layout tool called Pocket Press. Each project went through a structured prototype review process before refinement, with a coordinating agent identifying and flagging issues for builders to correct. In Loose End, a logic puzzle involving a finite string, pegs, and bells, an early input bug ignoring brief keypresses was caught and fixed before the game was finalised. The Order Echo models how different ordering policies affect a four-tier supply chain, with its interface allowing users to inspect weekly demand and order arithmetic on a shared scale. Pocket Press arranges an eight-page booklet onto a single A4 or US Letter sheet and, following reviewer feedback, gained discoverable save options, folding instructions, and the ability to reload editable source files.

0
ProgrammingDEV Community ·

Thor Commerce Lets Developers Build AI-Assisted Custom Storefronts Without Starting From Scratch

Thor Commerce is a headless commerce platform that separates the commerce backend from the customer-facing storefront, allowing developers to build fully custom shopping experiences without rebuilding core logic. The platform provides two GraphQL APIs — an Admin API for server-side operations and a Storefront API for buyer-facing flows — both generating TypeScript types to keep code aligned with the schema. Developers can use AI coding agents such as Claude Code, Codex, or Cursor to customize a provided Next.js reference storefront, with the agents guided by typed contracts, structured documentation, and an AGENTS.md file. Thor also supports context-aware pricing and availability, making it suitable for businesses running both direct-to-consumer and B2B operations from a single catalog. The tutorial walks developers from local setup through product resolution, cart and checkout flows, AI-assisted customization, and a path to production deployment.

0
ProgrammingDEV Community ·

Developer Migrates Blog from DEV Community to Personal Astro-Powered Website

A developer with hundreds of thousands of global readers has decided to migrate their blog from DEV Community to a personal website after eight years on the platform. The move is driven by a desire for greater control over content discoverability, personal branding, and the ability to write beyond developer-focused topics. The migration involved transitioning from a SvelteKit static site to an Astro-based content-centric app, which the author found better suited to managing structured content without reinventing a custom CMS. Interactive visualizations will now be exclusive to the personal site due to technical limitations, though articles will continue to be cross-posted to DEV Community. The decision was partly inspired by the POSSE principle — Publishing on your Own Site and Syndicating Elsewhere — as reflected upon by developer Sean McArthur.

0
ProgrammingDEV Community ·

4WP Plugin Ecosystem Outlines AI Workflow Automation Roadmap for WordPress

The 4WP plugin ecosystem has published a roadmap detailing how AI workflow automation will be integrated across its suite of WordPress plugins, including SEO Helper, FAQ, Notifications, Drive, and Smart Link. Unlike simple chatbots added to wp-admin, the planned system enables AI agents to perform real actions on a WordPress site — such as drafting content or flagging notification rules — subject to the same permission controls a human editor would face. The architecture relies on two core primitives: the Abilities API, which lets plugins declare what an AI workflow may read or do, and the Model Context Protocol (MCP), which allows external agents like Claude Desktop or Cursor to access those same abilities. Developers clarified that most of these capabilities are not yet shipped, with some still in early development, and the post is intended as an honest roadmap rather than a feature announcement. Human approval remains a required step for consequential actions, keeping automated changes within explicitly defined scopes.

0
ProgrammingDEV Community ·

Why a Perfect PageSpeed Score Still Misses What Makes Sites Feel Fast

A score of 100 on PageSpeed Insights is calculated from just five lab metrics — Total Blocking Time, Largest Contentful Paint, Cumulative Layout Shift, First Contentful Paint, and Speed Index — run in a single simulated environment. Interaction to Next Paint (INP), widely considered the most important real-world responsiveness signal, is entirely absent from this scoring model. The scoring curve is log-normal, meaning gains become disproportionately harder to achieve above 96, so chasing the last few points offers diminishing returns for actual user experience. Run-to-run variance from factors like routing changes, device load, and browser extensions means a single screenshot score is unreliable; trends across multiple runs are more meaningful. Desktop and mobile scores use separate calibration curves and device profiles, so a gap between the two reflects deliberate design choices in the tool rather than an error.

0
ProgrammingDEV Community ·

Nairobi Frontend Developer Seeks Free Internship or Mentorship to Join a Real Team

Monicah, a self-taught frontend and WordPress developer based in Nairobi, Kenya, is seeking a free internship or mentorship opportunity to gain team-based experience. She has already completed real client work, including custom WordPress builds, a full website for an online learning platform, and website audits. Currently strengthening her fundamentals through The Odin Project, she is proficient in HTML, CSS, JavaScript, React, Svelte/SvelteKit, and WordPress. She hopes to learn collaborative workflows such as code reviews, Git practices, and team communication that solo projects cannot provide. She is open to contributing to startups, teams, or open-source projects for even a few hours per week, and is willing to share her portfolio on request.

0
ProgrammingDEV Community ·

Inside HFT: Why Speed, Hardware, and Engineering Beat Secret Algorithms

A software developer explored high-frequency trading (HFT) after a friend claimed to run an ultra-low-latency trading bot, expecting to uncover a complex financial formula. Instead, the investigation revealed that HFT success depends almost entirely on engineering optimizations rather than clever strategies. Key factors include network colocation near exchange servers, kernel-bypass networking, deterministic real-time processing in C or C++, and FPGA hardware acceleration to cut decision times to nanoseconds. An early Python-based prototype that polled order books every 100 milliseconds showed promising back-test results but collapsed under realistic latency simulations. The core lesson was that latency must be measured and reduced systematically at every stage, from network interface card interrupts to application callbacks.

0
ProgrammingDEV Community ·

Security Audit Flags High-Risk Vulnerabilities in Robinhood Cross-Chain Bridge

A confidential DeFi security assessment dated September 13, 2026, evaluated Robinhood's cross-chain bridge, which holds approximately $14.27 billion in total value locked across Ethereum and multiple Layer-2 networks. The audit assigned a risk score of 7.4 out of 10, citing a relatively centralized validator set, exploitable smart-contract bugs, and weak cross-chain replay protection as primary concerns. Researchers identified five major attack vectors, including a re-entrancy vulnerability in the withdrawal function that could expose up to $500 million in a single batch, and a threshold-signature flaw where colluding validators could authorize fraudulent transfers. Additional risks include a liquidity-drain exploit, oracle price-feed manipulation via flash loans, and cross-chain message replay due to missing destination chain IDs in signed messages. While the bridge demonstrates sound engineering practices such as upgradable proxy patterns and multi-signature administration, the report warns that a coordinated multi-vector attack could result in partial or total asset loss.

0
ProgrammingDEV Community ·

How Rust Handles Inheritance: Composition and Traits Replace Class Hierarchies

Rust does not support classical inheritance as seen in C++ or Java, instead relying on structs, traits, and composition to achieve code reuse. A developer maintaining epdsi, a no_std e-paper display driver crate, encountered this distinction while modeling two chip families where sibling controllers share most logic. In Rust, shared behavior is wrapped as an inner struct field, and each method must be manually forwarded, unlike Java where subclasses inherit everything automatically via extends. Traits with default methods offer partial relief but cannot share fields across types, leaving delegation boilerplate to be written by hand. The article illustrates how Rust's design philosophy favors explicit composition over implicit inheritance, trading conciseness for clarity and control.

0
ProgrammingHacker News ·

Why Achieving Digital Privacy Remains a Complex and Unsolved Challenge

A piece published on the ACM blog explores the persistent difficulties surrounding privacy in the digital age. The article examines the structural, technical, and social reasons that make privacy hard to define, implement, and maintain. It highlights how competing interests among individuals, corporations, and governments contribute to the challenge. The discussion has drawn engagement on Hacker News, where readers are weighing in with their own perspectives on the issue.

0
ProgrammingHacker News ·

Hacker News Thread Draws Parallels Between AI Agents and The Matrix

A Hacker News discussion post has drawn a tongue-in-cheek comparison between AI agents and the villainous 'Agents' from the 1999 film The Matrix. The post references a claim by someone named Dario that AI agents are becoming increasingly aggressive. The original poster suggests the cultural parallel feels eerily familiar, likening it to a well-known science fiction scenario. The thread garnered 12 points and 6 comments on the platform. The post appears to be a lighthearted yet thought-provoking reflection on growing concerns around autonomous AI systems.

0
ProgrammingDEV Community ·

LLM Cost Estimates Break Down Beyond 200,000 Tokens, Comparison Tables Mislead

Most LLM pricing comparison tables are based on headline rates that only apply up to certain context-length thresholds, leading to significant cost miscalculations for long-prompt workloads. Both Gemini 2.5 Pro and Grok 4 double their input and output rates once prompts exceed 200,000 tokens, while OpenAI publishes no rate at all above 270,000 tokens. Claude stands out as the only major provider with no context-length pricing tiers, charging the same per-token rate across its entire one-million-token window. DeepSeek adds another layer of complexity by introducing time-of-day pricing since August 2026, with rates doubling during seven peak hours daily, making its true cost a variable blend. Additional hidden factors include model-specific cache-read discounts and expiring promotional rates, meaning cost-per-task rather than headline rate is the more reliable metric for real workloads.

0
ProgrammingDEV Community ·

Developer builds open-source filebrowser alternative after original project archived

A developer has released a self-built replacement for the popular filebrowser tool, which has been archived on GitHub and is no longer actively maintained. The project was created as a lightweight alternative, after the developer found Nextcloud too feature-heavy for simple file browsing and sharing needs. The new tool is available on GitHub under the handle skidoodle/filebrowser. While the project is still in early stages and may contain bugs, the developer reports using it daily on their own setup. The release was shared on DEV Community, inviting others to try it out.

0
ProgrammingDEV Community ·

Why AI Agents Keep Repeating the Same Errors — and How to Fix It

AI agents commonly fall into retry loops when tool calls fail, often because error messages like '422 validation_error' provide no actionable context to determine whether a retry is worthwhile. The core problem is not the model's reasoning but the absence of structured failure memory that agents can consult before attempting the same action again. A useful failure trace requires three components: a normalized error identity, a recorded outcome rather than just an intention, and a success denominator to make failure rates meaningful. Normalizing raw error strings by stripping timestamps, UUIDs, and request IDs allows separate incidents to be recognized as the same underlying bug. The open question remains whether failure patterns across different users' agents actually overlap enough to make shared error knowledge viable — a hypothesis the author says is testable but currently unresolved.

0
ProgrammingDEV Community ·

Building an Order Processing Pipeline in Java Using Chain of Responsibility Pattern

The Chain of Responsibility is a behavioral design pattern from the Gang of Four that routes a request through a sequence of handlers, each deciding whether to process or pass it along. A common problem in e-commerce systems is that order processing logic — covering stock validation, payment, shipping, and persistence — gets crammed into a single bloated method, reducing maintainability. The pattern solves this by splitting the workflow into independent handlers, each responsible for exactly one step, similar to stations on a production line. In a typical order pipeline, if any handler fails — such as a payment rejection — the chain stops immediately and prevents subsequent steps from executing. This approach improves code cohesion, simplifies reordering of steps, and makes individual handlers reusable in isolation.

← NewerPage 1381 of 3332Older →