Featured Post

Mastering flat_map in Python with List Comprehension

Image
Introduction In Python, when working with nested lists or iterables, one common challenge is flattening them into a single list while applying transformations. Many programming languages provide a built-in flatMap function, but Python does not have an explicit flat_map method. However, Python’s powerful list comprehensions offer an elegant way to achieve the same functionality. This article examines implementation behavior using Python’s list comprehensions and other methods. What is flat_map ? Functional programming  flatMap is a combination of map and flatten . It transforms the collection's element and flattens the resulting nested structure into a single sequence. For example, given a list of lists, flat_map applies a function to each sublist and returns a single flattened list. Example in a Functional Programming Language: List(List(1, 2), List(3, 4)).flatMap(x => x.map(_ * 2)) // Output: List(2, 4, 6, 8) Implementing flat_map in Python Using List Comprehension Python’...

Internet of Thing Awesome Basics You Need to Read Now: Part 5

Internet of things can be applied to both Vertical and Horizontal of things: Applications of the Internet of Things (IoT) have spread across an enormously large number of industry sectors. The development of the vertical applications in these sectors is unbalanced.

It is very important to sort out those vertical applications and identify common underpinning technologies that can be used across the board, so that interconnecting, interrelating, and synergized grand integration and new creative, disruptive applications can be achieved.

IoT part 5
IoT part 5
One of the common characteristics of the Internet of Things is that objects in a IoT world have to be instrumented 

Why we need IOT is a fundamental change in the way information is generated, from mostly manual input to massively machine-generated without human intervention.

To achieve such 5A (anything, anywhere, anytime, anyway, anyhow) and 3I (instrumented, interconnected, and intelligent) capabilities, some common, horizontal, general-purpose technologies, standards, and platforms, especially middleware platforms based on common data representations just like the three-tiered application server middleware, HTML language, and HTTP protocol in the Internet/web arena, have to be established to support various vertical applications cost effectively, and new applications can be added to the platform unlimitedly.

Four pillars of IOT
  • RFID - The internet of devices.Example,Radio wave, NFC,IC cards
  • WSN-The internet of transducers. Examples Wireless mess, Bluetooth,Networks, ZigBee
  • M2M - Machine to machine. Examples, Cellular, Fixed networks, WAN, GPRS
  • SCADA-The network of controllers. Example-Wired Field Buses, CanBus,BacNet

Comments

Popular posts from this blog

SQL Query: 3 Methods for Calculating Cumulative SUM

Big Data: Top Cloud Computing Interview Questions (1 of 4)

5 SQL Queries That Popularly Used in Data Analysis