Why Nostr? What is Njump?
2024-06-11 19:45:33

mleku on Nostr: had a good coding session today had to give up on the self hosting, it's a total ...

had a good coding session today

had to give up on the self hosting, it's a total nachtmerrie at the moment so jedi govna self hosted

made one codec that was actually faster, something that doesn't exist in the stdlib, a []byte ascii number to binary value codec

discovered that the hex library of go stdlib is really fast when you don't use the string shit, faster than my supposedly clever math for hex encoding/decoding

made the binary and json codec components for text fields and event IDs

will make tests for them later

i should have all event and filter encodings built and tests written tomorrow, with zero strings

probably will write fast json encoders with zero reflection too, it's all complexity that can be left out but when you use the stupid libraries people make you are shoehorned into it, and then you get deformed feet

that's why i'm doing this, my mind is feeling like it's in a cage, and it's not gonna be free until i make a reasonable version

this is just the base parts, it is a myth that you can refactor a large codebase to use more sane shit, the complexity is completely nuts, you have no idea how many things touch each other, it's like a satanist sex orgy

gonna just chill with some games for a bit
Author Public Key
npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku