Analysis of performance tasks with JBreak (Part 1)

Analysis of performance tasks with JBreak (Part 1)The first part - parsing the most holivarnoy problem of four:
 
 
void forEach (List
values, PrintStream ps) {
values.forEach (ps :: println);
}
void forEach (List
values, PrintStream ps) {
values.stream (). forEach (ps :: println);
}
void forEach (List
values, PrintStream ps) {
values.parallelStream (). forEach (ps :: println);
}

 
Under the terms of the problem, the history of their appearance, as well as the analysis of the first task and statistics of its correct decisions among the participants of the conference.
 
...
+ 0 -

Blockchain on Go. Part 2: Proof-of-Work

Blockchain on Go. Part 2: Proof-of-WorkHello, Habr! I present to your attention the translation of the article " Building Blockchain in Go. Part 2: Proof-of-Work ".
 
 

Introduction


 
In the previous article we built a very simple data structure, which is the basis for the database blockage. We also made adding blocks with a chain link between them: each block is associated with the previous one. Alas, our implementation of blocking has one significant drawback: adding blocks to the chain is too simple and cheap.
 
 
One of the cornerstones of Bitcoin and blockade is that adding new blocks should be quite a difficult job...[/h]
+ 0 -

Lightning Network In Depth, part 2: HTLC And Payment Routing

Lightning Network In Depth, part 2: HTLC And Payment RoutingIn last article we discussed in detail the work of payment channels, as well as several different methods for ensuring the security of payments passing through them, but this is still not enough to build a working
network
channels: even if we are sure that all channels play honestly inside each channel, we can not guarantee the delivery of funds through the chain through a number of channels. And here we are helped by smart contracts, called HTLC (hash-time-lock-contracts). In this article, we will discuss the principle of their operation, and let's continue the payment for the Lightning ...
+ 0 -

Training FastTrack. "Networking basics." "The Value of Cisco Routers". Eddie Martin. December, 2012

About a year ago, I noticed an interesting and fascinating series of lectures by Eddie Martin, which is incredibly intelligible, thanks to his history and examples from real life, as well as his tremendous experience in teaching, allows him to gain an understanding of quite complex technologies.
 
 
Training FastTrack. "Networking basics." "The Value of Cisco Routers". Eddie Martin. December, 2012  
 
We continue the cycle of 27 articles on the basis of his lectures:
 
 
Training FastTrack. "Networking basics." "Understanding the OSI model." Part one. Eddie Martin. December, 2012
 
 
Training FastTrack. "Networking basics." "Understanding ...
+ 0 -

Compact varint - uniqueness and large values ​​for the same cost

Attention: Code presented in Article slightly different from the original EncodeVarint and DecodeVarint and gives other results. Be careful.
 
In multiformats /unsigned-varint discussing the correct number entry in varint it was noticed that many numbers in the original varint can be written in sequences of different lengths. This will give different blocks and their hashes with identical values ​​encoded in protubuffer .
 
The original varint is
 
The original varint simply divides the number into ...
+ 0 -

DigiCert recalls 23 thousand SSL certificates: what is the reason for

March ? the customers of the reseller SSL certificates Trustico have learned , that 23 thousand certificates will be canceled within 24 hours. The response was initiated by the DigiCert certification center - this was done because Trustico had closed SSL client keys.
 
 
More details about what happened, we will tell further.
 
 
DigiCert recalls 23 thousand SSL certificates: what is the reason for

 
/Pexels / Skitterphoto / CC
 
 

Characters


 
Trustico sells Symantec, GeoTrust, Thawte and RapidSSL ...[/h]
+ 0 -

Goldman Sachs lured the lead engineer Google to develop the API for his services

Goldman Sachs lured the lead engineer Google to develop the API for his services
 
 
By
Media Bank Goldman Sachs is actively engaged in the development of its own financial API. To do this, the financial giant even entices the leading engineers of large technology companies - so in March the leading engineer of Google Reinaldo Aguiar will go to work in the bank. At the previous place of work, he was engaged in search mechanisms and created special signals. Prior to working with a technology giant, the specialist worked as an engineer at Yahoo, where he also specialized in working with search data. TipRanks . It is a service that automatically ...
+ 0 -

Do not deny yourself anything: give carte blanche to unprintable reviews about our events in our blog

+ 0 -

Operating systems from scratch; Level 0

Operating systems from scratch; Level 0
 
Good afternoon /evening /night /morning! There is one experimental course on operating systems. He is at Stanford University. But some of the materials are available to everyone. In addition to the slides, full descriptions of practical exercises are available.
 
How does this course differ from the others? Most of the code is written independently and is run on a very real modern hardware. The target platform is Raspberry Pi 3 model B . Those. quite relevant architecture AArch64. ARMv8 Cortex-A5? four cores, 64-bits and that's it. The main programming language is ...
+ 0 -

Swift vs. Kotlin. The differences are important

Swift vs. Kotlin. The differences are important
 
This post is a free translation of Article Swift vs. Kotlin - the differences that matter by Krzysztof Turek
 
You must have seen this comparison is Swift and Kotlin. Pretty interesting, right? I agree that there are many similarities in these languages, but in this article I will draw attention to some aspects that still separate them.
 
here ), and in Kotlin - one more reference to the same object ( more detailed ...
+ 0 -