Welcome. Here you find latest freeware and legal software as well as latest info about IT Technology.
Testing representational state transfer (REST) APIs can be a tricky business. Many who resort to manually testing REST APIs overlook details and miss out on ways they could save time.
Any REST API service being tested properly will have these areas covered:
  • Testing of whether the API service complies with REST standards
  • Testing of API service response codes
  • Assertion of API service response content
  • Performance benchmarking of API service
Tools for REST test
For this, you need the right tools. Apache JMeter and REST Assured are two popular REST test tools for testing REST API services. You can learn more about how you can use them in practice from here and here.
In this article, you will learn the pros and cons of both of these tools and where they fit best in your existing REST API projects.
Whatsapp Android

A multi-platform WhatsApp, removing difficulty for their user day by day. Now user of WhatsApp Android, is able to filter their notifications of whatsApp that how its appears.

Here's what the problem was: Android 8.0 Oreo, released in August 2017, introduced "notification channels" to Android phones. 

This feature is pretty convenient, in theory. It allows users to assign priority to different types of notification. For example, I could set a Facebook notification to "Urgent" importance, meaning it would make a noise and show a message on my screen, and a Facebook friend request to "Medium" importance, meaning I'd see a message, but hear no sound. 

The problem is that apps have to be individually updated by their third-party developers to include notification channel functionality. Until an app was optimized for Android 8.0 Oreo, users couldn't assign any importance to notifications from that app. 

This means for the past few months, it was impossible to change WhatsApp notifications at all. You couldn't control whether it made a noise or showed an icon, or disable certain notifications without disabling all of the app's notifications. 

There are 10 notification channels that you can now customize for different settings: group notifications, message notifications, chat history backup, critical app alerts, failure notifications, media playback, uncategorized, other notifications, sending media, and silent notifications. This means you could put high importance on your message notifications, but low importance on your group notifications, and disable uncategorized notifications, for example. 

WhatsApp did not respond to a request for comment. 

The customization is super easy to do. The next time you see a WhatsApp notification on your Android device, press and hold it, then select "All Categories." 

Then, you can choose what to do with each notification. 
One of the keys to writing a successful web application is being able to make dozens of AJAX calls per page.
This is a typical asynchronous programming challenge, and how you choose to deal with asynchronous calls will, in large part, make or break your app, and by extension potentially your entire startup.
Synchronizing asynchronous tasks in JavaScript was a serious issue for a very long time.
This challenge is affecting back-end developers using Node.js as much as front-end developers using any JavaScript framework. Asynchronous programming is a part of our everyday work, but the challenge is often taken lightly and not considered at the right time.

A Brief History of Asychronous JavaScript

The first and the most straightforward solution came in the form of nested functions as callbacks. This solution led to something called callback hell, and too many applications still feel the burn of it.
Then, we got Promises. This pattern made the code a lot easier to read, but it was a far cry from the Don’t Repeat Yourself (DRY) principle. There were still too many cases where you had to repeat the same pieces of code to properly manage the application’s flow. The latest addition, in the form of async/await statements, finally made asynchronous code in JavaScript as easy to read and write as any other piece of code.
Let’s take a look at the examples of each of these solutions and reflect on the evolution of asynchronous programming in JavaScript.
To do this, we will examine a simple task that performs the following steps:
  1. Verify the username and password of a user.
  2. Get application roles for the user.
  3. Log application access time for the user.

Approach 1: Callback Hell (“The Pyramid of Doom”)

The ancient solution to synchronize these calls was via nested callbacks. This was a decent approach for simple asynchronous JavaScript tasks, but wouldn’t scale because of an issue called callback hell.
Illustration: Asynchronous JavaScript callback hell anti-pattern
The code for the three simple tasks would look something like this:
const verifyUser = function(username, password, callback){
   dataBase.verifyUser(username, password, (error, userInfo) => {
       if (error) {
           dataBase.getRoles(username, (error, roles) => {
               if (error){
               }else {
                   dataBase.logAccess(username, (error) => {
                       if (error){
                           callback(null, userInfo, roles);
Each function gets an argument which is another function that is called with a parameter that is the response of the previous action.
Too many people will experience brain freeze just by reading the sentence above. Having an application with hundreds of similar code blocks will cause even more trouble to the person maintaining the code, even if they wrote it themselves.
This example gets even more complicated once you realize that a database.getRoles is another function that has nested callbacks.
const getRoles = function (username, callback){
   database.connect((connection) => {
       connection.query('get roles sql', (result) => {
           callback(null, result);
In addition to having code that is difficult to maintain, the DRY principle has absolutely no value in this case. Error handling, for example, is repeated in each function and the main callback is called from each nested function.
More complex asynchronous JavaScript operations, such as looping through asynchronous calls, is an even bigger challenge. In fact, there is no trivial way of doing this with callbacks. This is why JavaScript Promise libraries like Bluebird and Q got so much traction. They provide a way to perform common operations on asynchronous requests that the language itself doesn’t already provide.
That’s where native JavaScript Promises come in.

JavaScript Promises

Promises were the next logical step in escaping callback hell. This method did not remove the use of callbacks, but it made the chaining of functions straightforward and simplified the code, making it much easier to read.
Illustration: Asynchronous JavaScript Promises diagram
With Promises in place, the code in our asynchronous JavaScript example would look something like this:
const verifyUser = function(username, password) {
   database.verifyUser(username, password)
       .then(userInfo => dataBase.getRoles(userInfo))
       .then(rolesInfo => dataBase.logAccess(rolesInfo))
       .then(finalResult => {
           //do whatever the 'callback' would do
       .catch((err) => {
           //do whatever the error handler needs
To achieve this kind of simplicity, all of the functions used in the example would have to be Promisified. Let’s take a look at how the getRoles method would be updated to return a Promise:
const getRoles = function (username){
   return new Promise((resolve, reject) => {
       database.connect((connection) => {
           connection.query('get roles sql', (result) => {
We have modified the method to return a Promise, with two callbacks, and the Promise itself performs actions from the method. Now, resolve and reject callbacks will be mapped to Promise.then and Promise.catch methods respectively.
You may notice that the getRoles method is still internally prone to the pyramid of doom phenomenon. This is due to the way database methods are created as they do not return Promise. If our database access methods also returned Promise the getRoles method would look like the following:
const getRoles = new function (userInfo) {
   return new Promise((resolve, reject) => {
           .then((connection) => connection.query('get roles sql'))
           .then((result) => resolve(result))

Approach 3: Async/Await

JavaScript is asynchronous by default. This might be reason why it took so long to get synchronous-looking code that runs properly in JavaScript. But, better late than never! The pyramid of doom was significantly mitigated with the introduction of Promises. However, we still had to rely on callbacks that are passed on to .then and .catch methods of a Promise.
Promises paved the way to one of the coolest improvements in JavaScript. ECMAScript 2017 brought in syntactic sugar on top of Promises in JavaScript in the form of async and await statements.
They allow us to write Promise-based code as if it were synchronous, but without blocking the main thread, as this code sample demostrates:
const verifyUser = async function(username, password){
   try {
       const userInfo = await dataBase.verifyUser(username, password);
       const rolesInfo = await dataBase.getRoles(userInfo);
       const logStatus = await dataBase.logAccess(userInfo);
       return userInfo;
   }catch (e){
       //handle errors as needed
Awaiting Promise to resolve is allowed only within async functions which means that verifyUser had to be defined using async function.
However, once this small change is made you can await any Promise without additional changes in other methods.

Async - A Long Awaited Resolution of a Promise

Async functions are the next logical step in the evolution of asynchronous programming in JavaScript. They will make your code much cleaner and easier to maintain. Declaring a function as async will ensure that it always returns a Promise so you don’t have to worry about that anymore.
Why should you start using the JavaScript async function today?
  1. The resulting code is much cleaner.
  2. Error handling is much simpler and it relies on try/catch just like in any other synchronous code.
  3. Debugging is much simpler. Setting a breakpoint inside a .then block will not move to the next .then because it only steps through synchronous code. But, you can step through await calls as if they were synchronous calls.
Today we are going to explore the top 20 hot technology smart products saw at electronic technology show at Las Vegas. Each year Las Vegas CES (Consumer Electronics Show) shows the best example of latest technology.

Now we are showing the top interesting latest technology smart products like 3D Face Scanner, Connected Fridge, Deep Sea Robot, Driver-less People Mover, Face Unlocking Car, Hip Saver, Instant Electric Bike, Intelligent Toilet, Pollution Mask, Smart Eye for Blind, Self Driving Travel Bag, Smart Shower, Smart Self-driving Travel Bag, Smart Toothbrush, Smart Underclothing, UV Monitor

Deep Sea Smart Robot

Qysea developed FiFish P3  deep sea smart robot that can take pictures, record videos or make live broadcast from depth up to of 100 meter and its camera controlled by device which captures 4K Full HD and has powerful lighting bright LED.

Smart Self Driving Travel Bag

A robotic smart self driving 4 wheeled travel bag demonstrated by China's ForwardX Robotics, that automatically follows its user around the airport. This travel bag implemented with AI and Camera to avoid crashes and can send message to  its owner if it gets too far away and send battery low level alerts too.

Smart self driving travel bag
credit: voanews.com

Aibo Puppy Robot

An  Artificial Intelligence Aibo puppy robot that is capable to form emotional connections with individual family, react to touch and voice commands, communicate through body language as well as eye, ear and tail movement.
Aibo Smart AI puppy robot
The Aibo robot dog is on display at the Sony booth after a news conference at CES International, Monday, Jan. 8, 2018, in Las Vegas. (AP Photo/John Locher)

Drive-less people mover

Toyota Motor Corporation showed off its e-Palette self-driving test vehicle at CES. The self-driving vehicle is designed to move both people and things. Toyota says it plans to provide the block-shaped electric cars to other companies, including Amazon, Pizza Hut and Uber.
Drive-less People Mover
TEC--Gadget Show Toyota

Face unlocking car

Chinese automaker BYTON presented a new electric sport utility vehicle, or SUV, that can also drive itself. The company says the smart vehicle uses facial recognition technology to open the doors. The car is controlled from a large computer screen. Sensors continuously measure the driver’s heart rate and blood pressure.

Face Unlocking Car
Chinese automaker Byton says its new SUV can drive itself and uses facial recognition technology to unlock the doors. (Byton)

3D Face Scanner

Bellus3D introduced a high-quality face-scanning camera for mobile devices. The camera uses AI to create a 3D model of your face. The images can be shared or used to help a person find the right makeup products. Users can even create a realistic 3D face mask.

Smart underclothing

At least two companies showed off smart underwear meant to improve the health of the person wearing it. 

Skiin launched underclothing for men and women. These products can measure a person’s heart rate, temperature, breathing, body fat, water intake, number of steps walked and sleep history.

Another company, Spartan, makes underwear for men that it says blocks up to 99 percent of radiation from wireless computer networking devices.

CES has products covering people from head to feet, including special socks for people with diabetes. Siren smart socks measure foot temperature and warn the wearer when signs of injury develop.

Siren smart socks

Camera For Blind

The OrCam MyEye 2.0 device is made for blind people or those with limited eyesight. It is a smart camera about the size of a finger. The device can read out writing or print from any source. It is also equipped with AI tools to recognize faces, products and money in real time.

Hip Saver

Also at CES 2018, French airbag maker HELITE demonstrated wearable hip protectors for older people. The battery-powered system is worn as a belt just above the hips. When an individual is about to fall, sensors cause the side airbags to fill with air to help prevent broken bones.

UV Monitor

Beauty products manufacturer L’Oreal released two new products at the show. Each is designed to help inform individuals of ultraviolet, or UV, sun exposure. UV Sense is a small, wearable sensor that can be worn for up to two weeks on the end of a finger. The sensor links up with mobile devices to provide warnings about too much sun.

UV Monitor Wearable Sensor

Pollution Mask

R-Pur is a French company still raising money to increase production of its anti-pollution mask. The mask is designed for drivers of bicycles and motorcycles. The product is designed to keep out harmful pollutants in the air, as well as viruses and bacteria.

Roll-up TV

Of all the televisions demonstrated at CES 2018, one of the most unusual is a huge model that can roll up like a newspaper. LG Display made a 162- centimeter-long (64-inch) model.
LG Display's 64 inch prototype is powered by the same OLED technology used in TVs. (LG)
LG Display's 64 inch prototype is powered by the same OLED technology used in TVs. (LG)

It is powered by the same OLED technology used in TVs. The company explains the technology can let users hide the display, or lower it to different heights to change picture size.

TV 8K Arrives

Some major manufacturers also showed off TV models with new 8K technology, which nearly doubles the picture resolution of 4K. One of the companies is Samsung Group, which said its Q9S model uses AI to automatically bring lower quality video up to 8K. Samsung also launched a 371-centimeter (146-inch) MicroLED receiver called “The Wall.”
8K The Wall TV

Instant bike electricity

The makers of the Electron Wheel say anyone can turn a traditional bicycle into an electric-assisted cycle in just 30 seconds. The company says the wheel – which replaces the front tire – has a powerful motor and can travel up to 80 kilometers.

Smart Shower

Several manufacturers have been demonstrating smart shower technology at CES. Users can control water flow and temperature from mobile devices – and in most cases also by voice – and can also play (and sing along with) music.

Smart Shower

Intelligent Toilet

Kohler presented its Numi toilet, which it describes as “the finest in personal comfort and cleansing.” The device-connected machine includes programmable lights, plays music and has a heated seat and foot warmer.

Connected Fridge

Smart appliances seem to be the future of home kitchens. Several companies are launching fully programmable refrigerators that do a lot more than keep food cold. Samsung says its “Family Hub” creates shopping lists, orders food and can see inside the refrigerator for you. It can connect with mobile devices to share information, play music or even stream video from a Samsung TV elsewhere in the home.
Samsung Connected Fridge
Samsung says its “Family Hub” creates shopping lists, orders food and can see inside the refrigerator for you. (Samsung)

Smart toothbrush

The company says the product is the first in the world to use augmented reality to educate children on the best methods for cleaning teeth.

It records user movements and shows the child – in a fun, interactive way - the best ways to brush.
Smart toothbrush
Kolibree says it has developed the first interactive toothbrush that uses Augmented Reality to motivate and educate kids to better brush their teeth. (Kolibree)

Google India Station WiFi Programme

Google Station WiFi started two years ago, giving high speed unlimited data to selected India's stations absolutely free. Google has now started testing a paid model Google WiFi Station. Google Station WiFi trial model started at Mumbai Central in January 2016 and reached 53 Railway Stations in the country in September 2016, is planned to reach as many as 400 stations this year.

Software rarely, if at all, exists in an informational vacuum. At least, that is the assumption we software engineers can make for most of the applications we develop.
At any scale, every piece of software—in one way or another—communicates with some other software for various reasons: to get reference data from somewhere, to send monitoring signals, to be in touch with other services while being a part of a distributed system, and more.
Apache Camel for Streamlined Software Integration
In this tutorial, you will learn what some of the biggest challenges of integrating large software are and how Apache Camel solves them with ease.
Telegram Multiple Account
credit: techdeezer

A new update 4.7 is rolling out which support multiple accounts on single Android device. Earlier last month, secure messaging app Telegram rolled out update 4.6 that brought along features like granular settings for auto-downloading media, full link previews for Instagram posts and tweets, and more. Obviously, you'll still need separate phone numbers for each account, but switching between them is as easy and seamless as it is in apps like Gmail. Some of these themes even allow users to further customize the look of the app by picking an accent color. A swipe from the left will bring out the menu where users can switch between accounts.

The latest version is available in the Play Store, but you can also grab Telegram 4.7 from APK Mirror.

Powered by Blogger.