SShortSingh.

Programming

0
ProgrammingDEV Community ·

Developer builds open-source secrets manager to fix painful .env file sharing at work

A developer working in the financial industry created an open-source secrets manager called Dopbase after repeatedly struggling with his company's secure file-sharing process for .env files. Security policies at his workplace prohibited sharing environment files via email or messaging apps, requiring a multi-step approved channel that had to be repeated in full whenever any variable changed. The cumbersome workflow turned minor configuration updates into time-consuming administrative tasks, prompting him to build a dedicated solution. Dopbase is designed to keep secrets encrypted and access-controlled while eliminating the need for teams to manually pass updated files back and forth. The project is free, open source, and publicly available on GitHub for other developers facing similar challenges.

0
ProgrammingDEV Community ·

Developer Builds Crowdwide to Give Smaller Online Communities Equal Discovery Chances

Developer Puneet Kumar is building Crowdwide, a social and community platform designed to give smaller, lesser-known communities fairer visibility alongside larger ones. The platform aims to counter the common cycle on existing networks where already-popular communities continue to attract the most attention, leaving new or small groups largely invisible. Planned features include public and private communities, posts, articles, group chats, moderation tools, user profiles, and future monetization and algorithmic recommendation systems. Crowdwide recently won the KODA Online Fest Season 2 championship, though it remains in early alpha with account creation not yet open to the public. Kumar noted that a previous social platform project he built failed within a week, and said those lessons are informing his more security-conscious approach this time.

0
ProgrammingDEV Community ·

oxlint outpaces ESLint by 13x on Vue core, even with type-aware rules enabled

A developer benchmarked ESLint and oxlint against Vue's core repository — 445 TypeScript files totalling around 150,000 lines — using both syntactic and type-aware rule sets. ESLint completed the plain syntactic pass in 4.4 seconds and climbed to 12 seconds when type-aware rules were enabled, requiring the TypeScript compiler to run first. oxlint, a Rust-based linter built by VoidZero — the company founded by Vue and Vite creator Evan You — finished the syntactic pass in just 0.24 seconds, with its internal engine time recorded at 75 milliseconds. When oxlint's own type-aware mode was enabled via the --type-aware flag, it completed the same class of analysis in 0.9 seconds, roughly 13 times faster than ESLint's equivalent pass. The author noted that while the rule sets are not identical between the two tools, the results challenge the assumption that oxlint's speed comes from skipping expensive checks rather than from genuine performance gains.

0
ProgrammingDEV Community ·

How a deprecated cryptographic key exposed a flaw in schema validation design

A developer encountered a validation failure after adding a retired signing key whose scheme was no longer in the accepted set. Rather than widening the live set or discarding the old key, the solution was to introduce a separate 'schemes_retired' field, keeping the two sets distinct by capability rather than by time. The published specification was updated by retiring the old claim and adding a new scoped one alongside it, preserving an auditable record of the change. A pre-existing audit tool flagged the retired key as a violation, but this was logged as a known gap rather than silently patched, to avoid masking an underlying design flaw. The episode highlighted how naming conventions and set boundaries that appear cosmetic can carry real downstream consequences for counters, audits, and published guarantees.

0
ProgrammingDEV Community ·

Why a Single Accuracy Score Can't Measure Bot Detection's Real Cost

Bot detection systems that report high overall accuracy can still cause significant harm by wrongly blocking legitimate users, a problem known as false positives. The consequences vary sharply by route — a blocked checkout interrupts revenue, while a failed password reset locks out a real customer. Because most traffic on consumer-facing apps is legitimate, a detector can appear 99.7% accurate while still mishandling thousands of genuine requests daily. Experts recommend evaluating three separate metrics — precision, recall, and false-positive rate — rather than relying on a single aggregate score. Different enforcement actions such as hard blocks, challenges, and monitoring should each be governed by different thresholds based on the cost of each type of error.

0
ProgrammingDEV Community ·

AI Agent Authentication in 2026 Requires Layered Stack, Not a Single Protocol

As AI agents grow more complex, experts warn that no single protocol can handle their full authentication needs. A 2026 IETF Internet-Draft proposed a multi-layer architecture covering agent credentials, delegated user authority, workload identity, authorization, and audit trails. Google separately announced the open Agentic Resource Discovery (ARD) specification to help agents find and verify agentic capabilities without relying on hard-coded endpoints. Together, ARD, Web Bot Auth, OAuth, and workload identity standards each address distinct gaps in the agent identity chain. Collapsing these layers into a single API key, experts note, eliminates the audit trail and exposes systems to serious security risks.

0
ProgrammingDEV Community ·

How to Control Reasoning Effort in Codex CLI for Faster or Smarter Responses

OpenAI's Codex CLI offers a configurable 'model_reasoning_effort' setting that lets developers control how deeply the model reasons before responding, with five levels ranging from 'minimal' to 'xhigh'. The setting can be applied permanently via the ~/.codex/config.toml file, overridden for a single run using the -c flag, or adjusted mid-session with the /model command. Higher effort levels suit complex tasks like multi-file design changes or hard algorithms, while lower levels are better for simple fixes and formatting tasks. Developers can also bundle effort settings into named profiles for repeated workflows, such as code reviews requiring maximum reasoning. Additional keys like 'plan_mode_reasoning_effort' and 'agents.default_subagent_reasoning_effort' allow fine-grained control over planning mode and subagent behavior separately.

0
ProgrammingDEV Community ·

Browser Fingerprinting in 2026: JS Signals Fade as Network-Level Techniques Rise

Browser fingerprinting remains viable in 2026, but the landscape has shifted significantly as major browsers have neutralized many traditional tracking signals. Chrome, Firefox, Safari, and Brave have frozen or restricted JavaScript-accessible APIs such as User-Agent strings, navigator.plugins, and navigator.platform, rendering them largely useless for identification. Meanwhile, techniques like WebGL rendering, AudioContext, and TLS fingerprinting via JA4 continue to provide meaningful identifying signals due to hardware-level variation or network-layer operation. Network-level signals, including HTTP/2 settings and TCP/IP stack analysis, are increasingly favored because they operate below the browser API surface and cannot be blocked by privacy extensions. Experts caution that no single fingerprint should be treated as definitive proof of a visitor's identity or intent, and much of the guidance published just two years ago is now considered outdated.

0
ProgrammingHacker News ·

How Python Libraries Use Rust Internally via PyO3

A technical blog post by Belderbos explains how Python libraries can run Rust code internally using PyO3, a popular Rust-Python binding tool. PyO3 allows developers to write performance-critical components in Rust while exposing them seamlessly to Python users. This approach lets libraries gain Rust's speed and memory safety without requiring end users to know any Rust. The post has gained modest traction on Hacker News, attracting 8 points and 5 comments from the developer community.

0
ProgrammingDEV Community ·

CAPTCHAs No Longer Stop Bots in 2026 as Solver Markets Undercut Their Value

CAPTCHAs, originally designed in 2003 to distinguish humans from automated bots, have lost their effectiveness because all three core assumptions behind them — that challenges are hard for machines, easy for humans, and cheap to generate — no longer hold. Commercial solver services such as 2Captcha and AntiCaptcha now resolve most CAPTCHA types for as little as $1–$3 per 1,000 attempts, making them a negligible cost for attackers running large-scale credential-stuffing operations. A bad actor running 100,000 daily login attempts, for example, might spend only $300 on CAPTCHA solving while earning $6,000 from compromised accounts. Modern AI vision models independently solve image-based CAPTCHAs at rates exceeding 90%, often outperforming average human users on the same puzzles. As a result, security engineers are increasingly looking beyond traditional CAPTCHAs toward behavioral analysis, device fingerprinting, and risk-based authentication to defend against automated threats.

0
ProgrammingDEV Community ·

How to Implement StpInterface in Sa-Token for RBAC Permission Control

Sa-Token, a Java authentication framework, requires developers to implement the StpInterface by overriding two key methods: getPermissionList and getRoleList. This is necessary because Sa-Token has no built-in knowledge of a project's database structure, so developers must define how permissions and roles are retrieved. The implementation involves creating a StpInterfaceImpl component that queries user-specific permission and role codes from the database using custom service methods. SQL queries use JOIN operations across user-role and role-permission tables to fetch distinct, active records tied to a given user ID. Once configured, access control becomes straightforward through annotations such as @SaCheckLogin, @SaCheckPermission, and @SaCheckRole.

0
ProgrammingDEV Community ·

Why Hiding Your Achievements Holds Back Others, Not Just Yourself

Many high-achieving professionals routinely downplay or stay silent about their accomplishments due to fear of appearing arrogant or alienating peers. This pattern creates a lose-lose situation: sharing a win triggers guilt, while staying quiet fuels imposter syndrome and self-doubt. Experts and creators in the tech community argue that publicly acknowledging milestones serves as a roadmap for others who are struggling and seeking proof that success is attainable. When someone reacts negatively to another person's growth, that response typically reflects their own insecurities rather than any fault in the person sharing. Building and communicating progress openly is increasingly seen as a form of community contribution, not self-promotion.

0
ProgrammingDEV Community ·

Power BI Data Modelling Explained: Schemas, Relationships, and Joins

A Power BI report's effectiveness depends heavily on how its underlying data model is structured, not just on its visuals or charts. Data modelling involves organising tables and defining relationships so Power BI can analyse information accurately and efficiently. Three common schema approaches exist — flat tables, star schemas, and snowflake schemas — each with distinct trade-offs in complexity, performance, and scalability. Star schemas are widely preferred for separating factual transaction data from descriptive dimension tables, simplifying DAX formulas and improving filter behaviour. Poorly designed models can lead to slow performance, maintenance difficulties, and unreliable calculations as datasets grow.

0
ProgrammingHacker News ·

Prior.chat Launches Predictive Intelligence Tool for Anticipating Outcomes

A new platform called Prior.chat has emerged, positioning itself around predictive intelligence capabilities. The tool claims to help users anticipate events or outcomes before they occur. It was shared on Hacker News, where it received modest early traction with 4 points and 4 comments. Details about the underlying technology, pricing, or target users remain limited based on available information.

0
ProgrammingDEV Community ·

Audit of 50 AI-coded Projects Reveals 4 Recurring Security Flaws in Cursor and Claude Output

A developer who audited 50 projects built using Cursor and Claude identified four recurring security and performance issues in AI-generated code. The most common problems included missing tenant isolation in database queries, insecure webhook token comparisons, network calls placed inside active database transactions, and the use of floating-point numbers for currency calculations. The developer attributes these flaws to AI coding tools prioritizing functional code over production-ready, secure code, especially during long chat sessions where system prompts are forgotten. To address this, they released an open-source tool called secure-code, which injects security and performance constraints into Cursor, Claude, and Copilot configuration files via a single terminal command. The project supports TypeScript, Python, Go, Rust, and several other languages, and is available under the MIT license on GitHub.

0
ProgrammingDEV Community ·

Silent pipeline flaw: passing checks whose results never reached the system that needed them

A software team discovered that an automated check was running and passing correctly for weeks, yet its results never appeared in the acceptance report because the check was missing from the device routing list that writes to the permanent record. Neither the check nor the acceptance step flagged an error — the gap simply produced an 'absent' status, which the system treated as 'not yet applicable' rather than a failure. A second issue caused intermittent digest mismatches in a map component, traced to the append-only record being incorrectly pinned as an input, meaning every new log entry invalidated the map's freshness. Both defects were invisible from within their respective components and produced no red alerts, only ambiguous or silent outputs. The key lesson drawn is that verifying a component works is insufficient — what must be tested is whether its results are actually reachable by the systems that depend on them.

0
ProgrammingDEV Community ·

AWS Lambda timeout raised 6x to 90 minutes for managed instance event-driven functions

AWS has increased the maximum execution timeout for Lambda functions using Event Source Mapping (ESM) on Lambda Managed Instances (LMI) from 15 minutes to 90 minutes, a sixfold improvement. The change addresses longstanding limitations for workloads such as AI inference, media transcoding, financial simulations, and large-scale ETL pipelines that routinely exceed the previous 15-minute cap. The extended timeout applies only to asynchronous and ESM invocations on managed instances; standard on-demand Lambda functions and synchronous invocations via API Gateway or load balancers remain capped at 15 minutes. Supported event sources include SQS, Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka, while Amazon MQ and DocumentDB mappings are still limited to 15 minutes. AWS confirmed there is no additional charge for the new limit, with standard managed instance compute rates continuing to apply.

0
ProgrammingHacker News ·

Cpak Introduces OCI-Based Application Package Format for Linux Systems

Cpak is a newly introduced application packaging format designed for Linux desktops, servers, and devices. It is built around the OCI (Open Container Initiative) standard, leveraging container image technology for software distribution. The project aims to provide a unified packaging solution across different types of Linux environments. Details about the format and its specifications are available on the official Cpak website. The announcement received early attention on Hacker News, drawing initial community interest.

0
ProgrammingDEV Community ·

Why Regulated AI Apps Need More Than a Vector Database

Developers at Apex Grid, building a regtech tool for Nigerian microfinance banks, have outlined a key architectural distinction between vector databases and data substrates in AI systems. A vector database excels at fast, embedding-based similarity search, making it useful for the retrieval phase of RAG pipelines, while a data substrate provides a versioned, traceable, and auditable layer linking AI decisions to specific data sources. In financial compliance contexts, the ability to trace why an AI flagged a transaction — including the regulation referenced and the data version used — is a regulatory requirement that vector databases alone cannot meet. The team uses a hybrid approach, leveraging vector databases for initial retrieval and a data substrate for governance and auditability. While this adds storage and schema complexity, they argue the tradeoff is justified given the high cost of untraceable AI decisions in Nigeria's regulated microfinance sector.

← NewerPage 1369 of 3313Older →