SShortSingh.
0
ProgrammingDEV Community ·

Developer finds CMS images missed by build audit, cuts page weight 56x with CDN fixes

A developer auditing their portfolio site used build-output analysis to catch oversized bundled assets, but later discovered the method had a blind spot: images served dynamically from Sanity's CMS were never part of the build and went undetected. When the developer opened the blog index in a browser and measured actual network traffic, they found the page serving 16 post covers weighed 9.88 MB, with one image alone reaching 3.13 MB despite rendering at roughly 250 pixels wide. The root cause was that the image URL builder utility, urlFor, was only used in one component and was absent from the pages displaying post cover grids, meaning raw, untransformed CDN URLs were being served instead. The fix involved writing a lightweight helper function that appends Sanity CDN parameters — including width caps, fit constraints, format negotiation, and quality settings — to image URLs at render time. After the change, the same sixteen cover images measured just 182 KB in total, a 56-fold reduction, highlighting how static build audits cannot account for assets fetched dynamically at runtime.

0
IndiaTimes of India ·

Rain Delays India's Series Clinch as Sri Lanka Reach 229/6 on Day Four

Sri Lanka closed day four of the second Test at 229 for six, keeping India's series victory on hold. Sonal Dinusha anchored the innings with a century, while Pasindu Sooriyabandara and Kamindu Mendis added a vital 115-run partnership to mount a fightback. India's bowlers struck late in the day to reassert control over the match. However, rain and poor light forced an early end to play, pushing the decisive moments to day five. Sri Lanka must bat through the final day to avoid defeat and a series loss.

0
ProgrammingDEV Community ·

Developer builds pure-Java QUIC stack to add HTTP/3 to async server framework

A developer has built a from-scratch QUIC implementation in pure Java after finding no suitable existing options for the async, non-blocking server framework gumdrop. The Java ecosystem lacks a production-ready pure-Java QUIC library — the JDK's own support is client-only, Netty relies on native C bindings, and the only pure-Java option, Kwik, uses a blocking one-thread-per-connection model incompatible with gumdrop's design. The new stack includes packet protection, NewReno congestion control, 0-RTT, QPACK, HTTP/3 client and server support, and DNS-over-QUIC, all driven by a non-blocking event loop. It requires only Java 17 or later, with no native build steps or platform-specific binaries. The implementation is open-source and available on GitHub as part of the broader gumdrop framework.

0
ProgrammingDEV Community ·

Running Docker in Production Requires More Than Just Starting Containers

A container that starts successfully is not automatically production-ready, as real-world reliability depends on handling failures, resource constraints, and observability. Without memory and CPU limits, a single container can exhaust host resources and disrupt other workloads running on the same system. Docker health checks allow teams to distinguish between a running container and a genuinely healthy application, since a process can be alive while the app inside is hung or returning errors. Restart policies help recover from crashes automatically, but an unhealthy container that keeps running requires external orchestration or monitoring tools to act on health status changes. Together, resource limits, health checks, and restart policies form the foundation of a production-grade Docker deployment.

0
IndiaTimes of India ·

US Army faces leadership vacuum as Hegseth ousts senior officers amid Middle East tensions

The US Army currently has no permanent chief of staff following a wave of dismissals ordered by Defense Secretary Pete Hegseth. Several senior military officers have been removed, disrupting leadership continuity within the service branch. The situation is further complicated by the expected departure of the Army's top civilian official. Meanwhile, American military bases in West Asia continue to face drone and missile attacks. Analysts warn the personnel upheaval risks eroding institutional expertise and weakening critical decision-making capacity.

0
ProgrammingDEV Community ·

Developer Builds Serverless AWS Weather Pipeline Using CDK, Step Functions, and OIDC

A developer has published a detailed walkthrough of building a fully serverless weather data pipeline on AWS, targeting users with basic AWS familiarity but no prior CDK or Step Functions experience. The pipeline runs every 10 minutes, triggered by EventBridge Scheduler, which launches a Step Functions workflow that fetches current weather data for five cities in parallel from a free public API. Fetched data is transformed into JSON Lines format and stored in a partitioned layout on S3, then made queryable via Athena using Glue partition projection — eliminating the need for a crawler. The entire infrastructure is deployed through GitHub Actions using GitHub's OIDC provider, meaning no AWS access keys are stored in the repository at any point. The project serves as a practical, end-to-end demonstration of six AWS services working together, with each service handling a single, well-defined responsibility.

0
SportsESPNcricinfo ·

India on verge of win as Sri Lanka trail by 16 runs at stumps on Day 4

Sri Lanka were forced to follow on by India and ended Day 4 of the Test match just 16 runs ahead. Despite the precarious position, Sooriyabandara and Kamindu Mendis offered resistance with half-centuries for the hosts. Their fifties provided some fight for Sri Lanka but were not enough to build a commanding lead. India remain firmly in control and are closing in on a likely victory heading into the final day.

0
ProgrammingDEV Community ·

Developer Builds Multi-Tenant Agile SaaS Platform Combining Scrum and Kanban

A developer has built SyncBoard Pro, a production-grade, multi-tenant Agile project management platform that integrates both Scrum and Kanban workflows into a single workspace. The platform features role-based access control with distinct permission levels for owners, managers, and employees, alongside complete data isolation between company tenants. It is built using React 18, TypeScript, and Vite on the frontend, with a Node.js and MongoDB backend secured via JWT authentication. A key architectural highlight is the multi-tenant isolation layer, where every data model is partitioned by company ID to prevent cross-tenant data access while allowing a superadmin to manage the platform globally. The project is publicly available via a live demo on Vercel, with planned future features including real-time team chat via Socket.io and AI-powered task breakdown.

0
WorldBBC World ·

China urges citizens to leave Eswatini citing security risks amid Taiwan ties

China has advised its citizens to leave Eswatini, warning of security risks in the small African kingdom. Eswatini is one of only 12 countries worldwide that maintains formal diplomatic relations with Taiwan rather than Beijing. It is the sole African nation to recognise Taiwan, making it a point of tension in China's ongoing efforts to isolate the island diplomatically. China's advisory appears linked to its displeasure over Eswatini's continued political alignment with Taipei.

0
SportsESPNcricinfo ·

Pakistan's Aiman Anwer retires from international cricket to pursue match refereeing

Pakistani cricketer Aiman Anwer has announced her retirement from international cricket. She has transitioned into a new role as a match referee. Anwer shared the news on social media platform X, describing the move as beginning a new chapter while remaining connected to the sport. The development marks the end of her playing career at the international level.

0
ProgrammingDEV Community ·

Brazilian Students Build App to Detect Fake News Using AI-Powered Scoring

A team of four Brazilian university students — Débora Lima, Leticia Félix, Caio Victor, and a fourth teammate — developed Security News, a mobile app designed to identify fake news on social media. The app allows users to paste a link or text, which is then analyzed for source credibility, language patterns, and signs of misinformation. Results are displayed as a score from 0 to 100, accompanied by a trust label and a breakdown of detected red flags such as emotional language or suspicious headlines. The app also includes an analysis history, a database of verified sources, and an educational mode featuring tips and an interactive quiz. The team followed a structured design process, starting with low-fidelity wireframes in Balsamiq before developing a high-fidelity prototype with a dark and purple visual identity.

0
ProgrammingDEV Community ·

Google's Jules AI Coding Agent Expands to CLI, API, and MCP Server in VS Code

Google's AI coding agent Jules, which launched in public preview in May 2025, has steadily expanded from a web-only tool to a full suite including a CLI, public API, and MCP server with thirteen tools by January 2026. The agent can autonomously fork repositories, generate code diffs, and open pull requests, integrating with terminals, CI pipelines, Slack, and VS Code. Free-tier users receive 15,000 tokens per task, while the Ultra plan supports up to 1,500 daily tasks with 150,000–200,000 tokens each. Spotify has already merged around 1,500 AI-generated pull requests, ranging from dependency updates to refactoring complex multi-repo systems. Security experts warn that autonomous agents operating without mandatory human code review could introduce undetected vulnerabilities into production systems.

0
ProgrammingDEV Community ·

Why 'Agent Memory' Means Something Different Depending on Who Builds It

The term 'agent memory' covers two distinct problems: memory scoped to a single application and memory scoped to a person across multiple AI tools. Most available SDKs address the first problem, helping developers build apps that remember their own users, but they do not help individuals who switch between tools like Claude, Cursor, and ChatGPT throughout the day. The Model Context Protocol (MCP) has changed this landscape by allowing a single memory server to connect with multiple AI clients, enabling cross-tool memory tied to a user's account rather than any one application. However, simply connecting memory tools is not enough — each AI tool requires explicit standing instructions to recall and save information, otherwise the memory remains unused. Scope management also matters, as personal and professional contexts must be kept separate to prevent data from leaking across projects or teams.

0
IndiaTimes of India ·

KC Current hits $275M valuation, ranking second in NWSL wealth

The Kansas City Current, a National Women's Soccer League club, reached a $275 million valuation, marking a significant milestone for its ownership group. Brittany Mahomes was instrumental in founding the club in 2020, with her husband Patrick Mahomes later joining as a co-owner. By June 2025, the team had climbed to second place among the most valuable NWSL franchises and topped the league in annual revenue. The achievement reflects the Mahomes family's expanding presence in professional sports. It also underscores the broader financial growth and rising commercial appeal of women's soccer in the United States.

← NewerPage 388 of 3548Older →