How to handle errors on JVM faster

How to handle errors on JVM fasterThere are various ways to handle errors in programming languages: 3r33371.
 
 
standard exceptions for many languages ​​(Java, Scala and other JVM, python, and many others) 3r3105.  
status codes or flags (Go, bash)
 
various algebraic data structures, the values ​​of which can be both successful results and error descriptions (Scala, haskell, and other functional languages) 3r3105.  
 
Exceptions are used very widely, on the other hand they are often said to be slow. But opponents of the functional approach often appeal to performance. 3r33333.
 
Recently, I have been working with Scala, where ...
+ 0 -

Welcome to the Waves Blockchain Hackathon

Waves Platform is one of the world's largest blockchain platforms, it is among the top twenty blockchain companies in the world. In December, Waves holds a hackathon for developers: we invite you to get acquainted with the ecosystem of products, the project team and join the blockchain community. 3r3391.  
3r3391.  
Welcome to the Waves Blockchain Hackathon 3r3391.  
3r311. 3r3394. 3r3391.  
Three days from December 14 to 16 at the Digital October site in Moscow, the hackathon of the blockchain will be held. Participants will be able to: 3r3391.  
3r3391.  
3r362.  
solve problems and offer your blockchain solutions, 3r374.  
visit workshops and ...
+ 0 -

Testing the white box

3r33816. The development of high quality programs implies that the program and its parts are being tested. Classic unit testing involves breaking a large program into small blocks suitable for testing. Or, if the development of tests occurs in parallel with the development of code or tests are developed before the program (TDD - test driven development), then the program is initially developed in small blocks that meet the requirements of tests. 3r33838. 3r33814.  3r33825. 3r33816. One of the varieties of unit testing can be considered as propery-based testing (this approach is implemented, for ...
+ 0 -

ShadowCloud is a universal

ShadowCloud is a universalcloud client. 3r3145. 3r3-31.Currently, many companies provide cloud storage service, but each has its own proprietary client and their functionality, as a rule, leaves much to be desired. 3r3145. The existing alternatives did not suit me for many reasons, so I decided to make my own universal client - 3r3888. shadowcloud3r3133. 3r3145.Something like this: 3r3145. 3r3133. 3r3145.What can 3r3145. 3r3398.  3r3145.Direct download (without using a local disk) to Google Drive, Yandex Disk (WebDAV), Cloud Mail.Ru, Dropbox 3r3145.Full default encryption, a large selection of algorithms and settings 3r3107.  3r3145.Password ...
+ 0 -

Apache Ignite + Apache Spark Data Frames:

Apache Ignite + Apache Spark Data Frames:is more fun together.Hi, Habr! My name is Nikolai Izhikov, I work for Sberbank Technology in the development team for Open Source solutions. Behind shoulders 15 years of commercial development in Java. I am an Apache Ignite committer and an Apache Kafka contributor. 3r33440.  3r33440.  Under the cat you will find a video and text version of my report on the Apache Ignite Meetup on how to use Apache Ignite with Apache Spark and what features we have implemented for this. 3r33440.  3r33440.   3r33440.   https://ignite.apache.org/community/resources.html 3r33440.  3r33427.  3r33434. The sources here are https://github.com/apache/ignite/ ...
+ 0 -

Cassandra Sink for Spark Structured Streaming

A couple of months ago, I started exploring Spark, and at some point I was faced with the problem of saving Structured Streaming calculations in the Cassandra database. 3r33333.  
3r33333.  
In this post, I give a simple example of creating and using Cassandra Sink for Spark Structured Streaming. I hope that the post will be useful to those who have recently started working with Spark Structured Streaming and are wondering how to upload the results of calculations to the database. 3r33333.  
3r33333.  
The idea of ​​the application is very simple - to receive and parse messages from the Kafka...
+ 0 -

What for to the person Scala?

Hello colleagues.
 
 
Not so long ago we pre-printed book Oderski, Spoon and Venners about Scala ???. After all, before Scala 3 is still far away.
 
 
What for to the person Scala?
 
The author of today's article is Adam Worski, co-founder of SoftwareMill and an experienced Scala developer. He got an interesting summary of the strengths of the modern language Scala, which we offer to your attention.
 
plenary lecture Martin Oderski on ScalaDays, where he laid out plans for Scala 3 and plenary lecture John de Gous at the Scalapeño conference about the ...
+ 0 -

Chisel - (not quite) a new approach to the development of digital logic

Chisel - (not quite) a new approach to the development of digital logic
 
With the development of microelectronics, rtl designs have become more and more. The re-usability of the code on verilog delivers a lot of inconvenience, even with the use of generate, macros and chips system verilog. Chisel, however, makes it possible to apply the full power of object and functional programming to the development of rtl, which is quite a welcome step, which can fill the lungs of light developers ASIC and FPGA.
 
In this article, we will give a brief overview of the main functional and consider some use cases, and also talk about the shortcomings of this language. In the future, if the ...
+ 0 -

Alexey Zinoviev about BigData + ML on jug.msk.ru

July 1? 2018 in the office of the company CRIC the meeting of the Moscow community of Java developers was held. jug.msk.ru , the speaker at which was Alexei Zinoviev. The topics of the meeting were Big Data and machine learning ( machine learning ).
 
 
Alexey Zinoviev about BigData + ML on jug.msk.ru
 

 

About the speaker


 
In the sphere of interests of Alexei is Big Data and machine learning ( ? ML [/i] ). Conducts trainings and makes reports on Apache Spark and Apache Ignite . In Apache Ignite is an ...
+ 0 -

Distributed processing of graphs with Spark GraphX ​​

Distributed processing of graphs with Spark GraphX ​​
 
 
"Simplicity is prerequisite for reliability" by Edsger Dijkstra
 
 

Prologue


 
The graphs are such a clear and easy-to-understand data structure, since Leonard Euler's time has forced to break the minds of mankind over diverse tasks, such as how one can go through all seven bridges of Koenigsberg without going through either of them twice or as a traveling mediator, to find the very profitable route.
 
Documentation from Databricks.
 
 
As for me, the best way to deal with any technology is to try to write something on it. In this article, we will analyze the similarity of the "social network" ...[/h]
+ 0 -