myStack
890 subscribers
761 photos
15 videos
27 files
310 links
Меня зовут Ростислав и я разработчик.

Это мой личный блог.

Я пишу на Go, читаю книги про технологии и пишу об этих и других вещах сюда.


Книги:
https://bit.ly/rostislav-books

Личка:
https://t.me/Rostislaved

Сайт:
Rostislav.me
Download Telegram
Предполагается, и это хорошо согласуется с возрастом Луны, что спутник нашей планеты возник в результате столкновения по касательной Земли и крупного тела размером с Марс[5]. В результате такого крупного столкновения, во-первых, изменился наклон земной оси (до 23°), во-вторых, произошло массовое плавление мантии с образованием магматического океана с глубиной до 700 км.

О как. Оказывается у нас есть лето и зима благодаря Луне. (Они существуют из-за наклона оси вращения Земли под углом 23*, что неравномерно греет разные части планеты)
Сутки в то время длились 6 часов и приблизительно равнялись периоду обращения Луны, однако последний очень быстро возрастал.
По гипотезе, которая считается основной, метеорит, который убил динозавтров упал сюда.
🤩
Про разницу работы и хобби
https://habr.com/ru/post/561716/
Без права на восстановление
Forwarded from гиг пиг ниг
> Get vaccinated. Stop believing the anti-vax lies.

Linus Torvalds
https://lkml.org/lkml/2021/6/10/957
Забавно) TODO'шка в стандартной библиотеке Go)
У меня вопрос про здоровье.

Кто-нибудь, когда-нибудь разбирался с тем, какие проверки здоровья надо проходить? (скрининг\чекап\диагностика\обследование и т.д.)

Почему я об этом думаю? Ну звоночков несколько. 1й - увидел в инсте девчонку, которая закупилась тонной всяких бадов с iHerb. 2й - рак легче диагностировать и вылечить на ранней стадии. У меня сейчас всё абсолютно в порядке (по крайней мере я так думаю), но хочу, чтобы если что-то начало зарождаться, то я это смог рано обнаружить.

Отсюда, пришло осознание, что надо делать периодическую проверку здоровья. Но как это делать, я даже нагуглить не могу. Инфы и мало и много. Может кто занимался вопросом?

В общем на данном этапе цель вижу так - найти\составить комплекс каких-то обследований и анализов, которые делать периодично. Ну и еще, можно какими-то витаминками закупиться, типо омеги, д и т.д. Но не наобум, а адекватно. Тут часто советуют: "Сходи к врачу" - спасибо) это первое, что мне в голову пришло, но как делать не представляю. Приду и что сказать? Драсьте, у меня всё ок, какие анализы мне сдать? Ну может это и нормально, но хотелось бы услышать про это
Forwarded from oleg_log (Oleg Kovalov)
A day in the life of a professional software engineer

If you’re a graduate interviewing for a software job and wondering what a typical day is like, here’s some notes from what I did last Tuesday. It was a pretty typical day.

First, as soon as I got to work I realized the night shift had set the linked list up backwards. Doh! I quickly went to the whiteboard to figure out how to reverse it. This won’t be a problem much longer as our team is switching to a double-ended linked list soon. We’re presenting to management about it next week.

I grabbed the first task from my work queue: One of our customers has a long string, and they need to find whether a smaller string is contained within it. This is our bread-and-butter as software engineers. I quickly coded up a Rabin-Karp search with a rolling hash, and had the answer for them by 10am.

Coffee, then task two: The QA team rejected the sort implementation I did last week. I’d written a basic Bubble Sort, and QA wanted to beat O(n2) for the average case. No problem, I switched to a Merge Sort and was done by lunchtime.

That reminded me that I hadn’t finished my Big O calculations for the design review later this week, so that was my first task after lunch. Junior engineers only do the ‘n’ part, but as a senior I do the constant as well. I have three more functions to calculate.

Greg, my colleague came over, he needed help balancing his tree. He’s using a Red-Black; those are tricky. After a quick consult with Dave our lead engineer, I helped Greg switch his design to an AVL. He has a lookup-intensive use case, so it’s a better match.

And that’s it, I headed for the bus station and home. But wait, my day wasn’t over! The bus driver’s watch was broken, and he needed to time 15 minutes. Luckily I had with me two ropes of varying density, both of which burn for exactly one hour…

https://www.darkcoding.net/software/a-day-in-the-life-of-a-professional-software-engineer/
All of humanity’s problems come from man’s inability to sit quietly in a room alone.
(c) Blaise Pascal
мне на 11ю
Forwarded from Двач
This media is not supported in your browser
VIEW IN TELEGRAM
Владельцам кондиционеров привет, остальным соболезнуем
“If procedures and functions are verbs and pieces of data are nouns, a procedure-oriented program is organized around verbs while an object-oriented program is organized around nouns”
Звук и изображение можно представить, как матрицу. И это очень красиво! И к тому же удобно.
Вот тут несколько очень простых и наглядных примеров. И то, как с ними работает библиотека питона NumPy.
Один в один матлаб на питоне)
https://habr.com/ru/company/skillfactory/blog/564240/
Jenkins and Glasgow observe that “most programmers work in one language and use only one programming style. They program in a paradigm enforced by the language they use. Frequently, they have not been exposed to alternate ways of thinking about a problem, and hence have difficulty in seeing the advantage of choosing a style more appropriate to the problem at hand”