September 28, 2017

Apple explains how Face ID learns from its mistakes

Apple explains how Face ID learns from its mistakes
Picture: Apple

Today, Apple published a newly refreshed privacy page. With it came the most new information the company has released on Face ID since the iPhone X was announced. The details come from a new support page and a technical white paper on Face ID security, mentioned during the keynote and currently live on Apple.com. Over the course of six pages, the paper walks through the various privacy and security measures built into the new facial recognition system, including crucial details on how the new system works and how it will hold up under pressure.

The most detailed information comes from the description of how the iPhone X stores faceprints. In broad strokes, Face ID works the same way Touch ID did: the system reads your face (or fingerprint), then creates a partial version to compare against future prints. It’s a purposefully incomplete picture, so even if you could extract the data, it would be impossible to fully reconstruct a person’s face. According to the white paper, there’s also a random element to which information is retained, making it even harder to predict and spoof the system.

Even more interesting is that the initial enrollment is just the beginning of the process. Once you’ve registered your face with the system, Face ID will update its model by occasionally pulling images from successful login photos. The white paper insists those updated face images won’t leave your phone, although they may be stored there for longer than usual. That rolling enrollment explains why Face ID won’t be thrown off if a user grows a beard or buys new glasses. With new images periodically incorporated into the model, the phone’s idea of what you look like can grow incrementally, just like the face itself. Here’s how the white paper puts it:

To improve unlock performance and keep pace with the natural changes of your face and look, Face ID augments its stored mathematical representation over time. Upon successful unlock, Face ID may use the newly calculated mathematical representation — if its quality is sufficient — for a finite number of additional unlocks before that data is discarded. Conversely, if Face ID fails to recognize you, but the match quality is higher than a certain threshold and you immediately follow the failure by entering your passcode, Face ID takes another capture and augments its enrolled Face ID data with the newly calculated mathematical representation. This new Face ID data is discarded after a finite number of unlocks and if you stop matching against it. These augmentation processes allow Face ID to keep up with dramatic changes in your facial hair or makeup use, while minimizing false acceptance.

Apple is also preparing to step in when the system doesn’t work. The white paper goes into detail on a process Apple calls “Face ID Diagnostics,” which lets users reset the enrollment process and walk through it with Apple riding shotgun. If you’re setting up Face ID in diagnostics mode, you’ll be able to send enrolled pictures to Apple for examination and veto any enrolled pictures that might be throwing off the system. Apple insists that process would only take place as part of customer support, basically as one more option for an Apple employee trying to fix a misbehaving phone. Still, the measures go well beyond what’s available for Touch ID, suggesting Apple wants to be prepared for any users that end up on the wrong side of the algorithm.

After Face ID was announced, one of the biggest concerns was the chance that it could be used to unlock a person’s phone against their will. The new document details some of the protections against that kind of unlocking, but it’s not entirely reassuring. Your eyes will have to be open and pointed at the phone for Face ID to trigger the system, but the system is fast enough that instinctively looking at a presented phone might be enough to unlock it. The good news is: you can disable Face ID by pinching the side buttons to put the phone in shutdown mode. After that, it will require a passcode to unlock.

Some measures seem to acknowledge the possibility of an accidental unlock. Face ID is designed to work with Apple Pay, giving users an easy way to transfer money without typing in any passwords. But just looking at your phone won’t be enough to trigger a transaction. Apple Pay requires you to “confirm intent” by double-clicking the sleep button before holding the phone up to the payment terminal. It’s a smart protection to have, but it suggests Face ID is every bit as easy to accidentally trigger as the early demos indicated.

Then there’s the impostor problem. Phil Schiller joked about evil twins (specifically Evil Spock) at the keynote, but Apple clearly takes the problem seriously, recommending against Face ID use if you’re worried about someone with your facial features accessing your phone. The support page puts it this way:

The probability that a random person in the population could look at your iPhone X and unlock it using Face ID is approximately 1 in 1,000,000 (versus 1 in 50,000 for Touch ID).... The statistical probability is different for twins and siblings that look like you and among children under the age of 13, because their distinct facial features may not have fully developed. If you're concerned about this, we recommend using a passcode to authenticate.

In security terms, this is a pretty obscure line of attack. Even if you have a twin, it seems unlikely that an attacker could successfully enlist them in a scheme to unlock your phone. (Let’s call it a Bowfinger attack.) Still, the attack tells us something about Face ID’s limitations. Apple has built protections against printed photos and masks, but if there’s a real face with the same features as yours, it might slide through. That’s the price of a fast and seamless system.

There are still a lot of unanswered questions — most notably how well Face ID will hold up across different races. Apple says it tested the system on a diverse set of a billion different photos, but like a host of other questions, we won’t have a solid answer until the iPhone X goes on sale next month. Facial recognition is a much trickier process than fingerprint scanning, but so far, Apple seems to be treating Face ID like a smarter, faster version of Touch ID.
Source

iOS 11 update killing your iPhone’s battery? Here’s how to fix

iOS 11 update killing your iPhone’s battery? Here’s how to fix

figure: iOS 11 update Killing your iPhone's battery?

iOS 11 is already installed on more than a quarter of existing iOS devices, but it’s not all good news for users who installed it. Slower performance and battery life issues are among the most problematic “features” of iOS 11. And while things will surely get better as Apple further improves iOS 11, some of you will still have to live with worse battery life on your iPhones. iPad doesn’t really count here, not because it has a massive battery, but because it’s the iPhone you take and use everywhere throughout the day.

Here’s what you can do to “fix” your iPhone 7 or iPhone 6s while you wait for Apple’s future improvements.

The radical approach

Buying a new device if yours is experiencing worse and worse battery life is a good idea. I’m not talking about iPhone 7 users here, but iOS fans who are still on older hardware. The older the batteries in these devices get, the worse they’ll perform.

If that’s not what you want to do, then you can always purchase a charging case or an external battery. These will likely fix all your battery problems. As an iPhone 6s owner, I have to say I haven’t noticed significant battery issues since the first iOS 11 betas. That’s because I usually charge the phone via an external battery.

If you have specific iPhone 6s models, you may qualify for a free battery replacement. You have to bring in your iPhone and have an Apple employee see if you are eligible. Or just go in for a battery replacement if your phone is ancient. Batteries only have so many cycles in them, especially smartphone batteries.

Getting into the software

You can use what’s readily available to you, free of charge, although it will consume your time while you test the changes in the Settings app in iOS 11.

Apply the right tweaks, and you may end up improving your battery life on the iPhone without paying a dime. It’s what some of the more experienced iOS users have been doing each year, with each new iOS release.

You can start using Low Power Mode more aggressively to get you through the day. You can lower screen brightness on the phone, and the Auto-Lock time to make sure the screen consumes as little battery juice as possible.

Be sure to check what apps “kill” battery life and consider uninstalling some of them, at least until developers optimize them for iOS 11. You can also disable some of their features, including Background App Refresh and Location Services. Yes, these are useful features that you may use on a regular basis, but if they kill your battery faster then try turning them off.

All these changes can be made via Control Center (Low Power Mode) or the Settings app, and 9to5Mac has a handy visual guide to help you find all the right toggles.

Apple’s smarts

Not too long ago, Tim Cook bragged that the iPhone’s AI and Machine Learning capabilities will let it optimize battery life to meet your needs. That’s one other way that might help you save battery life, but it’s out of your control. Let’s just hope Apple keeps improving it as it fixes iOS 11’s energy needs.
Source

Transport layer (Lesson: 4)

Transport layer

Overview

In the previous chapter, we looked at the application layer and saw that it is the interface between the human network and the data network. In this chapter, we will look at the transport layer and discuss how it aids in communication. At the end of this chapter, you should be able to describe the transport layer as well as its functions.

The transport layer in the OSI model, gets user data from the application layer and prepares it for transport over divergent devices. It also prepares the data for transfer over the network layer. The transport layer is responsible for the delivery of the application data from the source to the destination. In this layer, the PDU in use is the segment.

Purpose of transport layer

The transport layer is responsible for segmentation and control of the various communication streams, it is also responsible for assembly of the communication at the recipients end. The main functions defined at the OSI transport layer include:
  • Tracking of communication between the upper (application layer) and lower (network layer) from the source to the destination. This means that it separates the different applications from the packets it receives from the network layer.
  • Segmentation of application data from the sender. As mentioned earlier, the segment is the transport layer PDU.
  • Reassembly of the various segments into the various applications at the recipients.
  • Identification and differentiation of the different applications.
Segmentation is the splitting of the application data. If we use an analogy of sending a parcel, we can say it is like breaking up pieces of a big machine into small pieces which can then be sent easily as opposed to sending the whole machine. Reassembly would be the bringing together of the machine pieces together. This is necessary since most networks limit the amount of data that can be sent as a single PDU.

September 27, 2017

Bill Gates now uses an Android phone.

Bill Gates now uses an Android phone.


The billionaire Microsoft founder told Fox News Sunday's Chris Wallace he recently switched to a mobile device that runs Google's Android software.

The company officially killed off its Windows Phone line and software in July, due largely to dwindling consumer interest and a lackluster app store. In the first quarter of 2017, Windows Phones' market share was 0.1%, according to a May report from market intelligence firm IDC.

Now, Gates has presumably put his own device aside in favor of another.

While Gates didn't say which phone he uses, he said it has "a lot of Microsoft software."

"So, no iPhone?" Wallace asked.

"No iPhone," Gates said.

Apple and Microsoft have been at odds for years. Its fierce competition goes back decades and was often showcased in TV ads, such as Apple's famous "I'm a Mac" and "I'm a PC" commercials. More recently, Microsoft has gone after Apple customers with products like the Surface Studio intended for designers.

Gates said it's "great" Apple is continuing to do good work, but noted he still uses all Windows-based PCs. In the interview, he praised late Apple founder Steve Jobs, despite their famous rivalry.

"The relationship I had with Steve had every aspect you can imagine. Particularly in the last few years, our friendship -- which had always been there -- was greatly strengthened as he was dealing with cancer," Gates told Wallace. "He and I had a lot in common ... Steve was a genius. Absolutely amazing."

He also credited Jobs with helping to spur competition in the sector.

"The competition in the software and IT space that Steve helped foster, it's phenomenal. And Microsoft's a big part of that. It's been a miraculous industry that he and I got to work in," Gates said.

Separately, Microsoft on Tuesday announced Microsoft Office 2019 will be available in the second half of next year. The big update will have more IT features and server upgrades to improve usability, voice and security, according to the tech giant.

Application layer (Lesson: 3)

Application layer

Overview

As I am sure, most of you use the internet in a number of ways; be it browsing the web, downloading movies, financial transactions, blogging, IM messaging among others. We are most likely oblivious of what it is that makes this communication possible.

In this chapter, we will look at the first layer of the TCP/IP and OSI models, which is the application layer.

In this chapter, you will learn to:

  • Describe the first 3 layers of the OSI model
  • Describe some of the application layer applications

Introduction

The application layer is the 7th layer in the OSI model. When communicating, messages move from the application layer, down the other layers up to the physical layer, after transmission, the information moves from the physical layer up the model to the application layer again from where it is usable.

The application layer in the TCP/IP model defines 3 layers in the OSI model. These are; the application, presentation and session layers.

Presentation Layer

The presentation layer is the 6th layer in the OSI model. It defines three main functions when it comes to communication over the network.

  • Data from the application layer is converted and coded into a form that can be understood by the recipient’s device.
  • Since application data may be uncompressed, the presentation layer compresses the data and this is in a manner that can be interpreted and decompressed by the destination device.
  • To ensure security of the data which may be transmitted over insecure networks, the presentation layer also encrypts the data.

In this course you are not expected to fully understand the functionality at this layer, however, you are supposed to be familiar with the processes that are involved as listed above.