SShortSingh.
0
ProgrammingDEV Community ·

JSLab adds npm package install, type support, and quick fixes for missing imports

JSLab, a JavaScript and TypeScript scratchpad for macOS, lets users open a package sheet with ⌘I to search the npm registry and add packages by name or exact version. Installed packages are shared across all tabs, so an import added in one tab works in others without a restart, and the editor reads their types for autocomplete and type-checking. When an import is missing, the editor flags it with a quick fix to install the package, and browser tabs show an install button that reruns the code once installation finishes. The sheet also tracks installed and latest versions with update and removal options, while install scripts are blocked by default and JSLab uses its own .npmrc file for registry settings. JSLab is set to launch on November 15.

0
ProgrammingDEV Community ·

Perché du e il Finder mostrano dimensioni diverse per la stessa cartella

Lo stesso percorso può risultare con dimensioni diverse in du -sh e nel Finder perché misurano aspetti differenti: la lunghezza dei file oppure lo spazio effettivamente occupato sul disco. Quando il disco si riempie conta soprattutto il secondo valore, e calcolarlo correttamente va oltre la semplice somma di st_size. I file piccoli occupano comunque un blocco intero, mentre i file sparsi riservano una lunghezza elevata usando blocchi solo per le parti scritte. Per evitare conteggi errati, lo scanner descritto non segue i collegamenti simbolici, non attraversa i dischi montati e conta una sola volta gli hard link. I cloni APFS restano il caso più difficile, perché condividono blocchi con l'originale e il conteggio basato sui blocchi può sovrastimare lo spazio recuperabile.

0
ProgrammingDEV Community ·

WeChat Red Packets Drove Bank-Card Binding Surge During 2014 Lunar New Year

In late 2013, Alipay dominated Chinese digital payments while WeChat Pay was only months old and most users had no reason to link a bank card. A nine-person WeChat team built a lightweight HTML5 red packet feature in about two weeks. During the 2014 Spring Festival, it sparked a wave of voluntary bank-card bindings without any user subsidies. The feature borrowed the traditional Lunar New Year custom of giving cash in red envelopes, and its random-split group version kept chats engaged. The approach drew praise from Alibaba founder Jack Ma, who called it a flawlessly executed surprise attack.

0
IndiaNDTV ·

Rubio Denies Report He Plans to Exit Trump Administration for 2028 Run

US Secretary of State Marco Rubio has rejected reports that he intends to leave the Trump administration. The reports suggested he was weighing his next steps following Republican losses in the midterm elections. According to The New York Times, Rubio dismissed the claims on Thursday. The report had linked his possible departure to a potential 2028 presidential bid. The denial places Rubio's future plans in question amid ongoing political speculation.

0
ProgrammingDEV Community ·

Go Tenant Password Reset Emails: Template Design and Evidence Retention in 2026

The article argues that a property-management password reset email should rely on one application-owned recovery template paired with a separate audit record, avoiding duplicate stored email bodies that cost extra storage. It proposes that the email identify the service, state the requested action, include a controlled recovery link, explain validity and single-use behavior, and direct unrecognized requesters to support. The author stresses that these are application requirements rather than fields mandated by an email standard. Delivery events and template versions should be retained as evidence, while the usable recovery secret must be excluded from that evidence. The piece also notes that compliance notice service rules must be determined separately, and that the recovery email should never contain a password or ask recipients to send one.

0
StartupsProduct Hunt ·

Instagram Launches Edits App Feature for Desktop Users

A Product Hunt post highlights the arrival of Instagram Edits for desktop, bringing the video-editing capabilities to a larger screen. The listing includes a discussion thread and a link for readers to explore the tool. The source material offers few specifics beyond the headline, so details such as the exact release date and full feature set are not confirmed here. The announcement reflects Instagram's ongoing effort to extend its creative tools beyond mobile devices.

0
ProgrammingDEV Community ·

CSS Pixels vs Device Pixels: Why Layouts That Look Fine Locally Still Break

Many layout bugs stem from mismatches between the viewport a developer designs on and the one users actually have. Physical screen resolution does not map directly to CSS viewport width, because operating system scaling and device pixel ratio change the usable layout area. For example, a 4K panel at 200% scaling offers the same CSS width as a 1080p screen. The article recommends logging window.innerWidth, innerHeight, and devicePixelRatio across devices to see these differences. It also proposes testing against five repeatable viewport profiles and recording the viewport alongside every bug screenshot.

0
ProgrammingDEV Community ·

Critical OpenSSH and musl leak puts Alpine, OpenWrt and Docker systems at risk

A DEV Community article reports a critical vulnerability involving OpenSSH combined with the musl C library. The piece urges administrators to protect systems running Alpine Linux, OpenWrt and Docker. The provided text is truncated, so the technical details of the leak, its exact impact, and any available patches cannot be confirmed from the source. Readers should consult the full article and official advisories for specifics and mitigation steps.

0
ProgrammingDEV Community ·

Applied Materials to report fiscal Q4 2026 results on November 12 amid steep share decline

Applied Materials will hold its fiscal fourth-quarter 2026 earnings call on Thursday, November 12, after the market closes, with the call starting at 1:30 p.m. Pacific. Analysts expect revenue of about $10.30 billion and non-GAAP earnings near $4.06 per share, slightly above the midpoint of the company's own guidance. The company has beaten its revenue guidance midpoint modestly in each of the last three quarters, though its stock has often fallen after reports, including a 14.1% drop in August 2025. Shares closed at $319.25 on November 5, down 13.6% that day alongside other chip-equipment stocks, and sit roughly 56% below their June 30 record close.

0
ProgrammingDEV Community ·

Visualizing if and else if: How JSVisualizer's Control Flow View Shows Which Branch Runs

A new tutorial in a series on classic algorithms uses JSVisualizer, a free browser tool, to explain how if, else if, and else conditionals execute. Its Control Flow view draws branches as a flowchart and highlights the paths a program actually takes, with counts showing how often each row ran. Using a grade-assigning example, the article shows that an else if is only checked when the preceding conditions are false, so exactly one branch runs. It then demonstrates that swapping condition order can make a branch unreachable, so the program can never produce an A.

0
IndiaNDTV ·

India Plans to Clear Its Orbital Debris by 2030 Under 'Swachh Space' Initiative

The Indian government has outlined a plan, called 'Swachh Space,' to clean up orbital debris by 2030. According to official figures, India currently tracks 129 debris objects in orbit that originate from its own space activities. The initiative aims to reduce the growing risk that discarded objects pose to operational satellites and future missions. Details of the specific cleanup methods and timelines are part of the broader plan being pursued through 2030.

0
ProgrammingDEV Community ·

OpenSSH Flaw in musl-Based Systems Exposes Alpine, OpenWrt and IoT Devices to Credential Theft

A memory-handling bug in the musl-specific OpenSSH code path, tracked as CVE-2026-YYYY, affects systems that run OpenSSH built against musl libc, including Alpine Linux, OpenWrt, and some IoT firmware. Searches for the flaw surged more than 300 percent within hours of its disclosure, and the vulnerability is being actively exploited by a scanner that can leak private keys in about two seconds. The issue sits in the user-space OpenSSH binary rather than the kernel, so containers remain exposed even on fully patched hosts. Guidance published alongside the disclosure includes detection scripts, temporary hardening steps such as disabling password authentication and TCP forwarding, and recommendations to deploy a patched package as soon as one is available.

0
ProgrammingDEV Community ·

Local LLMs vs Cloud AI: How Small Businesses Can Choose the Right Option

Small businesses now face a central decision between cloud AI services such as ChatGPT and Claude and running language models locally on hardware they own. The choice involves trade-offs in privacy, cost, performance, and day-to-day operational complexity. The article explains that cloud models process prompts on third-party servers, which can expose data to provider staff, logs, legal requests, and policy changes. Local deployment keeps all processing on firm-controlled hardware, which suits businesses handling regulated or confidential information. The piece argues that the right choice depends on specific circumstances rather than general hype, and that cost comparisons should account for all expenses beyond subscription fees.

0
TechnologyThe Verge ·

OpenAI Drops NDAs With Public Officials for Data Center Projects

OpenAI announced new commitments to communities hosting its data center projects, following voter opposition to data center expansion in this week's midterm elections. As part of the pledge, the company says it will not use non-disclosure agreements with public officials. Such NDAs have drawn criticism because they shielded discussions between developers and local governments from public view. OpenAI says it will now limit confidentiality protections to legitimate security information, trade secrets, and proprietary or competitively sensitive information. The article also notes that Amazon had made a similar move in October.

0
IndiaTimes of India ·

Dhanteras 2026: Traditions, Rituals and Wishes Shared Across India

Dhanteras opens the five-day Diwali festival, marked by long-standing customs across India. Families clean their homes thoroughly and buy valuables such as gold and cooking utensils. The day is dedicated to worshipping Goddess Lakshmi and Lord Dhanvantari, which are associated with wellbeing and prosperity. People also mark the occasion by exchanging greetings and quotes with loved ones, reflecting hope and new beginnings.

0
IndiaTimes of India ·

'Ramayana' Opens to Rs 64.85 Crore Net in India, Short of Rs 100 Crore Projection

Nitesh Tiwari's film 'Ramayana: Rise of a Legend' earned Rs 64.85 crore net in India on its first day of release. Strong advance bookings had been reported ahead of the release. The total fell short of the Rs 100 crore opening that had been anticipated. Hindi-language screenings accounted for the largest share at Rs 47.50 crore, with other language versions contributing differently. Overseas, the North American opening also came in below early expectations.

0
ProgrammingHacker News ·

Major Investors Doubt Anthropic's IPO Can Reach a $1.5 Trillion Valuation

Some major investors are reportedly skeptical that Anthropic's planned initial public offering could achieve a valuation of $1.5 trillion. The report, published by the Wall Street Journal, was shared on Hacker News, where it drew modest attention. The available source material includes only the article link and discussion metadata, so the specific reasoning behind the investors' doubts is not described here. Readers seeking details on investor concerns or valuation methodology would need to consult the full Wall Street Journal article.

0
IndiaTimes of India ·

India's young racers aim for F1 as funding and track access remain hurdles

Saishiva Sankaran and Viswas Vijayaraj highlight the difficulties Indian drivers face in building a motorsport career, including scarce testing opportunities and financial pressures. Both also note the challenge of juggling education with the demands of competitive racing. Their ambition is to reach Formula 1, and they argue that Indian drivers need stronger backing to compete internationally. Their comeback to the Buddh International Circuit also revives memories of India's earlier period in Formula 1.

0
BusinessEconomic Times ·

Festive stocking lifts TReDS invoice volumes by 36%

Trade receivables discounting platforms, known as TReDS, recorded a 36% rise in transaction volumes as businesses built up inventory ahead of the festive season. The increase reflects greater use of the platforms by suppliers seeking faster payment on their invoices. Retailers and distributors stocking up for peak demand appear to have driven much of the growth. The rise points to stronger short-term liquidity needs among micro, small and medium enterprises during the period. Further details beyond the reported figure were not included in the source material.

← NewerPage 563 of 7358Older →