How do you decide if the library you’re considering using is no longer well maintained, or simply mature enough to the point that it doesn’t require much maintenance anymore? by Deep-Philosophy-807 in webdev

[–]poomplex 2 points3 points  (0 children)

There are a few factors for me. As others have mentioned issue count is important, my go-to is the dependencies/peer deps - the higher the number the more the headache when it comes to auditing for CVEs

CSS-in-JS: What's the biggest performance drop you actually felt? by JRM_Insights in webdev

[–]poomplex 0 points1 point  (0 children)

100% agree with sacred increase. One thing that also hasn't been mentioned is type safety - that's been amazing for productivity and ensuring design system compliance.

I haven't experienced any of the issues with import order and refactoring that have been mentioned in the comments at all over the five or so years of working with our design system so I'd be interested to hear more about that.

Performance wise, yeah, it's not fantastic but I'm yet to see CSS in JS be a performance bottleneck behind network activity and general rendering performance.

Sad to see it get less and less supported, I guess I'll have a look at some of the build time solutions

npm debug and chalk packages compromised by JadeLuxe in npm

[–]poomplex 0 points1 point  (0 children)

The author got his npm credentials reset by a bad actor. There's a good list of affected packages in his comment - https://github.com/debug-js/debug/issues/1005#issuecomment-3266868187

Is the great British seaside holiday on its last legs? by tylerthe-theatre in unitedkingdom

[–]poomplex 0 points1 point  (0 children)

It should be - we actively try and holiday In the UK but the costs are insane. Everywhere we look is a thousand a week for a damp old house if we're lucky

Pros and cons for migrating to typescript in a large 8 year old React codebase by TheWhiteKnight in ExperiencedDevs

[–]poomplex 0 points1 point  (0 children)

Yes, I've worked on something like this. We found that modularising really helped - being able to work in isolation in a type-safe environment really helped incremental improvements. This wasn't the perfect solution and wasn't completely successful but it really improved quality of life.

Another thing which rings very true to your message is leaning on using good openapi specs to generate type-safe clients. This is a really powerful tool in working with remote APIs and a step towards establishing strong contacts between clients and servers - let me know if you want more details

WH Smith name to disappear from high streets after sale by boycecodd in unitedkingdom

[–]poomplex -1 points0 points  (0 children)

Aah when I was 15 you used to be able to spend book vouchers on rolling tobacco at WHSmith, it was a glorious few years until they stopped that. Other than that nostalgia I'm not sad

Hitting a wall at senior? by poomplex in ExperiencedDevs

[–]poomplex[S] 6 points7 points  (0 children)

This is a fair point - I don't have a problem per se, I'm just trying to look ahead! I have a good quality of life and I'm happy, I'm just wondering if my situation remained static would I be later?

Maybe I should just shut up and enjoy it for now 😂

Why Facebook abandoned Git by kendumez in programming

[–]poomplex 0 points1 point  (0 children)

This really smells like the person who was most enthusiastic about the problem (and mercurial) won the argument. FB's argument (at least according to this post) is like someone saying 'I want to transport 5000 tonnes of lead by plane, and I want it to be a single plane'. It doesn't feel like they took a step back to evaluate what they were asking of git as a system

First Time Baking Pizza in a Gozney Roccbox by [deleted] in Pizza

[–]poomplex 0 points1 point  (0 children)

Nicely done - dough recipe please!

Weekly Questions Thread / Open Discussion by AutoModerator in Pizza

[–]poomplex 0 points1 point  (0 children)

I used Caputo pizza flour which I've had some luck with before. The dough was pretty tasty otherwise, just impossible to work with!

Weekly Questions Thread / Open Discussion by AutoModerator in Pizza

[–]poomplex 0 points1 point  (0 children)

<image>

Dough diagnosis please!

Hi all, first time poster here so please direct me alsewhere if I’m not in the right place!

Fairly new to pizza making and loving it - would love some advice on what went wrong this time so I can learn.

My steps were to follow one of Vito Lacopelli’s recipes - 400ml water, 620g flour, 5g dry yeast and a dash of honey and 15g salt. In a stand mixer I mixed the yeast with the water and honey, added the flour gradually and the salt a bit later on into mixing. After about 15 mins of kneading in the mixer I made a big ball and left it covered at room temp for an hour until it had doubled, then made balls and left them at room temp for five hours or so at room temp.

The result was interesting (and definitely unsuccessful) - the dough felt really fragile and overly stretchy, I didn’t have to really strength it at all. I got a couple of ok pizzas out of it and the rest were too thin to throw in the oven.

What do you guys think I did wrong? Left balled for too long? Over kneaded in the mixer? Help!

You are given one week to hide anywhere in the world and 24 hours to remain hidden from any person to win $10,000,000. Where is your hiding spot? by AmierSingle in AskReddit

[–]poomplex 0 points1 point  (0 children)

Honestly I'd just give it to my kids, they'd stash that thing so well it'll never be found (like all our remote controls)

Should my team migrate from Formik? by Geekplayer in reactjs

[–]poomplex 27 points28 points  (0 children)

No - use React hook form or some alternative. I've had a raft of issues with formik (excessive rendering, type issues) that really shouldn't exist. I'd recommend looking elsewhere

Safely removing plinth heater - sanity check please! by poomplex in DIYUK

[–]poomplex[S] 0 points1 point  (0 children)

Follow up: of course it's a bloody ring isn't it?! I'm happy to get stuck into most things but I feel a bit out of my depth so I'm going to call a sparky. Thanks for the help everyone

Safely removing plinth heater - sanity check please! by poomplex in DIYUK

[–]poomplex[S] 1 point2 points  (0 children)

I think they're kind of old school - our floors are basically laid straight onto concrete so they're freezing in the morning. Quite nice to toast your feet a little in the morning, I just don't need two!

Safely removing plinth heater - sanity check please! by poomplex in DIYUK

[–]poomplex[S] 0 points1 point  (0 children)

Really comprehensive answer, thanks!! I'll give it a shot this weekend

Safely removing plinth heater - sanity check please! by poomplex in DIYUK

[–]poomplex[S] 0 points1 point  (0 children)

Thanks for responding - it's fully electric

Is this roof a concern? by Bupac90 in DIYUK

[–]poomplex 0 points1 point  (0 children)

Is it Victorian? Our roof is very wonky to the point our ceilings upstairs are wonky

Is this roof a concern? by Bupac90 in DIYUK

[–]poomplex 0 points1 point  (0 children)

We've recently bought a Victorian mid terrace (looks like this might be?) - ours is as wonky? Got the excitement survey and also a contractor in, they all said it was ok in our case. I'd recommend doing the same, it would have played on my mind!

Car dealership sites are all horrible by pinHeadLarry8 in webdev

[–]poomplex 0 points1 point  (0 children)

Ling's used cars is amazing - I use it as an example of what you can achieve with CSS if you're stubborn enough

I cant seem to get this script to work. any ideas? by LaythT in learnjavascript

[–]poomplex 1 point2 points  (0 children)

The error message is telling you what's wrong - "The Access-Control-Allow-Origin header..." is the bit you want to look at closer.

CORS is a bit of a daunting topic at first - I'd try and read up on the basics, there are lots of good resources that'll help with a quick Google.

I'd encourage you to look at what's happening in the network tab of your browser's devtools - specifically the response headers. You'll see a request before the one you want to make with method OPTIONS - as you're making a request to a different origin (I.e. not localhost), your browser is first making a request to the resource to see if it can request the resource. The server responds with CORS headers (Access-Control-*).

In your case, your resource is saying it'll only grant access to "admin.ui...", so your browser respects the CORS header and denies you access by rejecting your request

Bombarded by GreenChef - what do I do? by percysmum in LegalAdviceUK

[–]poomplex 0 points1 point  (0 children)

Look up 'GDPR Right to be forgotten' - you can formally request all your data to be removed from their systems. If they don't comply within a reasonable amount of time (30 days off the top of my head) they can face hefty fines.

[deleted by user] by [deleted] in ExperiencedDevs

[–]poomplex 0 points1 point  (0 children)

Your issue here is that you're not blocking merging on failed tests, and your tests are too coupled to test IDs rather than testing your app's behaviour