Skip to content

Instantly share code, notes, and snippets.

View andriytyurnikov's full-sized avatar

Andriy Tyurnikov andriytyurnikov

View GitHub Profile
@andriytyurnikov
andriytyurnikov / simulate_a_b.rb
Last active April 20, 2021 14:48
A/B test simulation
def simulate_a_b
sizes = [1_000, 10_000, 100_000]
funded_distribution = [500, 500, 500, 500, 600, 700, 800, 1000, 1500, 2000]
convertion_rate = 0.03
results = {}
results = {
a: {visits: 0, funded: 0, converted: 0},
b: {visits: 0, funded: 0, converted: 0},
}
@mixin basekick(
$baseFontSize,
$typeSizeModifier,
$descenderHeightScale,
$capHeightScale,
$typeRowSpan,
$gridRowHeight,
$preventCollapse : 1
) {
$_lineHeight : $typeRowSpan * $gridRowHeight;
@andriytyurnikov
andriytyurnikov / man.txt
Created February 27, 2020 20:16
man.txt
man mana human mania manor manse woman cowman demand gunman lawman layman madman manila manner mantel mantle manual manure penman almanac baseman boatman bossman command doorman fireman footman foreman freeman hangman lineman mailman manager mandate mandrel manhood manikin mankind mansion mantrap newsman postman romance showman wingman workman alderman beadsman bondsman chairman claimant coachman commando corpsman demander freshman handyman headsman helmsman henchman horseman humanism humanist humanity leadsman maneuver manifold manpower marksman nobleman posseman rifleman romantic salesman stickman townsman trainman clergyman commander craftsman daggerman demanding emanation fisherman gentleman germanium informant letterman manganese mannequin mannerism manometer manzanita patrolman policeman spokesman sportsman stableman statesman womanhood yachtsman commandant commanding councilman counterman countryman highwayman horsewoman management manservant manuscript midshipman permanence salamander balletomane busi

Andriy Tyurnikov

Profile

Seasoned web developer looking for opportunities. I do appreciate (or build) mature production environments - CI, exception monitoring, performance monitoring, PaaS when possible.

Experience

Technical Lead, Cater2Me — 2014-2019

This job was quite an experience. We went from team of 2 developers with legacy system and ad-hoc process to agile team of 7 developers (including CTO), 2 Product analysts, 1 designer. It was all about business process automation. We’ve implemented internal systems for invoice management, commissions, inventory management, order lifecycle management etc. We’ve migrated from legacy MS Access system to the family of single page applications and backend API hosted in a Platform As a Service environment (heroku). Also we’ve reinvented a wheel and created custom ServiceObject implementation (https://github.com/cater2me/cater). Exception monitoring, performance monitoring, dependency update policy, CI. Rails, React, PostgreSQL, ElasticSearch, Redis, Ser

@andriytyurnikov
andriytyurnikov / pokupon_runtime_checker.rb
Last active August 12, 2019 08:58
PokuponRuntimeChecker
#!/usr/bin/env ruby
require 'net/http'
require 'net/smtp'
class PokuponRuntimeChecker
SMTP_HOST = "smtp.gmail.com"
SMTP_PORT = 587
SMPT_FROM_DOMAIN = ""
SMTP_USERNAME = ""
SMTP_PASSWORD = ""
@andriytyurnikov
andriytyurnikov / aragon_liquid_reserves.md
Last active June 19, 2019 01:29
Aragon Liquid Reserves Research Document

Aragon Liquid Reserves Research Document

Initial landscape of the problem

  • Why low liquidity is a problem?

  • Who is affected by low liquidity?

    • Who might be affected by solution of low liquidity?
      • What parties are involved in general?
  • What are the benefits of the solution, how those can be maximised?

  • What are the pitfals? And how can they be minimised?

Keybase proof

I hereby claim:

  • I am andriytyurnikov on github.
  • I am andriytyurnikov (https://keybase.io/andriytyurnikov) on keybase.
  • I have a public key ASAi-jyAqtYMYxJ-MomThQBD_u9CPYErQYItdaqdX3npXwo

To claim this, I am signing this object:

@andriytyurnikov
andriytyurnikov / bounding_context_concept.md
Last active February 18, 2018 01:39
Bounding Context Concept explained

Se some code first:

module AccountManagementContext

  module Commands
    Correct
      # Queries::AccountByUUID
      # Events::Corrected      
    SignUp                    
@andriytyurnikov
andriytyurnikov / words.architecture.md
Last active February 14, 2018 15:00
Тайная жизнь слов. Архитектура, архитектоника, дизайн.

Тайная жизнь слов. Архитектура, архитектоника, дизайн.

Поясняющее вступление.

В течение своей жизни мы постоянно оперируем различными терминами. При этом, различия и противоречия в трактовках, истории применения и происхождения - порождают массу недоразумений, и вместе с этим, содержат много любопытного.

Знакомство с историей происхождение и употребления терминов могут пролить свет на любопытные грани смыслов.

@andriytyurnikov
andriytyurnikov / # datomic - 2018-01-18_13-25-21.txt
Created January 18, 2018 11:28
datomic on macOS 10.13.2 - Homebrew build logs
Homebrew build logs for datomic on macOS 10.13.2
Build date: 2018-01-18 13:25:21