Home Blog Page 9

swift – Is Apple’s iOS documentation incorrect about beforehand registered class with the identical reuse identifier being changed with the brand new cellClass?


Apple’s documentation says that:

For those who beforehand registered a category or nib file with the identical reuse identifier, the category you specify within the cellClass parameter replaces the previous entry. It’s possible you’ll specify nil for cellClass if you wish to unregister the category from the required reuse identifier.

This does not appear to be right so far as I can inform.

Beneath easy pattern code demonstrates the problem. Principally, I’ve a slider which modifications the padding worth. When padding modifications, it ought to re-register (change the previous entry) the category with reuse identifier and reload the desk to indicate the brand new padding:

import UIKit
import SnapKit

extension String {
    static let kPadding = Self("padding")
    static let cellId = Self("cell")
}

class ViewController: UIViewController, UITableViewDataSource {
    
    let tableView = UITableView(body: .zero, type: .plain)

    override func viewDidLoad() {
        tremendous.viewDidLoad()
        
        registerCell()
        tableView.dataSource = self
        
        view.addSubview(tableView)
        tableView.snp.makeConstraints { make in
            make.horizontalEdges.high.equalToSuperview()
        }
        
        let slider = UISlider()
        slider.isContinuous = false
        slider.minimumValue = 0
        slider.maximumValue = 100
        slider.worth = UserDefaults.commonplace.float(forKey: .kPadding)
        slider.addTarget(self, motion: #selector(sliderChanged(slider:)), for: .valueChanged)
        
        view.addSubview(slider)
        slider.snp.makeConstraints { make in
            let padding = 15.0
            make.horizontalEdges.backside.equalTo(view.safeAreaLayoutGuide).inset(padding)
            make.high.equalTo(tableView.snp.backside).offset(padding)
        }
        
    }
    
    @objc func sliderChanged(slider : UISlider) {
        print("sliderChanged: (slider.worth)")
        UserDefaults.commonplace.set(slider.worth, forKey: .kPadding)
        registerCell()
        tableView.reloadData()
    }
    
    func registerCell(){
        tableView.register(Cell.self, forCellReuseIdentifier: .cellId)
    }

    func tableView(_ tableView: UITableView, numberOfRowsInSection part: Int) -> Int {
        100
    }
    
    func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        let cell = tableView.dequeueReusableCell(withIdentifier: .cellId) as! Cell
        
        cell.label.textual content = "Hiya (indexPath.row)"
        
        return cell
    }

}

class Cell: UITableViewCell {
    
    let label = UILabel()
    
    override init(type: UITableViewCell.CellStyle, reuseIdentifier: String?) {
        tremendous.init(type: type, reuseIdentifier: reuseIdentifier)
        label.font = UIFont.systemFont(ofSize: 34, weight: .daring)
        
        contentView.addSubview(label)
        label.snp.makeConstraints { make in
            make.edges.equalTo(UserDefaults.commonplace.float(forKey: .kPadding))
        }
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been applied")
    }
}

Nevertheless, this does not appear to be the case. It continues to make use of the earlier padding and previous entry will not be changed.

Am I misunderstanding what Apple’s documentation is saying?

Why digital transformation begins with an clever community infrastructure



Heightened end-user expectations and a larger emphasis on digitalization are rewiring the enterprise panorama once more. Companies seeking to sharpen their aggressive edge and keep modern on this local weather should faucet into options reminiscent of synthetic intelligence (AI), machine studying (ML) and hybrid multicloud.

But, this new digital panorama has seen extra fragmented information sources and disparate techniques than ever, leading to siloed operations, safety vulnerabilities, and inefficiencies. And with IDC concluding that community safety and information safety are among the many key priorities of companies within the subsequent few years (with international spending seeing a 13% CAGR between 2021 and 2026) modernizing the community infrastructure is a should.

To make sure a profitable transformation, the convergence of connectivity and safety will make up the core of this technique.

Constructing a sturdy, clever community

A safe and clever fashionable community that may assist the deployment of rising applied sciences throughout websites and hybrid workplaces ought to lay the muse of this transformation. As well as, this community must be able to defending companies towards an unpredictable menace panorama.

For an answer to ship on this promise of connectivity, an important characteristic is a unified platform for managing a number of digital instruments integrating cellular, cloud, Web of Issues (IoT), and networking instruments right into a single platform. Not solely can enterprises leverage this to handle quite a lot of connections, networks, and information sources centrally, they’ll additionally join seamlessly throughout communication channels to reinforce collaboration between departments. And with self-service instruments, community administration might be centralized by way of the platform, making operations leaner and extra environment friendly.

Central to such a platform, too, is built-in community and safety. Bringing these two pillars of a contemporary community collectively ought to ship superior cybersecurity capabilities throughout mounted and 5G networks whereas supporting companies to drive connectivity from the cloud to the sting.

Lastly, end-to-end visibility must be a key consideration for enterprises if they need a holistic view of the community ecosystem. With elevated community oversight, companies can improve flexibility and agility of their digital infrastructure, whereas gaining dependable insights into their community.

Driving enterprise progress with safe connectivity

One instance of a community answer that lets companies navigate right this moment’s complicated digital panorama with resilience is Singtel CUBΣ. It eliminates the problem of integrating disparate networks whereas breaking down community silos.

On the identical time, its in depth portfolio of wired and wi-fi connectivity provides companies entry to superior applied sciences and experience, to allow them to give attention to driving innovation. The answer can even assist enterprises navigate right this moment’s dynamic enterprise panorama by:

  • Optimizing efficiency with an AI/ML-driven platform: Backed by AI and ML pushed analytics, Singtel CUBΣ unifies fragmented information sources to extract dependable, data-driven insights, so determination makers could make smarter, extra knowledgeable selections. And with steady visibility into community efficiency by way of real-time information analytics, companies can even allow proactive incident administration to cut back downtime and even predict future enterprise wants.
  • Lowering CapEx prices with usage-based and versatile pricing: From pay-as-you-go and subscription choices, Singtel CUBΣ provides versatile consumption fashions to accommodate the wants of all organizations, from small and medium companies to massive enterprises.
  • Defending towards potential threats: With strong safety measures constructed into the platform, reminiscent of AI-driven menace detection and leveraging telco information for seamless community authentication, Singtel CUBΣ can thwart threats on the community stage, whereas serving to companies guarantee information privateness and regulatory compliance.

Providing best-in-class partnerships: Singtel has a sturdy companion ecosystem supporting its complete suite of options. This helps scale back the effort and time wanted to take care of a number of suppliers, permitting organizations to optimize and safe their community environments successfully.

  • Driving sustainability efforts effectively: Companies can scale back carbon footprint and implement energy-efficient practices with operational administration that aligns with sustainability objectives—all whereas rising value effectivity.

Discover out extra about how Singtel CUBΣ can empower your enterprise to thrive in a quickly evolving digital panorama with a scalable, fashionable community.

Overland AI launches ULTRA autonomous floor methods for protection

0


Overland AI launches ULTRA autonomous floor methods for protection

The ULTRA autonomous tactical automobile, integrates and deploys a number of modular payloads, together with UAS for reconnaissance and breaching operations. | Credit score: Overland AI

Overland AI right this moment introduced the launch of its ULTRA uncrewed tactical platform. The Seattle-based firm stated ULTRA is a brand new technology of floor system, designed to be totally autonomous and simple configurable for various missions.

On the coronary heart of the system is Overland AI’s proprietary OverDrive software program stack, its SPARK {hardware} infrastructure, and modular payloads that embrace uncrewed aerial methods (UAS) and counter-UAS methods.

“ULTRA can navigate environments starting from dense forests to volcanic ridges,” stated Byron Boots, co-founder and CEO of Overland AI. “This empowers the warfighter to win in essential contested theaters just like the Indo-Pacific whereas protecting them out of hurt’s means.”


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


Overland AI designs for a number of missions

ULTRA includes a 1,000-lb. (453.5 kg) payload capability and a high pace of 35 mph (56.3 kph), with a cruising vary extending to 100 miles, stated the corporate, which was based in 2022. Its off-road autonomy software program, developed by way of in depth and rigorous testing within the DARPA RACER program, permits uncrewed platform motion in GPS-denied environments throughout brutal terrain and situations.

What units ULTRA aside is its versatility throughout vital floor operations, together with built-in reconnaissance operations, direct help of maneuver forces, and counter-UAS safety. Overland AI stated its missions can even embrace resupply for humanitarian support, together with meals and water, and contested logistics missions.

The system’s networked capabilities allow seamless communication with warfighters and command nodes by way of native mesh networks, 5G, and satellite tv for pc uplinks.

“ULTRA offers commanders an instantly deployable answer for reconnaissance, counter-UAS, and logistics operations,” added Greg Okopal, co-founder and chief working officer of Overland AI. “The automobile is backed by resilient, networked communications that reach attain and cut back threat.”

overland ai ULTRA in the field.

The ULTRA autonomous automobile can map its environment in actual time, whereas driving offroad in new territory. | Credit score: Overland AI

ULTRA a part of ongoing contracts

The ULTRA system builds on Overland AI’s established relationship with the U.S. armed forces, following the Overland AI’s $18.6 million contract with the U.S. Military and Protection Innovation Unit (DIU) for the Robotic Fight Car (RCV) program. The corporate continues to help applications throughout the Military, Marine Corps, and Particular Operations Command.

The automobile is fitted with a modular, adaptable deck with L-track mounting, vertical hitch receivers, shackles, and facet rails as mount factors for
mission-specific payloads. It has a gross automobile weight of three,500 lb. (1,587 kg), a payload capability of 1,000 lb. (454 kg), and a high pace of 35 mph (56 kph).

As well as, the automobile is gas-powered with a 114 HP engine and affords 1KW {of electrical} energy for onboard payloads.

On the coronary heart of the autonomy for the platform is OverDrive, a proprietary floor automobile autonomy stack, that’s purpose-built for advanced, pure, and contested environments. Mission commanders can use the OverWatch software program, which empowers unit operators with superior mission planning.

The corporate claimed that its platform “permits intuitive, one-to-many management of autos powered by OverDrive with unmatched effectivity and precision.”

To be taught extra about the way forward for subject robotics, make sure to attend the upcoming Area Robotics Discussion board at RoboBusiness on Oct. 15 and 16, 2025 in Santa Clara, Calif.

The EcoFlow DELTA 2 Max Is On Sale For $999 – Right here’s Why It’s Price Each Penny



Join CleanTechnica’s Weekly Substack for Zach and Scott’s in-depth analyses and excessive degree summaries, join our each day publication, and/or comply with us on Google Information!


For those who’ve ever skilled a blackout, gone tenting, or simply needed a dependable backup energy supply, you understand how irritating it’s to be left at the hours of darkness — actually. That’s the place the EcoFlow DELTA 2 Max is available in. Proper now, it’s on sale for simply $999 (down from its regular $1,699), and actually, it may be one of many smartest energy purchases you may make this 12 months.

So what makes this moveable energy station stand out from the pack?

Severe Energy In A Moveable Bundle

The DELTA 2 Max delivers a hefty 2,400W of energy, which is sufficient to run most of your family home equipment. We’re speaking fridges, microwaves, CPAP machines, espresso makers — just about something you’d need operating throughout an influence outage or when you’re off the grid. With X-Enhance know-how, it could even deal with surges as much as 3,400W, so that you don’t have to fret about these high-demand units.

CleanTechnica’s personal Kyle Subject put the EcoFlow DELTA 2 Max to the take a look at in his hands-on evaluation right here.

Its base battery capability is 2,048Wh, which is spectacular by itself. However should you want extra juice, you possibly can broaden it as much as 6kWh with additional batteries, making it a real workhorse for each on a regular basis use and emergency prep.

Quick Charging That Really Delivers

One of the vital irritating issues about moveable energy stations is how lengthy they take to cost. Not this one. Plug it into the wall and also you’ll get from 0% to 80% in simply over an hour — about 70 minutes to be precise. Mix wall and photo voltaic charging, and also you’ll hit that very same 80% in simply 43 minutes. That’s quicker than a whole lot of smartphones.

For those who’re into clear power, the DELTA 2 Max helps as much as 1,000W of photo voltaic enter, which suggests you possibly can absolutely recharge it in as little as 2.3 hours with photo voltaic panels (bought individually). Good for van lifers, off-grid cabins, or anybody trying to scale back their carbon footprint.

Constructed To Final (Significantly)

This isn’t your common battery tech. The DELTA 2 Max makes use of LiFePO₄ (LFP) battery chemistry, which isn’t solely safer than conventional lithium-ion batteries, but additionally longer-lasting. You’ll recover from 3,000 full cost cycles earlier than it drops to 80% capability. That’s principally 10 years of standard use. Plus, with a sensible Battery Administration System (BMS), the unit continuously screens efficiency to guard in opposition to overcharging, overheating, and different points.

Quiet, Clear, & Tremendous Simple to Use

In contrast to gas-powered turbines, the DELTA 2 Max runs quietly — round 30 decibels, which is softer than a dialog. It’s additionally fully emission-free, so it’s secure to make use of indoors, at campsites, or anyplace you don’t need fumes or engine noise.

The interface is clear and easy, with an intuitive LCD display screen exhibiting all the things you must know. You may also management and monitor the unit remotely by way of the EcoFlow app, which is a pleasant bonus whenever you’re multitasking or away from the unit.

Versatility That Matches Your Way of life

Whether or not you’re a camper, an RVer, a house prepper, or simply somebody who doesn’t like being caught off guard, the EcoFlow DELTA 2 Max checks all of the containers. It might energy:

  • A fridge for as much as 14 hours
  • A WiFi router for over 2 days
  • A cellphone over 140 occasions
  • A laptop computer 30+ occasions
  • And even a microwave for over an hour

It’s nice for emergencies, positive, however it’s additionally a stable on a regular basis backup that brings peace of thoughts. And at this value, it’s top-of-the-line values you’ll discover within the moveable energy house.

Last Ideas

The EcoFlow DELTA 2 Max is a severe piece of drugs. It’s highly effective, fast-charging, long-lasting, and full of considerate options that make it simple to make use of in nearly any state of affairs. And now that it’s on sale for $999 (that’s $700 off), it’s arduous to move up.

For those who’ve been fascinated about investing in an influence station — whether or not for backup energy, off-grid adventures, or simply comfort — now’s the time. 🔌 Seize it right here whereas it’s nonetheless on sale: EcoFlow DELTA 2 Max 

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




Have a tip for CleanTechnica? Need to promote? Need to recommend a visitor for our CleanTech Discuss podcast? Contact us right here.


Join our each day publication for 15 new cleantech tales a day. Or join our weekly one if each day is just too frequent.


Commercial



 


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

CleanTechnica’s Remark Coverage




Thriller Objects From Different Stars Are Visiting Our Photo voltaic System. These Missions Will Examine Them Up Shut

0


In late 2017, a mysterious object tore via our photo voltaic system at breakneck pace. Astronomers scrambled to look at the fast-paced physique utilizing the world’s strongest telescopes. It was discovered to be one quarter mile (400 meters) lengthy and really elongated—maybe 10 occasions so long as it was vast. Researchers named it ‘Oumuamua, Hawaiian for “scout.”

‘Oumuamua was later confirmed to be the primary object from one other star recognized to have visited our photo voltaic system. Whereas these interstellar objects (ISOs) originate round a star, they find yourself as cosmic nomads, wandering via house. They’re basically planetary shrapnel, having been blasted out of their mother or father star programs by catastrophic occasions, similar to big collisions between planetary objects.

Astronomers say that ‘Oumuamua may have been touring via the Milky Means for a whole lot of hundreds of thousands of years earlier than its encounter with our photo voltaic system. Simply two years after this sudden go to, a second ISO—the Borisov Comet—was noticed, this time by an novice astronomer in Crimea. These celestial interlopers have given us tantalizing glimpses of fabric from far past our photo voltaic system.

However what if we may do extra than simply watch them fly by?

Finding out ISOs up shut would supply scientists the uncommon alternative to study extra about far off star programs, that are too distant to ship missions to.

There could also be over 10 septillion (or ten with 24 zeros) ISOs within the Milky Means alone. But when there are such a lot of of them, why have we solely seen two? Put merely, we can’t precisely predict when they are going to arrive. Massive ISOs like ‘Oumuamua, which can be extra simply detected, don’t appear to go to the photo voltaic system that usually, they usually journey extremely quick.

Floor- and space-based telescopes wrestle to reply rapidly to incoming ISOs, that means that we’re principally them after they move via our cosmic neighborhood. Nevertheless, revolutionary house missions may get us nearer to things like ‘Oumuamua, by utilizing breakthroughs in synthetic intelligence (AI) to information spacecraft safely to future guests. Getting nearer means we are able to get a greater understanding of their composition, geology, and exercise—gaining insights into the situations round different stars.

Rising applied sciences getting used to strategy house particles may assist to strategy different unpredictable objects, reworking these fleeting encounters into profound scientific alternatives. So how can we get shut? Dashing previous Earth at a mean of 32 kilometers per second, ISOs give us lower than a yr for our spacecraft to attempt to intercept them after detection. Catching up isn’t unattainable—for instance, it could possibly be completed through gravitational slingshot maneuvers. Nevertheless, it’s troublesome, pricey and would take years to execute.

The excellent news is that the primary wave of ISO-hunting missions is already in movement: NASA’s mission idea is named Bridge and the European Area Company (ESA) has a mission known as Comet Interceptor. As soon as an incoming ISO is recognized, Bridge would depart Earth to intercept it. Nevertheless, launching from Earth at present requires a 30-day launch window after detection, which might price invaluable time.

Comet Interceptor is scheduled for launch in 2029 and includes a bigger spacecraft and two smaller robotic probes. As soon as launched, it would lie in wait 1,000,000 miles from Earth, poised to ambush a protracted interval comet (slower comets that come from additional away)—or probably an ISO. Inserting spacecraft in a “storage orbit” permits for speedy deployment when an appropriate ISO is detected.

One other proposal from the Institute for Interstellar Research, Mission Lyra, assessed the feasibility of chasing down ‘Oumuamua, which has already sped far past Neptune’s orbit. They discovered that it could be attainable in principle to meet up with the thing, however this could even be very technically difficult.

The Quick and the Curious

These missions are a begin, however as described, their largest limitation is pace. To chase down ISOs like ‘Oumuamua, we’ll want to maneuver quite a bit sooner—and assume smarter.

Future missions might rely on cutting-edge AI and associated fields similar to deep studying—which seeks to emulate the decision-making energy of the human mind—to establish and reply to incoming objects in actual time. Researchers are already testing small spacecraft that function in coordinated “swarms,” permitting them to picture targets from a number of angles and adapt mid-flight.

On the Vera C Rubin Observatory in Chile, a 10-year survey of the night time sky is because of start quickly. This astronomical survey is predicted to search out dozens of ISOs annually. Simulations recommend we could also be on the cusp of a detection increase.

Any spacecraft would wish to succeed in excessive speeds as soon as an object is noticed and make sure that its power supply doesn’t degrade, probably after years ready in “storage orbit.” A lot of missions have already utilized a type of propulsion known as a photo voltaic sail.

These use daylight on the light-weight, reflective sail to push the spacecraft via house. This would dispense with the necessity for heavy gas tanks. The following era of photo voltaic sail spacecraft may use lasers on the sails to succeed in even greater speeds, which might supply a nimble and low-cost answer in comparison with different futuristic fuels, similar to nuclear propulsion.

A spacecraft approaching an ISO can even want to resist excessive temperatures and probably erosion from mud being ejected from the thing because it strikes. Whereas conventional shielding supplies can shield spacecraft, they add weight and should sluggish them down.

To deal with this, researchers are exploring novel applied sciences for light-weight, extra sturdy and resistant supplies, similar to superior carbon fibers. Some may even be 3D printed. They’re additionally revolutionary makes use of of conventional supplies similar to cork and ceramics.

A collection of various approaches is required that contain ground-based telescopes and space-based missions, working collectively to anticipate, chase down, and observe ISOs.

New know-how may enable the spacecraft itself to establish and predict the trajectories of incoming objects. Nevertheless, potential cuts to house science within the US, together with to observatories just like the James Webb Area Telescope, threaten such progress.

Rising applied sciences should be embraced to make an strategy and rendezvous with an ISO an actual risk. In any other case, we shall be left scrabbling, taking footage from afar as one more cosmic wanderer speeds away.

Disclosure assertion:

Billy Bryan works on initiatives at RAND Europe which can be funded by the UK Area Company and DG DEFIS. He’s affiliated with RAND Europe’s Area Hub and is lead of the civil house theme, the College of Sussex College students’ Union as a Trustee, and Rocket Science Ltd. as an advisor.

Chris Carter works on initiatives at RAND Europe which can be funded by the UK Area Company and DG DEFIS. He’s affiliated with RAND Europe’s Area Hub and is a researcher within the civil house theme.

Theodora (Teddy) Ogden is a Senior Analyst at RAND Europe, the place she works on protection and safety points in house. She was beforehand a fellow at Arizona State College, and earlier than that was briefly at NATO.

This text is republished from The Dialog underneath a Inventive Commons license. Learn the unique article.