12.6 C
New York
Tuesday, April 1, 2025
Home Blog Page 22

ios – Stockfish NNUE file not loading in ChessKitEngine


I’m utilizing ChessKitEngine to combine Stockfish into my iOS app. I’ve added the nn-1111cefa1111.nnue file to my challenge’s root folder and included it within the targets. The file was downloaded from the official Stockfish web site, and I’ve not renamed it.

Difficulty

Regardless of how I specify the NNUE file (filename, full path, escaped areas, and so on.), the engine all the time fails to load it and crashes.

My Code

import Basis
import ChessKitEngine

remaining class StockfishEngine {
    static let shared = StockfishEngine()
    personal let engine = Engine(sort: .stockfish)
    personal var isReady = false
    personal var pendingCompletionHandlers: [(String?) -> Void] = []

    init() {
        startEngine()
    }

    func startEngine() {
        print("Beginning engine initialization...")
        engine.loggingEnabled = true
        engine.begin {
            self.engine.ship(command: .uci)
            
            // Trying to set the NNUE file
            self.engine.ship(command: .setoption(id: "EvalFile", worth: "nn-1111cefa1111.nnue"))
            
            let threadCount = min(ProcessInfo.processInfo.processorCount - 1, 7)
            self.engine.ship(command: .setoption(id: "Threads", worth: String(threadCount)))
            self.engine.ship(command: .setoption(id: "Talent Stage", worth: "10"))
            
            self.engine.ship(command: .isready)
            
            self.engine.receiveResponse = { response in
                if "(response)".comprises("readyok") {
                    self.isReady = true
                    print("Stockfish Engine Began!")
                    self.processPendingRequests()
                    self.setupMoveResponseHandler()
                }
            }
        }
    }
}

Error Log

Beginning engine initialization...
uci
Stockfish 17 by the Stockfish builders (see AUTHORS file)
minemine
x
  Stockfish 17
  the Stockfish builders (see AUTHORS file)
possibility title Debug Log File sort string default 
possibility title Clear Hash sort button
possibility title Ponder sort test default false
possibility title EvalFile sort string default nn-1111cefa1111.nnue
possibility title EvalFileSmall sort string default nn-37f18f62d772.nnue

isready

setoption title EvalFile worth /Customers/myname/Library/Developer/CoreSimulator/Units/D1F042AC-7361-4EBC-86B7-6FA9050F68A9/knowledge/Containers/Bundle/Software/885F453B-3219-475A-9786-14C7DF2BFBB1/Apppercent20Name.app/nn-1111cefa1111.nnue
setoption title Threads worth 7
setoption title MultiPV worth 1
uci
setoption title EvalFile worth nn-1111cefa1111.nnue
setoption title Threads worth 7
setoption title Talent Stage worth 10
isready
Stockfish Engine Began!
  Utilizing 7 threads
  Stockfish 17
  the Stockfish builders (see AUTHORS file)
possibility title Debug Log File sort string default 
possibility title EvalFile sort string default nn-1111cefa1111.nnue
possibility title EvalFileSmall sort string default nn-37f18f62d772.nnue

  Utilizing 7 threads

setoption title Talent Stage worth 0
ucinewgame
place fen rnbqkbnr/pppppppp/8/8/8/3P4/PPP1PPPP/RNBQKBNR b KQkq - 0 1
go depth 15
rnbqkbnr/pppppppp/8/8/8/3P4/PPP1PPPP/RNBQKBNR b KQkq - 0 1
  Out there processors: 0-7
  Utilizing 7 threads
  ERROR: Community analysis parameters appropriate with the engine have to be out there.
  ERROR: The community file nn-1111cefa1111.nnue was not loaded efficiently.
  ERROR:
The UCI possibility EvalFile would possibly have to specify the total path, together with the listing title, to the community file.
  ERROR: The default internet may be downloaded from: https://assessments.stockfishchess.org/api/nn/nn-1111cefa1111.nnue
  ERROR: The engine can be terminated now.

What I Have Tried

  • Specifying simply the filename: "nn-1111cefa1111.nnue"
  • Utilizing the total path:
    let path = Bundle.essential.path(forResource: "nn-1111cefa1111", ofType: "nnue")
    self.engine.ship(command: .setoption(id: "EvalFile", worth: path ?? ""))
    
  • Escaping areas within the path
  • Verifying the file exists within the app bundle

Nonetheless, nothing appears to work. How can I appropriately load the NNUE file for Stockfish utilizing ChessKitEngine?

150,000 Websites Compromised by JavaScript Injection Selling Chinese language Playing Platforms

0


Mar 27, 2025Ravie LakshmananMalware / Web site Safety

150,000 Websites Compromised by JavaScript Injection Selling Chinese language Playing Platforms

An ongoing marketing campaign that infiltrates reputable web sites with malicious JavaScript injects to advertise Chinese language-language playing platforms has ballooned to compromise roughly 150,000 websites up to now.

“The risk actor has barely revamped their interface however remains to be counting on an iframe injection to show a full-screen overlay within the customer’s browser,” c/facet safety analyst Himanshu Anand stated in a brand new evaluation.

As of writing, there are over 135,800 websites containing the JavaScript payload, per statistics from PublicWWW.

Cybersecurity

As documented by the web site safety firm final month, the marketing campaign includes infecting web sites with malicious JavaScript that is designed to hijack the consumer’s browser window to redirect website guests to pages selling playing platforms.

The redirections have been discovered to happen through JavaScript hosted on 5 completely different domains (e.g., “zuizhongyj[.]com”) that, in flip, serve the principle payload accountable for performing the redirects.

c/facet stated it additionally noticed one other variant of the marketing campaign that entails injecting scripts and iframe parts in HTML impersonating reputable betting web sites equivalent to Bet365 by making use of official logos and branding.

The tip purpose is to serve a fullscreen overlay utilizing CSS that causes the malicious playing touchdown web page to be displayed when visiting one of many contaminated websites in place of the particular internet content material.

“This assault demonstrates how risk actors consistently adapt, rising their attain and utilizing new layers of obfuscation,” Anand stated. “Shopper-side assaults like these are on the rise, with an increasing number of findings each day.”

The disclosure comes as GoDaddy revealed particulars of a long-running malware operation dubbed DollyWay World Domination that has compromised over 20,000 web sites globally since 2016. As of February 2025, over 10,000 distinctive WordPress websites have fallen sufferer to the scheme.

Chinese Gambling Platforms
Chinese Gambling Platforms

“The present iteration […] primarily targets guests of contaminated WordPress websites through injected redirect scripts that make use of a distributed community of Site visitors Route System (TDS) nodes hosted on compromised web sites,” safety researcher Denis Sinegubko stated.

“These scripts redirect website guests to varied rip-off pages by means of site visitors dealer networks related to VexTrio, one of many largest recognized cybercriminal affiliate networks that leverages refined DNS methods, site visitors distribution programs, and area era algorithms to ship malware and scams throughout international networks.”

The assaults begin with injecting a dynamically generated script into the WordPress website, in the end redirecting guests to VexTrio or LosPollos hyperlinks. The exercise can also be stated to have used advert networks like PropellerAds to monetize site visitors from compromised websites.

Cybersecurity

The malicious injections on the server-side are facilitated by means of PHP code inserted into lively plugins, whereas additionally taking steps to disable safety plugins, delete malicious admin customers, and siphon reputable admin credentials to satisfy their targets.

GoDaddy has since revealed that the DollyWay TDS leverages a distributed community of compromised WordPress websites as TDS and command-and-control (C2) nodes, reaching 9-10 million month-to-month web page impressions. Moreover, the VexTrio redirect URLs have been discovered to be obtained from the LosPollos site visitors dealer community.

Round November 2024, DollyWay operators are stated to have deleted a number of of their C2/TDS servers, with the TDS script acquiring the redirect URLs from a Telegram channel named trafficredirect.

“The disruption of DollyWay’s relationship with LosPollos marks a big turning level on this long-running marketing campaign,” Sinegubko famous. “Whereas the operators have demonstrated exceptional adaptability by rapidly transitioning to different site visitors monetization strategies, the speedy infrastructure modifications and partial outages recommend some degree of operational affect.”

Discovered this text attention-grabbing? Comply with us on Twitter and LinkedIn to learn extra unique content material we submit.



Johnson & Johnson MedTech launches Dualto generator that may work with Ottava surgical robotic

0


Johnson & Johnson MedTech launches Dualto generator that may work with Ottava surgical robotic

The Dualto surgical power system. | Supply: Johnson & Johnson MedTech

As with different robotics functions, there may be at all times room for enchancment in energy and usefulness for surgical techniques. Johnson & Johnson MedTech this week introduced that it has launched its FDA-cleared Dualto power system.

Dualto is a surgical system that mixes a number of power modalities into an built-in platform to be used throughout open and minimally invasive surgical procedures. J&J designed it to work with its Polyphonic Fleet software program software for gadget administration.

The firm additionally plans for Dualto for use with its extremely anticipated Ottava surgical robotic. J&J designed Dualto to supply the choice of powering monopolar, bipolar, ultrasonic, and superior bipolar devices. These embody the Harmonic and Enseal units, all powered by a single, consolidated system.

The system’s modular design and versatile structure take up practically half (46%) of the footprint of separate turbines, stated the medtech large.

For extra on surgical robotics, obtain MassDevice‘s free particular report.

Design incorporates advances for surgeons

Dualto is the primary and solely surgical power system to be made obtainable in double configuration, claimed Johnson & Johnson MedTech. This permits two surgeons to work in a fancy process and activate simultaneous power from one unit.

“The Dualto power system represents a major development in human-centric design, delivering a totally linked resolution that simplifies surgical power and enhances efficiencies within the OR,” stated Hani Abouhalka, firm group chair for surgical procedure at J&J.

Johnson & Johnson MedTech has been a trusted associate in surgical procedure for over a century, and we’re leveraging scientific insights to tailor the design of our applied sciences to satisfy the wants of surgeons and scientific groups,” he stated. “Dualto helps a extra versatile and digitally linked OR ecosystem for the way forward for surgical care.”

Extra in regards to the Johnson & Johnson MedTech Dualto system

Dualto makes use of proprietary adaptive tissue know-how to reinforce the efficiency of the Harmonic and Enseal units. Adaptive tissue know-how responds intelligently to altering tissue situations and regulates power supply. It delivers improved temperature administration and offers tone modifications and person alerts for extra exact power supply, defined J&J.

The corporate stated its streamlined working room setup with Dualto might assist reduce stress ranges for surgeons and scientific groups. The system prioritizes usability with an instinctive touchscreen interface with clear visible and auditory cues. It gives real-time suggestions and streamlined workflows with sooner setup and changes by customized settings.

Johnson & Johnson MedTech’s Polyphonic Fleet software program software helps hospitals oversee capital tools. The applying can inform the standing of Dualto for software program upgrades and routine upkeep wants.

The corporate stated it plans to make Dualto and Polyphonic Fleet obtainable to pick out hospital websites in choose markets “quickly.” Ottava stays below improvement and investigational evaluate.

Johnson & Johnson MedTech’s Polyphonic ecosystem will allow new experiences throughout our portfolio of medical units, robotics, and software program options,” stated Shan Jegatheeswaran, vp for digital at J&J. “Dualto combines superior power know-how with Polyphonic Fleet’s ecosystem to supply distant help. We’re excited to empower healthcare groups with capabilities for extra linked OR units.”

J&J plans to showcase the system on the Affiliation of periOperative Registered Nurses (AORN) International Surgical Convention & Expo in Boston subsequent month.

Editor’s be aware: This text was syndicated from The Robotic Report sibling website MassDeviceStudy extra about surgical robotics on the Robotics Summit & Expo, which is co-located with DeviceTalks Boston, on April 30 and Could 1.


SITE AD for the 2025 Robotics Summit registration.
Register now so you do not miss out!


A Framework for Detecting Backdoor Assaults in Deep Studying Fashions

0


Deep studying fashions, more and more integral to safety-critical techniques like self-driving automobiles and medical gadgets, are susceptible to stealthy backdoor assaults.

These assaults contain injecting hidden triggers into fashions, inflicting them to misbehave when triggered.

Researchers from the Qatar Computing Analysis Institute and the Mohamed bin Zayed College of Synthetic Intelligence have developed DeBackdoor, a novel framework designed to detect such assaults below practical constraints.

Addressing Real looking Constraints

In lots of situations, builders get hold of deep fashions from third-party sources with out entry to the coaching information or the power to examine the mannequin’s internals.

This creates a difficult setting for backdoor detection, as most present methods require entry to the mannequin’s structure, coaching information, or a number of cases of the mannequin.

DeBackdoor addresses these limitations by utilizing a deductive method to generate candidate triggers and using a search approach to establish efficient triggers.

The framework focuses on optimizing a steady model of the Assault Success Price (ASR), a key metric for evaluating backdoor effectiveness.

Detection Methodology

DeBackdoor’s detection methodology entails defining a search house of potential set off templates based mostly on the outline of the assault.

In keeping with the Report, it then makes use of Simulated Annealing (SA), a stochastic search approach, to iteratively assemble and take a look at candidate triggers.

SA is chosen for its means to keep away from native minima, making certain a extra complete exploration of the set off house in comparison with easier strategies like Hill Climbing.

By making use of these triggers to a small set of unpolluted inputs and evaluating the mannequin’s responses, DeBackdoor can decide if a mannequin is backdoored.

The DeBackdoor framework has demonstrated excessive detection efficiency throughout varied assault situations, together with completely different set off varieties and label methods resembling All2One, All2All, and One2One.

It outperforms present detection baselines like AEVA and B3D, that are restricted of their scope and effectiveness.

The adaptability of DeBackdoor makes it significantly invaluable in situations the place the assault technique is unknown or numerous, offering a strong answer for making certain the safety of deep studying fashions in essential functions.

Are you from SOC/DFIR Groups? – Analyse Malware, Phishing Incidents & get dwell Entry with ANY.RUN -> Begin Now for Free

This Week’s Superior Tech Tales From Across the Internet (By means of March 29)

0


Future

If Anthropic Succeeds, a Nation of Benevolent AI Geniuses Might Be BornSteven Levy | Wired

“The imaginative and prescient [Dario Amodei] spins makes Shangri-La appear to be a slum. Not lengthy from now, perhaps even in 2026, Anthropic or another person will attain AGI. Fashions will outsmart Nobel Prize winners. These fashions will management objects in the actual world and will even design their very own customized computer systems. Hundreds of thousands of copies of the fashions will work collectively—think about a complete nation of geniuses in an information middle!”

Tech

Transfer Over, OpenAI: How the Startup Behind Cursor Grew to become the Hottest, Vibiest Factor in AINatasha Mascarenhas | The Data

“[Anysphere’s $200 million in annual revenue is] an astonishing quantity contemplating that Cursor’s launch got here in January 2023. All of it provides as much as a shocking actuality: Anysphere is likely one of the fastest-growing startups ever, and what Truell and his co-founders have constructed is a bona fide AI rocket ship with a trajectory that stands out even amongst different AI startups hurtling into the stratosphere.”

Computing

How Extropic Plans to Unseat NvidiaWill Knight | Wired

“Extropic has now shared extra particulars of its probabilistic {hardware} with Wired, in addition to outcomes that present it’s on monitor to construct one thing that would certainly provide a substitute for standard silicon in lots of datacenters. The corporate goals to ship a chip that’s three to 4 orders of magnitude extra environment friendly than at this time’s {hardware}, a feat that might make a large dent in future emissions.”

Computing

Might Nvidia’s Revolutionary Optical Change Remodel AI Knowledge Facilities Eternally?Samuel Okay. Moore | IEEE Spectrum

“In line with Nvidia, adopting the CPO switches in a brand new AI information middle would result in one-fourth the variety of lasers, increase energy effectivity for trafficking information 3.5-fold, enhance the reliability of alerts making it from one pc to a different on time by 63-times, make networks 10-fold extra resilient to disruptions, and permit clients to deploy new information middle {hardware} 30 p.c sooner.”

Synthetic Intelligence

A New, Difficult AGI Take a look at Stumps Most AI FashionsMaxwell Zeff | TechCrunch

“‘Reasoning’ AI fashions like OpenAI’s o1-pro and DeepSeek’s R1 rating between 1% and 1.3% on ARC-AGI-2, in response to the Arc Prize leaderboard. Highly effective non-reasoning fashions, together with GPT-4.5, Claude 3.7 Sonnet, and Gemini 2.0 Flash, rating round 1%.”

Computing

The Quantum Apocalypse Is Coming. Be Very AfraidAmit Katwala | Wired

“In the future quickly, at a analysis lab close to Santa Barbara or Seattle or a secret facility within the Chinese language mountains, it’s going to start: the sudden unlocking of the world’s secrets and techniques. Your secrets and techniques. Cybersecurity analysts name this Q-Day—the day somebody builds a quantum pc that may crack probably the most extensively used types of encryption.”

Biotechnology

How a Chapter Decide Can Cease a Genetic Privateness CatastropheKeith Porcaro | MIT Expertise Evaluation

“Any new proprietor of 23AndMe’s information will wish to discover methods to earn cash from it. Lawmakers have a giant alternative to assist maintain it protected. …A chapter court docket might require that customers individually decide in earlier than their genetic information could be transferred to 23andMe’s new house owners, no matter who these new house owners are. Anybody who didn’t reply or who opted out would have the info deleted.”

Simply One Exo-Earth Pixel Can Reveal Continents, Oceans, and ExtraEthan Siegel | Huge Suppose

“Within the coming years and a long time, a number of bold initiatives will attain completion, lastly giving humanity the aptitude to picture Earth-size planets at Earth-like distances round Solar-like stars. …Remarkably, though these exo-Earths will seem as only one lonely pixel in our detectors, we will use that information to detect continents, oceans, icecaps, forests, deserts, and extra.”

Future

Does All Clever Life Face a Nice Filter?Paul Sutter | Ars Technica

“Perhaps we’re alone as a result of primarily no one ever makes it. Perhaps there’s some unavoidable barrier between the origin of clever life and stated life setting off to discover the galaxy. The place of this Nice Filter, as [economist Robin Hanson] named it, is critically vital as we ponder the way forward for humanity.”

Inside arXiv—the Most Transformative Platform in All of ScienceSheon Han | Wired

arXiv’s unassuming facade belies the tectonic reconfiguration it set off within the scientific neighborhood. If arXiv have been to cease functioning, scientists from each nook of the planet would undergo a direct and profound disruption. ‘All people in math and physics makes use of it,’ Scott Aaronson, a pc scientist on the College of Texas at Austin, instructed me. ‘I scan it each evening.'”

Farewell to Gaia, the Milky Means’s CartographerKatrina Miller | The New York Occasions

“It’s troublesome to seize the breadth of improvement and discovery that the spinning observatory has enabled. However listed below are a couple of numbers: almost two billion stars, hundreds of thousands of potential galaxies and a few 150,000 asteroids. These observations have led to greater than 13,000 research, thus far, by astronomers.”