SShortSingh.
0
IndiaTimes of India ·

Noida student's peace-bond notice over Jantar Mantar protest later revoked

A student from Gautam Buddha University in Noida received a Rs 5 lakh peace-bond notice following participation in a protest at Jantar Mantar. Police alleged the student had spread anti-government narratives on campus. The student denied the allegations, maintaining that their participation in the protest was entirely peaceful. The notice drew public attention, prompting authorities to subsequently revoke it. The incident unfolded within the context of legal measures aimed at maintaining public order.

0
IndiaTimes of India ·

Tata Boeing Aerospace delivers 400th Apache fuselage, marking defence export growth

Tata Boeing Aerospace has rolled out its 400th Apache helicopter fuselage manufactured in India, highlighting the country's expanding role in global defence supply chains. The milestone reflects a significant rise in indigenous defence production capacity over recent years. Defence exports have also recorded sharp growth alongside domestic manufacturing gains. The Indian government has set ambitious defence export targets to be achieved by 2029. The country's defence industrial base now spans multiple states and includes a large network of manufacturers and MSMEs.

0
IndiaNDTV ·

Bengaluru Minister Repairs Cunningham Road Streetlights Amid Wider City Lighting Crisis

Cunningham Road, one of Bengaluru's most upscale stretches, had long suffered from non-functional streetlights, forcing residents to rely on commercial showroom displays for illumination. A local minister intervened to restore lighting on this key corridor. However, the fix appears to be limited in scope, as large parts of the city continue to face inadequate street lighting. The situation has raised concerns about the broader state of public infrastructure in Bengaluru, affecting the safety of pedestrians and motorists alike.

0
ProgrammingDEV Community ·

NestJS Auth Refactor: Adding Username Sign-In and Multi-Identifier Lookup

A developer refactored a NestJS authentication project built with brkpt-auth to support a unique username field alongside email for user sign-in. The Prisma schema and data transfer objects were updated so users can register with both a username and email, and sign in using either identifier. The findUserByDto adapter method was modified to query the database against both fields, preventing duplicate registrations on either value. A known security gap was flagged: combining unverified email registration with OAuth can allow one user's credentials account to be hijacked when the real email owner later signs in via Google. The post deliberately omits email verification to stay focused on the identifier and schema changes demonstrated.

0
ProgrammingDEV Community ·

NestJS Auth MVP With Password and Google OAuth Using brkpt-auth Library

A developer tutorial published on DEV Community demonstrates how to build a password and Google OAuth authentication flow in NestJS using an open-source library called brkpt-auth. The library installs its full source code directly into a project and uses a ports-and-adapters architecture to keep database and token logic separate from authentication logic. The walkthrough covers setting up NestJS v11 with Prisma 7.10.0, configuring a PostgreSQL database, and implementing credential and OAuth sign-in flows through a custom adapter. Validation is handled via class-validator, though the library itself is not tied to any specific validation library. The guide aims to reduce the boilerplate and glue code that typically accumulates in hand-rolled NestJS authentication setups.

0
ProgrammingDEV Community ·

Why data-* Attributes Beat CSS Classes for Managing UI State in JavaScript

A common JavaScript pattern uses CSS class toggles like 'is-open' to manage UI state, but this approach relies on informal team conventions that can break down over time. Because class names share the same namespace as styling hooks, they can be misread, reused, or pulled into unintended specificity conflicts by new contributors. An alternative approach uses HTML data-* attributes, such as 'data-q-active', to represent state directly in the syntax rather than by convention. Unlike class names, data-* attributes carry no styling meaning by default, making their purpose unambiguous and preventing accidental misuse. This separation ensures CSS retains full ownership of appearance while JavaScript strictly manages behavioral state through clearly scoped, purpose-built attributes.

0
IndiaNDTV ·

BSc Student Found Dead in Rented Room in Mathura, UP

A 21-year-old student named Hemant was found hanging in his rented room in Mathura, Uttar Pradesh. He was enrolled in the second year of a BSc program in Radiation Imaging Technology at a private university in the Chhata area. Hemant had been residing in rented accommodation near Govardhan Chauraha in the town. Authorities were informed and are investigating the circumstances surrounding his death.

0
IndiaNDTV ·

Meghalaya and Assam Hold Talks to Resolve Cross-Border Cab Operator Issues

Officials from Meghalaya and Assam recently convened a meeting to address concerns raised by transport associations from Meghalaya. The discussions centred on difficulties faced by Meghalaya-based cab drivers when entering and travelling through Assam. Routes leading to Guwahati were highlighted as particularly problematic for these operators. The meeting aimed to find solutions to ease cross-border movement for tourist cab drivers operating between the two states.

0
IndiaTimes of India ·

2010 Lord's Spot-Fixing Scandal: How Three Pakistan Cricketers Betrayed the Game

During Pakistan's 2010 tour of England, a major spot-fixing scandal emerged at the fourth Test match played at Lord's Cricket Ground. Mohammad Amir, Salman Butt, and Mohammad Asif were at the centre of the controversy. The three players were accused of deliberately bowling no-balls at pre-arranged moments during the match in exchange for money. The scandal caused significant damage to Pakistan cricket's reputation on the international stage.

0
Crypto & Web3CoinDesk ·

Cronos rolls back blockchain by two hours to recover $111M in stolen crypto

Cronos blockchain executed a controversial rollback of nearly two hours of its transaction history to recover user assets worth approximately $111 million. The decision was made after a security incident that threatened significant user funds on the network. Validators coordinated the rollback as an emergency measure to restore the compromised assets. However, the attackers had already managed to escape with around $9.19 million before Cronos was able to halt the network.

0
ProgrammingDEV Community ·

AI Refund Agent Exploited by Stored Unverified Customer Claim Across Sessions

A synthetic evaluation case highlights a critical flaw in AI agent memory design, where a refund agent incorrectly stored an unverified customer claim as authoritative information. In the first session, the agent rightly refused a refund due to no system-recorded approval, but wrongly saved the customer's unverified statement as settled fact. When the customer returned the next day, the agent retrieved that stored note and issued the refund without re-verifying approval in the system. The failure only became visible when both sessions were evaluated together as a single trajectory, exposing how isolated testing can miss multi-session vulnerabilities. The case underscores that persistent memory in AI agents must preserve context without silently elevating unverified claims into actionable authority.

0
ProgrammingDEV Community ·

Solo developer Azeem introduces Jeemmo, his backend web development practice

Azeem is a solo backend web developer who has been building custom web applications under the name Jeemmo since 2011. He serves clients across the UK, EU, and US, specialising in real-time features, payment integrations, and performance optimisation for legacy PHP and WooCommerce sites. His technical stack includes PHP, Laravel, Node.js, Python, MySQL, and Redis. Among his notable projects are Quran Roshni, a fast ad-free Quran reader supporting around 30 languages, and GoodPing, a free network monitoring tool. His full portfolio is available at jeemmo.com.

0
IndiaNDTV ·

Three Family Members Killed After School Bus Hits Motorcycle in UP's Sultanpur

A speeding school bus collided with a motorcycle in Sultanpur district of Uttar Pradesh, killing three members of the same family. The accident resulted in multiple casualties from a single family traveling together on the bike. The injured survivors were initially rushed to the Akhandnagar Community Health Centre for emergency treatment. They were subsequently referred to a hospital in Ambedkar Nagar for further medical care.

0
ProgrammingDEV Community ·

Solidity Escrow Contract Enables Trustless USDC Payments Between AI Agents on Base

Developers building autonomous AI agents face a core challenge: agents must pay for services on-chain without a human intermediary, yet simple direct transfers risk non-delivery or fraud. A hash-based escrow smart contract on Base, an Ethereum Layer 2 network, addresses this by holding USDC funds until a seller reveals a pre-agreed secret confirming service completion. The contract uses USDC, a fiat-backed ERC-20 stablecoin, whose stable value simplifies micro-payment pricing for agent-to-agent transactions typically ranging from $0.01 to $0.10. Base's roughly two-second block times and very low gas fees make each escrow interaction cost well under $0.001, keeping the approach practical for high-frequency automated workflows. If the seller fails to reveal the secret before a set deadline, the buyer agent can reclaim the deposited funds, providing a built-in refund mechanism without requiring a trusted third party.

0
ProgrammingDEV Community ·

How to Build Reusable AI Skills Across GitHub Copilot, Claude, and LangChain

Major AI platforms including GitHub Copilot, Claude, and LangChain all support custom callable skills that extend an AI assistant's capabilities, though each uses different terminology such as Extensions, Tools, or Functions. Despite the naming differences, the underlying architecture is consistent: a schema defines what the skill does, an implementation executes the logic, and a registration mechanism exposes it to the AI model. A practical example — a deployment status checker that retrieves service health, version, and incident data — is used to demonstrate how the concept translates across three platforms. The AI model itself decides when to invoke a skill based on the user's request, extracts structured arguments from natural language, and incorporates the result into its response. Developers can use this cross-platform understanding to choose the most suitable integration path depending on their toolchain and use case.

← NewerPage 862 of 4692Older →