SShortSingh.
0
ProgrammingDEV Community ·

Detectar cortes de escena con ffmpeg y dividir un vídeo en esos puntos

Una guía explica cómo localizar los cortes de un vídeo editado usando ffmpeg, yendo más allá del filtro básico habitual. El autor señala que showinfo escribe en stderr y no en stdout, un detalle que suele confundir a quien programa la detección. Se usa como ejemplo un resumen público del lanzamiento de la misión Artemis II de la NASA, de 92 segundos y 19 planos. Con el umbral por defecto de la aplicación, 0,27, se identifican 18 cortes en apenas 0,8 segundos de procesamiento. El texto también reconstruye en Python la puntuación de escena de ffmpeg a partir del plano de luma para entender cómo se calcula y cómo elegir el umbral.

0
ProgrammingDEV Community ·

Homepage pulse animations ignore reduced-motion settings, while JavaScript effects honor them

A developer audited a trivia website's codebase and its live stylesheet and found that reduced-motion preferences are respected in six JavaScript implementations but not in CSS. Three pulsing elements on the homepage, used as waiting indicators, animate regardless of a visitor's motion settings because the stylesheet has no matching rule. The author notes that a spinner keyframe is shipped to all public pages even though none use it. The proposed fix is a three-line CSS media query disabling the pulse animation under reduced motion. The post also explains that an earlier reduced-motion rule existed briefly but covered a marquee that has since been removed.

0
ProgrammingDEV Community ·

Developer Replaces Huawei E3372 LTE Modem's Dated Web Interface With Lightweight Dark-Mode App

A developer has built a modded firmware toolkit for the Huawei E3372 HiLink LTE stick, which replaces its outdated 2014-era web interface with a modern, offline single-page app of about 10.5 KB. The new interface adds live signal telemetry, an SMS and USSD messaging suite, cellular and SIM controls, and a direct AT command console. The project also removes the stock lockout that blocks access to settings when no SIM is inserted. Tooling in Python handles repacking the firmware partition and flashing it over USB, and the author has tested it on several E3372 hardware variants. The project is published on GitHub, and the author warns that flashing involves real hardware risk.

0
ProgrammingDEV Community ·

Aftertype Applies Schema.org Markup and llms.txt to Improve Search and AI Visibility

Aftertype reworked its website to be understood as structured data rather than only a set of pages. The company added site-wide schema.org markup, covering Organization, Article, and FAQPage types, so search engines could identify it as a distinct entity. A companion llms.txt file was also introduced to guide AI crawlers and LLM-based search tools toward the site's most reliable content. According to the author, Search Console data began showing queries clustering around Aftertype as an entity after the rollout. The approach is framed as entity optimization, complementing traditional SEO's focus on ranking individual pages.

0
ProgrammingDEV Community ·

Flaky Async Test Exposed a Real Race Condition in Order Event Handling

A test covering an order-save, event-publish, and confirmation flow failed roughly one in ten CI runs, and developers initially blamed slow CI machines and raised a sleep delay. The author found the real cause was an @Async @EventListener that started before the publishing transaction committed, so it sometimes queried an order not yet visible. Production showed occasional "order not found" warnings under load, matching the test's intermittent failures. The fix switched the listener to @TransactionalEventListener on AFTER_COMMIT and replaced the fixed sleep with Awaitility polling. Across 200 CI runs, the corrected version recorded no failures, compared with 22 failures for the original and 6 for the longer-sleep version.

0
ProgrammingDEV Community ·

Agentic Sales Knowledge Assistant: Turning RAG Retrieval Into an Agent Tool

Services companies accumulate valuable proposals, RFP responses and case studies, but this knowledge is scattered across folders, channels and personal devices, making it hard to reuse. The author proposes a governed sales knowledge store where documents are linked to clients and opportunities and every extracted fact is cited to its source. A chat assistant built on this store lets salespeople ask natural-language questions and receive short answers with numbered links to the original slides. The key design choice is to treat retrieval as a tool the LLM agent can call on demand, rather than a fixed pipeline that retrieves once before the model reasons. This approach allows multiple searches, query rephrasing, and pulling live CRM data that does not exist in documents.

0
ProgrammingDEV Community ·

Site's 79 pages share 32 JavaScript files, but two identical animation libraries are served under different names

An audit of a 79-page site's sitemap found that every page loads from just 32 distinct JavaScript files. Two pairs of those files were found to hold effectively the same animation library, with byte counts matching exactly and differences limited to build debug IDs and numeric module IDs. Because the duplicates have different URLs, a visitor moving from one page to the homepage has to re-download code their browser already has. The three legal pages avoid the animation library only because their compact footer contains no animated wordmark. The author also notes that a bundle served only to legacy browsers inflates the transfer figures.

0
ProgrammingDEV Community ·

How to Compress a PDF on Mac Without Running the Filter Twice

Preview's File > Export menu includes a Reduce File Size filter that shrinks PDFs locally on a Mac, without uploading anything. Users should save the result under a new name to keep the original intact, since Apple warns compressed copies may have lower quality. Testing showed large savings for scanned or photo-heavy files, while text-only PDFs barely shrink. Running the filter a second time backfired, growing one test file from 4.3 MB to 23.5 MB. Checking the output file size before sending is recommended.

0
ProgrammingDEV Community ·

JomaKhoros: A Bangla-First Personal Finance App Built for Bangladesh

A civil engineer and BIM professional has developed JomaKhoros, a personal finance platform aimed at everyday money management in Bangladesh. The app is designed to bring together cash, bKash and Nagad Rocket transactions, bank accounts, and informal debts in one place. Its features include income and expense tracking, multiple wallets, monthly budgeting, savings goals, loan tracking, recurring transactions, and financial calculators. The developer built the Bangla-first tool to address the difficulty of organizing finances across these varied local channels. The creator is seeking feedback from the developer community on essential features and trust-building for local finance tools.

0
IndiaIndian Express ·

Voters deleted from rolls in seven states, including Delhi and Maharashtra, get another chance

Electors whose names were removed from voter lists in seven states, among them Delhi and Maharashtra, are being offered a further opportunity to have their entries restored. The move gives affected residents another window to address the deletions before the rolls are finalised. The headline indicates the relief applies across several states rather than a single region. For the full timeline, eligibility criteria and procedure, the original Indian Express report should be consulted.

0
IndiaNDTV ·

Security Clearance Still Pending for Jio, OneWeb and Starlink Satellite Internet Plans

Three companies, Reliance-backed Jio, Airtel's OneWeb and Elon Musk's Starlink, hold licences to offer satellite-based communication in India. Government sources say their commercial launch is waiting on two steps: a decision on how satellite spectrum will be priced and security clearance for each licensee. Starlink's application was processed last, according to the report. The sources did not give a timeline for when the clearances or the spectrum decision would be completed.

0
IndiaNDTV ·

Minor and Young Adult Killed in French Bus Crash; 16 Injured

A bus accident in France's Ain region has left two people dead, one of them a minor and the other a young adult. Sixteen others were hurt in the incident, and three of them are in serious condition. The regional Prefecture announced the casualty figures. The original report provides limited detail beyond these figures, so the cause of the crash and the exact timing were not specified.

0
TechnologyThe Verge ·

Tesla to wind down Cybertruck production in Texas by mid-2026

Tesla is preparing to end production of its Cybertruck as it shifts capacity toward robotaxis. CEO Elon Musk announced in a post on X on Friday that Cybertruck manufacturing at the Texas Gigafactory will wind down around the middle of next year. The move is intended to free up room for increased production of the Cybercab. The Austin plant is the only Tesla facility known to build the Cybertruck and make its specialized components. Musk has not said whether Cybertruck production will be relocated elsewhere.

0
IndiaTimes of India ·

Amateur cricketer banned two years over viral 'fake edge' video; Saltburn second XI relegated

Brian Devine, known as "Clicky Ponting", has received a two-year cricket ban after a viral video appeared to show him faking an edge by clicking his fingers. Saltburn Cricket Club's second XI has also been relegated and penalised with a 60-point deduction. Several public figures publicly condemned the incident. Some cricket commentators, however, argued that the reaction directed at the amateur player had been excessive.

0
IndiaTimes of India ·

Kolkata graduate, 22, asks how much salary is enough as he starts his career

A 22-year-old engineering graduate from Kolkata is weighing realistic salary expectations as he begins his working life. He wants financial security without feeling pressure to match the high spending of people around him. His questions about desired pay and lifestyle drew varied advice from Reddit users. The responses stressed aligning income with personal financial goals rather than chasing ever-higher salaries. He hopes to build a comfortable life without pursuing money for its own sake.

0
IndiaNDTV ·

Farooq Abdullah Dismisses Rebellion Buzz, Says State Government Is Not Under Threat

National Conference leader Farooq Abdullah has dismissed speculation of a revolt against the state government. The reported unrest stems from disgruntled MLAs who voiced concern about a growing gap between public expectations and how the government is functioning. Abdullah's response sought to downplay the reports and reassure that the administration is stable. The article provides limited detail beyond these claims, and the source text does not specify the exact timing or specific demands raised by the legislators.

← NewerPage 134 of 6947Older →