std::move(thoughts)

Description
Leetcode, c++/go/rust/python and anything related with my study and work.
Some daily life thoughts: @lifes_notes
Owner: @h0tmi
My articles: #pub
Some tags, that I use: #cpp #lecture #common #sources
We recommend to visit

Community chat: https://t.me/hamster_kombat_chat_2

Website: https://hamster.network

Twitter: x.com/hamster_kombat

YouTube: https://www.youtube.com/@HamsterKombat_Official

Bot: https://t.me/hamster_kombat_bot

Last updated 1 month ago

Your easy, fun crypto trading app for buying and trading any crypto on the market.
📱 App: @Blum
🤖 Trading Bot: @BlumCryptoTradingBot
🆘 Help: @BlumSupport
💬 Chat: @BlumCrypto_Chat

Last updated 6 months, 3 weeks ago

Turn your endless taps into a financial tool.
Join @tapswap_bot


Collaboration - @taping_Guru

Last updated 1 month, 2 weeks ago

1 month, 2 weeks ago

Generic: Change the Way You Write Exception-Safe Code — Forever
Небольшая статейка про то как мы должны были бы писать обработку ошибок в плюсовом коде, но, к сожалению, рыночек порешал и ничего подобного мы не пишем.

When should you use ( ) vs. { } syntax to initialize objects?
Герб Саттер про использование скобочек-конструкторов в плюсах. Очень мастрид.

Быстрый json
Когда пишешь что-то на python обычно не паришься и импортишь стандратную либу, которая работает. Но оказывается есть ujson и orjson, которые написаны на си/rust и работают в 3-6 раз быстрее и экономнее по памяти. Лушче использовать их, но из минусов их надо ставить...

1 month, 2 weeks ago

HTTPWTF. Необычное в обычном протоколе
Много всякой полезной информации про HTTP протокол, там же внутри ссылка на то, как Твиттер кешировал ваши личные переписки из-за ошибки в хедере и о том, как вебсокеты игнорят стандарты CORS

DeadLockEmpire
Игра на потренироваться думать как шедулер и сломать плохо написанный код. Спасибо Роме Липовскому за это:)

1 month, 3 weeks ago

ThreadSafetyAnalysis
Прикольная тулза разрабатываемая гуглом для стаического анализа дата рейсов в плюсовом коде, она конечно требует анотаций и доп код, насколько я понял, но то, что такое развивается это круто.

4 months, 2 weeks ago

https://www.dragonflydb.io/blog/dragonfly-cache-design -- tell how they have implemented a cache, which is kind of better than LRU due to hit rate analysis.

5 months ago

Pprof -- a tool for visualization and analysis of profiling data
Jobserver implementation -- explains the GNU make "jobserver" feature, which enables parallel execution of jobs by managing how many commands can run simultaneously.
Distributed locking -- discusses concerns about the Redlock algorithm for implementing fault-tolerant distributed locks with Redis
https://libcxx.llvm.org/Hardening.html
Pricing Options Using Monte Carlo Simulation -- a beautiful short video about trading using Monte Carlo algorithm, short, pleasant, useful

5 months, 1 week ago

redir cpp -- post about cpp and linux, a bit demagogy but had fun reading
metrics -- common knowledge about metrics distribution
cmu databases-- lateral explanation, some databases basic commands
Limit Order Book -- introduction to trading, basic knowledge
Highload.Fun -- pretty good competition platform where you can optimize your code untill it runs blazingy fast

7 months, 2 weeks ago

https://habr.com/ru/articles/111874/ -- TRIE explanation and some ideas where to use it

https://www.youtube.com/watch?v=_doRiQS4GS8 -- a baseline to understand how concepts and metaprogramming works. Found it easy to understand but need more materials to actually understand.

https://www.cs.umb.edu/~poneil/lsmtree.pdf -- during my internship at YTSaurus and now in SaaS finally decided to read something about LSM trees. A little bit more then on wiki.

https://en.wikipedia.org/wiki/Bloom_filter -- need to know probabilistic data structure to fast determination if elements exists or no

1 year, 1 month ago

Telegraph — Vanya wrote summarized artcile about bimap. Didn’t hear about this data structure before, got inspired by.

Oh my fibers — a good overview of fibers, can be used as an recap or an entering point.

1 year, 2 months ago

ZED — ~~new text editor~~
I've tried it one evening just to understand that there is nothing better than nvim for me now.

This editor is cool, yes, but I don't know why should I use it instead of simple terminal + tmux + nvim. Maybe if I had no my own config it would be great to have c++ and etc. language server from the box, but that's all. The main idea that it provides fast start and it plays really fast starts to fall apart when you want to add some new features because you have to add it throw json config, then it doesn't metter where to add it in your own nvim config or in theirs json. I can assume that a lot of people really don't know how to use vim and this editor is going to change their mind. So if you are still using Clion or some other IDE feel free to try it.

1 year, 3 months ago

Preface
As a part of my new year’s goals list I want to start this every week posts in both of my channels(@lifes_notes @loopynerd) where I share with you some of interesting articles and videos that I’ve watched. Firstly I do it to stimulate the habit of writing, I really like to write something but sometimes just too tired or lazy for it. Then this is really cool to have all this stuff that I once upon a time read, so I can fast check on it if needed. And the last but not the least is the idea of giving something really interesting and helpful to others.

My favourite C++ leak — It’s interesting how you can get memory leaks without using new/delete, btw we had this problem maybe a month ago with a friend of mine.

Design of memory allocator(RU) — some basics about memory allocators, especially about dlmalloc and jemalloc, found it really useful for my course project, but the author sometimes got stuck on implementations, so 2x recommended.

Память – идеальная абстракция — polished and shortened part of the second part of the lecture above.

Trojan Source — during the CAOS course in my university I dug into unicode/ascii codes and this article about exploits in code using unicode, found interesting how you can execute any code, even pass the code review.

We recommend to visit

Community chat: https://t.me/hamster_kombat_chat_2

Website: https://hamster.network

Twitter: x.com/hamster_kombat

YouTube: https://www.youtube.com/@HamsterKombat_Official

Bot: https://t.me/hamster_kombat_bot

Last updated 1 month ago

Your easy, fun crypto trading app for buying and trading any crypto on the market.
📱 App: @Blum
🤖 Trading Bot: @BlumCryptoTradingBot
🆘 Help: @BlumSupport
💬 Chat: @BlumCrypto_Chat

Last updated 6 months, 3 weeks ago

Turn your endless taps into a financial tool.
Join @tapswap_bot


Collaboration - @taping_Guru

Last updated 1 month, 2 weeks ago