unclebobmartin's avatar
unclebobmartin
unclebobmartin@nostrplebs.com
npub19mun...jnft
Uncle Bob, Software Craftsman. http://cleancoder.com http://cleancoders.com
Good Morning Nostrs. Storms started rolling through the area last night and will persist for much of the day. I'm glad I went flying yesterday. Today I'll be teaching a three hour on-line class for Pearson. I do this pretty much every other Monday. This one will be Clean Agile. Then I'll be finishing up the reviews of my latest book: Functional Design -- much of which is based upon what I've learned while writing more-speech. And that should finish out the day. I was going to do a dog rescue tomorrow; but my plane could not hold the Mom and all her puppies, and so the organizer found a pilot with a bigger plane. Oh well. That just means that Tuesday is free for more work on more-speech. And, in the news, both the Department of Energy and the FBI now suggest that Covid was most likely released from the Wuhan lab of virology. Boy oh boy, there's a lot of egg on a lot of faces right now. The pushback has only just begun.
Today's flight in The Countess was through a clear beautiful blue sky. I did 4 practice approaches at nearby airports.
Good Sunday Morning to all you Nostr folk. Today I'm hopping in The Countess to go practice some approaches. Then I'll come home, exercise a bit, and then look through the reviews of my latest book (Functional Design) and make the necessary changes. I'm making a lot of progress on more-speech. I recently got the relay management page working so that you can add, delete, and rename relays, and change their roles on the fly. Relays can be :read-none, :read-all, :read-trusted, or :read-web-of-trust. That latter subscribes to everyone you trust and everyone _they_ trust. The list gets a little large. Relays can also be set to be writeable or not. And the relay management panel displays some current statistics about each relay. I also have an interesting problem that I'll be working on over the next week or so. When relays go down, for one reason or another, I repeatedly retry the connection, increasing the delay with each try. This has somehow caused performance to gradually slow so much that the time to process an incomming message is longer than the time between incomming messages; and the system eventually exhausts memory. This is probably due to threads not dying when they are supposed to, and building up over time sucking CPU cycles away from real work. So that'll be fun to debug. The solution is likely to redesign the whole relay connection subsystem into a single thread, or a set of N threads that do not themselves spawn new threads. Anyway, next week will be a lot of fun. Monday I'm teaching a class. I've got a dog rescue planned for Tuesday. Another class to teach on Wednesday. And some other travel planned for Thursday.
Good Morning Nostrplebs, and a fine morning it is too. Snow on the ground, weather clearing, I may just go flying today.
Another long day of coding. All UI gunk that it doesn't pay to write tests for. And so I crawl on broken glass, inching forward through exceptions and experiments, and bizarre results -- but finally it all seems to work. Good Night Nostrzens. Time for a good stiff dring and some TV. BTW, The miniseries on NetFlix entitled "Inside Man" is very good. Four expisodes that'll have you on the edge of your seat. And you'll love/hate the central charachter.
Debugging observer effect. All bugs disappear when you put a print statement in to detect then. Sneaky little bastards.
I code, I code, from one tiny horrible little detail to the next. Testing the UI is painful because it takes time to load and run it. Yet I can't create unit tests for it. So I stumble along like a drunken man trying desperately to get home.
D @npub1vga9fv3t7p6kxq3te7kd9sclpcz632zvpnv0y7ktk3qy95xdn9zszwlcyx Please try to reply to this.
Well... I spent the day coding anyway, but at least I got the relay management panel working (sort of) in more-speech. Bit by bit she comes together... Good Night Nostralians.
Good Morning Nostrilites!  Today I think I shall take a break from coding in more-speech, and just try to use it.  I may also put the wife and dogs in the Jeep and head up to our Northern Refuge.  Freezing rain and snow preclude any use of the airplane. (resent on more relays.)
Search is now working in more-speech. It's pretty cool. Regular expression matching, npub matching, hex-id matching, petname matching, profile name matching, etc etc.
Nostr database is at 7 gig now. Grows by ~1GB per day. Maybe a little less.
My nostr DB is 6.4GB today. Growing fast. Pretty soon I'll have to invent a mechanism to prune it. At the moment it deletes nothing.