SShortSingh.
0
ProgrammingDEV Community ·

Developer links Trading212 portfolio to Home Assistant for daily Alexa updates

A developer has built a custom Home Assistant integration that pulls live portfolio data from the Trading212 API, including positions, pies, and dividends, into smart home sensors. A companion Lovelace dashboard card with auto-discovery was also created, offering five display types including a sparkline chart and positions list. The developer configured weekday morning automations so Alexa verbally reports total portfolio value and daily profit or loss, with a weekly summary delivered every Friday evening. A technical challenge involved smoothing out gaps in sparkline data caused by Home Assistant's recorder only logging state changes rather than regular intervals. Both the integration and the card are publicly available on GitHub, with the card also listed as a custom repository in HACS.

0
ProgrammingDEV Community ·

AI-Powered Personalized Learning Is Reshaping How People Acquire New Skills

Artificial intelligence is fundamentally changing education by enabling highly personalized learning experiences once reserved for those who could afford private tutors. AI-driven platforms assess individual knowledge gaps, adapt curricula, and deliver real-time feedback, allowing learners to progress at their own pace. Tools such as GitHub Copilot and adaptive language apps are already being used globally, including by learners in remote or underserved regions with limited access to traditional schooling. However, experts flag concerns around algorithmic bias, student data privacy, and the risk of eroding the emotional and mentorship roles that human teachers provide. The emerging consensus favors a hybrid model in which AI augments, rather than replaces, human educators.

0
IndiaTimes of India ·

Senior Lashkar-e-Taiba leaders spotted at Shoaib Akhtar's brother's funeral in Islamabad

Senior leaders of the banned militant outfit Lashkar-e-Taiba, including deputy chief Saifullah Kasuri, were reportedly present at the funeral of former Pakistani cricketer Shoaib Akhtar's brother in Islamabad. The head of LeT's political wing was also said to be in attendance at the event. The presence of these individuals has raised concerns about the continued operational freedom enjoyed by members of the proscribed terror group within Pakistan. Kasuri is known for a history of anti-India statements and threats.

0
IndiaNDTV ·

Germany Eyes Mandatory Military Service to Address Critical Soldier Shortage

Germany is considering reintroducing mandatory military service as it faces mounting security pressures from Russia and uncertainty over US commitments. Berlin has set a target of expanding its armed forces to at least 260,000 soldiers by 2035, up from the current 185,000. The significant shortfall in troop numbers has prompted the government to evaluate a return to conscription. The move reflects a broader European push to strengthen national defenses amid a shifting geopolitical landscape.

0
SportsESPNcricinfo ·

Pakistan bat first against Netherlands in Women's T20 World Cup clash

Pakistan won the toss and chose to bat against Netherlands in their Women's T20 World Cup fixture. Pakistan made two changes to their lineup, bringing in Eyman Fatima and Tuba Hassan. Netherlands also made one change, with Heather Siegers coming in to replace Myrthe van den Raad. The match represents an important opportunity for both sides to strengthen their position in the tournament.

0
ProgrammingDEV Community ·

CtroEnv Adapters Bring Unified Env Validation Across Node, Vite, and Next.js

CtroEnv is a framework-agnostic environment variable validation library that uses runtime-specific adapters to load and verify configuration from different sources. The Node.js adapter reads from .env files in a layered order — base, environment-specific, and local overrides — with optional support for Node 22's native env loader. A Vite plugin integrates schema validation into the build process, failing the build if required variables are missing before any broken artifacts are shipped. The Next.js adapter enforces a strict server/client boundary, preventing server-only secrets from leaking into the client bundle and masking sensitive values by default. Together, the three adapters allow developers to reuse the same validation schema while adapting to each runtime's environment variable conventions.

0
ProgrammingDEV Community ·

150 India Engineers Laid Off Without Warning on Late-Night Microsoft Teams Call

Around 150 employees at an unnamed company's India engineering office were abruptly informed via a late-night Microsoft Teams call that their team was being shut down and local operations were closing. Workers received no prior notice and, according to reports, no severance package was offered. A former employee's viral social media post described the sequence, noting that access was cut off before staff could raise questions. Critics argue the tactic deliberately exploits timezone differences to prevent employees from organizing or pushing back collectively. The incident has renewed scrutiny of how multinational firms treat offshore teams as expendable cost centers rather than core parts of the business.

0
ProgrammingDEV Community ·

Vercel CLI flag lets developers skip dev link hangs in local Next.js builds

A Vercel CLI environment variable called VERCEL_EXPERIMENTAL_DEV_SKIP_LINK allows developers to bypass the step where the CLI attempts to create or refresh a dev link against a Vercel project during local Next.js development. The flag is set by adding VERCEL_EXPERIMENTAL_DEV_SKIP_LINK=1 to the shell session or to the project's .env.local file before restarting the dev server. It is particularly useful in offline environments, CI containers, and monorepo workspaces where the link handshake would otherwise cause the process to hang. Because the variable lives under Vercel's VERCEL_EXPERIMENTAL_ namespace, its behavior may change between CLI versions and it is not intended for production logic. Disabling the dev link also drops access to Vercel-only local emulators such as KV, Postgres, and Edge Config, making the flag best suited for projects that do not rely on those services locally.

0
ProgrammingDEV Community ·

EU AI Act Amended: Deadlines Extended, SME Relief Added, New Content Bans Set

The EU Council and Parliament reached a provisional agreement on May 7, 2026 to amend the EU AI Act, introducing several substantive changes for businesses. High-risk AI systems under Annex III now have until December 2, 2027 to comply, a 17-month extension, while systems tied to product safety legislation get until August 2, 2028. However, transparency obligations such as watermarking and content labelling have been tightened, with providers given until December 2, 2026 to comply. The amendments also expand compliance relief to 'small mid-cap' companies with fewer than 750 employees or under €150 million in turnover, and introduce a new EU-level regulatory sandbox with priority access for smaller firms. A new explicit ban on AI-generated non-consensual intimate imagery and child sexual abuse material has also been added under Article 5, though the agreement still requires formal adoption before August 2, 2026 to take effect.

0
ProgrammingDEV Community ·

Why AI Apps Should Be Built Independent of Any Single Model Provider

Most AI applications start by integrating directly with a single model provider, creating long-term dependency risks. Developers are increasingly adopting abstraction layers that standardize request formats, allowing apps to switch models without rebuilding core infrastructure. However, compatibility alone is insufficient — production systems also require centralized API key management, usage tracking, retry policies, and fallback models. This has driven the emergence of multi-model infrastructure as a dedicated application layer. Platforms like VectorNode are being developed specifically to handle multi-model access and operations for AI applications.

0
IndiaTimes of India ·

India's IAF Deploys Russian Nebo-UM Radar to Counter Stealth Aircraft Threats

The Indian Air Force has operationalized the Russian-made Nebo-UM, a Very High Frequency long-range surveillance radar capable of detecting stealth aircraft. The system is designed to provide early warning against advanced aerial threats, strengthening India's overall air defense network. While the radar carries no offensive capability, its role in identifying low-observable aircraft makes it strategically significant. Its deployment comes amid a growing presence of stealth fighter jets in neighboring countries, including China's J-20.

0
IndiaNDTV ·

MDMK Ends 9-Year Alliance with DMK Amid Internal Tensions

Vaiko-led MDMK has formally quit the DMK-led alliance in Tamil Nadu after nine years of partnership. The party cited attempts to weaken the MDMK as the primary reason for its departure. This marks another political blow for Tamil Nadu Chief Minister MK Stalin's DMK. The exit reshapes the composition of the DMK-led coalition ahead of future electoral contests.

0
ProgrammingDEV Community ·

Founder Built Custom Licensing SDK After Paddle, Gumroad Failed Offline Desktop Apps

A developer building a paid desktop app found that Stripe handles payments but provides no licensing features, prompting a search for third-party solutions. Platforms like Paddle, Gumroad, and Lemon Squeezy were evaluated but rejected due to higher fees, reliance on online-only license validation, and vendor lock-in risks. The core technical concern was that server-dependent license checks fail paying customers who are offline and can be bypassed by blocking network access, whereas cryptographic local verification was needed. The developer's caution proved warranted when Paddle announced it was winding down Paddle Classic — the version that included built-in license keys and a Mac SDK — leaving developers on that platform forced to migrate. This led the founder to build Keylight, an in-house licensing SDK designed for offline-capable, cryptographically verifiable license keys that remain independent of any third-party platform.

0
ProgrammingDEV Community ·

How to Migrate License Keys to a New System Without Locking Out Customers

Developers often delay switching licensing platforms out of fear that existing customers will lose access after the transition. The key to a safe migration is importing customers' original license keys as active records, so the new system recognizes them without requiring reactivation. Running the old and new systems in parallel for a few weeks allows customers to gradually move to updated builds without any forced cutover. Keylight, a licensing platform, supports this approach by storing imported keys exactly as they are, meaning validation checks return the same results as for newly issued keys. The method avoids support ticket surges by ensuring no keys are invalidated at any point during the migration process.

0
ProgrammingDEV Community ·

One-Time vs Subscription Licensing: How to Choose the Right Model for Your App

Choosing between a one-time and a subscription pricing model is an early and consequential decision for indie app developers. A perpetual license, where customers pay once and own that version indefinitely, suits locally run tools with low per-user server costs, such as desktop utilities or developer tools. Subscription licensing makes more sense when an app involves ongoing infrastructure costs, hosted APIs, or continuous content updates, as recurring expenses should be matched by recurring revenue. The key distinction lies in what the customer is actually purchasing — ownership of a product versus ongoing access to a service. Developers are advised to let the nature of their product guide the pricing model rather than defaulting to whichever approach appears more financially attractive on paper.

0
ProgrammingDEV Community ·

Stripe, Paddle, or Lemon Squeezy: What Indie Developers Should Know Before Choosing

Indie developers launching paid apps typically choose between three platforms — Stripe, Paddle, and Lemon Squeezy — but the choice hinges on a fundamental legal distinction: payment processor versus merchant of record. Stripe, the cheapest at roughly 2.9% plus $0.30 per transaction, makes the developer the legal seller, meaning sales tax and VAT compliance are their own responsibility. Paddle and Lemon Squeezy act as merchants of record, charging around 5% or more but handling global tax collection and remittance on the developer's behalf. Stripe gives developers full ownership of customer data, while Paddle and Lemon Squeezy retain the customer relationship under their own terms, making future migrations more complex. Notably, none of the three natively support offline cryptographic license keys for desktop apps, meaning licensing remains a separate layer regardless of which payment platform is chosen.

← NewerPage 153 of 183Older →