Wednesday, March 28, 2018

Scala Tutorial 24 - map, flatMap, flatten and filter (Higher-order Methods)



In this video we will cover the basic syntax and capabilities of Higher-order Methods like map, flatMap, flatten and filter in Scala. In Scala map, flatMap, flatten and filter are most commonly used with  collections. map typically iterate over a collection and applies a function over each element of collection. A predicate is a function that returns a Boolean.



----------------------Follow-------------------

My Website - http://www.codebind.com

My Blog - https://goo.gl/Nd2pFn

My Facebook Page - https://goo.gl/eLp2cQ

Google+ - https://goo.gl/lvC5FX

Twitter - https://twitter.com/ProgrammingKnow

Pinterest - https://goo.gl/kCInUp

Text Case Converter - https://goo.gl/pVpcwL

Epoch Timestamp Converter - https://goo.gl/Zedjo5

Decimal - Binary - Hexadecimal Converter - https://goo.gl/rkX3JE

8-bit Checksum Calculator - https://goo.gl/inxvIT

-------------------------Stuff I use to make videos -------------------

Stuff I use to make videos

Windows notebook – http://amzn.to/2zcXPyF

Apple MacBook Pro – http://amzn.to/2BTJBZ7

Desktop - http://amzn.to/2zct252

Microphone – http://amzn.to/2zcYbW1

notebook mouse – http://amzn.to/2BVs4Q3

Saturday, March 3, 2018

Scala Tutorial 21 - Scala Maps





In this video we will cover the basic syntax and capabilities of Maps in Scala. In Scala maps are the collections of key value pairs. Scala maps can be mutable or immutable. Scala map keys should be unique.



----------------------Follow-------------------

My Website - http://www.codebind.com

My Blog - https://goo.gl/Nd2pFn

My Facebook Page - https://goo.gl/eLp2cQ

Google+ - https://goo.gl/lvC5FX

Twitter - https://twitter.com/ProgrammingKnow

Pinterest - https://goo.gl/kCInUp

Text Case Converter - https://goo.gl/pVpcwL

Epoch Timestamp Converter - https://goo.gl/Zedjo5

Decimal - Binary - Hexadecimal Converter - https://goo.gl/rkX3JE

8-bit Checksum Calculator - https://goo.gl/inxvIT

-------------------------Stuff I use to make videos -------------------

Stuff I use to make videos

Windows notebook – http://amzn.to/2zcXPyF

Apple MacBook Pro – http://amzn.to/2BTJBZ7

Desktop - http://amzn.to/2zct252

Microphone – http://amzn.to/2zcYbW1

notebook mouse – http://amzn.to/2BVs4Q3

Scala Tutorial 20 - Scala Sets



In this video we will cover the basic syntax and capabilities of Sets in Scala. In Scala sets are the un-ordered collections of unique elements of same data types. Scala Sets can be mutable or immutable.



----------------------Follow-------------------

My Website - http://www.codebind.com

My Blog - https://goo.gl/Nd2pFn

My Facebook Page - https://goo.gl/eLp2cQ

Google+ - https://goo.gl/lvC5FX

Twitter - https://twitter.com/ProgrammingKnow

Pinterest - https://goo.gl/kCInUp

Text Case Converter - https://goo.gl/pVpcwL

Epoch Timestamp Converter - https://goo.gl/Zedjo5

Decimal - Binary - Hexadecimal Converter - https://goo.gl/rkX3JE

8-bit Checksum Calculator - https://goo.gl/inxvIT

-------------------------Stuff I use to make videos -------------------

Stuff I use to make videos

Windows notebook – http://amzn.to/2zcXPyF

Apple MacBook Pro – http://amzn.to/2BTJBZ7

Desktop - http://amzn.to/2zct252

Microphone – http://amzn.to/2zcYbW1

notebook mouse – http://amzn.to/2BVs4Q3

Monday, February 19, 2018

Scala Tutorial 19 - Lists



In this video we will cover the basic syntax and capabilities of Lists in Scala.

Arrays and Lists

Arrays are a fixed length and occupy sequential locations in memory. This makes random access (for example, getting the 37th element) very fast--O(1) .

Lists are composed of values linked together. All access starts from the head (first element) and follows links. Random access takes linear time.

Lists are immutable

Lists, like Strings, are immutable

Because all access is via the head, creating a “new” list is a fast operation.

List operations

Basic fast (constant time) operations

list.head (or list head) returns the first element in the list

list.tail (or list tail) returns a list with the first element removed

value :: list returns a list with value appended to the front

list.isEmpty (or list isEmpty ) tests whether the list is empty

Some slow (linear time) operations

list(i) returns the ith element (starting from 0) of the list

list.last (or list last) returns the last element in the list

list.init (or list init) returns a list with the last element removed

This involves making a complete copy of the list

list.length (or list length) returns the number of elements in the list

list.reverse (or list reverse) returns a new list with the elements in reverse order

In practice, the slow operations are hardly ever needed



----------------------Follow-------------------

My Website - http://www.codebind.com

My Blog - https://goo.gl/Nd2pFn

My Facebook Page - https://goo.gl/eLp2cQ

Google+ - https://goo.gl/lvC5FX

Twitter - https://twitter.com/ProgrammingKnow

Pinterest - https://goo.gl/kCInUp

Text Case Converter - https://goo.gl/pVpcwL

Epoch Timestamp Converter - https://goo.gl/Zedjo5

Decimal - Binary - Hexadecimal Converter - https://goo.gl/rkX3JE

8-bit Checksum Calculator - https://goo.gl/inxvIT

-------------------------Stuff I use to make videos -------------------

Stuff I use to make videos

Windows notebook – http://amzn.to/2zcXPyF

Apple MacBook Pro – http://amzn.to/2BTJBZ7

Desktop - http://amzn.to/2zct252

Microphone – http://amzn.to/2zcYbW1

notebook mouse – http://amzn.to/2BVs4Q3

Saturday, February 3, 2018

Set Up C++ Development With Visual Studio Code on Windows 10



In this video I am going to show, How to Set Up C++ Development With Visual Studio Code on Windows 10. We will use MinGW with VS code as our compiler and debugging tool. So First I will show How to install mingw. The we will see how to create, build and compile our first C++ Program on VScode.



With an updated VS Code you can do it in the following manner:



Hit (Ctrl+P) and type:



ext install cpptools

Open a folder (Ctrl+K & Ctrl+O) and create a new file inside the folder with the extension .cpp (ex: main.cpp):



Type in your code and hit save.



Press (Ctrl+Shift+P and type, Configure task runner and then select other at the bottom of the list.



{

    "version": "2.0.0",

    "tasks": [

        {

            "label": "build hello world",

            "type": "shell",

            "command": "g++",

            "args": [

                "-g", "helloworld.cpp"

            ],

            "group": {

                "kind": "build",

                "isDefault": true

            }

        }

    ]

}

Hit (Ctrl+Shift+B to run Build task. This will create the .obj and .exe files for the project.



For debugging the project, Hit F5 and select C++(Windows).



In launch.json file, edit the following line and save the file:

Below is an example using the MinGW GDB debugger:



{

    "version": "0.2.0",

    "configurations": [

        {

            "name": "(gdb) Launch",

            "type": "cppdbg",

            "request": "launch",

            "program": "${workspaceFolder}/a.exe",

            "args": [],

            "stopAtEntry": false,

            "cwd": "${workspaceFolder}",

            "environment": [],

            "externalConsole": true,

            "MIMode": "gdb",

            "miDebuggerPath": "C:\\mingw\\bin\\gdb.exe",

            "setupCommands": [

                {

                    "description": "Enable pretty-printing for gdb",

                    "text": "-enable-pretty-printing",

                    "ignoreFailures": true

                }

            ],

            "preLaunchTask": "build hello world"

        }

    ]

}



Hit F5.



-------------------------Follow-------------------

My Website - http://www.codebind.com

My Blog - https://goo.gl/Nd2pFn

My Facebook Page - https://goo.gl/eLp2cQ

Google+ - https://goo.gl/lvC5FX

Twitter - https://twitter.com/ProgrammingKnow

Pinterest - https://goo.gl/kCInUp

Text Case Converter - https://goo.gl/pVpcwL

Epoch Timestamp Converter - https://goo.gl/Zedjo5

Decimal - Binary - Hexadecimal Converter - https://goo.gl/rkX3JE

8-bit Checksum Calculator - https://goo.gl/inxvIT

-------------------------Stuff I use to make videos -------------------

Stuff I use to make videos

Windows notebook – http://amzn.to/2zcXPyF

Apple MacBook Pro – http://amzn.to/2BTJBZ7

Desktop - http://amzn.to/2zct252

Microphone – http://amzn.to/2zcYbW1

notebook mouse – http://amzn.to/2BVs4Q3

Wednesday, January 31, 2018

How to Install Python 3.6 on Windows 10



In this video I an going to show How to Download and Install Python 3.6 on Windows 10. Setting up your Windows 10 System for Python is relatively easy. we Just need to follow some important steps to Install Python on Windows 10. This tutorial is For Beginners who wants to learn How to Install Python 3.x.x. The same procedure can be applied to install python on windows 8 or windows 7. I will also show how to use windows command line running your first python Hello world on windows 10. You can download python from python.org.

-------------------------Follow-------------------
My Website - http://www.codebind.com
My Blog - https://goo.gl/Nd2pFn
My Facebook Page - https://goo.gl/eLp2cQ
Google+ - https://goo.gl/lvC5FX
Twitter - https://twitter.com/ProgrammingKnow
Pinterest - https://goo.gl/kCInUp
Text Case Converter - https://goo.gl/pVpcwL
Epoch Timestamp Converter - https://goo.gl/Zedjo5
Decimal - Binary - Hexadecimal Converter - https://goo.gl/rkX3JE
8-bit Checksum Calculator - https://goo.gl/inxvIT
-------------------------Stuff I use to make videos -------------------
Stuff I use to make videos
Windows notebook – http://amzn.to/2zcXPyF
Apple MacBook Pro – http://amzn.to/2BTJBZ7
Desktop - http://amzn.to/2zct252
Microphone – http://amzn.to/2zcYbW1
notebook mouse – http://amzn.to/2BVs4Q3

Monday, January 29, 2018

How to Set Up Python in Visual Studio Code on Windows 10



in this video I am going to  show How to Set Up Python Development environment in Visual Studio Code in windows 10. I am also going to show ow to debug your python code using vs code. This process will also cover How to Install Python and Visual Studio Code for Windows 10.



-------------------------Follow-------------------

My Website - http://www.codebind.com

My Blog - https://goo.gl/Nd2pFn

My Facebook Page - https://goo.gl/eLp2cQ

Google+ - https://goo.gl/lvC5FX

Twitter - https://twitter.com/ProgrammingKnow

Pinterest - https://goo.gl/kCInUp

Text Case Converter - https://goo.gl/pVpcwL

Epoch Timestamp Converter - https://goo.gl/Zedjo5

Decimal - Binary - Hexadecimal Converter - https://goo.gl/rkX3JE

8-bit Checksum Calculator - https://goo.gl/inxvIT

-------------------------Stuff I use to make videos -------------------

Stuff I use to make videos

Windows notebook – http://amzn.to/2zcXPyF

Apple MacBook Pro – http://amzn.to/2BTJBZ7

Desktop - http://amzn.to/2zct252

Microphone – http://amzn.to/2zcYbW1

notebook mouse – http://amzn.to/2BVs4Q3

Monday, January 15, 2018

How to Install Codeblocks IDE on Mac



In this video I am going to show How to Install C++ Code::Blocks in Macintosh (Mac OS X or macOS) . Code::Blocks is a free, open-source cross-platform IDE that supports multiple compilers including GCC, Clang and Visual C++. It is developed in C++ using wxWidgets as the GUI toolkit.



-------------------------Follow-------------------

My Website - http://www.codebind.com

My Blog - https://goo.gl/Nd2pFn

My Facebook Page - https://goo.gl/eLp2cQ

Google+ - https://goo.gl/lvC5FX

Twitter - https://twitter.com/ProgrammingKnow

Pinterest - https://goo.gl/kCInUp

Text Case Converter - https://goo.gl/pVpcwL

Epoch Timestamp Converter - https://goo.gl/Zedjo5

Decimal - Binary - Hexadecimal Converter - https://goo.gl/rkX3JE

8-bit Checksum Calculator - https://goo.gl/inxvIT

-------------------------Stuff I use to make videos -------------------

Stuff I use to make videos

Windows notebook – http://amzn.to/2zcXPyF

Apple MacBook Pro – http://amzn.to/2BTJBZ7

Desktop - http://amzn.to/2zct252

Microphone – http://amzn.to/2zcYbW1

notebook mouse – http://amzn.to/2BVs4Q3

How to Install FFMPEG on Mac



in this video i am going to show How to Install FFMPEG on macOS. FFmpeg is a free software project that produces libraries and programs for handling multimedia data. FFmpeg includes libavcodec, an audio/video codec library used by several other projects

-------------------------Follow-------------------
My Website - http://www.codebind.com
My Blog - https://goo.gl/Nd2pFn
My Facebook Page - https://goo.gl/eLp2cQ
Google+ - https://goo.gl/lvC5FX
Twitter - https://twitter.com/ProgrammingKnow
Pinterest - https://goo.gl/kCInUp
Text Case Converter - https://goo.gl/pVpcwL
Epoch Timestamp Converter - https://goo.gl/Zedjo5
Decimal - Binary - Hexadecimal Converter - https://goo.gl/rkX3JE
8-bit Checksum Calculator - https://goo.gl/inxvIT
-------------------------Stuff I use to make videos -------------------
Windows notebook – http://amzn.to/2ADOPrW
Apple MacBook Pro – http://amzn.to/2AC0WG2
Microphone – http://amzn.to/2AC1kV0
Screen Recording Software - http://send.onenetworkdirect.net/z/58...
notebook mouse – http://amzn.to/2BmeZ2d

Wednesday, January 10, 2018

Scala Tutorial 17 - Strings





In this video we will discuss about strings in Scala. Scala String can be defined as a sequence of characters. Java classes are available in Scala, hence Scala makes use of java strings(java.lang.String) without creating a separate string class.



-------------------------Follow-------------------

My Website - http://www.codebind.com

My Blog - https://goo.gl/Nd2pFn

My Facebook Page - https://goo.gl/eLp2cQ

Google+ - https://goo.gl/lvC5FX

Twitter - https://twitter.com/ProgrammingKnow

Pinterest - https://goo.gl/kCInUp

Text Case Converter - https://goo.gl/pVpcwL

Epoch Timestamp Converter - https://goo.gl/Zedjo5

Decimal - Binary - Hexadecimal Converter - https://goo.gl/rkX3JE

8-bit Checksum Calculator - https://goo.gl/inxvIT

-------------------------Stuff I use to make videos -------------------

Stuff I use to make videos

Windows notebook – http://amzn.to/2zcXPyF

Apple MacBook Pro – http://amzn.to/2BTJBZ7

Desktop - http://amzn.to/2zct252

Microphone – http://amzn.to/2zcYbW1

notebook mouse – http://amzn.to/2BVs4Q3