Show more

@abnv me reading it as "I got a bunch of feds on my website" is a clear sign that 3AM is time to sleep.

I wanted to add `rust-toolchain.toml` to ONE toy project. I'm now heading into hour 3 of yak shaving my Nix config and compiling god-knows-what from scratch.

@catsalad I'm not actually in security. I'm a forklift operator and post dumb shit between deliveries.

Sure, I was assigned a gender at birth. I also got assigned homework at school but I didn't do that either.

@Daojoan @theindex ngl, you lost me at "men deserve".

(I read the post, I think "being an asshole" always was the dictionary definition of "masculine energy")

What the actual fuck, it's ten years since we lost George Coe.

(Voice of Woodhouse in )

It feels as sad and mildly shocking as yesterday.

@mo8it @apublicimage ah, but see,

.fold(f).fold(g) won't fuse the folds!

Whereas the library I sent you uses standard combinators (like `ap` from Applicative in Haskell, not sure if there is some go-to combinator implementation in Rust) to fuse the folds!

Thus, when you run a code which builds a computation with Foldl, you get as a return value a computation! You can then run it *snaps fingers* again and [lazily] get the result.

@vwbusguy grep will match because string "30\n" contains '0'.

#EU shipyards are repairing russian "ice-class" tankers and offering them dry dock facilities, enabling moscow to keep moving gas through the Arctic despite western sanctions on its energy sector, the Financial Times front page

@faassen @jasongorman yeah, I think the truth lies in nuanced understanding of why we do things that we do. This is a banger approach by a mature and diligent developer.

I lack diligence and I spend (probably more time than you) on refactoring interfaces rather than proactively mocking.

You know, this conversation makes me think that when I was young I didn't understand TDD because I didn't have enough experience and I thought that mocks are a replacement for e2e. Then I got disillusioned in the misconception, which resulted in behavioural apprehension lasting second decade now. 😂

@jonn

@jasongorman

That's why you iterate. I have no idea what the implementation will look like, so I start with some test. Often a guiding test. It teaches me about the API I might want. As I expand the code and tests I rearrange it all frequently as I learn.

Type driven development is also cool but I think mostly complementary to tests.

Show more
Doma Social

Mastodon server of https://doma.dev.