SShortSingh.
0
ProgrammingHacker News ·

Researchers Propose Method to Distill Knowledge from Black-Box LLMs

A research paper published on arXiv explores techniques for knowledge distillation applied to large language models that operate as black boxes. Knowledge distillation involves transferring capabilities from a larger, more complex model into a smaller, more efficient one. The challenge with black-box LLMs is that their internal weights and architecture are inaccessible, making standard distillation methods difficult to apply. The study proposes approaches to work around these limitations using only model outputs. The paper was shared on Hacker News, where it received minimal engagement at the time of indexing.

0
ProgrammingDEV Community ·

New CLI Tool 'create-nest-pro' Scaffolds Production-Ready NestJS Projects Instantly

A developer has released create-nest-pro, an open-source CLI tool that sets up a fully configured NestJS project with a single command. The tool, built using Commander.js and Inquirer.js, automates repetitive setup tasks such as database configuration, Docker integration, Swagger documentation, environment variables, linting, and testing. It supports PostgreSQL and MySQL via TypeORM, as well as MongoDB via Mongoose, with all connections pre-wired through NestJS's ConfigService. Docker support includes auto-generated Dockerfiles and docker-compose files tailored to the chosen database stack. The tool also fetches the latest stable package versions from the npm registry at runtime, ensuring projects always start with up-to-date dependencies.

0
ProgrammingDEV Community ·

Developer Builds Production-Ready Notification Microservice Using NestJS and Redis

A developer has open-sourced a real-time notification microservice built with NestJS, Redis, PostgreSQL, and Docker. The project is designed to be production-ready, incorporating Bull queues for task management alongside its core technology stack. The source code has been made publicly available on GitHub under the repository PeaceMelodi/notification-microservice. The system combines multiple modern backend technologies to handle scalable, real-time notification delivery.

0
ProgrammingHacker News ·

Developer builds QNX-inspired OS featuring user-selectable kernel architecture

A developer has created an experimental operating system drawing inspiration from QNX, a real-time operating system known for its microkernel design. The project, hosted at qsoe.net, introduces a notable feature allowing users to select between different kernel configurations. The submission appeared on Hacker News, garnering modest early attention with 14 points and one comment. QNX-inspired designs typically emphasize modularity and reliability, making selectable kernels an architecturally interesting concept. Further technical details are available via the project's website and the associated Hacker News discussion thread.

0
ProgrammingDEV Community ·

Why Hardcoding #d9d9d9 in CSS Breaks Dark Mode and Accessibility

The hex color #d9d9d9, a light gray commonly used for borders, disabled buttons, and card backgrounds, is one of the most frequently hardcoded values in CSS. Developers often treat it as a safe neutral, but this practice introduces significant UI bugs in production apps. In dark mode, the color's high lightness renders as a glaring bright element, disrupting the intended visual experience. It can also fail accessibility contrast standards and render inconsistently across color spaces like sRGB and Display P3. The recommended fix is to replace hardcoded hex values with semantic CSS variables or design tokens that adapt to the user's theme and display environment.

0
ProgrammingDEV Community ·

Why AI Agent Limits Are a Chance to Sharpen Your Engineering Skills

Running multiple AI agents simultaneously can feel powerful, but users quickly encounter hard limits in the form of token quotas, costs, and wait times that halt progress entirely. When agents go idle, developers are left with idle time that the author argues is better spent on reflection than on reflexively buying more tokens. The article draws a parallel between mentoring junior human colleagues and actively reviewing and questioning the decisions made by AI agents, treating the interaction as a two-way learning process. Engaging critically with an agent's output — asking it to explain its reasoning — is presented as a practical way to build the deeper engineering mindset that makes someone a more effective AI collaborator. The core message is that human judgment, skill-building, and deliberate review remain the most efficient optimizers of time, money, and token usage.

0
ProgrammingHacker News ·

Xonaly Launches as Canada's Own Independent Search Engine

Xonaly is a newly launched search engine based in Canada, positioning itself as an independent alternative to dominant global search platforms. The service appears to be targeting users who prefer a domestically developed search option. The project was shared on Hacker News, where it attracted modest early attention with 13 points and one comment. Details about its underlying technology, indexing scope, and privacy policies remain limited from the available information.

0
ProgrammingDEV Community ·

Developer builds script to catch missing affiliate CTAs before they cost revenue

A developer running three directory sites discovered that affiliate links, AdSense slots, and Amazon blocks silently disappeared whenever environment variables were not reapplied after redeployment on Cloudflare Pages. The issue caused invisible revenue loss twice in the first month, with the sites appearing visually normal unless a visitor happened to land on the affected page type. To address this, the developer wrote a Node.js script called check-affiliates.mjs that automatically fetches each site's sitemap, selects a representative detail page, and scans the raw HTML for specific strings confirming each monetisation element is rendered. The script also performs a separate check on each site's ads.txt file to verify the AdSense publisher ID is present. The result is a plain pass/fail report across all three sites, giving a fast and explicit confirmation that every deployment has the required environment variables in place.

0
ProgrammingDEV Community ·

Developer builds automated lint-style quality gate to catch content errors before publishing

A developer managing three directory sites and a multi-platform content pipeline built a script called audit-articles.mjs to catch content quality issues before articles are published to Dev.to, Hashnode, and Bluesky. After six weeks of running an automated pipeline, recurring problems like wrong tags, cliché phrases, unverifiable metrics, and off-spec word counts were slipping past manual review. The tool works similarly to ESLint for code, running around 12 structured checks per article file and distinguishing between hard errors that block publishing and warnings that prompt a decision. Checks cover frontmatter completeness, title and description length limits, tag validation against an 18-item allowlist, word count thresholds, and detection of 14 banned cliché phrases. The core principle behind the gate is that systematic automated checks reliably catch what self-review misses, and fixing issues before publishing is always less costly than correcting them afterward.

0
ProgrammingDEV Community ·

Developer launches AI tool that auto-generates docs for undocumented legacy code

A developer has built and publicly launched legacydoc, an AI-powered tool designed to generate clean documentation for undocumented or legacy code. Users paste their code into the platform and receive structured documentation within seconds, requiring no setup or configuration. The tool is powered by an API hosted on AWS Lambda, with GCP Cloud Run serving as a backup layer and GitHub Pages hosting the frontend. The project was built using vanilla HTML, CSS, and JavaScript, with the developer overcoming early challenges around CORS errors and AWS IAM permissions. Plans are underway to add usage tracking and a paid tier for teams requiring unlimited documentation access.

0
ProgrammingDEV Community ·

Prompt Injection Ranked Top LLM Threat for Second Year Running, OWASP Warns

Prompt injection, a cyberattack that manipulates Large Language Models by embedding malicious instructions within user inputs, has been ranked the most critical LLM vulnerability (LLM01) by OWASP's 2025 Top 10 list for the second consecutive year. The attack works by exploiting an LLM's inability to reliably distinguish between its core instructions and the data it processes, causing it to override legitimate programming. Businesses using AI for customer support, automation, and data analysis are particularly at risk, as successful attacks can lead to data leaks, unauthorized actions, and compliance failures. Advanced variants include cross-model injection, where corrupted output from one AI is passed to another in a chain, amplifying the attack's reach across enterprise systems. Security experts with experience building AI systems emphasize that understanding and mitigating prompt injection is critical for organizations globally that depend on AI for core operations.

0
ProgrammingDEV Community ·

Why form validation logic belongs in the domain layer, not your UI components

A frontend developer argues that delegating validation logic to libraries like React Hook Form, Zod, or Yup causes business rules to scatter across the codebase with no single source of truth. The problem typically surfaces months later when the same rule must be applied across multiple contexts — creation, editing, or bulk imports — and ends up written slightly differently each time. The author proposes treating an invalid field as a domain rule rather than a UI state, moving validation into named, testable units independent of any component. Using VIN number validation as a concrete example, the approach aims to make rules reusable, independently testable without mounting React components, and portable to the backend without rewriting logic. The article critiques not the libraries themselves, but the common practice of delegating domain decisions to tools designed only to wire inputs to state.

0
SportsESPNcricinfo ·

Bell-Drummond and Billings shine as Stewart takes four wickets in county clash

Daniel Bell-Drummond and Sam Billings played starring roles in a successful run chase in a county cricket match. Their innings came after Hamidullah Qadri Stewart claimed a four-wicket haul, putting pressure on the chasing side. Despite James Vince scoring an impressive 84 for Hampshire, his team struggled to maintain momentum in the second half of their innings. Hampshire's middle and lower order failed to build on Vince's foundation, ultimately costing them the match.

0
ProgrammingDEV Community ·

How to Build a Production-Grade Authentication System Using NestJS

A developer has shared a guide on constructing a robust, production-ready authentication system using the NestJS framework. The project covers key security practices essential for real-world applications. The accompanying source code has been made publicly available on GitHub for developers to reference and use. The repository, hosted under the username PeaceMelodi, is titled 'secure-authentication-api'. The resource targets developers looking to implement reliable authentication in their NestJS projects.

0
ProgrammingDEV Community ·

Solo founders should choose alert tools based on required action, not habit

A solo SaaS founder initially defaulted to Slack for real-time alerts due to familiarity from past jobs. After reconsidering, they adopted a new mental model: the right notification tool should be chosen based on what action the alert will trigger, not personal preference. The key principle they settled on is that if you cannot define a clear action to take after receiving a notification, it does not need to be real-time. The founder also noted that a daily digest is often more informative than dozens of individual pings throughout the day. They are still implementing this approach for their own SaaS but consider the framework itself well established.

0
ProgrammingDEV Community ·

Developer Builds PocketDex Tracker to Manage Pokemon TCG Pocket Collections

A developer has released PocketDex Tracker, a web app designed to help Pokemon TCG Pocket players manage and track their card collections. Built with Next.js App Router, React 19, and Supabase, the app lets users mark cards as owned or missing, monitor set completion progress, and search by name, rarity, or type. Supabase handles authentication and a Postgres database with row-level security, ensuring each user's collection data remains private. The app also features a pack recommendation engine that calculates expected pull odds based on cards a user still needs. The project is live on Vercel and open-sourced on GitHub under the repository mwiginton/pocketdex-tracker.

0
ProgrammingDEV Community ·

FinTech Compliance Costs in 2026: SOC 2, PCI DSS and MTL Licenses Can Top $1M

A 2026 industry analysis drawing on public regulatory data reveals the wide cost ranges FinTechs face across major compliance frameworks. SOC 2 Type 2 audits typically cost between $40,000 and $120,000 initially, with annual recertification running $30,000 to $60,000, while PCI DSS Level 1 assessments range from $50,000 to $200,000 depending on scope. Obtaining money transmission licenses across all U.S. states routinely exceeds $1 million in aggregate, according to FFIEC examination patterns. KYC and Travel Rule compliance tooling adds another $30,000 to $300,000 annually, with EU regulations such as MiCA and PSD2 layering further costs on top for internationally operating firms. The figures, sourced from bodies including the PCI Security Standards Council, AICPA, FATF, and EBA, are intended to help FinTech operators plan compliance budgets rather than serve as precise benchmarks.

0
ProgrammingDEV Community ·

Dev Tutorial Series Introduces Cozy Café, an Idle Discord Bot Game Built with JavaScript

A developer tutorial series on DEV Community is guiding beginners through building a Discord bot called Cozy Café using JavaScript, discord.js, and Prisma. The project is an idle café game played entirely within Discord, where players open a virtual café, earn coins passively over time, and spend them on upgrades and recipes. Part 2 of the series reveals the full project concept and focuses on restructuring the bot's codebase to support multiple slash commands cleanly. The game is designed around a 'reward presence, never punish absence' philosophy, meaning progress never decays and earnings simply accumulate until the player returns. The tutorial also introduces foundational code organization techniques to prevent the project from becoming unmanageable as new commands are added.

0
SportsESPNcricinfo ·

Munsey and Linde star as Nottinghamshire crush Leicestershire by 74 runs

Nottinghamshire secured a commanding 74-run victory over Leicestershire at Grace Road, further cementing their dominance in the competition. George Munsey and George Linde were the standout performers for the visitors, driving the win with key contributions. The result at Grace Road saw Leicestershire outmuscled as they struggled to match Nottinghamshire's intensity. The win pushes Nottinghamshire closer to securing a knockout stage berth, underlining their strong form in the tournament.

← NewerPage 85 of 183Older →