18.8 C
New York
Tuesday, April 1, 2025
Home Blog Page 5

Do not perceive iOS RealityKit’s collision detection


I’m attempting to detect collisions between two RealityKit entities, however the outcomes are surprising.

I thus created a minimal instance. Within the iOS app under, 3 entities are arrange:
A board, a set field and a transferring field.
The board and the first field do not transfer, whereas the 2nd field strikes in the direction of the first field.
All 3 entities have a collisionShape.
As a result of Physics simulation just isn’t used, each packing containers have their collision mode set to .set off.
Each packing containers belong to the identical CollisionGroup, and their collision filter is about to this group.

A CollisionManager subscribes to the start of collision occasions. If a collision is detected, the collision is logged.

When the app is began, the 2nd field is transferring in the direction of the first one till each are on the identical place. No collision is logged. I anticipated that the collision between each packing containers can be detected.

If setting of the collision filter of a field is out commented, the next is logged when the app begins (the various RealityKit logs are omitted):

collision started between board and Fastened field
collision started between Fastened field and board
collision started between board and Shifting field
collision started between Shifting field and board

Clearly, collision might be detected, however a collision between each packing containers just isn’t. However why?

Right here is my code:

//
//  CollisionApp.swift
//  Collision
//
//  Created by Reinhard Männer on 31.03.25.
//

import SwiftUI

@predominant
struct CollisionApp: App {
    var physique: some Scene {
        WindowGroup {
            ContentView()
        }
    }
}  

//
//  CollisionManager.swift
//  Collision
//
//  Created by Reinhard Männer on 31.03.25.
//

import Mix
import Basis
import RealityKit

class CollisionManager {
    var movementTimer: Timer?
    non-public var updateVehicleCollisionSubscription: Cancellable?
    
    func startVehicleCollisionTrigger(scene: RealityKit.Scene) {
        updateVehicleCollisionSubscription = scene.subscribe(to: CollisionEvents.Started.self) { occasion in
            let a = occasion.entityA
            let b = occasion.entityB
            print("collision started between (a.identify) and (b.identify)")
        }
    }

    func startMovement(entity: Entity) {
        movementTimer = Timer.scheduledTimer(withTimeInterval: 0.1, repeats: true) { timer in
            if entity.place.x > 0 {
                entity.place.x -= 0.02
            } else {
                timer.invalidate()
                self.movementTimer = nil
            }
        }
    }
}

//
//  ContentView.swift
//  Collision
//
//  Created by Reinhard Männer on 31.03.25.
//

import RealityKit
import SwiftUI

struct ContentView: View {
    let collisionManager = CollisionManager()
    let boardHeight: Float = 0.1
    let boxHeight: Float = 0.3
    
    var physique: some View {
        var movingBox: Entity?
        
        RealityView { content material in
            let board = makeBoard()
            content material.add(board)
            
            let box1 = makeBox(identify: "Fastened field")
            board.addChild(box1)
            
            movingBox = makeBox(identify: "Shifting field")
            movingBox?.place.x = 0.8
            board.addChild(movingBox!)
        }
        replace: { content material in
            let scene = content material.entities.first?.scene
            collisionManager.startVehicleCollisionTrigger(scene: scene!)
            collisionManager.startMovement(entity: movingBox!)
        }
    }
    
    func makeBoard() -> ModelEntity {
        let mesh = MeshResource.generateBox(width: 2.0, top: boardHeight, depth: 1.0)
        var materials = UnlitMaterial(); materials.colour.tint = .pink
        let boardEntity = ModelEntity(mesh: mesh, supplies: [material])
        boardEntity.identify = "board"
        boardEntity.generateCollisionShapes(recursive: false)

        boardEntity.rework.translation = [0, 0, -3]
        return boardEntity
    }
    
    func makeBox(identify: String) -> ModelEntity {
        let mesh = MeshResource.generateBox(width: 0.2, top: boxHeight, depth: 0.3)
        var materials = UnlitMaterial(); materials.colour.tint = .inexperienced
        let boxEntity = ModelEntity(mesh: mesh, supplies: [material])
        boxEntity.identify = identify
        
        // To place the field onto the board, transfer it up by half top of the board and half top of the field
        let y_up = boardHeight/2.0 + boxHeight/2.0
        boxEntity.place = SIMD3(0, y_up, 0)
        
        // Enable to detect collisions between packing containers solely and to set off code execution.
        boxEntity.generateCollisionShapes(recursive: false)
        boxEntity.collision!.mode = .set off
        let collisionGroup = CollisionGroup(rawValue: 1 << 0)
        let filter = CollisionFilter(group: collisionGroup, masks: collisionGroup)
        boxEntity.collision!.filter = filter
        
        return boxEntity
    }

}

Hackers Exploit WordPress mu-Plugins to Inject Spam and Hijack Website Photographs

0


Mar 31, 2025Ravie LakshmananKnowledge Theft / Web site Safety

Hackers Exploit WordPress mu-Plugins to Inject Spam and Hijack Website Photographs

Risk actors are utilizing the “mu-plugins” listing in WordPress websites to hide malicious code with the aim of sustaining persistent distant entry and redirecting web site guests to bogus websites.

mu-plugins, brief for must-use plugins, refers to plugins in a particular listing (“wp-content/mu-plugins”) which might be robotically executed by WordPress with out the necessity to allow them explicitly by way of the admin dashboard. This additionally makes the listing a perfect location for staging malware.

“This method represents a regarding development, because the mu-plugins (Should-Use plugins) should not listed in the usual WordPress plugin interface, making them much less noticeable and simpler for customers to disregard throughout routine safety checks,” Sucuri researcher Puja Srivastava mentioned in an evaluation.

Cybersecurity

Within the incidents analyzed by the web site safety firm, three totally different sorts of rogue PHP code have been found within the listing –

  • “wp-content/mu-plugins/redirect.php,” which redirects web site guests to an exterior malicious web site
  • “wp-content/mu-plugins/index.php,” which affords net shell-like performance, letting attackers execute arbitrary code by downloading a distant PHP script hosted on GitHub
  • “wp-content/mu-plugins/custom-js-loader.php,” which injects undesirable spam onto the contaminated web site, possible with an intent to advertise scams or manipulate search engine optimisation rankings, by changing all photographs on the positioning with express content material and hijacking outbound hyperlinks to malicious websites

The “redirect.php,” Sucuri mentioned, masquerades as an online browser replace to deceive victims into putting in malware that may steal information or drop extra payloads.

“The script features a perform that identifies whether or not the present customer is a bot,” Srivastava defined. “This permits the script to exclude search engine crawlers and forestall them from detecting the redirection conduct.”

The event comes as risk actors are persevering with to make use of contaminated WordPress websites as staging grounds to trick web site guests into operating malicious PowerShell instructions on their Home windows computer systems below the guise of a Google reCAPTCHA or Cloudflare CAPTCHA verification – a prevalent tactic referred to as ClickFix – and ship the Lumma Stealer malware.

Hackers Exploit WordPress

Hacked WordPress websites are additionally getting used to deploy malicious JavaScript that may redirect guests to undesirable third-party domains or act as a skimmer to siphon monetary info entered on checkout pages.

It is presently not recognized how the websites could have been breached, however the ordinary suspects are susceptible plugins or themes, compromised admin credentials, and server misconfigurations.

Cybersecurity

In accordance with a brand new report from Patchstack, risk actors have routinely exploited 4 totally different safety vulnerabilities for the reason that begin of the yr –

  • CVE-2024-27956 (CVSS rating: 9.9) – An unauthenticated arbitrary SQL execution vulnerability in WordPress Computerized Plugin – AI content material generator and auto poster plugin
  • CVE- 2024-25600 (CVSS rating: 10.0) – An unauthenticated distant code execution vulnerability in Bricks theme
  • CVE-2024-8353 (CVSS rating: 10.0) – An unauthenticated PHP object injection to distant code execution vulnerability in GiveWP plugin
  • CVE-2024-4345 (CVSS rating: 10.0) – An unauthenticated arbitrary file add vulnerability in Startklar Elementor Addons for WordPress

To mitigate the dangers posed by these threats, it is important that WordPress web site house owners preserve plugins and themes updated, routinely audit code for the presence of malware, implement sturdy passwords, and deploy an online utility firewall to malicious requests and forestall code injections.

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



Extra Sodium Batteries Difficult Tesla Power Storage Enterprise



Join every day information updates from CleanTechnica on electronic mail. Or comply with us on Google Information!


Didn’t Tesla CEO Elon Musk say one thing about new sodium batteries coming this 12 months? Perhaps so, however don’t maintain your breath. Currently, the very busy man has been busy influencing elections in a number of states whereas attending to his primary enterprise of serving to the self-proclaimed Fertilization President handle issues across the White Home. Tesla’s EV gross sales are falling off a cliff, however no worries, Tesla will at all times have its Megapack vitality storage all sewn up…. Oh wait….

Sodium Batteries Are Coming To The Power Storage Market

Sodium batteries (aka sodium-ion batteries) deploy salt and different cheap, considerable supplies. They’re additionally non-flammable and non-toxic. Transferring these attributes into long-lasting, high-performing vitality storage methods has been a piece in progress, with extra weight among the many obstacles. Now all that tough work is starting to repay and sodium batteries are starting to emerge in the marketplace, each for stationary vitality storage and mobility functions. The newest information on the mobility entrance comes from the Chinese language startup HiNa Battery Expertise, which has been very busy since launching in 2017.

In February of 2024 the market analysis agency IDTechEx caught up with HiNa, noting that the battery maker unveiled a protoype electrical microcar in 2023, alongside the discharge of its new lineup of sodium batteries. “The low-cost Sehol E10X microcar makes use of a 25 kWh battery pack constructed from cylindrical sodium-ion cells from HiNa,” IDTech Ex noticed, including that HiNa commissioned its preliminary 1-gigawatt manufacturing line in December of 2022, with plans already within the works for 5 totaling 30 gigawatts.

“Loads of competitors, like CATL, Svolt, Farasis, Lifun, DFD, Transimage, and others are at present engaged on their very own sodium-ion batteries to be mass-produced this 12 months,” IDTechEx added for good measure.

Final fall, HiNa additionally earned a name-check from the agency Analysis and Markets in a new report posted below the headline “Sodium-ion Batteries Supplies, Applied sciences and International Markets to 2029 with CATL, HiNa Battery Expertise, Faradion, Tiamat, and Natron Power Dominating the $838.5 Million Trade” (see extra sodium-ion battery background right here).

Extra Sodium Batteries For The USA

A US angle additionally surfaced final fall, although not in a mobility type of means. On October 10, the Ohio-based battery agency Acculon introduced a hookup with HiNa to carry the agency’s sodium batteries to the US marketplace for stationary vitality storage.

“This collaboration goals to exchange conventional lead-acid methods in business and industrial functions with superior Na+ know-how, providing improved security, efficiency, and vitality density. Acculon chosen HiNa after rigorous testing of a number of suppliers, recognizing their Na+ know-how as superior for knowledge facilities, grid modernization, and different crucial markets,” Acculon defined of itself.

Acculon additionally took a poke at lithium-ion battery know-how alongside the best way, noting that “industrial and business markets are looking for Na+ know-how to mitigate issues concerning the intrinsic volatility of lithium-ion battery supplies and provide chains.”

Sodium Batteries To Decrease The Value Of EVs

Circling again round to the mobility facet, final week HiNa introduced the launch of a brand new fast-charging sodium battery for the EV market, stating that it will possibly cost to 100% in 20–25 minutes and final for greater than 8,000 fees, even when fast-charging is used solely.

As described by the China-centric EV information group CnEVPost, the brand new sodium batteries are a step up from HiNa’s preliminary deal with electrical two-wheelers and sedans.

Known as “Hina Battery · Haixing,” the suite of 4 merchandise consists of the K150 and K210 for brief distances, and the K280 and K350 for logistics transportation.

“In contrast with current typical business car battery options, Hina’s sodium-ion battery resolution can assist larger output at considerably decrease prices,” CnEVPost reported, citing HiNa normal supervisor Li Shujun.

What About The USA?

Over right here within the US, the Division of Power has pumped tens of millions of taxpayer {dollars} into publicly funded R&D efforts aimed toward shaking the kinks out of sodium-ion battery know-how, with the intention of bringing vitality storage prices down, constructing extra resiliency into the provision chain, and lowering if not eliminating poisonous supplies. It stays to be seen if the IVF-obsessed Commander-in-Chief who occupies the the Oval Workplace stops the trouble in its tracks, however the sodium battery cat is already out of the bag.

Final August, for instance, the California agency Natron Power introduced plans to scale up manufacturing of its sodium batteries for the home market, starting with a $1.4 billion manufacturing facility in Edgecombe County, North Carolina.

If all goes in accordance with plan, the power could have a 24-gigawatt output, about 40 occasions the capability of Natron’s current manufacturing line. The corporate additionally anticipates creating 1,000 new excessive paying jobs and including $3.4 billion to the North Carolina economic system over the following dozen years or so

Extra Sodium Batteries Are Coming … For Your Megapacks

“Natron’s high-performance sodium-ion batteries outperform lithium-ion batteries in energy density and recharging velocity, don’t require lithium, cobalt, copper, or nickel, and are non-flammable,” Natron emphasizes (see extra Natron battery background right here).

Don’t get too excited concerning the EV angle simply but. Natron is aiming the 1.2 million sq. foot facility on the stationary vitality storage market, together with sodium batteries for EV quick charging stations.

“Natron’s batteries are the one UL-listed sodium-ion batteries in the marketplace at the moment, and shall be delivered to a variety of buyer finish markets within the industrial energy area, together with knowledge facilities, mobility, EV quick charging, microgrids, and telecom, amongst others,” the corporate states.

Natron is getting a beneficiant help from state-based financial growth funds in North Carolina, so this isn’t essentially a type of high-impact cleantech tasks that Trump and his wrecking crew at “DOGE” can attempt to wreck by suspending or clawing again funds awarded by means of federal companies.

In a single signal that the undertaking is transferring ahead, on March 6, the Czech chemical substances agency Draslovka introduced a brand new R&D settlement with Natron. “The partnership will leverage Draslovka’s deep experience in proprietary chemistry manufacturing to provide high-quality Prussian blue supplies which are essential for Natron’s superior sodium-ion battery design,” Draslovka defined.

“The power will function a blueprint to increase Draslovka’s operations within the U.S. and allow Natron’s mission of scaling sodium-ion battery manufacturing to fulfill hovering demand,” Draslovka added.

It’s additionally one other signal that competitors within the US vitality storage trade is heating up. To this point, Tesla’s Megapack has loved a wholesome share of the business vitality storage market, however that might change.

The corporate’s EV enterprise has been wilting below the warmth of name repute gone bitter, however up to now the stain has not unfold into Tesla’s Megapack stationary vitality storage enterprise. That’s to be anticipated. Model repute might be not high of the thoughts for many commercial-scale vitality managers. They’re value, effectivity, and reliability, and that’s sufficient to offer Tesla a run for the cash.

Picture: Sodium batteries are working their means into the business vitality storage market within the US, providing a safer, home, eco-friendly provide chain together with efficiency enhancements (by way of CleanTechnica archive).

Whether or not you might have solar energy or not, please full our newest solar energy survey.



Chip in a number of {dollars} a month to assist assist unbiased cleantech protection that helps to speed up the cleantech revolution!


Have a tip for CleanTechnica? Wish to promote? Wish to counsel a visitor for our CleanTech Speak podcast? Contact us right here.


Join our every day e-newsletter for 15 new cleantech tales a day. Or join our weekly one if every day is just too frequent.


Commercial



 


CleanTechnica makes use of affiliate hyperlinks. See our coverage right here.

CleanTechnica’s Remark Coverage




Mild-Pushed Plasmonic Microrobots for Nanoparticle Manipulation – NanoApps Medical – Official web site


A current examine revealed in Nature Communications presents a brand new microrobotic platform designed to enhance the precision and flexibility of nanoparticle manipulation utilizing mild. Led by Jin Qin and colleagues, the analysis addresses limitations in conventional optical strategies and introduces a microrobot powered by plasmonic nanomotors.

Background: Limitations of Conventional Methods

Manipulating nanoparticles on the nanoscale is a persistent problem. Standard optical tweezers work effectively for microscale objects however face limitations with nanoparticles as a result of diffraction limits and restricted management over particle orientation. Efforts to induce particle rotation or improve management usually contain trade-offs, comparable to cumbersome attachments or advanced multi-trap configurations, which prohibit flexibility and accuracy.

To beat these constraints, the authors developed a light-driven microrobotic system—basically a microdrone that may transfer with a number of levels of freedom and manipulate nanoparticles with enhanced precision. This platform goals to offer larger agility and fine-tuned management for purposes requiring nanoscale manipulation.

The Present Research

The microrobots have been constructed utilizing a inflexible, clear disk-shaped physique created from hydrogen silsesquioxane (HSQ), measuring roughly 3.5 μm in diameter and 150 nm in peak, with a complete weight of round 3.8 pg. A number of plasmonic antennas have been built-in into the construction to function unbiased motors.

On the core of the manipulation system is a plasmonic nano-tweezer—a gold cross-antenna designed and fabricated utilizing centered helium ion beam milling. This construction generates a localized near-field scorching spot that allows the trapping of nanoparticles. The tweezer was embedded immediately onto the microrobot in a single fabrication step, with a 1 μm hole maintained between the tweezer and motors to keep away from interference.

For experimental validation, a static tweezer setup was used. It was mounted on a coverslip inside a water cell containing nanodiamonds (common diameter of 70 nm). A 980 nm infrared laser was used to create an optical lure, whereas a 532 nm inexperienced laser excited the nanodiamonds’ shade facilities for fluorescence-based monitoring.

The microrobots have been launched into resolution by etching away the indium tin oxide substrate utilizing hydrochloric acid. As soon as free-floating in water, the infrared laser induced a delicate push from the substrate, enabling the trapping of nanodiamonds with out undesirable adhesion, which may end result from floor cost results.

All trapping and manipulation occasions have been recorded utilizing a high-numerical-aperture oil-immersion goal for detailed imaging of microrobot habits.

Outcomes and Dialogue: Efficiency of the Microrobot Platform

The researchers efficiently demonstrated the microrobot’s means to lure, transport, and launch nanoparticles with excessive precision. Experimental sequences confirmed the microrobots performing each spiral and linear movement patterns whereas securely holding nanodiamonds.

Secure trapping was achieved by the interplay of optical gradient forces and plasmonically enhanced fields, confirming the effectiveness of the built-in tweezer design.

The system additionally exhibited dependable management over dynamic sequences, one thing not potential with many present manipulation instruments. The purposes mentioned embrace focused drug supply, quantum sensing, and different nanotech workflows that require cargo transport on the nanoscale.

The authors do acknowledge some limitations. For example, heat-induced thermophoresis can scale back trapping effectivity, and particles could detach throughout fast motion. Nevertheless, they recommend that implementing an energetic suggestions system might assist counteract Brownian movement and enhance positional accuracy throughout manipulation.

With additional refinement, this platform might help a wider vary of purposes in areas like focused cargo supply, quantum sensing, and precision nanoscale engineering.

Journal Reference

Qin J., et al. (2025). Mild-driven plasmonic microrobot for nanoparticle manipulation. Nature Communications 16, 2570. DOI: 10.1038/s41467-025-57871-x, https://www.nature.com/articles/s41467-025-57871-x

Lunar microwave to purify water frozen in Moon’s soil wins UK House Company award



Lunar microwave to purify water frozen in Moon’s soil wins UK House Company award

A expertise that makes use of microwaves (to defrost) and ultrasound (to interrupt down) contaminants in melted lunar ice to supply clear, drinkable water for astronauts has gained the UK House Company funded Aqualunar Problem.

The Aqualunar Problem is a £1.2 million worldwide prize funded by the UK House Company’s Worldwide Bilateral Fund and delivered by Problem Works – a part of Nesta. It goals to drive the event of revolutionary applied sciences that make human habitation on the Moon viable by purifying water buried beneath the lunar floor.

The SonoChem System by Gloucestershire-based Naicker Scientific, led by Lolan Naicker, was named the winner by UK House Company’s Meganne Christian at a ceremony in Canada Home in London’s Trafalgar Sq., the place the workforce was awarded the £150,000 first prize.

Meganne Christian, Reserve Astronaut and Business Exploration on the UK House Company and chair of the Aqualunar Problem judging panel, stated:

“NASA has set the purpose of creating a everlasting crewed base on the Moon by the tip of the last decade. The Artemis programme, as it’s identified, is supported by the UK House Company via its membership of the European House Company. Astronauts will want a dependable provide of water for ingesting and rising meals, in addition to oxygen for air and hydrogen for gas. 5.6% of the soil (often known as ‘regolith’) across the Moon’s south pole is estimated to be water frozen as ice. If it may be efficiently extracted, separated from the soil and purified, it makes a crewed base viable.”

The SonoChem System employs Naicker Scientific’s groundbreaking core expertise to purify water derived from lunar ice. Harnessing highly effective sound waves, it spontaneously kinds hundreds of thousands of tiny bubbles in contaminated water. The intense temperature and stress created inside every micro bubble generates free radicals (unstable atoms that are extremely chemically reactive) which successfully removes contaminants.

Lolan Naicker, Technical Director, Naicker Scientific defined:

“Think about digging up the soil in your again backyard in the midst of winter and attempting to extract frozen water to drink. Now think about doing it in an atmosphere that’s -200°C, an almost good vacuum, below low gravity, and with little or no electrical energy. That’s what we must overcome on the Moon. If we will make the SonoChem System work there, we will make it work wherever, whether or not that’s on Mars’ glaciers, or right here on Earth in areas the place accessing clear water remains to be a problem”.

UK Science Minister, Lord Vallance stated:

“The Aqualunar Problem was set as much as overcome one of the vital obstacles to people surviving on the Moon or different planets – the provision of unpolluted ingesting water.

“By teaming up with our Canadian companions and harnessing the wealth of expertise and creativity discovered throughout the UK, the problem has uncovered a variety of recent concepts, together with Naicker Scientific’s SonoChem system.

“Many of those concepts couldn’t solely gas future house exploration, but additionally assist enhance lives and clear up water shortages right here on Earth – mitigating the impacts of local weather change as we work in direction of a internet zero future, a key ambition in our Plan for Change.”

Naicker Scientific was awarded the £150,000 first prize, with two runners up successful £100,000 and £50,000 respectively:

First runner up: FRANK – Filtered Regolith Aqua Neutralisation Equipment – developed by father and sons workforce RedSpace Ltd, Aldershot. A 3-stage method designed to ship a steady circulate of drinking-grade water in a lunar atmosphere first heats the regolith pattern in a sealed chamber to separate off risky gases and go away a liquid of water, methanol and regolith fragments. The liquid is handed via a membrane to take away stable particles. The remaining liquid is distilled to separate the methanol from the water.
Second runner up: AquaLunarPure: Supercritical Water Purification on the Moon – developed by Queen Mary College of London. A reactor melts lunar ice to separate the mud and rock particles, then heats it to greater than 373°C at 220 bars of stress to show it into “supercritical water” – not a stable, a liquid or a fuel, however a fourth state that seems like a thick vapour – by which oxidation will take away all of the contaminants in a single step.

10 finalist groups had been every awarded £30,000 seed funding in July 2024 to develop their applied sciences in pursuit of the prize and supplied with a complete package deal of non-financial help, together with knowledgeable mentoring and entry to testing amenities.

The Aqualunar Problem is delivered by Problem Works – a part of the UK’s innovation company for social good, Nesta – and the UK House Company (UKSA), in collaboration with the Canadian House Company (CSA) and Influence Canada, with half the prize being awarded to UK-led groups, and half being awarded to Canadian-led groups.

Holly Jamieson, Govt Director, Problem Works stated:

“Problem prizes are open innovation competitions that stage the enjoying area for innovators whether or not they’re well-established in a sector or coming to it for the primary time – rewarding concepts slightly than reputations. The Aqualunar Problem efficiently attracted new entrants to work within the house sector – a sector that already generates £19 billion of revenue a yr within the UK, however the place there may be nice potential for development. Competing groups have reported again that collaborating within the prize has helped them safe funding and open up industrial conversations to develop their companies. There might solely be one first prize, however the Aqualunar Problem has produced many winners.”

To seek out out extra concerning the Aqualunar Problem within the UK and be taught extra about all ten competing groups, go to aqualunarchallenge.org.uk.