std::move(thoughts) – Telegram
std::move(thoughts)
351 subscribers
1 photo
31 links
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
Download Telegram
#life

Деньги или вклад?

Это интересный вопрос, которым я переодически задаюсь со своими знакомыми.

Вот ты вроде работаешь в какой-то интересной сфере, учишься, ведёшь какие-то свои блоги или просто рассказываешь людям про что-то и это всё супер круто и интересно. Но в тоже время ты же можешь делать какую-то крайнюю херню, которая никак не влияет на развитие технологий, людей и т.п. и зарабатывать 100х , но ты не будешь ничего привносить в этот мир.

Это как ответ на вопрос, в чём смысл жизни? Для каждого он свой, но для меня это пока что:

— Оставить что-то после себя и прожить весёлую жизнь.

Стоит сказать, что врачам на территории СНГ стоит отдать отдельные почести, работать за такие деньги это подвиг.
👍21🔥1
#life

Четвёртая часть про продуктивность

Здесь мы будем отдыхать😊

Я долгое время учился чувствовать свой организм и свой уровень усталости. Снова приходим у тому, что нужно слушать себя и понимать когда нужно отдохнуть. Сейчас я пользую очень рискованным триком и работаю до момента, когда понимаю ещё немного и будет уже не весело. Т.е. условно я знаю, что после недели работы, учебы и подготовки к экзаменам я буду буду мертвый морально и физически и именно в этот момент нужно дать себе сутки отдыха, тогда всё будет хорошо и можно врываться в ещё одну неделю с новыми силами.

Вы заметили, что только 1 день, да?

Так вот в этом и состоит трик, если знать как работает твой организм и разум, можно сокращать время сна, отдыха, общения с людьми и чувствовать себя лучше, чем когда-либо.

Раньше я не понимал, что после сильного периода бота нужно отдохнуть сутки, просто ничего не поделать, поболтать с друзьями, пойти погулять. В итоге выгорал и отлетал на 2-3 дня, пропускал все дедлайны или делал их через очень большое услилие.

Сейчас я могу недельку жёстко ботать, потом день отдыхать и с каждой недели я выигрываю ещё 1 день продуктивной работы!

Есть ещё альтернативная раскладка, когда можно бить этот день отдыха на пару кусков по пару часов, это удобно когда есть много встреч с друзьями(меня болталки с людьми расслабляют).

Закончим ещё одной интересной темой. Я слышал про методику, когда стоит менять город раз в пару лет или же раз в пол года уезжать куда-то на недельку отдыхать, жду фидбек от вас в коментах, т.к. сам пока что не тестил.
2🔥1
Since this moment of time I’m goona write all posts only in English. The reason for this is my desire to develop a community that understands this language, as well as preparation for writing a large amount of essays and texts in English(I’m starting my IELTS and SAT preparation). If you find any mistakes in my texts, please comment it or dm me.
7😢4
I’ve been thinking for a while about switching to English and I’m not sure, that I want to loose this sense and vibe of Russian. And I decided to write everything in English till my exams. After it I’ll decide to switch back or not.

Today I have some interesting sources, that I found and tested in ~3 months.

https://annas-archive.org/ — really good search engine for books, comicses etc.

https://news.1rj.ru/str/digital_insights/19 — post about rendering big scenes using clusters from my colleague.

https://youtu.be/OuizzRCALCU — I’m currently working on optimising my day routine, sleep and etc. So found this really cool 👌

crackmes.one — This site is awesome. You can literally practice reverse engineering and A&CS there!!!

That’s all for today, have a good one🍀
❤‍🔥41🔥1
I started using Arc(not the version control system) and found it fresh and useful. Now I’m trying to integrate it into my workspace and maybe will write my final opinion later. But this is close beta and you can not just download it:(

But I can share some invite links for you!

Click! Click! Click!

Notice: If you don’t want to use it please don’t steal invite from others.
3🔥1
Continuing about productivity and etc. Found this article really useful and simple, actually I’ve invented this method by myself cause just didn’t know about it. Now you can just read it and don’t spend years:)
1👍1🔥1
About Math in general
I’m trying to complete my first year at HSE and I’m not а super straight A's student and I skipped a lot of classes, so I found this great site about Math, btw founded by ex-HSE docent. It’s in Russian so feel free to explore.
🤩71👍1🔥1
#common
Some minor news.
I again decided to move all my life thoughts, life hacks and notes(#life) to another channel(@lifes_notes). The reason for this is really simple, I personally prefer to read something about CS and work separately from things connected with life.
1
#common #cpp #sources
Haven't been here for a while. Summer passed really fast, June and July I 'd been working a lot, in August took 2 weeks and travelled around the Europe.

It appears that I can't post here only my articles and etc, caused by luck of my life experience. But I really want to share with you something interesting, and as an experiment I want just share here some article excerpts and etc.

My former colleague posted some interesting thoughts about compile time dependencies in cpp.
As part of my study in HSE now I'm actively reading a lot about cpp and here you can find a useful article about iterators.
And I started to learn concurrency taught by Lipovskiy, the beginning of course is solid and makes me think that it's gonna be really useful in my feature, but it's to soon to make any serious conclusions.
🤡8🔥41
#common #nvim #terminal
I really adore using terminal in my daily coding, because once you learned your shortcuts you become as fast as possible, but "It's not just shortcuts that unite us."
I put writing my own noscripts in the back of my mind for a long time, and now the time has come. And I did this mistake a lot of times with learning tmux, vim, etc. Spend some of your time learning tools that you use every day, it will make your life a lot easier and save you a lot of time you can spend more wisely.
Simple noscript for creating environment for course solving.
🤡12🔥51
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.
🤔31🤡1
ZEDnew 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.
👍4🐳21💯1
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.
4
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
Trading at light speed -- dive into accurate data orginizing while developing trading system. Gives some cool point about "premature optimizations" and designing your system "fast"
FSync(danlark) -- some thoughts about fsync from danlark. I find it interesting how we sometimes can't do simple things for years. Moving some operations directly into the kernel gives huge cuts, but it took a very long time to do it.
🤡6👍4🦄1
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
👍1🐳1
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
👍1🐳1
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🐳1🤨1
Как-то в моменте понял, что когда хочется что-то написать в этот канал часто думаю, а надо ли, а как это сделать на английском, в итоге много материала, который я поглащаю уходит в стол, решил так не делать. Пока я хочу блог будет на русском. Может когда-нибудь и на английском будет...

Lecture 3: GFS
Хорошее обзорное видео про то как устроена и зачем вообще нужна GFS, на самом деле там много обсуждается скорее проблема хранения больших данных, нежели статья. Мне понравилось.

Вастрик пост
Много, очень много полезных рассылок, я подписался на пару, думаю пофилтровать какое-то время что-то оттуда и достать самое полезное, если тлдр что я оттуда взял, это темы: финансы, менеджмент продукта, новости стартапов и т.п.

Лекция про безопасноть(Яндекс)
Какие-то обьективные базы про то, как происходит общение в сети и что вообще произойдёт, когда ты придёшь и напишешь в строке браузера ya.ru
6🗿3🔥1🐳1
ThreadSafetyAnalysis
Прикольная тулза разрабатываемая гуглом для стаического анализа дата рейсов в плюсовом коде, она конечно требует анотаций и доп код, насколько я понял, но то, что такое развивается это круто.
👍3
HTTPWTF. Необычное в обычном протоколе
Много всякой полезной информации про HTTP протокол, там же внутри ссылка на то, как Твиттер кешировал ваши личные переписки из-за ошибки в хедере и о том, как вебсокеты игнорят стандарты CORS

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