Skip to content

Instantly share code, notes, and snippets.

View yannick's full-sized avatar
🏗️

Yannick Koechlin yannick

🏗️
View GitHub Profile
static void
replace_stop_with_return(mrb_state *mrb, mrb_irep *irep)
{
if (irep->iseq[irep->ilen - 1] == MKOP_A(OP_STOP, 0)) {
if (irep->flags == MRB_ISEQ_NO_FREE) {
mrb_code* iseq = (mrb_code *)mrb_malloc(mrb, (irep->ilen + 1) * sizeof(mrb_code));
memcpy(iseq, irep->iseq, irep->ilen * sizeof(mrb_code));
irep->iseq = iseq;
irep->flags &= ~MRB_ISEQ_NO_FREE;
} else {
include(ExternalProject)
ExternalProject_Add(librdkafka-git
GIT_REPOSITORY https://github.com/edenhill/librdkafka.git
GIT_TAG v0.11.3
INSTALL_COMMAND ""
CMAKE_ARGS -DRDKAFKA_BUILD_EXAMPLES=OFF -DRDKAFKA_BUILD_TESTS=OFF -DRDKAFKA_BUILD_STATIC=1
)

Lead Data Engineer, Data Products

Tamedia ist die führende private Schweizer Mediengruppe und erreicht mit ihren digitalen Angeboten über 80 Prozent der Schweizer Bevölkerung. Zu Tamedia gehören bekannte Produkte wie 20 Minuten, ricardo.ch, homegate.ch, Starticket, Tages-Anzeiger, Doodle und viele mehr. Rund 3'400 Mitarbeitende sind für Tamedia tätig in der Schweiz, Dänemark, Deutschland, Frankreich, Israel, Luxemburg, Österreich und Serbien. In einer komplexen Welt bieten wir unseren Kunden Überblick, Einordnung und Selektion. Das Tamedia Data Analytics Team entwickelt Produkte und Lösungen rund um die Daten dieser Tamedia Produkte.

Als Lead Data Engineer bist du mitverantwortlich für die Entwicklung von Daten Services welche in allen Produkten und Firmen der Tamedia eingesetzt werden. Die Bandbreite reicht von Classifiers über Recommender bis zu User Tracking, KPI Dashboards oder Data Pipelines. Du bist ein Verfechter von performanter Software und verstehst diese mit deinem Team zu entwickeln. Als Te

Keybase proof

I hereby claim:

  • I am yannick on github.
  • I am yawniek (https://keybase.io/yawniek) on keybase.
  • I have a public key ASBtw5QPwoGHe17Kfwj5fL9fkbbNoVXguUgQoKylubtcAwo

To claim this, I am signing this object:

➜ src git:(master) ✗ ./stellar-core -c info
Content-Length: 572
Content-Type: application/json
2018-01-13T20:55:16.887 GBCQW [default INFO] {
"info" : {
"UNSAFE_QUORUM" : "UNSAFE QUORUM ALLOWED",
"authenticated_peers_count" : 0,
"build" : "v9.0.1-22-ga360e330",
"ledger" : {
@yannick
yannick / main.go
Created January 8, 2018 09:28 — forked from enricofoltran/main.go
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"os"
"os/signal"
@yannick
yannick / prometheus_handler.rb
Created October 23, 2017 13:05
h2o prometheus stats handler
$stats_to_prometheus = {
"uptime" => {
"type" => "counter",
"name" => "uptime_seconds_total"
},
"generation" => {
"type" => "gauge",
"name" => "generation"
},
"connections" => {
## currently mostly a fruity fish soup for h2o
module Ayu
#Resource, currently non stackable
class Resource
HTTPMethods = %i(get post put delete head options trace connect).uniq
class << self
def http_methods
@yannick
yannick / valgrind-emptymrubyhandler.txt
Created October 18, 2017 11:51
valgrind report for h2o empty mruby handler, POST request load test with h2load -n 50000 -c 500 -t 3 http://10.10.10.146:8080/empty.rb -d d
[yannick@varch mercator-h2o]$ valgrind --leak-check=yes h2o -c h2o.conf
==6594== Memcheck, a memory error detector
==6594== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==6594== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==6594== Command: h2o -c h2o.conf
==6594==
fetch-ocsp-response (using OpenSSL 1.1.0f 25 May 2017)
failed to extract ocsp URI from certs/server.crt
[OCSP Stapling] disabled for certificate file:certs/server.crt
fetch-ocsp-response (using OpenSSL 1.1.0f 25 May 2017)
[yannick@varch mercator-h2o]$ valgrind --leak-check=yes h2o -c h2o.conf
==6477== Memcheck, a memory error detector
==6477== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==6477== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==6477== Command: h2o -c h2o.conf
==6477==
fetch-ocsp-response (using OpenSSL 1.1.0f 25 May 2017)
failed to extract ocsp URI from certs/server.crt
[OCSP Stapling] disabled for certificate file:certs/server.crt
fetch-ocsp-response (using OpenSSL 1.1.0f 25 May 2017)