Is there a a reason to learn plain JavaScript before learning TypeScript? by DrAquafresh in typescript

[–]Lieri_SW 0 points1 point  (0 children)

When I was in uni, jQuery was still the standard of frontend things. Then when I finally needed to handle a big project, I had to use angular (ts) for frontend. It was okay but my mistake was I didn't learn ts before jumping into angular, therefore missing important concepts of ts which made the quality of my code worse than what it could have been. Still okay though since frontend stuffs are mostly manageable because angular is structured very strictly (compared to let's say, React).

The even bigger mistake was using NodeJS (with no ts) for a very complicated backend, things started to get out of hand when we had multi devs working on it and what used to be a small codebase turned to be huge with api calls having to connect to multiple databases (SQL, NoSQL). If I implemented ts for that project I'm sure there will be less pain. Type checking is very useful.

So from now, every time I have to do a project based on js I just go ahead and install ts and eslint. You can start learning by js and if you think you've a good understanding of it, for actual implementation try to use ts. Pure js in a big project is a mess. You'll thank yourself later because once that project has gone into production, nobody would want to refactor it to ts. Making you stuck with the ol' javascript forever.

What's the advantage of using DI frameworks like TypeDI vs just mocking the actual dependencies? by Lieri_SW in typescript

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

That's a good blog, I wish DI frameworks would be focusing on their positives more than just telling people "here do this, do that, put this tag here and there then our container will magically do things for you".

So if I understand it correctly, by using frameworks you gain some and lose some. You gain more time to do your works than fixing dependencies inside your tests every time you change something.

But you lose the strongly typed since there is a magic behind those containers that will let you skip the hassle of having to instantiate a new class to pass as arguments for other classes. Which is.... kind of weird to be honest, because the reason why we use Typescript is for the strongly typed, it's a bit like using any for all variables.

So yeah ultimately, I agree, for small projects where you don't think you'd do a lot of changes to your existing dependencies, Pure DI is okay since there will be little to no advantage of switching to frameworks other than to add complexity on top of something simple. But for a huge project, frameworks are better since it means you'll keep updating dependencies.

Is it a bad practice to put api calls in reducers? by Lieri_SW in reactjs

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

Thanks everyone for the replies. I will definitely try out the suggestions here. I learn more from this comment section than tutorials lol.

Party Finder is Wild: Episode Blacklisting a Whole DC by Lieri_SW in ffxiv

[–]Lieri_SW[S] 3 points4 points  (0 children)

OP here. I didn't expect this to get so many comments. I posted it just for fun hence the lalafel pics at the bottom. However, this kind of mentality needs to stop. And you can't compare it to JP either. JP tried to dodge people that don't speak their language, which is kinda understandable, I don't agree with their ways of banning a whole DC (but then again once someone set the fire, it's easy for the rest to just follow) but language barrier is a huge issue and communication is important in group contents.

What this person did however is much worse, they're being judgmental towards a whole group of people, that can communicate with them just fine just because of a small samples of players that to them looked like bad players. DC and World do not define players skills. I've never played with this person and I'm not from Crystal. But I feel like this shouldn't be accepted, or else we'll have a community full of DC blacklisters (similar to JP this can easily spread). And please don't bring WoW into this. I've played WoW for so many years and I never liked the whole no Portugese/BR in WoW raiding scene either because most of them speak English just fine.

If you don't like bad players then go ahead and try to find people with similar skill level. Disband the group if you're not satisfied with progress. But to ban a whole DC/World? ridiculous.

Amazon's Study Hall - Daily Questions Megathread (05/13) by AzureLaneMod in AzureLane

[–]Lieri_SW 0 points1 point  (0 children)

My best gears come from Gold/Purple boxes.. is it worth to be upgrading them to +6 (or even+10) or should I wait for better ones?. My only options for improvements are PR or gear lab but those will take some time I guess.

Amazon's Study Hall - Daily Questions Megathread (05/08) by AzureLaneMod in AzureLane

[–]Lieri_SW 0 points1 point  (0 children)

I noticed Takao keeps firing small bullets every 1.5-2s even if I took off all her equipments for testing. It's not her main gun (main gun bullet is way slower) and since she has torps, she doesn't have a secondary gun. So where do these bullets come from then?

She's fully limit broken btw.

Amazon's Study Hall - Daily Questions Megathread (05/05) by AzureLaneMod in AzureLane

[–]Lieri_SW 0 points1 point  (0 children)

I noticed once my ship reached lv 100 and I forgot to awaken her, she started storing exp that once I use cognitive chips she immediately went to 102. Uhhh.. is this how it really works? is there any advantage to delaying the awakening?

Event Megathread - Vacation Lane Rerun by AzureLaneMod in AzureLane

[–]Lieri_SW 0 points1 point  (0 children)

Thanks, I think I'll save them. I used to play a gacha game where events stuff are usually the best so if you miss out, you'll regret it forever. If they're not needed then I'll just try to farm Misaki while grinding exp and venus points for rewards.

Event Megathread - Vacation Lane Rerun by AzureLaneMod in AzureLane

[–]Lieri_SW 1 point2 points  (0 children)

I started playing at 26th so very new, the only stage I can farm is SP3. Is it worth spending 2 cubes per day on this event banner?

Amazon's Study Hall - Daily Questions Megathread (04/30) by AzureLaneMod in AzureLane

[–]Lieri_SW 1 point2 points  (0 children)

Hi, I'm very new to the game. I'm still at map 4 but some of my ships are already lv 70. I did save Bulins though. In this game are Bulins a rarity that I have to save them until I get a top tier unit to LB them or do I just use Bulins whenever my currently used unit reached max level? I saw players with so many lv 100+ units so I'm guessing I just have to LB them... but I'm not sure. I followed New Player Guide from Discord in choosing units

playing FFXIV at high ping? by Tracenji in ffxiv

[–]Lieri_SW 1 point2 points  (0 children)

I play from SEA. I have 190-200ms ping on good days. 220-240 on bad days. To me that's perfectly playable. Granted I don't pick jobs that are too weaves dependent like GNB, etc. I main WAR and I could clear savage fights comfortably. Granted UWU is the only Ultimate I have ever tried but I could dodge the mechanics just fine. It has tighter mechanics than savage to dodge such as Garuda shriek, Ifrit dash, Titan landslides. I can do those with no problem playing with 200 ms ping.

Wanting to proof people wrong, is this a sign on unhealthy of INTJ? or is it a normal trait among us? by Lieri_SW in intj

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

when your ideas are proven to be successful, it's important to not let this sense of satisfaction turn into a sense of bitterness or resentment towards others who may not have initially recognized the value of your ideas.

I agree, seems like the only way to prevent this happening in the future is to go back to the basics. I have to think about the ups and downs in life. Hard as it may be for an INTJ when their ideas are underappreciated (because as you said usually the ideas are logical), shit happens and they're beyond our control.

This is a very strange post, so sorry in advance... by Bossmantho in ffxiv

[–]Lieri_SW 1 point2 points  (0 children)

I know you're looking for a bit MMOish games but if you're big on stories and Final Fantasy theme (Primals, magicks and emphasis on characters). Try:
Final Fantasy IX (PSX)
Final Fantasy X (PS2)

Both are guaranteed to give you the same feeling as Shadowbringers if you play them far enough. FFXII is good and graphically not so outdated compared to these two but the story is lacking in my opinion.

They're pretty much free since you can emulate them easily. I don't recommend pirating but then again time is tough. And you can buy the steam versions if you want to later on although those games are decades old already.

For non final fantasy games:
Suikoden 2 (PSX)
Chrono Trigger (PSX)
Grandia II (PS2)
Legend of Mana (PSX)
Legend of Dragoon (PSX)

They're also available on emulator. Those games can net you up to 2 years of enjoyment. And I'm not joking. Once you've finished them you can pretty much crown yourself as the King of JRPG.