SShortSingh.
0
ProgrammingDEV Community ·

Lexical Scope in JavaScript: How Variable Location Determines Accessibility

Lexical scope is a fundamental JavaScript concept where a variable's accessibility is determined by where it is declared in the source code. Inner functions can access variables from their outer (enclosing) scopes, but the reverse is not possible — outer scopes cannot reach into inner ones. JavaScript resolves variable references through a mechanism called the scope chain, searching outward from the current scope until the variable is found. Understanding lexical scope helps developers predict which parts of their code can read or use a given variable. It remains one of the foundational concepts for writing predictable and well-structured JavaScript.

0
ProgrammingDEV Community ·

ML Intern Builds Content Decay Predictor Using 79M Rows of Search Data

A machine learning intern at FlyRank developed an offline analytical pipeline designed to predict content decay before organic traffic drops, using historical search telemetry. The system processes anonymized search performance data and outputs a prioritized action queue recommending whether content should be refreshed, monitored, or expanded. The final model, a tuned Random Forest classifier, achieved a ROC-AUC of 0.750 and a Precision@50 of 0.74, far surpassing a naive recency baseline that scored just 0.24. A key architectural decision was replacing standard k-fold cross-validation with a strict chronological holdout split to prevent future data from leaking into training, making evaluation metrics more production-realistic. The builder acknowledges the model identifies statistical signals of decay but cannot account for unpredictable external events such as search engine algorithm updates or sudden shifts in user intent.

0
TechnologyArs Technica ·

Google Upgrades AI Weather Model to Boost Forecast Accuracy

Google has released an update to its AI-based weather forecasting model, improving its overall prediction accuracy. The enhancement comes through an expanded set of input data, mirroring an approach used in traditional weather modeling systems. By incorporating more diverse data sources, the model is better equipped to generate reliable forecasts. The update reflects a broader trend of AI systems increasingly competing with and complementing conventional meteorological tools.

0
WorldBBC World ·

UK sanctions West Bank settlers over ethnic cleansing claims, Israel shuts consulate

The United Kingdom has announced sanctions targeting Israeli settlers in the West Bank, with Britain's Foreign Secretary accusing them of conducting ethnic cleansing against Palestinians. The move marks a significant escalation in diplomatic tensions between London and Jerusalem. Israel responded furiously to the announcement, retaliating by closing the UK consulate in East Jerusalem. The consulate closure represents a direct diplomatic consequence of Britain's decision to impose the punitive measures. The episode signals a serious deterioration in relations between the two countries over the ongoing West Bank settlement issue.

0
IndiaNDTV ·

Tamil Nadu 2022 Minor Gang-Rape Case: One Gets Death, Two Jailed Up to 20 Years

A court in Tamil Nadu has delivered its verdict in a 2022 minor gang-rape case, handing down sentences to three convicted men. Chinnakutty has been sentenced to death for his role in the crime. Co-accused Murugesan received a 20-year prison term, while Muneeswaran was sentenced to 13 years in jail. The case dates back to 2022 and involved the gang-rape of a minor victim in Tamil Nadu.

0
IndiaTimes of India ·

Teen wins $100,000 Regeneron prize for quantum math research breakthrough

Rachel Chen, an 18-year-old student from Los Angeles, has won $100,000 at the Regeneron Science Talent Search. Her winning research builds upon a mathematical concept from 1997 involving Temperley-Lieb diagrams. Chen's work provides a visual framework for describing complex quantum particle systems and spin representations. The research could help scientists better understand relationships between different quantum-mechanical states.

0
IndiaNDTV ·

Retired IAS Officer Rakesh Mehta Found Dead at Noida Home, Suicide Note Recovered

Rakesh Mehta, a retired IAS officer from the 1975 batch, was found dead at his residence in Sector 82, Noida. Police recovered an alleged suicide note from the scene. In the note, Mehta cited mental and health issues as the reasons behind his decision. He had previously served as a top official under former Delhi Chief Minister Sheila Dikshit during the Commonwealth Games era.

0
IndiaTimes of India ·

Pentagon Set to Choose Between Boeing and Northrop for Navy's Next Stealth Fighter

The US Department of Defense is nearing a decision on a multi-billion dollar contract for the Navy's next-generation stealth fighter jet. The two contenders in the running are aerospace giants Boeing and Northrop Grumman. The new aircraft is designed to succeed the ageing F/A-18 Super Hornet, which currently serves as a core carrier-based fighter. The future jet will incorporate advanced stealth capabilities and is projected to enter active service sometime in the 2030s.

0
IndiaTimes of India ·

DU Students Protest Against VC Over Satya Niketan Building Collapse Deaths

Students at Delhi University publicly confronted Vice-Chancellor Yogesh Singh during a campus event, raising slogans demanding accountability. The protest came in the wake of a fatal building collapse at a Satya Niketan paying-guest accommodation, which claimed several student lives. Demonstrators called for structural safety audits across student housing and held a march to press their demands. Student groups have continued to question the university administration's response to safety and accommodation concerns following the tragedy.

0
IndiaTimes of India ·

Satya Niketan Students Vacate Homes After Nearby Building Collapse

A building collapse near Satya Niketan has prompted students living in the area to urgently leave their rented accommodations over safety fears. Some students have returned to their hometowns, while others have arranged temporary shelter within their college premises. Local property owners have reportedly removed paying-guest signboards, apparently to avoid regulatory attention following the incident. Volunteers have stepped in to assist with rescue efforts and distribute essential supplies to those displaced. The incident has highlighted growing concerns about the structural safety of buildings in the neighbourhood.

0
ProgrammingDEV Community ·

Engineer's AWS Lab Experiment Reveals How Easily Threat Analysis Can Go Wrong

A developer deliberately exposed a PostgreSQL database on the public internet within an AWS lab environment to simulate a cyberattack, piping VPC Flow Logs into Splunk for a partner to monitor from a security operations perspective. When reviewing the flow logs months later, the engineer discovered 28 source IP addresses in the dataset but had only documented one in the incident report — and misidentified it. The flagged IP, 10.0.1.179, was actually an internal RFC 1918 private address originating from within the engineer's own network, while a genuine external scanner at 136.35.186.87 conducting multi-port probes was overlooked entirely. Beyond the misidentification, 25 other external addresses had quietly probed 29 distinct ports — including Redis, VNC, Kubernetes, and NetBIOS — within minutes of the public IP going live, none of which were captured in the incident report. The exercise highlighted three common analytical blind spots: misreading IP address context, drawing conclusions flow logs cannot support such as authentication outcomes, and over-focusing on high packet counts while ignoring low-volume background scanning activity.

0
ProgrammingDEV Community ·

SelfCmd Tool Aims to Speed Up Server Threshold and Time-Based Policy Testing

Server administrators and software testers often face delays when validating log retention policies, storage cleanup thresholds, and device lifecycle expiration logic. Traditional methods require engineers to wait days or weeks for real time to pass, or manually adjust system clocks across multiple nodes. SelfCmd is a tool designed to automate time-shifting workflows, eliminating the need for manual clock manipulation. The platform also includes an AI-powered diagnostics engine that analyzes failure logs within seconds. Full features and documentation are available on the SelfCmd official website.

0
IndiaTimes of India ·

Weed-control flies in Montana linked to tripling of hantavirus-positive mice

A biological control effort against invasive spotted knapweed in Montana has triggered an unintended ecological chain reaction. Gall flies, introduced to curb the weed's spread, have become a key winter food source for deer mice, causing their populations to surge. The rise in deer mice numbers has corresponded with an increase in hantavirus transmission in affected areas. Regions with high knapweed density are reporting significantly more hantavirus-infected mice compared to areas with native grasslands.

0
ProgrammingDEV Community ·

How a 5-stage filter cut NVIDIA's weekly 5,718 news articles down to 161 alerts

A developer experiment tracked all news articles mentioning NVIDIA over seven days from August 30 to September 5, 2026, finding a total of 5,718 pieces — roughly 817 per day. A five-stage filtering pipeline reduced that volume to just 161 relevant alerts, or about 23 per day, by combining headline searches with canonical entity resolution. The analysis revealed that searching headlines alone captures only 29.8% of relevant coverage, while entity recognition alone missed 180 articles that explicitly named NVIDIA in their titles. Additionally, only 31.6% of all articles were in English, and about 12.5% of filtered results were near-duplicate republications of the same story. The findings, published on DEV Community, are aimed at developers and analysts who want to build more reliable, low-noise company news monitoring tools.

0
ProgrammingDEV Community ·

IonQ Study: 20,000 Qubits Could Break Bitcoin Encryption Within 26 Days

IonQ researchers have published what they call the first complete, end-to-end resource estimate for breaking Bitcoin's secp256k1 elliptic-curve cryptography using a fault-tolerant quantum computer. The study concludes that approximately 19,397 physical qubits — far fewer than previously thought — would be sufficient to crack the encryption in under 26 days using an optimized version of Shor's algorithm. The team's approach, built on the Walking Cat trapped-ion architecture with quantum error-correction codes, maps every operation to actual hardware primitives rather than relying on theoretical approximations. IonQ's own hardware roadmap targets systems of this scale by 2028, pushing earlier 2030s timelines significantly forward and raising urgent concerns for blockchain security. The findings have drawn attention from both private industry and governments, accelerating efforts to develop quantum-resistant cryptographic standards.

0
SportsESPNcricinfo ·

Anderson and Balderson Strike to Leave Gloucestershire Reeling at Six Down

Lancashire's James Anderson and George Balderson combined effectively with the ball to put Gloucestershire under pressure in their County Championship clash. Gloucestershire were left six wickets down at stumps despite significant disruption from rain, with 35 overs lost during the day's play. The visitors struggled to build momentum against the Lancashire bowling attack despite the weather-affected conditions. The result of the truncated day's play left Gloucestershire in a precarious position heading into the next day's play.

0
SportsESPNcricinfo ·

Andersson's unbeaten 129 keeps Kent's promotion hopes alive against Derbyshire

Kent's Felix Andersson scored an unbeaten 129 to anchor his side's innings and sustain their push for promotion in the County Championship. Derbyshire made a strong start to the match when Hasan Mahmud took wickets with the very first two deliveries of the game. Despite the early setback, Kent managed to recover and rebuild their innings, largely due to Andersson's resilient knock. The match represents a crucial fixture for Kent as they look to secure promotion in the county cricket standings.

← NewerPage 892 of 4744Older →