@jasongorman @faassen oh, but meaningful tests, according to me, are invariant tests, e2e tests, performance tests, blah-blah-blah, stuff that wants implementation (often beyond the boundaries of the interface)!
In teams I manage, I suggest reframing unit tests as *the* tool to write most of regression tests, but not as a tool to increase the evidence of even correctness.
"You wouldn't test a theorem".
@mo8it @apublicimage ah yes, silly me. But it would be possible if they were even lazier (see Control.Foldl[1] in Haskell).
Actually! Is there some API which allows you to build computation over iterators and then run it, reducing (pun intended) the constant factor in O(n)?
[1]: https://hackage.haskell.org/package/foldl-1.4.18/docs/Control-Foldl.html
@jasongorman @faassen by doing what TDD tells me to do – writing them before the implementation! 😇
LLMs are a near-perfect rentier technology. The cost of training them to the point where they're even marginally useful is so prohibitive that only people with very deep pockets can do it. The goal then is to make us all reliant on them, by shoehorning them into as many products as possible.
And it doesn't matter whether or not we actually need them if products won't work without them.
@faassen @jasongorman unironically, all I heard from TDD people is like...
Translate specs to tests, before you change behaviour, change tests. But the problem is that when you don't have implementation yet, to do most kinds of tests, you need to create replace stuff "behind the interface" with something.
I think with most people (me included), there is where the problematic aspect comes into play. I'm not convinced that in we'll typed languages TDD benefits is distinguishable from just writing tight types.
But, of course, I wouldn't spew hot takes like the one quoted 😂
@WindOfChange THIS IS HASKEEEEEEEEEEEEL
@apublicimage that's exactly the thing I learned! I kinda low key expected for take() to take Iterator<...> and return Option<Iterator<...>>
Well, I guess I'm on ~~inst~~ #pixelfed now
Wow. I follow news about Free and open source software quite a bit – but where do I learn that a movie made with @Blender actually won a freaking Golden Globe!?
Congratulations to the creators of the movie Flow – and to all contributors to Blender throughout the years, who made this possible! What an achievement!
Here's an interview with the director, with focus on the use of Blender https://www.fastcompany.com/91232740/flow-movie-turned-a-4-million-budget-into-an-animated-work-of-art
Jan 14, 1914: On this date Selahattin Ülkümen born. A Muslim Turkish official who helped Jews escape the Holocaust. While Consul General of Rhodes, he saved ~50 Jews of the 2000 living on the island. (1/2)
@Raccoon oh yes, we are absolutely on the same page, but "stability of democracies" is a dynamic thing.
We saw a takeover of #Hungary some decade ago, saw a takeover of #Turkey (which somehow didn't bite us in the ass big time quite yet, but it may and it likely will). Now — #Slovakia and #USA.
Don't get me right, I'm all for having an alliance which stands for all that's good against all that's bad, but then we need an accreditation process which would renew memberships in it.
Finally, as you know, it's tricky for a #NATO country to enter a conflict on the foreign soil willy-nilly. Some countries managed to (like aforementioned #Turkey), but they had to work with partners on the diplomatic level for the allies to turn a blind eye. There also was that one war based on shit intel into which everyone was dragged, including my home country, #Latvia. So it's not like there are no problems with #NATO decision-making and strategy. My entire point is that getting the strongest #European army in should be a no-brainer because there are existing checks and balances!
So it's very difficult for me to see takes like this as anything but high-horse thinking. I hope I'm not too offensive 🙏 I don't mean to offend, just to share a perspective.
@april to avoid XY problem – what is the task you need to accomplish? If I had to write *about* someone making modem sound, I would describe the sound they made, fwiw.
me: i’ve single-handedly written software used by tens of millions of people, you can see it right over at github.com/april
prospective employers: sorry, but unfortunately you did poorly in a high-stress 40-minute coding exercise, writing code with no time to think about how to solve a problem you’ve never seen before, in a terrible dev environment, while someone stares at you the whole time
That https://doma.dev guy
#lean #rust #typescript #react #nix
In my non-existent free time I design and run #TTRPG
If you use tools made by genocide-apologists, you are a genocide-apologist.
#lemmy users aren't welcome here.