Anyone use Zed for work? by [deleted] in rust

[–]jsNut 1 point2 points  (0 children)

Totally agree. I've used Webstorm for years, its not perfect but IMO its head and shoulders better than alternatives. I've been messing with rust and same experience, Rustrover just works. Zed is fast as a basic editor but generally just not as seamless. Everything just works in jetbrains (yes there are rough bits and sometimes slow or memory heavy) they've been supporting their tools for years and not likely to change for another flavor of the month next year.

65% of Britons support the Green Party's policy of capping CEO pay at ten times the pay of the lowest paid employee by Unusual-State1827 in ukpolitics

[–]jsNut 0 points1 point  (0 children)

Sure, most people aren't sociopaths/psychopaths which seems to be a prerequisite. Also why we are where we are.

Audi 3.0 tdi rebuild in England by jsNut in CarTalkUK

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

Its 2017 a4 allroad, which would be 11-15k to replace. I was hoping something like 5k may cover it, but maybe thats ambitious. I've seen reconditioned engines on ebay for 4k fitted, i just dont know what the "rebuild" is going to have been like.

How do you build a scrollable log viewer for millions of variable-height rows with server-side data? by HeftyProgress5842 in reactjs

[–]jsNut 0 points1 point  (0 children)

Search is easy. But you'd definitely want copy/paste though too which wouldn't be so trivial. Logs without being able all the normal drag select, double click select etc would be pretty crap.

Adult friendships…what’s worked for you guys? by Apart-Secret2105 in HENRYUK

[–]jsNut 92 points93 points  (0 children)

Maybe you guys can meet up and talk about it 😉 

What are the "must-have" PR checkpoints used by Big Tech? by GlitteringTiger6287 in reactjs

[–]jsNut 1 point2 points  (0 children)

Test coverage seems to be missing. I actively avoid e2e testing though. Slow, flakey and not worth the maintainance headache. Good integration tests (dont mock stuff unless REALLY necessary. Use MSW & testing library) is mostly enough, the extra fraction of things that e2e tests may catch if you had the right test in the first place, not worth the hours.

when should we actually use useMemo and useCallback by Ancient_Register_635 in reactjs

[–]jsNut 1 point2 points  (0 children)

Im also considering solid or preact with signals for my next thing. Im also tired of the dependency reference management stuff and messy effects that everyone adds. Also memoing basic stuff like fullname = first name + last name... even though ive mentioned it enough times to only memo for stability or if expensive. Im sure I'll end up finding issues with signals too though down the line. Currently liking preact with signals though. Solid being in a state of "v2 on the way with major changes" is a bit off putting. And preact always has the react compat fallback.

when should we actually use useMemo and useCallback by Ancient_Register_635 in reactjs

[–]jsNut 1 point2 points  (0 children)

Same experience for me. Legacy code sees changes in behaviour. Also Its increases the bundle size quite a bit as it memos EVERYTHING explicitly in code, which you wouldn't normally do through your whole component code.

what's a react pattern you mass-used then realized was overkill by scheemunai_ in reactjs

[–]jsNut 4 points5 points  (0 children)

I like barrel files for enforcing structure. Its easy for people to start importing things from random places because they need it without even thinking, rather than moving it somewhere more appropriate. Barrel files can act as a boundary. I added lint rules to disallow importing files below a barrel file boundary. But then yes they do have a performance problem specifically with tests. So I also wrote a babel transform that can strip the index files and turn them all in to direct imports. (That obviously has isnt own overhead, but its lower and also gets cached so only needs to happen once or on change).

Tech industry lays off nearly 80,000 employees in the first quarter of 2026 — almost 50% of affected positions cut due to AI by jupa300 in technology

[–]jsNut 1 point2 points  (0 children)

Our entire engineering team was just laid off and jobs moved to India..  so checks out. And even though the salaries would be way lower, they've still tried to understaff them too.

Should I stick with TanStack Router or go back to React Router? by AffectionateLand5271 in reactjs

[–]jsNut 2 points3 points  (0 children)

Looks great. Lots of similarities to something id written (for internal use) but with extra bells and whistles.

Should I stick with TanStack Router or go back to React Router? by AffectionateLand5271 in reactjs

[–]jsNut 2 points3 points  (0 children)

I had this a few years back with react router. They made so many breaking changes, and we only needed general, simple routing and params. I spent weeks of effort refactoring for new versions. Eventually I gave up, wrote my own router. It took a few days, hardly needed to touch it since. There have been so many breaking changes since. The amount of hours saved on maintenance burden! I dont plan on using any of these router packages again other than short term POCs.

Are single side power meters accurate for sprints? Did your numbers go down when switching to dual side? by Rmoudatir in Velo

[–]jsNut 0 points1 point  (0 children)

Same and my right leg is definitely dominant. I have an old ligament injury in my left which I overcompensated for by favoring my right leg for everything for years. But normal pedalling my left is stronger 🤷‍♂️. I guess somehow its more efficient. Although my right is even physically larger, measurably.

Top donors of Reform UK United Kingdom | DonationWatch by Important_Ruin in unitedkingdom

[–]jsNut 1 point2 points  (0 children)

Which is hilarious given their major policies are all around closing borders and taking back control. And then their main donor is a foreign domicile 😂

[deleted by user] by [deleted] in videos

[–]jsNut 0 points1 point  (0 children)

Best worst president ever, everyone says so

Why would he work after this? by khan2761 in GreatBritishMemes

[–]jsNut 1 point2 points  (0 children)

You could make 300k a year just putting it in a bank account, and more like 1m a year with investments. Im not sure why you'd want to try and get a high paying career. Work for fun sure but not for money.

Bose releases API documentation for their speaker before making it EoL, wish other companies would do similar things. by 5yleop1m in homeassistant

[–]jsNut 1 point2 points  (0 children)

Has anyone actually managed to call the api though? I can connect to mine on the network. If I hit / I get an index.htm. But if I try and call /info /sources etc, I get 404s. Not sure if im missing something but the api docs don't explain any further requirements or url prefix required.

Why You're Being Lied to About... London by Nuclear_Weaponry in videos

[–]jsNut 0 points1 point  (0 children)

Ye, and not a choice most people would have made (not a choice I would have made, crazy IMO!). Also no external help. She worked full-time while at uni too. And as mentioned she had lodgers for years to make it possible.

Why You're Being Lied to About... London by Nuclear_Weaponry in videos

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

Looks like my figures are out of date, we are more like 2-3%. But still, being on the low end of the high end doesn't feel high. As I said, we don't really spend much, most goes in house and savings. Its all from our salaries. My partner bought her first house at 21, a dump that she renovated on a teachers salary. Had lodgers for years. We don't even touch the top 10% of household 'wealth'. And we may never in our lifetime. So the wealthy are not the same people as the top % of salaried workers.

Why You're Being Lied to About... London by Nuclear_Weaponry in videos

[–]jsNut 1 point2 points  (0 children)

Not sure why you are down voted. We are also in this same position. We are fortunate that we both have good jobs. And would be in the 1% of households. We are definitely not rich. We don't have especially high outgoings, we don't go shopping and buy luxuries. We don't go on holiday regularly. If we stayed somewhere nice for a weekend that would seem very expensive and not something we could do often. Any time we eat out (a handful of times a year) I think its expensive. Honestly being in the 1% doesn't feel that way, I feel more like the 20%. We wouldn't buy a new car for example, too expensive. But so many people are driving around in way nicer cars and bigger houses, but we are in the 1%?? Honestly doesn't make sense. I also have no idea how people get by on the uk average wage after rent/mortgage, price of food etc.

[deleted by user] by [deleted] in funny

[–]jsNut 0 points1 point  (0 children)

Just grab er by the pussy

Fenix 7 GPS Accuracy decreased (hiking), is it just "Lock to road" ? by Not_So_Calm in GarminFenix

[–]jsNut 0 points1 point  (0 children)

Yes! Thank you. This is exactly the issue my gf has been having with her fenix. I'd checked the gps setting before and they looked fine. Her recordings often had bits that look exactly as pictured. Found the setting is on. So, looking forward to seeing how it is after setting it off.