SQLite and NW.js - step-by-step instruction for creating a strong friendship

SQLite and NW.js - step-by-step instruction for creating a strong friendshipHello, Habr and its inhabitants! I wanted to sculpt something on HTML and JS, so that it was desktop and convenient. What is needed for this? Correctly. Node.js and NW.js or Electron. Looking at the weak attempts of the holiwara NW vs Electron and reading the documentation of both, it was decided to start to feel NW.js.
 
 
But here after all an ambush. Running npm i sqlite3 installs only those libraries that can be executed directly from the node. And if you try to connect the script to html and run this html in NW.js, then nothing will come of it. Google associates issues only one recipe ...
+ 0 -

Why residents of Western countries are afraid of robots, and the Japanese - no

Why residents of Western countries are afraid of robots, and the Japanese - no
 
[Перевод статьи японского автора Joi Ito — журналиста, предпринимателя и активиста, сотрудничающего с журналом Wired]
 
 
Being a Japanese, I grew up watching anime like Evangelion [Neon Genesis Evangelion], which depicts the future, where people and machines have merged into cybernetic ecstasy. Such programs made us, children, dream about how we will become bionic superheroes. Robots have always been part of the Japanese spirit. Our hero, Astroboy , was officially registered as a resident of the city ...[/Neon]
+ 0 -

We want to replace the devops with a script (in fact, no): developers, you need your opinion

We want to replace the devops with a script (in fact, no): developers, you need your opinion  
We are making a cloud project for development - a platform that can maximize the lives of the devotees, developers, testers, timlides and other specialists involved in the development process. This product is not for now and not for tomorrow, and the need for it is just being formed.
 
 
The idea is based - you can deploy a pipeline with pre-configured tools, but with the ability to make a number of settings, and you will only have to uninstall the code.
 
 
Why such a perversion? We see a clear trend that now the speed of deployment of new projects affects the market. Depends on how quickly releases ...
+ 0 -

A new vulnerability Mikrotik? No, but it's worth checking out your

A new vulnerability Mikrotik? No, but it's worth checking out yourdevices.   On August ? I received a "MikroTik: URGENT security advisory" mailing that a botnet is exploiting the vulnerability of Winbox Service for hacking and infecting devices.  From the text of the mailing it became clear that the vulnerability was still closed on April 2? 2018 in version v???. I started to check the patron devices and found several routers from ???.? one of which was infected.  www.abuseipdb.com/check/???.151   www.abuseipdb.com/check/???.166    If your Mikrotik is not yet updated and the Winbox port is open to everyone, be sure to check the device.  1. Check that the drop ...
+ 0 -

Nodejs and IoT: created for each other

Hello, Habr! I present to your attention the translation of the article " , Nodejs and IoT: a match made in heaven ".
 
 
Nodejs and IoT: created for each other
 
 
The world becomes hyperconnected and digital. That's why we see more and more smart watches, glasses, various portable electronics, smart home devices, vehicles, etc. Thus, there is a huge scope for Internet of Things (IoT), and advanced companies are aware of this.
 
 

The Golden Age of Node.js


 
There are many programming languages, such as Python, Java, C ++, Ruby, etc., that you can use today. However, none of them can be used as the one that best suits each specific ...[/h]
+ 0 -

9 paid, shareware and free programs for tracking application code

The tracking code must-have in the development environment. But how much do you need the same tool in the product? The one who only painstakingly collects the logs will say "well its nafig, my ELK does not let me down" and will be right in his own way. For the time being.
 
 
9 paid, shareware and free programs for tracking application code  
1. Rollbar
 

 
Dashboard Rollbar
 
 
They write on their website "Catch Errors if you can until the users did it for you. " Well, let's try. Rollbar provides a cloud service and is able to work with several programming languages ​​through the implantation of its SDK into a controlled application.
 
 
...
+ 0 -

Browser network shooter on Node.js

The development of multiplayer games is complex for a variety of reasons: hosting them can be expensive, the structure is unobvious, and implementation is difficult. In this tutorial, I'll try to help you overcome the last barrier.
 
 
The article is intended for developers who can create games and are familiar with jаvascript, but have never before written multiplayer online games. Having completed this tutorial, you will master the implementation of the basic network components in your game and be able to develop it into something more! Here's what we'll create:
 
 
Browser network shooter on Node.js
 
Play i...
+ 0 -

Node.js and server rendering in Airbnb

Node.js and server rendering in AirbnbThe material, the translation of which we publish today, is devoted to a story about how Airbnb optimizes the server parts of web applications with an eye to the increasing use of server rendering technologies. For several years, the company has gradually transferred its entire frontend to uniform architecture, according to which web pages are hierarchical structures of React-components, filled with data from their API. In particular, in the course of this process there was a planned abandonment of Ruby on Rails. In fact, Airbnb plans to switch to a new service based solely on Node.js, thanks ...
+ 0 -

No, you do not need machine learning. You need SQL

Some time ago I published a series of tweets about using traditional tools instead of newfangled and complex technologies.
 
 
Tweets went well and got to HackerNews. The consequence of this mini-popularity was an interesting discussion. Some agreed with me, and others called it stupidity and delirium. Well, on the Internet, too, there are gunfights.
 
 
I'm not trying to convince you to use my approach. Rather, I want to explain in more detail what exactly was meant in the initial statement on Twitter.
 
 
Years pass, and you see the emergence of some interesting technologies and concepts: machine ...
+ 0 -

Information Security? No, did not hear

Information Security? No, did not hearA friend of mine asked me today about the hygiene of digital behavior. I will try to outline the principles, following which you will improve your security in the network.
 
 
In this article, I tried to go from quite trivial advice to quite difficult to implement. Everyone must decide for themselves what level of security is acceptable to him personally. Here everything is exactly the same as with safes: there is a safe for one hundred dollars, there is a safe for one hundred thousand dollars. It is foolish to store millions of dollars in the first, and a handful of small things - in the second.
 
 
If yo...
+ 0 -