SShortSingh.
0
ProgrammingDEV Community ·

Building a Browser Jigsaw Puzzle Game with JavaScript and HTML5 Canvas

A DEV Community tutorial explains how to create a jigsaw puzzle that runs entirely in a web browser using JavaScript and HTML5 Canvas. It contrasts irregular jigsaw pieces with traditional grid puzzles, noting the need for matching edges, image clipping, and drag-and-drop controls. The guide proposes splitting the project into components such as a game manager, puzzle generator, renderer, input manager, and snap logic. It then covers dividing a source image into a grid and generating shared piece boundaries so neighboring pieces fit without gaps. The article is presented as a step-by-step, partially completed walkthrough.

0
ProgrammingDEV Community ·

Guide Proposes 14-Case Release Gate for AI-Drafted Financial Close Narratives

A guide argues that AI-generated close narratives should be treated as drafts rather than authoritative numbers or self-approving controls. It recommends freezing the reporting period and data snapshot, reconciling material figures to owned sources, and linking narrative claims to those figures. Deterministic checks and named preparer and independent reviewer sign-offs are required before a versioned report is released. Where data, mappings, periods, or approvals are uncertain, the guide says the safe output is a hold with a stated reason. It frames NIST and COSO guidance as risk-management aids rather than accounting standards or compliance certifications.

0
ProgrammingDEV Community ·

Explaining the MCP Protocol and Its Role in Open Source AI Workflows

MCP, the Model Context Protocol, is a core component of many open source AI workflows, though developers often treat it as opaque. The article describes how MCP lets agents or models discover, describe, and call remote tools, and how it relates to A2A and CLI adapters. It notes that basic MCP server implementations expose functionality without enforcing validation or traceability. As a result, some projects are adding governed runtimes that check schemas, approvals, and usage records before exposing tools over MCP or A2A. The piece closes by asking maintainers whether their agent-facing modules are merely protocol-compliant or also governable, testable, and ready for enterprise use.

0
ProgrammingDEV Community ·

Open models match Claude on routine tasks but lag on hard reasoning, study finds

QuickSilver Pro tested three open models, Kimi K3, GLM 5.3 and DeepSeek V4 Pro, against Claude Sonnet 5.5 and Opus 5.5 across 17 tasks run three times each. All three open models handled routine JSON extraction correctly, and Kimi K3 passed every standard coding task. On harder multi-step problems, however, the Claude models were perfect while the open models often failed, with the counting-out puzzle proving especially difficult. GLM 5.3 stood out as the only open model that was both cheaper than Sonnet 5.5 and as fast. DeepSeek V4 Pro also sometimes returned empty answers after exhausting its token budget on reasoning.

0
ProgrammingDEV Community ·

Thinking Machines Lab Unveils Inkling 2 Small, But Its Weights Remain Unreleased

Mira Murati's Thinking Machines Lab announced Inkling 2 Small on November 5, 2026, a 594-billion-parameter sparse mixture-of-experts model designed for long-running autonomous tasks, coding, and vision work. It scores 31 on the Artificial Analysis Intelligence Index, a gain of 18 points over the first-generation Inkling Small. Although the model is available only through the company's Tinker platform and Playground, the lab has said full Apache 2.0 weights will follow next week, contingent on completed external safety testing and red-teaming. Independent evaluators note that, if released, it would be the top-scoring open-weights model built outside China, with the caveat that no outside party has had extended hands-on access yet.

0
IndiaTimes of India ·

Nasdaq posts worst session in 18 months as AI spending doubts hit tech stocks

Wall Street experienced a sharp sell-off led by technology shares, which fell heavily amid mounting worries over spending on artificial intelligence. Investors revisited popular AI-linked positions after midterm election results hinted at possibly stricter oversight of the industry. The Nasdaq slid more than 5%, its steepest drop in 18 months, pushing it into correction territory. The downturn carried over into Asian trading, with Japan's Nikkei and South Korea's Kospi also declining.

0
IndiaTimes of India ·

Raman Effect Story Traces Scientific Legacy From Chennai to Los Angeles

The article traces the journey of the Raman effect, the light-scattering phenomenon discovered by C.V. Raman, from its origins in Chennai to its wider influence. It highlights how the discovery connects Indian scientific history with research communities abroad, including those in Los Angeles. The piece frames the effect as a foundational tool in modern spectroscopy and materials science. It also reflects on the recognition Raman's work received on the global stage. The overall narrative emphasizes the enduring impact of his contribution across geographies.

0
SportsESPNcricinfo ·

Conway ruled out of ODI series with concussion; Kelly called in as replacement

New Zealand batter Devon Conway has been ruled out of the remainder of the ODI series against India after suffering a concussion. Kelly has been called into the squad as his replacement. The injury followed a collision during training. Meanwhile, Henry has been cleared of concussion from a similar training incident and is available for the second ODI in Wellington.

0
Crypto & Web3CoinDesk ·

Bitcoin developer proposes 'landmines' to punish quantum thieves of vulnerable BTC

A Bitcoin developer has proposed a mechanism designed to deter quantum-enabled theft of vulnerable bitcoin. Under the proposal, anyone attempting to move coins at risk from quantum attacks would have to post matching collateral. Owners who have prepared in advance could then claim both the collateral and the funds. The idea, described as creating 'landmines', aims to make such thefts costly for the attacker. The article's reporting is limited to the proposal itself as presented by CoinDesk.

0
WorldBBC World ·

Trump Signs Order Barring Future Presidents From Altering the Oval Office

President Donald Trump has signed an executive order that would prevent future presidents from changing the Oval Office. The move follows a series of significant alterations Trump made to the office's decor. His changes were part of broader efforts that included landmark construction projects across Washington. The article provided limited detail on the order's specific provisions or legal mechanics. The report frames the directive as a response to his own recent redesigns of the iconic workspace.

0
ProgrammingHacker News ·

Nasdaq Sheds $2.5 Trillion as Investors Fear AI Slowdown After Democratic Sweep

Investors pulled roughly $2.5 trillion from the Nasdaq amid concerns that a Democratic election sweep could disrupt artificial intelligence growth. The sell-off hit AI and data center stocks, which have been central to recent market gains. Traders reportedly worried that the political shift could complicate expansion plans for companies building AI infrastructure. The source article is a Reuters report linked from Hacker News, which had limited discussion at the time of posting. The details above reflect only the headline and link, so the specific policy mechanisms behind the fears are not confirmed here.

0
ProgrammingHacker News ·

MoofTCP: A Modern TCP/IP Stack Replacement for MacTCP on 68k Macs

A new project called MoofTCP has been published on GitHub as a modern replacement for MacTCP, the networking stack used on Motorola 68k-based Macintosh computers. The source material available to us includes only the project link and Hacker News discussion metadata, with 10 points and no comments at the time of capture. Details about the project's specific features, implementation, and compatibility are not included in the provided text. Readers interested in its capabilities are directed to the GitHub repository for documentation and source code.

0
IndiaTimes of India ·

Devon Conway ruled out of remaining ODIs against India with concussion

New Zealand batter Devon Conway will miss the rest of the ODI series against India because of a concussion. Nick Kelly has been called up as his replacement and is expected to join the squad in Wellington by Friday. On a positive note, Matt Henry has been cleared of concussion after an incident during training. New Zealand lost the first ODI despite a strong showing from Virat Kohli.

0
ProgrammingDEV Community ·

Disabling SSH Password Login May Not Work: Cloud-init Drop-in Overrides Config

A recent OpenSSH security advisory from Alpine Linux, which reached the top of Hacker News, prompted many administrators to question whether password authentication is really disabled on their servers. The author audited seven VPS instances and found that three still accepted password logins, despite having edited sshd_config long before. The cause was a drop-in file created by cloud-init, which sets PasswordAuthentication to yes and is read before any directives added later in the main file. Because sshd uses the first value it reads, the author's later 'no' setting was silently ignored. The article recommends checking the effective configuration with sshd -T and verifying from outside the server by probing which authentication methods it advertises, and it includes a Python script for auditing multiple hosts without sending any credentials.

0
ProgrammingDEV Community ·

Running Vercel cron more than daily on the Hobby plan via an external scheduler

Vercel's Hobby plan limits cron jobs to once per day, and a schedule like */15 * * * * causes deploys to fail. Vercel also notes that Hobby jobs run at some point within the set hour rather than at an exact time. The recommended workaround is to place the job logic in an API route protected by a bearer token stored in CRON_SECRET, then have an external scheduler call that route over HTTP on any desired schedule. The article also advises removing the route's crons entry so deploys stop failing, and notes that each call still counts toward Vercel usage. The author, who works on the scheduler RunLater, promotes it as one option alongside free built-in daily cron for simpler needs.

← NewerPage 562 of 7358Older →