Archive

Author Archive

Temporary Post Used For Theme Detection (55b692a1-0592-4b02-bc55-f4e5e71ec0ef – 3bfe001a-32de-4114-a6b4-4005b770f6d7)

This is a temporary post that was not deleted. Please delete this manually. (883a18d3-01fe-4864-b4c9-4c9257598410 – 3bfe001a-32de-4114-a6b4-4005b770f6d7)

Categories: Technical

How to avail Senior Citizen 50 percent concession on Air India flight ticket bookings

Recently, there have big news about 50 percent concession (reduction) on Air India flight ticket bookings for Indian Senior Citizens.  This is to share my recent learnings in this regard from interaction with Air India customer care.

You can refer to: Senior Citizen Concession Discount: 50% of Basic fare on select booking classes in Economy cabin

Conversation:

Myself:  Can you help me book tickets under senior citizens 50 percent concession fare benefit?

Air India Customer Care: You can avail this benefit directly from http://www.airindia.in/index.htm > Book Flight > Selecting “Yes” to Would you like to avail of Domestic Concession? >   Choosing “Senior Citizen” from the dropdown as shown below

image

Myself:  While customer care is on call, I quickly checked the price with and without Senior Citizen concession options.  Noticed there is hardly Rs. 100 difference.  I asked, it should be 50 percent concession and not just the Rs. 100, right?

Air India Customer Care: Sir, the concession gets automatically calculated and its available only for certain selected booking classes (seats or classes of service). You can only get concession price whatever that is shown on the website.  However, this involves more checks and proofs to be carried if you avail the concession.  Since the difference is only Rs 100, I suggest you to go ahead and book in general tickets (without selecting the concession).

Myself:  Thanks for the info, bye.

I have booked tickets without any concession as suggested by them.  However, after a few week days I checked the prices again for our return journey and this time choosing the Senior Citizen concession made Rs. 500 difference.

The lesson learnt is the discount of 50 percent senior citizens concession is a dynamic value and you’ll always check them on the Air India website.

Categories: Financial, Travel

Windows 10 – USB Plug and Play Keyboard and Mouse devices does not work– error reads “USB Device was not migrated due to partial or ambiguous match.”

Scenario:
  • On Windows 10 x64 bit system, upon installation of Feb 2018 Windows Updates,  USB Plug and Play devices like Keyboard and Mouse does not work or stops working
  • When you plug in any USB keyboard or mouse, you hear the notification beeps sounds twice which indicates that its connected and then disconnected immediately. 
  • Multiple restart attempts as well doesn’t help

 

Troubleshooting:
  • In device manager,
  • you’ll find all the USB Plug and Play devices like Keyboard and Mouse are listed under Other Devices indicating that these devices do not have any drivers installed
  • device manager-Capture.PNG
  • You don’t have any option to try Roll back of drivers as it reports there no drivers at all.
  • the “Events” tab of Keyboard and Mouse reports error message that reads “ Device USB\VID_1A2C&PID_ was not migrated due to partial or ambiguous match.”
  • Image
  • Upon clicking update drivers and Search online for drivers, results in no drivers found.
  • Running Windows keyboard Troubleshooter doesn’t find any issues.
  • In “Control Panel\Hardware and Sound\Devices and Printers”, you’ll find the USB devices categorized under “Unspecified” as shown below
    • image
  • In Windows Event logs, you’ll find events Kernel-PnP event logs as shown below
    • Log Name:      Microsoft-Windows-Kernel-PnP/Configuration
      Source:        Microsoft-Windows-Kernel-PnP
      Date:          2/15/2018 7:36:21 PM
      Event ID:      442
      Task Category: None
      Level:         Warning
      Keywords:     
      User:          SYSTEM
      Computer:      MyLABPC01
      Description:
      Device USB\VID_1A2C&PID_\ was not migrated due to partial or ambiguous match.

      Last Device Instance Id: USB\VID_046D&PID_\
      Class Guid: 745a0-73-10-bfe-00a7da
      Location Path: PCIROOT(0)#PCI(1D00)#USBROOT(0)#USB(1)#USB(1)#USBMI(1)
      Migration Rank: 0xF000FFFF00000020
      Present: false
      Status: 0xC0000719

  • Even downloading the latest drivers again and installing them manually as well doesn’t help
  • However, you’ll notice that both Keyboard and Mouse gets Power/Lights during system reboot and looses when you starts.  This indicates that, its Windows which is blocking these devices
  •  

    Solution:
    • In my case, the recent change to the system was Windows Updates install.   I reviewed the documentation of all the Windows updates released in  Feb 2018.  Found documentation of Windows Update KB4074588 explaining fixes for keyboard an mouse which seem to have caused this issue.
    • image
    • image
  • Uninstalled Windows Update KB4074588 and instantly my USB devices returned to normal functionality.
  •  

    References:

    Level 2 – Learn Python Programming

    Learn Python Programming

    Level – 2 Course

    Instructor Information

    Instructor

    Email

    Instructional Method

    GOVARDHAN GUNNALA

    trainer.gunnalag@gmail.com

    Classroom or Virtual-Online

     

    Target Audience

    Audience

    Roles

    Benefits

    Anyone who want to learn Python Programming.

    Anyone who is looking for an IT Job in Data Science and Analytics. Recommended for Software Professionals including QA Testers,

    Web Developers, Data Analysts and Scientists, Network Professionals, and IT Administrators.     

    Learns Python Programming.

    Extends your role scope to new technologies like IT Automation, Cloud Computing, Web Development, Data Science, Robotics, Machine Learning, and IoT, etc.,

     

     

    Pre-requisites

    Description

    To gain effective knowledge from this course, participants are required to have below pre-requisite knowledge

    ·         No prior experience with any version of Python is required

    ·         Fundamental knowledge of any programming language is required

    ·         Basic knowledge of Database and Programming terminology would be helpful

     

    Course Information

    Description

    Python is an open source, powerful, fast, friendly, easy to learn and widely used general-purpose, high-level programming language that runs everywhere.  Python supports multiple programming paradigms, including object-oriented, imperative and functional programming or procedural styles

    This course provides students with the essential knowledge of Python Programming and its execution.  This course provides students the skills to understand and build Powerful Python scripts.  In addition, students learn how to understand any Python program and runtime environment and errors.  In this course, students will gain foundational knowledge of using Python for various emerging technologies including, but not limited to, IT Automation, Cloud Computing, Web Development, Data Science, Robotics, Machine Learning, and Internet of Things (IoT), etc.,    

     

    Expectations and Goals

    Upon completion of this course, participants will acquire below skills: 

    ·         Understand what Scripting is and how it’s used for IT automation

    ·         Learn Python overview including its evolution and features

    ·         Working with Files including reading and writing

    ·         Creating variables and objects in Python

    ·         Performing conversion operations on numbers

    ·         Creating structured data with lists, tuples, sets and dictionaries

    ·         Using conditional constructs to control flow of execution

    ·         Using regular expressions in Python

    ·         Organizing code with functions and classes

    ·         Creating object-oriented Python programs

    ·         Using exceptions to gracefully handle errors

    ·         Communicating with databases

    ·         Implementing Web Scraping and GUIs

    ·         Understand usage of Python for Data Analytics, Data Science, and IoT.

     

    Duration

    This course will be delivered in both options, in accordance to the participant’s flexibility:

    ·         For Corporates:     8 Hours x 5 Days                      = 40 Hours

    ·         For Institutions:    1 Hours x 6 Weeks (Mon – Sat)  = 30 Hours

    Course Contents

    Modules

    In this course, below modules are covered:

     

    ·         Module 1: Introduction to Programming

    o    What is Script

    o    What is a program?

    o    Scripting Vs. Programming

    o    Features and Limitation of Scripting

    o    Programming Language Paradigms

    o    Is Python a Scripting or Programming Language?

     

    ·         Module 2: Introduction to Python

    o    What is Python?

    o    Why Python?

    o    Usage of Python

    o    Evolution of Python

    o    About PSF

    o    Install and Configure Python

    o    Install Python with major IDEs

    o    Features of Python

    o    Limitations of Python

    o    Creating Your First Python Program

    o    Printing to the Screen

    o    Reading Keyboard Input

    o    Using Command Prompt and GUI or IDE

    o    Python Distributions

     

    ·         Module 3: Executing Python

    o    Execute the Script

    o    Interactive Mode

    o    Script Mode

    o    Python File Extensions

    o    SETTING PATH IN Windows

    o    Clear screen inside python

    o    Learn Python Main Function

    o    Python Comments

    o    Quit the Python Shell

    o    Shell as a Simple Calculator

    o    Order of operations

    o    Multiline Statements

    o    Quotations in Python

    o    Python Path Testing

    o    Joining two lines

    o    Python Implementation Alternatives

    o    Python Sub Packages

    o    Uses of Python in Data Science

    o    USES OF PYTHON IN IOT

    o    Working with Python in Unix/Linux/Windows/Mac/Android..!

     

    ·         Module 4: Python IDEs

    o    PyCharm IDE

    o    How to Work on PyCharm

    o    PyCharm Components

    o    Debugging process in PyCharm

    o    Python Install Anaconda

    o    What is Anaconda?

    o    Coding Environments

    o    Spyder Components

    o    General Spyder Features

    o    Spyder Shortcut Keys

    o    Jupyter Notebook

    o    What is Conda?

    o    Conda List?

    o    Jupyter and Kernels

    o    What is PIP?

     

    ·         Module 5: Working with Variables

    o    What is Variable?

    o    Variables in Python

    o    Constants in Python

    o    Variable and Value

    o    Variable names

    o    Mnemonic Variable Names

    o    Values and Types

    o    What Does “Type” Mean?

    o    Multiple Assignment

    o    Python different numerical types

    o    Standard Data Types

    o    Operators and Operands

    o    Order of Operations

    o    Swap variables

    o    Python Mathematics

    o    Type Conversion

    o    Mutable Versus Immutable Objects

     

    ·         Module 6: Handling Strings

    o    What is string?

    o    String operations

    o    String indices

    o    Basic String Operations

    o    String Functions, Methods

    o    Delete a string

    o    String Multiplication and concatenation

    o    Python Keywords

    o    Python Identifiers

    o    Python Literals

    o    String Formatting Operator

    o    Structuring with indentation in Python

    o    Built-in String Methods

    o    Define Data Structure?

    o    Data Structures in PYTHON

     

    ·         Module 7: Operators and Operands in Python

    o    Arithmetic Operators

    o    Relational Operators

    o    Comparison Operators

    o    Python Assignment Operators

    o    Short hand Assignment Operators

    o    Logical Operators or Bitwise Operators

    o    Membership Operators and Identity Operators

    o    Operator precedence

    o    Evaluating Expressions

     

    ·         Module 8: Python Conditional Constructs

    o    How to use “if condition” in conditional structures

    o    if statement (One-Way Decisions)

    o    if .. else statement (Two-way Decisions)

    o    How to use “else condition”

    o    if .. elif .. else statement (Multi-way)

    o    When “else condition” does not work

    o    How to use “elif” condition

    o    How to execute conditional statement with minimal code

    o    Nested IF Statement

     

    ·         Module 9: Python Loops

    o    What are Loops?

    o    How to use “While Loop”

    o    How to use “For Loop”

    o    How to use For Loop for set of other things besides numbers

    o    Break statements in For Loop

    o    Continue statement in For Loop

    o    Enumerate function for For Loop

    o    Practical Example

    o    How to use for loop to repeat the same statement over and again

    o    Break, continue statements

     

    ·         Module 10: String Operations

    o    Accessing Values in Strings

    o    Various String Operators

    o    Python String replace() Method

    o    Changing upper and lower case strings

    o    Using “join” function for the string

    o    Reversing String

    o    Split Strings

     

    ·         Module 11: Sequence or Collections

    o    Strings

    o    Unicode Strings

    o    Lists

    o    Tuples

    o    buffers

    o    xrange

     

    ·         Module 12: Python Lists

    o    Lists are mutable

    o    Getting to Lists

    o    List indices

    o    Traversing a list

    o    List operations

    o    List slices

    o    List methods

    o    Map, filter and reduce

    o    Deleting elements

    o    Lists and strings

     

    ·         Module 13: Python Tuple

    o    Advantages of Tuple over List

    o    Packing and Unpacking

    o    Comparing tuples

    o    Creating nested tuple

    o    Using tuples as keys in dictionaries

    o    Deleting Tuples

    o    Slicing of Tuple

    o    Tuple Membership Test

    o    Built-in functions with Tuple

    o    Dotted Charts

     

    ·         Module 14: Python Sets

    o    How to create a set?

    o    Iteration Over Sets

    o    Python Set Methods

    o    Python Set Operations

    o    Union of sets

    o    Built-in Functions with Set

    o    Python Frozenset

     

    ·         Module 15: Python Dictionary

    o    How to create a dictionary?

    o    Python Hashing?

    o    Python Dictionary Methods

    o    Copying dictionary

    o    Updating Dictionary

    o    Delete Keys from the dictionary

    o    Dictionary items() Method

    o    Sorting the Dictionary

    o    Python Dictionary in-built Functions

    o    Dictionary len() Method

    o    Variable Types

    o    Python List cmp() Method

    o    Dictionary Str(dict)

     

    ·         Module 16: Python Functions

    o    What is a function?

    o    How to define and call a function in Python

    o    Types of Functions

    o    Significance of Indentation (Space) in Python

    o    How Function Return Value?

    o    Types of Arguments in Functions

    o    Default Arguments

    o    Non-Default Arguments

    o    Keyword Arguments

    o    Non-keyword Arguments

    o    Arbitrary Arguments

    o    Rules to define a function in Python

    o    Various Forms of Function Arguments

    o    Scope and Lifetime of variables

    o    Nested Functions

    o    Call By Value, Call by Reference

    o    Anonymous Functions/Lambda functions

    o    Passing functions to function

    o    map(), filter(), reduce() functions

    o    What is a Docstring?

     

    ·         Module 17: Python Modules

    o    What is a Module?

    o    Types of Modules

    o    The import Statement

    o    The from…import Statement

    o    ..import * Statement

    o    Underscores in Python

    o    The dir( ) Function

    o    Creating User defined Modules

    o    Command line Arguments

    o    Python Module Search Path

     

    ·         Module 18: Packages in Python

    o    What is a Package?

    o    Introduction to Packages?

    o    py file

    o    Importing module from a package

    o    Creating a Package

    o    Creating Sub Package

    o    Importing from Sub-Packages

    o    Popular Python Packages

     

    ·         Module 19: Working with Date and Time

    o    How to Use Date & DateTime Class

    o    How to Format Time Output

    o    How to use Timedelta Objects

    o    Calendar in Python

    o    datetime classes in Python

    o    How to Format Time Output?

    o    The Time Module

    o    Python Calendar Module

    o    Python Text Calendar

    o    Python HTML Calendar Class

    o    Unix Date and Time Commands

     

    ·         Module 20: File Handling

    o    What is a data, Information File?

    o    File Objects

    o    File Different Modes

    o    file Object Attributes

    o    How to create a Text File

    o    How to Append Data to a File

    o    How to Read a File

    o    Closing a file

    o    Read, read line ,read lines, write, write lines…!!

    o    Renaming and Deleting Files

    o    Directories in Python

    o    Working with CSV files

    o    Working with CSV Module

    o    Handling IO Exceptions

     

    ·         Module 21: Python OS Module

    o    Shell Script Commands

    o    Various OS operations in Python

    o    Python File System Shell Methods

     

    ·         Module 22: Python Exception Handling

    o    Python Errors

    o    Common RunTime Errors in PYTHON

    o    Abnormal termination

    o    Chain of importance Of Exception

    o    Exception Handling

    o    Try … Except

    o    Try .. Except .. else

    o    Try … finally

    o    Argument of an Exception

    o    Python Custom Exceptions

    o    Ignore Errors

    o    Assertions

    o    Using Assertions Effectively

     

    ·         Module 23: Python Class and Objects

    o    Introduction to OOPs Programming

    o    Object Oriented Programming System

    o    OOPS Principles

    o    Define Classes

    o    Creating Objects

    o    Class variables and Instance Variables Constructors

    o    Basic concept of Object and Classes

    o    Access Modifiers

    o    How to define Python classes

    o    Python Namespace

    o    Self-variable in python

    o    Garbage Collection

    o    What is Inheritance? Types of Inheritance?

    o    How Inheritance works?

    o    Python Multiple Inheritance

    o    Overloading and Over Riding

    o    Polymorphism

    o    Abstraction

    o    Encapsulation

    o    Built-In Class Attributes

     

    ·         Module 24: Advanced Python

    o    Python Iterators

    o    Python Generators

    o    Python Closures

    o    Python Decorators

    o    Python @property

     

    ·         Module 25: Python Regular Expressions

    o    What is Regular Expression?

    o    Regular Expression Syntax

    o    Understanding Regular Expressions

    o    Regular Expression Patterns

    o    Literal characters

    o    Repetition Cases

    o    Example of w+ and ^ Expression

    o    Example of \s expression in re.split function

    o    Using regular expression methods

    o    Using re.match()

    o    Finding Pattern in Text (re.search())

    o    Using re.findall for text

    o    Python Flags

    o    Methods of Regular Expressions

     

    ·         Module 26: Python XML Parser

    o    What is XML?

    o    Difference between XML and HTML

    o    Difference between XML and JSON and Gson

    o    How to Parse XML

    o    How to Create XML Node

    o    Python vs JAVA

    o    XML and HTML

     

    ·         Module 27: Python-Data Base Communication

    o    What is Database? Types of Databases?

    o    What is DBMS?

    o    What is RDBMS?

    o    What is Big Data? Types of data?

    o    Oracle

    o    MySQL

    o    SQL server

    o    DB2

    o    Postgre SQL

    o    Executing the Queries

    o    Bind Variables

    o    Installing of Oracle Python Modules

    o    Executing DML Operations..!!

     

    ·         Module 28: Multi-Threading

    o    What is Multi-Threading

    o    Threading Module

    o    Defining a Thread

    o    Thread Synchronization

     

    ·         Module 29: Multi-Threading

    o    What is Multi-Threading

    o    Threading Module

    o    Defining a Thread

    o    Thread Synchronization

     

    ·         Module 30: Web Scrapping

    o    The components of a web page

    o    BeautifulSoup

    o    Urllib2

    o    HTML,CSS,JS,jQuery

    o    Dataframes

    o    PIP

    o    Installing External Modules Using PIP

     

    ·         Module 31: Unit Testing with PyUnit

    o    What is Testing?

    o    Types of Testings and Methods?

    o    What is Unit Testing?

    o    What is PyUnit?

    o    Test scenarios, Test Cases, Test suites

     

    ·         Module 32: Python Web Frameworks

    o    Django – Design

    o    Advantages of Django

    o    MVC and MVT

    o    Installing Django

    o    Designing Web Pages

    o    HTML5, CSS3, AngularJS

    o    Python Flask

    o    Python Bottle

    o    Python Pyramid

    o    Python Falcon

     

    ·         Module 33: GUI Programming-Tkinter

    o    Introduction

    o    Components and Events

    o    Adding Controls

    o    Entry Widget, Text Widget, Radio Button, Check Button

    o    List Boxes, Menus, ComboBox

     

    ·         Module 34: Data Analytics

    o    Introduction to data Big Data?

    o    Introduction to NumPY and SciPY

    o    Introduction to Pandas and MatPlotLib

     

    ·         Module 35: Machine Learning with Python

    o    What is Machine learning?

    o    Machine Learning Methods

    o    Predictive Models

    o    Descriptive Models

    o    What are the steps used in Machine Learning?

    o    What is Deep Learning?

     

    ·         Module 36: Data Science

    o    What is Data Science?

    o    Data Science Life Cycle?

    o    What is Data Analysis

    o    What is Data Mining

    o    Analytics vs Data Science

     

    ·         Module 37: Internet of Things

    o    Impact of the Internet

    o    What is IoT?

    o    History of IoT

    o    What is Network?

    o    What is Protocol?

    o    What is smart?

    o    How IoT Works?

    o    The Future of IoT

    Categories: Careers