SShortSingh.
0
ProgrammingHacker News ·

NASA lets public claim a unique sky coordinate via Roman Space Telescope campaign

NASA has launched an interactive campaign tied to its upcoming Nancy Grace Roman Space Telescope, allowing members of the public to enter their name and receive an exclusive coordinate in the universe. The initiative, called 'Adopt a Pixel,' assigns each participant a specific point in the sky that the Roman telescope will eventually observe. The program aims to build public engagement ahead of the telescope's planned launch. Roman is a wide-field infrared space observatory designed to survey large portions of the sky, making the pixel-adoption concept feasible at scale.

0
IndiaTimes of India ·

Colorado couple's ranch restoration boosts bird species count from 29 to 37

Lance and Lisa Wheeler have turned their Colorado ranch into a thriving habitat for grassland birds since 2019. The couple adopted innovative farming techniques and adaptive grazing strategies to support wildlife diversity. Their efforts have resulted in the number of detected bird species rising from 29 to 37. The ranch's Bird-Friendliness Index also recorded a 26% increase, reflecting measurable conservation gains. The Wheelers' approach demonstrates how livestock management and environmental stewardship can be successfully combined.

0
ProgrammingDEV Community ·

AI Camp Participant Reflects on Prompt Writing: Direct vs Meta-Prompting

A participant in an AI Native career camp shared reflections after one month of training focused on improving AI literacy through prompt engineering theory and practice. The camp involved both individual and group exercises, including refining vague instructions using four elements: role, context, instruction, and format. The participant had relied heavily on meta-prompting — instructing AI to generate prompts itself — but began questioning whether this approach was genuinely building personal AI skills. Comparing direct prompt writing with meta-prompting, they found both methods produced similarly adequate results when context was clearly defined, suggesting that specificity of the four elements matters more than the writing method chosen. The key takeaway was that the best prompting approach depends on the situation, with meta-prompting suited for speed and direct structured prompting preferred when output quality is the priority.

0
IndiaTimes of India ·

Taiwan Man Wins Divorce Case Using Robot Vacuum Footage, Then Gets Jailed for It

A man in Taiwan used footage captured by his robot vacuum's camera to expose his wife's alleged affair while he was away on vacation. He successfully presented the recordings in court and was awarded compensation for emotional distress. However, his wife filed a counter-lawsuit, arguing the recordings were made without her knowledge or consent. The court ruled that the husband had violated his wife's privacy rights and sentenced him to imprisonment. The unusual legal battle left the husband both financially compensated and criminally convicted.

0
ProgrammingDEV Community ·

How HTML Tags <ins>, <del>, and <s> Can Improve E-Commerce Accessibility

Three HTML tags — <ins>, <del>, and <s> — serve distinct semantic purposes for marking inserted, deleted, and outdated content respectively, making them especially useful in e-commerce contexts such as displaying sale prices. While <del> and <ins> carry accessibility roles mapped to 'deletion' and 'insertion' under W3C standards, screen reader support remains inconsistent across browser and assistive technology combinations. For example, VoiceOver with Safari on iOS and NVDA with Firefox announce these changes natively, whereas VoiceOver on macOS and NVDA with Chrome do not. Developers are advised to supplement these tags with visually hidden descriptive text using a CSS utility class like .sr-only to ensure all users receive meaningful context. Natural phrasing such as 'previous date' and 'new date' is recommended over generic labels like 'deletion' or 'insertion' to produce clearer, more coherent screen reader output.

0
IndiaTimes of India ·

Lionel Messi Announces Second International Retirement from Argentina

Lionel Messi has officially announced his second retirement from international football, marking the close of a storied career with the Argentine national team. The decision comes on the heels of a highly successful period in which Messi helped Argentina claim major international trophies. In his departure statement, Messi expressed gratitude toward the national setup and acknowledged the rise of new talent ready to carry the team forward. His exit is widely regarded as the end of a defining era in Argentine football history.

0
IndiaTimes of India ·

Centre sells onions at Rs 35/kg across 19 cities to ease supply concerns

The Indian government has expanded its subsidised onion sale programme to 19 cities, offering onions at Rs 35 per kilogram, significantly below prevailing retail prices. The move comes amid concerns over onion supply and rising prices across the country. In Delhi, mobile vans have been deployed across all 13 districts to distribute the affordably priced onions to residents. The intervention is aimed at keeping essential food items accessible to the general public. Authorities say they are actively monitoring availability and prices to prevent shortages from worsening.

0
SportsESPNcricinfo ·

Ben Stokes signs full-season deal with Adelaide Strikers in BBL

Former England captain Ben Stokes has signed with the Adelaide Strikers for the upcoming Big Bash League season. The deal is reported to be a high-value contract, reflecting Stokes' status as a marquee signing. Stokes retired from international cricket in June, making him available for a full domestic season commitment. His participation for the entire BBL season marks a significant addition to the Adelaide Strikers' roster.

0
IndiaTimes of India ·

Mamata Banerjee's 28-year-old niece found dead at Birbhum home, suicide suspected

Bristi Mukherjee, a 28-year-old relative of West Bengal Chief Minister Mamata Banerjee, was found dead at her residence in Birbhum on Tuesday. She was discovered hanging in her room, and authorities are currently treating the case as a suspected suicide. The body has been sent for a post-mortem examination to determine the exact cause of death. Reports indicate that Mukherjee had been going through divorce proceedings and was dealing with depression. Police have launched further inquiries to fully establish the circumstances of her death.

0
IndiaNDTV ·

Iran Divided on Path Forward Six Months Into Ongoing War

Six months into the war, Iran finds itself deeply split over its next course of action. One faction is pushing for diplomatic negotiations and a potential settlement with the United States. Meanwhile, hardline elements within the country are firmly opposed to any compromise, advocating continued resistance. The internal divide reflects growing tension over how Iran should navigate its prolonged conflict. No resolution to the debate has been reached as both sides hold firm to their positions.

0
ProgrammingDEV Community ·

How Client Islands Pattern Solves WebSocket Challenges in Next.js App Router

The shift to React Server Components and the Next.js App Router has improved performance and SEO, but creates friction when developers need to integrate real-time, bidirectional data streams. A recommended approach called 'Client Islands' isolates WebSocket logic into small, focused client-side leaf components, preventing server bundles from being bloated by heavy socket libraries. Developers can use React's useEffect hook alongside data-fetching libraries like TanStack Query or SWR to manage connections and update the UI without disrupting the server-rendering flow. For deployment, options range from managed services like Ably or Pusher to self-hosted Node.js servers, though persistent connections remain a known challenge on serverless platforms. Best practices include using short-lived authentication tokens, implementing exponential backoff to handle network instability, and re-validating cached data upon reconnection to keep client and server states in sync.

0
IndiaNDTV ·

Israeli Ex-Generals Accuse Settlers of Ethnic Cleansing in West Bank

A former Israeli general has raised serious allegations of ethnic cleansing against Jewish settlers operating in the West Bank. The ex-general personally witnessed the aftermath of a looted Palestinian school, reportedly ransacked by settlers. He also spoke directly with Palestinian farmers and shepherds who described being beaten and threatened by settlers. The accounts paint a troubling picture of settler violence targeting Palestinian civilians and their livelihoods.

0
ProgrammingDEV Community ·

Hidden bug in CLI tool only emerged when new adapters started returning real data

A software bug in a CLI tool called 'gx' went undetected for an extended period because both sides of a key data comparison were consistently returning the same placeholder value by coincidence. The flaw resided in a function called Engine::rehydrate_committed, which was responsible for rebuilding transformation data from a journal during undo operations but used a hardcoded placeholder instead of reconstructing the 'target' field. The bug only surfaced after two new adapters, 'fs' and 'git', were shipped and began populating the target field with real values, causing cold-process undo operations to fail with an internal error. An initial fix resolved the undo failure but broke redo functionality by incorrectly re-deriving a prediction for rows that were never meant to have one. The final solution distinguished between the two cases using existing data — specifically, whether a row had empty or non-empty parent records — requiring no schema changes.

0
ProgrammingDEV Community ·

How a Fintech Team Cut Kafka Consumer Lag and Reduced Latency by 35%

A fintech engineering team overhauled their Spring Boot Kafka consumer configuration to address throughput bottlenecks under peak loads. The default Spring Kafka setup uses a concurrency of 1, which causes message backlogs when partition volumes spike. Their solution involved setting container concurrency to 6 to match partition splits and switching to manual acknowledgment mode for more reliable, atomic message handling. Failed messages are routed to a Dead Letter Queue to prevent processing pipelines from stalling. The team reports the changes reduced API processing latency by 35% in their production environment.

0
ProgrammingDEV Community ·

Dev builds zero-dependency JSON parser in Rust, exposes stdlib validator gaps

A developer spent a weekend building a fully RFC 8259-compliant JSON toolkit in Rust called jaq-lite, using absolutely no third-party libraries. The project revealed that roughly 10% of JSON values the spec requires parsers to reject — including NaN, Infinity, and leading zeros — are silently accepted by Rust's standard f64 and i64 parsers. Testing against the JSONTestSuite conformance corpus confirmed 19 of 47 invalid number cases passed through Rust's built-in parsers without error. Similar non-conformance was found in Python's json module, which accepts NaN and Infinity by default, and in JavaScript's Number() function, which accepts hex, octal, and binary literals. The findings highlight that standard library parsers are general-purpose tools, not JSON validators, and developers should not rely on them for strict format compliance.

0
TechnologyThe Verge ·

Dyson launches $499 CameraJet toothbrush with built-in camera and AI flossing

Dyson has entered the oral care market with the CameraJet, its first electric toothbrush featuring a built-in camera in the brush head. Priced at $499, the device is available in ceramic blue and ceramic pink and went on sale today. The toothbrush livestreams video of the mouth over Wi-Fi to a paired smartphone, allowing users to inspect their teeth in real time. An AI algorithm uses the camera feed to detect gaps between teeth and automatically directs mouthwash jets to floss those areas simultaneously while brushing. The CameraJet marks a significant expansion of Dyson's personal care product lineup beyond its established hair care range.

← NewerPage 746 of 4201Older →