Avatar
unclebobmartin
2ef93f01cd2493e04235a6b87b10d3c4a74e2a7eb7c3caf168268f6af73314b5
Uncle Bob, Software Craftsman. http://cleancoder.com http://cleancoders.com
Replying to Avatar HoferBit

Pineapple and corn on pizza?!!?!!! Blashphemy!

From: (-HoferBit) at 05/24/23 08:47:46 on wss://nos.lol

CC: #[4]

>---------------

>

I consider zaps to be private-ish, while likes are very public.

From: TheSameCat<-ringo at 05/24/23 08:33:27 on wss://relay.damus.io

CC: #[4]

CC: #[5]

CC: #[6]

CC: #[7]

>---------------

>There seems to be a real disconnect between people who read “value” and think money, and those who think “connection” or whatever other metric adds joy and quality to one’s life.

>

>Money is not the only thing people value. Being heard can be valuable. Not feeling alone can be critically valuable. Intellectual debate can be valuable both for individuals and the society at large.

>

>My entire premise is that likes express a different kind of value, which money *cannot* substitute for.

>

>I enjoy having the option to do both. Sometimes I like, sometimes I zap, often I send both. And each variation expresses something different. I see having both as one of the killer features of Nostr - it’s a more granular and expressive way of showing appreciation.

Guten Morgen Nostroids! My lovely wife and I are once again heading up to our Northern Hideaway today. The weather in central Wisconsin is going to be spectacular. We're also receiving our new refrigerator today (thank goodness). Family will be coming up over the weekend to spend the Memorial Day break with us. So it should be a very nice time.

I'll be working on more-speech, of course, My next task is to add tab filters for regular expressions and better blocking of annoying posts and posters.

That to-do list keeps on growing faster than I can drain it. ;-)

Generally speaking you would use the handler if the function that returns the value is asynchronous. In that case the handler is just a callback from the asynchronous process.

You might also pass a handler if the function returning the value might return many values over time. i.e. it runs in a loop and produces intermediate values that have to be handled by the external handler.

Still another scenario is the "Tell-Don't-Ask" discipine which says that no function should return a value, rather they should all forward their results to other functions in other objects. This is not a discipline that I adhere to very closely; but others swear by it.

From: (benc) at 05/24/23 08:27:50 on wss://relay.damus.io

CC: #[3]

>---------------

>#[4]​ I got an interesting question I’d like to hear your take on.

>

>Is there any wisdom when comparing the pros and cons of returning a value versus passing an interface?

>

>// two options for handling a value.

>class Foo {

> int returnValue();

> void passInterface(Handler);

>}

>

>interface Handler {

> void handle(int);

>}

I definitely see the resemblance.

From: (Eric) at 05/23/23 17:26:47 on wss://nos.lol

CC: #[3]

>---------------

>#[4]

>

>My daughter drew a picture, I thought it reminded me of your profile picture

github.com/unclebob/more-speech

From: p2x<-NostReport at 05/23/23 12:15:00 on wss://relay.damus.io

CC: #[4]

>---------------

>Where is more-speech? 👀

I have finished the Wallet Connect (NIP-47) feature in more-speech. You can now get a wallet-connect URI from alby and past it into your more-speech profile. Then you can zap, zap, zap without copying and pasting invoices.

Thanks to #[2] and #[3] who provided invaluable help when I got stuck trying to figure out what was what and who was who.

@fiataf I have submitted a PR for NIP-47 that provides my "Observations from the Field" as well as many clarifications for the next guy...

I've added NIP-57 Wallet Connect to more-speech. Fun.

I added that ability to more-speech, which is the client that I am writing. github.com/unclebob/more-speech.

From: (Bhagyasree) at 05/22/23 05:19:41 on wss://nos.lol

CC: #[4]

CC: #[5]

CC: #[6]

>---------------

>nostr:npub19mun7qwdyjf7qs3456u8kyxncjn5u2n7klpu4utgy68k4aenzj6synjnft recently did this. But I don't know how.

Interesting -- but a bit tedious.

It is utterly galling to listen to democrats bleat on about democracy and misinformation when it was they who, through the FBI and the feckless media, promulgated torrents of misinformation in order to thwart the will of the electorate.

You mean the way more-speech organizes events into tabs?

From: cameri at 05/20/23 09:18:40 on wss://relay.nostriches.org

CC: #[4]

>---------------

>#[5]​ I think we can do better than Mute filters tho! For example, Gmail filters can be used to organize emails not just hide them

God help us all... A sane democrat. Whodathot?

From: JackDorsey at 05/19/23 18:30:19 on wss://relay.nostriches.org

>---------------

>https://youtu.be/fz7FPl065II

As far as I know.

From: (Tomas) at 05/19/23 13:26:44 on wss://relay.damus.io

CC: #[4]

>---------------

>Is the release date still scheduled for October 15?

GM-PV Nostroids,

I just got lud06 zaps working in more-speech. (it's hard to find someone who has a lud06 still) But I thought it was worth doing anyway.

Today I'll continue to work down my todo list for more-speech. (It grows faster than I can remove items. ;-)

TEST nostr:note1rs279u2kuaa9gu5vf2v76sj3mfjtqgj4lg2r57wnlev33smd68fsqm76xd

Who is John Galt?

From: BTCapsule<-DerekRoss at 05/18/23 18:40:21 on wss://relay.damus.io

CC: #[4]

CC: #[5]

>---------------

>I see Satoshi as Ayn Rand, whereas fiatjaf has built a community for the coolest people, and they are disappearing from the rest of the internet to join him

nostr:unclebobmartin

I've added a CC list in the reply function of "more-speech". Now, when you hit the reply button, the edit window will contain a list of all the authors who are mentioned in the 'p' tags of the note you are replying to. IF you don't want those authors notified by your reply, you can edit them out before sending.