SShortSingh.
0
ProgrammingDEV Community ·

Developer Builds Browser Game Collection to Kill Time at Work

A developer has created TapWhenBored, a small collection of browser-based casual games designed for quick breaks. One of its featured games, Marble Nostalgia, is a digital take on the classic marble solitaire board game where players must eliminate marbles by jumping over them. The goal is to leave just one marble remaining on the board, a feat no player has achieved so far. The developer has set up a leaderboard to track player progress toward that milestone. The project includes several other casual games beyond Marble Nostalgia and is open for anyone to try.

0
ProgrammingDEV Community ·

Hardcoded Zero in Append-Only Log Silently Masqueraded as Real Measurement

A developer discovered that a log entry reading 'OK_ATOMS atoms=0 top=0 bot=0' was never a real measurement — it was a string literal written as a placeholder while the actual counter was still being built. Because zero is a legitimate result in real runs, the hardcoded line was indistinguishable from genuine output, allowing it to pass unnoticed through parsers and downstream systems. The append-only nature of the log meant the false record could not be deleted, requiring a superseding entry to correct it. The author argues that any log line resembling a measurement must actually originate from one, and suggests using an unambiguous error or a non-numeric sentinel value like 'reason=census_not_wired' as a placeholder instead. A simple audit — checking for log print statements whose numeric fields are literals rather than variables — can help identify lines that will never reflect real changes in underlying data.

0
ProgrammingDEV Community ·

Beginner's Guide to Building Your First ASP.NET Web Service

A new tutorial on DEV Community walks beginners through setting up their first ASP.NET web service using .NET 10 and either Visual Studio or JetBrains Rider. The guide starts by stripping down the default project template to a minimal configuration, keeping only the core application builder setup. It then introduces Scalar, a lightweight API testing tool added via a NuGet package, to replace the default weather forecast boilerplate. Developers are shown how to register Scalar in the development pipeline and write a basic GET endpoint that returns 'Hello World'. The tutorial is the first in a series that will later cover controllers, dependency injection, databases, and clean architecture.

0
IndiaTimes of India ·

Decomposed body of suspected Pak JeM militant, M4 rifle recovered in J&K's Doda

Security forces in Doda's Divshetar area of Jammu and Kashmir have recovered the decomposed body of a suspected Jaish-e-Mohammed terrorist believed to be from Pakistan. The remains were found alongside an M4 rifle and are thought to have been buried under snow for a period following an earlier counter-terrorism operation. Authorities are currently working to establish the identity of the deceased individual. The discovery is part of a wider investigation linked to recent militant encounters in the Jammu region.

0
IndiaTimes of India ·

J&K SIA raids Poonch and Udhampur in radicalisation investigation

Jammu and Kashmir's State Investigation Agency conducted searches across five locations in Poonch and Udhampur districts on Saturday. The agency is investigating the alleged spread of secessionist narratives through both online and offline channels. Investigators found that certain individuals had been in contact with suspicious persons across the Line of Control. The probe aims to uncover networks involved in radicalisation activities within the region. Further details are expected to be released by officials once the searches are fully concluded.

0
IndiaTimes of India ·

Loud Noises Deter Deer From Crops But Animals Adapt Within Six Weeks

A new study found that loud human noises and bright lights successfully drove deer and elk away from crops about 64% of the time. However, sounds mimicking predators or dog barks proved far less effective as deterrents. Over a six-week period, the animals gradually habituated to the deterrents, particularly in areas close to human activity. Researchers warn that repeated exposure to the same stimuli causes wildlife to stop responding to them. To maintain effectiveness, experts recommend varying the types of deterrents used and pairing them with real consequences for the animals.

0
ProgrammingDEV Community ·

How to Dual-Boot Linux Mint 22.3 Cinnamon Alongside Windows 11

A step-by-step guide outlines how to install Linux Mint 22.3 Cinnamon edition on a Windows 11 machine while keeping Secure Boot and BitLocker enabled. The process begins with downloading Linux Mint and the Rufus tool to flash the OS onto a USB drive. Users must then create a dedicated disk partition via Windows Disk Management before rebooting into the boot menu to launch the Linux Mint installer. During installation, the guide recommends manually allocating the free partition by splitting it into separate root and home directories. Following these steps allows users to run both operating systems on the same device without disabling key Windows security features.

0
ProgrammingDEV Community ·

A 201 response alone does not verify a completed payment workflow, dev warns

A developer behind the API workspace tool Lucidra has highlighted a common gap in integration testing: receiving a 201 Created response only confirms resource creation, not the completion of the underlying payment process. To properly validate a payment workflow, tests must also verify that a matching webhook event arrived with the correct payload and that the resource eventually reached its final state. The article demonstrates this with a self-contained Node.js script that requires no external accounts or dependencies, deliberately introducing edge cases such as out-of-order events and delayed state updates. A key technical insight shared is that the webhook listener must be started before the API request is sent, so that fast-arriving callbacks are buffered rather than missed. Running the example with a missing webhook flag causes the test to exit with an error, proving that a 201 response alone is insufficient to confirm a successful payment flow.

0
ProgrammingDEV Community ·

Developer Builds AST-Based Scorer to Grade Python Retry Loop Safety

A developer created a static code analysis tool called a 'hygiene scorer' that reads Python source files and grades retry loop implementations for safety properties. The scorer walks the abstract syntax tree (AST) and awards points for features like attempt caps, wall-clock timeouts, backoff, jitter, and idempotency keys, while penalizing unbounded loops. The motivation was to address a common pattern in agent and automation code where retry loops lack hard stop conditions, potentially causing runaway processes. The tool was built and tested using a free AI model accessed via MonkeyCode, with outputs validated against fixture files rather than trusted outright. The author argues that verifying whether a loop can terminate is a more practical engineering concern than evaluating an AI model's reasoning quality.

0
ProgrammingDEV Community ·

The Shifting Definition of AI: Why 'AGI' Means Different Things to Different People

A commentary piece on DEV Community raises a foundational question about artificial intelligence: what the term actually means, as industry leaders like Dario Amodei and Sam Altman publicly discuss slowing AI development. The author points out that the definition of 'AI' has historically shifted whenever machines mastered a specific task — chess engines, calculators, and spam filters were once considered intelligent, then quietly reclassified as mere computation. Terms like AGI, ASI, and 'reasoning models' are frequently used interchangeably despite representing fundamentally different concepts, from economic productivity to human-like learning to self-awareness. The piece argues that unlike physics, intelligence lacks a settled, measurable definition, making timelines such as 'AGI in five years' difficult to evaluate without first agreeing on what the target actually is. The author concludes that recent calls to slow AI development signal meaningful progress, but may also reflect the same recurring cycle of hype and redefinition that has defined the field for decades.

0
ProgrammingDEV Community ·

Researcher Routes Home Traffic Through Chosen ISP Upstream Without Router Access

A developer conducted a self-described Computer Science experiment to determine whether an end user can influence which upstream provider carries their internet traffic, without accessing the ISP's routers. By studying BGP Best Path Selection, they identified that AS-PATH length and Local Preference are the key factors an ISP uses to choose between upstream providers. The researcher used bgp.tools to confirm their ISP had two upstreams — TransTeleCom (Russia) and RETN Limited (UK) — then searched for a VPS hosted on a subnet routed through RETN's infrastructure. After selecting an EDIS Global server in Tallinn, Estonia, and routing traffic through a VPN tunnel, the researcher used the Trippy tool to monitor packet paths during a 15 GB Steam download. The route remained entirely stable through RETN throughout the test, partially confirming that targeted upstream selection is achievable by ordinary users through careful VPS and VPN configuration.

0
ProgrammingDEV Community ·

Dev Tutorial Introduces 'Progress Contract' to Stop AI Coding Agents from Spinning in Place

A software development tutorial published on DEV Community introduces a bootcamp-style lab designed to expose a common flaw in AI coding agents: appearing busy without making real progress. The lab requires agents to track a 'remainder' — a measurable, shrinking count of unfinished work such as failing tests or unresolved files — at every iteration. If the remainder does not strictly decrease each loop, the run is graded as a failure, regardless of how much output the agent produces. The exercise uses Node.js, a frozen test oracle, and an append-only NDJSON log to enforce accountability and prevent agents from gaming their own exit conditions. The author argues that without such a progress contract, agent transcripts resemble a diary rather than proof of forward movement.

0
ProgrammingDEV Community ·

SEO in 2026: Brand Signals and Entity Authority Now Rival Backlinks in Search Rankings

A Search Engine Land analysis published on April 30, 2026, argues that backlinks alone are no longer sufficient for SEO authority in an AI-driven search landscape. Search and AI systems now evaluate multiple signals, including brand mentions, editorial citations, entity relationships, and topical relevance, alongside traditional link metrics. The shift means businesses must ensure their brand is consistently and accurately represented across trusted sources, not just linked to from high-volume domains. Quality and contextual relevance of mentions matter more than raw backlink counts, with even unlinked editorial references potentially reinforcing authority. Experts recommend that website owners pursue editorially earned coverage tied to clear topical authority goals rather than treating link acquisition as an isolated activity.

0
ProgrammingDEV Community ·

Developer Builds Privacy-First Alarm Dashboard in Home Assistant Using KNX and Tecnoalarm

A home automation enthusiast has detailed how they integrated a Tecnoalarm KNX keypad with Home Assistant to create a functional alarm dashboard. The build uses just two input_boolean helpers as a shared source of truth, keeping the physical keypad and the smart-home interface in sync via the KNX bus. To avoid exposing a real floor plan, the developer deliberately anonymised all sensor names and room layouts before publishing any details. Simulated binary sensors were used throughout development, allowing every dashboard state to be tested from a couch before any real door or window contacts were installed. The status display itself relies on a native Home Assistant markdown card with Jinja templating, requiring no third-party integrations to monitor 12 door and window sensors across two floors.

0
ProgrammingDEV Community ·

Developer builds AI-powered video pipeline that replaces traditional editing entirely

A developer has created a tool called Idea to Motion that automates end-to-end video production using Claude and Remotion, eliminating the need to open a video editor. The system works as an MCP server, allowing AI clients like Claude or Cursor to write scripts, direct scenes, and generate React-based Remotion components, while the server handles deterministic tasks like text-to-speech, scene timing, and rendering. Unlike conventional AI video tools that output a finished pixel-based clip with no room for targeted edits, this architecture treats each scene as a modifiable code file, so fixing one scene does not affect the others. The tool includes safety guardrails such as sandboxed smoke renders and layout audits to catch runtime errors and visual issues before final output. The developer reports having used this system to produce over 100 videos across a daily YouTube channel and two Instagram accounts over the past six months.

0
IndiaNDTV ·

Tamil Stars Vijay and Ajith Unite at Brands Hatch Le Mans Race

Tamil actor Vijay flagged off a Le Mans-format race at a prominent British motorsport venue, marking a notable appearance by the star. Fellow Tamil actor Ajith Kumar participated in the event as a competitive racer, underscoring his well-known passion for motorsport. The occasion brought together two of Tamil cinema's biggest names, though in distinctly different capacities. The event drew significant attention given the stature of both personalities in Indian popular culture.

0
IndiaTimes of India ·

Devoleena hits back at Rohit Roy for calling television a 'dustbin medium'

Actor Rohit Roy sparked controversy after referring to television as a 'dustbin medium', drawing sharp criticism from fellow actor Devoleena Bhattacharjee. She challenged his remarks by pointing out that he himself built his career on television. Devoleena also noted that Rohit is largely recognised by the public as the brother of more prominent TV actor Ronit Roy. She firmly stated that television has been the foundation of her identity and professional success. Bhattacharjee concluded by expressing pride and gratitude for her journey in the industry.

0
SportsESPNcricinfo ·

Root satisfied with England's 3-0 sweep despite an 'unusual summer'

Joe Root has expressed satisfaction with England's 3-0 series victory, describing it as a successful start to his second stint in the team's setup. Root acknowledged the summer had been unusual but praised the team's clinical performances across the series. The veteran batter highlighted England's ability to meet their target of a clean sweep as a positive sign of progress. Root's comments reflect a broader optimism about the direction England's cricket is heading under the current setup.

← NewerPage 1145 of 5226Older →