SShortSingh.
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.

0
IndiaNDTV ·

Kerala Court Says Public Sentiment Cannot Determine Bail in Mini Cooper Crash Case

A Kerala court has ruled that public opinion cannot dictate decisions on bail. The ruling came in a case involving a Mini Cooper crash that drew wide public attention. Reports said the accused, identified as Suhail, allegedly told police after the accident, "What are roads meant for? Driving, right?" Those reported remarks fueled strong public reaction to the incident. The court's position underscores that bail decisions must rest on legal considerations rather than popular sentiment.

0
IndiaNDTV ·

Could AI Development Slow After a Blue Sweep? Experts Weigh In

A possible change in Washington's approach to AI regulation has prompted questions about how fast the technology will keep advancing. The debate centers on whether new political leadership could bring tighter oversight. Despite this uncertainty, AI companies are still pouring billions of dollars into infrastructure and development. The original report, sourced from NDTV, includes commentary from experts on what such a policy shift might mean for the industry. The article does not confirm that development will slow, leaving the outcome unresolved.

0
IndiaTimes of India ·

Supreme Court Issues Notice to Kerala Congress Over Remarks on CJI Post

The Supreme Court has issued a notice to the Kerala Congress over comments made concerning the Chief Justice of India position. The court indicated it would act firmly against the party in response to the remarks. The notice requires the party to respond to the court's concerns. The development has drawn attention to the limits of public commentary on the country's highest judicial office. Further proceedings are expected once the party submits its reply.

0
IndiaNDTV ·

India-Born Saba Haider Wins Seat in Illinois General Assembly in US Midterms

Saba Haider, who was born in Ghaziabad, Uttar Pradesh, has been elected to the Illinois General Assembly. Her election is being described as a historic milestone in the US midterm elections. In an interview with NDTV, she spoke about her unusual path from India to American state politics. The report highlights the personal journey behind her rise to public office. Further details of her campaign and policy priorities were not included in the source excerpt.

0
IndiaTimes of India ·

Supreme Court declines to suspend Tarun Tejpal's 10-year jail term in 2013 Tehelka rape case

The Supreme Court has refused to stay the 10-year prison sentence handed to former Tehelka editor Tarun Tejpal in the 2013 rape case. The case stems from an alleged sexual assault of a junior colleague at an event organised by the magazine. Tejpal had sought a suspension of the sentence while his appeal is pending before the court. The apex court's decision means he will remain bound by the conviction during the appeal process. The ruling was delivered in response to his plea challenging the lower court's verdict.

← NewerPage 143 of 6952Older →