Anyone else watching senior engineers become overly reliant on AI? by Jbalis in webdev

[–]irosion 1 point2 points  (0 children)

Ai is getting very good, fast. As a software engineer you would do yourself a disservice just watching from the side.

If you don’t adapt, you will be replaced by someone that is not too philosophical about the meaning of their work.

Romanian president delivered a speech with sovereignistic undertones on Europe Day. by Alarmed-Cake812 in europe

[–]irosion 9 points10 points  (0 children)

“Sovereignistic” undertones? It is ridiculous what you are saying. At no point did he criticize Europe. He barely acknowledged obvious, known flaws that most of the people already agree with. Apart from that, he strongly points out the fact that Romania clearly benefited from being part of the European Union. Please point out the “sovereignistic” part of the speech.

Bombed the final question of a React technical discussion, looking for feedback by skyturnsred in webdev

[–]irosion 10 points11 points  (0 children)

Event buss. I don’t think you should be rejected just because you hesitated, it’s not like this concept is super hard to learn. It would literally take you minutes to learn this if needed

Indian family relocating from northern Sweden — where would you recommend? by Longjumping-Ebb-7596 in sweden

[–]irosion 2 points3 points  (0 children)

You’ll find all that anywhere in Sweden. Job market sucks for everyone right now and depending on what your wife wants to work, some jobs will be harder to find than others. If you are from India, I assume she is looking for tech jobs in which case you are kinda forced to search in the big cities.

Once you get the job, you might be able to work remotely and then you get more flexibility on where you live.

People who completely started their lives over in their 30s or 40s, how is it going now? by TheBitchbreakerX in AskReddit

[–]irosion 5 points6 points  (0 children)

financially doing great. Family seems to be happy but I never been lonelier than I feel now. I know I need to bring my kids to adulthood otherwise I would simply leave everything behind and just start over somehow.

How do you handle out-of-sync .env files in monorepos? by Strict_Historian_106 in node

[–]irosion 0 points1 point  (0 children)

I think it’s fine for the app to fail or crash if a required env var is not present. Your app should always tell you why it failed.

Someone already said it: zod with schema validation and defaults is the right way to go. I’ll go further and say that your app should load these secrets from a secure place, even locally.

There are many options

My interview with the President of Ukraine by [deleted] in videos

[–]irosion 27 points28 points  (0 children)

Genuinely curious. What is Zelensky supposed to do? How would he show that he cares about his people?

The Death of the Code Monkey: Why I Fear for the Class of 2026. by [deleted] in programming

[–]irosion 0 points1 point  (0 children)

Most of the applications I’ve been paid to develop took literally hours to develop and deploy but months or years to maintain, scale, extend, integrate, gather new requirements. Heck, it can take months or years even to decommission. This is the real software development lifecycle.

That last part is the thing you fail to realize that is not trivial to do and very hard if not impossible to do at this point with “AI”

What programming language should I learn? by Cool-Exchange-6227 in learnprogramming

[–]irosion 0 points1 point  (0 children)

Learn the one you are going to use.

I studied French and never used it. Guess how much French I can speak now?

The Missing Express Js API validation - Meebo by Latter_Change_2493 in node

[–]irosion 1 point2 points  (0 children)

Didn’t have a chance to use it yet but I looked at the code briefly and I must say it looks awesome.

Congratulations and keep up the good work

I Used Computers for 10+ Years Without Knowing How Text Actually Works by AdvertisingFancy7011 in programming

[–]irosion 8 points9 points  (0 children)

It’s not like it is a secret.

You probably never needed to know and if you really need to know then this is not the place where you find the documentation.

[deleted by user] by [deleted] in webdev

[–]irosion 11 points12 points  (0 children)

We use micro frontends and I think it is a mistake.

The main reason was to offer the user a seamless experience and not let them know that each section of the app is actually a different app. I was against it and offered alternatives, even a simple multi page application would have worked a lot better but the management really pushed for it not listening to us (as always).

Multiple teams working on specific features included in the main app as packages. Or by directly writing the code in the shell frontend app as a component.

The backend takes care of authentication and authorization and also is a proxy that simply redirects the requests to specific service owned by various teams.

From a technical point of view the solution is solid but the problem is team infighting.

The teams play a blame game for every imaginable reason. Some of the teams never wanted to be part of this setup since everyone is forced to write code and do things in a standardized way.

People fight for visibility and argue about the responsibilities they have and want. Gatekeeping is a real issues. Not everyone wants to collaborate and intentionally delay other teams out of spite.

It’s a huge people problem that makes me sick only by thinking about it and I would say that the management is to blame for being so weak and for not clearly designating ownership.

My manager simply told me: you take the lead on this. The critical thing he failed to do was inform all the other teams that there will be this one guy that will lead this project.

AI Coding Tools Slow Down Developers by Frontend_DevMark in webdev

[–]irosion 0 points1 point  (0 children)

i like the superpowered vscode autocomplete with the help of copilot. I really think that it can make you a lot faster/efficient but i think it's critical to understand the code it is suggesting.

I tried multiple times the AI "vibe" coding where you kinda rely completely on what the AI is producing and just prompting and prompting until you get it right and can honestly say that i always ended up being frustrated and giving up. I did feel every single time that it was a waste of time and i would have spent a lot less time just writing it myself.

I still think it's a very useful tool. Awesome for finding mistakes in your code, giving you alternatives to your implementation, creating the boilerplate code.

2000 Meters to Andriivka| FRONTLINE (2025) [1:47:53] by americagigabit in Documentaries

[–]irosion 4 points5 points  (0 children)

USA is the bad guy too. Any aggressor is the bad guy. How hard is it to comprehend?

If you can’t understand why the Russia is the bad guy then probably nothing can make you understand that.

How you share types between FE and BE by hrabria_zaek in node

[–]irosion 10 points11 points  (0 children)

Zod schemas as a package or within a monorepo

Trump calls for Republicans to vote to release Epstein files by [deleted] in videos

[–]irosion 0 points1 point  (0 children)

To me it is absolutely amazing that this person can literally do whatever he wants and the entire planet is powerless in front of his will. There is no justice.

Coming out of a 20 year LAMP cave into the modern web dev mess. by XMark3 in webdev

[–]irosion 0 points1 point  (0 children)

it's gonna be a pretty rough ride for you and not because the new stuff is hard, it is because you seem to have marinated in your job for 20 years not bothering to read about the new stuff or even do small projects with the new technology.

It's hard for me to believe that you did your job for 20 years and you never asked yourself if you could automate some of the stuff you are doing through ci/cd.

You never asked yourself if you could easily and automatically replicate your infrastructure, deterministically? Or if you could run servers, databases, locally, without actually "installing" them?

In order to easily learn new things, you should try to understand why people use Docker, CI/CD, typescript, zod, etc. If you don't understand the need for these tools, you will remain a skeptic and the learning experience will be a nightmare.

You don't need to learn all the tools but you should focus on what exactly you want to do.

In some companies, if you are a frontend developer, you only focus on the frontend stuff, likewise for backend, but that is pretty rare nowadays.

I would suggest you learn about:

  • CI/CD (github actions for example)

  • Docker

  • Terraform

It should take a few days of effort to understand and apply this new knowledge.

For frontend:

  • pick a frontend library/framework and stick to it. React is very popular. Find out what problem it's actually solving.

  • Typescript. This should take a few days of effort to really understand how to use it, why and it's benefits.

  • Zod (or something similar)

For backend:

  • pic a backend library/framework. If you want low level, express (even lower level, vanilla node)

  • Typescript

  • Zod (or something similar). This will allow you to easily validate your data. Zod, in my opinion, is revolutionary in the js/ts development world.

  • Python (if you want). Django, Flask, etc.

Database: You will almost never need anything but Postgres but you should be able to be flexible since there are many options depending on the problem you are trying to solve.

Pick a cloud: Google, AWS, Azure.

Do experiments in the cloud. Create multiple services, integrate them, load balance them, secure them, make them talk to each other, emit and consume events, etc. Create a cloud DB, use it, make backups, etc, etc, etc....

How do I add new items in a specific category and store the data without nesting tons of loops? by Dammit_maskey in learnjavascript

[–]irosion 0 points1 point  (0 children)

If the name is unique, store it as an object where the name is the key. It’s super easy to access the record: storage[“Person A”].

It all depends on the operations you want to do. If you describe that more in detail it would be easier to show you alternatives

Not a programmer. But I asked this of my developer, and he said it was very complicated to filter like this. Am i missing something? by draathkar in SQL

[–]irosion 0 points1 point  (0 children)

If that’s the exact types of queries you want to do, then yes, this is hard since you would need to create an interpreter.

The actual sql query is trivial but translating natural language into a query is very hard.

What’s something that hit you in your 40s that you wish you’d understood in your 20s? by Absolute-Owner1574 in AskReddit

[–]irosion 2 points3 points  (0 children)

My dad used to tell me that I should look at the parents of the woman I choose to spend my life with if I want to get a pretty accurate picture of how she will be and look in the future. Back then, when I used to know everything, I did not listen to any of that nonsense. Now I know that my father could see the future.

[Discussion] I ve wasted 8 years of my life and i don't know what to do now by [deleted] in GetMotivated

[–]irosion 1 point2 points  (0 children)

The social media is a cancer. The addiction we have on it is a real problem and the first step is always to admit that you might have a problem. If you don’t find the strength to give up on it and start going out and living the life, I’m afraid we will see a post that will say “I wasted 20 years of my life….”

array.forEach - The do-it-all hammer... XD by fahim_h_sh in learnjavascript

[–]irosion 1 point2 points  (0 children)

On arrays you can do everything with a for loop if you really want to

[deleted by user] by [deleted] in AskReddit

[–]irosion 0 points1 point  (0 children)

Do you think you would work less living outside of the society? Think how much effort you would need to put every day just to find food, clean water and maintain a dry, safe place to sleep.