Show more

I really like this quote:

> a lot of the value of code coverage data is to highlight not what’s covered, but what’s not covered.

Be liberal about marking code not worth writing tests for skipped for the coverage report, and set your coverage threshold to 100%. The report can then remind you about parts of your code you meant to but forgot to write a test for.

testing.googleblog.com/2020/08

We're going to release the things I've been working on for the past couple of months officially in a bit, and I'm more excited than I expected.

It's been open source and publicly accessible for a while, but now it's in an 🌟announcement🌟. Shiny!

I just stumbled on this and it looks amazing: decentralized endorsement of publications!
plaudit.pub

Anyone tried it or knows of it?

#research #academia #publication #decentralization

Just realised that I never really shared that I wrote a small npm package to send a while ago. It's automatically tested against the full webmention.rocks test suite, work in both Node and the browser, and includes type definitions.

This work was supported by @NGIZero and is currently used in production on plaudit.pub.

You can find it here: npmjs.com/package/webmen

I just can't get over how great StreetComplete is. It looks fantastic, is incredibly easy to use, and actually makes it fun to contribute data about the Real World for the benefit of everyone.

If you run Android, be sure to give it a try: github.com/westnordost/StreetC

SemVer seems clear enough, but in practice often leads to questions like "is this bugfix a breaking change?" or "shouldn't a major new feature be a major release?"

I wrote a post to collect and answer those questions:

vincenttunru.com/semver-explai

The tl;dr is: don't think about what your version "means", but about what conclusions you want your package's consumers to draw. That change of perspective can help resolve many common dilemma's.

Make sure your projects have a clear, descriptive name.

For example, consider these memorable projects that have had massive impact:

- property-based-dom-access
- data-bind-view
- state-function-view
- automock-tester
- server-side-javascript
- javascript-browser-automater

(Ten internet points to whoever can name the actual projects.)

I just saw a toot with an image that wouldn't load due to a choppy wifi connection. Luckily, the author had added a description of the image, so could still get the gist of it.

Which is to say, again: improving UX for the visually impaired helps a larger group than you might think.

It feels like we're transitioning to a situation where it's getting increasingly difficult to blackmail politicians.

Not because they've got a squeeky-clean record. But because their voter base doesn't care.

That's not necessarily a bad thing, btw. Personally, I'm very happy that there are many successful politicians who are openly homosexual, for example.

In fact, it's practically unavoidable: as more and more of our lives are in permanent digital records, there is dirt on everyone.

Just saw this quote:

> The person who says he knows what he thinks but cannot express it usually does not know what he thinks. (Mortimer Adler)

I feel like that should come with a disclaimer about speaking in a non-native language over a choppy video call connection.

If I could make one software metaphor go away, it's the idea of code as Lego.

Abstraction is a balancing act between power and utility, and the idea that you should be able to combine everything with everything tips the scales all the way to power at the cost of even the slightest bit of usefulness.

A more apt metaphor would be Tetris: we have some idea of the general shape of the blocks that are yet to come, but we'll occasionally be wrong, yet we'll still have to try to fit them together.

I saw an actual, Dutch-language, physical billboard ad for DuckDuckGo. I'm not too big of a fan of billboard ads, but it's pretty cool that privacy is enough of a selling point that this is a sensible investment.

(Though of course, it's not unlikely that outdoor advertising is relatively cheap today.)

Apparently OpenStreetMaps also allows you to record pandemic-related altered opening hours. Pretty cool.

Every year on May 5th, the Netherlands celebrates freedom. One major part of these celebrations are the freedom festivals all over the country. However, freedom day is only an official day off in most industries once every five years.

Of course, that just happens to be the year every one is stuck at home and public events are prohibited.

I understand the desire to automatically generate a changelog from your commit history but... When I'm evaluating the impact of an update, I'm really not that interested in how the unit test infrastructure was changed 🤷

They can recoup some of those costs by outsourcing the processing of this data to an advertising company, but if they wouldn't need to store that data in the first place, they could focus on their core competency. There's an opportunity for ethical alternatives there.

Show thread
Show more
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!