Show more

I have nothing against integration or end-to-end testing. My problem is the expectation that I can run a test and there wont be side effects or gotchas. I can re-run the test and get the same thing, every single time, and that there is no random chance involved, time of day issues or a possibility that I'll email grandma her receipt again. Integration and e2e tests could be written to avoid those issues too, but not when they're not treated as such.

Show thread

If you write a test that calls an API, gets or sets data in an actual database, sends a message to an outside system of any kind: that is *not* a unit test. You may have started out to write a unit test, but your journey took you much further than you meant it to and now you are in a dark and scary forest called "The Forest of Unintended Consequences" which has a river that runs through it named "The River of Randomly Failing Tests". Good luck, adventurer.

Meetings or work, we can't do both, and they're not the same thing.

@oebelus Welcome to Mastodon! 🍍 Let me know if you need help getting started.

Russ boosted

i honestly think #gitea is pretty great and that once it had that "modules" thing worked out it could be The entry level code forge software suitable for almost anyone

(big claim i know, but i personally think it's one of the few For-Programmers tools i've ever used that feels not bewildering toward Windows users who barely know what a package manager is.)

but its issue tracking leaves me in this weird place between 'my favourite one i've used' and 'not satisfied'

I may not have enough experience to guide you on your path, but I can sure as fuck tell you that your pack is too heavy.

TIL: In Vim, yank some text into a register, yw and what have you... by default the registers are 0 and ".

You can paste the text of any register by doing <CTRL-R>X where X is the name of the register (so 0 or " by default).

This is all to say, you can do /<CTRL-R>0 and it will search forward for the yanked text.

Neat.

I find it hilarious that my phone autocorrects "standups" to "standoffs".

So true, Swipe Keyboard, so true...

`git add --patch` is alright, and so are you.

I feel like such a failure. I got told at 8 AM that my pay would get cut at work so they could avoid layoffs, and more to the point, I haven't "May the fourth be with you"'d anyone all day...

What is it that you edit the most in your terminal text editor of choice? I'm trying to use mine for coding, but I'll be damned if I don't find myself staring at the configuration file of the editor itself 90% of the time...

Covid-19 can't steal our tears, but it can make us think twice about wiping them away.

If they make me install Windows at work I'm going to live in the Ubuntu Windows Store app in the terminal.

Spectrum outage. It's ridiculous that a single fiber optic line getting messed up can bring down their operations this badly. Waiting for their automated system to call me back, so at least that's cool. Until then I guess I read a book or something...

uspol 

The folks doing Drunk History are going to have a god damn field day when the episode about today comes up.

Russ boosted

the only thing impressive about rust is how it makes people more obnoxious than haskell users

Good morning, everyone! I hope you had a good weekend.

Imagine if you could see someone typing out a Toot... Probably a bad idea.

Russ boosted

From HN discussion - "This is why I use ad blockers and a pi-hole server" (news.ycombinator.com/item?id=2)

This is GDPR in action. Wow.

Show more
Ronin.World

Mastodon is a federated social network composed of instances. This particular instance is a portal into that social network, and a support group for workers of all types.