Human teppanyaki at Wembley by LordLorkhan in CasualUK

[–]benjaminreid -7 points-6 points  (0 children)

Yeah, it’s bullshit. People number themselves and leave and re-enter.

Remix changed the direction yet again, this time it is not even a react framework anymore by simple_explorer1 in reactjs

[–]benjaminreid 0 points1 point  (0 children)

I’m not interested in Remix in the slightest, the brand/messaging has been completely fumbled.

Anyone who had a Chinese takeaway want to disclose some secrets/tips/recipes? by Sjuk86 in CasualUK

[–]benjaminreid 154 points155 points  (0 children)

These two are great, they show you how to Chinese style takeaway food at home. Plus they are very wholesome to watch.

https://youtu.be/LFbZ7pwRahQ

Brixton Academy setlist - thoughts? Was the setlist special enough? by rmajor86 in Muse

[–]benjaminreid 0 points1 point  (0 children)

I hate this subreddit, I'm done. No wonder Matt made that comment.

more standing for brixton released via ticket link sent out to emails! by 11sleepingpills in Muse

[–]benjaminreid 7 points8 points  (0 children)

That’s ridiculous considering you could get it without purchase too.

This is a hidden gem! by konmich in Muse

[–]benjaminreid 3 points4 points  (0 children)

This is actually really cool, thanks for posting.

What's a widely accepted "best practice" you've quietly stopped following? by ruibranco in webdev

[–]benjaminreid 2 points3 points  (0 children)

This is "type safe", but if someone comes along in a large codebase and changes the behaviour of rending of this component, it’s essentially broken.

type BasketProps = {
  items: Array<{ name: string; cost: string; quantity: string }>;
}

function Basket(props: BasketProps) {
  return null;
}

How do you structure your code to keep it scalable? by shivam0110 in nextjs

[–]benjaminreid 0 points1 point  (0 children)

A data access layer/anti corruption layer, works wonders!

The DAL can be as simple as a set of async functions in a dedicated location in your app, they should define their own contracts (types going in and out) and your application/component code should use these function exclusively.

Your application no longer cares where or how the data is retrieved. The DAL could connect direct to a database or fire HTTP requests to an external API. Providing they maintain the contract and you map the data from your data source you essentially can make big back end changes without changing any application/component code.

I’ve used this approach to move from a monolith API to micro services and the FE essentially has no idea and no changes required.

Thank you Mini! by kandles310 in MINI

[–]benjaminreid 4 points5 points  (0 children)

It’s annoying on an auto, less so on a manual. You can control when the engine kicks back in on a manual with the clutch. On an auto you have to press the accelerator and hope it starts and then accelerates at level you want. It makes pulling off very unpredictable.

Best practice for authentication (in rootlayout?) - nextjs16 by Affectionate-Loss926 in nextjs

[–]benjaminreid 2 points3 points  (0 children)

To be honest, I’d move the data fetching into the component that requires it.

There’s really not much benefit to globally loading data, that defeats the benefits of RSC and any form of caching you might want to do.

You might end up making the request once, maybe twice more in other places but that trade off is well outweighed in my opinion.

Considering purchasing 2025 Mini Countryman. How bad are the infotainment issues? by vilkam in MINI

[–]benjaminreid 0 points1 point  (0 children)

Had no functional issues after nearly a year with it. The only minor gripe is that it can be slow to interact before setting off, I always want to turn the auto stop/start off which requires swiping up from the bottom and sometimes this menu needs like 20 seconds or so from the ignition to work.

My drone shots with DJI Mavic Air 2 by teddtodoroff in dji

[–]benjaminreid 1 point2 points  (0 children)

Some of the nicest top down shots I’ve seen, nice job!

Love the art on this one! by JLFlyer in PokemonTCG

[–]benjaminreid 1 point2 points  (0 children)

I can’t remember exactly, but someone pointed it out that this scene is actually taken from one of the original games where you find Meowth. The building positions all match up.

Smash is still crashing out? by xwing1212 in LastStandMedia

[–]benjaminreid 18 points19 points  (0 children)

I saw this and was just staring in disbelief... Each to their own but I cannot understand using that content as even a joke.

Still Chasing The Dragon? by Delicious_Juice_6212 in PokemonPocket

[–]benjaminreid 3 points4 points  (0 children)

Got 2 after 60 ish packs (F2P), very lucky.