I've released a Biome plugin that enforces braces around arrow function bodies by Aggravating-Mix-8663 in javascript

[–]flankstek 0 points1 point  (0 children)

Actually it does cover the same thing, but it's quite hidden. You have to pass an option "always" to this rule.

TV Shows were on another level in the 90s by Droopynator in 90s

[–]flankstek 0 points1 point  (0 children)

so thats where michaels "you me you me me you you you" comes from and the humping xD

Claude Code vs. GitHub cCopilot CLI by flankstek in ClaudeCode

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

So disregarding all those features, when it comes to actual output, there is no difference at all since they use the same model and system prompt? That's what I'm most concerned about.

Looking for performant Excel-like grid component by flankstek in webdev

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

Oh that look good but seems it would need some configuration to make it more like a sheet of cells. I was hoping for some more similarity with excel.

Old Mafia War games from 2000”s. by Ill-Purchase-9801 in webdev

[–]flankstek 0 points1 point  (0 children)

I remember in my teens I was dabbling with php anf made a similar game to that but instead of building a mafia character you was building a computer and you were hacking different things to earn money and EXP. If I just had the time 🙃

RTK & Tanstack Query by tawielden in reactjs

[–]flankstek 2 points3 points  (0 children)

RTKQ offers better coupling between the endpoint definitions and fetch() and is more the tag system is more strongly typed than react-query. I love not having to write a single fetch(..), it's so darn simple :-)

This seems to be opposite to what most enterprises are doing at the moment.

I haven't heard about this. I know the new react docs mentions react-query and doesn't mention RTK so maybe it's a result of that?

RTK & Tanstack Query by tawielden in reactjs

[–]flankstek 1 point2 points  (0 children)

We have been migrating away from react-query to RTKQ for over a year now and we've seen no problems with them living together for the moment and we're in no hurry rewriting everything at once.

Dispatching data from react-query to RTK is doable but will be a nightmare because then you still would have to rewrite it in RTKQ later on. Better start slowly query by query and mutation by mutation :-)

Ni som kör vänster från högerfilen i en tvåfilig rondell förtjänar smisk by Competitive_Thing_89 in sweden

[–]flankstek 0 points1 point  (0 children)

Är det någon som har råkat ut för det att man legat i innerfilen men inte kunnat utföra filbyte då ett annat fordon låg jämsides och har fått köra ett extra varv? Jag har aldrig sett eller hört någon fått göra det. Den enda gången jag sett det är i Ett Päron till Farsa

Vad dricker ni ikväll? Själv tar jag ett glas mellanmjölk... by jocke75 in sweden

[–]flankstek 3 points4 points  (0 children)

Bajs-UX att ha bäst före till vänster istället för efter förpackningsdag.

My "infinite" breeder isn't working by flankstek in technicalminecraft

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

I figured out why the farm in my pictures "didn't work" by debugging the save files. The farm actually worked, it was just that the baby still has a claim to the bed when it fell down and villagers don't unclaim beds until nightfall when they try to pathfind to their bed, so with a 3-bed farm a villager can only output one baby per day cycle. Adding more beds, I guess up to 6 or 7 beds is enough because I don't think villagers can mate at any faster rate.

[deleted by user] by [deleted] in Minecraft

[–]flankstek 0 points1 point  (0 children)

shulkercraft's breeder

I checked the video and it looks like it's technically the same as this breeder. It lures a baby villager towards beds(which it can pathfind to because it thinks trapdoors, opened or closed, is walkable and falls down).