SShortSingh.

Programming

0
ProgrammingDEV Community ·

Developer Launches Guide Series on Hardening Angular Apps with HTTP Security Headers

A developer has begun a multi-part series aimed at helping teams secure Angular applications using browser and HTTP security controls. Part 1 covers foundational security headers including HSTS, Content Security Policy, X-Frame-Options, and Cross-Origin policies, among others. The guide focuses on understanding the purpose and real-world application of each header rather than simply listing them. Future installments will address practical CSP configuration alongside Nginx and Docker deployment setups. The series is intended for developers looking to apply security hardening techniques to production Angular applications.

0
ProgrammingDEV Community ·

BigQuery Vector Search and Apache Iceberg Aim to Eliminate RAG Data Silos

Many organizations building Retrieval-Augmented Generation (RAG) systems are creating a problematic architectural divide by extracting data from their core lakehouse and loading it into separate vector databases like Pinecone or Weaviate. This ETL-style approach effectively creates a disconnected data silo that requires complex synchronization to stay current with the source system. Two major risks arise from this pattern: metadata drift, where the vector store falls out of sync with the source of truth, and security fragmentation, where enterprise-grade access controls fail to carry over to the AI stack. An alternative approach proposes storing vector embeddings directly within existing Apache Iceberg or BigQuery native tables, building the vector index on the same column as the source data. This co-located design eliminates data duplication, removes the need for a separate synchronization pipeline, and keeps unified governance intact.

0
ProgrammingDEV Community ·

Windows converts HEIC photos to JPG natively, but browsers cannot decode the format

Windows users can convert iPhone's HEIC image files to JPG without third-party tools like ImageMagick, using built-in HEIF codec support exposed through PowerShell and the Windows Imaging Component. Microsoft's HEIF and HEVC Store extensions, which come pre-installed on many OEM devices, enable both decoding and encoding of HEIC files directly on Windows 11. However, major browsers including Chrome cannot decode HEIC images at all, meaning every online HEIC-to-JPG converter tool silently uploads files to a remote server for processing. This has real privacy implications when the photos contain sensitive content such as people or personal documents. Python's Pillow library also lacks native HEIC support and requires the separate pillow-heif plugin to handle the format.

0
ProgrammingDEV Community ·

Four Engineering Rules That Keep AI Systems Running When They Fail

Software engineer Derek Wang argues that AI systems fail differently from humans — silently and without warning — making resilient implementation a critical design layer for AI-coding projects. Wang identifies four core principles: idempotency (ensuring repeated operations produce the same result), graceful degradation (keeping core functions alive at reduced quality during partial failures), visibility (alerting users or monitors when fallbacks activate), and fast recovery. Drawing from his own trading system, he illustrates how database upserts prevent duplicate data on retries and how cached exchange-rate fallbacks keep quote functions running even when external feeds go down. He warns that silent degradation is more dangerous than an outright error, since downstream systems may act on stale or incorrect data without anyone knowing. A real incident in which all workers in his multi-agent system crashed simultaneously — traced to shell scripting misuse — underscores his broader point that background AI processes require explicit error handling rather than strict fail-fast defaults.

0
ProgrammingDEV Community ·

Tableau vs Power BI: Key Differences Every BI Developer Should Know

A practicing BI developer has outlined the core philosophical differences between Tableau and Power BI, two of the most widely used business intelligence platforms. Tableau is described as visualization-first, making it well-suited for rapid data exploration where the final output is not yet defined. Power BI, by contrast, is data-model-first, requiring developers to build a structured semantic model with fact tables, relationships, and DAX measures before the visual layer takes shape. Advanced work in both tools demands deep expertise — DAX filter context in Power BI and LOD expressions or table calculations in Tableau each present their own learning curves. The developer concludes that neither tool is universally superior, and the right choice depends on the specific use case and workflow requirements.

0
ProgrammingDEV Community ·

Microsoft Foundry Agent Service subnet sizing mistakes can silently break production agents

Microsoft Foundry Agent Service supports private networking via VNet injection, allowing enterprises to keep agent traffic and data within customer-managed network boundaries. However, architects who undersize the delegated subnet — commonly choosing a /27 block — risk IP exhaustion that causes HTTP 429 errors, intermittent 5xx failures, and silent provisioning failures in production. The platform shares the subnet across all projects in a Foundry account, and agent sessions consume IP addresses similarly to how a connection pool consumes sockets. Unlike typical network failures, IP exhaustion in this setup produces no portal alerts or utilization dashboards, forcing engineers to diagnose issues through Application Insights traces. Proper subnet sizing requires understanding the IP-to-session allocation ratios for both hosted agents and prompt agents before deployment, not after production falls over.

0
ProgrammingDEV Community ·

How JWT Refresh Tokens Improve Security Without Disrupting User Experience

Modern web applications rely on JSON Web Tokens (JWTs) to manage user authentication after login, but a single long-lived token poses a security risk if stolen. To address this, developers use two separate tokens: a short-lived access token for API requests and a longer-lived refresh token to obtain new access tokens silently. Short access tokens — typically expiring in 10 to 15 minutes — limit the damage if compromised, while the refresh token handles session continuity without requiring the user to log in again. When an access token expires, the client sends the refresh token to the server, which validates it and issues a fresh access token. Refresh tokens are treated as sensitive credentials and are typically stored in HttpOnly, Secure cookies to reduce exposure to client-side attacks.

0
ProgrammingDEV Community ·

RabbitMQ vs Kafka: Choosing the Right Message Broker for Your Backend

Message brokers solve a core backend problem: instead of processing all tasks synchronously when a user triggers an action, the main service offloads work to a broker and instantly returns a response to the user. RabbitMQ is a traditional push-based message queue following the AMQP protocol, where messages are deleted after a consumer acknowledges processing — making it ideal for task queues, guaranteed delivery, and complex routing. Apache Kafka, by contrast, is a distributed event streaming platform that stores messages as an append-only log on disk, allowing consumers to read at their own pace using a pull model. Kafka excels at high-throughput real-time streaming and supports message replay, enabling multiple independent services to consume the same event stream. The choice between the two depends on scale and use case: RabbitMQ suits task-level job processing, while Kafka is preferred for millions of events per second and scenarios requiring historical data reprocessing.

0
ProgrammingDEV Community ·

Encryption Technologies Explained: From AES to Digital Signatures and Tokenisation

Cryptography relies on two main encryption types: symmetric encryption, which uses a single shared key (AES, 3DES) for bulk data, and asymmetric encryption, which uses a public-private key pair (RSA, ECC) for secure communication and identity verification. Hashing algorithms like SHA-256 and SHA-3 generate fixed-size, irreversible outputs used to ensure data integrity, while digital signatures combine hashing and asymmetric encryption to provide authentication, integrity, and non-repudiation. Data at rest in systems like core banking is protected using AES-256 Transparent Data Encryption, while data in transit is secured via TLS 1.2 or 1.3. Tokenisation replaces sensitive data such as card numbers with non-sensitive tokens stored in a secure vault, a practice essential for PCI-DSS compliance, whereas data masking retains format while hiding actual values. In India, IDRBT provides the digital certificate infrastructure and secure network backbone for critical payment systems like RTGS, and ISO 9564 governs PIN block formatting standards used in ATM and POS transactions.

0
ProgrammingDEV Community ·

Why DNS Zone Deletion Pipelines Need Evidence Gates, Not Just Green Dashboards

Automated DNS zone teardown pipelines can silently destroy active tenant namespaces when deletion decisions rely solely on dashboard health signals rather than verified deliverability evidence. DMARC aggregate reports, as defined by RFC 7489, can confirm a domain has been used for mail authentication, but their absence does not prove a zone is inactive — silence is ambiguous, not conclusive. Engineers recommend binding every deletion plan to an immutable zone identifier, tenant lifecycle state, and a separately issued approval digest, so that any mismatch triggers a refusal before the commit becomes irreversible. A quarantine state should freeze new tenant configuration while preserving the DNS zone, giving the pipeline time to collect independent evidence from mail collectors, lifecycle signals, and collector health checks. Collapsing multiple safety predicates into a single 'safe-to-delete' flag was flagged as a key design flaw that makes post-incident analysis far harder.

0
ProgrammingDEV Community ·

CodeRabbit Launches AI Pull Request Triage Tool, Free for Open Source Projects

CodeRabbit released a new feature called Triage in mid-September 2024, designed to help software teams manage backlogs of pull requests by automatically prioritizing them on a P0–P3 scale. The system evaluates each PR based on issue severity, linked external priorities, and downstream dependencies, while also recommending suitable reviewers and indicating the next required action. Open-source projects with public repositories receive Triage at no cost as part of a complimentary Team-tier access, whereas private organizations must subscribe to the Team plan at $48 per user per month billed annually. The feature is currently in open beta and is only available for GitHub cloud users on the Team plan or above, with no support yet for GitLab, Bitbucket, or self-hosted GitHub Enterprise. CodeRabbit states that the system only makes recommendations and never closes or merges pull requests autonomously — all final decisions remain with human team members.

0
ProgrammingDEV Community ·

Registering Concrete Classes in DI Can Lock Out Unit Testing, Developers Warned

A software development discussion highlights a subtle but costly mistake in Dependency Injection (DI) setup: registering a concrete class directly instead of mapping it to an interface. While both approaches compile and run correctly at runtime, only interface-based registration allows controllers to be unit tested in isolation, since mock or fake implementations can only substitute for interfaces. When a controller's constructor demands a specific concrete class, developers are forced to test against a real database connection, making tests slower and less reliable. The problem often goes unnoticed early in a project because it produces no errors or warnings, but retrofitting interfaces later requires changes across every constructor and registration that references the class. Defining an interface upfront costs minimal effort and is considered standard good practice in ASP.NET Core projects, preserving testability without future codebase disruption.

0
ProgrammingDEV Community ·

Mininglamp Open-Sources Mano-AFK, an AI Agent That Codes, Tests, and Deploys Autonomously

Mininglamp has released Mano-AFK, an open-source autonomous execution framework under the Apache 2.0 license, designed to take a natural language prompt and carry out the full software build-test-deploy loop without human intervention. The system generates a product requirements document, writes code, deploys it locally, and runs three layers of testing — lint checks, API tests, and browser-based end-to-end tests — automatically looping back to fix errors it encounters. A separate adversarial review agent also inspects the final output for issues such as missing input validation. For browser-based testing, the tool can use either a cloud-based Claude model or a local 4-billion-parameter vision-language model optimized for Apple Silicon, which achieved 58% accuracy across 100 test cases on five web applications. The team noted that while the fix loop resolved around 70% of basic code errors autonomously, the local model struggled with dynamic UIs, animations, and complex multi-step user flows.

0
ProgrammingHacker News ·

Grammarly Reportedly Sends Unsolicited Messages to Users When Admins Try to Cancel

A post on the r/sysadmin subreddit has raised concerns about Grammarly's cancellation practices, warning other system administrators about unexpected user-facing communications. According to the report, when an admin attempts to cancel a Grammarly subscription, the company sends messages directly to end users without the admin's consent. This behavior has been flagged as a potential issue for IT teams managing enterprise accounts, as it bypasses normal administrative controls. The post gained traction on Hacker News, prompting discussion among IT professionals about the implications for organizational data and user communication policies.

0
ProgrammingHacker News ·

Data-Only Cyberattacks Pose Greater Risk Than Previously Understood

A publication by USENIX highlights that data-only attacks, which manipulate program data without altering code, are more accessible to attackers than widely assumed. Unlike traditional code-injection exploits, these attacks bypass many modern defenses by targeting runtime data structures. The research suggests that existing security mitigations may offer less protection than developers and organizations currently believe. The findings call attention to a growing gap between assumed and actual security postures in software systems.

0
ProgrammingDEV Community ·

Generative vs Agentic AI: How to Choose the Right Tool in 2026

As of September 2026, generative AI remains the preferred choice for content creation tasks such as drafting, summarisation, and code snippets, due to its lower cost and ease of review. Agentic AI, which is built on top of generative models, is better suited for multi-step, goal-directed workflows like bug fixing or data reconciliation, where results can be automatically verified. Despite growing interest, adoption of agentic systems remains limited — only 23% of organisations have scaled one, while 39% are still experimenting. Gartner warns that over 40% of agentic AI projects could be cancelled by end of 2027, citing rising costs, unclear business value, and insufficient risk controls. Experts recommend a default-generative approach, escalating to agentic only for well-defined, verifiable workflows where a machine can reliably grade its own output.

0
ProgrammingDEV Community ·

Breeze TTS 2 Tops Open-Weight TTS Leaderboard but Bars Commercial Use

Breeze TTS 2, developed by BreezeBlue/RESONIA INC., reached the top spot among open-weight text-to-speech models on the Artificial Analysis leaderboard with an Elo score of 1215, surpassing ElevenLabs' Eleven v3 at 1175 as of September 11, 2026. Its hosted price of $34 per million characters is significantly cheaper than ElevenLabs' $100 for the same volume. However, while the model's inference code is licensed under Apache 2.0, the weights themselves are restricted to research and non-commercial use only, with commercial deployment requiring a separate written agreement from BreezeBlue. This makes Breeze TTS 2 a strong choice for researchers, hobbyists, and non-commercial builders with compatible GPU hardware, but unsuitable for businesses shipping paid products without prior licensing negotiations. ElevenLabs remains the recommended option for commercial use cases, given its unambiguous licensing, broader language support, and mature platform infrastructure.

0
ProgrammingDEV Community ·

DeepSeek V4.1-Flash Matches Top Closed Models on Coding at a Fraction of the Cost

DeepSeek released V4.1-Flash on 10 September 2026 with MIT-licensed weights, positioning it as a cost-efficient open-source model for coding agents. On the DeepSWE v1.1 benchmark, it scores 74.2, nearly matching Claude Opus 5 (74.0) and GPT-5.6 Sol (73.0), according to DeepSeek's own release figures. Its off-peak cached-input rate of $0.003 per million tokens makes it dramatically cheaper than rivals, with one worked example showing $0.15 versus $25 for Claude Opus 5 on a 100-request agent loop. However, the model significantly trails on hard reasoning tasks, scoring 36.8 on Humanity's Last Exam compared to Claude Opus 5's 56.3, making it less suitable for complex single-answer problems. From 14 September 2026, all V4-Pro API requests are automatically rerouted to V4.1-Flash and billed at the lower Flash rate.

0
ProgrammingDEV Community ·

Jev markets itself as a frontier AI model but is essentially a JSON classifier

Jev, a newly launched AI startup founded by ex-OpenAI researchers, claims to offer hallucination-free outputs and frontier-model capabilities. In practice, the product functions as a constrained JSON classifier that picks from predefined options, scores against criteria, or returns true/false judgments. Its 'no hallucinations' claim relies on constrained decoding — a standard technique already widely used by OpenAI, Anthropic, and open-source tools — which simply prevents the model from emitting tokens outside a fixed set. Within hours of Jev's launch, a developer independently replicated the core functionality using a small open-source model on Hugging Face. The product's real value lies in cheaper, faster classification and routing at scale, but that cost-efficiency pitch has been packaged as a more ambitious frontier-AI narrative.

0
ProgrammingDEV Community ·

Bengaluru's Kinetic-4B Beats Claude Haiku 4.5 on Tool Calling Accuracy and Speed

Conscious Engines, a Bengaluru-based AI lab, published benchmark results on 1 April 2026 showing its 4-billion-parameter Kinetic-4B model outperformed Anthropic's Claude Haiku 4.5 on a 300-sample tool-calling evaluation sourced from Composio. Kinetic-4B achieved 82.33% accuracy at 1.61 seconds p95 latency, compared to Haiku 4.5's 80% accuracy at 4.02 seconds and OpenAI's 120-billion-parameter GPT-OSS-120B's 76.33% at 7.99 seconds. Notably, Kinetic-4B's failed call rate of 4.67% was roughly half that of Haiku 4.5's 9.67%, which has practical implications for agent reliability and error-handling overhead. The model was fine-tuned from the open Qwen3-4B base using LoRA on a single rented GPU over approximately 4.5 hours, and the adapter has been released publicly on Hugging Face. Analysts caution that the benchmark is self-published and covers only a narrow task, and that general-purpose models like Haiku remain preferable for broader reasoning, coding, and summarisation workloads.

← NewerPage 1001 of 3191Older →