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

95% of business apps used to be written in COBOL -- that doesn't mean it was a good idea.

Yes, of course, all data access should be abstracted through an API.

No, ORMs are a naive solution to a much more interesting problem that is better solved through regular code.

Besides, there is no such thing as an Object-Relational-Mapper. ORMs are data structure hydrators. All they do is translate relational tables into data structures.

An object is a collection of public behaviors that manipulates hidden data whose location cannot be determined from those behaviors. A data structure is a collection of public fields with no behaviors. Objects and data structures are the opposites of each other. ORMs do not map to objects, they map to data structures.

From: brah<-DerekRoss at 06/02/23 09:00:17 on wss://relay.damus.io

CC: #[4]

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

>Isn’t like 95% of all data stored in sql databases? Or are you saying it should be abstracted via apis which I think in general would be, and most ppl use ORMs nowadays anyway

All programmers should sudy and learn the relational algebra and the Codd Normal Forms. They should also study the horror of SQL and pray that they never have to use it.

It fills me with incredulity that _anyone_ thought that data access should be achieved through text statements that are compiled and executed in a running system. How many data breaches have been based on that dumb mistake alone?

Data access within a running system should always and only be accomplished through an API.

The holy month of pride must not be defiled!

From: (Chilidem) at 06/02/23 08:39:08 on wss://relay.damus.io

CC: #[4]

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

>But...but...but... it's Pride Month?! You can't say this during Pride Month!

It's just so much fun to guide a clojure app into maturity like this. Using clojure was a bit risky for a real-time app like this; but life is risk, so I decided to take a shot. ;-)

From: 0xtr at 06/02/23 07:59:05 on wss://relay.nostriches.org

CC: #[4]

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

>Happy to see you’re continuing to hack on more-speech!

Dylan Mulvaney is a man. I don't care how he dresses, or what misgender he calls himself. He is a man. His gender is male. He is a he.

In my opinion Mulvaney is simply taking a page out of the Kaepernick playbook: If you can't make it with talent, make it with controversy. I find such dishonest attention seeking rather despicable.

Today I think I'll work a bit on the UI of more-speech. The single line summaries create a lot of on-screen clutter. I think I'll turn them into three line summaries and see if I can attach the avatars to them.

I usually focus on function over form in the early days of development so that form does not drive function. As such, more-speech has always looked a little crude and amateurish; while, under the covers, functionality was growing and spreading. I think more-speech is approaching an inflection point where functionality can now drive form rather than the other way around.

We'll see.

The internal struggle at Twitter is fun, if a bit disturbing, to watch. The crazy turn of events over _What is a Woman?_ has led to at least two high-level resignations and hints of a significant internal shake-up. Apparently there were censorious moles still remaining in the "Deep Twitter" swamp.

Elon's still got a lot of work to do, and I'm not at all sure he's going to do it well. His tweets from last night are disheartening at best.

We shall see.

In the mean time Nostr has returned social networks to the natrual state of decentralization and remains {a ,the} solution to all the horrors of centralized social networks.

GM-PV Nostroles,

It is wonderful watching a book come together. I submitted the manuscript for _Functional Design_ some months back. It's gone through the initial development editing, and is now in full-fledged copyedit. With each phase the level of detail cranks up a notch. After copy-edit comes page composition, page proofs, and then publication.

Expect the book on shelves just after Halloween!

GM-PV Nostrall:

We are back home now, having cleaned and scrubbed our Northern Hideaway after the family inundation. Today I'll pick up an electric assist Trike (Terratrike Rambler EVO) for my lovely wife to complement the one we brought home last week. The two of us will ride...ride...ride.

I'm also doing a little cleanup on more-speech.

Audio is good.

Your presentation style is very good.

Your pacing is very good.

Your font is way too small.

From: JeffG<-cameri at 05/30/23 05:15:05 on wss://relay.damus.io

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

>📹 I recorded a screenshare running through the absolute basics of getting NDK up and running in a super simple web app, fetching data from relays, and integrating to a NIP-07 browser extension.

>

>I would love feedback and suggestions on how to make these more helpful/engaging/etc.

>

>https://youtu.be/Xzwx21oq8Hk

github.com/unclebob/more-speech

From: (ArinBasu) at 05/30/23 15:06:51 on wss://relay.damus.io

CC: #[4]

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

>Sounds fascinating! Where can I get it?

4 relay.nostriches.org, nostr-pub.wellorder.net, nostr-dev.wellorder.net, offchain.pub

From: fiatjaf at 05/30/23 08:04:30 on wss://relay.nostriches.org

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

>I've sent "exclusive" notes to 242 different relays taken from https://nostr.watch/ with my profile. How many did you see?

I think the Cy Borg's Markov chain generator might be a bit hosed. nostr:note1xw9u3gzfzsr4uzc9t6269wvjnute3r3txs5ddt4f3k2drnxw2vmqx2alq9

I think the Cy Borg's Markov chain generator might be a bit hosed.

note1xw9u3gzfzsr4uzc9t6269wvjnute3r3txs5ddt4f3k2drnxw2vmqx2alq9

The lastest push of more-speech allows you to specify regular expression filters for the tabs.

More speech is a tool for deep engagement with nostr. It's not a phone app. Rather it is a desktop app that allows you to see, search, and sort through the global feed of messages coming in on your relays. You can add filters for particular users, or particular threads, to tabs; and create as many tabs as you like. And now, you can add regular expression matching to your tab filters. This allows you to create tabs that search the content within message.

So, for example, perhaps you want to know what people are saying about RFK? You can create a tab to hold RFK messages and then add regular expressions to that tab that will select messages for RFK, and Bobby Kennedy, and Candidate Kennedy, etc.

Don't worry about me. I'm just testing the regex filtering of tabs in more-speech.

Now you can add regex filters to tabs. Let's say you want a tab that only shows note that have the word "Christmas" in them. You set up a new tab and then add the "Christmas" regex to it.