Technical

ReactJS/Redux Exception – Uncaught TypeError: Cannot read property ‘type’ of undefined

ReactJS/Redux Exception – Uncaught TypeError: Cannot read property ‘type’ of undefined

This issue might occur in many cases but one case which is hard to troubleshoot and debug is as given below. The typical call stack looks as follows for the exception

Uncaught TypeError: Cannot read property 'type' of undefined
at bundle.js:64518
    at bundle.js:64518
    at Array.forEach (<anonymous>)
    at x (bundle.js:64518)

One can make out nothing from the call stack, it looks meaningless. Hence the debugging will be tedious job in ReactJS . 

Solution for the above exception

check whether return statement with dispatch is missing in your redux action method.

  return (function (dispatch) {

  });

Your action should have return statement as shown above.

More Read About ReactJS:

Glimpse Of Intel AI & HPC Summit : Application’s Of Artificial Intelligence – Part 3

Glimpse Of Intel AI & HPC Summit : Application’s Of Artificial Intelligence – Part 3

Read my previous article Part 2

Intel demonstrated some of the great applications of Artificial Intelligence where Intel’s hardwares and softwares out performing to solve complex problems in realtime using AI. Intel is working with many customers to solve their complex problems. 

Application’s Of Artificial Intelligence

1. Tumour detection in large 3-D medical images

Identifying tumour from huge medical images is yet another complex problems, today we have algorithms which does this job better than doctors.

2. Disease Risk Prediction Using Genetic Variation Data

3. Classification and predictions of protein sequences

4. Intelligent Knowledge Management 

This is another interesting application where, the algorithms analyse the huge set of documents and help the management to answer for complex queries.

5. Oil Rig Inspector Assist System

This is a very complex problem, identifying corrosion on nut-bolts under deep sea water is a complex problem solve for oil mining industries. Currently it is a manual process, where video cameras are fixed in oil rig systems and several hundred people will manually go through thousands of frames of videos manually and identify the corrosion on nut-bolts.

Now Intel is working with such industries to automate the process by analysing the video frames. thousands of video frames will be analysed in just few hours. The algorithms are capable of identifying the corrosion with great precision.

6. Self driving Cars and Car automation

BMW CARASSO is the system based on ai, the company is using to collect data from several sensors to debug their hard systems and to achieve the quality in their product. Company is using this system only for their internal quality improvements and to understand the roads and behaviour of the cars.

Intel has lot of open source code base which can be used for many such applications, kindly see the source code of Intel’s Nervana in Github

Glimpse Of Intel AI & HPC Summit : Intel’s Vision For Artificial Intelligence Part 2

Glimpse Of Intel AI & HPC Summit : Intel’s Vision For Artificial Intelligence Part 2

Kindly read part 1 of this article .The next biggest step taken by Intel is bringing out Intel Xeon Platinum processor. This will bring a transformation in cloud computing, there are multiple benefits we gain from Xeon processors as given below.

Benefits Of Intel Xeon Processors:

Breakthrough Performance of Intel Xeon Platinum

Intel Xeon Breakthrough Performance

Intel Xeon Breakthrough Performance

Along with this Intel is addressing several issues to bring the speed in computing – the biggest problem in computing is the waiting time of the processor due to slow response of hard drives. Hard drives are very slower compared to processors and hence processors always waste their time to wait for hard drives.

Intel addressing the waiting time of processors through Intel’s 3D NAND technology and Intel OPTANE technology, through these technology we can bring highly responsive applications, highly responsive cloud storage.

Read More About Applications of AI: glimpse-of-intel-ai-hpc-summit-applications-of-artificial-intelligence-part-3

Glimpse Of Intel AI & HPC Summit : Intel’s Vision For Artificial Intelligence Part 1

Glimpse Of Intel AI & HPC Summit : Intel’s Vision For Artificial Intelligence

Thought of writing highlights of Intel AI & HPC Summit held in Bengaluru on 9Mar2018, The event was superb What is AI, What is current state of AI, What is future of AI. Now the whole world is talking a lot about AI , Artificial intelligence is transforming the industries, health care, transportation, education and our entire life style 🙂 There are lot of positive side of Artificial Intelligence but many people are afraid about the future, some even say Humanity may destroy either by natural disasters or by AI and some of the demos shown in yesterday’s summit also tend to think us in that way.

What is AI (Artificial Intelligence) ?

Well I do not give textbook definition for AI, because one google search on this topic will give you many definitions, here I would like to explain AI in simple way, humans are most intelligent animals on this planet, we invented machines to ease our life, we learn to manage and control the machines for our comfort, but that era is over, now we are onto a new transformation, machines are becoming smarter than humans, with no doubt one can say in future machines will control humans 🙂 thats all AI 

for your better understanding of AI, Intel defines as ” the key to machine intelligence is that it must be able to sense, reason, and act, then adapt based on experience.”

  • SenseIdentify and recognize meaningful objects or concepts in the midst of vast data. Is that a stoplight? Is it a tumor or normal tissue?
     
  • ReasonUnderstand the larger context, and make a plan to achieve a goal. If the goal is to avoid a collision, the car must calculate the likelihood of a crash based on vehicle behaviors, proximity, speed, and road conditions.
     
  • ActEither recommend or directly initiate the best course of action. Based on vehicle and traffic analysis, it may brake, accelerate, or prepare safety mechanisms.
     
  • AdaptFinally, we must be able to adapt algorithms at each phase based on experience, retraining them to be ever more intelligent. Autonomous vehicle algorithms should be re-trained to recognize more blind spots, factor new variables into the context, and adjust actions based on previous incidents.

What Does AI Look Today ?

 

 

What does AI look Today

What does AI look Today

 

Reference : How To Get Started as a Developer in AI

As per Prakash Mallya, Managing director – Sales and Marketing Group, Intel India Pvt Ltd, today the traffic due to ai, some stats shows as follows.

3000 GB per day from smart hospitals 

4000 GB per day from smart Cars

1, 000, 000 GB per day from connected factories

also 1 in 7 organisations adopting AI and the key sectors where AI is being adopted are,  BFSI (Banking Finance Services and Insurance) , Health care, Industries, Self driving cars etc. 

Intel’s Vision For AI

Intel is focusing on different aspects to emerge as leader in AI, it is not only building great products but it is creating the whole eco system to succeed in this AI era. Following are some of the key focus for Intel, which we can say building blocks for Artificial Intelligence

  1. Machine Learning

pcworld has detailed post about how Intel is mastering in machine learning through Intel’s Nervana, a Deep Learning Cloud and System. Nervana Cloud is a hosted platform designed to give organizations of all sizes the ability to quickly build and deploy deep-learning tools without having to invest in infrastructure equipment or a large team of experts. Based on neon, Nervana’s open-source deep-learning framework, the full-stack offering is optimized to handle complex machine-learning problems at scale

  2. Reasoning System

Another important building blog for AI is, reasoning system. Intel® Saffron™ uses human-like reasoning to find hidden patterns in data to enable confident decisions that deliver rapid return on investment (ROI).

  3. Computer Vision

Intel® Movidius™ VPUs drive the demanding workloads of  modern computer vision and AI applications at ultra-low power. By coupling highly parallel programmable compute with workload-specific hardware acceleration, and co-locating these components on a common intelligent memory fabric, Movidius achieves a unique balance of power efficiency and high performance. Movidius technology allows device makers to deploy deep neural network and computer vision applications in categories such as smartphones, drones, intelligent cameras and augmented reality devices.

  4. Depth Sensing

Intel® RealSense™ technology is fundamentally re-shaping the future of technology by equipping devices with the ability to see, understand, interact with, and learn from their environment.1 There are three products with depth perception technology that enable you to create new and innovative ways to connect with the world.

Read More : glimpse-of-intel-ai-hpc-summit-intels-vision-for-artificial-intelligence-part-2

Father Of Mass Market GPS : Sanjai Kohli

Father Of Mass Market GPS : Sanjai Kohli

You definitely might have used Google Maps, Whatsapp location sharing feature and any other location sharing mobile application, yeah definitely its a cool feature in smart phones and hence they are so called smart ? 🙂

but there is a man behind these popular GPS enabled devices who made it , Sanjai Kohli an Indian who worked on Mass Market GPS system, he is called as Father Of Mass Market GPS.

US Defense and Work on GPS

Sanjai started working in aerospace companies after completing his masters in US, during that time he was assigned a task where he suppose to add intelligence in bombs dropped from planes, in 1980’s 90 % of the bombs hit the unintended targets, Sanjai worked on a guided GPS systems, He and his team successfully completed the assigned task and all the US military weapons used the technology.

Sanjai Kohli

Sanjai Kohli

in 1993 GPS was being used in Tokyo to navigate in Cars, but because of many issues they never use to work properly, Sanjai started working on it and to make it commercialize. He setup a company SiRF by seeing the great opportunities, they reinvented the signal processing physics to reduce the cost and size.and increase power, resulting in tens of thousands of dollars of signal processing/communication equipment to reside in a single silicon chip. The chip was 200 times more capable than those used in the Japanese cars and was available at a fraction of the cost.” with SiRF. And the rest as they say is history. By 2006, 80% of GPS devices ran on SiRF chips. At its peak SiRF had a market capitalization of $3 billion.

With his great work, Kohli has been short-listed for the European Inventor Award (to be announced on April 28) instituted by the European Patent Office and the European Commission.

Sanjay Kohli has two patents

1. Multipath processing for GPS receivers  http://www.google.co.in/patents/US20030165186

ABSTRACT
A GPS receiver system determines the presence of trackable signals at code delays less than the prompt delay being tracked for a particular signal and changes the prompt delay to correspond to the smallest code delay having a trackable signal. Trackable signals at large code delays are multipath signals and may be separately tracked to aid in dead reckoning. The trackable signals at code delays not adjacent to the current tracked prompt delay may be tracked in the same channel as the prompt delay so that all satellite channels are continuously evaluated for multipath signals being tracked or a non-satellite specific channel may be used to sequentially step through the satellite signals to evaluate multipath on a satellite by satellite basis.
2. GPS Car navigation System https://www.google.com/patents/US6041280
ABSTRACT
A GPS car navigation system derives GPS position update information from motion of the car along the actual track. Turns along the track are detected when they actually occur and are compared with the predicted turns so that the time and position at the actual turn can be used to update the then current GPS derived position of the vehicle. Updating position information with actual turn data improves the accuracy of GPS navigation especially during single satellite navigation.

Sanjai Kohli – https://www.linkedin.com/in/sanjai-kohli-8a39baa

 

Read More About How Global Positioning Works

 

Innovative ideas on Internet Of Things(IOT)

How innovative ideas on Internet Of Things(IOT) Will change the future

This is an era of IOT, your applications, your gadgets and your vehicles are becoming smarter. Almost every tiniest device you own today is connected to cloud. Already several open source frameworks, operating systems, hardware devices have been evolved to support IOT, It is you who should have an idea and change the future by getting your idea into reality.

No doubt that IOT is gonna change our life style, Several big companies already working on big ideas, SAP is building up their team on IOT, google releasing an OS for IOT, apple already given a hint that they will focus on IOT.

IOT

IOT

No doubt that IOT is gonna change our life style, Several big companies already working on big ideas, SAP is building up their team on IOT, google releasing an OS for IOT, apple already given a hint that they will focus on IOT.

 

5 Innovative Ideas on IOT

5) Future of Transportation – IOT makes transportation better

The SMA research report estimates that by 2020, there will be 8 billion people on the planet and 50 billion connected items with 5 million apps. The opportunity this represents to create new ways to connect, and give consumers more tools to protect their homes and families, is staggering for all industry sectors, including travel.
There is a lot of room to innovate the travel agency – analyze every bit of data, what people like, how people spend time while they are waiting for the arrival of vehicle, what schedules people prefer where people roam within the airport every data matters to plan for any travel agency.
Travel_IOT

Travel_IOT

 A sensor device within the airplane can analyze what people would like to do? make necessary changes in the seating automatically, changes in food without even asking the person based on his past travel records.

Innovative ideas on Internet Of Things(IOT)

How innovative ideas on Internet Of Things(IOT) Will change the future

This is an era of IOT, your applications, your gadgets and your vehicles are becoming smarter. Almost every tiniest device you own today is connected to cloud. Already several open source frameworks, operating systems, hardware devices have been evolved to support IOT, It is you who should have an idea and change the future by getting your idea into reality.

No doubt that IOT is gonna change our life style, Several big companies already working on big ideas, SAP is building up their team on IOT, google releasing an OS for IOT, apple already given a hint that they will focus on IOT.

IOT

IOT

No doubt that IOT is gonna change our life style, Several big companies already working on big ideas, SAP is building up their team on IOT, google releasing an OS for IOT, apple already given a hint that they will focus on IOT.

5 Innovative Ideas on IOT

4) Make your kitchen smarter – The IOT Smarter Hotels

This is for big hotels and may not be suitable for your house, a huge data collected on how each dish will be prepared, how the time is being wasted and how the resources are being wasted, all these data helps you to organize everything very well make your hotel more profitable.

not only that based on the past records of the customer the hotel room will be automatically adjusted to specific room temperature and the coffee maker will automatically set to your favorite flavor. The smart display in hotel room will set your favorite tv shows and these all things happen even if you have not visited the same hotel before !

Smart_Hotels_IOT

Smart_Hotels_IOT

PREVIOUS                                                                                                                       NEXT

Innovative ideas on Internet Of Things(IOT)

How innovative ideas on Internet Of Things(IOT) Will change the future

This is an era of IOT, your applications, your gadgets and your vehicles are becoming smarter. Almost every tiniest device you own today is connected to cloud. Already several open source frameworks, operating systems, hardware devices have been evolved to support IOT, It is you who should have an idea and change the future by getting your idea into reality.

No doubt that IOT is gonna change our life style, Several big companies already working on big ideas, SAP is building up their team on IOT, google releasing an OS for IOT, apple already given a hint that they will focus on IOT.

IOT

IOT

So let me list out some cool IOT ideas which , these are surely pioneering ideas on Internet of Things. Now we shall call it as Internet Of Everything.

5 Innovative Ideas on IOT

3) Analyzing your Food habits and alerting you for dangerous health issues

Food_Sensor_IOT

Food_Sensor_IOT

Definitely if any such innovations happen which makes human life better is really appreciable, what if a sensor collects data on what you eat and collects data on all the changes happening to your body after every kind of food intake. Next time when you go for the same food, your smart phone alerts you about the dangerous health issues which may occur if you eat this food item regularly.

PREVIOUS                                                                                                                       NEXT

Innovative ideas on Internet Of Things(IOT)

How innovative ideas on Internet Of Things(IOT) Will change the future

This is an era of IOT, your applications, your gadgets and your vehicles are becoming smarter. Almost every tiniest device you own today is connected to cloud. Already several open source frameworks, operating systems, hardware devices have been evolved to support IOT, It is you who should have an idea and change the future by getting your idea into reality.

No doubt that IOT is gonna change our life style, Several big companies already working on big ideas, SAP is building up their team on IOT, google releasing an OS for IOT, apple already given a hint that they will focus on IOT.

IOT

IOT

So let me list out some cool IOT ideas which , these are surely pioneering ideas on Internet of Things. Now we shall call it as Internet Of Everything.

5 Innovative Ideas on IOT

2) A decisive solution for courts

hearings in court, managing huge set of data of all kind, referring to exact similar cases for giving better decision were all very complex tasks and always a challenging tasks for judges to declare a very accurate decision on any case. Technology has evolved so much that any complicated problem will be solved at a very less period of time.

How an IOT may help to improve the process of courts and how it helps judges and lawyers?

Every courtroom is connected to the cloud with the help of cameras and sound recording systems. Everything will be recorded and automatically converted to transcript. the converted transcript will be analyzed and compared with several similar cases and necessary data and suggestions will be given to judges to finalize the decision.

 

Court and IOT

Court and IOT

PREVIOUS                                                                                                                           NEXT

Innovative ideas on Internet Of Things(IOT)

How innovative ideas on Internet Of Things(IOT) Will change the future

This is an era of IOT, your applications, your gadgets and your vehicles are becoming smarter. Almost every tiniest device you own today is connected to cloud. Already several open source frameworks, operating systems, hardware devices have been evolved to support IOT, It is you who should have an idea and change the future by getting your idea into reality.

No doubt that IOT is gonna change our life style, Several big companies already working on big ideas, SAP is building up their team on IOT, google releasing an OS for IOT, apple already given a hint that they will focus on IOT.

IOT

IOT

So let me list out some cool IOT ideas which , these are surely pioneering ideas on Internet of Things. Now we shall call it as Internet Of Everything.

5 Innovative Ideas on Internet Of Things(IOT)

  1. An eco system that helps to adopt your daily life as per the need.

    Assume that you are very busy person, who is handling a so many things every day, you are traveling daily several places, you are almost forgetting yourself.

You may forget to drink enough water, you may forget to nap for a while, you were continuously sitting in an air condition room and keeping yourself away from natural air and sun light, you are driving you car every day and might miss some important meetings due to traffic but you could have made it, if you go by your bike.

a) Assume that your shirt has a sensor which will sense your body temperature and collects data every minute. Based on the data collected your smart phone suggest you when to drink water and how much to drink.

Your vehicle air conditioning system automatically adjusts the temperature by considering your current body temperature.

Car_Air_condition_IOT

Car_Air_condition_IOT

Car_Temperature_Sensors_IOT

b)  The sensor in your shirt collected enough data and suggests you, whether to use Car or Bike, when your body is too much exposed to air conditioning rooms and car, your body might need enough natural air and sun light.

These days they are called as health sensing cloths.

Sensor_in_shirts_IOT

Sensor_in_shirts_IOT

c) You smartphone suggests you to take bike rather than car, because the calendar event says that you have to be at the right time today for meeting and the current traffic data says if you go by Car, you will reach an hour late.

d) The data collected several months shows the pollution level in different area of the city, the app will suggest you to take different routes when you go by bike.

NEXT