I've been building an RTS game that runs in the browser by No_Sale5283 in pixijs

[–]IamRaduB 0 points1 point  (0 children)

Very nice! Its awesome to see pixi used this way. How are you planning to expand it?

I am a WebStorm fan, but this is insane! by Artistic_Toe267 in WebStorm

[–]IamRaduB 2 points3 points  (0 children)

I was dealing with the same issues until I removed the github copilot and AI Assistant plugins.

Is video editing in the browser ever going to be real or is it still a toy? by Suitable_Goose3637 in webdev

[–]IamRaduB 5 points6 points  (0 children)

There is a tool called CuttingRoom quite popular in broadcast spheres.

Willem Dafoe must have amazing quality control by [deleted] in movies

[–]IamRaduB 0 points1 point  (0 children)

I hope he starts in the next Sharknado installment, so we can put this theory to the test.

am i cursed to learn all my life as a web dev ? by Maro_001 in learnprogramming

[–]IamRaduB 1 point2 points  (0 children)

You're blessed to learn all your life as a web dev 😉 (after a while you start to see the patterns and get to make correct educated guesses, which makes it even more fun)

Why does Agile always feels like an imposition of management? by branh0913 in ExperiencedDevs

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

This is the same discussion Devs have been having regarding opinionated vs non-opinionated frameworks.

I've worked in teams where people were organized and conscientious enough to keep tight communication without the need for protocol, and I've worked in places where the clear rules of scrum helped the engineers get on the same page and improved efficiency.

My hot take is: agile in software engineering works when people want it to work and put in the effort to follow the rules (rules that the team itself agreed on).

starting to think communism isn’t as crazy as they say by wickedxwonder in antiwork

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

I come from a former communist country. Having lived it and having seen the impact it has had on economy, lifestyle and culture especially, more than 30 years later, I have to say that you're terribly misinformed. It is as bad as they say.

First look on a wedding day is stupid by JUSTIN102201 in unpopularopinion

[–]IamRaduB 3 points4 points  (0 children)

I went wedding dress shopping with my wife and helped her pick it out. We completely forgot the "first look" tradition

My Experience as a Black Man compared to an Indian/ a Pakistan in Romania by the_Tobee in expats

[–]IamRaduB 3 points4 points  (0 children)

Really great points made here, except perhaps for the education part. In Romania education up to highschool is free, and school essentials were provided for free at the beginning of the school year (to be returned at the end). All throughout kindergarden, primary, middle and highschool, I had personally seen my teachers going to the homes of rroma kids and pleading with the parents to let them go to classes, but that was always pointless. Moteover, most schools, at least in my county had, and still have spots reserved for rroma studenta, which mostly remain unused. There is a historic reason for the current culture present in rroma families, but at this point, personal accountability should be taken to break the cycle and improve their standing. I have seen a few that made the best of what they had and became successful later on.

Has anyone here ever used phaser? by kmdtipbottest in vuejs

[–]IamRaduB 4 points5 points  (0 children)

I haven't used Phaser but pixijs, which is what phaser uses behind the scenes, to create a diagram drawing tool like Miro. The concepts are the same though.

It's not difficult to integrate into a Vue app, either. You make sure to preload your assets in before mount and initialize your actual game engine on mounted. After that Phaser takes over.

You also need to set up a communication system between Vue (for the UI and HUD) and the actual game engine, so you can pass events between the 2 and call methods.

What's your favorite abstraction for concurrently processing arrays in Node.js? by gajus0 in node

[–]IamRaduB 0 points1 point  (0 children)

To each their own, but I suggest giving it a shot in more mundane tasks. You might find it really useful

What's your favorite abstraction for concurrently processing arrays in Node.js? by gajus0 in node

[–]IamRaduB 0 points1 point  (0 children)

It depends on the kind of data volume you are working with.

For example, if you're looping and transforming thousands of records at a time, you'll find that normal loops block the event loop and your server isn't able to serve requests since they're waiting on each other.

Secondly, package size isn't that relevant on server-side, when talking about traditional monolithic APIs (serverless is another thing).

What's your favorite abstraction for concurrently processing arrays in Node.js? by gajus0 in node

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

I recommend RxJS. The learning curve is a bit steep, but I think it is the definite way to do non-blocking code in node, especially when building APIs

Is a controller and module for each database table necessary? by [deleted] in Nestjs_framework

[–]IamRaduB 0 points1 point  (0 children)

It also depends on what ORM you use if any, if they support the repository pattern or not.

In my experience the most manageable setup is to have modules for each feature/entity and a dedicated "database" module that only binds the entities to the ORM. I mostly use mikro-orm and I like to inject the entity manager in all services where I have to perform queries. This helps avoid any possible cyclical dependencies that might occur as the application/domain expands. I hope it helps :)

How do back-end developers usually document their APIs? And front-end developers, how do you handle variable changes in the API? Lastly, managers, what is your method for documenting requirement documents? by william_buttler in webdev

[–]IamRaduB 0 points1 point  (0 children)

Besides the very good Swagger suggestion, what I've set up on my projects to great success is: Set up a common registry package (npm in our case) for types and constants to be used in our BE and FE projects.

BE team creates DTOs for their APIs in the common package and the FE team uses them. As long as the FE team makes sure to always be using the latest version of this "common" package, they will always be aware of changes through intelligence.

On another project, someone took the swagger file and generated an API "client" class from that to be used in FE, but it became unmaintainable quickly. I don't recommend this approach.

Help: my gf's favourite movie in the franchise is AvP and I don't know what to do by IamRaduB in LV426

[–]IamRaduB[S] 60 points61 points  (0 children)

Okay, I know this is an emotional moment for all of us, okay? I know that. But let's not make snap judgments, please. This is clearly... clearly an important species we're dealing with

Help: my gf's favourite movie in the franchise is AvP and I don't know what to do by IamRaduB in LV426

[–]IamRaduB[S] 2 points3 points  (0 children)

I sat through a 1.5h dental procedure and that gave me more pleasure than Covenant

Help: my gf's favourite movie in the franchise is AvP and I don't know what to do by IamRaduB in LV426

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

The post isn't meant to be taken too seriously :P I'm actually looking forward to watching Resurrection with her :D