20.6 C
New York
Thursday, April 3, 2025
Home Blog Page 3833

Let’s Cease Worrying Over Load Development And Get Critical About Options


This publish is the fourth in a sequence titled “Actual Discuss on Reliability,” which is able to study the reliability wants of our grid as we transfer towards one hundred pc clear electrical energy and electrify extra end-uses on the trail to a local weather secure future. It was written by Sara Baldwin, Senior Director of the Electrification Program. Different posts on this sequence lined Rethinking the Reliability of the Grid, Way forward for Operational Grid Reliability and Grid Useful resource Adequacy Transition.

 

In Fall 2023, Georgia Energy filed an up to date built-in useful resource plan with the Georgia Public Service Fee, warning dramatic near-term load progress predictions from information facilities required “fast motion” to satisfy capability wants by the tip of 2025. Their proposed answer set was a mix of three new pure fuel energy vegetation (with a mixed capability of as much as 1,400 megawatts (MW)), a number of fossil gas energy buy agreements, and a modest 150 MW residential demand response program.

However in Spring 2024, tech large Microsoft contested Georgia Energy’s claims, citing considerations the utility was over-forecasting near-term load and procuring extreme, carbon-intensive technology. Microsoft has three information heart campuses beneath development in Georgia and is trying to increase to at the very least two extra. The corporate additionally goals to have one hundred pc of their electrical energy consumption matched by zero-carbon vitality purchases one hundred pc of the time by 2030—a transparent mismatch with Georgia Energy’s fossil-centric plans.

This pressure is taking part in out throughout the nation, as electrical energy demand is growing in the USA after greater than 20 years of practically flat load progress. Quite a few utilities and grid operators are revising their 2023 load forecasts and predicting a doubling or extra over the following decade, relative to 2022  predictions.

Electrical energy Grid Planning Areas with the Sharpest Enhance in 2023 Load Forecast. Supply: Wilson, John and Zach Zimmerman, The Period of Flat Energy Demand is Over, Grid Methods, LLC, December 2023, https://gridstrategiesllc.com/wp-content/uploads/2023/12/Nationwide-Load-Development-Report-2023.pdf at 14.

Speedy progress is inflicting panic over potential capability shortfalls and inadequate transmission, prompting calls to delay deliberate coal plant retirements and double down on new pure fuel. However these fossil intensive provide aspect options are inherently sluggish and expensive. They’re additionally incompatible with utility and buyer local weather commitments to hit web zero emissions by mid-century. Strategic provide aspect options are wanted to satisfy rising demand, however these giant investments will present up on electrical clients’ payments for many years to return—they need to cut back emissions in an inexpensive and dependable means.

Doubling down on demand aspect options is a cheap, least-regrets approach to handle progress within the near-term, whereas unlocking their full potential over the long-term. They’ll reply to quickly altering grid circumstances and assist grid reliability amidst the unpredictability of local weather change. Though their decentralized and distributed nature makes them tougher to plan for and handle, present applied sciences and a rising ecosystem of suppliers are working to beat these boundaries.

If load progress is inflicting a disaster of confidence, utilities and grid operators ought to prioritize demand aspect options and work with clients to ship invaluable grid companies. Equally, policymakers and regulators ought to undertake insurance policies encouraging demand aspect assets, improve visibility, allow information sharing, assist progressive grid planning strategies, and overcome misaligned incentives.

A quickly shifting load panorama

A Could 2024 Brattle Group report paperwork the quickly altering panorama for utilities and grid operators, largely pushed by new electrical energy demand from information facilities, onshoring manufacturing, agricultural and industrial electrification, cryptocurrency mining, and electrification.

In keeping with the report, in 2023 information facilities alone represented 19 gigawatts (GW) of U.S. electrical energy peak demand, which is almost double New York Metropolis’s 2022 peak load of 10 GW. New analysis from the Electrical Energy Analysis Institute forecasts information facilities might devour as much as 9 p.c of U.S. electrical energy technology by 2030 – double the quantity consumed as we speak. Goldman Sachs estimates 47 GW of incremental energy technology capability can be required to assist U.S. information heart energy demand by 2030, driving $50 billion in cumulative capital funding over the identical time-frame.

Not all demand sources are created equally. Some have longer lead instances and steadier progress charges, like transportation electrification, making them simpler to forecast and plan for. Others, like information facilities or cryptocurrency mining, are giant and might come on-line on a comparatively quick time span, requiring large quantities of vitality practically instantaneously, difficult conventional grid planning and operation paradigms.

Some hundreds are extra elastic and able to rapidly scaling again or shuttering operations in response to altering electrical energy costs, whereas others could also be extra rigid. Electrical energy clients able to decreasing their affect throughout peak instances might drastically cut back the necessity for brand spanking new supply-side assets (thus bringing financial worth to the grid and different clients). However, capitalizing on this demand flexibility potential requires sufficient incentives.

Along with the masses themselves, climate-driven excessive climate is disrupting tried-and-true approaches to managing the grid. “Everyone seems to be clutching their pearls over information facilities and crypto, however each time we’ve got a polar vortex or a warmth wave, comparable load will increase materialize to serve human wants like heating and cooling, however in a a lot shorter time span,” says electrical reliability knowledgeable Alison Silverstein. “We can not assume demand is immutable. With local weather change-driven climate shifts, demand has grow to be much less predictable and at instances terrifying.”

Residential Electrical energy Use per Capita and Summer season Cooling Diploma Days within the U.S., 1973- 2023.
Supply: U.S. Environmental Safety Company, Local weather Change Indicators: Residential Vitality Use, obtainable at: https://www.epa.gov/climate-indicators/climate-change-indicators-residential-energy-use, accessed 06/27/24.

In practically each state, summer season and winter peak hundreds are larger, longer and tougher to forecast. Given the money and time required to construct new technology and transmission to satisfy new demand, Silverstein argues “we will’t construct our means out of this.” Now’s the time to activate extra vitality effectivity and demand aspect options, that are cheaper and quicker to deploy, and can even purchase us time to make prudent provide aspect useful resource changes.”

A symphony of demand aspect options able to carry out

Like a mix of complementary musical devices, demand aspect options embody a variety of applied sciences and purposes which have the “potential to average the expansion of each electrical energy consumption and peak load,” based on Brattle. For instance, distributed technology (DG) like photo voltaic, wind, and vitality storage techniques might be paired with good inverters or good home equipment able to responding to altering grid circumstances; demand aspect administration (DSM), demand response (DR), and vitality effectivity (EE) applications will help customers cut back and modulate their electrical energy consumption in trade for financial advantages; and managed electrical car (EV) charging applications can reply to financial or grid circumstances to scale back the general affect of EVs on the grid.

Communication and software program instruments, like distributed vitality administration system (DERMS), could make dispersed assets seen to utilities and grid operators to allow them to plan for and handle them in methods much like bigger provide aspect assets. Third-party aggregators and consumer-facing program directors additionally play key roles as liaisons between grid operators, utilities, and customers, serving to streamline the method of recruiting clients, managing incentives, and pooling taking part clients into aggregated useful resource blocks that may reply to grid wants when known as upon.

Lawrence Berkeley Nationwide Laboratory notes latest enhancements in broadband and native space communication and management techniques are enabling quicker coordination of demand response assets, equivalent to business constructing HVAC or refrigerated warehouse end-uses, in order that hundreds might be managed and dispatched as wanted to assist grid reliability.

DR applications deployed at scale might be extremely efficient at managing new load progress and serving present load whereas contributing to grid reliability. These applications induce clients to scale back, improve, or shift their electrical energy consumption in response to financial or reliability alertsMost DR applications encourage utility clients to shift electrical energy consumption from hours of excessive demand (relative to vitality provide) to hours the place vitality provide is plentiful (relative to demand). Future applications could sign clients to improve electrical energy utilization when the grid has extra electrical energy technology from renewable assets just like the wind or solar.

In keeping with a 2019 Brattle Group examine, practically 200 GW of cost-effective load flexibility potential will exist within the U.S. by 2030, greater than triple the prevailing demand response functionality, and price greater than $15 billion yearly in averted system prices (i.e., averted funding in new technology, lowered vitality prices, deferred grid infrastructure, and the availability of ancillary companies). This potential will solely increase as extra customers undertake grid-responsive electrical applied sciences and tools.

Quite a few utilities throughout the nation and globe are counting on DR applications to faucet into versatile hundreds on the grid, and they’re more and more invaluable within the face of maximum climate circumstances. For instance, in Texas, following the devastating Winter Storm Uri 2021, municipally-owned utility CPS Vitality launched a brand new winter program that permits the utility to switch customers’ demand through their thermostats during times of excessive vitality use. Equally, throughout a 2023 summer season warmth wave in Arizona, the state’s three largest utilities known as on greater than 100,000 clients, who get incentives for taking part, to scale back their electrical energy use (by modifying their air conditioner temperatures utilizing good programmable thermostats) by a complete of 276 megawatts (MW) throughout peak afternoon and night hours. That quantity of energy is equal to only over half the capability of an average-sized mixed cycle pure fuel plant. In the UK, electrical utility Octopus Vitality’s Versatile Demand trials paid round 100,000 households to shift their vitality from peak instances in lieu of paying a fossil gas generator to change on.

Relying on this system, taking part clients can obtain substantial financial advantages. For instance, Westchester County, New York has obtained over $361,500 from NuEnergen, LLC for the county’s enrollment in three summer season DR applications. Westchester stays on stand-by to scale back its vitality utilization throughout instances when the grid is strained, and as soon as alerted of an occasion, the county reduces vitality utilization at a few of its services. To this point, Westchester has earned over $1.5 million for taking part.

Equally profitable applications goal companies and enormous vitality customers, usually motivated to take part in applications that can cut back vitality prices. For instance, Ameren Missouri companions with Enel X to supply incentive funds for taking part in a program designed “to keep up a dependable and cost-effective electrical grid. Vitality customers can earn funds for committing to scale back their vitality consumption briefly in response to durations of peak demand on the grid.”  In Michigan, DTE Vitality gives interruptible charges to all its business and industrial clients, whereby electrical energy is discounted 10 p.c to 25 p.c for patrons that comply with shed a minimal of fifty kilowatts and interrupt their electrical energy inside one hour of notification. Failure to interrupt leads to a penalty.

These are only a pattern of the profitable demand aspect applications throughout the nation. But, as we speak’s DR applications stack as much as a mere 60 GW of capability—about 7 p.c of nationwide peak-coincident demand—and residential and business buyer applications make up solely 30 p.c of that. Some states have lower than 1 p.c of peak being met with demand aspect options, with solely a handful exceeding 10 p.c. Excessive warmth and chilly occasions may cause residential and business heating and cooling hundreds to make up practically half of peak demand for some states (like Texas), prompting a more in-depth take a look at what might be finished to mitigate this within the face of accelerating local weather change chaos.

U.S. Map displaying state-by-state percentages of Demand Response as a proportion of peak electrical energy demand. Supply: Hledik, Ryan, A. Faruqui, T. Lee, and John Higham, The Nationwide Potential for Load Flexibility: Worth and Market Potential Via 2030, The Brattle Group, June 2019 https://www.brattle.com/wp-content/uploads/2021/05/16639_national_potential_for_load_flexibility_-_final.pdf

Vitality effectivity is one other efficient device, notably when effectivity applications are focused to scale back buyer vitality utilization notably throughout peak hours. Effectivity measures equivalent to changing inefficient resistance heating and air conditioners with extremely environment friendly warmth pumps, including attic insulation, duct sealing, and constructing envelope sealing can all assist cut back buyer electrical energy use on sizzling summer season afternoons and frigid winter mornings, whereas enhancing consolation and vitality financial savings. In keeping with Silverstein, effectivity measures ship advantages together with higher useful resource adequacy, decrease wholesale costs, decrease buyer vitality payments, decrease grid infrastructure necessities, enhance buyer consolation and well being, and decrease carbon and air pollution emissions.

ACEEE’s 2023 examine, “Vitality Effectivity And Demand-Response: Instruments To Tackle Texas’ Reliability Challenges”, exhibits that utilizing 10 aggressive peak-targeted vitality effectivity and demand response instruments in Texas might cut back each summer season and winter peak demand ranges by 15 GW or extra, at prices far under the price of constructing comparable quantities of recent fuel turbines. Comparable outcomes are achievable in different states.

Shifting from solely supply-centric to more and more demand-centered

Though demand aspect options have a confirmed observe report of success, we’ve solely scratched the floor. The electrical energy grid continues to be largely designed and operated to ramp provide aspect assets to satisfy shifting demand, not the opposite means round. And demand aspect options face challenges of their skill to scale, which prevents them from offering grid companies. However instances are altering, quick.

Within the face of fast progress mixed with excessive and unpredictable climate, now’s the time to shift away from solely supply-centric approaches to ones that activate demand aspect assets and versatile hundreds to their full potential. Wanting ahead, because the U.S. electrical system makes use of growing quantities of variable and weather-dependent assets (i.e., photo voltaic and wind) to serve demand, we should shift the system to handle demand assets to satisfy obtainable provide, reasonably than managing provide assets to chase demand.

Many utilities and grid operators acknowledge the promise of demand aspect options, however most lack the instruments or monetary incentives to lean into them as vital, respected assets to satisfy new load progress and guarantee grid reliability and affordability.

For instance, investor-owned utilities earn returns on giant capital expenditures (i.e., new technology or grid infrastructure) and forgo shareholder income after they depend on decentralized assets that keep away from these investments. Bulk system planning and distribution planning are sometimes siloed processes, and few states or grid operators require coordination between the 2. Wholesale market guidelines make it onerous for smaller aggregated demand aspect assets to take part in serving grid wants. Equally, regional transmission operators lack visibility at a granular degree on the distribution system, stopping them from forecasting and planning for demand aspect assets at scale. Scaled aggregation of a number of demand aspect assets into dependable grid assets that utilities and grid operators can see and rely on persistently requires proactive regulation and oversight, in addition to market maturity among the many suppliers.

On the shopper degree, program success hinges on folks and companies being prepared and capable of take part in applications, which can require adoption of recent applied sciences, and a sure degree of belief of their utilities (or retail electrical suppliers) and aggregators. And never all clients contributing to the grid are compensated in proportion to the worth they supply (which requires the adoption of forward-thinking insurance policies, incentives, and charges).

5 approaches can overcome these challenges.

First, utilities and grid operators want clearer visibility of demand aspect assets. Thankfully, a myriad of choices exists to assist, together with adopting DERMS or good constructing administration techniques, using extra subtle fashions and management units, permitting third-party aggregators, growing distribution system plans, and creating publicly obtainable internet hosting capability maps for customer-sited distributed technology and storage. A handful of states (CA, HI, MN, NV, and NY) require distribution system planning and mapping the distribution system on the circuit degree, and the teachings from these states can inform others simply beginning down this path. States that require utilities to develop built-in useful resource plans (IRPs) also needs to require detailed distribution system plans, and people two efforts ought to be carefully coordinated. A mix of instruments can enhance transparency in regards to the state of the grid, together with which applied sciences are being adopted and what applications could be appropriate for managing load. Ideally, these instruments might be mixed to tell load forecasts and the event of demand-centered applications that may ship assured peak financial savings, alongside different reliability and advantages.

Screenshot of Southern California Edison’s interactive net portal displaying granular distribution grid information throughout the utility’s service territory, together with obtainable load capability warmth maps.
Out there at: https://drpep.sce.com/drpep/

Second, allow information sharing throughout the transmission and distribution techniques. In a 2017 report, the North American Electrical Reliability Council (NERC) issued a set of data-sharing suggestions to assist higher integration of distributed vitality assets into bulk energy system planning and operations. This included an in depth listing of knowledge vital to assist sufficient modeling and evaluation of bulk energy system points (equivalent to substation-level information with aggregated DER information, transformer scores, related vitality traits, energy issue and/or reactive and actual energy management performance, amongst others). Knowledge underpins visibility, however each side of the grid must agree on which information are most vital and related (and the way that information might be shared securely). Shared fashions that may talk with each other and make the most of stated information in the identical means can be crucial. All information sharing have to be finished with a watch to privateness and safety protections, which additionally requires agreements amongst all taking part events as to what will get shared, in what format, and who will get entry.

Third, place vitality clients on the heart of program and price design. In keeping with Silverstein, activating the total potential of DR and DSM requires “respectful, negotiated limits with clients, who ought to be handled as companions and compensated pretty—their financial incentives ought to be commensurate with any perceived or precise sacrifice and with the worth they ship to the electrical system.” Efficient applications can even operate as instructional instruments, empowering extra electrical energy clients to play a extra lively function in supporting grid reliability. Whether or not by incentives or charges, rebates or reductions, applications ought to be designed with a watch to scaling participation and optimizing advantages for the grid and all taking part clients, together with residential and lower-income clients.

Fourth, undertake utility efficiency incentive mechanisms (PIMs) that put demand aspect assets on a degree taking part in area with provide aspect assets. PIMs will help shift the profit-motive by aligning income with efficiency on sure metrics, like profitable DR or vitality effectivity applications. Within the period of load progress and local weather change, PIMs ought to goal measures that present reliability and affordability advantages for all clients.

And fifth, take into account new approaches geared toward attracting extra versatile and grid-supportive hundreds. This could apply throughout the electrical energy system from the wholesale bulk grid all the way down to the distribution system. Charge design and tariffs that encourage or require new load sources to reply to and react to grid circumstances, financial alerts, and reliability wants might obviate the necessity for dearer alternate options down the road. For instance, the Electrical Reliability Council of Texas (ERCOT) is proposing the institution of a Demand Response Monitor to help market individuals and grid operators in making judgements of near-future capability wants. The Monitor will detect a response by chosen load responses attributable to locational marginal costs, coincident peak, conservation alerts, and different ERCOT actions. Over time, ERCOT might use empirical information from the Monitor to foretell demand response for different reliability purposes.

Somewhat than robotically approving load interconnection requests, utilities might consider their method to price allocation for grid upgrades or negotiate tariffs that require buyer responsiveness beneath sure circumstances. For instance, to mitigate the price of connecting giant new hundreds like information facilities, some utilities are requesting upfront funds to cowl infrastructure prices and to mitigate the burden of investments on different clients. Google and NV Vitality simply introduced a first-of-its sort clear transition tariff (pending regulatory approval) that permits Google and different vitality customers to satisfy rising energy demand cleanly and reliably. One other Google pilot will cut back information heart electrical energy consumption when there may be excessive stress on the native energy grid. Automakers and utilities are teaming as much as increase managed EV charging applications to get forward of load administration earlier than it turns into an issue on the native or system degree. In an period wherein a number of new hundreds are competing for a similar house on the grid, utilities ought to take into account rewarding these prepared to go the additional mile in being an excellent grid citizen.

As electrical energy demand grows, so too ought to the function of demand aspect options. A renewed give attention to the load aspect of the equation will guarantee a less expensive and environment friendly grid constructed to reply to quickly altering circumstances, whereas additionally benefiting and defending clients and mitigating carbon emissions.

Combine push notification utilizing Firebase messaging in swift – iOS swift tutorial – iOSTutorialJunction


Issues required to combine Push notification

Earlier than we leap on to combine push notification utilizing Firebase messaging in iOS swift, you want few issues at your disposal to check iOS push notification. Under is the record of issues required to combine and verify push notification integration in iOS.

  • iPhone system – Push notification didn’t work on simulator
  • Apple developer account – Apple developer account is required with a purpose to run app on iPhone system and organising Auth key or certificates on firebase app console.
  • App on Firebase.(You should use your gmail account to create an app on Firebase )

Organising app

First open up Xcode and create a primary mission(in case you are utilizing an current mission then open it up). First step is to activate push notification capabilities for our app. Comply with beneath steps to activate push notification functionality in your iOS app.

Combine push notification utilizing Firebase messaging in swift – iOS swift tutorial – iOSTutorialJunction
Steps to activate push functionality
  1. Choose your mission identify. See image for reference
  2. Choose your app goal. Choose Signing and capabilities.
  3. Click on on + Functionality.
  4. Seek for Push notification and click on on searched end result displaying Push Notification.

Creating app on Firebase

  • Open https://firebase.google.com , and click on on Go to console or Register.
  • When you reached your Firebase console. Click on on Add Challenge.
  • Enter your mission identify. Click on Proceed.
  • Analytics is really useful. Nevertheless it’s your selection. For this tutorial, i made oi disabled.
  • Click on Create Challenge. After few seconds Firebase mission is created and you’re going to get message “Your new mission is prepared,”. Click on on proceed.
  • Click on on iOS icon to begin process of including Firebase to your iOS app.

Including Firebase to iOS app

Copy bundle identifier from xcode mission(Proven in beneath image), and add it to Firebase app bundle if textbox.

The place to seek out bundle id in xcode mission

You can provide nick identify to your app on Firebase and might add app retailer id for the app (if added to apple join). Each of those steps are non-obligatory. Subsequent we have to obtain .plist file offered by Firebase and add that .plist named as “GoogleService-Data.plist” to your mission. Lastly we have to add Firebase libraries to our xcode mission. We’ll going to make use of cocoapods for our xcode mission.

Yow will discover record of firebase pods from this hyperlink https://firebase.google.com/docs/ios/setup?authuser=0

Putting in Firebase messaging pod

For this tutorial, we’re solely involved in Firebase messaging pod. Since we’re solely integrating push notification with Firebase in IOS.

  • Open terminal and kind command
  • cd “path root listing of your mission (the place .xcodeproj file is situated)” Tip:- Merely click on on any file in your xcode mission and click on present in finder
  • pod init
  • open -e podfile
  • As soon as podfile is opened in TextEdit paste beneath line to it, Save file and go t o terminal window
  • pod set up
  • After profitable set up shut your current xcode mission and reopen it with double faucet on file identify having extension .xcworkspace

Open AppDelegate.swift and add beneath code

import UIKit
import FirebaseCore
import FirebaseMessaging

@foremost
class AppDelegate: UIResponder, UIApplicationDelegate {

    func software(_ software: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        // Override level for personalisation after software launch.
        FirebaseApp.configure() 
        return true
    }

Above code will initialize our Firebase object.

Requesting consumer permission for Push notification

Subsequent step is to request permissions from consumer for the push notification. Add beneath code to your software: didFinishLaunchingWithOptions technique.

import UIKit
import FirebaseCore
import FirebaseMessaging

@foremost
class AppDelegate: UIResponder, UIApplicationDelegate {

    func software(_ software: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        // Override level for personalisation after software launch.
        FirebaseApp.configure()
        
        UNUserNotificationCenter.present().delegate = self
        let authOptions: UNAuthorizationOptions = [.alert, .sound,.badge]
        UNUserNotificationCenter.present().requestAuthorization(choices: authOptions) { success, error in
            if error != nil {
                //we're able to go
            }
        }
        software.registerForRemoteNotifications()
        
        return true
    }

In above code, we use UserNotificationCentre to request consumer to permit push notification having permissions for alert, sound and badge.

Conforming to UNUserNotificationCenterDelegate protocol

We have to implement delegates required for Push notification. First we are going to implement delegate that can give us system token. If you wish to know primary mechanism behind how push notification works in apple ecosystem then please verify beneath hyperlink

https://stackoverflow.com/questions/17262511/how-do-ios-push-notifications-work

Getting system token

extension AppDelegate: UNUserNotificationCenterDelegate {
    func software(_ software: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Knowledge) {
        Messaging.messaging().apnsToken = deviceToken
    }
  
  	func software(_ software: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: Error) {
        print("Did not register with push")
    }
}

Delegate named didRegisterForRemoteNotificationsWithDeviceToken, offers us distinctive token for the system which needs to obtain apple push notification. We’ll set this token to Firebase messaging apnsToken. You possibly can ship this apns token to your server in case your server is sending notifications to you. Second delegate, named didFailToRegisterForRemoteNotificationsWithError will will get referred to as if we fail to get system token.

Be aware:- Since Firebase by default use technique swizzling, so we have to flip it off if we wish to get push as we’re mapping system token in IOS didRegisterForRemoteNotificationsWithDeviceToken delegate and never utilizing Firebase token handler. We are able to disable technique swizzling, by setting a key in information.plist file of our xcode mission. Examine beneath picture.

Turning off Firebase technique swizzling

Including UNUserNotificationCenterDelegate

UNUserNotificationCenterDelegate has two delegates that we have to implement

  • willPresent notification :- This delegate will will get referred to as as soon as we obtain push notification and our app is in foreground.
  • didReceive response:- This delegate will will get referred to as when consumer clicks on notification.
    func userNotificationCenter(_ middle: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
        print("Will will get referred to as when app is in forground and we wish to present banner")

        completionHandler([.alert, .sound, .badge])
    }
    
    func userNotificationCenter(_ middle: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) {
        print("Will will get referred to as when consumer faucet on notifictaion")
        completionHandler()
    }
}

Creating Auth key

Open https://developer.apple.com/account/ and choose Certificates, identifiers and profiles choice. On left menu click on on auth key choice. Create it and obtain it to secure place as we’d like this key file in subsequent step, all steps are self explanatory. As soon as your authkey is generated by apple, copy “Key ID”. Lastly, we required workforce id you could find your Group ID within the Apple Member Middle beneath the membership tab

Including Auth key to Firebase mission

Lastly we have to add auth key or push certificates to Firebase mission. Go to your Firebase mission, and click on on gear icon on high left nook. Choose “Challenge Settings” -> “Cloud Messaging” -> Scroll right down to IOS app and click on on “Add” button beneath “APNs Authentication Key” part. Add auth key file created in final part, and key ID with workforce ID in required fields. Click on add.

Check Push notification

Run your app from xcode to actual iPhone system. Enable push notification and ship app to background. Now, open up Firebase mission and discover “Cloud Messaging” from left menu. Click on on it. If this your first message you will notice button having textual content “Ship you first message”. Fill within the required type .Click on Assessment, a pop up will present up in your display screen. Click on Publish. Your system will obtain a push notification.

The place to go from right here

On this tutorial, we realized easy methods to combine push notification in iOS app utilizing Firebase cloud messaging in swift. We coated all steps from begin to finish the place we acquired a push notification from Firebase. If you’re in search of video tutorial for identical then go to beneath hyperlink
https://youtu.be/Tjg5X30XhMw



Watch Out For The ‘0.0.0.0 Day’ Flaw Affecting Net Browsers

0


Researchers just lately discovered a brand new vulnerability beneath energetic assault that impacts all main internet browsers. Recognized as a ‘0.0.0.0 Day’ flaw, the zero-day vulnerability permits an adversary to bypass internet browsers’ security measures and acquire entry to the native community.

The Zero-Day Flaw ‘0.0.0.0 Day’ Impacts Chrome, Firefox, And Safari Net Browsers Alike

As elaborated in a latest submit from Oligo Safety, their analysis workforce detected energetic exploitation makes an attempt of the brand new 0.0.0.0 Day vulnerability affecting internet browsers. Exploiting this vulnerability permits an adversary to realize unauthorized entry to a goal group’s inside community providers and carry out distant code execution assaults.

The vulnerability caught the researchers’ consideration after they detected the malicious ShadowRay marketing campaign focusing on AI workloads. This marketing campaign exploited a vulnerability within the AI framework Ray, that allowed arbitrary code execution. Furthermore, one other malicious cryptomining marketing campaign, SeleniumGreed, exploited Selenium Grid (internet app testing framework) public servers for distant code execution.

Investigating such exploitations led the researchers to detect a virtually two-decade-old zero-day vulnerability in internet browsers. This vulnerability permits internet browsers to supply entry to the 0.0.0.0 IPv4 tackle—a prohibited tackle that solely serves computer systems to speak quickly throughout DHCP handshakes.

Net browsers ought to ideally not permit entry to this tackle because it exposes the native community. Nonetheless, a 2006 Mozilla bug report reveals that the vulnerability exposing this IP tackle existed even 18 years in the past. Since then, it has largely remained unaddressed throughout all main browsers.

Google Chrome applied PNA (Non-public Community Entry) to increase the prevailing CORS (Cross-Origin Useful resource Sharing) and stop entry to the non-public IP tackle. But, its PNA didn’t embrace 0.0.0.0 as a non-public IP tackle, leaving it accessible.

An attacker could leverage this browser vulnerability to focus on native networks and exploit inside programs for growth and working programs.

The researchers have shared the technical particulars of their submit.

No Patch Accessible But – Researchers Suggested Mitigations

The researchers confirmed that the 0.0.0.0 Day vulnerability doesn’t influence Home windows programs. Nonetheless, macOS and Linux programs are susceptible.

The researchers advise app builders to deploy mitigations to forestall potential threats till internet browsers tackle the flaw. These embrace implementing PNA headers, utilizing HTTPS, implementing HOST header verification to forestall DNS rebinding assaults, implementing CSRF token purposes, and limiting authorization to the localhost community.

Tell us your ideas within the feedback.

macOS 15 Sequoia launch date, options, newest beta, compatibility

0



Introducing World’s First Computerized and AI-powered Deepfake Detector


In as we speak’s digital age, the road between actuality and digital fabrication is more and more blurred, because of the rise of deepfake know-how. Deepfakes, refined audio manipulations, have gotten a rising concern as they develop into extra real looking and more durable to detect. The affect of a deepfake rip-off may be life-altering, with victims reporting losses starting from $250 to over half 1,000,000 {dollars}. And whereas not all AI content material is created with malicious intent, the power to know if a video is actual or faux helps shoppers make sensible and well-informed selections.  

“Information is energy, and this has by no means been extra true than within the AI-driven world we’re residing in as we speak,” stated Roma Majumder, Senior Vice President of Product at McAfee. “No extra questioning, is that this Warren Buffet funding scheme authentic, does Taylor Swift actually need to givea approach cookware to followers, or did Trump or Harris really say these phrases? The solutions are offered to you robotically and inside seconds with McAfee Deepfake Detector.



“At McAfee, we’re impressed by the transformative potential of AI and are dedicated to serving to form a future the place AI is used for good. Teaming up with Lenovo boosts our capacity to ship the simplest, automated, AI-powered deepfake detection, providing folks a strong digital guardian on their PCs. Collectively, we’re capable of harness AI in new and revolutionary methods, empowering people with essentially the most superior deepfake detection to allow them to navigate the evolving on-line world safely and confidently,” concluded Majumder.

Recognizing the urgency of this challenge, McAfee and Lenovo have come collectively to empower shoppers with privacy-focused, cutting-edge know-how designed to determine these misleading creations and deal with shopper issues round figuring out deepfake scams and misinformation.

What are deepfakes? 

In as we speak’s digital panorama, the place social media and viral content material dominate, distinguishing between what’s actual and what’s fabricated on-line is changing into more and more difficult. Deepfakes, a time period that mixes ‘deep studying’ and ‘faux’, are hyper-realistic movies or photographs created utilizing synthetic intelligence to deceive viewers. 

Think about seeing a video of your favourite celeb in a movie they by no means acted in, or a politician delivering a speech they by no means really gave. That is the realm of deepfakes. By using AI, creators can manipulate faces, alter voices, and choreograph actions that by no means occurred. Whereas some deepfakes are created for leisure, like humorous movies of speaking pets, others serve extra sinister functions. They are often instruments for spreading false info, influencing political opinions, or damaging reputations. 

The Risks of Deepfakes 

Listed here are just a few methods dangerous deepfakes can affect us: 

  • Client Deception: A deepfake video of a star endorsing a product they’re not really related to might trick you into making an undesirable buy. 
  • Political Manipulation: An altered audio clip of a politician might fully change your perspective on their stance, influencing your political selections. 
  • Viral Misinformation: Deceptive deepfakes can unfold quickly on-line, selling false narratives. 
  • Private Assaults: Scammers would possibly use AI to imitate the voice of a member of the family in misery, tricking you into sending cash. 

By staying knowledgeable and scrutinizing media earlier than sharing, you’ll be able to enhance your capacity to identify fakes and scale back the danger of falling sufferer to those refined scams. 

Keep Knowledgeable with McAfee Sensible AI Hub 

The McAfee Sensible AI Hub at McAfee.ai is the net, go-to vacation spot for the most recent info and academic content material associated to AI and cybersecurity, with a give attention to deepfakes and AI-driven scams. The Hub additionally empowers shoppers to affix the struggle towards scams by submitting suspicious movies for evaluation by McAfee’s superior AI-powered deepfake detection know-how. Insights and traits recognized by means of this evaluation shall be used to additional educate the general public, enriching societal understanding and consciousness of deepfakes and different artificially generated content material, and enhancing everybody’s capacity to navigate and keep secure in a digital world more and more formed by synthetic intelligence. 

McAfee Deepfake Detector: Sensible AI at Your Service 

With McAfee Deepfake Detector now accessible solely on Lenovo AI PCs, shoppers who decide in are alerted inside seconds if AI-altered audio is detected in movies, while not having to depend on laborious guide video uploads. By leveraging the facility of the Neural Processing Unit (NPU), McAfee’s AI detection fashions carry out your entire identification course of – often called inference – instantly on the PC, maximizing on-device processing to maintain personal consumer information off the cloud. McAfee doesn’t gather or document a consumer’s audio in any approach, and the consumer is at all times in management and might flip audio detection on or off as desired. McAfee’s highly effective AI know-how boasts a 96% accuracy price, equipping shoppers with superior AI detection to fight the rise in AI-generated scams, deepfakes, and misinformation.

By leveraging the NPU and performing evaluation on-device, McAfee gives complete privateness, boosts processing velocity, and improves battery life. These developments considerably improve the patron expertise, permitting folks to make knowledgeable selections in regards to the content material they view and shield them towards cybercrooks manipulating video audio with out compromising the standard or velocity of their PC. This ensures shoppers can use their PC as ordinary – whether or not they’re gaming, shopping, or watching movies – whereas McAfee Deepfake Detector works quietly within the background, defending folks towards deceptions and scams with out compromising efficiency.

“The collaboration between Lenovo and McAfee combines the distinctive experience of two world leaders to ship modern options that empower shoppers to dwell their on-line lives extra confidently,” stated Igor Bergman, Vice President of Lenovo Cloud and Software program, Clever Units Group. “Information reveals that just about two-thirds of individuals (64%) are extra involved about deepfakes now than they have been a yr in the past1. Lenovo’s experience as an end-to-end know-how options chief and McAfee’s expertise in AI-powered on-line safety completely complement one another, optimizing {hardware} and software program capabilities for the advantage of the patron.”

Availability and Pricing

McAfee Deepfake Detector is out there for English language detection in all new Lenovo AI PCs, ordered on Lenovo.com and choose native retailers starting on August 21, 2024, beginning within the US, after which rolling out to the UK and Australia later this yr.

Introducing McAfee+ Final

Identification theft safety and privateness on your digital life