Skip to content

Instantly share code, notes, and snippets.

View SlavaMelanko's full-sized avatar
😉
Working...

Slava SlavaMelanko

😉
Working...
View GitHub Profile

Source

#include <benchmark/benchmark.h>
namespace bench = benchmark;

#include <chrono>
#include <ctime>
#include <iostream>
#include <iomanip>
@SlavaMelanko
SlavaMelanko / awe.cpp
Last active January 27, 2019 14:04
awe
//
// main.cpp
// test
//
// Created by Slava Melanko on 12/17/18.
// Copyright © 2018 Slava Melanko. All rights reserved.
//
#include <algorithm>
#include <iostream>
@SlavaMelanko
SlavaMelanko / test.md
Last active January 27, 2019 14:20
test

Split&Join String - Abseil vs RangeV3 vs Boost vs CustomImpl

#include "Bench.hpp"

#include <base/stl/String.hpp>
#include <base/stl/Vector.hpp>

#include <sstream>
Есть 3 типа собеседований:
1 проверка уровня англ языка с HR (Human Resource)
2 техн собеседование с главным разработчиком, менеджером или же архитектором
3 финальное собеседование с заказчиком
зачастую они идут в такой же последовательности (бывает что 2 и 3 объеденены в один)
если SM (Sales Manager) не уточнил такие пункты как
- с кем собеседование и во сколько
- какова цель
- на каком языке
@SlavaMelanko
SlavaMelanko / upstream-prerequisites.md
Last active October 7, 2020 00:20
Upstream Prerequisites

Requirements are statements about an intended product which specify what it should do or how to do it. For requirements to be effectively implemented and measured, they must be specific, unambiguous and clear.

  • Business
    • Business objectives
    • Sponsor point of view
    • Scope of the project
  • User
    • User point of view
    • User goals
  • User inputs and outputs
@SlavaMelanko
SlavaMelanko / fast.cpp
Created July 26, 2018 05:21
Boost Beast
#include "fields_alloc.hpp"
#include <boost/beast/core.hpp>
#include <boost/beast/http.hpp>
#include <boost/beast/version.hpp>
#include <boost/asio.hpp>
#include <boost/filesystem.hpp>
#include <chrono>
#include <cstdlib>
#include <cstring>

Workflow in the RTB marketplace

  1. End-user launches a mobile application or visits site, a request will be sent to the ad-exchange
  2. On the ad-eachange side this request will be futher passed to all the bidders who trade in that ad-exchange
  3. Those bidders get the information about device, application, user, ad template and etc, and they need to decide if they can place a bid for this particular request, and if so, how much to bid
  4. Once ad-exchange receives all the responses from bidders it will pick the winner

Win Ratio and Winning Price Estimations

@SlavaMelanko
SlavaMelanko / rules-of-the-winner.md
Last active August 23, 2018 19:39
Бодо Шефер "Законы победителей"

Воспитать правильное отношение к стрессу

  • Планируй свой день и неделю с запасом времени.
  • Наслаждайся тем что делаешь.
  • Полностью сосредоточься на работе.
  • Сбавь скорость и объем работы.
  • Ставь приоритеты в делах и жизни.
  • Делегируй.
  • Делай перерыв в работе.
  • Избегай (снизь) стремление к совершенству.