codeinabox

joined 2 weeks ago
[–] codeinabox@programming.dev 2 points 23 hours ago

These are all very good points, and there is in value of having a common framework for front-end development. However, I would argue React isn't always the right tool for the job, yet it has become the dominant framework, and that dominance is being further bolstered because of generative AI.

This isn’t about React being the best tool or that it’s Model is good for LLMs (I don’t see any evidence there at all). It’s about React being past the point where network effects make alternatives viable.

So even if a better framework came along, and ideally one that's not owned by Meta, it would be very difficult for it to take hold because of this.

[–] codeinabox@programming.dev 9 points 3 days ago

Exactly but generative AI has exacerbated the problem

What is new is the scale of the problem being created as lightning-speed code generators spew reams of unread code into millions of projects

[–] codeinabox@programming.dev 3 points 5 days 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 5 days ago (2 children)

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

[–] codeinabox@programming.dev 3 points 6 days 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 week ago (1 children)

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

[–] codeinabox@programming.dev 1 points 1 week 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 2 weeks 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 2 weeks 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 2 weeks 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: next ›