SShortSingh.
0
ProgrammingDEV Community ·

How to Set Up ESP32 Development with ESP-IDF and VS Code

A step-by-step tutorial published on DEV Community guides developers through setting up an ESP32 development environment using Espressif's ESP-IDF framework in Visual Studio Code. The process begins with downloading and running the ESP-IDF Installation Manager (EIM), a graphical tool provided by Espressif Systems that simplifies framework installation on Windows and Linux. Developers then install the official ESP-IDF extension by Espressif Systems in VS Code, which acts as a high-level wrapper to handle tasks like compiling code without directly invoking ESP-IDF commands. A new project is created via the VS Code command palette using the ESP-IDF: New Project command, with users selecting the sample_project template and configuring target settings for the ESP32 board. The tutorial aims to help developers move beyond Arduino-based workflows and adopt the more powerful native ESP-IDF toolchain.

0
IndiaTimes of India ·

Sumeet Sachdev Returns as Gautam Virani in Kyunki Saas Bhi Kabhi Bahu Thi Reboot

Actor Sumeet Sachdev is set to reprise his role as Gautam Virani in the reboot of the iconic Indian TV drama Kyunki Saas Bhi Kabhi Bahu Thi. The actor has spoken about the challenges of stepping back into a character that holds a special place in audiences' hearts. According to Sachdev, Gautam Virani has grown over time, now portrayed as a more mature and seasoned individual. The show also marks his reunion with Smriti Irani, who was central to the original series. Sachdev credited the long-running show with teaching him valuable lessons about the significance of family and relationships.

0
ProgrammingDEV Community ·

How GitHub Copilot Spending Limits Work — and Why They Often Miss the Mark

GitHub Copilot spending limits are monthly caps set in billing settings that control metered AI credit usage for enterprises, organizations, cost centers, or individual users. A critical default setting means enterprise, organization, and cost center budgets function only as alerts unless the 'Stop usage when budget limit is reached' option is manually enabled. Spending limits do not apply to seat costs, which are license-based and billed separately, meaning a $5,000 budget on top of $7,600 in seat fees results in a potential $12,600 bill, not $5,000. User-level budgets — universal, cost-center, and individual — always enforce a hard stop and follow a hierarchy where the most specific setting takes precedence. Organizations and finance teams unaware of these distinctions risk unexpected overages, as charges can continue accruing past a set limit if the enforcement checkbox is left off.

0
ProgrammingDEV Community ·

How to Replace All String Occurrences in an XML File Using sed on Linux

At xFusionCorp Industries, the Stratos Datacenter hosts a jump server containing template XML files used by the Nautilus application that must be prepared before deployment. System administrators are required to replace every instance of the string 'Text' with 'Echo-Location' inside the file located at /root/nautilus.xml. The recommended approach uses the sed command with the -i flag to perform an in-place, global substitution directly on the file. A safer alternative involves creating a backup copy first using the -i.bak option before applying changes. After the substitution, administrators can verify results using grep to confirm no original strings remain and count the number of successful replacements.

0
IndiaTimes of India ·

Kaif: Kohli's absence cost India focus in Colombo Test draw against Sri Lanka

Former Indian cricketer Mohammad Kaif criticized India's performance in the recently concluded Test match in Colombo, saying the team lacked intensity. Kaif suggested that Virat Kohli's presence in the playing XI could have improved the team's competitive edge. Sri Lanka managed to hold India to a draw, denying them a crucial victory. The result has complicated India's path to World Test Championship qualification, with seven matches remaining that will demand a strong turnaround.

0
ProgrammingDEV Community ·

Ripple, crypto regulation, and Fed policy highlight digital asset sector's triple challenge

The digital asset ecosystem is simultaneously navigating three major pressures: quantum computing threats, regulatory fragmentation, and macroeconomic sensitivity. Ripple is pursuing a four-phase plan to make the XRP Ledger quantum-resistant, addressing the theoretical 'Q-Day' risk when sufficiently powerful quantum computers could break current public-key cryptography. On the regulatory front, a federal appeals court ruling involving prediction market platform Kalshi has created a circuit split over whether such platforms fall under federal CFTC oversight or state-level gambling laws, clouding the sector's legal outlook. Meanwhile, Bitcoin's price retreated following hawkish remarks by Fed Chair Kevin Warsh at Jackson Hole, underscoring how deeply crypto markets are now tied to traditional monetary policy signals. Together, these developments reflect an industry striving to mature across technical, legal, and macroeconomic dimensions at once.

0
ProgrammingDEV Community ·

Power Users Turn on AI Coding Tools Over Billing, UI Chaos and Hidden Nudges

Developers on Hacker News spent the past week airing specific, technical grievances about AI coding assistants — not about AI safety, but about cost, interface instability, and manipulative design. Cursor, a popular AI code editor, drew sharp criticism from users who reported unsolicited feature pop-ups, silent model switches to Grok, and a constantly shifting UI described as 'enshittification' — a term for products optimised for company metrics over user needs. A separate Cursor user noted they were paying for a subscription they no longer used because the tool offered them nothing of value, reflecting a quiet but damaging pattern of passive churn. GitHub Copilot also came under scrutiny after a developer discovered that requests labelled 'agent' rather than 'user' in network traffic did not count against premium usage quotas, raising questions about billing transparency. Taken together, the complaints point to growing frustration among heavy AI tool users with opaque pricing, eroding trust, and products that increasingly feel designed to serve vendors rather than developers.

0
ProgrammingDEV Community ·

AI-assisted fuzzer finds division-by-zero bug in FFmpeg using a 21-byte file

Security researcher Darío Clavijo discovered a division-by-zero vulnerability in FFmpeg using a fuzzer built with AI assistance, which he shared on Hacker News this week. The bug resides in libavformat/vpk.c, the demuxer for Sony PS2 VPK audio files, and can crash any FFmpeg-based application that processes a specially crafted 21-byte input file. The fuzzer took just over 10 hours on a single machine and ran nearly 500,000 executions before isolating the deterministic crash, which triggers when the audio channel count is set to zero at a specific byte offset. The crash occurs via a specific custom I/O path used in the fuzzer's harness, meaning standard command-line FFmpeg usage may not reproduce it identically. The vulnerability is rated medium severity — a reliable denial-of-service rather than a code-execution flaw — and the proposed fix involves a two-line guard on the channel count variable.

0
ProgrammingDEV Community ·

UwView Pro vs Klogg: Benchmark Shows 50,000x Faster Reopen on Large Log Files

A benchmark published on DEV Community compared klogg 24.11.0 and UwView Pro when handling a 47.73GB log file with over 892 million lines on an Apple M4 MacBook Air. While klogg was slightly faster on the first open, it rebuilds its index from scratch every time a file is reopened, taking up to nine minutes on a USB hard drive. UwView Pro builds a compressed sidecar cache on first open, allowing subsequent reopens in as little as 0.01 to 0.07 seconds — roughly 1,250 to 50,000 times faster. The compressed cache also reduces storage from 48GB to 5.3GB, meaning the original file can be deleted while retaining full browse and search capability. Search speeds were also significantly faster in UwView Pro, with a literal search on a USB HDD dropping from roughly ten minutes to 75 seconds.

0
ProgrammingDEV Community ·

How to Prevent Duplicate Notifications in Node.js Bulk Email and SMS Systems

Developers building bulk notification systems in Node.js face a core challenge: ensuring messages are sent exactly once across email, SMS, queues, and scheduled pollers. The recommended approach involves writing each notification intent to a durable outbox table within the same database transaction as the triggering business event, keeping the two concerns cleanly separated. A queue worker then claims small batches of outbox rows using leases, allowing other workers to recover tasks if a process dies mid-delivery. Every delivery attempt must be idempotent, with a stable deduplication key per channel, since true exactly-once delivery cannot be guaranteed across distributed systems. Email and SMS workloads should maintain separate concurrency budgets to prevent one channel's retries or slowdowns from starving the other.

0
ProgrammingDEV Community ·

How Client Islands Keep WebSockets Efficient in React Server Components

Developers using React Server Components (RSC) are advised against wrapping entire pages in 'use client' to handle real-time WebSocket features, as this inflates client bundles and worsens Interaction to Next Paint (INP) scores. A recommended alternative involves keeping pages as Server Components and isolating WebSocket logic inside small client islands — typically just 5–20 lines of code. These islands push incoming data into a client-side cache such as TanStack Query or SWR, limiting re-renders to only the components that consume the updated data. This approach preserves RSC benefits like server-rendered HTML, streaming, and minimal JavaScript delivery to the browser. Trade-offs include the need for a well-thought-out cache invalidation strategy and a different debugging model where state is split between server renders and client caches.

0
ProgrammingDEV Community ·

SpaceX Completes Acquisition of AI Coding Tool Cursor in August 2026

AI coding platform Cursor officially became part of SpaceX in August 2026, with the acquisition confirmed by Cursor itself and reported by TechCrunch. Cursor stated it will integrate with SpaceX's broader AI initiatives, though no detailed product roadmap or commercial terms have been publicly released. The change represents a shift in corporate ownership and strategic direction, but no announcements have been made regarding alterations to third-party model access, including models from OpenAI. Developers and businesses using Cursor are advised to monitor official communications from Cursor and model providers before assuming any workflow disruptions. The acquisition signals that future development of the platform will proceed under SpaceX ownership rather than its previous independent structure.

0
IndiaNDTV ·

Thane Court Deems CBI Arrest of IRS Officer in Rs 1.5 Cr Bribery Case Illegal

A Thane court on Friday ruled that the CBI's arrests of a senior IRS officer and two other individuals were not legally valid. The three had been detained in connection with an alleged bribery case involving Rs 1.5 crore. The court ordered the release of all three on personal bonds of Rs 15,000 each. The CBI had carried out the arrests as part of its investigation into the bribery allegations.

0
IndiaTimes of India ·

Archer, Robinson dismantle Pakistan for 110 as England seize 180-run first-innings lead

England's pacers dominated the second day of the Test match, dismissing Pakistan for just 110 runs. Ollie Robinson was the standout performer, claiming four wickets for 11 runs, while Jofra Archer and Josh Tongue chipped in with three and two wickets respectively. Archer delivered what he described as the fastest spell of his career, though he cast doubt on the accuracy of the speed guns in use. The collapse handed England a commanding first-innings lead of 180 runs, putting them firmly in control of the match.

0
ProgrammingDEV Community ·

Why a developer ditched SQL and Elasticsearch for a graph database to map supply chains

A developer building an investing knowledge graph found that traditional tools like Elasticsearch and SQL fell short when tracing multi-hop relationships between companies. Elasticsearch returned only keyword-matched documents and could not follow edges between entities, while SQL required knowing the exact number of relationship hops in advance. Recursive SQL CTEs offered a partial workaround but introduced performance concerns and schema limitations that made the approach impractical. The developer ultimately turned to Neo4j and Cypher queries, which natively traverse variable-depth paths and carry evidence — such as article IDs and event dates — at every link in the chain. The knowledge graph, built on top of 9,414 articles indexed in Elasticsearch, can now answer questions like how many steps connect ASML to NVIDIA through supply disruption events.

0
IndiaNDTV ·

West Bengal to Hold Student Union Elections Soon, Says Suvendu Adhikari

West Bengal Chief Minister Suvendu Adhikari announced on Friday that student union elections will be conducted soon across colleges and universities in the state. The declaration comes amid growing demands from opposition parties and other groups for the polls to be held. Adhikari did not specify an exact date or timeline for the elections. Student union polls have been a point of contention in West Bengal, with various stakeholders pressing for their timely conduct.

← NewerPage 572 of 3872Older →