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

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 …

…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 …

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 …

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 …

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 …

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 …