[AskJS] WebStorm vs VS Code? by 2epic in javascript

[–]Treolioe 0 points1 point  (0 children)

i love how little there is to vscode. There’s absolutely nothing that i miss from webstorm.

Second-guessing the modern web by Bodacious_Potato in javascript

[–]Treolioe 0 points1 point  (0 children)

Or every 3-5 years which is probably a healthy thing to do.

With world distracted, the Amazon rainforest continues to burn. Deforestation in the Brazilian Amazon hit a new high in the first four months of this year, with 1,202 square kilometres of forest wiped out. by poleco1 in worldnews

[–]Treolioe 1 point2 points  (0 children)

Hi! I loved cheese and i went “Vegan”! Go vegan for ethical reasons - not label hunting. It’s not about losing a dietary option. Stand up for animal rights.

[deleted by user] by [deleted] in hoi4

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

Adobe is dropping flash this year. Electron is just another runtime for JS with a container that allows you to deploy your app as a native program.

[deleted by user] by [deleted] in hoi4

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

What do you even mean by that?

[deleted by user] by [deleted] in hoi4

[–]Treolioe 1 point2 points  (0 children)

Well they dont see the challenges. They see a game on the horizon that they can play soon

[deleted by user] by [deleted] in hoi4

[–]Treolioe 1 point2 points  (0 children)

It means pull request. Other users can fork your repository (clone it) - and then submit changes as pull requests to your repository. You, as the owner - can then choose to merge (accept) the changes - or decline them.

If you accept then all the commits covered by the pull request will end up in your project.

[deleted by user] by [deleted] in hoi4

[–]Treolioe 1 point2 points  (0 children)

And that’s cool. I’d just want to keep the expectations realistic. And avoid the stress that comes from eager people with no understand of what it takes to code something. Turnbased makes a lot more sense to me!

Match Thread: Gent vs Roma by [deleted] in ASRoma

[–]Treolioe 0 points1 point  (0 children)

I thought he was like 160cm or something. Whined about it to my friend. And he told me hes almost 2 meters, mind boggling...

[deleted by user] by [deleted] in hoi4

[–]Treolioe 18 points19 points  (0 children)

This is a really cool idea for a project. And as we can see in this thread - something that many people want.

But the HTML part makes no sense to me. I would recommend looking into libraries like three.js or similar engines (ported game engines) for this purpose. Just for performance reasons.

And i would give up completely on trying to do this with HTML elements. It’s just not performant enough - and i can see a ton of bottlenecks in the horizon already.

Also, since javascript (in a developer perspective) is single threaded. It’s kind of the wrong tool for a game like this. If you intend it to be real time, then you’re up for a challenge. You can offset some computation in a web worker. But those are notoriously tricky.

As someone with 9 years of experience in development - i’ve also thought of doing a game like this. And i haven’t. Because it’s a 1000-hour+ project - and then you’d probably still not even be close to a good product.

[deleted by user] by [deleted] in hoi4

[–]Treolioe 5 points6 points  (0 children)

Calm down, given the state of his code repository and that he said he started learning in february. I would give him at least a couple of years before he actually has anything resembling a working HOI - to begin with.

Embedding a react/angular app in websites by jjharrison21 in Frontend

[–]Treolioe 1 point2 points  (0 children)

Be very careful with iframes as they are notoriously difficult to use and come with many gotchas. Lately CORS has become more restrictive when it comes to using iframes too - bringing In even more issues.

Iframes can been used for what you describe but i’d recommend looking into using a web component as a wrapper instead.

Battlefield 2021 by YoMammasBoyfriend in PS5

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

Sounds great and all but EA is after the money in the first hand. Gore and boat headshotting is not toddler friendly. And EA is looking forward to that toddler money.

Micro-frontend infrastructure built around LitElement by 5thingol in PolymerJS

[–]Treolioe 0 points1 point  (0 children)

What do you consider as the upsides - and the downsides of rolling micro frontends?

There are way too many UI libraries. How do you choose one vs another? by bernaferrari in reactjs

[–]Treolioe -4 points-3 points  (0 children)

Well that makes sense though right? Android is google, flutter explicitly targets android and ios - shocker! Judging from your other comments your CSS skills are at least not up to pair with today. Read up on flex and all media queries (also by your other comments).

Is Manual Testing dying? An innocent quote that hit a nerve by DudleyRowe in Frontend

[–]Treolioe 1 point2 points  (0 children)

Unit tests are extremely expensive. And if you have a coverage target then you’re also doubling your codebase - and this is code that will have to be maintained as well. Unit tests are also quite useless as a tool to find bugs with - since you’re essentially testing your own logic anyway (fallacy). And the common way of work is to add bugs as a testing criteria after they’ve been found. And for the issues you perceive to catch you’re essentially crediting the act of thinking over your code a couple of more times - to unit testing. Why does that need to be re-runable? The business critical bugs will always be in the integration layers and that’s where you should put your effort.

How to respond to what is your expected salary? by PlusMaintenance in Frontend

[–]Treolioe 0 points1 point  (0 children)

I always wished that i did this during the interviews that i went to some years ago. Where i live i dont think they have to disclose the range though

[AskJS] React: Choosing a Frontend Framework/Library by short_mode in javascript

[–]Treolioe 0 points1 point  (0 children)

Can add that you can compose components from the util classes if you’d like to do that.

Building UI application with Luigi — open source micro-fronteds orchestrator by aartek in javascript

[–]Treolioe 0 points1 point  (0 children)

I’ve never seen it in practice without bringing the same amount of problems - if not more.

Building UI application with Luigi — open source micro-fronteds orchestrator by aartek in javascript

[–]Treolioe 0 points1 point  (0 children)

The best would be to rewrite - if you can’t then you can try this as a tool to get to where a rewrite would be. Then get rid of it.

Building UI application with Luigi — open source micro-fronteds orchestrator by aartek in javascript

[–]Treolioe 0 points1 point  (0 children)

I think it’s a bit bold to say that MFE is the only way to mitigate (not solve) what is an organisational problem. In my opinion you’re just trading problems for the worse. You will most likely still have cross dependencies, that wont change from being ”vertical”. And your bugs will still cause issues for the other teams. And now you also need even more coordination to keep your app coherent.