How To Force Restart Frozen iPhone X

How To Force Restart Frozen iPhone X:

Press and quickly release the Volume up button then press and quickly release the Volume down button. To complete, press and hold the Side button until the Apple logo appears on the screen.

For some reason Apple decided to hide this information after changing how the phone works.

Facebook Saved Passwords in Regular Text File

Ars Technica:

Brian Krebs reports that hundreds of millions of Facebook users had their credentials logged in plain text by various applications written by Facebook employees. Those credentials were searched by about 2,000 Facebook engineers and developers more than 9 million times, according to a senior Facebook employee who spoke to Krebs; the employee asked to remain anonymous because they did not have permission to speak to the press on the matter.

In a blog post today, Facebook Vice President of Engineering, Security, and Privacy Pedro Canahuati wrote that the unencrypted passwords were found during “a routine security review in January” on Facebook’s internal network data storage. “This caught our attention because our login systems are designed to mask passwords using techniques that make them unreadable. We have fixed these issues and, as a precaution, we will be notifying everyone whose passwords we have found were stored in this way.”

Not surprised.

Eggs Are Bad For You, Again

Gizmodo:

Ultimately, they found there was a 17 percent increased risk of cardiovascular disease associated with every extra 300 milligrams of dietary cholesterol a day, along with an 18 percent increased risk of early death, even after adjusting for factors like the amount of calories eaten per day. And each extra half-egg a day was similarly linked to a 6 percent and 8 percent increased risk of cardiovascular disease and early death, respectively.

The link between egg consumption and poorer health went away after accounting for a person’s cholesterol intake, suggesting their high cholesterol content was the principle reason behind the increased risk.

F***

How to mask and unmask input element password type in Ionic / Angluar

How to mask and unmask input element password type in ionic/angular/js:

  
this.togglePasswordField = function () {
     console.log("toggle password field called");
     if (document.getElementById("passwordElement").type == "password") {
        document.getElementById("passwordElement").type = "text";

         document.getElementById("passwordHideIcon").classList.remove("ion-eye");
         document.getElementById("passwordHideIcon").classList.add("ion-eye-disabled");
     }
     else {
          document.getElementById("passwordElement").type = "password";
          document.getElementById("passwordHideIcon").classList.remove("ion-eye-disabled");
          document.getElementById("passwordHideIcon").classList.add("ion-eye");     
          }
    }

This way only uses basic html element manipulation.

passwordHideIcon element is a button that calls the function and uses the ionic icon for eyes and eyes disabled.

Facebook Announces Leadership Changes

The Verge:

Here’s the breakdown of the executive changes:

Chris Cox will depart Facebook, but hasn’t revealed plans for what’s next.

Chris Daniels will leave WhatsApp, and Facebook declined to provide any details on why or the circumstances.

Will Cathcart will go from running the main Facebook app to VP of WhatsApp

Fidji Simo who was the VP of Product for Facebook video, news, and advertising will take over Cathcart’s role running Facebook’s main app

Javier Olivan who was Facebook’s VP of growth will lead the task of identifying how to integrate Facebook’s products, including the plan to unify the backend of Facebook Messenger, WhatsApp, and Instagram direct to expand encryption and allow cross-app messaging that some see a shield against Facebook being broken up.

Instagram VP Adam Mosseri, Messenger’s VP Stan Chudnovsky, Simo, and Cathcart will now report directly to Zuckerberg, while Chief Marketing Officer Antonio Lucio reports to COO Sheryl Sandberg

How to install the Android Q beta

The Verge:

If you’re not the kind of person who wants to unlock your phone’s bootloader, I can’t blame you. Google lets Pixel owners enroll in the beta by simply logging in with a Google account, then selecting the compatible device that they’d like to install the beta. You’ll get an over-the-air update that way, just like you normally would for stable versions of Android.

Once you click “Enroll,” you’ll eventually get an update notification on the enrolled device that a system update is ready. You may need to check for a system update in order for it to fetch the beta software, but it usually doesn’t take long for it to be ready for download. (Google says it could take 24 hours or more, but we’ve rarely had to wait that long. The beta hit one of our phones less than a half-hour after enrolling it.) As new Android Q developer previews come out, you’ll get a notification to install them, too, as you would for any regular system update.

Alternatively, you can flash the Android Q beta to your Pixel phone. Google has provided a list of image downloads for the supported phones, but you should only take this road if you’re a developer, or if you just like to do things the hard way. Phones that are updated in this manner won’t receive over-the-air updates to upcoming beta versions, so if you want the latest Android Q features without much hassle, just enroll in the beta instead.

Boeing’s Proposed Solution to Max 8’s MCAS System

The Wired reporting:

The solution, then, is twofold: Boeing started by warning airlines that the MAX’s angle of attack sensors had malfunctioned before, that such a failure could lead the MCAS (Maneuvering Characteristics Augmentation System) to push the plane’s nose down, and that pilots could safely defuse the problem by cutting off the trim system and working the plane manually.

After making sure pilots knew about the problem and how to resolve it, Boeing would work on a longterm solution. Essentially, it would rejigger the software governing MCAS so that it wouldn’t be as prone to jumping into action based on one scary sensor reading, instead considering more data. And it would limit how many times it can engage.

Boeing said it would have it done within a few months. Then the Ethiopian Airlines jet crashed. We don’t yet know if the jet’s MCAS system is what brought the plane down, or what other factors may have been at work. We do know that what seemed a straightforward fix to an unforeseen problem is now muddied—and that the 737 MAX won’t take off again until it’s been cleared up.

Maneuvering Characteristics Augmentation System sounds like a software hack…

Boeing 737 Max 8 Design Issues

The Air Current:

Every airplane development is a series of compromises, but to deliver the 737 Max with its promised fuel efficiency, Boeing had to fit 12 gallons into a 10 gallon jug. Its bigger engines made for creative solutions as it found a way to mount the larger CFM International turbines under the notoriously low-slung jetliner. It lengthened the nose landing gear by eight inches, cleaned up the aerodynamics of the tail cone, added new winglets, fly-by-wire spoilers and big displays for the next generation of pilots.

It pushed technology, as it had done time and time again with ever-increasing costs, to deliver a product that made its jets more-efficient and less-costly to fly.

In the case of the 737 Max, with its nose pointed high in the air, the larger engines – generating their own lift – nudged it even higher. The risk Boeing found through analysis and later flight testing was that under certain high-speed conditions both in wind-up turns and wings-level flight, that upward nudge created a greater risk of stalling. Its solution was MCAS, the Maneuvering Characteristics Augmentation System control law that would allow for both generations of 737 to behave the same way.

MCAS would automatically trim the horizontal stabilizer to bring the nose down, activated with Angle of Attack data. It’s now at the center of the Lion Air investigation and stalking the periphery of the Ethiopian crash.