SShortSingh.
0
ProgrammingDEV Community ·

Using If-Match with ETags to stop stale edits overwriting newer changes

When two editors change the same settings page, an unconditional save can let the later request silently restore older data. A strong ETag sent with an If-Match header lets the server apply an update only if the client's copy is still current. A mismatch returns 412 Precondition Failed, prompting the editor to reconcile rather than overwrite. The article includes a sample HTTP exchange, a small Node.js model demonstrating the rule, and a note that weak tags cannot satisfy If-Match. It also warns that checking the version and writing in separate steps can reintroduce races, so the check and update should be a single conditional database operation.

0
ProgrammingDEV Community ·

Uber Invests in Croatian Robotaxi Operator Verne, Confirmed by Its CEO

Uber, Verne and Pony.ai announced a deal in March 2026 to bring robotaxis to Europe, with Pony.ai supplying the driving technology and Verne owning and operating the vehicles. Europe's first commercial robotaxi service launched in Zagreb in April 2026 through Verne's own app, and rides were later added to Uber's app with a licensed operator on board. Driverless test rides to the airport began in September, while commercial service still kept an operator present. In October, Verne's chief executive confirmed that Uber had invested in the company, though the size of the stake was not disclosed. The article's author argues that the arrangement raises questions about how aggregators may gain influence over operators who depend on them, citing earlier Uber acquisitions in the taxi sector.

0
ProgrammingDEV Community ·

Average .com Domain Name Is About 12 Characters, New Zone Analysis Finds

A measurement of all 167 million .com domain names on 8 October 2026 found a mean length of 12.8 characters and a median of 12. The most common length is 11 characters, with about 8.3% of names sharing it. Roughly two-thirds of names fall between 7 and 15 characters, while very short names are rare. Three- and four-character names are nearly exhausted, pushing newer registrations toward longer or multi-word names. The analysis suggests aiming for 6 to 14 characters for easier typing and memorability.

0
ProgrammingDEV Community ·

Capturing a 3D product configuration as an image for customer quotes

A configurator's quote must show the exact product the customer built, so a plain spec list falls short and the rendered canvas should be captured. Calling toDataURL directly usually produces a blank image, because WebGL clears the drawing buffer after each frame. One fix is to enable preserveDrawingBuffer on the renderer, which is simple but carries a small per-frame performance cost. A better option for configurators that render only on change is to render a fresh frame and read it within the same tick. For higher-resolution output, the renderer can be temporarily resized for capture and then restored. The resulting image can be sent to a backend and included in the quote alongside the price and lead time.

0
ProgrammingDEV Community ·

FDA's AI medical device list shows authorization, not proven clinical benefit

The US FDA maintains a list of AI-enabled medical devices, which the author counted at 1,614 entries as of late October 2026, with about 76% in radiology. The FDA itself notes the list is not comprehensive, since devices were identified mainly through AI-related terms in their authorization summaries. Authorization reflects a regulatory process and does not establish that a tool improves patient outcomes in real clinical settings. The UK's NICE has placed some imaging-related AI tools, including four echocardiography tools, in an early-use category pending stronger evidence. The article argues the field's central question is shifting from whether AI works in a lab to whether it improves care in practice.

0
IndiaTimes of India ·

Georgia appeals court upholds insurer's denial of extra attic leak repair costs

A Georgia appeals court has upheld Safeco Insurance's refusal to pay more for attic water damage claimed by a homeowner. The court found the homeowner did not prove that repair costs above $112,000 were caused by the leak. It also dismissed his claims of breach of contract and bad faith against the insurer. The ruling leaves in place the $13,844 payout the insurer had already made.

0
ProgrammingDEV Community ·

क्या सिमैंटिक कोड सर्च वास्तव में grep से बेहतर है? requests पर एक माप

कोडबेस के embeddings का पारंपरिक डेमो अक्सर वह सवाल चुनता है जहाँ वेक्टर सर्च आसानी से जीत जाए, लेकिन लेखक ने psf/requests रिपॉज़िटरी पर दस सवालों के साथ परीक्षण किया जहाँ grep कुछ नहीं लौटाता। परीक्षण में 200 से कम पंक्तियों वाली Python पाइपलाइन का उपयोग हुआ, जिसे 8 GB के M1 Mac पर केवल CPU से चलाया गया। नतीजों में अकेले embeddings ने दस में से चार सवालों का सही हिस्सा शीर्ष पाँच में पाया, जबकि सादी कीवर्ड रैंकिंग ने छह को खोजा। दोनों को मिलाने पर शीर्ष दस में सात सही परिणाम मिले, और टेस्ट व डॉक्स को छोड़ने पर नौ। लेखक ने फ़ाइलों को लगभग 700 टोकन के टुकड़ों में बाँटने की प्रक्रिया और कोड के टोकनीकरण से जुड़ी चुनौतियाँ भी समझाई हैं।

0
ProgrammingDEV Community ·

PostgreSQL LISTEN/NOTIFY Benchmarked to Measure Its Speed

A DEV Community post by Wojciech Wentland examines how fast PostgreSQL's LISTEN/NOTIFY feature performs. The author set out to measure its throughput and latency through a series of benchmarks. The article is tagged with postgres, dotnet, performance, and database, suggesting a focus on .NET applications using the database. The provided text is a short excerpt, so the specific benchmark methods and results are not included here.

0
ProgrammingDEV Community ·

Slow Wi-Fi? Ten Fixes That Often Solve It Without Buying New Gear

Slow home internet is frequently caused by the home setup rather than the provider's plan, according to a guide that walks readers through ten troubleshooting steps. It recommends running speed tests both near the router and in the slowest room, and testing with a wired connection to separate line problems from coverage problems. Other suggested fixes include restarting the router, placing it high and in an open central spot, and choosing between the faster 5 GHz and longer-range 2.4 GHz bands. The guide also advises updating router firmware and reviewing connected devices and security settings to remove unknown users.

0
ProgrammingDEV Community ·

How to Cut Down Spam Calls and Robocalls on iPhone and Android

Robocalls are cheap to run, and scammers can fake caller ID to make calls look local, so most people get them regardless of who they are. Answering even once can mark your number as active and bring more calls. Registering with the US FTC Do Not Call Registry or the UK Telephone Preference Service, both free, stops legitimate telemarketers, though not criminals. iPhone and Android users can silence unknown callers, block specific numbers, and turn on built-in spam filters that improve as more calls are reported. Carrier-level filtering from providers in both countries can add further protection.

0
IndiaTimes of India ·

Bomb threat email names Bombay HC, BSE and Amitabh Bachchan's Jalsa; probe underway

A bomb threat email was sent to the Bombay High Court, triggering security concerns across Mumbai. The message also referred to the Bombay Stock Exchange and Mahalaxmi Racecourse as places of concern. Bollywood actor Amitabh Bachchan's residence, Jalsa, was named among the potential targets. Authorities are assessing how credible the threat is and deciding on the appropriate response. Official updates on the situation are expected soon.

0
IndiaNDTV ·

AI Demand Fuels Competition in Semiconductor Chip Packaging

Growth in artificial intelligence is driving expansion across the semiconductor industry. Chip packaging, the stage where processors are assembled and connected, is becoming increasingly competitive as a result. Taiwan's TSMC, the world's largest contract chipmaker, currently holds a dominant position in the most advanced packaging techniques. Among these is chip-on-wafer-on-substrate, known as CoWoS, which is widely used for high-performance chips. The rising competition reflects how AI's needs are reshaping the market for packaging technology.

0
IndiaNDTV ·

AIADMK Leader Arrested Over Alleged Rs 30 Crore Bribe Offer to TVK MLA

An AIADMK leader has been arrested for allegedly attempting to offer Rs 30 crore to a TVK MLA. Authorities are currently moving quickly to produce him before a magistrate to seek remand. The article provided is brief, so further details about the timing, location, and specific circumstances of the alleged offer are not available. The case is expected to proceed through the court process following the arrest. Further developments are awaited as the legal proceedings begin.

0
IndiaTimes of India ·

Gill Says NZ ODIs Are Key Preparation for 2027 World Cup Plans

India captain Shubman Gill has stressed how important the ODI series against New Zealand is as preparation for the 2027 World Cup. He has arrived early so the team can adapt to conditions similar to those expected in the tournament. India currently leads the series and is looking to secure a win in Wellington. New Zealand, meanwhile, is aiming for a strong comeback in the remaining matches.

0
Crypto & Web3CoinDesk ·

Greece approves 10% crypto gains tax and 15% levy on DeFi income

Greece has approved new tax rules that set a 10% rate on cryptocurrency gains and a 15% levy on income from decentralized finance (DeFi). Investors will be given 12 months to declare past crypto gains without incurring late-filing penalties. The article notes that questions remain unresolved about how crypto-to-crypto swaps will be treated under the new framework. The source reporting this is CoinDesk, and the details provided are limited to the tax rates, the declaration window, and the open questions on swaps.

0
IndiaNDTV ·

How the Booker Prize Is Judged: Panel Expands Beyond Novelists and Critics

The Booker Prize has widened its panel of judges to include people outside traditional literary circles, such as the musician Cocker and actor Sarah Jessica Parker. The change reflects an effort to broaden the perspectives involved in selecting the winning novel. The article focuses on how the months-long selection process works, as explained by the judges themselves. It draws on comments from the panel to describe how the choice of winner is reached. The piece is published by NDTV.

0
IndiaTimes of India ·

Sensex jumps over 1,000 points as Nifty climbs above 24,700 on Diwali-day trading

Indian benchmark indices rallied sharply during Diwali-day trading, with the BSE Sensex rising more than 1,000 points to around 80,336 by 1:36 PM. The Nifty50 gained over 200 points to trade near 24,747, a rise of about 0.86 percent. The move came even as global equities came under pressure amid waning enthusiasm for artificial intelligence stocks. Reports linked the sell-off abroad to political developments in the United States following the midterm election results.

0
IndiaNDTV ·

Pakistan's Anti-India Stance Reportedly Cost It an Estimated $40 Billion

An NDTV opinion piece argues that Pakistan's hostility toward India has carried a heavy economic price. It states that suspending trade with India in 2019 caused the country estimated losses of about $40 billion. Businesses reportedly faced higher sourcing and logistics costs after being forced to import goods from more distant markets. The piece frames these outcomes as the consequence of a policy driven by antagonism toward India. The figures are presented as the author's assessment rather than an official accounting.

← NewerPage 144 of 6953Older →