Skip to main content

Posts

Showing posts from November, 2020

What Are Embedded Systems?

What Are Embedded Systems? Definition An object stable steadfastly and intensely in a surrounding mass; surrounded. Example: “A gold ring with nine embedded stones”                                               Embedded Systems: An embedded system is a mixture of computer hardware and software, fixed in fitness or programmable, designed for a specific function or functions within a larger system. Examples: HVAC (Heating, ventilation, and air conditioning) Systems ABS (Anti-lock braking) System. Development The Apollo Guidance Computer is remarked as the first embedded system. It was developed in 1965 by Charles Stark Draper at the MIT Instrumentation Laboratory. The Autonetics D-17 guidance computer was a primary mass-produced embedded system released in 1961. The D-17 guidance computer was replaced with a new computer when the Minuteman II went into production in 1966. That signified the first high-volume use of combined circuits. The Intel 4004 was released in 1971. It was planned f

What is The Docker Ops Perspective?

 What is The Docker Ops Perspective?  The Ops Side will include: Download an image Start a new container Log in to the new container Run a command inside of it And then destroy it. We get two major components when we install Docker. the Docker client the Docker daemon The daemon gears the Docker Remote API. The client debates to the daemon through a local IPC/Unix socket at /var/run/docker.sock in a default Linux installation. This occurs on Windows by means of a named pipe at npipe:////./pipe/docker_engine. We may test that the client and daemon are running and can talk to each other with the docker version command. $ docker version   Client: Version: 17.05.0-ce API version: 1.29 Go version: go1.7.5 Git commit: 89658be Built: Thu May 4 22:10:54 2017 OS/Arch: linux/amd64 Server: Version: 17.05.0-ce API version: 1.29 (minimum version 1.12) Go version: go1.7.5 Git commit: 89658be Built: Thu May 4 22:10:54 2017 OS/Arch: linux/amd64 Experimental: false We should b

What Are Common Collections in Rust?

 What Are Common Collections in Rust? Common Collections The standard library of Rust includes a number of very useful data structures called collections. Most other  data types represent one specific value, but collections may contain multiple values. We will discuss three collections that are mostly used in Rust programs: 1. A Vector 2. A String 3. A Hash Map 1. Vector: Allow us to store a variable number of values next to each other. 2. String: Is a collection of characters. 3. Hash Map: Allow us to associate a value with a particular key. That is  a particular implementation of the more general data structure called a map. STORING LISTS OF VALUES WITH We’ll look at is Vec<T>, also known as a vector for the first collection. VECTORS The vectors permit us to store more than one value in a single data structure that puts all the values next to each other in memory. The Vectors can only store values of the same type. They are useful when we have a list of items. Creating The E

What is Microcontroller?

 What is Microcontroller?   Description The microcontroller is a smallest computer on a single (MOS) metal oxide semiconductor joint with circuit chip. A microcontroller encloses one or more CPUs together with memory and programmable input/output peripherals. The program memory in the method of ferroelectric RAM, OTP ROM or NOR flash is also regularly comprised on chip, along with a slight size of RAM. In difference to the microprocessors used in personal computers the microcontrollers are designed for embedded applications . In modern language, the microcontroller is a system on a chip that usually participates with advanced peripherals similar to one or more coprocessors, graphics processing unit (GPU) and Wi-Fi module. The microcontrollers are economical and prevalent earnings of data collection, sensing and actuating the physical world as edge devices in the environment of the internet of things (IoT). Microcontroller Uses The microcontrollers are typically used in automaticall

What is Internet of battlefield things (IoBT) ?

 What is Internet of battlefield things (IoBT) ? Description The military planners have envisioned a future battlefield defined by the internet of things, one during which smart devices, unmanned aircraft produce endless torrent of actionable data and soldier-worn sensors.The Internet of Military Things (IoMT) may be a class of Internet of things for combat operations and warfare. It's a posh network of interconnected entities, or "things", within the military domain that continually communicate with one another to coordinate, learn, and interact with the physical environment to accomplish a broad range of activities during a more efficient and informed manner.The concept of IoMT is essentially driven by the thought that future military battles are going to be dominated by machine intelligence and cyber warfare and can likely happen in urban environments. The IoMT is conceptually designed to dump much of the physical and mental burden that w

What Are Python While Loops?

 What Are Python While Loops? Anatomy of a While loop A while loop will continuously execute code depending on the value of a condition. It begins with a keyword while, followed by a comparison to be evaluated, then a colon. On the next line is the code block to be executed . Indented to the right . Similar to an if statement, the code in the body will only be executed if the comparison is evaluated to be true. What sets a while loop apart, however, is that this code block will keep executing as long as the evaluation statement is true. Once the statement is no longer true, the loop exist and the next line of the code will be executed. Example: username = get-username() while not valid_username(username):          print("Invalid username")          username = get_username()  The break Statement With the break statement we will stop the loop albeit the while condition is true: Example Exit the loop once I is 3: i = 1 while i < 6: print(i) if i == 3: break i

What Are Packages,Crates And Modules in Rust?

What Are Packages,Crates And Modules in Rust? INTRODUCTION What names does the compiler realize at this location within the code? What functions am I allowed to call? What does this variable refer to? The Module System encompasses Packages are a Cargo feature that permit us  build, test, and share crates. Crates are a tree of modules that produce a library or executable. Modules and therefore the use keyword allow us to control the scope and privacy of paths. A path may be a way of naming an item like a struct, function, or modules PACKAGES AND CRATES for creating LIBRARIES AND EXECUTABLES : A crate may be a binary or library. The crate root may be a source file that's wont to skills to create a crate. A package features a Cargo.toml that describes the way to build one or more crates. at the most one crate during a package are often a library. Example of a Package: $ cargo new my-project Created binary (application)