SShortSingh.
0
IndiaNDTV ·

Thieves Loot $10 Million Worth of Artworks from Renoir Museum in France

Thieves have stolen artworks valued at approximately $10 million from a museum dedicated to French Impressionist painter Pierre-Auguste Renoir in France. The museum houses a significant collection of personal belongings and works associated with Renoir, including his easel and wheelchair. The stolen items are believed to include portraits, landscapes, and nude paintings created by the artist. The heist represents a major loss for the cultural institution, which preserves the legacy of one of France's most celebrated painters.

0
ProgrammingDEV Community ·

Why FLOAT Data Types Can Corrupt Financial Databases and How to Fix It

Using FLOAT or DOUBLE PRECISION data types in SQL databases for financial calculations introduces tiny rounding errors due to the IEEE 754 binary representation standard used by modern CPUs. Fractions like 0.1 and 0.2 cannot be represented exactly in base-2 binary, causing values such as 0.1 + 0.2 to return 0.30000001192092896 instead of 0.3. Across millions of daily transactions involving prices, taxes, or account balances, these small errors can accumulate into significant cash discrepancies during reconciliation. PostgreSQL's NUMERIC type avoids this by storing exact base-10 digits in memory, guaranteeing penny-perfect arithmetic with zero floating-point drift. Database engineers are advised to always use NUMERIC with defined precision and scale for any financial columns in production schemas.

0
IndiaTimes of India ·

Kangana backs Trisha Krishnan over character attacks linked to Vijay rumours

Bollywood actor Kangana Ranaut has publicly expressed solidarity with Tamil actor Trisha Krishnan following a wave of character attacks directed at her over alleged link-up rumours with actor Vijay. Kangana highlighted that such targeted attacks on women in public life are a widespread global issue. The controversy has reignited broader discussions about how women in the entertainment industry are treated when their personal lives are scrutinised. Separately, Tamil Nadu politician Udhayanidhi Stalin is facing legal consequences over remarks he made in connection with the matter. The episode has prompted renewed debate around gender-based reputational attacks on public figures.

0
ProgrammingDEV Community ·

Playwright Automated 22 Directory Submissions, But Only 5 Succeeded — Here's Why

A developer used Playwright to automate directory submissions for SongStory, a personalized song generator, targeting 22 SaaS and AI listing sites in a single day. Of the 22 attempts, only 5 submissions succeeded, while the remaining 17 failed due to paywalls, closed registrations, broken forms, and Cloudflare blocks — not automation errors. The biggest surprise was that Playwright itself performed flawlessly; the failures stemmed entirely from the state of the directories. The developer also discovered that some sites' free tiers actually served dofollow links to crawlers despite marketing copy suggesting otherwise, while other sites appeared to offer dofollow links in the browser but rendered only client-side AngularJS templates with no href in server responses. The key takeaway is to verify what a page actually serves to crawlers by fetching it with a Googlebot user agent, rather than relying on pricing pages or browser DevTools alone.

0
IndiaTimes of India ·

Uber cuts 3,300 jobs and ends remote work for nearly all staff

Ride-hailing giant Uber is laying off approximately 3,300 employees, representing around 10% of its total workforce. CEO Dara Khosrowshahi communicated the cuts alongside a major remote work policy change in a company-wide email. Effective going forward, all but 1% of Uber's remaining roughly 29,000 employees will be required to work from an office near their team. The company's existing three-day hybrid attendance policy will remain in place and be strictly enforced. Global operations will be concentrated primarily across offices in New York and San Francisco.

0
IndiaNDTV ·

ED Launches Probe into Rs 3.28 Crore Bribery Allegations Against Kerala CM Vijayan

India's Enforcement Directorate (ED) has initiated an investigation into bribery allegations against Kerala Chief Minister Pinarayi Vijayan. The probe centers on claims that a bribe of Rs 3.28 crore was allegedly routed to Vijayan through his daughter Veena T. The alleged transaction is said to have taken place during Vijayan's tenure as Chief Minister of Kerala. The ED, which handles financial crimes and money laundering cases, is now examining the matter formally.

0
WorldBBC World ·

Singapore PM Lawrence Wong's salary to rise to S$3.6 million

Singapore Prime Minister Lawrence Wong is set to receive a salary increase that will bring his total pay to 3.6 million Singapore dollars, equivalent to approximately 2.8 million US dollars. This makes him the highest-paid elected leader in the world. The raise represents an increase of around one million Singapore dollars to his existing remuneration. Singapore has long maintained a policy of offering competitive, private-sector-benchmarked salaries to its top government officials.

0
ProgrammingDEV Community ·

Developer Builds 'Avery', an English-Like Programming Language for Beginners

A developer has created Avery, an open-source programming language designed to make code read as naturally as plain English. The language aims to reduce syntax complexity so learners can focus on problem-solving rather than language mechanics. Avery includes common functionality such as random number generation as built-in features, eliminating the need for import statements. The project is still in early development, with some features incomplete and syntax subject to change. The creator has published Avery publicly on GitHub and is inviting feedback, particularly on syntax design and built-in functionality.

0
ProgrammingDEV Community ·

Why AI Workflows Need Defined Boundaries, Not Just Prompts

Vague instructions like 'summarize these notes' are a common root cause of AI workflow failures, according to a DEV Community analysis. A prompt describes a task, but a proper workflow brief establishes operating boundaries covering evidence sources, data safety, review ownership, and acceptance criteria. Without these controls, an AI system may produce fluent but inaccurate output — for instance, misrepresenting a proposal as an approved decision or silently merging outdated information. The article outlines five essential workflow controls: a specific outcome, an evidence boundary, a data-safety boundary, a named reviewer, and observable acceptance checks. These guardrails do not make AI models infallible but make errors easier to detect and accountability clearer.

0
ProgrammingDEV Community ·

Teen Developer Seeks Collaborators for Gemini API Web App MirAI on GitHub

A 14-year-old developer built MirAI, a web app that interacts with Google's Gemini API, as their first coding project starting in September 2024 using the Vanilla Stack with AI-assisted code. The developer directed the workflow while AI handled the code writing. Development on MirAI has slowed as the creator has shifted focus toward building an ebook catalog platform for a self-founded digital publishing venture. The developer is now publicly seeking collaborators to continue MirAI's development, inviting interested contributors to submit an issue on the project's GitHub repository.

0
ProgrammingDEV Community ·

Dev builds multilingual chat widget using local ONNX embeddings to cut API costs

A developer created 'Ask Leya', a business-focused chat widget that answers queries from a company's own content and escalates to a human agent when needed. Unlike conventional chatbots, it uses the paraphrase-multilingual-MiniLM-L12-v2 model run locally via ONNX to embed queries across 50+ languages without external API calls or per-query embedding costs. The stack combines Node.js, Express, Postgres with pgvector, Socket.IO for live handoffs, and gpt-4o-mini via OpenRouter for generating responses. Key engineering challenges included managing a shared database with unreleased modules, handling async rejections in Express 4, and a 90-second production hang caused by a macOS binary being deployed on a Linux server. Integrations for WhatsApp, Instagram, and Messenger are complete but held back pending a polished self-serve release.

0
ProgrammingDEV Community ·

SQLazy Tool Converts Messy Swipe Logs into Paired Session Rows

A technique using the SQLazy query tool transforms raw building swipe logs—where each entry or exit is recorded as a separate timestamped row—into single-row sessions pairing each IN and OUT event. The source data is often messy, containing unpaired records and consecutive swipes in the same direction, making straightforward pairing unreliable. The approach works in three steps: sorting records by person, building, and timestamp; applying a conditional segmentation rule to detect session boundaries based on the previous action; and finally grouping and aggregating each segment into one row with separate IN and OUT columns. Unpaired records are preserved as individual rows with NULL filling the missing side, ensuring no data is lost. The method relies on SQLazy's relative position syntax to reference the previous row's value, replacing the need for explicit SQL window functions like LAG.

0
IndiaNDTV ·

BJP's Suvendu Adhikari Launches 'Saffron Samman Yatra' to Spread Nationalist Message

Senior BJP leader Suvendu Adhikari has initiated a programme called the 'Saffron Samman Yatra' in what appears to be a politically significant move. The ruling Bharatiya Janata Party has stated that the initiative aims to promote nationalist ideology among the public. The party has actively called on people to participate in the procession. The yatra is seen as a notable political exercise by the BJP in the region.

0
ProgrammingDEV Community ·

What PyArrow Is and How Zero-Copy Data Sharing Actually Works in Python

Apache Arrow is an in-memory columnar data format designed to eliminate the costly data-copying that traditionally occurs when moving data between tools in a Python data stack. Unlike Parquet, which optimizes for compact on-disk storage and requires decoding before use, Arrow stores data in ready-to-compute, uncompressed buffers that CPUs can operate on directly. PyArrow is the Python implementation of this standard, and its zero-copy capability means processes sharing Arrow-formatted data can reference the same memory buffers rather than duplicating them. Arrow represents values such as strings using contiguous fixed buffers — including a validity bitmap, an offsets buffer, and a values buffer — instead of scattered pointer arrays, enabling faster vectorized computation. This architecture is why Arrow has become a common interchange layer across tools like DuckDB, Polars, pandas, and PySpark.

0
IndiaTimes of India ·

All 8 Arrested in Delhi Murder of Manipuri Musician, Chargesheet Due in 2 Weeks

All eight suspects accused in the killing of Manipuri musician Chongtham Vikram Singh have been arrested by Delhi police. Union Minister Kiren Rijiju stated that a strong chargesheet will be filed within two weeks of the incident. Singh died following a violent altercation involving delivery workers and dhaba employees. His body is set to be transported to Manipur on Wednesday for the last rites. Authorities have expressed hope that those responsible will receive strict punishment under the law.

0
ProgrammingDEV Community ·

AI Tools Make Bad System Design Easier to Ship, Not Harder to Need

AI-powered no-code tools can rapidly generate working prototypes from plain-language prompts, but producing a production-ready system that handles real users is an entirely different challenge. Core system design decisions — such as data schema integrity, session state management, API failure handling, and access control — must still be made deliberately before any code is written. When AI generates code that looks complete on the surface, teams may ship architecturally flawed systems without realizing critical decisions were never addressed. Problems like silent data corruption, broken cart sessions, unhandled payment API errors, and insecure user access often go unnoticed in demos but surface quickly under real-world conditions. No-code AI reduces the friction of writing code, but it does not replace the engineering judgment required to design systems that are safe, consistent, and resilient.

0
ProgrammingDEV Community ·

How KVM_RUN Powers Virtual Machines: The VM Exit Loop Explained

The ioctl(KVM_RUN) system call is the core mechanism that drives virtual machine execution in the Linux KVM hypervisor stack, with tools like QEMU and Libvirt essentially acting as scaffolding around this single looped call. To understand it, one must first grasp file descriptors — non-negative integers the kernel assigns to every open resource a process holds, whether a file, socket, or virtual CPU. Three descriptors (stdin, stdout, stderr) are pre-allocated by default, and all subsequent resources receive the next lowest available integer. Standard read() and write() calls handle raw data transfers but cannot perform device control operations, such as ejecting a CD drive or changing a serial port's baud rate. Unix addresses this gap through ioctl, a generic system call that lets processes send arbitrary commands to any device or resource identified by a file descriptor.

← NewerPage 856 of 4682Older →