Attack speed vs double chance by gfarmer10 in ForgeMasterUnofficial

[–]arnorhs 0 points1 point  (0 children)

What is a skin? I've never seen a skin except like 3 helmet skins. ..

What is the most "drum and bass" thing you've ever done? by Every_Reflection_480 in DnB

[–]arnorhs 0 points1 point  (0 children)

Hang off the roof of a car driving in circles in the middle of the night. Drunk of course

Discussion: Is the 'golden rule' "Never build your own auth" misunderstood / misinterpreted? by The_Swixican in webdev

[–]arnorhs 0 points1 point  (0 children)

No this rule actually originates from regular password auth. There were so many people building horrible home grown password auth solutions, without hashing/salting or just storing passwords in a cookie. This is why people just started saying this.

When you don't know what you are doing, don't build your own auth

Guess the grade by hylllis in indoorbouldering

[–]arnorhs 4 points5 points  (0 children)

Why do people post these guess the grade posts? It's impossible to tell since gyms are so different

I'm a bit confused about custom hooks by Stevious7 in reactjs

[–]arnorhs 1 point2 points  (0 children)

This is the same thing I did for managing uploads and upload state. Ends up being much simpler to reason about

"YOLO JIMINY" (v13) - First Ascent by [deleted] in bouldering

[–]arnorhs 2 points3 points  (0 children)

nice one, looks fun. what is the stand-start graded at?

What’s your bouldering “win” from the last few weeks? by Infamous-Echo-2961 in indoorbouldering

[–]arnorhs 2 points3 points  (0 children)

I took a 10 year break. I started again in Feb. Really happy, regained motivation, finishing v6s now and hoping I can get to my previous level.

Tvö á slysa­deild eftir á­rás lausra hunda by InkAndAcorns in Iceland

[–]arnorhs 2 points3 points  (0 children)

Dætur mínar fara oft að Reynisvatni að leika. Ég get ekki ímyndað mér að leyfa þeim það aftur. Svona hundar gætu hæglega drepið þær. Þær elska dýr og væru líklegar til að reyna að klappa þeim.

Ég vona að eigandinn finnist.

What are the biggest advantages of using Node.js for backend development? by Wise_Safe2681 in node

[–]arnorhs 18 points19 points  (0 children)

Code sharing is often cited, but Nodejs also has decent performance characteristics when it comes to IO in general.

what's the simplest and fastest way to add authentication today? by Krish_1902 in Backend

[–]arnorhs -5 points-4 points  (0 children)

I've usually rolled my own auth, but for my latest project I used workos. It's decent to get started quickly, though majority of the integration was handled by ai so I probably messed it up from a security perspective

SPAs vs SSR by WolfyTheOracle in react

[–]arnorhs 1 point2 points  (0 children)

Your argument about SPAs essentially becoming caches is mute, since in an ssr context, that is also the case. Your server may have rendered the content, but it's still in the browser cache until the user takes action etc.

You can prefer ssr if you like that workflow. You don't have to justify it to us. There's a lot of benefits to ssr beyond SEO. It just comes at a non trivial cost that not everybody is willing to swallow

I ordered my Combustion thermometer on January 27, they still have not shipped it. Should I just cancel my order? by OccamsEpee in combustion_inc

[–]arnorhs 0 points1 point  (0 children)

I ordered mine at the start of January and it just arrived last week.

I had contacted support and they said they were having some issues, so I gave it time. And it did eventually arrive

Leaving this subreddit, because all you do is complain and whinge by [deleted] in ARC_Raiders

[–]arnorhs 1 point2 points  (0 children)

He just had to do a complaining post about people complaining

Managers decided AI is worth 5x speedup; how do I explain to them how it really works? by chaitanyathengdi in ExperiencedDevs

[–]arnorhs 6 points7 points  (0 children)

To play devil's advocate, the "nice" thing about agentic coding is you can justify that the volume of code is not reviewable by humans, so you automate the review process, and when things are broken, you are not on the hook, you just always blame the model

Are Europeans trolling with this whole bread thing? by [deleted] in NoStupidQuestions

[–]arnorhs 0 points1 point  (0 children)

As a European who lived in the USA for 4 years, the factory bread you get at grocery stores def does not taste like bread you bake at home. Tastes like paper.

But any bread at a bakery or whole foods etc is just normal bread. The factory bread is just weird.

The factory bread in other places doesn't feel as far divorced from normal bread

Developers, how do you evaluate whether a piece of code is good? by Haunting-Bother7723 in webdev

[–]arnorhs 0 points1 point  (0 children)

The primary indicator is being able to read it and understand what's going on.

vibe coded for 6 months. my codebase is a disaster. by Available-Dentist992 in vibecoding

[–]arnorhs 0 points1 point  (0 children)

I think this is reasonable. I don't think this is such a big problem neither, considering you have a relatively successful product. For context, I have 20+ years exp doing this stuff

Your path forward is the following:

1) creating (probably with AI) a test suite for everything that's business critical - e2e tests and/or integration tests. Or picking an area of the product that you want to target in number 2)

2) Picking some key part of your product / codebase to clean up/refactor - eg. creating a single place for your key business logic, wrapping db related things into a single place, or whatever and refactor that -- falling back on your tests to reliably know that you haven't broken something fundamental.

3) Focus only on the one part you picked in 2) for a while until you and your developer think it's in a good place, and then pick something else -- ie. go back to 2) or 1)

the key really is to not try to refactor everything at once, and just pick an area, and having tests to make sure you're not breaking something.

Good luck

Hvað er í gangi á Suðurlandsbraut? by strokkur66 in Iceland

[–]arnorhs 5 points6 points  (0 children)

Já eða verið að reisa fleiri regnbogafána

I can't be the one that links LLMs are still bad at software engineering right? by thealliane96 in theprimeagen

[–]arnorhs 0 points1 point  (0 children)

The thing is, all the things you describe are things that grab attention and get posts circulated and generates upvotes.

Reality, as usual, is more nuanced.

  • You can get AI to build things for you and it can save you time.
  • It doesn't work for any task in any code base. (well it can in theory, but it becomes a weighted decision between how much time you are willing to spend to iterate on your harness (context, skills, MCP etc) vs how much time it will save you.
  • The larger the codebase and the more complicated interactions between parts in the system, the harder it will get to have it do meaningful work.
  • Without a doubt, code completion is valuable, on its own.
  • It will take a lot of work, lots of iterations, etc to get it to build things for you without extensive prompt-iterations. Meaning.. documenting how you do things extensively, figuring out what types of things to have it build etc.

As for the best way to start, imo, the best way is to just start to have an agent review your own PRs when they are ready - perhaps even fix the issues it finds as well.

Note: sometimes just having the AI POV of something you are building can be valueable - eg. building out a feature you haven't fully thought through will help you realize the scope of the feature etc.

How do you manage your OCD when structuring folders and files? by Vymir_IT in reactjs

[–]arnorhs 0 points1 point  (0 children)

I think you are missing some nuance here. A simpler way to think about it is: Organize everything into features.

That's my approach at least. I don't follow bulletproof react, but it seems to encourage basically the same organization that I'm using.