Recent submissions

Comment · 2 months ago
> How would you represent metrics as traces?

Just instrument your meter implementation so each observation produces a span. Boom, free metric-derived traces.

Comment · 3 months ago
> isn’t the entire point of tree-sitter that you can reuse old trees to make edit updates faster?

I've used tree-sitter for a few projects, but I never touched the tree-reuse stuff. The value of tree-sitter came from the fact that grammars compile to a .so and can be easily distributed through package managers. Adding support for a new grammar in ast-grep might just mean pointing to the .so at runtime (idk, I haven't checked). So this optimization might make sense for this project.

Comment · 1 year ago
> The core issue is that, with otel, observability platforms become just a UI layer over a database. No one wants to invest in proper instrumentation, which is a difficult problem, so we end up with a tragedy of the commons where the instrumentation layer itself gets neglected as there is no money to be made there.

I don't think it's fair to say "no one wants to invest in proper instrumentation" - the OpenTelemetry community has built a massive amount of instrumentation in a relatively short period of time. Yes, OpenTelemetry is still young and unstable, but it's getting better every day.

As the article notes, the OpenTelemetry Collector has plugins can convert nearly any telemetry format to OTLP and back. Many of the plugins are "official" and maintained by employees of Splunk, Datadog, Snowflake, etc. Not only does it break the lock-in, but it allows you to reuse all the great instrumentation that's been built up over the years.

> The core issue is that, with otel, observability platforms become just a UI layer over a database.

I think this is a good thing - when everyone is on the same playing field (I can use Datadog instrumentation, convert it to OTel, then export it to Grafana Cloud/Prometheus), vendors will have to compete on performance and UX instead of their ability to lock us in with "golden handcuffs" instrumentation libraries.

Comment · 1 year ago
Glad I'm not the only one with that issue. I ended up connecting a Bluetooth controller to my Steam Deck because holding it hurt my wrists so much. At that point, why bother with the thing?
Comment · 1 year ago
If the SVG being linked to is hosted by GitHub, they could make arbitrary changes before serving it to the browser. IIRC, I uploaded an SVG in a GitHub comment and the resulting image had some of its interactive functionality removed. Of course, that situation is slightly different since the file was uploaded in a comment and not as part of a Git repo... but still.
Comment · 1 year ago
That's... interesting.
Comment · 1 year ago
Comment · 1 year ago
Comment · 2 years ago
Hrmm, I've noticed the same thing on the US west coast over the last year or so. Maybe I'll finally bother Kagi support about it.
Comment · 2 years ago
Comment · 2 years ago
Comment · 2 years ago
> Minify every third variable randomly.

So, Go?

Comment · 2 years ago
This seems conceptually similar to certificate authorities.
Comment · 2 years ago
What? This seems hard to believe. What incentive do operators have to support law enforcement impersonators?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton