George Haidar

George Haidar

@disintegrator.dev

Confused and coding. Building code generators @speakeasy.com.

138 followers464 following151 posts

I now firmly believe that the zero value concept for structs in @golang.org does more harm than good and have taken to running the exhaustruct linter through golangci-lint to prevent me from ever accidentally relying on it. I might write a post about this some day.

Consider what happens to code shown below when a new field is added to the ProductResult struct. To compound the problem, imagine a larger codebase where you're creating `ProductResult` values in a few places. Similarly imagine adding a field to `Product` and forgetting to fill it out before INSERT.

There are 2 kinds of structs in a codebase: 1. structs that act as configuration/options for components in the system and 2. structs that carry state to/from DBs, to/from http endpoints, etc... In the case of 1. there is some affordance for unset fields but with 2. it can be really bad to miss one.

No corepack? No problem, mise and aqua are here to make life easier. You can have different versions in different repos and mise will switch to the right ones automatically. And I haven't gone into how useful mise tasks are - so much better than `make` and npm scripts.

Jake Bailey@jakebailey.dev

oh super, node voted to drop corepack from the distribution incredibly disappointing there goes my convenient setup 😞

Who’s the best Python developer you know that’s looking for a job? You know… the sort that sets all linters to strictest and has their finger on the pulse of the ecosystem. I want to meet them.

George Haidar reposted

The Event Destinations Initiative is a community effort aimed at creating a model for event interoperability between event producers and their consumers.

Excited to share what I've been working on! All @speakeasy.com TypeScript SDKs are getting MCP servers bundled with them for free. We think it's far too useful to have your API available to agents on day 1. We've been playing with a few from our customers' SDKs and it's magic. Stay tuned for more!

Speakeasy@speakeasy.com

🤖 How do you make your API AI-ready? With the latest acronym hot off the press — MCP: Model Context Protocol. It's about to permanently change how we build software 🚀 ‎

I still find it amazing that my brain can run Go, Rust, TypeScript code albeit slower than a computer but also faster in other ways. Like every bit of a program is reentrant in my head. You can be working through one sequence of code and then you can just jump right over and resume at another.

I don't think the @typescriptlang.org module / moduleResolution confusion is going to subside until the TypeScript team drops obsolete configurations and refreshes `tsc --init`. Like `classic` and `node` being default module resolutions is actively harmful nowadays.

Is there a way to use JSON Path with Serde to delete a key (or element at array index) in a deep object? I don’t know if I follow enough Rust folks here but let’s see.

Every demo of WASM I’ve seen is the same ol’ `add(1, 2)` example. I’ve yet to see a single demo that shows you how tedious it is pass strings or bytes back and forth. It is low level at the end of the day but you get to “experience” that when dealing with strings.

Hey @jay.bsky.team, I cancelled my X subscription yesterday and I will absolutely pay for Bluesky to help sustain the service/business/team. I’m sure there are great features that can be gated behind a subscription but as it stands I’d pay for the service as it is today.

WIRED@wired.com

In February, WIRED spoke with Bluesky CEO @jay.bsky.team about the X competitor opening sign-ups to all, how to crowdsource deepfake porn moderation, Jack Dorsey, and more. She says, she wouldn't "enshittify the network with ads."

I want something like Tidbyt but that I can program and run completely locally. Tidbyt apps run in the cloud on their servers which I'm not a fan of. Do you know of something with similar build but that I can "wholly own" and program? tidbyt.com