
🌊 | Co-founder, CTO @papercompute | 🎤 Hosting @opensourceready | 🐹 maintaining spf13/cobra
Joined October 2018
- Tweets7.8K
- Following983
- Followers7.3K
- Likes7.4K
John McBride retweeted
Open source existed long before pull requests and will continue to exist long after them.
John McBride retweeted
🚨 ALERTS{alertname="BigDecisions", alertstate="firing"} 1
I have spent a huge part of my career building #opensource metrics systems across @PrometheusIO, @ThanosMetrics, and now @Google.
For years, we tried (I remember 3 times at least!) to "merge" @cortexmetrics, @ThanosMetrics , and @grafana #Mimir. We all loved the same mission, just trapped in separate silos. There was simply not enough $$$ to justify making the @CloudNativeFdn landscape simpler and coherent for end users.
Last week at the #Prometheus DevSummit, something special happened!
Together, the community reached consensus on PROM-116 and opened space under Prometheus's refreshed, vendor-neutral governance for "Distributed Prometheus [.]rs" ❤️🦀
Jan and I wrote a blog post to share the full story and keep expectations clear from day one 👇
prometheus.io/blog/2026/11/2…
TL;DR:
• @golang prometheus/prometheus is not going anywhere, and there is no deprecation timeline. Same with Thanos and Cortex, for now.
• At this point, there is no graduation plan. This is an experiment for now, and single-node Prometheus always comes first.
• This is not a "yolo rewrite it in @rustlang " trend chase. Adopting shared Rust columnar libraries like @ApacheArrow , DataFusion, @ApacheParquet , and Vortex lets Prometheus absorb years of database-engineering work and join a much wider #opensource community.
Yes, I wrote the "Efficient Go" book, and yet here I am diving into Rust and columnar storage because the numbers and the community energy are simply too good to ignore (:
If you care about OSS observability, columnar storage, DataFusion, or SIMD, come build this with us in #prometheus-rs-sig on CNCF Slack! 💪
PROM-116: github.com/prometheus/propos…
Repo: github.com/prometheus-commun…
On episode 47 of @opensourceready, @bdougieyo and @johncodes sit down with Caelean Barnes ( @the1024th), co-founder of Gauge, to explore how coding agents choose developer tools. A request to set up a database can put Supabase in a project before the developer has even seen a shortlist. Barnes explains how agents make those decisions and why open source projects have an advantage.
heavybit.com/library/podcast…
On episode 47 of @opensourceready, @bdougieyo and
@johncodes speak with Caelean Barnes ( @the1024th) about what a coding agent looks for when it evaluates an open source project. A comparison article might get a tool mentioned, but a code example can answer the question that gets it installed. Barnes shares how teams can test their docs, command-line tools, and signup flows against real development tasks.
heavybit.com/library/podcast…
John McBride retweeted
the current delusional expectations are: you should understand the code, but you can't write the code.
the experience of coding suppose to come to you by the Divine Intervention 🧘♂️🪬
John McBride retweeted
Here's a fun bit of Go trivia for y'all which I believe perfectly demonstrates how, despite the absolute power of AI, it still codes like a over-eager-junior engineer straight out of CS 201 writing completely unmaintainable code.
This was generated with GPT 6.1-sol while working on some experimental flag stuff akin to spf13/pflag:
A "Count" type is defined like so:
```
// Count is an integer flag that increments 1
// when used without an argument.
// With an argument, increments that amount.
type Count int
```
And in the following "Set" method, a "+1" sentinel increments the counter flag (this is basically straight out of spf13/pflag)
```
// Set increments the count for "+1"
// or sets it to the parsed integer.
func (c *Count) Set(s string) error {
if s == "+1" {
if *c == Count(int(^uint(0)>>1)) {
return fmt.Errorf("count overflows int")
}
*c++
return nil
}
value, err := strconv.ParseInt(s, 0, strconv.IntSize)
if err == nil {
*c = Count(value)
}
return err
}
```
This path guards integer overflow and immediately made me raise an eyebrow:
```
if *c == Count(int(^uint(0)>>1))
```
Step by step: by taking a zero value uint, flipping all its bits to 1, shifting it to the right by 1 (effectively removing the signing bit), then casting it to a Count, finally checking if it's equal to the current count -- we can effectively check if the count is at the given system's maximum signed int value and should error to prevent an overflow. On a 64 bit system, this is 2^63−1 (a massive number).
... this is all good except the agent completely ignored Go's "math.MaxInt" (I wouldn't even consider this "modern Go" since it's been around since Go 1.17) -- the complexity can be drastically reduced by simply doing:
```
if *c == math.MaxInt
```
This compiles without a "Count(...)" cast since, under the hood, this is an untyped const in the math package (essentially exactly what this std lib const is for).
The complexity in understanding a one liner bit shift vs. just using the standard library cannot be over stated: even for agents, I'd argue that this exits the domain of "easy to maintain with agents" and would require lots and lots of resources (on the GPT 5.x tokenizer, the first implementation is 13 tokens and the second is 7 !!! )
Software engineering has always been about correctly combating and harnessing complexity in language, semantics, abstraction, construction, and creative expression. Using LLM tools did not change that and there's a very compelling argument to be made for beautiful, elegant, and correct code that enables BOTH the engineer and the tools to work better.
On episode 46 of @opensourceready, Brian Douglas (@bdougieYO) and John McBride (@johncodes) speak with JT Archie. He introduces Steps, his local-first workflow tool for combining predictable automation with AI agents. They discuss why agents shouldn’t improvise routine operations, where AI fits into software maintenance, and what software factories still need from human engineers.
hubs.ly/Q04F3Nh90
John McBride retweeted
"Seventeen years in, Go is thriving because of the people who use it, build with it, and contribute to it every day." go.dev/blog/17years < indeed. @golang has an excellent, forward-thinking community of builders who enjoy writing fast, secure, and maintainable code.
Go 1.28 では、型が文脈から分かる場合、複合リテラルの型を省略できるようになります。 #golang
var p Point = {1, 2}
var ptr *Point = {1, 2}
2015年に提案された issue が、11年越しにクローズされました。
github.com/golang/go/issues/…
John McBride retweeted
We're proud to announce the launch of CS Learn, a new online learning platform that offers free access to select courses from Carnegie Mellon University’s top-ranked computer science program.
Check out the course offerings: bit.ly/4C4770z
Very strong co-sign
evanxmerz.com/post/ai-usage-…
John McBride retweeted
Anthropic is using nix in prod. Docker was too slow.
youtube.com/watch?v=iPoL03tF…
John McBride retweeted
Goodbye map[string]struct{} 👋
Go's generic set proposal was just accepted. set.Set is still a map underneath, so range just works, but you get Insert, Contains, Union, Difference and more.
It lands first in golang.org/x/exp/collection/…
go.dev/issue/69230






















