From b57bb8d6afbafb443d896c0290883309ef885943 Mon Sep 17 00:00:00 2001 From: Ihar Hancharenka Date: Sun, 26 May 2024 10:48:22 +0300 Subject: [PATCH] m --- .../feature/internals/statistics/tips.txt | 20 +++++++++++++++++++ .../cloud/azure/servicebus/entity-suspend.txt | 1 + devops/docs/people/kryukov.txt | 1 + fin/blockchain/mining/asic.txt | 2 ++ .../countries/eu/de/alfred-rozenberg.txt | 2 ++ .../eu/de/{ => anenerbe}/anenerbe.txt | 0 .../countries/eu/de/anenerbe/von-zivers.txt | 2 ++ .../politics/clubs/isborsk/malinetskiy.txt | 2 +- os/editors/neovim/plugins/pl/java.txt | 4 ++++ os/linux/nixos/nixos-anywhere.txt | 1 + os/linux/nixos/tools/cache/cachix.txt | 2 ++ pl/cross/search/meilisearch-rs/articles.txt | 4 ++++ .../data/jpa/features/sort/typedsort.txt | 5 +++++ .../security/oauth/oauth2/server/keycloak.txt | 1 + pl/rs/features/oop.txt | 2 ++ pl/rs/tools/cargo/features/cache.txt | 2 ++ pl/rs/tools/fs-file-system/watchexec.txt | 11 ++++++++++ pl/rs/tools/watchexec.txt | 4 ---- science/ai/docs/articles.txt | 1 + 19 files changed, 62 insertions(+), 5 deletions(-) create mode 100644 db/sql/postgres/feature/internals/statistics/tips.txt create mode 100644 devops/cloud/azure/servicebus/entity-suspend.txt create mode 100644 devops/docs/people/kryukov.txt create mode 100644 nontech/history/countries/eu/de/alfred-rozenberg.txt rename nontech/history/countries/eu/de/{ => anenerbe}/anenerbe.txt (100%) create mode 100644 nontech/history/countries/eu/de/anenerbe/von-zivers.txt create mode 100644 pl/cross/search/meilisearch-rs/articles.txt create mode 100644 pl/java/libfws/spring/data/jpa/features/sort/typedsort.txt create mode 100644 pl/rs/tools/cargo/features/cache.txt delete mode 100644 pl/rs/tools/watchexec.txt diff --git a/db/sql/postgres/feature/internals/statistics/tips.txt b/db/sql/postgres/feature/internals/statistics/tips.txt new file mode 100644 index 000000000..c409cec87 --- /dev/null +++ b/db/sql/postgres/feature/internals/statistics/tips.txt @@ -0,0 +1,20 @@ +************************************************************* +Сегодня у нас будет простой, но очень полезный запрос. Этот запрос позволит нам посмотреть статистику таблицы в PostgreSQL. Но не ту статистику, которая полезна для планировщика запросов в PostgreSQL, т.е. кол-во строк и прочие технические вещи, а статистику по использованию таблицы. + +Т. е. мы увидим сколько строк было вставлено в таблицу, сколько удалено и сколько обновлено. Такая информация может быть нам полезна для оценки интенсивности работы с таблицей и принятия решения об оптимизации работы с ней, переносе таблицы на более быстрый диск, например. + +Запрос будет следующим: + +SELECT relname, n_tup_ins "Total Inserts", +n_tup_upd "Total Updates", +n_tup_del "Total Deletes" +FROM pg_stat_user_tables WHERE +      relname='имя_таблицы'; + +Здесь: + +pg_stat_user_tables - представление, которое содержит информацию по статистике пользовательских, не системных таблиц; + +n_tup_ins, n_tup_upd и n_tup_del - кол-во вставленных, обновленных и удаленных строк соответственно. + +Вот таким нехитрым способом мы можем быстро оценить на сколько сильно загруженная таблица в PostgreSQL. diff --git a/devops/cloud/azure/servicebus/entity-suspend.txt b/devops/cloud/azure/servicebus/entity-suspend.txt new file mode 100644 index 000000000..893cc83b6 --- /dev/null +++ b/devops/cloud/azure/servicebus/entity-suspend.txt @@ -0,0 +1 @@ +https://learn.microsoft.com/en-us/azure/service-bus-messaging/entity-suspend diff --git a/devops/docs/people/kryukov.txt b/devops/docs/people/kryukov.txt new file mode 100644 index 000000000..aacf50c18 --- /dev/null +++ b/devops/docs/people/kryukov.txt @@ -0,0 +1 @@ +https://boosty.to/bigkaa diff --git a/fin/blockchain/mining/asic.txt b/fin/blockchain/mining/asic.txt index 6ea39c5dc..e129870e1 100644 --- a/fin/blockchain/mining/asic.txt +++ b/fin/blockchain/mining/asic.txt @@ -4,5 +4,7 @@ https://forklog.com/sp/ASIC-in-blockchain/ https://habr.com/ru/articles/778074/ ! crypto-heating https://bytwork.com/articles/what-is-asic +2023 +https://habr.com/ru/companies/yadro/articles/780278/ 2022 https://prostocoin.io/blog/asic-mining diff --git a/nontech/history/countries/eu/de/alfred-rozenberg.txt b/nontech/history/countries/eu/de/alfred-rozenberg.txt new file mode 100644 index 000000000..7c11ea8bb --- /dev/null +++ b/nontech/history/countries/eu/de/alfred-rozenberg.txt @@ -0,0 +1,2 @@ +2023 +https://dzen.ru/a/ZWnOqG5FyA0H78EE diff --git a/nontech/history/countries/eu/de/anenerbe.txt b/nontech/history/countries/eu/de/anenerbe/anenerbe.txt similarity index 100% rename from nontech/history/countries/eu/de/anenerbe.txt rename to nontech/history/countries/eu/de/anenerbe/anenerbe.txt diff --git a/nontech/history/countries/eu/de/anenerbe/von-zivers.txt b/nontech/history/countries/eu/de/anenerbe/von-zivers.txt new file mode 100644 index 000000000..9fa81263a --- /dev/null +++ b/nontech/history/countries/eu/de/anenerbe/von-zivers.txt @@ -0,0 +1,2 @@ +2022 +https://dzen.ru/a/Y32qFEBEewl04U3p diff --git a/nontech/politics/clubs/isborsk/malinetskiy.txt b/nontech/politics/clubs/isborsk/malinetskiy.txt index 37c27c35d..aaa4c8330 100644 --- a/nontech/politics/clubs/isborsk/malinetskiy.txt +++ b/nontech/politics/clubs/isborsk/malinetskiy.txt @@ -2,7 +2,7 @@ Georkiy Gennadievich vice-president of RU nano-techno society 2023 -Horoscope - Malinetskiy - Savvateev of 1:39:56 +Horoscope - Malinetskiy - Savvateev 1:03:00 of 1:39:56 https://www.youtube.com/watch?v=plX6bsMnzkE 2022 NDay - Peretolchin - Malinetskiy - New Reality, Selforganisation and Control of the Future of 23:32 of 57:17 diff --git a/os/editors/neovim/plugins/pl/java.txt b/os/editors/neovim/plugins/pl/java.txt index 1b2f925ec..b29e18a68 100644 --- a/os/editors/neovim/plugins/pl/java.txt +++ b/os/editors/neovim/plugins/pl/java.txt @@ -1,3 +1,7 @@ +https://github.com/mfussenegger/nvim-jdtls + +2024 +https://www.reddit.com/r/neovim/comments/1cytzff/how_can_neovim_be_improved_for_java_need_help_for/ 2022 https://sookocheff.com/post/vim/neovim-java-ide/ https://habr.com/ru/articles/760234/ diff --git a/os/linux/nixos/nixos-anywhere.txt b/os/linux/nixos/nixos-anywhere.txt index 0c4c71c44..426a81aa2 100644 --- a/os/linux/nixos/nixos-anywhere.txt +++ b/os/linux/nixos/nixos-anywhere.txt @@ -4,6 +4,7 @@ https://nix-community.github.io/nixos-anywhere/ https://github.com/nix-community/nixos-anywhere https://github.com/nix-community/nixos-anywhere/tree/main/docs +https://github.com/nix-community/nixos-anywhere/blob/main/docs/quickstart.md https://github.com/nix-community/nixos-anywhere/blob/main/docs/howtos/no-os.md#installing-on-a-machine-with-no-operating-system 2023 diff --git a/os/linux/nixos/tools/cache/cachix.txt b/os/linux/nixos/tools/cache/cachix.txt index c68c85371..3df14fc55 100644 --- a/os/linux/nixos/tools/cache/cachix.txt +++ b/os/linux/nixos/tools/cache/cachix.txt @@ -11,5 +11,7 @@ https://github.com/colemickens/nixpkgs-wayland https://blog.cachix.org/posts/2020-11-09-write-access-control-for-binary-caches/ CACHIX_AUTH_TOKEN or via configuration file by running cachix authtoken. +2024 +https://blog.cachix.org/posts/2024-01-12-cachix-v1-7/ 2020 https://fzakaria.com/2020/08/11/caching-your-nix-shell.html diff --git a/pl/cross/search/meilisearch-rs/articles.txt b/pl/cross/search/meilisearch-rs/articles.txt new file mode 100644 index 000000000..21c15ca5e --- /dev/null +++ b/pl/cross/search/meilisearch-rs/articles.txt @@ -0,0 +1,4 @@ +2023 +https://blog.kerollmops.com/meilisearch-expands-search-power-with-arroy-s-filtered-disk-ann +https://blog.kerollmops.com/multithreading-and-memory-mapping-refining-ann-performance-with-arroy +https://blog.kerollmops.com/spotify-inspired-elevating-meilisearch-with-hybrid-search-and-rust diff --git a/pl/java/libfws/spring/data/jpa/features/sort/typedsort.txt b/pl/java/libfws/spring/data/jpa/features/sort/typedsort.txt new file mode 100644 index 000000000..a54fab192 --- /dev/null +++ b/pl/java/libfws/spring/data/jpa/features/sort/typedsort.txt @@ -0,0 +1,5 @@ +// Sort stringySort = Sort.by("age"); + +TypedSort typedSort = Sort.sort(Employee.class); +Sort sort = typedSort.by(Employee::getAge); +List result = employeeRepository.findAll(sort); diff --git a/pl/java/libfws/spring/security/oauth/oauth2/server/keycloak.txt b/pl/java/libfws/spring/security/oauth/oauth2/server/keycloak.txt index c1775655e..dd0cab398 100644 --- a/pl/java/libfws/spring/security/oauth/oauth2/server/keycloak.txt +++ b/pl/java/libfws/spring/security/oauth/oauth2/server/keycloak.txt @@ -55,6 +55,7 @@ RealManual - Egorov - ArgoCD+Keycloak nnm:1692389 2023 +https://habr.com/ru/companies/axenix/articles/780422/ https://habr.com/ru/articles/779170/ https://habr.com/ru/articles/772010/ https://habr.com/ru/articles/716232/ diff --git a/pl/rs/features/oop.txt b/pl/rs/features/oop.txt index 3854a58fc..f952e9fb0 100644 --- a/pl/rs/features/oop.txt +++ b/pl/rs/features/oop.txt @@ -1,3 +1,5 @@ +2023 +https://www.thecodedmessage.com/posts/oop-3-inheritance/ 2020 https://blog.darrien.dev/posts/so-you-want-to-object/ 2017 diff --git a/pl/rs/tools/cargo/features/cache.txt b/pl/rs/tools/cargo/features/cache.txt new file mode 100644 index 000000000..f170799ad --- /dev/null +++ b/pl/rs/tools/cargo/features/cache.txt @@ -0,0 +1,2 @@ +2023 +https://blog.rust-lang.org/2023/12/11/cargo-cache-cleaning.html diff --git a/pl/rs/tools/fs-file-system/watchexec.txt b/pl/rs/tools/fs-file-system/watchexec.txt index bca531b24..7005aa8de 100644 --- a/pl/rs/tools/fs-file-system/watchexec.txt +++ b/pl/rs/tools/fs-file-system/watchexec.txt @@ -1 +1,12 @@ +https://watchexec.github.io/ + https://github.com/watchexec/watchexec + +https://crates.io/crates/watchexec +https://github.com/mattgreen/watchexec + +https://github.com/passcod/notify + +2024 +https://cohost.org/watchexec +https://cohost.org/watchexec/post/3818997-watchexec-library-3 diff --git a/pl/rs/tools/watchexec.txt b/pl/rs/tools/watchexec.txt deleted file mode 100644 index bfd989fb3..000000000 --- a/pl/rs/tools/watchexec.txt +++ /dev/null @@ -1,4 +0,0 @@ -https://crates.io/crates/watchexec -https://github.com/mattgreen/watchexec - -https://github.com/passcod/notify diff --git a/science/ai/docs/articles.txt b/science/ai/docs/articles.txt index 4e0de7f2d..59a91e601 100644 --- a/science/ai/docs/articles.txt +++ b/science/ai/docs/articles.txt @@ -2,6 +2,7 @@ https://dev.to/maximsaplin/ai-assisted-coding-sleeping-on-a-volcano-3mf9 https://proglib.io/p/ii-assistenty-razrabotchika-skrytaya-ugroza-2024-04-15 2023 +https://eao197.blogspot.com/2023/12/progworkflame.html https://github.blog/2023-10-30-the-architecture-of-todays-llm-applications/ https://habr.com/ru/articles/777248/ https://habr.com/ru/articles/777366/