@yashmp2004 Hyper-threading, 8 logical cores contending over 4 physical cores; cache coherency system thrashing; more contention over CPU cache levels.
I think it's great that all the model providers are coming out with their own CLIs, but let's be honest, no dev is going to want to have five different CLIs installed. They're going to want to learn and use one tool with all the models. For me, that tool is OpenCode.
It's official. I've moved to Linux desktop. I just can't do Windows 11 - forced AI, forced Microsoft Account, data harvesting - not signing up for that.
I've chosen Kubuntu to start with. I'm sure over time I'll want to experiment with different distros, but for now this works.
@rossetate I just watched your Kotlin Conf talk on Revamping and Extending Kotlin's Type System. Question: Why are Union Types in Kotlin only being made available for Errors? Why aren't Union types being made available for arbitrary types? (eg. `Int | String`)
@alexxubyte Just found your ByteByteGo videos and I think they are phenomenal. Thanks for sharing them. I'd like to purchase your books electronically, but as a rule I only purchase DRM-free PDFs. Is there a place I can buy both volumes in that format? Thanks in advance!
Everytime you `BEGIN TRANSACTION' and `INSERT`/`UPDATE`/`DELETE` data without having explicitly defined Aggregate boundaries, you're defining the boundaries implicitly/haphazardly/inconsistently and you're bound to have a bad time (re: scaling throughput or changing requirements)
The annoying paradox about beautiful code is that it’s never in the spotlight: bad code forces us to see it over and over, but the good gems often hide in the small pieces that just work and don’t need to be touched. Like preparing gourmet food and eating alone.
@deanc @while1malloc0 Kotlin's Sealed Classes and Interfaces are amazing for this. I know it's not the first language to have sum types, but it's an easy(ish) language to introduce many to the concepts.
@deanc @while1malloc0 Sadly the name has lost it's meaning - it should be exceptional - as in happen rarely. Expected errors should be part of the Domain/API. I love Sum Types to represent both Success and Failure cases. I've found this blog/video helpful for convincing some: https://t.co/Lo9fMpmxXE
Nothing new or game changing, but:
DDD/JSON is the new(er) Object/Relational Impedance Mismatch. Try building a proper domain model without any JSON or serde annotations/attributes infecting your model - not easy.
@AethonInvictus Very true. Doesn't eliminate the mismatch, but you can encode the serde transformation in both directions into the code generation output.
That is one thing I miss about C# over Kotlin - partial classes. Makes code generation so nice. Wish that would be added to @kotlin.
Hello @martinkl - I just saw your new Secret Colors book and was about to purchase it, but I can't find a DRM-free digital version (I appreciate the irony). Will that ever be available?