Skip to content

Instantly share code, notes, and snippets.

Avatar

Volodymyr Sapsai vsapsai

View GitHub Profile
@vsapsai
vsapsai / cmuratori_api_design.md
Last active Oct 29, 2019
Notes on the talk Designing and Evaluating Reusable Components by Casey Muratori. View in raw.
View cmuratori_api_design.md

Notes on the talk Designing and Evaluating Reusable Components by Casey Muratori. https://caseymuratori.com/blog_0024

Slides are separated with ---, my comments are after ~~~.


Designing and Evaluating Reusable Components

@vsapsai
vsapsai / .block
Last active Feb 10, 2018
SpaceX launches to different orbits. Distribution by day and hour
View .block
license: mit
@vsapsai
vsapsai / null-character-in-literal.c
Created Jan 11, 2018
clang/test/Lexer/null-character-in-literal.c for https://reviews.llvm.org/D41423
View null-character-in-literal.c
// RUN: %clang_cc1 -fsyntax-only -verify %s
// This file contains literal null characters, be careful not to remove them
// accidentally.
char a = ''; // expected-warning {{null character(s) preserved in char literal}}
char b = '\'; // expected-warning {{null character(s) preserved in char literal}}
// expected-warning@-1 {{unknown escape sequence '\x0'}}
char *c = "nullcharacter"; // expected-warning {{null character(s) preserved in string literal}}
@vsapsai
vsapsai / .block
Last active Oct 23, 2017
Experimenting with Edward Tufte-style boxplots for requests' latencies and volume
View .block
license: mit
@vsapsai
vsapsai / thoughts.md
Last active Aug 15, 2017
Wishful thinking regarding serverless services.
View thoughts.md

Main usage for serverless service I have in mind is GitHub integration. Specifically, I'd like to have

  • email notifications for various events,
  • CI support for pull requests,
  • time-based issue closing.

What I expect from a serverless framework:

  • abstract away underlying provider
  • help with local development
    • monitor consumed resources
@vsapsai
vsapsai / clang_8.1.0.dot
Last active Jun 12, 2017
Intrinsics headers mapping
View clang_8.1.0.dot
digraph mapping {
"adxintrin.h" ->"immintrin.h";
"avx2intrin.h" ->"immintrin.h";
"avx512bwintrin.h" ->"immintrin.h";
"avx512cdintrin.h" ->"immintrin.h";
"avx512dqintrin.h" ->"immintrin.h";
"avx512erintrin.h" ->"immintrin.h";
"avx512fintrin.h" ->"immintrin.h";
"avx512ifmaintrin.h" ->"immintrin.h";
"avx512ifmavlintrin.h" ->"immintrin.h";
@vsapsai
vsapsai / .block
Last active May 22, 2017
Percentile-ish income (not wealth) distribution in Canada for tax year 2014
View .block
license: mit
@vsapsai
vsapsai / .block
Last active May 14, 2017
Income distribution in Canada per province for tax year 2014
View .block
license: gpl-3.0
height: 2200
@vsapsai
vsapsai / .block
Last active May 7, 2017
Income distribution in Canada
View .block
license: gpl-3.0
View 2017-01-18.txt
Red nails. They promise danger
To any reckless stranger.
So innocent and lovely,
So exquisite and shiny.
Don't let the beauty fool you,
Make miss a thing or two.
Those nails are also sharp,
Won't fail to draw some blood.
Skin scratches don't matter
It's heart that aches instead.
You can’t perform that action at this time.