Monday 23 October 2017

Difference between CSS transition and CSS animation.

What are Transitions?

A transition occurs when an element changes from one state to another, and the browser fills in that state change with a sequence of in-between frames. It has a beginning and an end state.
We most often see transitions used on hover states, or when information on a page is added or removed. The hover states might be a subtle change in font color, and information on the page might fade from invisible to visible.
Since transitions are limited to these two stages, they can lack the nuance of animations but at the same time be easier to use.
When to use them
If you want to change an element from one state to another smoothly, a transition is a good choice. Simple changes can usually be handled with transitions and timing functions can be used to customize the way the transition occurs.


What are Animations?
CSS Animations are a more powerful alternative to transitions. Rather than rely on a change from one beginning state to an end state, animations can be made up of as many in-between states as you like, and offer more control over how the states are animated.
Where a transition only goes from A to B, an animation can go from A, B, C to D. Or any number of stages as needed.
Animations achieve this by using sets of keyframes. Where a transition can be specified with one line in the class, an animation works by referencing a set of keyframes that are described separately in the CSS.
When to use them
If an animation needs to run when the page loads, or is more complex than a simple A to B state change, a CSS animation might be more appropriate.
Examples of this might be if you want to have an animation on the page that plays after a certain amount of time, like this blinking effect on Baymax character.


In summary

Transitions for creating a smooth transition from one state to another, and animations for more complex series of movements.
Transitions are generally easier to create and manage and apply to the majority of situations. If you need more control over animating an element through a series of steps, or if the animation needs to begin on load, then an animation with keyframes might be the better choice.
In summary
Transitions for creating a smooth transition from one state to another, and animations for more complex series of movements.
Transitions are generally easier to create and manage and apply to the majority of situations. If you need more control over animating an element through a series of steps, or if the animation needs to begin on load, then an animation with keyframes might be the better choice.

Sunday 22 October 2017

10 Common Software Architectural Patterns in a nutshell

Ever wondered how large enterprise scale systems are designed? Before major software development starts, we have to choose a suitable architecture that will provide us with the desired functionality and quality attributes. Hence, we should understand different architectures, before applying them to our design.


What is an Architectural Pattern?
According to Wikipedia,

An architectural pattern is a general, reusable solution to a commonly occurring problem in software architecture within a given context. Architectural patterns are similar to software design pattern but have a broader scope.

In this article, It briefly explaining the following 10 common architectural patterns with their usage, pros, and cons.
  1. Layered pattern
  2. Client-server pattern
  3. Master-slave pattern
  4. Pipe-filter pattern
  5. Broker pattern
  6. Peer-to-peer pattern
  7. Event-bus pattern
  8. Model-view-controller pattern
  9. Blackboard pattern
  10. Interpreter pattern 


1. Layered pattern
This pattern is also known as n-tier architecture pattern. It can be used to structure programs that can be decomposed into groups of subtasks, each of which is at a particular level of abstraction. Each layer provides services to the next higher layer.
The most commonly found 4 layers of a general information system are as follows.
  • Presentation layer (also known as UI layer)
  • Application layer (also known as service layer)
  • Business logic layer (also known as domain layer)
  • Data access layer (also known as persistence layer)
Usage
  • General desktop applications.
  • E-commerce web applications.
   


2. Client-server pattern
This pattern consists of two parties; a server and multiple clients. The server component will provide services to multiple client components. Clients request services from the server and the server provides relevant services to those clients. Furthermore, the server continues to listen to client requests.
Usage
  • Online applications such as email, document sharing, and banking.

3. Master-slave pattern
This pattern consists of two parties; master and slaves. The master component distributes the work among identical slave components and computes a final result from the results which the slaves return.
Usage
  • In database replication, the master database is regarded as the authoritative source, and the slave databases are synchronized to it.
  • Peripherals connected to a bus in a computer system (master and slave drives).


4. Pipe-filter pattern
This pattern can be used to structure systems which produce and process a stream of data. Each processing step is enclosed within a filter component. Data to be processed is passed through pipes. These pipes can be used for buffering or for synchronization purposes.
Usage
  • Compilers. The consecutive filters perform lexical analysis, parsing, semantic analysis, and code generation.
  • Workflows in bioinformatics.


5. Broker pattern
This pattern is used to structure distributed systems with decoupled components. These components can interact with each other by remote service invocations. A broker component is responsible for the coordination of communication among components.
Servers publish their capabilities (services and characteristics) to a broker. Clients request a service from the broker, and the broker then redirects the client to a suitable service from its registry.
Usage
  • Message broker software such as Apache ActiveMQ, Apache Kafka, RabbitMQ and JBoss Messaging.


6. Peer-to-peer pattern
In this pattern, individual components are known as peers. Peers may function both as a client, requesting services from other peers, and as a server, providing services to other peers. A peer may act as a client or as a server or as both, and it can change its role dynamically with time.
Usage
  • File-sharing networks such as Gnutella and G2)
  • Multimedia protocols such as P2PTV and PDTP.
  • Proprietary multimedia applications such as Spotify.
7. Event-bus pattern
This pattern primarily deals with events and has 4 major components; event source, event listener, channel and event bus. Sources publish messages to particular channels on an event bus. Listeners subscribe to particular channels. Listeners are notified of messages that are published to a channel to which they have subscribed before.
Usage
  • Android development
  • Notification services

8. Model-view-controller pattern

This pattern, also known as MVC pattern, divides an interactive application into 3 parts as,
model — contains the core functionality and data
view — displays the information to the user (more than one view may be defined)
controller — handles the input from the user
This is done to separate internal representations of information from the ways information is presented to, and accepted from, the user. It decouples components and allows efficient code reuse.
Usage
  • Architecture for World Wide Web applications in major programming languages.
  • Web frameworks such as Django and Rails.



9. Blackboard pattern
This pattern is useful for problems for which no deterministic solution strategies are known. The blackboard pattern consists of 3 main components.
blackboard — a structured global memory containing objects from the solution space
knowledge source — specialized modules with their own representation
control component — selects, configures and executes modules.
All the components have access to the blackboard. Components may produce new data objects that are added to the blackboard. Components look for particular kinds of data on the blackboard and may find these by pattern matching with the existing knowledge source.
Usage
  • Speech recognition
  • Vehicle identification and tracking
  • Protein structure identification
  • Sonar signals interpretation.

10. Interpreter pattern
This pattern is used for designing a component that interprets programs written in a dedicated language. It mainly specifies how to evaluate lines of programs, known as sentences or expressions written in a particular language. The basic idea is to have a class for each symbol of the language.
Usage
  • Database query languages such as SQL.
  • Languages used to describe communication protocols.


Comparison of Architectural Patterns
The table given below summarizes the pros and cons of each architectural pattern.

(click on image to enlarge)

Saturday 14 October 2017

9 Interesting facts about Python Programming language

1.There is actually a poem written by Tim Peters named as THE ZEN OF PYTHON which can be read by just writing "import this" in the interpreter.


2.One can use an “else” clause with a “for” loop in Python. It’s a special type of syntax that executes only if the for loop exits naturally, without any break statements.



3.In Python, everything is done by reference. It doesn’t support pointers.

4.Function Argument Unpacking is another awesome feature of Python. One can unpack a list or a dictionary as function arguments using * and ** respectively. This is commonly known as the Splat operator. Example here



5.Want to find the index inside a for loop? Wrap an iterable with ‘enumerate’ and it will yield the item along with its index. See this code snippet



6.One can chain comparison operators in Python answer= 1<x<10 is executable in Python. More examples here



7.We can’t define Infinities right? But wait! Not for Python. See this amazing example


8.Instead of building a list with a loop, one can build it more concisely with a list comprehension. See this code for more understanding.

9. Finally, Python’s special Slice Operator. It is a way to get items from lists, as well as change them. See this code snippet



Tuesday 10 October 2017

Mi Redmi 4 (Gold, 64GB)

Mi Redmi 4 (Gold, 64GB)



                                                        Buy here



Technical Details
OS:             Android
RAM:             4 GB
Item Weight:     150 g
Product Dimensions: 13.9 x 0.9 x 7 cm
Batteries:     1 Lithium ion batteries required. (included)
Item model number:  Redmi 4
Wireless communication technologies: Bluetooth, WiFi Hotspot
Connectivity technologies 2G, 3G, 4G LTE, WiFi 802.11 b/g/n
Special features Dual SIM, GPS, Music Player, Video Player, FM Radio, Gyroscope, Infrared, Proximity, Accelerometer, Ambient light sensor, E-mail

Other camera features: 5MP
Form factor:            Touchscreen Phone
Weight:          150 Grams
Colour:            Gold
Battery Power Rating: 4100
Phone Standby Time (with data): 432 Hours
Whats in the box:               Handset, Adapter, USB Cable, Warranty Card, User Guide and SIM Insertion Tool

Thursday 28 September 2017

Bill Gates uses an Android phone now.

Microsoft founder and former CEO Bill Gates recently said he switched from using a Windows phone to one that runs Android.

"Recently, I actually did switch to an Android phone with a lot of Microsoft software," Gates said while speaking on a Fox News segment where he talked about his relationship with Steve Jobs. Gates didn't say which Android phone he's using.
Microsoft's Windows Phone operating system launched several years ago and was the company's attempt to take on iOS and Android. It floundered after several missteps, notably a lack of support from the developer community and Microsoft's botched acquisition of Nokia.
Gates said he still doesn't use an Apple iPhone. "No, no iPhone," he said.

Tuesday 26 September 2017

13. Benefits of Digital Marketing

Here are 13 advantages of digital marketing that will surely help you make the right decision for your business.

(1) Strategize with The Valuable Data and Analytics

With digital marketing, you can have an idea of the exact number of people who have viewed your website’s homepage in real time.
With google analytics, you can track stats and information about your marketing website. It will let you know about –
  • The Number Of People Visiting Your Business Page.
  • Their Geographic Location.
  • The Sex, Age, And Interests Of The Visitors.
  • How Much Time They Are Spending On Your Site.
  • The Source Of Traffic From Various Gadgets.
  • Website Bounce Rates.
  • How The Traffic Has Changed Over Time.
By displaying a breakdown of all of this traffic information, this intelligence helps you to prioritize the marketing channels.
Mind-blowing, isn’t it?
The real-time data analysis provides you with a better understanding of the effectiveness of your marketing tactics. With access to this information, you can also optimize your marketing budget by investing in the well-performing marketing campaigns.

(2) Content Performance and Lead Generation

Imagine you’ve created a product brochure and delivered it to people as an offline content.
Does it seem to be convenient enough?
The problem is that you have no idea how many people have gone through that or, in the worst scenarios, how many people threw it into the trash!
Once you create an impactful visual content, start promoting it on social media. Through such networks, buyers would be able to learn about products and services through influencers and peers.
The more engagement you get, the more Google considers your content to be worthy. And in turn, it will boost your SEO rankings with ease.
Through digital marketing, you can measure exactly how many people viewed your marketing content. Thereafter, you can collect the contact details of those who download it by using forms. Additionally, you’re also generating qualified leads when people download it. With a solid lead nurturing strategy, you can build better awareness and affinity for your brand.

(3) Improved Conversion Rates

Converting a customer online is not a big deal. All you need to do is just make your marketing strategy an engaging one.
Targeted traffic offers bigger chances for conversion. Unlike other types of advertising, digital marketing lets you have a two-way conversation with customers and leads.
Through digital marketing, you can reach out to your customers at any time. Instead of bothering them with multiple phone calls, reaching customers online seems to be a better idea. Just send an email and let them make a purchase and learn more about your organization. From such interactions, important leads can be generated, which would eventually bring an increase in conversion rates.

(4) More Cost Effective Than Traditional Marketing

Digital marketing lets you save your money to a substantial extent. This has the potential to replace costly advertising channels such as television, radio, and yellow pages.
With email marketing automation, you can boost your leads. Thus, it will allow you to pre-load content and schedule it for sending out the content at key times.\


(5) Higher Revenues


It’s a well-known fact that higher conversion rates can be generated by effective digital marketing techniques.  Hence, it will deliver loads of profitable benefits for your business in terms of better and higher revenues.
While advertising your brand:
  • have a good layout that enables easy navigation
  • use the digital platform to understand customer purchase patterns
  • offer the right idea that meets the needs of your customers
  • use multiple digital marketing channels to gather useful data
With better revenue growth expectancy, small and medium enterprises will have better chances of expanding their workforce.


(6) Higher ROI from Your Campaigns

Digital marketing companies optimize conversion rates to achieve maximum Return on Investment (ROI) for businesses. With smarter branding and better revenues, digital marketing can fetch a better ROI than traditional marketing.
With effective tracking and monitoring methods, results can be analyzed. It helps the organizations to take necessary measures as soon as possible.
With digital marketing, you can generate a steady flow of targeted traffic that gets converted into sales and leads. And, the more your business generates this kind of traffic, the faster you can enjoy your ROI.

(7) Compete with Large Corporations

Does digital marketing sound as foreign as binary code to you?
Don’t worry if you are dealing even with a small industry.
The importance of digital marketing also lies in the fact that it lets you compete for head to head with big brands and large corporations.
From a small vendor to a large powerhouse, digital marketing offers an affordable and effective marketing tactics. Small brands can drive traffic both locally and across the country by reaching out to their target consumers.

(8) Get Prepared for the “Internet of Things”

The “Internet of Things” is a global ecosystem of interconnected devices – smartphones, tablets and several other gadgets. These can help people interact with each other through the world of web.
Digital marketing will prepare your business towards this eventuality. It will permeate through every aspect of people’s lives.
Your business survival strategy needs to be equipped with this interconnected grid. It will provide you an access window to reach out to targeted audience belonging to this online grid.

(9) Earn People’s Trust and Build Brand Reputation

Digital Marketing leverages on social media signals, social proof and testimonials availed from bonafide consumers. The more reliable these social signals are, the higher the trust rate it can generate from targeted audiences.
People would trust information about a particular brand if the data comes from people they know.
And once you meet their expectations, your brand reputation will go viral. Eventually, it will open new doors of opportunities for reaching bigger markets.

(10) Ensure Online Business Survival

Many people may come and go, but a targeted few will actually make a purchase. If you can target the right kind of people who are going to be your potential customers, the best results will surely come.
By implementing smart tactics, like blogging and social media, you can communicate with the target audience. It will help you gain valuable feedback and insights. With these, you can strategize and ensure the survival of your business.

(11) Know All About Your Competitors

As they say – “Keep your friends close and your enemies closer.”
Social media competitive analysis is an integral part of your digital marketing campaign.
When you are engaging in digital marketing, you can ask the experts to look into your competitor’s online strategies. It will help you to capitalize on any possible opportunities in no time. You can see what they are doing to gain an upper hand and reach more consumers.
Thus, you can figure out marketing opportunities and gain a strong competitive advantage.

(12) Real-Time Results

Unlike traditional methods, you can see in real time what’s working and what’s not for your online business.
Through online marketing, you can know about:
  • The number of visitors to your site
  • The increase in the number of its subscribers
  • peak trading times
  • conversion rates
  • Increase/drop in website traffic
  • bounce rate
and much more!
And this can be done just with the touch of a button.
Such results can give you a thorough idea through which you can choose necessary steps to improve your results.

(13) Improve Your Outreach

Since digital marketing takes place online, it is accessible to the global audience.
Whereas traditional marketing limits you to a particular geographic area, its modern counterpart can help you interact with the customers quite easily.
On the other hand, it seems like having your storefront open all day long. And with digital marketing specialists, you can respond to posts promptly on your platforms.
It doesn’t take long for gaining publicity to enhance the prospects and enjoy the benefits of digital marketing for your business at its best.
If you’re not yet utilizing the power of digital marketing for your business, you are missing a lot of golden opportunities.
Your prospective customers are waiting for you in the digital world.
Now that you know how digital marketing can help your business, make the move without any delay.


Monday 25 September 2017

What is new in Java 9?

Java 9 is the evolutionary upgrade over its previous version 8 ( including every procedural update ). It's not like a major “groundbreaking” update like 7th but if you could use the “linking of the modules” then it's good for you.Here is some information about it (Java Platform, Standard Edition ) and you can dig out some more use out of this update.
Java 9 has several changes and it would be an extremely long answer if I were to list all of them.

However, there are some changes, which will impact how you program in Java 9. I list some of them below. However, the description will generally be short, as you can research most of them if you want.

1.The Process API changes

If you’ve ever tried accessing native processes running on the system, you’d probably know that Java didn’t use to be good at this. You would have to resort to C++ or C to manage the processes. With Java 9, you’d hardly ever use native code to manage processes.

2.Support for HTTP/2

With this, we finally let go of the legacy class Http URLConnection. It had several problems, however, the one which troubled the most was that used outdated technology based on protocols like FTP and gopher which are no longer in use.

3.Better Stack Traces

Nothing much to say here, just that it is a lot more organized than before. Also, you have the new StackWalker class, with which you can navigate your stack traces through the code, without String Manipulations.

4.Better Javadocs

This is one of my favorites. The Javadocs finally get a search bar, that means I don’t have to use Google to visit the documentation of the class.

5.Supports Unicode 8

Unicode 7 is the latest version of Unicode.

6.Modularity

This can’t be explained very simply, to be honest. It basically “divides the JDK into a set of modules that can be combined at compile time, build time, and run time into a variety of configurations”. To be honest, even I don’t understand it completely.

7.Better String Concatenations

Right now, if you do something like ”A” + “B”, in the bytecode, you have a StringBuffer. While this is a good option, it still has performance issues. Java 9 attempts to fix that.

8.JShell

This is what got most of us excited. No need to make classes, typing code directly into the command prompt. Java has finally got REPL.

9.Compile time improvements

Classes will tend to compile a lot quicker.

10.Javafx improvements

I haven’t actually tried this yet, but several UI Controls and the CSS API have seen a major upgrade.

11.Applets are finally depreciated

This made me happy the most. Finally can schools stop teaching something which has absolutely no future.

12.Parser API for Nashorn

Self explanatory.

13.Compact Strings

“Improve the space efficiency of the String class and related classes while maintaining performance in most scenarios and preserving full compatibility for all related Java and native interfaces.”

14.Project Coin

You can longer use only `_` as a variable name. This used to give a warning in Java 8, but generates an error in Java 9

Top 10 Programming Languages in 2017

Programming is something vast and rather individual as each developer chooses tools that are most convenient for them. However, certain languages, platforms, and frameworks have claimed themselves as one of the easiest and most efficient to use. Thus we have collected for you top-10 programming languages loved by developers nowadays. Which one is your favorite?

1.Python

Python is a dynamic and general-purpose language that emphasizes code readability and enables developers to use fewer lines of code (in comparison with Java or C++).

                         
It supports multiple programming paradigms and has a large standard library.
Developers love this language for clear syntax, good OOP support and great shortcuts.


2.C

C is a general-purpose imperative language that supports structured programming, recursion, and lexical variable scope. It is designed to encourage cross-platform programming and is available on many platforms.


This language is valued for being clear, providing access to hardware and making it possible to create tiny binaries.


3. Java


Java is one the leading choices among developers all over the world. This language is object-oriented and class-based and follows the “WORA” principle: write once, run anywhere.


People love Java for its concurrency (comparing it to be better than Python, for example), great variety of libraries and steadily good performance. The community is huge as well, meaning Java fans can always get a lot of support.

4.C++

This language is compiled, imperative and program-oriented and allows low-level memory manipulation. C++ influenced a number of other languages, such as C# or Java and is used for a variety of purposes.

Its key features that make it stand out are strong, static type system (making it possible to catch more errors within a compile time), ability to use it in a few programming styles, good performance, and expressiveness.


5.C#

C Sharp has seen an increase in popularity over the last year. It is an object-oriented and multi-paradigm language that encompasses many disciplines. C# was developed by Microsoft and is designated for the Common Language Infrastructure.


Though it is not so widespread as Java or Python, C# has its fans who appreciate the lack of headers, macros and templates, the presence of LINQ and anonymous types.


6.R

This is an open source language for statistical computing and it is very popular among data miners and statisticians. This language is a GNU package.


The R pros include its package ecosystem and its vastness and all the charting benefits.

7. JavaScript

JS is an object-based and dynamic language and is one of the core technologies of WWW content production. Even though some people tend to think Java and JS are the same (or at least, very similar) languages, JavaScript was influenced mostly by Self and Scheme.





JavaScript is seeing a rise in popularity and is included in hottest web development trends for the year 2017.

8. PHP

It’s a server-side and general-purpose language designed for web development. PHP is considered rather easy to learn and is often chosen by junior developers.

As well developers love that it’s portable, has a lot of high-quality solutions for an array of web problems and has a lot of frameworks.

9.Go

Go was created at Google and is an open-source language. It’s compiled and has such features as garbage collection, memory safety and limited structural typing.

It is really a good choice if you work with network applications and web servers. Go also consistently behaves across platforms, which is also a good feature.

10.Swift


Swift is a multi-paradigm language developed by Apple and is one of the top choices among iOS developers. It supports such concepts as late binding, extensible programming and dynamic dispatch.

Even though Swift is a relatively new language, it also saw rise in popularity in 2017 and overall looks quite promising.

Sunday 24 September 2017

Few Facts About Stephen Hawking

Stephen Hawking is one of the most famous scientists of modern times. Despite his challenging physical impairments, he has contributed much to the world of science, helping spread his ideas to the general public with the release of accessible books such as ‘A Brief History of Time’. Read on for interesting facts, quotes, and information about Stephen Hawking.



1.Stephen Hawking is a British theoretical physicist, he was born on January the 8th, 1942.

2.Hawking has made many important contributions to the fields of cosmology and quantum gravity. He is also well known for his bestselling book ‘A Brief History of Time’.

3.Helped by the success of his book ‘A Brief History of Time’, Hawking has released other books aimed at making his work accessible to a wide range of people, these include ‘The Universe in a Nutshell’, ‘A Briefer History of Time’ and ‘George's Secret Key to the Universe’, a children’s book with a strong focus on science.

4.Hawking has worked extensively on the subject of black holes, providing theories for their behavior, including the idea that they emit radiation.

5Hawking suffers from amyotrophic lateral sclerosis, a type of motor neuron disease that has left him almost completely paralyzed.

6.Some of the awards Hawking has received for his work include the 1979 Albert Einstein Medal, the Order of the British Empire (Commander) in 1982 and the 1988 Wolf Prize in Physics.

7.Famous Stephen Hawking quotes include: “There ought to be something very special about the boundary conditions of the universe and what can be more special than that there is no boundary?”

8.“I don't believe that the ultimate theory will come by steady work along existing lines. We need something new. We can't predict what that will be or when we will find it because if we knew that, we would have found it already!”

9.“For millions of years, mankind lived just like the animals. Then something happened which unleashed the power of our imagination. We learned to talk and we learned to listen.”

10.“It is a waste of time to be angry about my disability. One has to get on with life and I haven't done badly. People won't have time for you if you are always angry or complaining.”

11.“I don't think the human race will survive the next thousand years, unless we spread into space. There are too many accidents that can befall life on a single planet. But I'm an optimist. We will reach out to the stars.”

Friday 22 September 2017

8 books that famous CEOs loved reading.

The CEO of a Fortune 500 company or successful startup can pick up a book while spearheading projects, building new businesses, and managing an entire team, there's no excuse for any of us not to read.
Some powerhouses like the classics, others enjoy reading inspirational career books, and one notable businessman even has a penchant for spy novels. See the titles Bill Gates, Jeff Bezos, Elon Musk, and more call their favorites:

1.Jeff Bezos: "The Remains of the Day"
Amazon's CEO learns more from fiction than non-fiction, and this novel about a butler in post-war England is one of his favorites.
The Microsoft co-founder has loved J.D. Salinger's "classic tome since he was a teenager. "I didn't actually read 'Catcher in the Rye' until I was 13, and ever since then I've said that's my favorite book," he told the Academy of Achievement. "It's very clever."
 "The Innovator's Dilemma" is a book that deeply influenced Steve Jobs, one of the world's most respected entrepreneurs, so it's well worth your time, too. One of the more controversial business books on the market, it's received rave reviews from the Wall Street Journal, New York Times, and Business Week.
Apple's CEO reportedly hands out copies of "Competing Against Time" to his colleagues and new employees. Even if you don't work at Apple, this book's heavy emphasis on working efficiently can help you streamline your day-to-day and advance your career forward.

 Facebook's CEO highlighted 23 books in his recent "A Year of Books" reading list, which featured "Portfolios of the Poor: How the World's Poor Live on $2 a Day" by Daryl Collins, Jonathan Morduch, Stuart Rutherford, and Orlanda Ruthven.
Elon Musk is the brains behind big companies, like SpaceX and Tesla Motors, so it's no surprise he likes reading about another successful multitasker, Benjamin Franklin. This book chronicles this Founding Father's life as a writer, inventor, scientist, and diplomat, among other roles.

A positive company culture is integral to any successful business. SoulCycle CEO Melanie Whelan was so moved by Shawn Achor "The Happiness Advantage" that she once said it's a resource for her entire company.
PepsiCo's CEO called David Brooks' "The Road to Character" one of the most influential books she read last year. "It sparked a wonderful discussion with my two daughters about why building inner character is just as important as building a career," Nooyi told Fortune.


A.I. will be the best or worst thing ever for humanity -Book by " ELON MUSK"

Elon Musk is warning — yet again — about the potential power of artificial intelligence.

"AI will be the best or worst thing ever for humanity," says the billionaire entrepreneur via Twitter.

He also recommends a book on the subject: "Life 3.0: Being Human in the Age of Artificial Intelligence" by MIT professor Max Tegmark. Musk says the book is "worth reading."





                                                        


The book gives insight into a future with artificial intelligence that Musk has been warning the world about.

Musk says that AI poses "vastly more risk than North Korea," according to a comment made in August.

He calls artificial intelligence a "fundamental risk to the existence of human civilization," speaking to a gathering of governors in July.

Musk also supports government regulation of artificial intelligence, saying the government should be "proactive in regulation," not reactive.

Friday 17 March 2017

first python program

in previous slides we saw about python .Now we move toward the programing.
so our first program is "Hello World"

first of all open python IDLE


print:-print command is use to show the message or value on the screen.
          ( ):-  any message/s or assigned value must be written in the parenthesis.
        " ..." /'..' whatever is written in the ".."/'..' will going to display as it is.


  # :- This is use for comment.This is used by users for their convenience.Comment will not execute and ignore by the interpreter .



Sunday 1 January 2017