18.3 C
New York
Friday, April 4, 2025
Home Blog Page 3804

Elon Musk Would Function Secretary of D.O.G.E. beneath Trump?


Join day by day information updates from CleanTechnica on e mail. Or observe us on Google Information!


Elon Musk may very well be placing Tesla individuals in an actual pickle, and never within the methods you could be considering. Or possibly it’s only a not-very-thought-out “yeah, let’s do it!” after some combination of imbibed potions however would by no means really occur. Both manner, since he’s put it on the market and there are probably causes he’d go that route, let’s rapidly discover just a few eventualities for Musk and Tesla.

First, what the heck are we speaking about?

A few days in the past, Elon Musk posted this:

That was within the midst of many different right-wing posts, together with claiming that Donald Trump didn’t name neo-Nazis and white supremacists in Charlottesville “very positive individuals” in 2017 (oy vey) and lamenting that gun emojis look increasingly more like toy weapons relatively than actual weapons.

The purpose of this tweet embedded above seems to be that Elon Musk would fortunately function the pinnacle of a “Division of Authorities Effectivity” (DOGE). Naturally, that’s a reference to the Dogecoin cryptocurrency Musk puffed up for years. So, there’s a query of whether or not that is all a joke, however that appears unlikely since he says “I’m keen to serve” and has indicated elsewhere that he might work in a Trump administration on such a factor.

The primary issues that got here to thoughts for me with this had been:

  1. Tesla followers and shareholders could also be pleased with Musk entering into authorities beneath the idea that he might affect issues from there to assist Tesla in numerous methods.
  2. Nevertheless, Musk would want to chop again considerably on his Tesla work if he took that job, and most Tesla followers and shareholders nonetheless see him as important to progress within the firm. (There are numerous others who’ve come to conclude the alternative, however the latest shareholder vote appears to point these individuals are within the minority.)

Would the identical individuals who could be completely happy about Musk getting that job be completely happy about him stepping again from Tesla (to not point out X, Neuralink, SpaceX, The Boring Firm, and no matter different ventures I’m forgetting now)?

Nevertheless, I wasn’t even considering deeply sufficient about this. As CNN factors out, “Something’s doable, in fact, in a Trump 2.0 White Home. However to tackle any main function in that administration, Musk would have a mountain of conflicts of curiosity to climb.” Ah, yeah, you may’t simply work within the US authorities whereas working a enterprise — there are conflicts of curiosity with that. (To not say Trump wouldn’t work to dismantle them, however that’s the story right this moment.)

“By legislation (and by widespread sense), you may’t work on authorities issues that will have an effect on your individual private funds. That’s an enormous drawback for somebody like Musk, whose $245 billion fortune is essentially tied up in shares of Tesla, SpaceX and X (previously Twitter), alongside along with his holdings within the fields of biotech, synthetic intelligence, satellite tv for pc communications and street infrastructure tasks.”

Sure, and, apart from Tesla, which is regulated by numerous authorities companies similar to different automotive corporations, SpaceX will get big contracts from the US authorities. How would Musk disentangle himself from all of that? By promoting his shares in these corporations? Hahaha, that’s not taking place. “A lot would rely upon what the job is and the way it pertains to his financial curiosity,” stated Richard Briffault, a professor at Columbia Regulation College. “Is there something that wouldn’t relate to his financial pursuits? I’m unsure what that will be.”

It appears to me that is one other not-very-thought-out concepts from Trump and Musk geared toward two issues: getting extra consideration and help for themselves. On the similar time, each are completely happy — if not keen — to interrupt guidelines, even legal guidelines, and spend the implications of that using extra attorneys. So, who is aware of what they’d push and take a look at? Nonetheless, simply as Dogecoin by no means went to the moon like Musk hyped for months and even years, don’t anticipate Musk to enter authorities service.


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


Newest CleanTechnica.TV Movies

Commercial



 


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

CleanTechnica’s Remark Coverage




The place View.job will get its main-actor isolation from – Ole Begemann


SwiftUI’s .job modifier inherits its actor context from the encircling operate. Should you name .job inside a view’s physique property, the async operation will run on the principle actor as a result of View.physique is (semi-secretly) annotated with @MainActor. Nonetheless, in the event you name .job from a helper property or operate that isn’t @MainActor-annotated, the async operation will run within the cooperative thread pool.

Right here’s an instance. Discover the 2 .job modifiers in physique and helperView. The code is an identical in each, but solely one in every of them compiles — in helperView, the decision to a main-actor-isolated operate fails as a result of we’re not on the principle actor in that context:


The place View.job will get its main-actor isolation from – Ole Begemann
We will name a main-actor-isolated operate from inside physique, however not from a helper property.
import SwiftUI

@MainActor func onMainActor() {
  print("on MainActor")
}

struct ContentView: View {
  var physique: some View {
    VStack {
      helperView
      Textual content("in physique")
        .job {
          // We will name a @MainActor func with out await
          onMainActor()
        }
    }
  }

  var helperView: some View {
    Textual content("in helperView")
      .job {
        // ❗️ Error: Expression is 'async' however just isn't marked with 'await'
        onMainActor()
      }
  }
}

This habits is brought on by two (semi-)hidden annotations within the SwiftUI framework:

  1. The View protocol annotates its physique property with @MainActor. This transfers to all conforming sorts.

  2. View.job annotates its motion parameter with @_inheritActorContext, inflicting it to undertake the actor context from its use website.

Sadly, none of those annotations are seen within the SwiftUI documentation, making it very obscure what’s happening. The @MainActor annotation on View.physique is current in Xcode’s generated Swift interface for SwiftUI (Leap to Definition of View), however that characteristic doesn’t work reliably for me, and as we’ll see, it doesn’t present the entire fact, both.


Xcode showing the generated interface for SwiftUI’s View protocol. The @MainActor annotation on View.body is selected.
View.physique is annotated with @MainActor in Xcode’s generated interface for SwiftUI.

To actually see the declarations the compiler sees, we have to have a look at SwiftUI’s module interface file. A module interface is sort of a header file for Swift modules. It lists the module’s public declarations and even the implementations of inlinable capabilities. Module interfaces use regular Swift syntax and have the .swiftinterface file extension.

SwiftUI’s module interface is situated at:

[Path to Xcode.app]/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SwiftUI.framework/Modules/SwiftUI.swiftmodule/arm64e-apple-ios.swiftinterface


(There may be a number of .swiftinterface recordsdata in that listing, one per CPU structure. Decide any one in every of them. Professional tip for viewing the file in Xcode: Editor > Syntax Coloring > Swift permits syntax highlighting.)

Inside, you’ll discover that View.physique has the @MainActor(unsafe) attribute:

@out there(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
@_typeEraser(AnyView) public protocol View {
  // …
  @SwiftUI.ViewBuilder @_Concurrency.MainActor(unsafe) var physique: Self.Physique { get }
}

And also you’ll discover this declaration for .job, together with the @_inheritActorContext attribute:

@out there(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
extension SwiftUI.View {
  #if compiler(>=5.3) && $AsyncAwait && $Sendable && $InheritActorContext
    @inlinable public func job(
      precedence: _Concurrency.TaskPriority = .userInitiated,
      @_inheritActorContext _ motion: @escaping @Sendable () async -> Swift.Void
    ) -> some SwiftUI.View {
      modifier(_TaskModifier(precedence: precedence, motion: motion))
    }
  #endif
  // …
}

Xcode showing the declaration for the View.task method in the SwiftUI.swiftinterface file. The @_inheritActorContext annotation is selected.
SwiftUI’s module interface file reveals the @_inheritActorContext annotatation on View.job.

Armed with this information, the whole lot makes extra sense:

  • When used inside physique, job inherits the @MainActor context from physique.
  • When used exterior of physique, there isn’t any implicit @MainActor annotation, so job will run its operation on the cooperative thread pool by default.
  • Until the view accommodates an @ObservedObject or @StateObject property, which makes the complete view @MainActor by way of this obscure rule for property wrappers whose wrappedValue property is certain to a world actor:

    A struct or class containing a wrapped occasion property with a world actor-qualified wrappedValue infers actor isolation from that property wrapper

    Replace Could 1, 2024: SE-0401: Take away Actor Isolation Inference brought on by Property Wrappers removes the above rule when compiling in Swift 6 language mode. It is a good change as a result of it makes reasoning about actor isolation easier. Within the Swift 5 language mode, you may choose into the higher habits with the -enable-upcoming-feature DisableOutwardActorInference compiler flags. I like to recommend you do.

The lesson: in the event you use helper properties or capabilities in your view, think about annotating them with @MainActor to get the identical semantics as physique.

By the way in which, notice that the actor context solely applies to code that’s positioned immediately contained in the async closure, in addition to to synchronous capabilities the closure calls. Async capabilities select their very own execution context, so any name to an async operate can swap to a special executor. For instance, in the event you name URLSession.information(from:) inside a main-actor-annotated operate, the runtime will hop to the worldwide cooperative executor to execute that methodology. See SE-0338: Make clear the Execution of Non-Actor-Remoted Async Capabilities for the exact guidelines.

I perceive Apple’s impetus to not present unofficial API or language options within the documentation lest builders get the preposterous thought to make use of these options in their very own code!

Nevertheless it makes understanding so a lot tougher. Earlier than I noticed the annotations within the .swiftinterface file, the habits of the code firstly of this text by no means made sense to me. Hiding the main points makes issues seem to be magic after they really aren’t. And that’s not good, both.

Microsoft Patches Vital Copilot Studio Vulnerability Exposing Delicate Knowledge

0


Aug 21, 2024Ravie LakshmananSoftware program Safety / Vulnerability

Microsoft Patches Vital Copilot Studio Vulnerability Exposing Delicate Knowledge

Cybersecurity researchers have disclosed a important safety flaw impacting Microsoft’s Copilot Studio that might be exploited to entry delicate info.

Tracked as CVE-2024-38206 (CVSS rating: 8.5), the vulnerability has been described as an info disclosure bug stemming from a server-side request forgery (SSRF) assault.

“An authenticated attacker can bypass Server-Facet Request Forgery (SSRF) safety in Microsoft Copilot Studio to leak delicate info over a community,” Microsoft mentioned in an advisory launched on August 6, 2024.

Cybersecurity

The tech large additional mentioned the vulnerability has been addressed and that it requires no buyer motion.

Tenable safety researcher Evan Grant, who’s credited with discovering and reporting the shortcoming, mentioned it takes benefit of Copilot’s capability to make exterior net requests.

“Mixed with a helpful SSRF safety bypass, we used this flaw to get entry to Microsoft’s inner infrastructure for Copilot Studio, together with the Occasion Metadata Service (IMDS) and inner Cosmos DB cases,” Grant mentioned.

Copilot Studio Vulnerability

Put in a different way, the assault method made it attainable to retrieve the occasion metadata in a Copilot chat message, utilizing it to acquire managed identification entry tokens, which may then be abused to entry different inner assets, together with gaining learn/write entry to a Cosmos DB occasion.

The cybersecurity firm additional famous that whereas the strategy doesn’t enable entry to cross-tenant info, the infrastructure powering the Copilot Studio service is shared amongst tenants, probably affecting a number of clients when having elevated entry to Microsoft’s inner infrastructure.

The disclosure comes as Tenable detailed two now-patched safety flaws in Microsoft’s Azure Well being Bot Service (CVE-2024-38109, CVSS rating: 9.1), that, if exploited, may allow a malicious actor to realize lateral motion inside buyer environments and entry delicate affected person knowledge.

Cybersecurity

It additionally follows an announcement from Microsoft that it’ll require all Microsoft Azure clients to have enabled multi-factor authentication (MFA) on their accounts beginning October 2024 as a part of its Safe Future Initiative (SFI).

“MFA will probably be required to sign-in to Azure portal, Microsoft Entra admin heart, and Intune admin heart. The enforcement will progressively roll out to all tenants worldwide,” Redmond mentioned.

“Starting in early 2025, gradual enforcement for MFA at sign-in for Azure CLI, Azure PowerShell, Azure cell app, and Infrastructure as Code (IaC) instruments will start.”

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



QNAP provides NAS ransomware safety to newest QTS model

0


QNAP provides NAS ransomware safety to newest QTS model

​Taiwanese {hardware} vendor QNAP has added a Safety Heart with ransomware safety capabilities to the most recent model of its QTS working system for network-attached storage (NAS) units.

The brand new Safety Heart in QTS 5.2 displays for suspicious file operations to detect and block ransomware threats.

If any uncommon exercise is detected, prospects can select to have volumes routinely set to read-only mode to forestall information from being modified, create quantity snapshots to revive your complete quantity when wanted, and pause quantity snapshot scheduling to keep away from crowding out the cupboard space with irregular snapshot information.

“This function actively displays file actions to preemptively defend information safety,” the corporate revealed in a press launch on Tuesday.

“Upon detecting suspicious file habits, the system swiftly implements protecting measures (corresponding to backup or blocking) to mitigate dangers and stop information loss from ransomware threats, assaults, or human error.”

The newest QTS model additionally provides quicker NAS startup and shutdown speeds (by as much as 30%), assist for TCG-Ruby self-encrypting drives (SED), in addition to speedier backup and restoration of Home windows programs, disks, folders, and information to their QNAP NAS by way of the NetBak PC Agent utility.

QTS Security Center monitoring settins
QTS Safety Heart monitoring settings (QNAP)

​NAS units are sometimes used for backing up and sharing delicate information, which makes them helpful targets for attackers who ceaselessly goal them to steal or encrypt helpful paperwork or deploy information-stealing malware.

Lately, malicious actors have focused QNAP units in DeadBolt, Checkmate, and eCh0raix ransomware campaigns, abusing safety vulnerabilities to encrypt information on Web-exposed and weak NAS units.

QNAP repeatedly warns prospects about brute-force assaults in opposition to NAS units uncovered on-line, which ceaselessly result in ransomware assaults [1, 2, 3].

The NAS maker has additionally beforehand shared mitigation measures for purchasers with Web-exposed units, asking them to:

  • Disable the router’s Port Forwarding operate by going to the router’s administration interface, checking the Digital Server, NAT, or Port Forwarding settings, and turning off the port forwarding setting of the NAS administration service port (ports 8080 and 433 by default).
  • Disable the QNAP NAS’ UPnP operate by going to myQNAPcloud on the QTS menu, clicking “Auto Router Configuration,” and unselecting “Allow UPnP Port forwarding.”

QNAP prospects must also use this step-by-step process to alter the system port quantity, toggle off SSH and Telnet connections, allow IP and account entry safety, and alter default system passwords.

AirPods Max 2 coming quickly: Right here’s what to anticipate

0


Apple’s huge lineup for this fall is sort of prepared for launch. The iPhone 16 occasion is solely weeks away, and there’s a long-awaited product prone to make an look: AirPods Max 2. Traditionally, Apple prefers launching new AirPods merchandise at its September occasions, so the watch for AirPods Max 2 ought to be over quickly. Right here’s what to anticipate from the brand new AirPods Max 2.

New chip with highly effective audio options

Although the present AirPods Max carry a premium price ticket, they’re missing plenty of options discovered within the way more inexpensive AirPods Professional 2.

That’s set to alter with the AirPods Max 2.

AirPods Max 2 are anticipated to obtain a brand new chip, probably the H2 discovered within the present AirPods Professional 2.

AirPods Max

This H2 chip will allow AirPods Max customers to expertise highly effective new audio options at present unique to the Professional line. These embody:

  • Adaptive Audio, which dynamically blends Transparency and Noise Cancellation modes in response to your setting
  • Dialog Consciousness, which robotically lowers quantity and isolates voices in response to detected talking
  • Personalised Quantity, which adjusts the amount of media in response to your setting

Moreover, iOS 18 introduces a number of extra new options to AirPods Professional 2, and with the H2 they need to all come to AirPods Max 2 as nicely:

  • The power to nod or shake your head to answer Siri
  • Voice Isolation if you’re on a name
  • Gaming-specific enhancements to Personalised Spatial Audio with dynamic head monitoring

Typically, a brand new chip doesn’t present many causes for pleasure. Particularly if you’re speaking about headphones.

However because the characteristic lists above present, the addition of the H2 chip to AirPods Max 2 will make a world of distinction. These options are a giant purpose why I really like my AirPods Professional 2. I anticipate they’ll present a compelling purpose for AirPods Max customers to improve.

USB-C charging

One other compelling purpose to improve: a USB-C port.

Following Apple’s years-long shift to a brand new common port normal, AirPods Max 2 will exchange the prevailing Lightning port and undertake USB-C for charging.

The identical change is anticipated to occur with the new AirPods 4, that are additionally prone to launch on the iPhone 16 occasion subsequent month. The primary AirPods product to obtain USB-C charging was the AirPods Professional 2, which made the swap final fall.

It’s gradual progress, however with USB-C coming to the AirPods Max, we’re formally one step nearer to the dream of an all-USB-C life.

New colours

AirPods Max

Apple is planning to introduce quite a lot of new colour choices for the AirPods Max 2.

At the moment, the first-gen AirPods Max are available 5 colours:

  • Area Grey
  • Pink
  • Inexperienced
  • Silver
  • Sky Blue

There’s no phrase on what precisely the brand new colour lineup shall be. Nevertheless, we must always anticipate to see an identical variety of choices with AirPods Max 2.

AirPods Max launched in 2020, and since then colours like Midnight and Starlight have been mainstays for Apple. So it’s probably we’ll see colours alongside these traces with the AirPods Max 2.

Substitute for the Good Case

AirPods Max Smart Case

To be clear, this one is generally hypothesis. There’s been no clear rumor about Apple changing the AirPods Max’s Good Case—although this patent is one thing.

However absolutely 4 years is lengthy sufficient for Apple to give you a greater, hopefully extra protecting case for AirPods Max customers.

The unique Good Case was one of many details of criticism for Apple’s first AirPods Max, so I believe it’s probably we’ll see a brand new case with the AirPods Max 2.

If I needed to wager, although, I believe the prevailing Good Case design may stick round, whereas a sturdier case launches as an non-compulsory accent. That approach, Apple makes extra money, and it additionally offers homeowners of the unique AirPods Max the possibility to purchase it.

The included case additionally relies upon so much on AirPods Max 2’s value…

Unknown: value level

The unique AirPods Max debuted at a excessive premium of $549. Lately, you’ll be able to typically seize them at a reduction (at present $429 on Amazon). However the arrival of competing choices raises the query of whether or not Apple will cost simply as a lot for the AirPods Max 2.

Apple’s comparable Beats Studio Professional retail for $329 and are at present simply $199 on Amazon. The recent-arrival Sonos Ace headphones retail for $449 and might at present be purchased for $399.

Can Apple actually proceed charging $549 for its AirPods Max? My lengthy historical past with Apple merchandise sadly says ‘sure,’ however I hope a minimum of a slight value drop is coming.

AirPods Max 2: a protracted overdue replace

Whereas not one of the anticipated options for AirPods Max 2 are significantly revolutionary, they need to nonetheless add as much as a compelling possibility for patrons.

It’s been 4 entire years because the first AirPods Max debuted, making this replace lengthy overdue. Particularly since, throughout that point, AirPods Professional 2 have persistently added nice new options that the unique AirPods Max missed out on.

However we shouldn’t have to attend lengthy. Right here’s hoping the AirPods Max 2 debut as anticipated at September’s iPhone occasion, and we are able to put this lengthy delay behind us.

Are you curious about AirPods Max 2? Another options you’re hoping for? Tell us within the feedback.

FTC: We use revenue incomes auto affiliate hyperlinks. Extra.