go-critic: the most stubborn Go Linter

go-critic: the most stubborn Go Linter
 
We are announcing a new linter for Go , which is also a sandbox for prototyping your ideas in the world of static analysis.
 
go-critic is constructed around the following observations:
 
 
It is better to have a "good enough" implementation of the test, than not having it at all
 
If the test is controversial, it does not mean that it can not be useful. Mark as "opinionated" and infuse
 
To write a linter from scratch is usually more difficult than adding a new check to the existing framework, if the framework itself is easy to understand
 
 
In this post, we'll look at the use and architecture ...
+ 0 -

Where is his button ?! As a simple person to download data from Kibana and Elasticsearch and do not strain the developers

Where is his button ?! As a simple person to download data from Kibana and Elasticsearch and do not strain the developersElasticsearch, Kibana and Logstash (ELK) are an excellent set of tools for collecting and visualizing large amounts of data.
 
 
Logs, logs, events - all of this is quite easy to gather, map and displayed in a single tool. Logstash stores data, Elasticsearch stores it, and Kibana displays it in graphical form.
 
 
With all the power of this bundle, of course, there are tasks that can not be realized through the built-in capabilities.
 
 
For example, Kibana perfectly displays data within a single table (index), but as soon as it comes to combining different indexes into one sample, it helplessly ...
+ 0 -

Release of the unofficial MTProto proxy in Python, features protocol

Release of the unofficial MTProto proxy in Python, features protocol

 
Recently, Telegram developers have laid out the source of a proxy server that uses the MTProto protocol. On the hub came out articles about features of its assembly and repackaging the container docker with it . The official proxy server, written in C, surprises with the amount of code - about 23 thousand lines. At the same time, and sometimes a little earlier, several alternative implementations came out, but none of them supported the possibility of advertising their channel.
 
 
In this article I would like to tell you about the little-known peculiarities of the proxy server communication ...
+ 0 -

???-meter docker-image with Telegram MTProxy

As all already heard , at the end of May Telegram unveiled the official MTProto Proxy (aka MTProxy) server written on . In 201? without Docker, there is little to go, because it is accompanied by the same "official" in the zero-config format. All is well, but three "but" slightly spoiled the impression of the release: image weighs> 130 Mb (there is a plump enough Debian, and not the usual Alpine), because of the "zero-config" it is not always convenient to configure (only environment environment parameters) and the guys forgot, hike, lay out the Dockerfile.
 
 
???-meter docker-image with Telegram MTProxy ...
+ 0 -

The Kubernetes project was 4 years old

The Kubernetes project was 4 years old  
 
Last week Kubernetes celebrated its 4th anniversary: ​​ the first commit is in its public code base was held on June ? 2014. On this occasion, one of its founders, Joe Beda, shared in the blog of the project with your memories of how it all began. echoes Craig:
 
 
We have long thought about how to make the launch of applications in production more progressive, "orchestrated". Simply based on our experience with the Google Compute Engine, we first of all saw the problems ...
+ 0 -

Go contribution workshop in Russia

Go contribution workshop in Russia
 
For a long time we planned to send a patch to Go, but always postponed?
 
Faced with difficulties, did not know where to start?
 
In this article I will describe how we conducted the Go contribution workshop in Kazan,
 
about its results, as well as about the lessons that the organizers have learned.
 
Spoiler: It is planned to repeat this event when Go goes into the active development phase (exits the code freeze state). See the details under the cut.
GopherCon .
 
Someone comes to help others understand the work process, pick up the problem and solve it, then go through the review and, ideally...
+ 0 -

The Fusion project on the merge of Tor Browser and Firefox

has been launched. <{full}>
The Fusion project on the merge of Tor Browser and Firefox Activists Tor
announced
about the beginning of the project
FUSION
(translated as "merging", but also represents the abbreviation Firefox USIng Onions). This is a project to integrate Tor Browser functions directly into Firefox.
 
 
As you know, Tor Browser is built on the basis of Firefox ESR with a bunch of patches specific to Tor. Developers of an anonymous browser is not very comfortable to spend time relocating these patches from one repository to another. Therefore, several years ago, together with Mozilla, the Uplift project was organized, which included the automatic inclusion of ...
+ 0 -

Run ROS on the self-balancing robot EduMIP

Run ROS on the self-balancing robot EduMIP

Introduction


 
This publication provides instructions for installing and running the robot operating system (ROS) on the mobile robot EduMIP. EduMiP is a self-balancing robot built around BeagleBone Black with an onboard microprocessor and Beaglebone Black Robotics Cape, developed by James Strawson and Professor Thomas Bewley in concert with the Coordinated Robotics Laboratory at UCSD and their staff. BeagleBone Blue, recently released in mid-201? combines the functions of BeagleBone Black and Robotics Cape in one board. Professor Bewley uses this robot in his MAE144 - Embedded Control & Robotics ...[/h]
+ 0 -

Eclair - Java Spring library of declarative logging

Eclair - Java Spring library of declarative logging  
 
There are a lot of questions about the operation of the services at the development, testing and support stages and all of them are at first sight unlike: "What happened?" , "Was there a request?" , "What is the date format?" , "Why is the service not responding?" etc.
 
 
Correctly compiled log can answer these and many other questions in detail autonomously without the participation of developers. In pursuit of such an enticing goal, the Eclair logging library was born, designed to conduct a dialogue with all participants in the process, without pulling too much blankets.
 
 
About th...
+ 0 -

Evaluation of the test coverage of the Java project using the example of Apache Ignite

I participate in the development of open source project Apache Ignite , working on the project, it became interesting to me to evaluate the test coverage and that's what it turned out.
 
Evaluation of the test coverage of the Java project using the example of Apache Ignite
Java project is to use the coverage runner built into IntelliJ IDEA . It allows you to configure a collection of metrics in a couple of clicks and run tests with subsequent generation of the report.
 
Testing in the Apache Ignite project
 
In the project Apache Ignite for testing uses its own test framework, implemented on the basis of JUnit 3. At the time ...
+ 0 -