Skip to content

Instantly share code, notes, and snippets.

View rtsisyk's full-sized avatar

Roman Tsisyk rtsisyk

  • London, United Kingdom
View GitHub Profile
#!/usr/bin/env python3
update_check_data = "src/fdroid/play/version.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+"
tag = "2021.08.08-7-android"
####
import sys
import re
import logging
```
(gdb) bt
#0 0x0000000000ff0050 in mmap64 ()
#1 0x0000000000fef6ab in malloc ()
#2 0x2e9e77a3bdc5fcfa in ?? ()
#3 0xfffff80000000000 in ?? ()
#4 0x0000000000000027 in ?? ()
#5 0x000000000006d020 in ?? ()
#6 0x000000000230cb50 in ?? ()
/// Transaction output.
/// (ID, P_{M, δ}, Bp, E_M(x, γ, δ))
#[derive(Debug)]
pub struct Output {
/// Unique identifier of the output.
/// Formed by hashing the rest of this structure.
/// H_r(P_{M, δ},B_p, E_M(x, γ, δ)).
id: Hash,
/// Clocked public key of recipient.
This file has been truncated, but you can view the full file.
@rtsisyk
rtsisyk / vshard-cfg.lua
Created December 11, 2017 15:30
vshard configuration
local cfg = {
memtx_memory = 100 * 1024 * 1024,
sharding = {
['cbf06940-0790-498b-948d-042b62cf3d29'] = { -- replicaset #1
servers = {
['8a274925-a26d-47fc-9e1b-af88ce939412'] = {
uri = 'storage:storage@127.0.0.1:3301',
name = 'storage_1_a',
master = true
},
@rtsisyk
rtsisyk / keybase.md
Last active February 18, 2019 07:49

Keybase proof

I hereby claim:

  • I am rtsisyk on github.
  • I am rtsisyk (https://keybase.io/rtsisyk) on keybase.
  • I have a public key whose fingerprint is B068 161F 7EAE 913E E7A1 7A87 CC35 182C D7D0 0B9C

To claim this, I am signing this object:

@rtsisyk
rtsisyk / 1.7.4-changelog.md
Last active May 11, 2017 09:59
tarantool-1.7.4 changelog

Date: 2017-05-11

Tag: 1.7.4.

1.7.3 is a release candidate in the 1.7 series. It is backward compatible with 1.6 in binary data layout, client-server protocol and replication protocol.

Incompatible changes

  • UPSERT by secondary keys was banned to avoid unclear semantics. #2226
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `tarantool logger.test.lua <hot_standby> '.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007ff47c5e46a0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
[Current thread is 1 (Thread 0x7ff471bfc700 (LWP 5439))]
Missing separate debuginfos, use: debuginfo-install glibc-2.17-157.el7_3.1.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.14.1-27.el7_3.x86_64 libcom_err-1.42.9-9.el7.x86_64 libgcc-4.8.5-11.el7.x86_64 libgomp-4.8.5-11.el7.x86_64 libselinux-2.5-6.el7.x86_64 libstdc++-4.8.5-11.el7.x86_64 libyaml-0.1.4-11.el7_0.x86_64 ncurses-libs-5.9-13.20130511.el7.x86_64 openssl-libs-1.0.1e-60.el7_3.1.x86_64 pcre-8.32-15.el7_2.1.x86_64 readline-6.2-9.el7.x86_64 zlib-1.2.7-17.el7.x86_64
(gdb) bt
#0 0x00007ff47c5e46a0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00000000004b2550 in cbus_wait_signal (bus=0x8dbbc0 <net_tx_
Debian Jessie LiveCD on QEMU/KVM
.----------.---------------.---------------.---------------.
| type | minimal | average | maximum |
.----------.---------------.---------------.---------------.
| read/s | 11500 | 13304 | 13978 |
| write/s | 34511 | 39937 | 41940 |
| req/s | 46011 | 53242 | 55918 |
'----------.---------------.---------------.---------------'

run_info

Current format:

  • xrow header:
    • IPROTO_REQUEST_TYPE: IPROTO_REPLACE;
    • IPROTO_LSN: unsigned = run_info->min_lsn
  • xrow body map: IPROTO_TUPLE: VY_RUN_MIN_LSN = 1: unsigned = run_info->min_lsn