SShortSingh.

Programming

0
ProgrammingDEV Community ·

How Cocatips Built a Real-Time Football App Covering 80,000 Clubs with Nuxt 3

Developers behind Cocatips, a live football scores and AI predictions platform, have detailed the technical architecture used to handle data for over 80,000 football clubs globally. The platform uses Nuxt 3's Nitro engine with Incremental Static Regeneration to serve fast-loading league standings and live scores, achieving sub-second Time to Interactive by caching HTML at the edge and hydrating live data client-side. A custom TypeScript search algorithm with fuzzy matching and diacritic handling allows users to instantly query matches and teams across thousands of leagues, with results prioritised by league tier. The backend relies on a Redis-backed Node.js API combined with server-side rendering to deliver real-time match data alongside algorithmic predictions such as correct score, BTTS, and over/under forecasts. The team published the architectural breakdown on DEV Community as a resource for Vue developers working with large-scale sports data.

1
ProgrammingDEV Community ·

Developer Builds Client-Side QR Code Generator That Never Expires and Needs No Backend

A developer built EvoTechTool, a fully client-side QR code generator, after finding that popular free tools routed codes through their own servers and imposed expiry dates requiring paid subscriptions. The tool runs entirely in the user's browser using plain HTML, CSS, and JavaScript, with no backend, database, or tracking involved. It supports 11 content types including URLs, WiFi credentials, and vCards, and is hosted for free on Cloudflare Pages. To enable a history feature without server storage, the developer used the browser's localStorage API, keeping all data on the user's device. The project highlights how lightweight browser-based tools can deliver fast, private, and permanently functional utilities without the complexity of frameworks or servers.

0
ProgrammingDEV Community ·

Why AI Models Like Gemini and ChatGPT Can Feel Less Capable Over Time

Developers have increasingly reported that AI models such as Gemini and ChatGPT seem to perform worse on tasks they once handled reliably. Researchers from Stanford and UC Berkeley have documented this as 'model drift,' where retraining a model to fix one issue can unexpectedly degrade performance in unrelated areas. Safety updates and stricter guardrails can also cause 'over-refusal,' making models appear blander and less capable. Additionally, cost-cutting optimizations like quantization and Mixture of Experts routing prioritize speed over depth, potentially affecting output quality. Rising user expectations also play a role, as tasks once considered impressive are now treated as baseline requirements.

0
ProgrammingDEV Community ·

Cronflower brings DAG workflow orchestration to Spring Boot clusters

An open-source tool called Cronflower has been released for Spring Boot applications, offering distributed DAG-based workflow orchestration as an alternative to chained cron jobs. The project addresses a common pain point where teams rely on time-buffered cron jobs to sequence tasks, with no guarantee of ordering or dependency management. Cronflower lets developers declare workflow steps as Spring beans using annotations, with nodes, edges, and join conditions defined in code. Concurrent writes to shared state are handled through built-in channel reducers, eliminating race conditions without manual locking. The tool also supports conditional routing, subgraph composition, and dynamic fan-out, and includes a web console for visualising declared workflows before execution.

0
ProgrammingDEV Community ·

AWS Step Functions vs Camunda 8: Choosing the Right Saga Orchestrator for Your Stack

Both AWS Step Functions and Camunda 8 can implement the saga pattern, a sequence of local transactions with compensating rollback steps, but the two platforms differ significantly in operational responsibility and cost structure. Step Functions is a fully managed, serverless state machine where AWS handles infrastructure, making it attractive for teams already on AWS who want minimal ops overhead. Camunda 8, built on the Zeebe engine, requires teams to manage their own cluster, partition tuning, and exporters, but offers greater flexibility for complex, long-running workflows. The real trade-off is not about feature parity but about which failure modes a team is willing to own — cloud billing surprises with Step Functions or infrastructure complexity with Camunda. Teams should evaluate both options based on their existing cloud footprint, workflow complexity, and in-house operational capacity rather than surface-level feature comparisons.

0
ProgrammingDEV Community ·

Cronflower Brings Distributed Cron Scheduling to Multi-Instance Spring Boot Apps

Cronflower is a new open-source distributed scheduler designed to solve the limitations of Spring Boot's built-in @Scheduled annotation, which only runs within a single JVM. When scaling to multiple instances, @Scheduled can trigger duplicate job executions, a problem Cronflower addresses by separating infrastructure into dedicated scheduler nodes and executor applications. Scheduler nodes form a leader-elected cluster that manages task state and dispatch, while executors declare tasks using a custom @Task annotation with support for cron expressions, fixed intervals, and ISO-8601 durations. The framework also includes production-ready features such as configurable retry with back-off, per-run timeouts, misfire policies, and bounded repeat counts. Task execution history, run counts, and next fire times are visible through a built-in console, making it easier to monitor distributed job activity.

0
ProgrammingDEV Community ·

Engineer Warns Against Giving AI Models Write Access Without Read-Only Eval Testing

A software engineer recounts how a teammate's hastily wired 'draft a reply' AI feature accidentally published a draft directly to a live customer support thread. The core problem, the author argues, was not the AI model's output quality but a missing safeguard layer between inference and write operations. The engineer advocates building a read-only evaluation slice — using the same provider protocol as production but without database mutations — to surface failures like timeouts and empty responses before granting write authority. A frozen data envelope with stable identifiers is proposed to ensure consistent retries and provider swaps without silent data drift. The article includes a working Python contract pattern and discloses it was prepared as part of outreach for MonkeyCode, a platform offering free model access and server options.

0
ProgrammingDEV Community ·

Developer builds 43+ browser-based PDF tools that process files locally without uploads

A developer has launched 1into1 PDF, a browser-based suite of over 43 PDF and document tools designed to process files locally on the user's device rather than uploading them to remote servers. The platform was built around privacy concerns, as PDFs frequently contain sensitive information such as contracts that users may not want leaving their devices. No account registration is required to use the core tools, and the suite runs entirely in the browser with optional installation as a Progressive Web App. Many workflows remain functional offline once the application and its resources have been loaded. The tool also adapts file size limits based on the user's device, supporting up to 150 MB on mobile and higher on desktop depending on hardware capacity.

0
ProgrammingDEV Community ·

Developer finds MTN Mobile Money timeouts are ambiguous, not failures

A developer testing MTN Mobile Money's sandbox on 16 September ran five identical collection requests via curl, varying only the X-Callback-Url header, and found that callbacks were only delivered when that header was explicitly included. The experiment revealed that the providerCallbackHost field registered during API user creation acts as an allowlist for permitted callback destinations, not an automatic delivery mechanism. A key insight from the tests is that a request timeout cannot be treated as a confirmed failure, since the operator may have processed the payment but lost the response in transit. To handle this ambiguity, the developer's payment system Nkap marks unanswered requests as UNKNOWN and uses a reconciler to keep querying the operator until a conclusive result is returned. If no resolution is found within a set window, the case is escalated to a human rather than being automatically marked as failed.

0
ProgrammingDEV Community ·

AR Remote Assistance Only Pays Off When Pointing, Hands-Free Work, or Records Matter

A technical analysis argues that augmented reality remote assistance tools are only justified under specific on-site conditions, not as a default upgrade over video calls. The piece identifies three distinct tiers of remote AR assistance: annotated video calls, hands-free head-worn sessions, and persistent spatial content that outlasts the call itself. The core AR challenge is not drawing on a screen but keeping annotations anchored to the correct physical object when technicians look away, especially in industrial environments with poor tracking conditions like reflective metal surfaces and low light. Misidentified anchors are flagged as the critical failure mode, since a marker silently placed on the wrong fitting defeats the tool's entire purpose. The author concludes that AR investment is warranted only when language cannot reliably identify a component, both hands must stay free, or session knowledge needs to persist for future technicians.

0
ProgrammingDEV Community ·

Developer Builds Hybrid RAG System Merging Neo4j Graph Database with Vector Search

A developer has built a hybrid Retrieval-Augmented Generation (RAG) system that combines Neo4j's graph database with vector memory tools ChromaDB and FAISS, orchestrated via LangChain. The system addresses a core limitation of standard vector-only RAG setups, which struggle with multi-hop reasoning tasks that require linking related entities across multiple information layers. The architecture works in two stages: vector search first narrows down semantically relevant chunks, then graph traversal resolves structured relationships between those entities. Key design choices included extracting entities before storage, capping graph traversal depth at one to two hops, and applying token budgeting to keep LLM context focused. The approach reportedly improved answer accuracy for complex, relationship-dependent queries that pure vector search either answered incompletely or resolved through hallucination.

0
ProgrammingDEV Community ·

Developer builds tested Uniface 10 calculator with 69 automated test cases

A developer using Rocket Uniface 10 Community Edition created a fully functional calculator application to demonstrate clean architecture, input validation, and automated testing within the rarely documented Uniface IDE. The project comprises three components: a form (CALC_FRM) for user input and display, a service (CALC_SVC) handling roughly 25 mathematical operations, and a dedicated test service (CALC_TEST_SVC) running 69 test cases. A key design decision was to keep all calculation logic inside the service layer rather than the form, making the business logic independently testable. Each operation follows a consistent convention of returning 0 on success or -1 on failure, with a readable error message passed back to the caller. The entire project was built using the free Community Edition of Uniface 10.4, allowing others to replicate it at no cost.

0
ProgrammingDEV Community ·

How to Point the Official Sentry SDK at a Self-Hosted Ingest Using DSN Only

Developers can connect the official Sentry SDK — either @sentry/browser or @sentry/node — to a self-hosted ingest server by changing only the DSN, without forking the SDK. The setup requires just two Docker containers, running the app and Postgres 16, cloned from the public epure repository via docker compose up. A successful configuration is confirmed when a GET request to the /health endpoint returns HTTP 200 with a status-ok body, and a captured exception triggers an HTTP 202 response from the ingest server. Unused features such as session replay, distributed tracing, and profiling should have their sample rates set to zero, as the self-hosted host is scoped to exception ingestion only. Once an exception is captured, developers can verify end-to-end wiring by checking the Issues dashboard for an unresolved error entry matching the configured environment.

0
ProgrammingDEV Community ·

FastAPI 0.138–0.141 adds app.frontend() to fix silent SPA routing conflicts

FastAPI versions 0.138.0 through 0.141.1, released between June 20 and July 29 this year, introduced a new app.frontend() method to simplify serving single-page applications alongside API routes. Previously, developers had to either mount StaticFiles at '/' or write a manual catch-all route, both of which could silently intercept API calls if declared in the wrong order. The new method stores frontend routes internally as low-priority entries, ensuring they are only evaluated after all standard API routes have been checked, regardless of where app.frontend() appears in the code. It also inspects the HTTP Accept header before falling back to index.html, returning a proper 404 for non-browser requests to missing assets instead of silently serving the SPA shell. This makes SPA serving in FastAPI a routing guarantee rather than a convention dependent on file order.

0
ProgrammingDEV Community ·

Claude Code Routines Let Developers Automate GitHub Workflows Without Actions

Anthropic's Claude Code platform offers a feature called Routines, which are saved prompt-based configurations that run on Anthropic's own infrastructure rather than a user's local machine. Routines can be triggered in three ways: on a set schedule, via a GitHub event such as a pull request or issue, or through an API call using a provided URL and token. A developer recently explored the feature by setting up a routine to automatically update a repository's README.md file whenever a pull request is opened. The setup process involves selecting a prompt, linking a GitHub repository, and choosing a trigger type through the Claude Code web interface at claude.ai/code/routines. Routines also support optional notifications via push alerts, email, or Slack, and continue running even when the user is offline.

0
ProgrammingDEV Community ·

How a Hidden BOM Character in PowerShell Broke API Auth for an Hour

A development team's automated deploy tool successfully pushed an API token to production, but every subsequent API request failed due to a Unicode byte-order mark (U+FEFF) being silently prepended to the token. The BOM originated from Windows PowerShell 5.1's default UTF-8 console encoding with a 3-byte preamble, which was injected when piping the secret to the platform CLI. Diagnosing the issue was significantly delayed because the platform's secret store marked the variable as Sensitive and write-only, making it impossible to read back and inspect through the dashboard, CLI, or API. Commonly cited fixes such as setting $OutputEncoding or [Console]::OutputEncoding were tested and found ineffective in this case. The team ultimately resolved the issue by bypassing the pipe entirely, writing the secret to a temporary file using explicit BOM-free UTF-8 encoding and redirecting that file to the process's standard input.

0
ProgrammingDEV Community ·

Tutorial: Screen SEC insider buying data using Python and a free API

A developer tutorial published on DEV Community demonstrates how to build a Python-based insider-buying screener using SEC Form 4 data via the AlphAI API. The script accepts a watchlist of tickers and a dollar threshold, then outputs a Markdown table and CSV file showing insider purchase transactions within a 30-day window. Testing the tool against 25 well-known tickers between August 20 and September 18, 2026, returned no qualifying purchase events, while a separate feed of recent insider activity surfaced 11 purchases across seven smaller tickers. Key transaction details such as dollar value, stake change percentage, and director status are pulled from the API and kept alongside each purchase for context. The script requires Python 3.10 or newer with no additional dependencies, and the repository includes saved sample runs that can be reproduced without an API key.

0
ProgrammingDEV Community ·

PHP Developer Makes Case for Recursion With Real-World UI Builder Example

A DEV Community article published in 2025 responds to a viral X post by developer Nick Cosentino, who claimed that in over 20 years of programming he had never found recursion useful. The author argues that recursion can be simpler and more readable than iterative approaches in the right context. Using the PHP UI Builder library as a practical example, the article demonstrates how a hierarchical, tree-structured component system is naturally suited to recursive algorithms. The library supports virtual components — such as When, Each, Pick, and List — that can generate other components, including further virtual ones, making recursion an elegant fit. The piece concludes that recursion holds clear advantages when a function's logic can be expressed as a simple self-referencing definition, particularly with tree-structured data.

0
ProgrammingDEV Community ·

LimeWire's Tech Column Critiques Cloud Centralization and AI Liability Gaps

The revived LimeWire brand has published the second issue of its editorial column, C:\LimeWire\Shared, presenting a sweeping critique of modern cloud infrastructure and artificial intelligence practices. The piece argues that despite the illusion of a decentralized internet, over 90% of global web traffic is funneled through just four providers: AWS, Azure, Google Cloud, and Cloudflare. It also challenges the 'human-in-the-loop' design pattern in autonomous AI systems, contending that human oversight is often inserted not for safety but to shield corporations from legal liability. Drawing on literary references from Jorge Luis Borges, Harry Harrison, and cultural theorists, the column blends provocative writing with substantive systems architecture arguments. The publication follows the column's first viral issue, which focused on reported Microsoft and OpenAI data-scraping practices.

← NewerPage 1098 of 3218Older →