From 7049bdd129ebcd17f0ab8a566a04a4cd3a5a9710 Mon Sep 17 00:00:00 2001 From: Ihar Hancharenka Date: Fri, 18 Aug 2023 19:09:04 +0300 Subject: [PATCH] m --- db/nosql/mongo/features/network-compression.txt | 1 + db/sql/docs/books.txt | 2 ++ db/sql/mssql/docs/books.txt | 3 +++ pl/cross/coredump/books.txt | 4 ++++ .../methodologies/microservice/docs/books.txt | 3 +++ .../test/automation/karate/docs/books.txt | 3 +++ pl/java/libfws/fp/docs/books.txt | 3 +++ pl/java/libfws/io/err/sneakythrow.txt | 17 +++++++++++++++++ pl/java/libfws/spring/rest/rest-template.txt | 2 ++ 9 files changed, 38 insertions(+) create mode 100644 db/nosql/mongo/features/network-compression.txt create mode 100644 pl/cross/coredump/books.txt create mode 100644 pl/cross/tools/quality/test/automation/karate/docs/books.txt diff --git a/db/nosql/mongo/features/network-compression.txt b/db/nosql/mongo/features/network-compression.txt new file mode 100644 index 000000000..37a5dc974 --- /dev/null +++ b/db/nosql/mongo/features/network-compression.txt @@ -0,0 +1 @@ +https://www.mongodb.com/docs/drivers/node/current/fundamentals/connection/network-compression/#std-label-compression-dependencies diff --git a/db/sql/docs/books.txt b/db/sql/docs/books.txt index 3df11d739..e68e8884b 100644 --- a/db/sql/docs/books.txt +++ b/db/sql/docs/books.txt @@ -2,6 +2,8 @@ Hughes - SQL Query Design Patterns and Best Practices B55D176F3FC4504A52650A65AEA0B58C ! MS specific +Simon - Getting Started with SQL and Databases + ! prety simple 2022 Shields - SQL Quick Start Guide ru E7913689CF89B8E86DE0BBA34E1849B1 diff --git a/db/sql/mssql/docs/books.txt b/db/sql/mssql/docs/books.txt index 568170966..2090e1922 100644 --- a/db/sql/mssql/docs/books.txt +++ b/db/sql/mssql/docs/books.txt @@ -1,3 +1,6 @@ +2023 +Korotkevich - SQL Server Advance Troubleshooting and Performance Tuning ru + ???? 2022 Fritchey - SQL Server 2022 Query Performance Tuning 1CC1FE1B8493625D762C656DEE6DDDF4 diff --git a/pl/cross/coredump/books.txt b/pl/cross/coredump/books.txt new file mode 100644 index 000000000..65ee0314b --- /dev/null +++ b/pl/cross/coredump/books.txt @@ -0,0 +1,4 @@ +2023 +Vostokov - ... + B52B3DE3CF7E924FA1EEE7DBA0A18BF4 + 7C3D6AAD13BD65F99F5981D8CA04728B diff --git a/pl/cross/methodologies/microservice/docs/books.txt b/pl/cross/methodologies/microservice/docs/books.txt index 4a6688c79..2d307d2d1 100644 --- a/pl/cross/methodologies/microservice/docs/books.txt +++ b/pl/cross/methodologies/microservice/docs/books.txt @@ -1,3 +1,6 @@ +???? +Waila - Mastering Cloud Native Microservices + ! good, but arch-only 2022 OliveiraRocha - Practical Event-Driven Microservices Architecture 90EEB7AF617ECBD34E54E91F1693FDBC diff --git a/pl/cross/tools/quality/test/automation/karate/docs/books.txt b/pl/cross/tools/quality/test/automation/karate/docs/books.txt new file mode 100644 index 000000000..00d90c1ad --- /dev/null +++ b/pl/cross/tools/quality/test/automation/karate/docs/books.txt @@ -0,0 +1,3 @@ +2023 +Bischoff - Writing API Tests with Karate + ! need to find diff --git a/pl/java/libfws/fp/docs/books.txt b/pl/java/libfws/fp/docs/books.txt index 754c2deb7..bd96bca82 100644 --- a/pl/java/libfws/fp/docs/books.txt +++ b/pl/java/libfws/fp/docs/books.txt @@ -1,3 +1,6 @@ +2023 +Weidig - A Functional Approach to Java + 5598D83FC6643344AAD521185CF20B6B 2017 Saumont - Functional Programming in Java EE8F3550CB34120C359781A40CA3D4AB diff --git a/pl/java/libfws/io/err/sneakythrow.txt b/pl/java/libfws/io/err/sneakythrow.txt index f53016abe..13990efa4 100644 --- a/pl/java/libfws/io/err/sneakythrow.txt +++ b/pl/java/libfws/io/err/sneakythrow.txt @@ -1,3 +1,20 @@ +Well, there’s one exception to the rule (pun intended). You can take advantage of a change in Java’s type inference +regarding Generics and Exceptions in Java 8. +In simple terms, if there are no upper or lower bounds on a generic method signature with throws E, +the compiler assumes the type E to be a + RuntimeException. + +This allows you to create the following sneakyThrow: + + void sneakyThrow(Throwable e) throws E { + throw (E) e; +} + +Regardless of the actual type for the argument e, the compiler assumes throws E to be a RuntimeException +and thereby exempts the method from the catch-or-specify requirement. +The compiler might not complain, but this approach is highly problematic. + + https://stackoverflow.com/questions/27644361/how-can-i-throw-checked-exceptions-from-inside-java-8-streams https://projectlombok.org/features/SneakyThrows diff --git a/pl/java/libfws/spring/rest/rest-template.txt b/pl/java/libfws/spring/rest/rest-template.txt index b12158fbd..5dc627b61 100644 --- a/pl/java/libfws/spring/rest/rest-template.txt +++ b/pl/java/libfws/spring/rest/rest-template.txt @@ -1,6 +1,8 @@ https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/test/web/client/TestRestTemplate.html https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/http/ResponseEntity.html +import org.springframework.web.client.RestTemplate + 2023 https://www.baeldung.com/spring-resttemplate-exchange-postforentity-execute 2021