Avatar
Water Blower
6b9da920c4b6ecbf2c12018a7a2d143b4dfdf9878c3beac69e39bb597841cc6e
Creator of Blowater & I self identify as a Pro Sleeper

Test, don't reply

Is it just me or one dish from any restaurant is never enough but 2 are always more than I need?

https://www.youtube.com/watch?v=G0FmzKp1CRk It has been a long time since I enjoyed a CPP conference talk. Thank god this talk has nothing to do with CPP.

A Nostr example, social posts and DM are both notes, but DM are encrypted. They should share most code except for “show” function. The DM’s show needs to decrypt the content first while social post can be directed shown.

When 2 data in the code can be used at the same place for slightly different behaviors. For example, both man and woman are human, but their pee function are different. So man and woman can share most of the code except for pee.

I don’t know why I had this weird example lol

The relay tree synchronization/downloading of Coracle is implemented very well. I have this https://github.com/BlowaterNostr/nostr.ts/issues/14 sitting for a while and we are too stupid to write any code.

After a while I forgot why I hated JavaScript class. Maybe I just hated the prototype chain. But the ability to write polymorphic code is important and post es6 class is still the best way to do it in JavaScript. Not the best polymorphic form but we don’t have good traits in Rust. Even Rust trait is not my favorite polymorphism. Wen say goodbye to JavaScript? I need to invent my own language for my next Nostr software to burry the old Web. New Web deserves a new language.

What is bs? Did you eat at a restaurant?