Category: Программирование

Chronicles of one crypto-arbitrage bot

TLDR; Crypto-arbitrage bot code is released here – https://github.com/kruglov-dmitry/crypto_crawler. I can’t develop in c++ fast enough, not yet within golang sect, so have to use python. It was painfully educative fun. Chronicles of one crypto-arbitrage bot Some time ago friend of mine, innocent in terms of exposure to bloody details of executing mid-term IT projects, …

Continue reading

On interview preparation: nuances of python

From my perspective mastering particular language is still secondary skills for programmer. For sure it will affects architecture of software and may add advantages for some use cases of handling data flows, but overall, in the long run, decent design of system coupled with carefully catered algorithms much more important. Nonetheless within this article I …

Continue reading

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

How to stop being a junior – 7 hints of programmer productivity

0) If you don’t know something – don’t afraid to ask. Especially if you already checked first page of google search and pretty sure that no one ask that question at stackoverflow. Reinventing the wheel and breaking the stalemate can be a good exercise for your home projects, but in production environment better to check …

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

Information retrieval, Search and recommendation engine:

Natural language processing: https://class.coursera.org/nlp/lecture – Processing of texts written in ordinal languages https://company.yandex.com/technologies/matrixnet.xml – search algorithm by Yandex http://www.quora.com/What-is-the-search-algorithm-used-by-the-Google-search-engine-What-is-its-complexity Information retrieval: http://nlp.stanford.edu/IR-book/html/htmledition/irbook.html – Introduction to Information Retrieval, Cambridge http://stackoverflow.com/questions/25803267/retrieve-topic-word-array-document-topic-array-from-lda-gensim http://stats.stackexchange.com/questions/89356/document-similarity-gensim http://machinelearning.wustl.edu/mlpapers/paper_files/BleiNJ03.pdf – Latent Dirichlet Allocation (LDA) http://radar.oreilly.com/2015/02/topic-models-past-present-and-future.html http://en.wikipedia.org/wiki/Topic_model Few examples of applications for the above: http://graus.nu/tag/gensim/ https://github.com/sandinmyjoints/gensimtalk/blob/master/gensim_example.py http://stackoverflow.com/questions/27032517/what-does-the-output-vector-of-a-word-in-word2vec-represent https://github.com/sandinmyjoints/gensimtalk/blob/master/gensim_example.py http://stats.stackexchange.com/questions/89356/document-similarity-gensim http://stackoverflow.com/questions/6486738/clustering-using-latent-dirichlet-allocation-algo-in-gensim Recommender systems: https://www.coursera.org/learn/recommender-systems/ – …

Continue reading

Elastic Search – just a few useful snippets

Install head plugin or rely on oldschool curl utility in order to test your queries: or Q: Show me example of query for complex, nested document? A: NOTE: if what are you searching for in sub-sub-sub document – just add proper number of nested chains of “bool” “must” “nested” elements. Q: I need full text …

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