What are you testing Bob?

Reply to this note

Please Login to reply.

Discussion

I'm pruning the event window so that it doesn't grow endlessly. It's a configuration parameter that I set to 1000 events.

If you pull up an event that is in the window and it refers to an event that has been pruned, but that event is still in the database, you can click on it and it'll load that event back into the list so you can see it.

This works _most_ of the time, but there is apparently some slippery case where you click on an event that IS in the database, but it still doesn't pull it up.

So I'm turning on detailed log messages in that part of the code to see if I can figure out why this is happening.

You know, standard debugging BS. ;-)

>From: Golfwinch<-ringo at 03/28/23 09:54:12 on wss://relay.damus.io

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

>What are you testing Bob?

...and I think I just figured it out.

Yeah, that was it. Nasty one. But all bugs yield to relentless determination and persistence. And a good test suite really helps!

I watched a video on your website about clean code. What is a good book for beginners wanting to start learning how to code? Or top three if you are having trouble finding just one?

My 15 yr old son and I are both interested in learning to code computers. I love your content. You have a gift. Thank you for your contribution to this online community! PV! 🤙🏽🫂😎

A good beginning book on coding. Hmmm.

Well, I'd recommend _Clojure for the Brave and Brue_.

https://www.amazon.com/Clojure-Brave-True-Ultimate-Programmer/dp/1593275919

>From: Golfwinch<-ringo at 03/28/23 11:50:35 on wss://relay.damus.io

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

>I watched a video on your website about clean code. What is a good book for beginners wanting to start learning how to code? Or top three if you are having trouble finding just one?

>My 15 yr old son and I are both interested in learning to code computers. I love your content. You have a gift. Thank you for your contribution to this online community! PV! 🤙🏽🫂😎

Thank you kindly Sir! PV! 🫂💪👍