George Haidar
disintegrator.dev
George Haidar
@disintegrator.dev
Confused and coding. Building code generators @speakeasy.com.
Since we're not going to get keyword arguments in @golang.org in the foreseeable, I've become very invested in using type definitions to "brand" common types in our codebase e.g. string, int, uuid.UUID and so on...
May 15, 2025 at 9:58 PM
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.
April 15, 2025 at 1:11 PM
I wonder if Go could benefit from object literal syntax that can be late-bound (if that's even a word) #golang
April 7, 2025 at 8:00 PM
A great tip with exhaustiveness checks using switch blocks is to add a `value satisfies never;` expression to the default branch. This adds a compile time check and you'll spot that you missed a case in your IDE. Demo:
tsplay.dev/w2y48W
March 1, 2025 at 11:43 AM
Small suggestion: consider tweaking the link colors for both visited and not visited since the contrast ration on black bg is poor for both the default blue and purple colors.
January 29, 2025 at 3:02 PM
I'm very new to Rust so pardon my ignorance but the solution I ended up with was to create my own take on serde_json::Value which had an additional member called Omit. This coupled with a custom Serialize trait impl means when I encounter Omit when serializing object/array members, I skip over them.
December 28, 2024 at 2:23 PM
Hi there!
I'm a developer @speakeasy.com working on OpenAPI code generation. I'm obsessed with @typescriptlang.org, Go and building high quality developer tools.
Also into mechanical keyboards and gaming 👋
October 31, 2024 at 4:28 PM
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
October 23, 2024 at 8:34 PM