Validation of rows with validate.it.js

Validation of rows with validate.it.jsIf you recall all the TK with descriptions of field validation - they always looked like this:
 
 
must not be shorter than 6 characters
 
must not exceed 12 characters
 
It should include only Latin characters, numbers and an underscore
 
 
Requirements often come in a set of simple single-valued phrases. And we programmers translate these requirements into code.
 
You can turn them into one ultimatum regular expression, like
 
const validateLogin = login => /^[a-zA-z_d]{?12} $ /. Test (login);
 

But better than write more simple functions that are easier to read and bind to direct TK:


 
  ...[/a]
+ 0 -

Mobile 3D game on Unity3D in less than 90 hours

Mobile 3D game on Unity3D in less than 90 hours Greetings! Today, I will tell you about my experience developing the game on Unity for the Android platform, in less than 90 hours, on the example of creating a simple "runner". In the course of the narrative, I will touch upon some details and key stages, describing all possible pitfalls and methods for their solution. This story describes the process of creating a game for mobile platforms, from concept to finished product. I hope it inspires you to create your own project, or it will help shed light on some features of the Unity engine. Without further ado, let's get down to business!
 
...
+ 0 -

PCI DSS hosting: what you need to know

Recently we in IT GRAD successfully recertified cloud infrastructure for compliance with the requirements of the PCI DSS standard and obtained a PCI DSS Managed Service Provider certificate, it means that we can provide hosting services for PCI DSS. Next, we'll tell you what it is and introduce you to the existing services: co-location, IaaS Basic, IaaS Advanced.
 
 
PCI DSS hosting: what you need to know

 
/photo Neil Turner ...
+ 0 -

Testing service API and RSpec

Sometimes there is a need to write a small IPA service, often in the form of a prototype. And often this prototype then remains in the originally written form following the principle of "works - do not touch." Rewriting even a relatively small service involves the possibility of making an error or an occasional insignificant change in behavior, which is not immediately apparent. To help here comes testing ...
+ 0 -

Revelations of an employee of large IT companies[в Кремниевой долине]

This letter came to me via e-mail. I just edited it a bit to remove some personal data. The story is long, so I hide it under the cut:
 
 

Prehistory


 
[Ранее]I joined Google as a technical director. I think that this happened after Larry either proposed, or personally tried to dismiss all project managers, because he considered that only a few of their actions can be considered productive.
 
 
At this time, a lot of people were pestering the company's thresholds. Quite a few of them, after careful checks and mandatory passage of "intelligence tests", were able to get inside. The main slogan was: ...[/h]
+ 0 -

What does the program have between the lines

What does the program have between the lines

 
Knowledge of the rules of the chess game does not yet make a person a grandmaster, knowledge of the programming language does not yet make a person a programmer. And what is missing in both cases? We are looking for answers to both questions from recognized masters and trying to illustrate our own examples.
 
"- And what is it, comrades, an idea? The idea, comrades, is a human thought, clothed in a logical chess form. Even with insignificant forces you can master the whole board. Everything depends on each individual individually. For example, that blond guy in the third row. Suppose he plays well
 
The b...
+ 0 -

About life, freedom and the pursuit of happiness of the user API

About life, freedom and the pursuit of happiness of the user APIWe are constantly confronted with systems created by other people. Whether it's UI applications in a smartphone or the cloud infrastructure of the modern Internet - it is the interaction process that determines our feelings, impressions, and ultimately - the attitude to technology. We can be in the role of engineers, developers or ordinary users - user experience is important everywhere. Around the systems with good UX, a society of happy, contented and productive people is formed; a bad UX only leads to pain and suffering.
 
Even if you do not pay attention to yourself, creating a new software...
API / .NET
+ 0 -

We invite March 17 to a meeting of the Moscow Testers Club

We invite March 17 to a meeting of the Moscow Testers Club
 
 
Hello! Friends, we invite you on Saturday, March 1? to the Mail.Ru Group office for the next meeting of the Moscow Software Testing Club. As always, participants will exchange experiences and discuss working cases in an informal setting. Program of the meeting under the cut.
 
Registration for the event is mandatory.
 
 
For those who can not attend in person, a video broadcast will be organized. The link to the broadcast will be available at Facebook before the beginning of the meeting.  Hello! Friends, we invite you on Saturday, March 1? to the Mail.Ru Group office for the next meeting of the Moscow Software Testing Club. As always, participants will exchange experiences and discuss working cases in an informal setting. Program of the meeting under the cut.  Registration for the event is mandatory.  For those who can not attend in person, a video broadcast will be organized. The link to the broadcast will be available at Facebook before the beginning of the meeting...
+ 0 -

Underwater Stones Service Workers

Underwater Stones Service WorkersIn this short essay, I will describe those things about service workers, about which I would like to read a year or at least six months ago and thereby avoid a very long and painful period of debugging the application.
 
 
If you came here on request such as "what the hell is my service vorker does not work on production?", Welcome to the cat.
 
reference .
 
 
I also really needed this material and I'm very sorry that I inattentively acquainted with it when I first started acquaintance with the ServiceWorker API.
 
 
In practice, the Service Worker API allows you to do such a magical ...
+ 0 -

Investigation of cyber attacks in 2017: 47% of attacks are aimed at the infrastructure of

Investigation of cyber attacks in 2017: 47% of attacks are aimed at the infrastructure ofcompanies.   According to the collected by experts Positive Technologiesstatistics , the most frequent targets of attacks in 2017 were the infrastructure and web resources of companies, and among the main trends of the year experts call Trojans-encryptors, the development of the cyber services market, attacks on banks, crypto-exchange exchanges and ICO.  The main trend of 201? of course, were the Trojans-coders. Moreover, as the analysis of the behavior of malefactors showed throughout the year, the problem is not so much extortionists as the viruses that irrevocably encrypt data, causing huge damage ...
+ 0 -