28 Oct 2018

Which programming language is better to learn in 2019 - Python or Node JS

Python is a programming language; Node.js is not. The language here is JavaScript, while Node.js is a runtime environment for JavaScript.
When you write in Node.js, you use the same language for both the frontend and the backend.
1. The advantages of Python
  • Python is much friendlier for junior developers.
  • Most Python frameworks don’t require a very high skill level from the developers. A good example of that is Django, which has a mature ecosystem and allows you to write quality code fast.
  • Python is more universal and versatile. While it can also be used for desktop apps, the main use case for Node.js is the web. The applications of Python, on the other hand, go far beyond the web.
  • Python is more compatible with other programming languages. If your software project has highly complex demands that require a lot of additional speed, Python can be more easily backed up by different languages, such as Cython, if need be.
  • Python is simpler to use, better covered, and better documented. This gives Python an edge over Node.js, even though both technologies are admittedly very fast to write in.
  • Node.js developers generally have a more universal skillset. Because they have the same language on the frontend and the backend, they need to be a JavaScript developer to use Node.js. This interdisciplinarity can come in handy when you least expect it, especially when there’s a fire you need to put out quickly.
  • Node.js developers are more flexible and versatile. Node.js is more demanding and requires a higher level of advancement on the developers’ side than what it takes to write simple code in Python. It’s a bit ironic, when you think about it. Universality and versatility are qualities you can apply to both Python and Node.js. The difference is that with Python they relate to what is being written, as opposed to who is doing the writing in Node.js.
  • With Node.js, you can use JavaScript to code everything. Node.js allows you to code both the frontend and the backend using JavaScript. This means you don’t need that many different technologies.
  • The Node.js community is large and JavaScript is one of the most dynamic and fastest-growing programming languages out there. Python no longer has the advantage of numerous libraries and frameworks it used to enjoy for many years, as JavaScript has caught up to it on that front by now.
  • Python offers several tried and tested libraries that support ML;
  • it’s easier to find machine learning experts who are well versed in Python than JavaScript;
  • more devices service Python, which allows you to limit the costs of distribution to the market;
  • MicroPython—a lighter and smaller version of Python—can be run with less power, making it more efficient than JavaScript.

2. The advantages of Node.js
3. The problem with Node.js and JavaScript
JavaScript may be developing super fast now, but that wasn’t always the case.
In the beginning, the language was written haphazardly, and to this day it is still struggling with issues caused by its old versions and their compatibility.
JavaScript’s recent rise in popularity has brought with it another curious downside.
So many developers have turned to the language in such a short period of time lately that it’s pretty difficult to keep up with all the new updates and tech intricacies
The rapid growth of JavaScript libraries brings with it documentation problems, which consequently results in poor quality for Node.js. That is precisely why more skilled developers are necessary for the backend—handling it well requires more preparation beforehand.
Sadly, this is nothing new for JavaScript; it’s actually quite typical. If history has taught us anything, it’s that Python has always been more reliable.
Crucial aspects to consider
Comparing technologies is always a challenge, and the question of Python vs. Node.js is no different.
Here are 2 main points, each focusing on a different side of the story, that will help you make an informed decision.
Speed and performance
Here’s the thing about Node.js: it can’t do too many things at the same time unless you write very well in it. Both Python and Node.js only pretend to be able to do a whole lot of stuff at once—Python just pretends better.
Use Node.js poorly, and you might easily end up with a slow-working, low-performance product. If your project involves a particularly time-consuming task, it’ll put all the focus there while other functionalities will lag behind.
When written correctly, your software will send information to the operating system that it needs to perform a certain function and move on, while the system works on that. But if you write that poorly, the app will wait for the system to complete that task, doing nothing else in the meantime.
For the end user, this will seem like your software is slow. Such problems notoriously occur when a lot of people use your product at the same time.
A huge benefit of Python is that some of its frameworks are specifically designed to spare you that trouble. Django, for example, has built-in solutions to handle high overload. That is why Python puts fewer technical expectations on the developers.
The main difference is that Node.js is designed to use a small number of workers. This is why it may slow down easily when some of the workers hang. However, it may also perform much better due to not wasting time on context switching between them.
The opposite approach is to use many workers. In this case, when some of them hang, the users served by the rest of them don’t suffer.
New technologies
Python is perfectly suited for new technologies, especially machine learning.
Here’s why:
  • Python offers several tried and tested libraries that support ML;
  • it’s easier to find machine learning experts who are well versed in Python than JavaScript;
  • more devices service Python, which allows you to limit the costs of distribution to the market;
  • MicroPython—a lighter and smaller version of Python—can be run with less power, making it more efficient than JavaScript.
On the other hand, Node.js is more comfortable to use for the Internet of Things, when you compare the most popular libraries for Python or JavaScript. Golang is also an excellent choice for new technologies.
As always, the choice is yours, and it depends on what you’re trying to build.
At the end of the day, it doesn't make that much of a difference whether you choose Python or Node.js.
Some Python frameworks, like asyncio, allow you to work in Python the same way you would in Node.js. It’s possible to make the experience really similar if you care about it enough.
The journey may differ, but the destination can be very much the same.

19 Oct 2018

Proof for google is spying you- check with 7 links

1. Find out what Google thinks about you
In order to serve relevant ads, Google collects data about you and creates a profile. You can control and review the information Google has on you herehttp://www.google.com/settings/ads/
Google also has a tool called Google Analytics, that helps publishers see what pages you have viewed on their website, how many times you have visited it, how long did you stay etc. You can opt out if you don’t want this type of data to be collected: http://tools.google.com/dlpage/gaoptout
2. Find out your location history
If you use Android, your mobile device may be sending your location to Google. You can see your entire location history herehttps://maps.google.com/locationhistory
3. Find out your entire Google Search history
Google saves every single search you have ever done. On top of that, they record every Google ad you have clicked on. This log is available in Google web history controls: https://www.google.com/history/
4. Get a monthly security and privacy report from Google
Google offers an Account activity page that tells you about all the Google services you are using. You can even enable a monthly report that will be sent to your email: https://www.google.com/settings/dashboard
5. Find out all the apps and extensions that are accessing your Google data
The Account activity page also offers a list of all the apps that have any type of access to your data. You can see the exact type of permissions granted to the app and revoke access to your data here:https://security.google.com/settings/security/permissions
6. Export all of your data out of Google
Google lets you export all your data: bookmarks, emails, contacts, drive files, profile info, your youtube videos, photos and more here: https://www.google.com/takeout
7. BONUS
Google also keeps a history of your YouTube searches. You can find it here: https://www.youtube.com/feed/history/search_history


Google Spying me and you?! Can you live Google Free?-switch to the DuckDuckGo app

Did you know that when you search on Google, they Keep your search history forever? That means they know every search you have ever done on google. That alone is pretty scary, but it’s just the shallow end of the very deep pool of data that they try to collect on people.
What most people don’t realize is that even if you don’t use any Google products directly, they’re still trying to track as much as they can about you. Google trackers have been found on 75% of the top million websites. This means they're also trying to track most everywhere you go on the internet, trying to slurp up your browsing history!
Most people also don’t know that Google runs most of the ads you see across the internet and in apps – you know those ones that follow you around everywhere? Yup, that’s Google, too. They aren’t really a search company anymore – they’re a tracking company. They are tracking as much as they can for these annoying and intrusive ads, including recording every time you see them, where you saw them, if you clicked on them, etc.
But even that’s not all…
If You Use Google Products
If you do use Google products, they try to track even more. In addition to tracking everything you’ve ever searched for on Google (e.g. “weird rash”), Google also tracks every video you’ve ever watched on YouTube. Many people actually don’t know that Google owns YouTube; now you know.
And if you use Android (yeah, Google owns that too), then Google is also usually tracking:
·         Every place you’ve been via Google Location Services.
·         How often you use your apps, when you use them, where you use them, and whom you use them to interact with. (This is just excessive by any measure.)
·         All of your text messages, which unlike on iOS, are not encrypted by default.
·         Your photos (even in some cases the ones you’ve deleted).
If you use Gmail, they of course also have all your e-mail messages. If you use Google Calendar, they know all your schedule. There’s a pattern here: For all Google products (Hangouts, Music, Drive, etc.), you can expect the same level of tracking: that is, pretty much anything they can track, they will.
Oh, and if you use Google Home, they also store a live recording of every command you’ve (or anyone else) has ever said to your device! Yes, you heard that right (err… they heard it) – you can check out all the recordings on your Google activity page.
Essentially, if you allow them to, they’ll track pretty close to, well, everything you do on the Internet. In fact, even if you tell them to stop tracking you, Google has been known to not really listen, for example with location history.
You Become the Product
Why does Google want all of your information anyway? Simple: as stated, Google isn’t a search company anymore, they’re a tracking company. All of these data points allow Google to build a pretty robust profile about you. In some ways, by keeping such close tabs on everything you do, they, at least in some ways, may know you better than you know yourself.
Because Google is not really a search company; they are an advertising company. On Google, your searches are tracked, mined, and packaged up into a data profile for advertisers to follow you around the Internet through intrusive and annoying ever-present banner ads, using Google’s massive ad networks, embedded across millions of sites and apps
And Google uses your personal profile to sell ads, not only on their search engine, but also on over three million other websites and apps. Every time you visit one of these sites or apps, Google is following you around with hyper-targeted ads.
It’s exploitative. By allowing Google to collect all this info, you are allowing hundreds of thousands of advertisers to bid on serving you ads based on your sensitive personal data. Everyone involved is profiting from your information, except you. You are the product.
It doesn’t have to be this way. It is entirely possible for a web-based business to be profitable without making you the product – since 2014, DuckDuckGo has been profitable without storing or sharing any personal information on people at all..
The Myth of “Nothing to Hide”
Some may argue that they have “nothing to hide,” so they are not concerned with the amount of information Google has collected and stored on them, but that argument is fundamentally flawed for many reasons.
Everyone has information they want to keep private: Do you close the door when you go to the bathroom? Privacy is about control over your personal information. You don’t want it in the hands of everyone, and certainly don’t want people profiting on it without your consent or participation.
In addition, privacy is essential to democratic institutions like voting and everyday situations such as getting medical care and performing financial transactions. Without it, there can be significant harms.
On an individual level, lack of privacy leads to putting you into a filter bubble, getting manipulated by ads, discrimination, fraud, and identity theft. On a societal level, it can lead to deepened polarization and societal manipulation like we’ve unfortunately been seeing multiply in recent years.
You Can Live Google Free
Basically, Google tries to track too much. It’s creepy and simply just more information than one company should have on anyone.
Thankfully, there are many good ways to reduce your Google footprint, even close to zero! If you are ready to live without Googlewe have recommendations for services to replace their suite of products, as well as instructions for clearing your Google search history. It might feel like you are trapped in the Google-verse, but it is possible to break free.
For starters, just switching the search engine for all your searches goes a long way. After all, you share your most intimate questions with your search engine; at the very least, shouldn’t those be kept private? If you switch to the DuckDuckGo app and extension you will not only make your searches anonymous, but also block Google’s most widespread and invasive trackers as you navigate the web.
DuckDuckGo has been a profitable company since 2014 without storing or sharing any personal information on people using our search engine. What you search on DuckDuckGo is private, Its a business model for a web-based business that’s profitable without making your personal information the product

The Big Myth
It’s actually a big myth that search engines need to track your personal search history to make money or deliver quality search results. Almost all of the money search engines make (including Google) is based on the keywords you type in, without knowing anything about you, including your search history or the seemingly endless amounts of additional data points they have collected about registered and non-registered users alike.
In fact, search advertisers buy search ads by bidding on keywords, not people. It makes intuitive sense, too. If you search for ‘car’, you are more likely to respond to a car ad than something you searched for last week.
This keyword-based advertising is our primary business model. When you search on DuckDuckGo, we can show you an ad based on the keywords you type in. That’s it. And it works.
Google, Facebook, and The Creepy Line
Eric Schmidt, former Google CEO and Chairman, famously said Google’s policy on a lot of these things is to get right up to the creepy line, but not cross it.” But for most people, that line was crossed by Google, Facebook, and others long ago.
Alarmingly, Google now deploys hidden trackers on 76% of websites across the web to monitor your behavior and Facebook has hidden trackers on about 25% of websites, according to the Princeton Web Transparency & Accountability Project. It is likely that Google and/or Facebook are watching you on most sites you visit, in addition to tracking you when using their products.
As a result, these two companies have amassed huge data profiles on individuals, which can include interests, past purchases, search, browsing and location history, and much more. This personal data is stored indefinitely and used for invasive targeted advertising that can follow you around the Internet.
This advertising system is designed to enable hyper-targeting, which has many unintended consequences that have dominated the headlines in recent years, such as the ability for bad actors to use the system to influence elections, to exclude groups in a way that facilitates discrimination, and to expose your personal data to companies you’ve never even heard of.
The operative question is, though, is all of this tracking necessary to make substantial profits? Is this the only way to run a profitable digital consumer focused service company? Not in my opinion. The fact is, these companies would still be wildly profitable if, for example, they dropped all of these hidden trackers across the web and limited the amount of data they keep to only what is most necessary.
Yes, this additional tracking probably helps them compete with each other and adds some incremental revenue, but I believe the vast majority of their revenue would still exist if the tracking dial was turned way down, and they backed far away from the creepy line.
The reason is simple: Google and Facebook are the undisputed champions of audience and reach across the internet, something advertisers will always pay for. Their business models don’t need to be this invasive.
It is a choice to squeeze every last ounce of profit at the expense of privacy, democracy and society. A choice they don’t have to make. Without all this tracking, I’m confident they would still be among the most profitable companies in the world, and we’d all be better off.
Anonymous Affiliates
As mentioned, DuckDuckGo is profitable based mostly on keyword-based search ads, though we have always been on the search for other ways to anonymously make money so that we can reduce the dependence on advertising. The only other way we’ve found so far, which currently accounts for a much smaller portion of our revenue, is non-tracking affiliate partnerships with Amazon and eBay.
When you visit those sites through DuckDuckGo, including when using !bangs, and subsequently make a purchase, we receive a small commission. This mechanism operates anonymously and there is no personally identifiable information exchanged between us and Amazon or eBay. These partnerships also don't affect the ranking of search results. The reason we can do this in an anonymous way with Amazon and eBay, though not with other retailers, is because Amazon and eBay run their own affiliate networks.
What Other Companies Can Do
At the beginning of this answer, I noted that other companies using an advertising business model could follow a similar path to DuckDuckGo. Here are a few actionable things companies can do to remain profitable without tracking the maximum amount of information possible on consumers:
·         Favor interest-based advertising instead of hyper-targeted advertising. For us, that is basing ads just on the keywords people type in. For others, that could mean basing ads on the content on the page and not on the individual viewing the page.
·         Sell advertising directly based on such interests, avoiding going through the hyper-targeted advertising systems of Google and Facebook.
·         Consider using an anonymous affiliate system like DuckDuckGo does as described above. This can help you get away from as much advertising on your pages.

Programming Languages Used To Create Chatbots


A chatbot is basically a software you can chat with. If you use it right, your life will be much easier — instead of searching something on the internet, you can simply ask chatbots what you want to know.

Although they can’t think like a human yet, they still enable you to directly interact with the brand you’re interested in, which was previously close to impossible.

Chatbots are leading the digitization of the human interaction, and there is no doubt they’re becoming an unavoidable part of our everyday lives. 2018 seemed to be the year of chatbots, but 2020 is going to be even bigger. If you have an idea for a chatbot, and still don’t know which programming language to choose, here are the options for easily building a chatbot:


If you have an idea for a chatbot, and still don’t know which programming language to choose, here are the options for easily building a chatbot:
1. Python
Python is used mostly for it’s simplicity. It has a straightforward syntax and it’s object-oriented. It is also one of the most widely used programming languages in the field of Artificial Intelligence, again, thanks to it’s simplicity. AIl chatbots are easy to write in Python with the use of AIML — Artificial Intelligence Markup Language. AIML is actually a form of XML for creating natural language software agents
2. Clojure
Clojure is a dialect of a programming language called Lisp. It’s a functional programming language that runs on Java Virtual Machine. Clojure enables you to write your app’s code as a series of functions which are easy to understand and easy to test. As a functional language, it highlights recursion and higher-order functions instead of side-effect-based looping. It was designed by Rick Hickey, who said he wanted a modern language for functional programming, which would work on the established Java platform.
3. PHP
Creating a chatbot in PHP is very cheap because it’s an open source language and it’s very easy to use. It is much faster than other scripting languages and there are many libraries available for you to work with API. If you create a chatbot in PHP, it will be very easy to run it on any platform since it’s platform independent. PHP is a high-level language and a chatbot can be very easily created with it.

4. Java

Java can provide you with all the high-level features you need for AI projects. If you want to build an AI chatbot, Java is probably the best language you can use because it offers an easy way to code algorithms, and AI is full of them. It also runs on the Java Virtual Machine technology and if you use it you can create an application that runs on any platform. Java has the most important features for a sophisticated interface, like facilitated visualization and standard Widget toolkit.

5. Ruby

Ruby has a very simple syntax which allows beginners to create a chatbot easily. It is in many ways similar to Perl and Python. Ruby is a dynamic and object-oriented programming language. In this language, everything is an expression and everything is executed imperatively. However, creating a chatbot with Ruby might be expensive. It is initially available for free, but you will need to buy a licence at some point. It is also not very flexible for developers since it’s not independent like Java or PHP.




18 Oct 2018

Future Technologies@2020


Future Technology

As 2018 progresses, here are 5 future technologies you can expect to reach the public in the next couple of years.
1. Internet of Things


The Internet of Things has long been talked about amongst tech insiders as the next big innovation in home technology. In recent years, IoT has begun carve a niche for itself in everyday life with the growing adoption of systems like Google’s Home and Amazon’s Alexa. These devices will continue to integrate more aspects of the home into one harmonious system by utilizing the internet, allowing a user to control anything from the air conditioning to their security via voice command and a small personal assistant.
2. Automation

While large-scale innovation in automation has traditionally been limited to the production side of society, the technology will have far reaching implications for consumers by 2020. Amazon’s automated grocery store, eliminating the need for cashiers, has been one of the first major tech triumphs of the year.
The store has proven itself successful as an efficient alternative for shoppers in its first location. The current cost of this technology, however, puts it out of the reach of pretty much any other storefront. As the technology continues to develop, consumers can expect that pressure sensors and cameras that automate pay and alleviate long lines in stores will be coming to groceries and pharmacies near you in the next couple of years.
3. Crypto Currency

After Bitcoin’s meteoric price jump in 2017, major tech players have begun to take crypto currencies seriously. Along with major Initial Coin Offerings that have hit major news outlets like Etherium, smaller companies are developing Stablecoins that provide attempt to provide all the pros of cryptocurrency transactions without the price fluctuations that have plagued the system.
As these coins begin to work themselves out and exchanges even out the fluctuations in prices, expect these assets to be mainstream methods of payment by 2020.
4. Block Chain
Blockchain, the decentralized ledger that holds together cryptocurrencies, has applications reaching far beyond financial transactions. Companies have applied the technology to everything, from simplifying tracking and access to information in academia to interesting and amusing games that use complex algorithms to create unique experiences.
5.Artificial Intelligence

In particular, with the rise of the Internet of Things, Information Technology and Cybersecurity firms have begun to adopt artificial neural networks in order to monitor and prevent DDoS attacks.
In addition to its security applications, companies like Amazon and Google have begun to apply the technology to regular consumers in order to simplify shopping and searching experiences on the platforms. With all the current progress of AI technology, it is reasonable to expect that by the year 2020 the innovation will be deeply entrenched in both business and consumer activities.

22 Sept 2018