codeinabox

joined 1 month ago
MODERATOR OF
 

In version 10.16, PNPM introduced the minimumReleaseAge setting. This allows you to specify a minimum age that a published package must have before PNPM will install it. The idea behind delayed dependency updates is that most compromised packages are taken down quickly.

[–] codeinabox@programming.dev 3 points 1 month ago

My understanding is that an example of a hypothesis, is that users want a feature. The experiment is putting that feature in front of users, or performing user research, which which then allows you to validate if a hypothesis is true or not.

[–] codeinabox@programming.dev 1 points 1 month ago (2 children)

I am intrigued. Could you elaborate on this with some examples?

[–] codeinabox@programming.dev 3 points 1 month ago

This does remind me there was a time when websites having the W3C validation badges was all the rage.

[–] codeinabox@programming.dev 1 points 1 month ago (1 children)

Similar but different, this blog post goes into more detail: Are nested grids like nested tables?

[–] codeinabox@programming.dev 2 points 1 month ago

After a bit of experimentation, I've managed to find a cleaner solution to enforcing the ticket number in the subject:

module.exports = {
  extends: ['@commitlint/config-conventional'],
  rules: {
    // Enforce scope to match JIRA ticket format like PER-123
    'jira-ticket-rule': [2, 'always'],
    'subject-case': [0],
  },
  plugins: [
    {
      rules: {
        'jira-ticket-rule': ({ subject }) => {
          return [
             subject && subject.match(/[A-Z]+-\d+/),
            'Your subject should contain a JIRA ticket eg PER-123',
          ];
        },
      },
    },
  ],
};
[–] codeinabox@programming.dev 2 points 1 month ago (1 children)

It wasn't clear what was meant by "event" which was why I was asking. Could you please tell me more about these events that only exist in the Fediverse? It's the first time I've heard of them, and I am keen to learn more.

[–] codeinabox@programming.dev 1 points 1 month ago (3 children)

When I say a conference, here's an example of what I mean, State of the Browser 14.

[–] codeinabox@programming.dev 1 points 1 month ago (1 children)

To clarify, when you say freelancer, do you mean on a part-time basis? Or do you mean having a contract and working on a full-time basis for that client? Also, where are you based? I'm happy to give advice as a UK based contractor, who does a tiny bit of freelance work

view more: ‹ prev next ›