Home Blog Page 15

android – Flutter App – NewRelic Cellular Not Logging and Zone Error Points


  void principal() async {
      EndPoints.configure();
  print(AnsiStyles.purple('That is purple!'));
  print('......env.......${EndPoints.env}........${EndPoints.baseUrl}');
  var appToken = "";
  if (Platform.isIOS) {
    appToken = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-NRMA';
  } else if (Platform.isAndroid) {
    appToken = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-NRMA';
  }

  Config config = Config(
      accessToken: appToken,
      analyticsEventEnabled: true,
      webViewInstrumentation: true,
      networkErrorRequestEnabled: true,
      networkRequestEnabled: true,
      crashReportingEnabled: true,
      interactionTracingEnabled: true,
      httpResponseBodyCaptureEnabled: true,
      loggingEnabled: true,
      printStatementAsEventsEnabled: true,
      httpInstrumentationEnabled: true);
  BindingBase.debugZoneErrorsAreFatal = false;
  WidgetsFlutterBinding.ensureInitialized();

  SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
    systemNavigationBarColor: Colours.white,
    statusBarColor: Colours.white.withOpacity(0.5),
    statusBarBrightness: Brightness.darkish,
    statusBarIconBrightness: Brightness.darkish,
  ));
  SystemChrome.setEnabledSystemUIMode(SystemUiMode.guide,
      overlays: [SystemUiOverlay.bottom, SystemUiOverlay.top]);
  SystemChrome.setPreferredOrientations([
    DeviceOrientation.portraitUp,
    DeviceOrientation.portraitDown,
  ]);
  await ChargeStationsDatabaseHelper.initDatabase();
  FirebaseOptions androidOptions = FirebaseOptions(
      apiKey: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
      appId: "1:XXXXXXXXXXXX:android:XXXXXXXXXXXXXXXXXXXXX",
      messagingSenderId: "XXXXXXXXXXXX",
      projectId: "XXXXXXXXXXXX");
  FirebaseOptions iosOptions = FirebaseOptions(
      apiKey: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
      appId: "1:XXXXXXXXXXXX:ios:XXXXXXXXXXXXXXXXXXXXX",
      messagingSenderId: "XXXXXXXXXXXX",
      projectId: "XXXXXXXXXXXX");

  await Firebase.initializeApp(
    choices: Platform.isAndroid ? androidOptions : iosOptions,
  );
  await FirebaseApi().initPushNotifications();
  FirebaseAnalyticsObserver(analytics: FirebaseAnalytics.occasion);
  FirebaseAnalytics.occasion.setAnalyticsCollectionEnabled(true);
  FirebaseCrashlytics.occasion.setCrashlyticsCollectionEnabled(true);
  FlutterError.onError = FirebaseCrashlytics.occasion.recordFlutterError;

  NewrelicMobile.occasion.begin(config, () {
    runZonedGuarded(() async {
      // Push notification code commented out
      /* 
      await PushNotificationService
          .requestPushNotificationPermission()
          .then((worth) async {
            await PushNotificationService
                .registerDevice();
          });
      await FirebaseApi()
          .initNotifications();
    */

      // Sentry code commented out
      runApp(initalApp());
      
    }, (error, stackTrace) {
      FirebaseCrashlytics.occasion.recordError(error, stackTrace);
    });
  });
}

The Flutter bindings have been initialized in a unique zone than is now
getting used. This can possible trigger confusion and bugs as any
zone-specific configuration will inconsistently use the configuration
of the unique binding initialization zone or this zone primarily based on
hard-to-predict components similar to which zone was lively when a
explicit callback was set. You will need to use the identical zone when
calling ensureInitialized on the binding as when calling runApp
later. To make this warning deadly, set
BindingBase.debugZoneErrorsAreFatal to true earlier than the bindings are
initialized (i.e. as the primary assertion in void principal() { }).

When the exception was thrown, this was the stack:
#0 BindingBase.debugCheckZone. (package deal:flutter/src/basis/binding.dart:495:29) binding.dart:495
#1 BindingBase.debugCheckZone (package deal:flutter/src/basis/binding.dart:500:6) binding.dart:500
#2 runApp (package deal:flutter/src/widgets/binding.dart:1212:18) binding.dart:1212
#3 principal.. (package deal:ev/principal.dart:189:7) principal.dart:189
#8 principal. (package deal:ev/principal.dart:160:5) principal.dart:160
#9 NewrelicMobile.begin. (package deal:newrelic_mobile/newrelic_mobile.dart:42:13)
newrelic_mobile.dart:42 (elided 4 frames
from dart:async)

 NewrelicMobile.occasion.log(
    LogLevel.ERROR,
    eventName,
  );
  await NewrelicMobile.occasion.recordCustomEvent(
    "analytics",
    eventName: eventName,
    eventAttributes: params,
  );

Additionally this perform shouldn’t be logging something in my newrelic dashboard.

Postman introduces new options to allow “safe by design” API growth


Postman is asserting new options designed to allow builders to construct APIs at scale in a safe style.

First, the corporate introduced the discharge of Spec Hub, an API design platform that gives instruments for authoring, governing, and publishing API specs throughout a number of codecs, similar to OpenAPI 3.0 and AsyncAPI 2.0. 

It presents one-click workflows for builders to design, check, mock, and construct. It gives real-time validation with linting by Spectral, permitting builders to establish and resolve points early on within the API design course of.

Builders can select from Spec Hub’s visible schema editor or immediately edit code in JSON or YAML.  

“Finally, Postman’s Spec Hub eliminates management trade-offs between key priorities—particularly, developer velocity, API governance, and value effectivity—whereas giving builders the liberty to maneuver quick and ship extra,” the corporate wrote in a weblog submit

The second massive announcement is Convey Your Personal Key (BYOK) Encryption, which gives clients with full management over their information safety by permitting them to handle and safeguard their very own encryption keys for the info saved in Postman Cloud, similar to API environments, globals, and historical past.

It implements a zero belief safety mannequin the place builders can take away entry to information just by disabling the related encryption key. It additionally routinely logs encryption occasions to higher facilitate audits.

In response to Postman, BYOK Encryption meets the very best safety and compliance requirements, similar to GDPR, US state privateness legal guidelines, and SOC2. 

“With BYOK Encryption and Spec Hub, Postman is redefining how enterprises can scale API growth whereas staying in full management of their information. BYOK Encryption ensures that even within the face of a breach, organizations can immediately isolate danger and preserve compliance, whereas Spec Hub delivers governance that builders truly need to use—eliminating friction with out compromising safety. That is the way forward for safe, scalable API growth,” stated Sam Chehab, head of data safety at Postman. 

How one can Construct a Sturdy Software program Testing Technique from Scratch


A robust software program testing technique is crucial to ensure that your software is of excellent high quality, works correctly, and is reliable. An excellent software program testing technique decreases bugs, lowers downtime, and improves end-user expertise. When embarking on a brand new venture or enhancing an previous one, a well-outlined technique steers your workforce in finishing up related assessments that may eat much less time however be efficient.

Perceive the Undertaking Necessities and Dangers

To start out making a testing technique, it’s essential to totally comprehend the venture’s necessities. These embrace the practical necessities (i.e., what the software program is predicted to do), non-functional necessities (i.e., how the software program ought to work), and some other related legal guidelines or guidelines within the given sector.

Whenever you perceive these components, you’ll be able to establish which venture elements want extra focus and checking. Additionally, the chance related to the venture should be evaluated. Throughout testing, precedence needs to be given to high-risk areas, together with essential options or elements that interface with exterior programs. For instance, in case your software program shall be used on Macs, you’ll want to verify Mac malware vulnerabilities that would impression the safety of your software, and this information https://moonlock.com/check-malware-mac can assist you with that.

A complete danger evaluation will assist you to focus your testing efforts on essentially the most susceptible areas to failure and impression.

Select the Proper Testing Sorts

Totally different testing sorts serve varied functions, and your technique ought to embody many testing strategies. Listed below are some key testing sorts to think about:

  • Unit Testing: Unit assessments verify whether or not separate components of code perform appropriately alone. That is the type of testing that’s normally carried out by builders.
  • Integration Testing: The testing stage that follows unit testing is the combination testing stage, the place assessments are achieved to confirm that completely different models work collectively easily.
  • Purposeful Testing is the method of confirming that this system operates as meant primarily based on its perform specs.
  • Non-Purposeful Testing: Non-functional assessments, reminiscent of efficiency, safety, and value testing, assess how properly the software program performs below stress, how safe it’s, and the way user-friendly it’s.
  • Acceptance Testing: Figuring out whether or not the software program is match for the aim meant, and that it could possibly be deployed correctly earlier than its handed over to customers, is finished by acceptance testing.

By defining the varieties of testing that have to be carried out, you’ll be sure that no space of the software program is missed. Take into account automation the place relevant, as it could actually significantly enhance effectivity for repetitive assessments like regression testing.

How one can Construct a Sturdy Software program Testing Technique from Scratch

Outline Clear Check Targets

A well-defined testing technique ought to embrace clear take a look at goals. What are you making an attempt to realize with every kind of take a look at? Targets may embrace:

  • Verifying the performance of particular options
  • Checking the software program’s compliance with efficiency requirements
  • Making certain that the system works appropriately below load
  • Figuring out safety vulnerabilities

Setting clear targets ensures that the workforce is aligned and centered on the identical outcomes, lowering the probabilities of missed necessities or undefined take a look at standards.

Set up a Testing Atmosphere

Having a secure and dependable testing atmosphere is crucial for the success of your technique. The testing atmosphere ought to mimic the manufacturing atmosphere as intently as potential to make sure correct take a look at outcomes. This contains establishing {hardware}, software program, community configurations, databases, and some other programs that your software depends on.

For giant tasks, utilizing virtualization or containerization (e.g., Docker) could make it simpler to duplicate environments for testing functions. Consistency within the testing atmosphere additionally ensures that outcomes are reproducible and free from configuration-related inconsistencies.

Incorporate Steady Testing and Integration

Steady testing is an important part of any trendy software program testing technique. By integrating testing into the event pipeline (sometimes called Steady Integration or CI/CD), you’ll be able to run assessments continuously as new code is launched. This lets you catch points early within the improvement course of, making it simpler and cheaper to repair them.

Automating assessments wherever potential is important in steady testing. Automated assessments could be run each time new code is pushed to the repository, guaranteeing that regressions are detected promptly and lowering the handbook effort required for testing.

Prioritize Check Protection

After we discuss of take a look at protection, we seek advice from the diploma to which the take a look at instances can tackle the code and all of the completely different elements of an software. It isn’t at all times possible to get 100% take a look at protection, however it’s essential to try to have wide-ranging assessments, particularly on essential, dangerous, and well-liked functionalities.

To ensure that each one elements are lined, one can use varied strategies. For instance, code protection evaluation instruments could be employed to find out the proportion of code exercised by the assessments, whereas requirement primarily based testing ensures that each practical specification has been totally examined.

Check protection focus areas:

  • Core software logic
  • Person-facing options
  • Security measures (e.g., login and authentication)
  • API and integration factors

Collaborate and Talk Throughout Groups

Software program testing will not be efficient when achieved alone. Testing groups have to work intently with builders, product managers, and different stakeholders in all phases of the event course of. By early and steady communication, it turns into potential for testers to grasp the enterprise necessities, options below improvement, in addition to any potential danger.

Frequent collaboration may assist in the identification of edge instances, bug fixing, and adjusting the testing technique primarily based on evolving venture necessities.

Measure Success and Enhance

You will need to consider how properly your testing methods work after getting run assessments. Among the indicators that can be utilized in measuring the success of the technique might embrace defect density, take a look at execution time, in addition to the variety of points recognized per testing section.

The testing doesn’t solely have to verify if one succeeded or not;  testing plan wants to go away room for addition of feedback. If you need to achieve success in the long term, then it’s essential continually enhance your testing processes primarily based on what you might have discovered out of your earlier tasks and in addition from the suggestions of your colleagues.

Abstract

To create a powerful software program testing plan, it’s essential to first grasp what your enterprise wants are, then select the suitable varieties of assessments, outline achievable targets, and create favorable circumstances for teamwork. If you happen to think about masking all assessments and maintain observe of what you might have achieved, it’s potential to provide you with a plan that ensures high quality software program and a constructive end-user expertise. Nonetheless, take into account that software program testing is an ongoing exercise, and your software program testing technique requires steady enchancment with a purpose to maintain tempo with rising points and altering applied sciences.

ABB plans to spin off its robotics division

0


An ABB IRB 7720 robot demonstrates friction stir welding.

ABB Robotics makes industrial methods corresponding to this IRB robotic demonstrating friction stir welding. Supply: ABB

Certainly one of world’s prime industrial automation suppliers is changing into extra impartial. ABB Group introduced throughout its earnings name at this time that it plans to spin off its complete robotics division. The Zurich-based firm mentioned it intends for the enterprise to begin buying and selling as a individually listed firm within the second quarter of 2026.

“At present, we additionally introduced our plan to spin off the Robotics division as a individually listed firm,” mentioned Martin Wierod, CEO of ABB Group, throughout the first-quarter 2025 earnings name. “In overview, this transformation will help worth creation for each corporations.”

“Our robotics enterprise had elevated orders from the automotive phase, and our paint know-how is the very best in the marketplace, and we had clients selecting to stay with us as they expanded their worldwide footprint,” he famous. “One can say we journey with the client.”

“The workforce did an excellent job additionally on operational EBITDA. Margin improved in three out of our 4 enterprise areas,” added Wierod. “Solely robotics and discrete automation declined from final 12 months. However importantly, they confirmed a optimistic sequential improvement, and the machine automation division improved to a break-even stage.”

ABB's YuMi dual-armed cobot conducts an orchestra.

ABB’s YuMi dual-armed cobot demonstrates its dexterity. Supply: ABB

Machine Automation to affix Course of Automation unit

With greater than 140 years in enterprise and about 110,000 staff worldwide, ABB mentioned it’s a international know-how chief in electrification and automation to deal with labor shortages, security, and productiveness wants. It reported slower-than-expected progress however remained optimistic for continued progress in sustainability initiatives.

The firm missed its income prediction for the primary quarter of 2025 by $260 million and acknowledged that macroeconomic uncertainty from tariffs has affected its enterprise. It mentioned that robotics gross sales had declined 12 months over 12 months however mentioned it has finished effectively retaining clients.

The corporate’s Machine Automation division, which is presently a part of its Robotics & Discrete Automation unit, will grow to be a part of its Course of Automation enterprise space within the first quarter of 2026. It mentioned the Machine Automation division is a number one provider of programmable logic controllers (PLCs), clever pump controls (IPCs), servo movement, industrial transport methods, and imaginative and prescient and software program merchandise.

ABB’s Electrification and Movement enterprise areas shall be unaffected by the spinoff.

“The board believes itemizing ABB Robotics as a separate firm will optimize each corporations’ skill to create buyer worth, develop and appeal to expertise,” said ABB Chairman Peter Voser. “Each corporations will profit from a extra targeted governance and capital allocation. ABB will proceed to deal with its long-term technique, constructing on its main positions in electrification and automation.”

ABB plans to spin off its robotics division

ABB’s product line consists of AMRs, industrial arms, cobots, and software program. Supply: ABB

ABB Robotics is international No. 2

“ABB Robotics holds a world No. 2 market place, with revenues of $2.3 billion in 2024, and as a powerful performer in its business, it might profit from being measured extra immediately towards its friends,” Wierod said. “As well as, there are restricted synergies between the ABB Robotics enterprise and the rest of the ABB divisions with totally different demand and market traits.”

Different main automation suppliers, when it comes to annual gross sales, embody Japan-based FANUC, Mitsubishi, and Denso, plus Switzerland-based Stäubli, and Germany-based KUKA (owned by China’s Midea Group). No main industrial robotics distributors are headquartered within the U.S.

The corporate cited the “ABB Method” decentralized enterprise mannequin, beneath which “ABB Robotics has confirmed its double-digit margin resilience in most quarters since 2019.” It noticed that “the market has seemingly stabilized – supporting the divisional order progress – after what has been an unusually risky market scenario, which has included the normalization of order patterns after the interval of pre-buys when the availability chain was strained.”

The robotics unit’s product line features a full vary of industrial robots, collaborative robotic arms, and autonomous cellular robots or AMRs (acquired with ASTI in 2021). Final 12 months, it expanded its modular IRB line and acquired Sevensense, which supplied to navigation capabilities for its AMRs, rebranded because the Flexly line.

Like different main robotics suppliers, ABB has positioned rising deal with software program and synthetic intelligence, saying that greater than 80% of its choices are “software program/AI-enabled.” Final month, it launched the RoboMasters coaching instrument.

The firm mentioned its robotics spinoff will proceed to function with regional manufacturing hubs in Sweden, China, and the U.S. In 2023, ABB deliberate to spend $20 million to broaden U.S. manufacturing.

ABB Robotics presently has about 7,000 staff, and its U.S. workplace is in Auburn Hills, Mich. With 2024 revenues of $2.3 billion, it represented about 7% of ABB Group’s revenues and had an operational EBITA (earnings earlier than curiosity, taxes, and amortization) margin of 12.1%.

If ABB shareholders approve the spin-off, will probably be carried out by way of a share distribution, whereby ABB Ltd.’s shareholders will obtain shares within the firm to be listed (with the working identify “ABB Robotics”) as a dividend in-kind in proportion to their current shareholdings.

The Robotic Report has communicated with ABB and can share additional data because it turns into out there. ABB Robotics is without doubt one of the prime RBR50 winners of all time, incomes recognition yearly within the innovation award’s historical past. Study extra on the RBR50 Gala on the Robotics Summit & Expo later this month.


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


Medical doctors Warn of Harmful Surge Throughout the U.S. – NanoApps Medical – Official web site


Dad and mom are inspired to contact their pediatrician if their little one has been uncovered to measles or is exhibiting signs.

Pediatric infectious illness consultants are emphasizing the important significance of measles vaccination, because the extremely contagious virus is as soon as once more spreading throughout the US. In an article printed in Pediatrics, they supply up to date steerage for pediatricians on the right way to acknowledge, forestall, and handle this vaccine-preventable illness.

Measles, brought on by the measles virus, is without doubt one of the most contagious infectious ailments recognized, able to spreading to 90% of unvaccinated people uncovered to an contaminated individual. It’s transmitted by way of respiratory droplets and might stay airborne for as much as two hours after an contaminated individual has left the world.

“The best approach to forestall measles is vaccination,” stated lead creator Caitlin Naureckas Li, MD MHQS, infectious ailments specialist at Ann & Robert H. Lurie Youngsters’s Hospital of Chicago and Assistant Professor of Pediatrics at Northwestern College Feinberg College of Medication. “If dad and mom are involved that their little one was uncovered to measles or might have measles, they need to name their little one’s physician. They need to not try and deal with measles on their very own with out a doctor’s recommendation.”

Hospitalization and Problems from Measles

Measles carries the danger of significant problems that will require hospitalization. Dr. Li and colleagues level out that in 2024 within the U.S., 40 % of individuals with confirmed measles had been hospitalized, together with 52 % of youngsters beneath 5 years and 25 % of these 5-19 years.

The authors additionally spotlight that within the U.S., the measles mortality price is estimated to be one-three deaths per 1,000 infections. The chance of demise is greater in these beneath 5 years of age.

Extreme and Lengthy-Time period Well being Dangers

One of many extra frequent problems of measles is pneumonia, with the lungs concerned in over 50 % of measles instances. Measles can also influence the mind. Encephalitis – an sickness that may be deadly or result in long-term mind injury in survivors – happens in about one out of each 1,000 instances. SSPE, a near-universally lethal mind dysfunction that happens years after measles an infection, is one other potential complication that strikes one in 100,000 instances, with greater threat in youngsters beneath 1 12 months of age.

“MMR vaccination is secure,” emphasised Dr. Li. “This vaccine is one of the best ways for households to guard their youngsters from doubtlessly life-threatening problems.”

Reference: “What’s Previous Is New Once more: Measles” by Caitlin Naureckas Li, Sheldon L. Kaplan, Kathryn M. Edwards, Gary S. Marshall, Sarah Parker and C. Mary Healy, 11 April 2025, Pediatrics.
DOI: 10.1542/peds.2025-071332