Tag: программирование

Hash (mis)usage: tales from the prod

Few observations in regards to hash usage, in projects where data volume and spikes in load shift engineering from the KISS paradigm to the extent where you have to really care about underlying technologies and data structures. There are different hash functions tailored for different use cases – quick pattern matching in Rabin-Karp algorithm, prefix …

Continue reading

Language of the data

My ultimate SQL Memo

LLM derive schema from unstructured data and build pyspark ETLs

still, understanding what you can do via plain SQL – allow you to choose what to ask and leverage insights from the data much more efficient

no magick wand – hard work 🙂

How to increase throughput of your engineering teams?

On interview preparation: algorithms and data structures recap

With this article I want to go a little bit further than widespread memos “X most common data structures for interviews”. I am not only interested in information about asymptotic complexity. The real value – understanding whether particular algorithms or data structure can be beneficial in particular case: real life tasks rarely given with hints …

Continue reading

Собеседование на программиста в 2019 – к чему готовиться

Осень-зима 2018-2019 года выдались у меня на редкость насыщенными: ориентировочно, с октября по февраль я поучаствовал в доброй сотне собеседований на позиции уровня Senior-Principal-Lead. Четыре из них были из России (ну мне честно было интересно как тут у нас сейчас), остальные Европа и Англия. Куда-то дальше по разным причинам не хотелось – хотя и пообщался …

Continue reading

7 sins of blatant ignorance and how to avoid them

…You produce software for some time. In most cases it even works. Other developers tend to care about your opinion. Damn, you even wear some fancy title like senior\principal\architect. And here it is – suddenly you were offered to wear really posh title – CTO… This is moment when real troubles get started. I did …

Continue reading

Heterogeneous vector in c++ – overview of common approaches

heterogeneous container in c++

So, you are wondering about heterogeneous vector in c++? Maybe even dare to dream about any suitable substitution of such non-existent container? In another word, you need a generic-like container that can store different datatypes. If you just need a quick answer – stick with std::vector < boost::any> approach or read this, If you need …

Continue reading

How to convert png pair of RGB and Depth frames into Pointcloud library PCD format

There are a lot of accessible dataset of RGB-D data: http://vision.in.tum.de/data/datasets/rgbd-dataset http://rgbd-dataset.cs.washington.edu/dataset.html http://research.microsoft.com/en-us/projects/7-scenes/ http://www0.cs.ucl.ac.uk/staff/M.Firman/RGBDdatasets/ But usually it stored in PNG format and unfortunately Pointcloud library do not provide built-in function neither for treating it as a PointCloud nor for conversion it to PCD. For my experiments I need to test few points using data with …

Continue reading

Templates in plain C

Templates in ANSI C – simple and convenient method for emulating c++ like templates in plain c. Sample project, which demonstrate this technics can be found at github. So, it is our constraints: ANSI C (no templates, inheritance, overloading, default params etc.) set of almost the same user-defined structures (the common difference – is types …

Continue reading

Что почитать для проф развития программисту

Давно хотел как-то упорядочить свой список книг для внеклассного чтения для повышения проф-пригодности. Эти книжки для тех программистов, которые уже не совсем новички. Возможно уже и не совсем программисты – техлиды/архитекты. И хотят данную ситуацию усугубить. Я из них прочитал еще не все 🙁 Но галочки уже расставляю 🙂 зы. Не думаю, что это нужно/интересно/полезно …

Continue reading