I hate building APIs so much is unreal.
Now I'm bootstraping a python project and adding FastAPI testing is being a PITA
anon-dev
npub16z6d...uuyj
Software engineer. Dark mode maximalist.
One of the most powerful features of python is that you can drop free functions to make modular changes.
Let's say you are dealing with batch processing and using chunked to make the chunks, but now you need to be more specific, you can simply create a, say, specific_chunked function, test it and drop replace chunked with specific_chunked
I don't quite like DI libraries in Python. Semantics are complex, code is bloated.
Just stumbled upon wireup, seems promosing.
Holy molly I'm shocked by cursor
WTF is agoradesk closing???
More than two hours lost -and counting- to debug an issue that consisted on an integer being casted to a string, then consumed to do a database lookup as a integer again.
And that is not even the execution path I'm trying to make work.
Lesson: don't do arbitrary, uncommented castings. If its an integer is an integer no matter what layer you are in or how you choose to represent it.
New week new tests to write
I'm trying to setup a devcontainer with ollama over WSL2 wish me luck
Mock is the worst idea on software engineering by far
I need to write a note about why mocks are one of the worst ideas on software engineering.
This is why we nostr
https://t.co/2pRD30VwXj


High hopes for zap driven adoption of bitcoin and nostr.
@PABLOF7z I've added a PR to support devcontainer at ndk. Let me know what you think. Thanks!

GitHub
Adds `devcontainer` by anon-dev-gh · Pull Request #170 · nostr-dev-kit/ndk
A first step to support devcontainers and provide reproducible development experiences to ease onboarding of new developers.
Tested as
> const {...
Almost NIP-01 complaint: events and messages are done, at least their initial versions.
Now I need to think about the client and relay interfaces, but my first guess is simply reacting to the already defined messages on the NIP-01
NIP-01 is kind of a long one to implement
Object oriented programming is not about having classes as much as woodworking is not about cutting wood.
devcontainers should have much much more attention
Back to business