SShortSingh.
0
ProgrammingDEV Community ·

Header Normalization Can Create Column Collisions in Order CSV Files

An order file containing both 'Order ID' and 'order_id' can become ambiguous if header names are trimmed and normalized before lookup construction. When two columns map to the same key, the value used for an order reference may depend on which column overwrote the other. The proposed remedy is to validate the full header set before mapping rows, rejecting ambiguous normalized names outright. The author, of YX Fulfillment, presents a JavaScript example that applies NFKC normalization, trimming, lowercasing, and whitespace-to-underscore replacement, and throws on duplicate keys or missing required fields. The example is described as an independent file-adapter check rather than a production connector.

0
ProgrammingDEV Community ·

Developer builds Bakeoff on Switch to pick one of several competing pull requests

A developer ran the Switch agent platform headless on a small cloud server to help a team choose among several AI-generated pull requests for the same issue. Switch's maintainer had said only one PR would be selected per issue, after a hackathon left its repository with nearly 400 open PRs. The developer's tool, Bakeoff, opens a Switch chat room whenever two or more PRs reference the same issue, where two agents from different vendors review each diff against the issue's checklist. A maintainer then picks a winner, a person approves the merge through an approval card, and the other PRs receive notes listing the checklist items they missed. The post walks first-time users through Switch's setup, including Docker Compose configuration, agent enrollment, and agent roles, and describes several snags encountered along the way.

0
ProgrammingDEV Community ·

Revenue rankings need cadence-aware data, not just ticker keys

A revenue ranking can shift after a data join even before companies publish new results, which is a risk when account priorities are set for an upcoming deadline. Annual and quarterly financial statements cover different reporting windows and are collected through separate paths, so flattening them together can cause scoring jobs to rank the wrong accounts. The recommended approach is to start with a bounded watchlist, disable unrelated collections, and request both cadences so that scoring policy, not collection, decides which to use. The guidance also separates starting a fresh data collection from replaying ingestion into a database, using a source run identifier only when repairing stored data. Because a full dataset download's memory cost grows with size, large watchlists should use paginated ingestion, and a finished run does not guarantee every requested account has usable financials.

0
ProgrammingDEV Community ·

FIDO2 Security Keys vs Passkeys: How Their Modes and Attestation Differ for AAL3

Security key deployments involve three separate choices: how the key is used, how the server identifies it, and what the user sees during interaction. The relying party controls the key's behavior through the options it passes to navigator.credentials.create(), notably residentKey and userVerification settings. Both U2F-style second-factor and passkey-style on-key modes can meet NIST AAL3 at the authenticator level, though the full authentication process must also satisfy FIPS 140 validation and related requirements. Synced passkeys do not qualify because their keys are exportable, and attestation remains the only reliable way for a server to confirm genuine hardware. Attestation formats vary by key and browser, so verifiers must handle both fido-u2f and packed formats, using AAGUIDs or certificate key IDs for FIDO Metadata Service lookups; in the cited data, 81% of attested security key registrations passed the checks.

0
ProgrammingDEV Community ·

Managing Client Form Submissions Across Websites Without a Custom Backend

Freelance developers and agencies often end up building a separate backend for every client's contact form, which quickly becomes hard to maintain. The article argues that routing submissions to the right inbox, storing past enquiries, and keeping clients' data apart is the real challenge after the frontend is done. It proposes using a hosted form backend, Formgrid, so each website posts to its own endpoint without deploying a new API. The suggested setup uses a separate project per client, a dedicated form per workflow, client-specific notifications, and end-to-end testing. The approach suits brochure sites and simple enquiry forms but may not fit complex bookings or regulated data.

0
ProgrammingDEV Community ·

Python-Skript durchsucht Google Patents ohne API-Schlüssel

Google Patents bietet keine offizielle API, und die kostenlosen offiziellen Schnittstellen wie PatentsView decken nur einzelne Patentämter ab. Die Website lädt ihre Suchergebnisse jedoch über einen JSON-Endpunkt, der normale HTTP-Anfragen ohne Schlüssel beantwortet. Der Artikel zeigt eine Python-Implementierung nur mit der Standardbibliothek, inklusive verfügbarer Filter und der Struktur der Antwort. Die Treffer enthalten HTML-kodierte Texte, die sich mit einem regulären Ausdruck und html.unescape bereinigen lassen. Außerdem erscheinen fremdsprachige Patente mit maschinell übersetzten Titeln, weshalb die Suchbegriffe und Ergebnisse kritisch geprüft werden sollten.

0
ProgrammingDEV Community ·

CogniPrep Publishes 291 Employer Assessment Profiles, Including 44 Recording No Findings

CogniPrep, a test-preparation site, has built 291 employer profiles describing which assessments candidates may face, supported by 301 citations from 132 domains. Each claim is recorded in a structured evidence type, with the ability to flag undated sources and archived links. Of the profiles, 44 contain no usable findings, and these are documented deliberately so that others do not repeat the same search. Sixteen profiles name an employer's own or vendor instrument that the site does not simulate, so candidates know what to expect without a practice product. The author also notes that the stated confidence rules do not match the actual grading pattern, and that the definition needs correcting.

0
ProgrammingDEV Community ·

Munchable Uses URL Fragments to Pass Login Sessions Between Website and App

Munchable runs a marketing site and a separate Expo app on different origins, so a user who signs up on the website would otherwise have to log in again in the app. The team fixed this with a short handoff function that places the session tokens in the URL fragment after the hash. Because fragments are never sent to servers, the refresh token stays out of access logs, error reports, and referrer headers. If the session has expired, the function returns false and sends the user back to sign in on the current origin. The receiving app reads the fragment first and falls back to the query string to handle OAuth returns.

0
ProgrammingDEV Community ·

Test WhatsApp AI Assistant Answers Against Approved Sources Before Launch

A WhatsApp AI assistant can give confident answers that its approved documents do not support, such as outdated offers or policy details inferred from unrelated material. The article argues that businesses should judge these tools by whether each consequential answer traces to a current source and whether the assistant admits when information is missing or conflicting. It proposes a 16-case grounding test covering known answers, gaps, stale documents, paraphrases, multilingual input, and malicious embedded instructions, with saved sources and configuration for review. Reviewers should check individual claims rather than tone, and a system that cannot expose its retrieved sources cannot be verified from transcripts alone. The author cautions against launching on vendor demos or a few hand-picked FAQs and notes that human review or narrower use may be the better interim design.

0
ProgrammingDEV Community ·

Parcels Held Back by Short SQS Polling Caused Late Marketplace Despatches

A warehouse despatch job that sends tracking numbers to a major marketplace stopped early after receiving an empty response from Amazon's SQS queue. Because the rewritten Python script used short polling, which queries only a random subset of SQS servers, it treated the empty reply as the queue being empty and left parcels behind for the next day's feed. The late despatch rate rose from under one percent to six in October, triggering a warning from the marketplace, even though the parcels had left the warehouse on time. The fix includes long polling, a longer default wait time on the queue, and requiring two consecutive empty polls before stopping. Added safeguards include a reconciliation check at eleven and an alarm on the age of the oldest message.

0
IndiaTimes of India ·

Supreme Court settles long-running power dispute, allocating 11,973 MU to Himachal from Punjab and Haryana

The Supreme Court has brought an end to a decades-old dispute over electricity supply in the region. Under its ruling, Himachal Pradesh will receive 11,973 million units (MU) of power drawn from Punjab and Haryana. The decision resolves a prolonged tussle among the three states over how the power is shared. The court's order is expected to provide long-term clarity on the allocation arrangement.

0
IndiaNDTV ·

Man Sues OpenAI, Says ChatGPT Helped Estranged Wife Plan His Poisoning

A US man has filed a lawsuit against OpenAI, alleging that ChatGPT assisted his estranged wife in planning his murder. He says his suspicions were raised after he discovered a handwritten note listing various substances and dosage plans. Some entries on the note were reportedly labelled as "lethal." The man believes his wife, Cheryl Gates, was attempting to poison him. The allegations are contained in the lawsuit and have not been tested in court.

0
IndiaNDTV ·

Trump Holds Call With Qatar's Emir on Iran Conflict and Diplomacy

US President Donald Trump spoke by phone with the Emir of Qatar, who is acting as a mediator in the Iran conflict. The two leaders discussed the ongoing hostilities during the call. According to the reported remarks, the Emir stressed the need to keep dialogue open and to rely on diplomatic channels to resolve disputes. The article provided only limited details beyond this, so further specifics of the discussion remain unconfirmed.

0
IndiaNDTV ·

Wall Street AI Selloff Spreads to Asia, Yet Indian Markets Hold Steady

A sharp sell-off tied to artificial intelligence stocks on Wall Street has rippled through Asian markets. Indian equities, however, have shown notable resilience despite the broader regional downturn. Analysts point to the renewed return of foreign institutional investors as a key factor supporting India's market stability. The source article does not provide further details on the specific size of the inflows or the precise trading figures. The report frames the Indian market's relative calm as a contrast to the more severe impact seen elsewhere in Asia.

0
IndiaNDTV ·

Fire Breaks Out in Four Coaches of Karmabhoomi Express in Punjab

A fire broke out in four coaches of the Karmabhoomi Express in Punjab, causing panic among passengers on board. According to sources, a short circuit is suspected to have triggered the blaze. Officials have not yet confirmed the exact cause of the fire. The source article provides limited further detail on the incident, so the full extent of the damage and any casualties remain unclear from the available information.

0
IndiaNDTV ·

Kochi assault case takes turn as doctor who was beaten now faces rape charge

A case has been registered following an allegation by a relative of an actor, who claimed that a doctor drugged her and sexually assaulted her. The development marks a twist in an earlier Kochi incident in which the same doctor was assaulted. The article text provided is brief, so further details such as the exact dates, the police investigation status, and the accused's response are not available. Authorities have yet to publicly detail the next steps in the case.

0
IndiaNDTV ·

Lashkar Reportedly Trains for Sea Operations at Pakistani Dive Site Disguised as Tourists

Sources say members of the Lashkar terrorist group are receiving training for maritime operations at a scuba diving site on an island near Karachi, Pakistan. The trainees are reportedly being presented as tourists to conceal the nature of their activities. The article is based solely on unnamed sources, and the report does not provide independent confirmation of the claims. Further details about timing, scale, or officials' responses are not included in the available text.

← NewerPage 543 of 7357Older →