It's like TDD was wiped out of the industry by billions of VC money flowing through silicon valley, and now any retard who learns to code never learns what it is.

https://image.nostr.build/1e4d7f143217c920d9e8da468b7455ff9056f2ea5d0b2429772a98f724fa28c0.webp

Reply to this note

Please Login to reply.

Discussion

I swear man going on Nostr GitHub is like walking into a hellscape.

The only place I kinda like being is nostr:nprofile1qqsrhuxx8l9ex335q7he0f09aej04zpazpl0ne2cgukyawd24mayt8gprfmhxue69uhkcmmrdd3x77pwve5kzar2v9nzucm0d5hszxmhwden5te0wfjkccte9emk2um5v4exucn5vvhxxmmd9ux73xm6's go-nostr repo.

Did you try primal recently? I heard it's good.

☠️

Dev culture is such trash πŸ˜‚πŸ˜­

I tagged you in something, take a look, Jay!

Bro I'm dying rn give me a second.

Hahahaha ok

Dude that's awesome. It almost makes me feel better about the criminal lack of software testing in the world.

Glad you liked it! Stay calm about the software, brother hahaha

It's hard man. It's really hard.

If you were Brazilian, I’d give you some brigadeiros to brighten your day hahaha

πŸ˜‚ wouldn't that be great. I know some Brazilians but from final fantasy 14 lmao. I have no idea where in Brazil they are.

Uses SQLite with no way to scale, and bad schema, nothing can go wrong

and also centralized

they had to last-second hack together Postgres support

I'm gonna obselete the primal cache. It's so retarded.

I am working my own alternative cache server. Replacing crappy DVMs and the buggy protocol that is with proper algorithms too

🀝

But do you write tests tho?

As you can see I hate people who don't test.

I need to do that for a few projects :)

But I do a lot of verification and manual testing + making the code actually readable. Doesn’t scale too much though.

Yes and especially those who advertise explicitly that they don't test XD and yet somehow that's what gets all the type. not boring old tested software

FoundationDB is peak testing-driven development.

The entire thing is designed to run in a reproducible simulator.

TDD is not my thing I'll admit, I suppose more BDD. I think anytime you refuse to acknowledge the forest regularly during development it becomes a limiting factor, but I guess it heavily depends on the project. A database design has a pretty fixed high level architecture theses days.

I'm butchering relay subscription filters to do graph lookups. I'm sure the devs will love that.

Please do so Semi. Dvms were never meant to be the content discovery thing. It just became the content discovery thing because there was nothing else, besides centralized trending algos on some big platform. Maybe you build something better. Go for it.

The protocol can be significantly reworked to allow direct connection between feed provider and client (reducing latency) and add certain things like pagination etc

Doesn’t need to be bound by event size limits either, and improved privacy

Events can be encrypted, clients just don't do it. Latency is very low when you use a proper relay. But as I said, feel free to make something better.

Adding an intermediate hop is always higher latency, and ideal != what commonly happens

Encryption also increases event sizes (base64 encoding)

TDD is overrated, always has been

Until you ship code that never fails in its primary function, you'll never get the point of TDD.

But the fiat market loves buggy code, so that's what it gets.

bro, I'm in this shit for over 25 years.

I shipped so many fuckups you wouldn't believe πŸ˜‚

And most of them were extensivelly tested. Automation and manual.

The truth is, that sometimes shit just hit the fan

Dude one thing I learned early on is to never trust someone who says how many years of experience they have. Cause the biggest morons I've ever met in the powergen industry had the biggest "years of experience" stat on their lapel.

I'm always going to look down on code that has exactly zero tests and assume it doesn't work. Cause most likely the developer doesn't even know what it actually does. Just what they hope it does.

You took it the other way around.

I said I puhsed so many buggy code you wouldn't believe πŸ˜‚

What havoc you must have wrought lmao πŸ˜‚

I don't TDD because if your reqs and both code change too fast it's waste of time.

I'm deeply into functional programming and I do have "perfect" functions. And a test suites for them. Never worte them upfront.

I write a (hopefully pure) function for some data transformation taks. Test my program, then I write a test which makes sure even all corner cases are covered. And fix my function. Not TDD but still well tested. But only if I'm sure the function will be used.