SShortSingh.
0
IndiaIndian Express ·

Kerala CM Satheesan Says He Opposes Delimitation Only Unless It Is Scrutinised

Kerala Chief Minister VD Satheesan spoke at an Indian Express Express Adda event and addressed the issue of delimitation. He stated that he is not opposed to delimitation in principle. However, he argued that any delimitation exercise must be subjected to careful scrutiny before it is accepted. His remarks reflect the state's concern over how redrawing constituency boundaries could affect its political representation.

0
IndiaNDTV ·

Two Projectiles Reportedly Strike Qeshm Island in Southern Iran

Iran's state news agency IRNA reported that two projectiles hit the Suza area of Qeshm Island in southern Iran. The report cited local witnesses, who said they heard the sound of an aircraft over the island shortly before the strikes. The source material does not identify who fired the projectiles or what they were. No casualty or damage details were provided in the available account. The information remains preliminary and based on eyewitness accounts relayed by IRNA.

0
IndiaIndian Express ·

Amit Shah sets BJP target of 65 of 70 seats in Uttarakhand, seeking a third straight win

Union Home Minister Amit Shah has set a goal for the BJP to win 65 of the 70 seats in Uttarakhand, aiming for a hat-trick of victories in the state. The target was outlined as the party prepares for the upcoming assembly election. Shah's push reflects the BJP's effort to retain its hold on the Himalayan state. The article attributes the ambition directly to Shah, and the full article text was not provided, so further specifics such as campaign strategy are not included here.

0
IndiaNDTV ·

Paraguay's Vice President Named President After Senate Impeaches Predecessor Over Banking Crisis

Paraguay's Senate on Friday voted to impeach President Santiago Pena over a large-scale banking crisis. Following the vote, senators appointed Vice President Pedro Alliana to lead the country. The removal of Pena is directly tied to the fallout from the banking sector collapse. Alliana's appointment marks a sudden transfer of executive power in the South American nation. The article reports that Alliana has pledged support for victims of the crisis.

0
ProgrammingDEV Community ·

Comparer deux versions d'un contrat PDF mot à mot avec Python

Un PDF ne conserve pas d'historique des modifications, ce qui oblige à comparer directement les deux fichiers pour repérer les changements. L'article examine trois méthodes : comparaison des pages rendues pixel par pixel, comparaison du texte extrait ligne par ligne, et comparaison mot par mot. Sur une paire de contrats de test, le diff mot par mot identifie les mêmes cinq modifications même lorsque le texte est recomposé avec une autre mise en page, contrairement aux deux autres méthodes. L'auteur présente un script Python d'environ 120 lignes utilisant PyMuPDF et difflib, qui récupère les coordonnées de chaque mot modifié et réécrit les changements sous forme de commentaires dans le PDF. Il indique aussi qu'un logiciel de bureau, PDF Editor d'osFoundry, applique la même logique de comparaison mot par mot.

0
ProgrammingDEV Community ·

Why Senior Craft Depends on Context and Process, Not Just Code Output

An essay argues that the 'vibe coding' approach of prompting AI for finished code fails because it demands results without first establishing identity and context. The author frames a Be, Do, Have sequence that maps onto Context, Process, and Content, arguing that results depend on the upstream layers. Typical vibe-coding prompts, such as requests to build a login page or fix a race condition, are described as jumping straight to the final output. The piece contrasts this with a structured workflow in which the agent's role and phase-bound constraints are defined before any code is written. It concludes that clean, verifiable output emerges naturally only when the upstream context and process are locked in place.

0
ProgrammingDEV Community ·

Ten Claude Skills a Freelancer Actually Uses Weekly for Client Work

A freelancer and consultant who has tested Claude skills over a year argues that most skill folders go unused and proposes a rule: only build a skill for a task done at least twice a week. The author identifies three common failures: overly broad descriptions, missing business context, and building for imagined tasks. They recommend first creating a shared context file covering the user's offer, clients, proof, goals, and preferred tone. The article then lists ten skills that survived this filter, including a client brief builder, proposal generator, and scope creep checker, with a summary table of inputs and outputs. A copyable SKILL.md template and a paid resource pack are also offered.

0
TechnologyThe Verge ·

OpenAI Reportedly Valued at $1.25 Trillion in New $11 Billion Funding Round

According to Bloomberg, OpenAI has been valued at $1.25 trillion in a fresh funding round that brought in an additional $11 billion. The valuation would place the company among the world's most valuable firms. It follows a $122 billion raise in March at an $852 billion valuation. OpenAI is reportedly still seeking further investment that could bring the total to $20 billion, below an earlier target of $30 billion at a $1.4 trillion valuation, which was scaled back after tech stocks fell and public sentiment shifted following the midterm results.

0
WorldBBC World ·

Cornell faculty pass no-confidence vote over handling of Jane Doe allegations

Cornell University's academic staff approved a no-confidence resolution on Friday directed at the school's leadership over how it responded to the Jane Doe allegations. The vote reflects faculty dissatisfaction with the administration's handling of the matter. However, the resolution carries little formal weight, since faculty lack the authority to remove the university's top officials. Its impact is therefore largely symbolic, signaling discontent rather than triggering any change in leadership.

0
ProgrammingDEV Community ·

PostgreSQL's SET SESSION AUTHORIZATION alters both session and current user identities

PostgreSQL tracks two identities per session: the authenticated session user and the current user used for permission checks. SET SESSION AUTHORIZATION can change both, which is useful for controlled administrative tasks but risky in pooled or diagnostic contexts. Only superuser sessions may switch the session user to an arbitrary name, while other sessions are limited to their own authenticated name, and DEFAULT or RESET restore the original identity. The command cannot run inside a SECURITY DEFINER function and affects which roles later SET ROLE commands can assume, so reviews checking only current_user may miss it. The guidance recommends separate database roles, resetting session state before connection reuse, and verifying session_user, current_user, and current_setting('role') in tests.

0
ProgrammingDEV Community ·

Five Practical Ways to Cut Voice AI Costs Without Sacrificing Quality

A developer guide outlines methods for reducing expenses in voice AI projects, starting with shrinking audio data before it reaches cloud APIs, such as downsampling to 16 kHz, compressing to MP3, and trimming silence. It recommends caching generated speech locally or on a CDN so repeated utterances don't trigger new API calls, and batching multiple texts into a single request where supported. The article also suggests running lightweight open-source TTS models like Coqui TTS on local or edge hardware to avoid per-second cloud charges. For voice cloning, it advises limiting clones to high-priority users, fine-tuning a shared base model, and reusing speaker embeddings to lower costs.

0
ProgrammingDEV Community ·

Neuroscience Evidence Lab Aims to Make Scientific Research More Traceable

A solo software engineer has launched Neuroscience Evidence Lab, an independent project designed to organize scientific research and make it easier to evaluate. The platform is meant to help users check publication records, keep claims linked to their supporting sources, and separate verified evidence from open questions. Its work is organized around five areas: research integrity, evidence traceability, structured data, software reliability, and transparency. The backend is built with Python, FastAPI, and PostgreSQL, with a React and TypeScript frontend, and it draws on scientific databases such as PubMed, Crossref, and OpenAlex. The project is still in active development and is not yet a public research service.

0
ProgrammingDEV Community ·

Secure Export Downloads Use Short-Lived Presigned Links Instead of Public Objects

Exports should live in private storage and be delivered through temporary presigned URLs issued only after the application verifies the customer's session and export ownership. The authorization check belongs in the application, which should take the object key from its own records rather than from client input. Once that check passes, the server asks the storage API for a time-limited URL, passing the bucket, key, and expiration duration. The browser receives only that URL, so the storage service credentials never leave the server. The author also advises reading the API's discovery schema for exact parameter names instead of guessing them.

0
ProgrammingDEV Community ·

Go Guide: Generating Pre-Signed Object Storage URLs for Customer Report Downloads

The article explains how to serve large customer reports by storing them in object storage and issuing short-lived pre-signed download URLs instead of proxying bytes through the application. The application first authorizes the customer and looks up the stored bucket and object key, then requests a pre-signed URL via a POST signing call, while the resulting download uses GET. The author stresses that the object key should be server-owned, that expiration must be explicit, and that signing retries should return fresh authorization without creating duplicate reports or jobs. A Go example demonstrates the signing request using environment-configured credentials and a path built from known bucket and key values.

0
ProgrammingDEV Community ·

Joscha Bach Argues Consciousness May Be a Causal Pattern, Not an Insoluble Mystery

In a long-form interview with host Tim, cognitive scientist Joscha Bach contends that the 'hard problem' of consciousness may dissolve once consciousness is understood as a causal pattern, comparable to software, which earlier thinkers called the mind. He rejects the claim that consciousness requires special biological matter, arguing that any system with the right algorithmic structure could in principle be conscious. Bach proposes that consciousness may be an evolved learning algorithm that helps brains organize perception and self-models, and he suggests that a self-organizing artificial system could eventually develop genuine experience. He also criticizes several leading theories, including Integrated Information Theory, for logical inconsistencies and a lack of explanatory power. The discussion frames his position as a blend of functionalism and computationalism, treating consciousness as a testable scientific and engineering question rather than a mystical one.

0
ProgrammingDEV Community ·

Watchdog: Open-Source TypeScript Tool Monitors Website Experience With AI and a Real Browser

An uptime check only confirms that a page returns HTTP 200, missing issues like unexpected price changes or broken forms. Watchdog, an open-source TypeScript example, instead verifies the user experience by remembering a healthy baseline and driving a real browser through the page on a daily schedule. It records screenshot evidence and sends an SMS alert when results change, opening an incident for broken states and closing it after a later healthy run. The application is built on a Telnyx Edge Stateful Actor, Agent Browser, SQL, KV, AI Inference, and Messaging. Telnyx notes that Agent Browser is in beta, so request shapes and behavior may change before production use.

0
ProgrammingDEV Community ·

Multipass 1.17 Adds Debian, Fedora, and Custom Image Support for Local VMs

Canonical's Multipass 1.17 removes its Ubuntu-only restriction, allowing its lightweight CLI to provision Debian and Fedora virtual machines directly. The tool runs on native hypervisors such as KVM on Linux, Apple's Virtualization Framework on macOS, and the Host Compute System API on Windows. Users can also launch instances from custom .img or .qcow2 image URLs, which enables minimal distributions like Alpine Linux. The article provides command-line examples for launching these VMs and notes that non-Ubuntu images use different default usernames, which can be standardized with a cloud-init configuration file.

0
ProgrammingDEV Community ·

Why OpenAI-Compatible Endpoints Hang for 180 Seconds Before Failing

A chat request that repeatedly stalls for about three minutes is a debugging clue rather than a diagnosis, since client deadlines, gateway timeouts, upstream delays, buffering, or retries can each contribute. The article notes that no universal OpenAI-compatible SDK setting called transport: sse exists, and that keys like streamIdleTimeoutMs belong to specific wrappers, so developers should rely on their client's documented options and request logs. It explains that read timeouts measure gaps between incoming data rather than whole-response duration, so a long-running stream can outlast them. Proxies such as nginx may buffer streamed chunks, and disabling buffering there is only a partial fix because other layers can still delay delivery. The piece also advises classifying failures by transport exceptions and HTTP status codes instead of matching error strings, and it includes a Python HTTPX example with retry handling.

← NewerPage 514 of 7356Older →