Thursday, October 5, 2017

Child routes in Angular Js 4

Child routes in Angular 4 :
The route can have a number of child routes of their components.A route is an array of Route. Route has various types of properties to maintain route for example path , component , outlet , children. To specify child route for a parent route, we use children property. The component speific to a child route will lie in the router outlet of the component which is related to the parent route of that child route. In the given example we have created a home as parent route and about as children routes,Import the required component to be routed. Write the following line of code in the routing file.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<span style="font-size:16px;"><span style="font-family:arial,helvetica,sans-serif;">
import { ModuleWithProviders } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { AboutComponent } from './home.component';
import { HomeComponent } from './about.component';
import { AboutUserComponent } from './about-user.component';
import { AboutSectionComponent } from './about-section.component';
const homeRoutes: Routes = [
{
path: 'home',
component: HomeComponent,
children: [
{
path: '',
component: HomeComponentn
},
{
path: ':username',
component: AboutUserComponent
}
]
}
];
 
export const homeRouting: ModuleWithProviders = RouterModule.forChild(homeRoutes);
 
</span></span>
We have created the constant home routes, which is a array of component along with their path. this constant is passed in the child router module.

Thanks

Wednesday, October 4, 2017

Snapchat To Launch Augmented Reality Art Platform

Snapchat art platform
Last year, snapchat acquired an augmented startup called Cimagine. Using that, Snapchat is planning to launch its augmented reality art platform that will feature arts by some of the great artists like Jeff Koons and much more. The details about this augmented art platform are out and people want to more about it. With the art platform, users will be able to pin art to any specific location they want and they will be able to see it when they will keep their phones in the correct location. The feature will be introduced with the Koon’s art from around the world like Sydney, Paris and Las Vegas.


According to the reports, Snapchat is collaborating with the artists to publish their art pieces on snapchat’s augmented reality platform. Snapchat has also launched a countdown clock to 3 PM over a photo of the central park and New York's skyline on the site art.snapchat.com. Group of technical people have decoded the meaning of clock and found out it is related to CEO Evan Spiegel's talk a Vanity Fair’s New establishment summit. The feature can be used to create animations of whatever you see through the rear-facing camera. Snapchat is trying its best to compete Instagram and Facebook. After so much innovation, snapchat is still behind its competitors. 




The reason being is that they copy snapchat’s new features as soon as it launches them. By taking inspiration from facebook, Snapchat has launched the 3D world lenses which can be used for adding floating animations. The way it will work is still not clear for that we all have to wait for its launch. Snapchat has similar features as of Pokemon Go called geofilters. It lets its users unlock the filters to certain locations. When they will be near a piece of art, they will see lense. The lens indicted the availability of an art. 

Roku Unveils New Streaming Devices And An OS Update

Roku new devices
Roku unveiled its five streaming updates along with the new operating system. It has updated its streaming device lineup completely. Earlier we have seen updates in Apple as well as Amazon video streaming boxes and finally, Roku has joined the league.  Roku’s competitors, Apple and Amazon have made updates like 4K, new and improvised security, voice control and much more.


The company has finally rolled out a new operating system, known as OS 8 which brings out various features like over the air and over the top viewing, voice control, and much more exciting features. The new Roku boxes range have improved features are the affordable price. With the improved features, you will get the experience like never before. From the basic version to the 4K capable home entertainment, you will get it all. This is the biggest new for all the Roku fans.




The new device range includes Roku Express, Roku Express+, Roku Ultra, Roku Streaming Stick, Roku Streaming Stick+. The earlier products such as Roku Premiere and Roku Premiere+ are far behind now, after the launch of new devices. Last Year, the price of Roku Ultra dropped from $130 to $100. This year also, it stayed same even after its remote becomes 4K capable from the basic streaming stick.  The Roku Express+ has now analog component connection for those who have old televisions which costs $40 only. 


The Roku streaming sticks have the most interesting makeover which adds support for 802.11ac dual-band MIMO wireless. Without any change in the price, the processor is much faster now. It has got more features like Voice control functionality, volume and power button to control the volume of a TV. It now even has the wireless receiver which has much higher wifi range than the basic streaming stick. The basic streaming stick is now for $50, which now have voice controls. 

Tuesday, October 3, 2017

How Secure Is The Face ID In iPhone X

How Secure Is The Face ID In iPhone X
The pre-orders have begun for the Apple’s new sensational mobile device called iPhone X. The latter becomes first Apple iDevice to use the concept of Face ID for unlocking the device. Owing to the absence of home button in this entirely new iPhone, the Touch ID has been replaced with the state-of-the-art Face ID. Although Apple claims its Face ID to be 10 times more secure and advanced than the conventional Touch ID, we’ll soon enough find out if it’s really worth the saying.

One thing we can say for sure that the Face ID in iPhone X is definitely far more superior than that of Samsung Galaxy S8 and S8 Plus which could be unlocked just by showing a picture of the subject to phone camera. One thing that makes the iPhone X Face ID out of the ordinary is the use of neural engine introduced in the A11 Bionic chip which examines every minute detail of a person’s face. Let’s see how the Face ID contrasts with Touch ID in terms of user privacy and security.

Face ID vs Touch ID
Touch ID is a highly successful unlock method that has been protecting a fleet of Apple iDevices for quite some time now. Even the new iPhone 8 and 8 Plus are protected by this cutting-edge technology. But what Apple’s take on that is, “if Touch ID is smart, Face ID is smarter.” Comparing it with the Touch ID, Apple states that the probability of a random person to unlock the device using Touch ID is one in 50,000 while in case of the all new Face ID, it is one in a million.

But as it turns out, it would be too early to say anything until we have the X devices on shelves. Not to forget, the Face ID failed twice during the very first attempts to unlock the device at the Keynote Event which definitely not a good sign.

How Face ID Works?
The Face ID in iPhone X is backed by the TrueDepth camera with a dot projector that projects and reads over 30,000 invisible dots on your face to create a depth map of the face along with a 2D infrared image. The details captured by the camera are further processed and are used to create a sequence of 2D images and depth maps. This data is then passed on to the Secure Enclave of the A11 Bionic chip’s neural engine which in turn converts this data into mathematical expressions. The results are compared with the enrolled facial data that is saved in form of a mathematical representation inside the neural engine of the A11 bionic chip. If the data matches, the phone grants permission to the user to access its contents. Otherwise, it asks for the pass key to unlock the device.

Monday, October 2, 2017

Understanding the effect of Dwell Time on SEO

Being a smart seo isn't just about geeking out on technical info. increasingly, search engine optimization is less of a technology and more of an artwork — the art of expertise your users and delivering precisely the sort of content they want and want.

Understanding the Influence of Dwell Time on SEO.jpg

In this text, I will  talk about dwell time, that's a crucial, but regularly overlooked aspect of search optimization. dwell time is a user-based totally metric that Google uses to decide how to rank your web site on SERP's . In case you need to be succeeded in the search engines like google, you’ve to prevail with dwell time.

What's Dwell Time?
First, I’ll come up with the definition of it, then I’ll explain how I arrived at this definition.

Definition of Dwell Time
Dwell time is a metric that calculates person engagement, session duration, and SERP CTRs. It's a factor that is not available publically, but is however a aspect that impacts a website’s search engine outcomes.

 
The three components of Dwell Time:

  • session length
  • bounce rate
  • Click-through rate (CTR) on the search engine results page (SERP)

How Does Dwell Time affect SEO?

Now, let’s find out how all of the above mentioned factors influences seo.

“The two User Metrics That Are Important for seo.” these  metrics that be counted are 1) SERP CTR and 2) dwell Time.

Dwell time most surely affects search engine optimization. If a consumer is spending time on a domain, interacting with it, not bouncing, and going deeper within the content material, it’s evident there's something of great value at the website for that precise user. As this happens, search engine optimization improves.

SERP CTR and dwell time converge within the nexus of seo for this reason. A CTR isn't  an correct presentation of user behavior. excessive CTRs can simply mirror a scorching name or an attractive meta description. CTR isn't always an indication of the quality of the content material at the page itself.

The lowest line on dwell time and seo is this: What matters is better the dwell time , better will the SEO

What's an Ideal Dwell Time?
Since It is composed of both session duration and bounce rate, we can use these  metrics to find out what exactly it is.

The concept is not that easy to come up with the dwell time . To make it understood I will simply it and subdivide the dwell time in my own easy terms.

I’m going to interrupt the question down into  sub-questions:  1) What is a superb session duration? and 2) What is a good bounce rate? Taken collectively, the answers to these two questions will help us to understand what a really perfect dwell time looks as if.

What is an appropriate session duration?
The appropriate session duration varies in line with industries. Complicating the issue is the reality that the session duration  also varies in line with key-word, device used, etc.

Famous search engine Google interprets session duration less than two min. to be undesirable. some thing over two minutes is good. some thing below two minutes is bad. A much less-than-minute session length isn’t going to be the downfall of your website. however, it’s right to have a benchmark to set goal on your site’s session period.

 
What is a good  bounce rate?