Comparator Interface and sorting in Java

Comparator interface is used to order the objects of user-defined classes. A comparator object is capable of comparing two objects of two different classes. Following function compare obj1 with obj2 Syntax: public int compare(Object obj1, Object obj2): Suppose we have an array/arraylist of our own class type, containing fields like rollno, name, address, DOB etc … Continue reading Comparator Interface and sorting in Java

Samsung announces Connect Tag tracker that uses cellular IoT tech to help you find people and things

There is no shortage of little portable tracker devices that you can attach to your keys or your dog to ensure you never lose the things that matter most. But Samsung has today announced the Samsung Connect Tag, one of the first mobile consumer products that uses the fledgling narrowband IoT (NB-IoT) standard to connect … Continue reading Samsung announces Connect Tag tracker that uses cellular IoT tech to help you find people and things

Enabling Simultaneous AP and Managed Mode WiFi on Raspberry Pi Zero W

Personal note: Running both an access point and a client configuration on the same network adapter (i.e., simultaneous Client/AP mode) requires support for so-called virtual interfaces. Whether a certain Wifi hardware and driver combo supports virtual interfaces and in which configurations can be found out by looking at iw list output (look for AP and … Continue reading Enabling Simultaneous AP and Managed Mode WiFi on Raspberry Pi Zero W

A good Express JS crash course

https://www.youtube.com/watch?v=gnsO8-xJ8rs   Express.js, or simply Express, is a web application framework for Node.js, released as free and open-source software under the MIT License. It is designed for building web applications and APIs. It is in fact the standard server framework for Node.js. The original author, TJ Holowaychuk, described it as a Sinatra-inspired server, meaning that … Continue reading A good Express JS crash course