Skip to content

Instantly share code, notes, and snippets.

View cyriltovena's full-sized avatar
🪵
🔥

Cyril Tovena cyriltovena

🪵
🔥
View GitHub Profile
@cyriltovena
cyriltovena / main.go
Last active September 15, 2020 13:29
ingester kube port forward
package main
import (
"bytes"
"context"
"flag"
"fmt"
"io"
"log"
"net/http"
@cyriltovena
cyriltovena / main.go
Last active May 7, 2024 15:58
gcs-bench
package main
import (
"context"
"fmt"
"io"
"sync"
"time"
"cloud.google.com/go/storage"
@cyriltovena
cyriltovena / main.go
Created May 15, 2024 12:46
loki tsdb copy
package main
import (
"context"
"math"
"github.com/grafana/loki/v3/pkg/storage/stores/shipper/indexshipper/tsdb/index"
"github.com/prometheus/common/model"
"github.com/prometheus/prometheus/model/labels"
)
@cyriltovena
cyriltovena / engineering-manager.md
Last active November 27, 2024 08:54
The Perfect Engineering Manager (As Told By Their Evil Twin)

Want to Be the Best Engineering Manager? Here's Everything You Shouldn't Do

Ever wondered what makes an exceptional engineering manager? Well, grab your popcorn because we're going to learn from the absolute worst. Meet Chad, the anti-pattern of engineering management, who's here to teach us valuable lessons through his spectacular failures.

On Conflict Resolution

While great managers defuse conflicts early, Chad believes in the "let them fight it out" methodology. His favorite technique? Watching two engineers argue about tabs vs. spaces in Slack for three weeks before declaring "interesting discussion, guys" and changing the subject to his CrossFit routine. Bonus points for bringing up the unresolved conflict six months later during performance reviews!

Cross-Team Communication

Instead of mediating across the organization, Chad perfected the art of "telephone game engineering." Why communicate directly when you can relay messages across six different teams, three time zones, and somehow turn "we