SShortSingh.
0
ProgrammingHacker News ·

Shopify Drops Redis in Favor of MySQL to Scale Inventory Reservations

Shopify has replaced Redis with MySQL for handling inventory reservations in its e-commerce platform. The engineering team made the switch to improve scalability and reliability under high transaction loads. MySQL's stronger consistency guarantees made it a better fit for the demands of inventory management compared to Redis. The decision challenges the common assumption that Redis is always the superior choice for high-performance, real-time operations. Shopify detailed the architectural change and its outcomes in a post on its engineering blog.

0
IndiaTimes of India ·

Indian Navy Foils Pirate Attack on India-Bound Ship in Gulf of Aden

The Indian Navy successfully repelled a pirate attack on a vessel named Golden Arsenal in the Gulf of Aden. The ship's captain moved the crew into a secure citadel onboard, which the attackers were unable to breach. The intervention prevented the pirates from seizing control of the India-bound ship. As of now, four vessels in the region remain under Somali pirate control, with Indian nationals aboard three of them.

0
ProgrammingDEV Community ·

How to Implement Backpropagation and AdamW Optimizer for LLMs Using CUDA and ROCm

A developer tutorial series on building a large language model training pipeline using HIP, CUDA, and ROCm has released its second installment. Part 2 focuses on implementing the backward pass, covering gradient computation for Linear layers, Softmax, and LayerNorm using custom GPU kernels. The guide also walks through coding an AdamW optimizer kernel designed to run efficiently across billions of model parameters on GPU hardware. Mixed-precision training using FP16 and BF16 formats is introduced to reduce VRAM usage on modern NVIDIA and AMD GPUs. The tutorial requires completion of Part 1, familiarity with calculus chain rule, and a GPU with at least 8GB of VRAM.

0
ProgrammingDEV Community ·

Developer uses HTML-to-MP4 framework and AI agent to produce Chrome extension promo videos

A developer built two product videos for a Chrome extension without using a traditional video editor, instead relying on HyperFrames, HeyGen's open-source HTML-to-MP4 framework. Compositions are written in plain HTML and CSS, with animations driven by GSAP and rendering handled by headless Chrome and FFmpeg, making the files editable by an AI agent. The developer encountered three key pitfalls: a silent failure when GSAP failed to load in a network-restricted container, audio-video drift caused by estimating narration timing rather than measuring it, and an inability to capture real UI screenshots in an isolated environment. Drift was eliminated by generating audio segments first, measuring their actual durations, and deriving cut points cumulatively, achieving near-perfect sync on both videos. The developer also resolved the screenshot issue by seeding real fetched data through the app's own cache path rather than mocking the interface.

0
ProgrammingDEV Community ·

Web Accessibility Should Be a Design Priority, Not a Last-Minute Bug Fix

Many development teams still treat web accessibility as a late-stage QA task, running automated scans only after launch and fixing flagged issues as if they were ordinary bugs. However, automated tools typically catch only a fraction of real accessibility problems and cannot assess whether users relying on screen readers or keyboards can complete core tasks. A significant number of accessibility barriers — such as poor color contrast, missing focus states, and undersized touch targets — are introduced during the design phase, long before developers write a single line of code. Experts recommend that designers, developers, QA teams, and product owners treat accessibility as a shared responsibility from the very start of a project, similar to how teams approach performance or security. Practical steps like using native HTML elements, managing keyboard focus in modals, and manually testing with screen readers can surface issues that no automated tool would detect.

0
ProgrammingDEV Community ·

Jordanian IT Student Builds AI Tool to Detect Phishing and Social Engineering

Zain Nofan Abuzaid, an Information Technology student and software developer from Jordan, has developed ScamLens AI, a cybersecurity project designed to detect phishing and social engineering threats in digital content. The tool analyzes messages, emails, URLs, and screenshots to identify suspicious patterns linked to manipulation tactics such as urgency, impersonation, and fear. Unlike conventional risk-scoring systems, ScamLens AI is designed to explain why content is flagged as suspicious, offering users actionable context rather than just a percentage score. The project draws on Abuzaid's academic research into how artificial intelligence can recognize harmful communication patterns and support users facing potentially deceptive content. He describes ScamLens AI as a practical bridge between his research interests and real-world software development in the cybersecurity space.

0
ProgrammingDEV Community ·

Solo developer launches hands-on backend learning platform targeting job-ready skills

A developer has independently built and launched ASBackendInstitute, a backend-focused learning platform aimed at bridging the gap between tutorial completion and real-world employability. The platform offers Node.js and Socket.io courses, AI-powered mock interviews, DSA practice with an AI code explainer, and live classes with AI-generated notes. It also includes an in-browser development environment, a resume and portfolio builder, and a skill-verified certificate — all installable as a PWA. Built with React, Node.js, MongoDB, WebRTC, and multiple AI APIs, the platform targets an India-first audience with an English/Hinglish language toggle. The developer noted key technical hurdles during the build, including WebRTC connectivity issues on mobile networks and persistent cache invalidation bugs.

0
ProgrammingDEV Community ·

Developer Builds Open-Source Tool to Visualize and Replay Python Codebases

A developer has released PyReplay, an open-source tool designed to help programmers understand large Python codebases, particularly those generated by AI language models. The tool follows three core principles: improving observability, making code behavior explicit, and adopting a top-down analysis approach. It allows users to generate a dependency map showing code connections and workload distribution across a codebase. Users can also record a program's execution and replay it like a video through a shareable HTML file. The project includes over 120 documented features, along with a README covering its philosophy and a dedicated tutorial.

0
IndiaTimes of India ·

Vance calls Modi after US Senate passes 100% tariff bill on Russian oil buyers

US Vice President JD Vance spoke with Prime Minister Narendra Modi on Saturday, reaffirming both countries' commitment to strengthening bilateral ties. The two leaders discussed cooperation across key areas including trade, defense, and emerging technologies. They also exchanged views on international issues of mutual concern. The call came shortly after the US Senate passed a bill targeting buyers of Russian oil with 100% tariffs.

0
IndiaTimes of India ·

Centre appoints 30 judges across Calcutta, MP, Karnataka and Madras high courts

The Union Law Ministry on Saturday notified the appointment of 30 new judges across four high courts in India. Madras High Court received the highest share with 15 appointments, followed by Calcutta with 8 and Karnataka with 6. The appointees include both judicial officers and advocates, with the majority elevated as additional judges. The move comes amid a mounting backlog of over 60 lakh cases pending across India's 25 high courts. The law minister has previously attributed the high number of judicial vacancies to delays in the collegium recommendation process.

0
WorldBBC World ·

FIFA Defends Infantino Against Organised Campaign to Remove Him

FIFA has issued a strong statement defending its president Gianni Infantino against what it describes as a coordinated effort to remove him from power. The global football governing body characterised the moves as a deliberate and sustained campaign to undermine both Infantino and the organisation itself. FIFA's statement signals that the pressure on its president has reached a level serious enough to warrant an official institutional response. The nature and origin of the campaign, as well as the identities of those behind it, were not specified in the statement.

0
IndiaTimes of India ·

Air India Phuket-Delhi pilot may have failed dope test after turbulence incident

The captain of an Air India flight travelling from Phuket to Delhi reportedly tested positive for psychoactive substances following a turbulence episode onboard. The incident caused considerable distress, leading to the hospitalization of thirteen passengers and four crew members. India's aviation regulator, the Directorate General of Civil Aviation, has launched a detailed investigation into the matter. In line with standard protocol, the flight crew involved has been suspended from flying duties pending the probe.

0
IndiaTimes of India ·

Stephen and Ayesha Curry's Foundation Reaches $100 Million Investment Milestone

NBA star Stephen Curry and his wife Ayesha Curry have reached a significant financial milestone with their joint philanthropic foundation, Eat. Learn. Play. The foundation has now surpassed $100 million in total investment. Over nearly a decade of operation, the organization has worked to positively impact the lives of children and families. The milestone marks a notable achievement in the couple's long-term charitable efforts.

0
IndiaTimes of India ·

Government promises minimal MDR on select UPI merchant transactions

The Indian government has announced that a merchant discount rate (MDR) will soon be introduced for UPI transactions, but assures it will remain nominal. The fee will apply only to specific merchants and transactions exceeding a certain threshold. Person-to-person UPI payments will continue to be free for all users. The move aims to ensure the long-term financial sustainability of India's digital payments infrastructure. It is also intended to support the expansion of digital payment services into rural and semi-urban areas.

0
IndiaTimes of India ·

India Education Spending Meets GDP Benchmark but Misses Public Outlay Target

India's education funding meets international GDP-based benchmarks but falls below UNESCO's recommended threshold for public spending. Secondary school completion rates remain below both national targets and UNESCO guidelines. The shortfall comes at a time when many countries are reconsidering education financing priorities. Despite large-scale government education programs reaching millions of students, structural challenges in the sector persist. Increased program deployment has not fully resolved gaps in outcomes or funding adequacy.

0
SportsESPNcricinfo ·

Manchester Super Giants climb to top three after dominant Hundred win

Manchester Super Giants secured a convincing victory in The Hundred, boosted by strong performances from Walter, Seifert, and Atkinson. The win propelled the Super Giants into the top three of the standings. Meanwhile, Southern Brave suffered their fifth defeat of the tournament, ending their hopes of reaching the post-season. The result marks a significant shift in the competition's standings as teams battle for playoff positions.

0
ProgrammingDEV Community ·

How Redis Caching Reduces Database Load and Speeds Up Backend APIs

As backend APIs scale to handle thousands of requests per minute, repeatedly querying a database for the same data leads to slower response times and potential outages. Caching solves this by temporarily storing frequently requested data so it can be retrieved without hitting the database each time. Two core concepts govern this approach: a cache hit, where data is found and returned instantly, and a cache miss, where the database is queried and the result is then stored for future use. Unlike databases built for durable storage and complex querying, caches like Redis retrieve values directly via a key, making lookups significantly faster. This pattern is widely used in backend system design to improve performance, reduce database load, and support scalability.

0
IndiaTimes of India ·

Rijiju urges Rahul to support women's quota bill; Gandhi demands swift implementation

Union Minister Kiren Rijiju called on Leader of Opposition Rahul Gandhi to support the women's reservation bill during a recent exchange. Gandhi countered by pointing out that the bill had already been passed unanimously in 2023. He raised concerns about the delay in implementing the legislation, linking the holdup to the delimitation process. Gandhi pressed for immediate enforcement of the 2023 law, highlighting the ongoing political tension around the issue of women's empowerment.

0
ProgrammingDEV Community ·

Developer Shares How Removing Layers Simplified Business App Backend Architecture

A software developer with over a decade of experience observed that most backend complexity in business applications stems from repetitive infrastructure code rather than complex business logic. To address this, he restructured his architecture by clearly separating business behaviour from infrastructure concerns such as CRUD operations, pagination, auditing, and multi-tenancy. He reduced unnecessary abstraction layers by grouping services around business capabilities instead of creating a service for every data model. Search functionality was made flexible by letting clients describe their own criteria, keeping the API surface stable as requirements grew. Infrastructure concerns like tenant filtering, timestamps, and audit logging were automated at the framework level to ensure consistency and reduce developer overhead.

0
ProgrammingHacker News ·

Wikipedia Co-Founder Says the Platform Has Become a Propaganda Tool

Wikipedia co-founder Jimmy Wales has publicly criticized the platform he helped create, describing it as having become a propaganda tool. His remarks raise concerns about the neutrality and reliability of one of the world's most widely used online encyclopedias. The comments were reported by Nordic Times and sparked discussion in online communities. Wales's critique points to broader worries about editorial bias and the influence of coordinated actors on Wikipedia's content. The statement is notable given that it comes from one of the site's own founding figures.

← NewerPage 78 of 2322Older →