Tuesday, December 10, 2019

Is MobX a framework?

Not in the sense of a JavaScript Framework. Frameworks may leverage MobX.
From my answer in Quora:
From MobX site:
MobX is a battle-tested library that makes state management simple and scalable by transparently applying functional reactive programming (TFRP). The philosophy behind MobX is very simple:
Anything that can be derived from the application state, should be derived. Automatically.
which includes the UI, data serialization, server communication, etc.

Wednesday, December 4, 2019

What is the difference between NFC and Bluetooth?


Near Field Communication (NFC) is a standards-based short-range wireless connectivity technology that makes life easier and more convenient for consumers around the world by making it simpler to make transactions, exchange digital content, and connect electronic devices with a touch.

More on their differences here;
http://nearfieldcommunication.org/bluetooth.html

Both use wireless communication.

Bluetooth is short-range with a maximum range of about 30 feet
NFC (Near Field Communication is even shorter with a range of few centimeters (like NFC card to enter your hotel room).

NFC consumes less power compared to Bluetooth.

Because of the range, Bluetooth is more prone to interference with other Bluetooth devices.

Note that the newer Bluetooth known as BLE (low energy type) may use energy comparable to NFC

Sunday, November 17, 2019

What is a Microservice?

A microservice is an architectural design that separates portions of a (usually monolithic) application into small, self-containing services.

Out body is perhaps an analogy of a service 'body' with server microservices like the 'five senses' etc.

"Microservices is an architectural style that develops a single application as a set of small services. Each service runs in its own process. The services communicate with clients, and often each other, using lightweight protocols, often over messaging or HTTP"--
https://stackify.com/what-are-microservices/

You will have to use several frameworks to build a microservice application.
"Spring Boot", "Jersey" and "Swagger" are some of the frameworks for developing in Java.
https://stackify.com/what-are-microservices/

If you are using C++ go here:
http://cppmicroservices.org/

Read this first:
http://docs.cppmicroservices.org/en/stable/README.html#introduction

Wednesday, June 19, 2019

Do you fail to see Windows Sandbox in Windows Features?

If you try to look for Windows Sandbox in the Windows Features box this is what you will find.

WindowsSandbox_02.jpg

But to enable Windows Sandbox you need this in the Windows Features.
You look through the internet and surf away there are various suggestions. But what matters is the Windows Version you have. You would assume, that since you have agreed for automatic updates everything is fine. That is not the case.

I found out that I was running Windows 10 Pro version 1803 and that was the real problem. I tried to update to the needed version 1903 or higher but I was not able to do it from the desktop.

I had to get the Windows 10 Update Assistant to install the higher version.


I finally installed the Windows 10 Update Assistant and ran the program.

It takes a while and the installation would require you to have nothing connected to the USB Ports. If they are connected to anything you will get an error which is easy to correct.

Now with the new version you will see the Windows Sandbox in Windows Features as shown.

That concludes the task of bringing the Windows Sandbox node to the Windows Features.

Wednesday, January 23, 2019

What is a TPC Benchmark?

TPC is an acronym for Transaction Processing Corporation, a non-profit organization to define transaction processing benchmarks and providing objective, verifiable performance data to the industry.

Here is the scope of TPC from its website (http://www.tpc.org/information/about/abouttpc.asp):

"The term transaction is often applied to a wide variety of business and computer functions. Looked at as a computer function, a transaction could refer to a set of operations including disk read/writes, operating system calls, or some form of data transfer from one subsystem to another.
While TPC benchmarks certainly involve the measurement and evaluation of computer functions and operations, the TPC regards a transaction as it is commonly understood in the business world: a commercial exchange of goods, services, or money. A typical transaction, as defined by the TPC, would include the updating to a database system for such things as inventory control (goods), airline reservations (services), or banking (money).
In these environments, a number of customers or service representatives input and manage their transactions via a terminal or desktop computer connected to a database. Typically, the TPC produces benchmarks that measure transaction processing (TP) and database (DB) performance in terms of how many transactions a given system and database can perform per unit of time, e.g., transactions per second or transactions per minute"

Here is what SQL Server 2017 performance looks like.


Sunday, January 13, 2019

How do you install IIS on Windows 10?

As previously noted you need to enable IIS on Windows 10.

You can do this in Control Panel.


In Turn Windows fatures on or off. Place check marks as shown above. Vlick OK. It may take a while and IIS is turned on.

You can launch IIS from the search charm as shown.


When you click this, Internet Informatio Services Manager's screen opens as shown.


From Help you can find the version (10.0.17134.1) shown here.


You can look at the contents on your site (Default site) shown here. Rihgt now there is only one file (IISStart.htm and PNG file).


You can right click the htm file and browse as shown.


Your files (presently IISStart.htm and IISstart.png) are in the wwwroot folder.





Saturday, January 12, 2019

How come I cannot access Internet Information Services on my Windows 10?

IIS does not come installed or turned-on.

Most probably IIS is not turned-on. You can do it from the Control Panel.
This is what you see when IIS is not turned-on.


Wednesday, January 9, 2019

How do you install the latest Node.js for Windows 10?


You can download from this site.



This is the .msi file for Windows 10(x64).


Double click the node-v10.15.0-x64.msi to install. Just follow the installation wizard.


Default installation choice was made.


Node.Js program files installed on the computer's C:\ drive.


Node.JS Version


Monday, January 7, 2019

What is AnTuTu bench marking?

A very popular, chinese Android bench marking apps. AnTuTu objectively explores the performance of a device. The app does a variety of testing, assignning a score for each feature tested.

You can download AnTuTu Benchmark app from Google Play.

I have a Samsung Galaxy S9 and I tested on my phone after downloading.

Here is the app on my Samsung


Here is one of its My Device screens:


It also sends the notifications regarding performance.