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

Aw, that would be fun. Unfortunately I leave on the 13th.

>From: rockstar1<-mazin at 03/07/23 14:24:47 on wss://relay.nostriches.org

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

>You up to stop by https://twitter.com/parkeralewis/status/1617913693240717313 ?

Nostrdemons, I taught a class today. Clean Code. Over 500 students. Had a blast.

Grandkids are home; and I'm beat. Tomorrow I teach another class in the morning and then fly the countess to Austin to see more grandchildren. Busy week.

Meanwhile more-speech is behaving nicely. I'm going to have to implement zaps pretty soon.

Isn't it?

>From: mikedilger at 03/07/23 13:03:16 on wss://nostr.oxtr.dev

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

>My dog barks when it's time for food. I'm pretty sure she thinks it is the barking that brings the food.

Good Morning Nostr Tribe. I found the problem in more-speech that was causing my connection to relays to close and not re-open. Retries appear to we working properly now in every case. I also, temporarily, removed the #p queries because various relays could not cope with them. I'll work out a new strategy later.

For the time being I'm still with grandchildren and have little time to focus on code this week.

...meanwhile, for your entertainment:

https://youtu.be/TA4WfYHAmZk

...nostroids. Busy day with grandchildren. No nostring. Maybe tomorrow. Maybee Tonite.

I'm seeing them using Damus. Damus doesn't show me what relays a message comes in on (as far as I can tell.) More-speech isn't seeing them for some reason. Maybe related to my recent #p change. I'm reading everything from eden.nostr.land, nostr.nilou.lol, atlast.nostr.land, and puravida.nostr.landright right now.

>From: cameri at 03/05/23 19:24:15 on wss://nostr.oxtr.dev

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

>😅 I broadcasted the previous messages , hope you can get a better idea of what the conversation was about.

Nostradaloons, Good Night. More-speech is working well for me right now with the exception of the #p tags that the relays all handle differently. But I can live with that for the time being.

Anyway, I'm with family, and grandchildren, and writing code is... challenging. (All grandparents understand).

What's great? I must not be on the relays that had the "great" message.

>From: bastero<-Bitkarrot at 03/05/23 17:29:58 on wss://puravida.nostr.land

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

>This is great!

Where was your profile erased. more-speech broadcasts the profile you set in private/keys. Other clients receive those kind:0 messages and may overwrite the profiles they had stored. So you want to make sure the more-speech profile is complete. Here's the one I use. (I replaced the private key with "...")

{

:name "unclebobmartin"

:about "Uncle Bob, Software Craftsman. http://cleancoder.com"

:picture ""

:public-key "2ef93f01cd2493e04235a6b87b10d3c4a74e2a7eb7c3caf168268f6af73314b5"

:private-key "..."

:nip05 "unclebobmartin@nostrplebs.com"

:lud16 "fittedrussia90@walletofsatoshi.com"

}

>From: BloggingBitcoin<-... at 03/05/23 10:17:59 on wss://nostr.milou.lol

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

>LOL. My profile was erased.

...Remember Knight Capital! ;-)

>From: cameri at 03/05/23 09:53:12 on wss://atlas.nostr.land

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

>The issue was a misconfigured mirror. Eden runs 5 relay instances behind the scenes and must be kept in sync. At some point we configured the mirror and formed a loop. The messages in the loop were the last 1000 events before the mirror started.

>

>I’m working on some changes for Nostream to include the number of max hops an event can be re-broadcasted so this doesn’t happen again.

https://github.com/unclebob/more-speech/wiki/getting_started

>From: BloggingBitcoin<-... at 03/05/23 07:48:43 on wss://nostr.milou.lol

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

>Good morning. I'm running More Speech. How do I add my nsec?

It no longer seems to loop endlessly. I get one batch of events from the "since" to the "until" and then and EOSE, and nothing else.

If "since" == "until" then no events are delivered, and no EOSE comes, even though there are events with that time code.

For example this REQ delivers no events and no EOSE:

["REQ","ms-past",{"since":1677844901,"until":1677844901}]

However, there are events with the ...901 time code (that I got with a different query) e.g.

["EVENT","ms-past",{"id":"a864e19e925bce1ed8f1ef0cde918e55182f6b1e93ac37a8c09b3cdf60d6e6e4","kind":9735,"pubkey":"be1d89794bf92de5dd64c1e60f6a2c70c140abac9932418fee30c5c637fe9479","created_at":1677844901,"content":"","tags":[["p","2c7cc62a697ea3a7826521f3fd34f0cb273693cbe5e9310f35449f43622a5cdc"],["bolt11","lnbc220n1pjqrcvmpp5uf5svph5snesx5jrchjjevxum023t3wfk3fnvyevfkvfvwsh07lshp5zlz2mflru26grw6jy9450eavtrqd95egs8a2jxa6kmqfwgkhxlcscqzpgxqzfvsp59jgkqte57rzj34wdea7g502eufv56yt4wy3ftddtm6gcalvz8vxq9qyyssq43jfpsryh6ryua0gnekghm0j4le7706c6tprry86q82zpnzcx66qe6nhrdg22j4dqmwm5h7gd38lwqfrjkcjxujx4ur327nvj8v2kusq2jpzxx"],["description","{\"kind\":9734,\"created_at\":1677844890,\"tags\":[[\"p\",\"2c7cc62a697ea3a7826521f3fd34f0cb273693cbe5e9310f35449f43622a5cdc\"],[\"relays\",\"wss://nostr-pub.wellorder.net\",\"wss://relay.damus.io\",\"wss://nostr.jatm.link\",\"wss://nostr-relay.nokotaro.com\",\"wss://nostr-relay.aapi.me\",\"wss://nostr.21crypto.ch\",\"wss://relay.snort.social\"],[\"user\",\"grimyend76\"],[\"amount\",\"22000\"]],\"content\":\"providing zaps for free | donate: zappr#[15].dev\",\"pubkey\":\"c6ee20a53f29409e1d0bb39edf6d0d3377e9a7133aba4d467db83f8d33d0ea06\",\"id\":\"47234ce73a5a2563dce90507bc9ac237d02c9adf3699f784ce1fb6f2e608335a\",\"sig\":\"e788057275671a404b67fb1dece2673bda01915727ed960de11f77865a9e3d78e18f590119ef0296401ff7f35053ffad67f37583aedf28641e8037d26a1e3d06\"}"],["preimage","e2690606f484f3035243c5e52cb0dcdbd515c5c9b45336132c4d98963a177fbf"]],"sig":"5651c0b9fc6bb0950534f67db8f16c58958966833d0eb315b962684f22b622966d858303e454a495f01a0723c6d5fee639a4aaddbecdbefd2d32872e775523e7"}]

>From: cameri at 03/05/23 08:21:14 on wss://atlas.nostr.land

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

>Could please check again?

I presume you mean a NIP that extends the REQ. I'm not sure what pulling this out of NIP-01 accomplishes. In any case, #p queries are pretty useful (if you ask me).

>From: jb55 at 03/05/23 07:56:46 on wss://puravida.nostr.land

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

>I think we talked about removing that anyway and splitting it into its own optional nip.

Yeah, that's what I thought. That doesn't make me feel good. I don't want to be typing that into a web page.

How do the alby/nos2x extensions solve this problem?

>From: cameri at 03/05/23 07:49:08 on wss://atlas.nostr.land

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

>nsec is just a different representation than the hex of your private key. The only protection it gives you is that it starts with nsec1 so that you know you are pasting a secret instead of a public key.

At the moment you open the private/keys file and type in your private and public keys in hex. Later on I'll set this up as an initial startup wizard.

>From: BloggingBitcoin<-... at 03/05/23 07:48:43 on wss://nostr.milou.lol

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

>Good morning. I'm running More Speech. How do I add my nsec?

I need to understand the theory. Does an nsec protect my private key somehow? If so, how? Is it just a signed message? If so, don't you need to know my pubkey? Or is that included in the nsec?

And... To sign up for Badges I'd like to simply send a nostr message to a Badges pubkey.

e.g.

@badges-we-dont-need-no-badges sign-me-up.

>From: cameri at 03/05/23 07:31:54 on wss://atlas.nostr.land

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

>I recommend using an extension like nos2x or Alby.

Should I have a problem typing my nsec into a web page?

>From: cameri at 03/05/23 07:25:50 on wss://atlas.nostr.land

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

>In case you missed the post!

>

>

>#[4]

...and remember everyone, don't put npubs in your p tags!