Skip to main content

Posts

Machine Learning Libraries for JavaScript - 2019

Photo by  Franck V.  on  Unsplash Machine learning has seen enormous growth in recent years. It is actively transforming every industry all around us. From autonomous vehicles to chess players, a simple path following robots to Sophia and from recognizing horrible handwritten text to extremely intelligent new Google Assistant, Machine Learning is everywhere. Thanks to Big Data, high power CPUs, giant GPUs and of course to researchers who brought ML from something to everything. For raising reality straight out of a fantasy (sounds filmic. Doesn't it?). Thanks for saving us from the thing that most of the real human being hate. I'm talking about the holy MATHS. Ok, enough. The blessed and the noble human (researchers and innovators) are working hard to come up with more accurate and efficient techniques which work in a constrained environment. One of the major efforts of ML & JS communities is to let us implement ML in JavaScript using JavaScript ...

The must have books for JavaScript in 2019

Photo by  Greg Rakozy  on  Unsplash JavaScript has been a favorite language to developers throughout recent few years. It was initially supported by web browsers but soon after its release, server side implementations of the language were introduced by different organizations like Netscape, Microsoft and the open-source Node.js. It is not only used for designing webpages but for databases, server scripting and for mobile and desktop applications too. One of the most prominent reasons to learn JavaScript is its enormous community and its products. There are a number of cool JavaScript libraries which makes the life of a developer very easy. ECMA International has introduced the ECMA2017 standards which are quite effective and saves enough amount of time. With all this, the community has made large efforts to bring Machine Learning and JavaScript together. Taking all these into consideration, JavaScript seems worth our time. If you are a beginner or an intermediate ...

How to break through Android Face Lock: An Experiment

Photo by  Nicolas Hirajeta  on  Unsplash After creating a fake master fingerprint to unlock most fingerprint protected devices, Thomas Brewster at Forbes made an attempt to use a fake 3D printed version of his real head to unlock a bunch of phones. The reporter printed a 3D model of his head at Backface in Birmingham, U.K. An image of his head was taken using 50 cameras. After some preprocessing, the model was printed using a 3D printer. The final product was ready after some post processing (coloring and other final touches) in a few days. The entire process cost just over £300. (I tried to be super quick at describing the process. Tell me how I did.) For the tests, he used 4 Android devices (LG G7 ThinQ, Samsung S9, Samsung Note8, OnePlus 6) and iPhoneX. He used his real head, I mean the head he is born with, to activate face lock on all devices and then tried to unlock them with his fake 3D printed head. According to his report, only the iPhone X was...

THEFT ALERTS! SnapChat has been found stealing from TikTok

Last year we read that Facebook stole the well-known, widely used story feature from SnapChat. The theft was well received by Facebook users. According to TechCrunch , about 150M FB users are using the story feature daily. WhatsApp stories get even more users, up to 450M per day. We can say that the big fishes are always there keeping an eye on the trends by either spying on their users or using some cool techs or whatever. The same happened in the last couple of days but this time the big fish is SnapChat. SnapChat launches its “ new feature ” called Lens Challenge where its users can participate in different challenges like they do in TikTok’s lip syncing challenges. Users can select to participate in challenges by creating a snap with a Lens that is themed to a particular song or a melody etc. The company offers official challenges where the users can select any Lens from the Lens Explorer section of the App, select a song and lip sync with it and send it to one of the offic...

7 Things You Need To Know about Programming: The Art of Programming

courtesy of SafeTrac Is it enough to learn a single programming language and live with it? Like working in a single language for the entire life? Oh C’mon My answer is big NO. I mean not at all. A single language can work pretty much everywhere but one language that performs well somewhere does not mean that it will perform that much good elsewhere. There is always a better choice available. For example JavaScript works best in web applications but it won’t work the way Python woks for Data science. I hope you got the point. To get your hands on a well-paid job, or to make an attractive freelance profile or to pursue further studies in computer you should master one and get familiar with at least 3 languages. Let’s throw the blue collars, white collars, t-shirts and whatever out of the scope of this article and focus on students only. If you have read my previous post, if you haven’t then I would recommend you read it first, then you should have got the idea that...

QUESTION: How to choose a career path as a student?

QUESTION: How to choose a career path as a student? If you are a student and you are confused about your study area or it is hard for you to decide a career path then congratulations, you are not alone. Almost every student is feeling the same. It is the beginning of tough time that every successful person you see today has been through. You are not any special. It is a panic for everyone but the level of intensity vary from person to person. I will use students and people interchangeably. Some people get good mentor-ship while some have got a good luck which reduces their pain in some way. But many students have to figure out their way by own. Sounds disheartening, isn’t it? It’s OK. Get over it. I was sort of the latter kind of student but luckily at the end of my degree I meet with my most respected mentors. Whenever I have to make a choice, I surely contact them and request them for their advice. It does not mean that I follow 100% of the advice all the time but it make...

Where Is Artificial Intelligence Leading The World? To The END?

Less than 100 years old Artificial intelligence (AI), born in the middle of 20 th century is ruling over the world. If you think it is not then I would say it is about to rule. It is also said that AI is 5000 years old but who cares. I will go with the younger one. AI made its way all along from symbolic AI of good old fashioned artificial intelligence to future predicting models and expert systems. It is everywhere, in agriculture, in health, education, finance, media, music, marketing, HR, games, security, and over and beneath the tides of oceans and in the silent space and everywhere you can think of. All I am trying is just to say that AI is ubiquitous Period. Researchers have made fascinating breakthroughs with breakneck speed but they are still striving to make milestones. AI is no more confined only to Hollywood, it is a reality now. The question is how this reality would come to us? As a curse or as a blessing? Max Hawkin, a software engineer, consciously submitte...

WARNING: Android Spyware Detected Which Spies on Skype, Whatsapp Calls

In order to protect Android users from malware and suspicious apps, Google has been continuously working to detect and remove malicious apps from your devices using its newly launched Google Play Protect service. Google Play Protect-- a security feature that uses machine learning and app usage analysis to check devices for possibly harmful apps-- recently helped Google researchers to recognize a new deceptive family of Android spyware that was stealing a whole lot of information on users. Found on targeted devices in African countries, Tizi is a fully-featured Android backdoor with rooting capabilities that installs spyware apps on victims' devices to steal supersensitive data from popular social media apps like WhatsApp, Twitter, Facebook, Linkedin, Skype, Viber, and Telegram. " The Google Play Protect security team discovered this family in September 2017 when device scans found an app with rooting capabilities that exploited old vulnerabilities," Google said in a...

What is Multithreading? JAVA Multithreading Tutorial

It is almost end of 2017. The computer has evolved throughout its age from a simple, huge machine which was used for just simple numerical calculations to a small and swift electronic device which is affecting almost every aspect of our life. There are a lot of efforts involved in these enhancements in both hardware and software. Powerful hardware has been invented, and robust software techniques have been designed to improve hardware efficiency. One of these methods is multithreading and this is what we are going to talk about. Multithreading is the ability of a single processing unit to execute multiple programs concurrently, apparently supported by the operating system. Multithreading is achieved either by multithreaded architecture or by software techniques or by both. All processors and OSs today support multi-thread execution. We are talking about multithreading but what actually a thread is? A thread is a single unit a single processor can execute. The group consists of t...

10 Different Types Of Bosses And How To Work With Them

There are a lot of factors which can affect your work potentials such as technology, stress, ego clashes, health, perceived discrimination, and The Boss. Getting to know the type of your Boss you have is an important step towards having a professional relationship with them. After all, your Boss can dictate whether your stay with the company will be in favor of the organization or not. He/She is the one who decides to keep you or to kick you out. Here are 10 different types bosses and how you can relate to them. 1. The Workaholic The workaholic is a boss who tends to work overtime, even during holidays. They are typically extremely enthused about completing undertakings on time and will recommend additional work hours keeping in mind the end goal to accomplish this. The vast majority of them barely go on sick days or take leaves from office. Working under a workaholic can be stressful, especially if you’re not one. There’s a high chance it will greatly impact on your work-life ...

5 Tips for Computer Science Students

You are in college now so I am skipping the basics the go to class do your homework study for tests stay out of the hospital. These are not all important pieces of advice but I am sure you have heard them. Instead, let’s talk computer science. Here are some tips I have specially collected by talking to students who wish they’d heard them when they were students. Listen up. Seek help when you need it. Your classes are going to get harder, they are going to test your knowledge but that’s why you are there for. Some people find attending office hours or seeking extra help to be embarrassing. But these resources are there for a reason. Taking advantage of the help you are offered will not only help you prepare for future classes and learn the material better but a lot less harmful than bad grades or any other consequences of struggling. Don’t let yourself intimidated by large projects. The best thing to do, sit down a day at the assignment and break it up into smaller tasks. A lot o...

JSON with JAVA – Introduction to JSON – Part2

JAVA SE does not have any internal package for processing JSON data. We have to import an external library. There are many libraries available. You can choose any. I will use Json-simple1.1 here. This makes our first step, importing the lib. Importing the lib   Click here  and download the zip file containing the jar library and follow the following steps to import it into eclipse. 1. Extract the zip file. 2. Right Click on the project folder in the package explorer, hover over Build Path and click on Configure Build Path. 3. You will see a nice window. Go to the Libraries tab and click on Add External JARs. 4. Navigate to the extracted jar folder, select the library and press open/ok. 5. Press ok again and you are done. Exploring the lib The library contains parser and data structures to process the given JSON formatted string. The parser parses the JSON data from string/Reader to its own readable form. The data structures consist of JSONObject and JSON...

Introduction to JSON – Part 1

JSON is a data interchange format, frequently used for data exchange between clients and servers across the web. I am dividing this short tutorial series into three parts just to make it easy for you to understand. Part 1 is an introduction to JSON. It shows what is JSON, its structures are and how to write a JSON document. Part 2 explains How to process JSON in JAVA. The last part includes JSON Serialization. Hold your breath, a lot is coming up. JSON, short for J ava S cript O bject N otation is a lightweight format which makes data exchange more than easier. It is also used to store data. JSON is language independent. For example, you can make a JSON Object in java and send it to a C# program which will gracefully handle it. JavaScript object can be converted into a JSON object and vice versa. A JSON document can have two structures. JSON Object: A name value pair or a key value pair. Names/Keys are only strings however values are of various types. Name and value are separ...

Who made Facebook decide to buy WhatsApp and to steal SnapChat Stories feature? 'You'

A fresh report claims that Facebook is spying on its users. It knows what millions of people do on their phones. It knows what do you browse, what apps do you use, how frequently and for how long. It is gathering all the information and detailed insights of your online behavior and habits. This information has been used to shape Facebook's product roadmap. Facebook perceived from its data analysis that its users are using WhatsApp much more frequently and for a long time so it will be a big deal to buy it. It also led Facebook to rip Snapchat's stories feature. It's so precise that it allowed Facebook keep tabs on how many Snapchat posts users sent each day, the Wall Street Journal reports. Onavo Protect , a free VPN app that claims to help "keep you and your data safe when you go online", has been the spying tool for Facebook for all this time. It was created by a company which is now owned by Facebook. The app is very popular among Android and iOS users a...

Inheritance In JAVA: Example

This is the second last section of the topic  Inheritance In OOP  where we will study some code snippets. This study will clarify the idea of how to achieve inheritance in JAVA and how it actually works. Without wasting any time and giving length to the post for no reason, let’s start rolling. Prerequisites:  To understand these snippets you should already know what inheritance is. If you don’t, don’t worry. I have a blog post, go  here . Overview : I have written a program named  Example  which depicts real life inheritance properties like a relationship between child and parent, child access to parent properties etc. The program consists of 4 very simple java classes which are extremely easy to understand. However, if you face any issue ping me in comments. I am always there for you.  Example ,  Bob ,  John,  and  Stephen . The bold faced letters are not names of some persons, in fact, these are names of classes which we a...