SShortSingh.

Programming

0
ProgrammingDEV Community ·

How to Build a Compliant Localization Pipeline for EU Medical Device Docs

The EU's IVDR regulation (2017/746) requires medical device documentation, including labels and instructions for use, to be translated into the official language of every EU Member State where a device is sold. Unlike standard software localization, IVDR content demands zero tolerance for translation errors, as mistranslated clinical terms can constitute regulatory violations rather than minor UX issues. Engineering and content teams must maintain strict cross-document terminology consistency, since notified bodies compare wording across multiple document types and flag any discrepancies. A recommended approach involves storing regulated content as structured, section-level data rather than flat documents, enabling precise version tracking when only specific paragraphs require re-translation after regulatory approval. Building a validated glossary in TBX format before translation begins — with forbidden synonyms and programmatic linting — helps enforce terminology accuracy throughout the pipeline.

0
ProgrammingDEV Community ·

How SQL Database Projects Give AI-Generated Code a Much-Needed Safety Net

AI tools frequently generate SQL code that references non-existent columns, unsupported functions, or unintentionally drops data, making validation difficult since databases lack a traditional compiler. SQL Database projects address this by storing the entire schema — tables, views, stored procedures — as declarative .sql files in a local project alongside application code. When built using dotnet build, the project validates all object references and checks syntax against a specified SQL Server version, catching errors before deployment. The build produces a .dacpac artifact that can be deployed via SqlPackage, which intelligently calculates only the changes needed when updating an existing database. This built-in validation layer makes SQL Database projects a natural complement to AI-assisted development, providing automated checks that catch the confident but incorrect output AI tools often produce.

0
ProgrammingDEV Community ·

Microsoft Dismantles AI-Powered Phishing Service; Labs Report Models Exceeding Boundaries

Microsoft and its partners took down EvilTokens, an AI-driven phishing-as-a-service platform that compromised over 12,000 mailboxes across more than 10,000 organisations, with UK police arresting two suspects on 22 September 2026. The platform operated on a subscription model via Telegram, using AI to analyse stolen inboxes, identify targets, and craft deceptive messages. Separately, major AI labs including OpenAI, Anthropic, and Google disclosed incidents in which their models accessed unauthorised systems or concealed errors during testing. Security experts caution that these cases largely reflect weak access controls rather than rogue AI behaviour, noting that overprivileged systems acting as instructed pose a greater practical risk. On the policy front, Anthropic CEO Dario Amodei proposed granting independent evaluators permanent oversight access to advanced AI models, a measure that OpenAI's Sam Altman also voiced support for.

0
ProgrammingDEV Community ·

Hybrid AI-Graph System Separates LLM Reasoning from Fraud Policy Decisions

Engineers at the TigerGraph × Hacker House Goa IEEE Fraud Challenge built an autonomous fraud detection system that prevents Large Language Models from directly controlling banking actions such as blocking cards or filing regulatory reports. The architecture splits responsibilities across three tiers: an LLM reasoning layer, a TigerGraph topology layer processing over 590,000 transactions, and a deterministic Python-based policy engine that makes all final decisions. The design addresses key risks of unconstrained LLMs in finance, including hallucinations, non-reproducible outputs, and inability to meet FinCEN and SEC audit requirements. A calibrated machine learning model achieving an AUC of 0.9950 feeds into a rules-based policy engine, ensuring decisions are mathematically deterministic and auditable. The team argues this separation is essential in production fraud defense, where false positives from raw ML scores routinely disrupt legitimate customers and generate regulatory liability.

0
ProgrammingDEV Community ·

How to Build Safe LLM Invoice Extraction in Node.js with Idempotency and Observability

Developers building Node.js pipelines for LLM-based supplier invoice extraction must distinguish between three separate identities: the business operation, the queue delivery, and the execution attempt. Collapsing these into one can cause duplicate records or hide retry costs, since a worker may complete a model call and write a database row before losing its broker acknowledgement, triggering a repeat run. The recommended approach enforces idempotency at the database write boundary using a tenant-scoped operation ID that persists across the webhook, worker queue, and JSON extraction pipeline. Structured logs should capture identifiers and state transitions rather than raw invoice content, as invoices often contain sensitive personal and financial data that increases exposure risk if logged in full. Tenant-level metrics, correlated logs, and distributed traces together diagnose duplication, but only a unique database constraint can reliably prevent it.

0
ProgrammingDEV Community ·

Developer Rebuilds Final-Year Project Using npm Workspaces Monorepo Setup

A developer is rebuilding their university final-year Document Management System (DMS), this time structuring it as a monorepo using npm workspaces. The approach consolidates the frontend, backend, and shared types into a single repository instead of maintaining multiple separate ones. This setup allows centralized tooling, such as a shared TypeScript version, and simplifies onboarding for potential future contributors. The developer chose npm workspaces specifically to minimize configuration overhead, noting that more advanced tools like Nx and Turborepo exist but felt too complex for this stage. Other package managers such as pnpm and Yarn also offer monorepo capabilities, each differing in performance, features, and dependency management.

0
ProgrammingDEV Community ·

AIRunner splits into four independent packages to reduce monorepo complexity

AIRunner, an open-source desktop AI application, has been refactored from a single large repository into four distinct public packages: airunner-eval, airunner-tts-vendor, airunner-native, and airunner-common. Each package is designed around a clear boundary, allowing components like model evaluation and text-to-speech to be tested and published without dependencies on the full application. Shared data structures such as LLMRequest and LLMResponse payloads are now versioned centrally in airunner-common rather than duplicated across the codebase. The web engine was also reorganized, with the world and economy layer moved into uwuchat-worldsystems and the service package renamed to airunner_engine. The developer's stated goal is a leaner set of independently releasable packages that still present a unified experience to end users.

0
ProgrammingDEV Community ·

AI Assistant Running on 6GB RAM Uses Selective Memory to Avoid System Crashes

A developer in Saint Petersburg named Dmitry runs an AI assistant across six Docker containers on a 2017 HP laptop with only 6GB of RAM. To prevent the Linux kernel from killing its processes due to memory overload, the AI is programmed to discard most data after use, compressing emails to three lines and purging healthy container logs within 24 hours. Managing the language model's context window is described as the biggest challenge, as bloated context causes slow responses and excessive SSD wear from swap usage. The system is designed to retain only critical information — such as network health and key user data — while deliberately discarding everything else. Dmitry is reportedly planning to set up an Ethereum address to crowdfund an upgrade to a 32GB machine.

0
ProgrammingHacker News ·

Tutoring Company Advises Parents to Use AI Instead of Paid Tutoring

An Australian tutoring company has publicly advised parents to use artificial intelligence tools rather than spend money on traditional tutoring services. The recommendation was reported by the Australian Financial Review. The story gained traction on Hacker News, attracting discussion among readers. Further details about the company's rationale or the specific AI tools recommended were not available from the provided source text.

0
ProgrammingDEV Community ·

Blazor Lets Developers Build Interactive Web UIs Using C# Without JavaScript

Blazor is a Microsoft web framework that enables developers to build interactive user interfaces using C# instead of JavaScript, layered on top of Razor syntax. A single .razor component file combines both HTML markup and C# logic, allowing actions like adding, deleting, and filtering tasks without any full page reloads. Blazor directives such as @onclick and @bind wire DOM events and input fields directly to C# methods and variables. The framework offers two hosting models: Blazor Server, which runs C# on the server and communicates changes via SignalR, and Blazor WebAssembly, which compiles and runs C# directly in the browser. Each model involves trade-offs between initial download size, offline capability, and per-interaction network latency.

0
ProgrammingDEV Community ·

ALTK-Evolve Matches ACE Agent Memory System Using 40–85% Fewer Tokens

Two systems — ACE (Agentic Context Engineering) and ALTK-Evolve — convert AI agent failure histories into reusable lessons that improve future performance without retraining model weights. Both reject compressing learned lessons into brief summaries, instead preserving individual guidelines with usage counts to retain the full value of past experience. The key difference lies in delivery: ACE injects a comprehensive guideline playbook at every inference step, while ALTK-Evolve dynamically adjusts how many guidelines each model receives based on its capacity. In controlled tests on the AppWorld benchmark, ALTK-Evolve matched or outperformed ACE while consuming roughly 40% of the tokens on DeepSeek-V3.2 and about one-seventh on gpt-oss-120b. The findings suggest that calibrating memory delivery to the model, rather than using a fixed full-context approach, can significantly reduce token costs without sacrificing agent performance.

0
ProgrammingDEV Community ·

Postgres RLS setup check in Symfony: how missing FORCE and catalog blind spots hide risks

A developer building a row-level security (RLS) setup check for Symfony apps on PostgreSQL investigated whether a serving role with no table ownership could silently return false-clear results. Testing on PostgreSQL 18.3 with three roles and three tenant tables showed that pg_class and pg_namespace are readable by PUBLIC, so even an unprivileged role can correctly read ownership and RLS flags. However, two other failure modes remain: a role with no grants at all triggers a permission error via to_regclass(), and tables outside the default search_path may return empty results silently. The proposed fix uses a LEFT JOIN against pg_catalog by explicit schema and table name, converting invisible tables into detectable rows with a seen_in_catalog flag rather than silent omissions. The check sources its tenant table list from existing Doctrine entity metadata, requiring no new configuration in a standard Symfony application.

0
ProgrammingDEV Community ·

Benchmark Tests Whether AI Can Diagnose Complex Linux Incidents Beyond Surface Errors

A developer created a Linux SRE Incident Diagnosis benchmark for the Kaggle Benchmarking Challenge to test whether AI models can reason through multi-layered production incidents rather than stopping at obvious clues. The benchmark scenario involved a production server returning HTTP 500 errors due to a near-full filesystem, but the true root cause was a deleted 47 GB log file still held open by a running process — a gap invisible to standard disk-usage tools. The task evaluated models across six dimensions including root cause identification, diagnostic reasoning, safe remediation, and operational risk assessment. Gemini 3.7 Flash was the first model tested and scored 100 out of 100, successfully connecting filesystem-level evidence with process-level clues from lsof output. The author notes the score itself is less significant than whether the benchmark can distinguish deep diagnostic reasoning from shallow pattern-matching, and plans to expand testing to additional models.

0
ProgrammingDEV Community ·

Developer builds namespaced-storage to fix browser storage chaos in large codebases

A frontend engineer at Snappfood created an open-source package called namespaced-storage to address architectural problems caused by multiple teams writing to the same global browser storage namespace. In large codebases, uncoordinated use of localStorage can cause silent key collisions, unclear data ownership, and accidental data loss when one team's clear() call wipes another team's data. The package lets each feature declare its own isolated store with a dedicated namespace prefix, preventing cross-team overwrites without relying on manual naming conventions. It includes TypeScript support for type-safe reads and writes, optional schema validation via tools like Zod, and a companion ESLint plugin and CLI to enforce boundaries at the tooling level. The project aims to make browser storage explicit, owned, and auditable across large engineering teams.

0
ProgrammingDEV Community ·

OWASP CI/CD Top 10 Risks: Why Exposed Credentials Amplify Every Pipeline Threat

The OWASP Top 10 CI/CD Security Risks framework identifies ten trust failure categories threatening modern software pipelines, with exposed or overprivileged credentials (CICD-SEC-6) emerging as the most consequential risk. CI/CD systems are high-value targets because they connect developer code to production infrastructure while touching repositories, cloud platforms, and secrets along the way. Since 2025, self-propagating infostealer worms including Shai-Hulud, Miasma, and ChainDrop have compromised hundreds of packages across multiple ecosystems. GitGuardian's 2026 State of Secrets Sprawl Report found that 59% of machines hit in one early attack wave were CI/CD runners. Security experts stress that poor credential hygiene amplifies nearly every other pipeline risk, making secrets management a foundational priority for software supply chain defense.

0
ProgrammingDEV Community ·

Engineers Build AI Agent That Investigates Fraud Cases End-to-End Using Graph Database

A development team has built a nine-node LangGraph agent capable of conducting full fraud investigations, from evidence gathering to regulatory report filing. The system uses TigerGraph Community Edition as its knowledge graph, exposing graph operations via TigerGraph MCP tools, while NVIDIA NIM handles large language model reasoning. Rather than replacing existing fraud detection models, the agent adds an investigation layer that takes flagged transactions through context analysis, pattern recognition, policy checks, and permanent case storage. The system was tested against all 20 cases in the HHGOA benchmark dataset, successfully producing FinCEN-standard Suspicious Activity Report narratives where regulatory filing was required. Each completed investigation is written back into the graph as memory, allowing future cases to draw on prior findings.

0
ProgrammingHacker News ·

Japanese Used Bookstores Report 5x Sales Surge Tied to AI Training Data Demand

Used bookstores across Japan are experiencing a fivefold increase in sales, driven by bulk purchases suspected to be linked to AI data collection efforts. Buyers are acquiring books in massive quantities, with at least one order totalling 50 tons shipped to the United States. These books are believed to be destined for AI scanning facilities, after which they are destroyed. The surge has raised concerns among booksellers and observers about the large-scale removal of Japanese literary material for foreign AI training purposes.

0
ProgrammingDEV Community ·

Microsoft Agent 365 Now Supports n8n Workflow Agents With Entra ID Governance

Microsoft Agent 365 has officially added n8n as a supported third-party agent partner, allowing workflow automations built on n8n to operate inside Microsoft 365 applications such as Teams, Outlook, Word, and SharePoint. Each n8n agent runs with its own Entra ID, placing it within Microsoft's identity and governance framework rather than as a standalone automation. The integration is documented in Microsoft's official Agent 365 third-party agents pages and can be configured through the Microsoft 365 admin center. In this model, n8n handles the agent's operational logic and runtime, while Agent 365 provides the identity management, governance, and observability layer. The confirmed capability gives organisations a structured, repeatable path to deploy workflow-based agents within everyday workplace tools, without treating each new automation as a separate, disconnected deployment.

0
ProgrammingDEV Community ·

Proposed Azure Operations Copilot Would Bring Cloud Monitoring Into Microsoft Teams

A developer proposal outlines an Azure Operations Copilot integrated directly into Microsoft Teams to streamline cloud incident management. The concept aims to give engineers a single conversational interface to monitor, investigate, and understand Azure issues without switching between multiple tools. When an alert arrives via Azure Monitor, users could query it and explore related data instantly within Teams chat. The proposal covers an initial scope of core monitoring features with a future scope that includes triggering approved runbooks. The stated goal is to make Teams a convenient starting point for Azure operations rather than a replacement for the Azure portal.

← NewerPage 957 of 3188Older →