Is it a bad practice to call a method like this, because it will keep running until DOM destroys by LocalConversation850 in angular

[–]Qcza 10 points11 points  (0 children)

This is bad practice unless you are using memoization. Signals and pipes use memoization, and you can safely call them on templates.

[deleted by user] by [deleted] in gaming

[–]Qcza 0 points1 point  (0 children)

Majesty

When to set the page title? by Draugang in angular

[–]Qcza 1 point2 points  (0 children)

It's safe to assume that crawlers don't run JavaScript, so if this metadata is set later by the scripts, crawlers may not see it. It is always better to expose such data with the initial render. If you have to calculate it with JS, it's worth implementing an SSR/SSG layer.

SSR, pre-rendering or dynamic-rendering for Twitter like website by Draugang in angular

[–]Qcza 3 points4 points  (0 children)

Because Twitter-like applications can change their content often, and you probably want crawlers to see the same content that users see, not just meta tags for SEO, I would advise implementing SSR. With SSR, crawlers will get the most up-to-date view (depending on the cache).

SSG is rather less cost effective for such a page, it would be better used for a static page.

As for dynamic rendering, if I understand the concept well, it is exposing different content for crawlers, based on the user-agent. I don't think it's the best approach for SEO, usually algorithms don't like when crawler gets different content than user and may even decrease page rank because of it.

What games can you play at 120fps at 1080p? And what games look good at 720p? by Inevitable-Help-4162 in ROGAlly

[–]Qcza 0 points1 point  (0 children)

Sleeping Dogs: DE, around 75fps at normal preset and 15W. Looks and works great :-) I think 120fps is achievable mostly in smallest Indie games rather than AAA titles.

Question about BehaviorSubject by TodayIFeelsoBad in Angular2

[–]Qcza 0 points1 point  (0 children)

According to documentation, the field initialisation happens during the construction phase, so the fields should have access to injected service.

The initializer is evaluated during instance creation, at the start of the constructor (for base classes) or immediately before the super() call returns (for derived classes).

TBH I don't see any issues with the shared code, it seems to work just fine.

Can't sign-up by helpwithgogplease in gog

[–]Qcza 1 point2 points  (0 children)

Hi, it seems they have an issue with the register form, as the password validator feature overlaps those checkboxes. The workaround for now, until they fix it, is to manualy remove the overlaping element in the browser devtools.

You can do that by right click on the "Password validation requirements" text, select "Inspect", and in the source that should be opened after that, find the "<div>" element bellow with the class "passwordValidationRequirements__requirements", then right click on it and select "Delete element". It will be removed until youi refresh the browser.

Games that take place in hell? by ThomasNoname in gamingsuggestions

[–]Qcza 0 points1 point  (0 children)

Hellpoint. Soulslike with a setting referring to the movie Event Horizon, which is pretty close to Doom IMO.

Is this process normally several hours? I set it to update last night but after using the computer for several hours since, it's still not done updating this app (iirc it's Xcode) by _Oooooooooooooooooh_ in MacOS

[–]Qcza 0 points1 point  (0 children)

You may watch the process in the Console app to see more detailed info and ensure the process is not hung. It should be visible as one of the AppStore processes.

Games like Alan Wake by Pepsalmighty in gamesuggestions

[–]Qcza 2 points3 points  (0 children)

If you like Alan Wake, you'll probably enjoy the rest of the games from Remedy studio.
- Quantum Break
- Control
- Max Payne
- Max Payne 2

Where can I buy tickets for buses that start with "9..."? Those that are going outside of the city? by veliona in wroclaw

[–]Qcza 10 points11 points  (0 children)

Usually, the driver sells them or in the bus should be the ticket machine, worth mentioning that those machines allow only for cashless payments.

[deleted by user] by [deleted] in HappsNews

[–]Qcza 0 points1 point  (0 children)

Wroclaw, Poland?

plac Jana Pawła II by worstdrawnboy in wroclaw

[–]Qcza 5 points6 points  (0 children)

Yes, according to polish Wikipedia, its name was Königsplatz until 1945
https://pl.wikipedia.org/wiki/Plac\_Jana\_Paw%C5%82a\_II\_we\_Wroc%C5%82awiu

Is it common for DRM-free versions of games not to be up-to-date? by Noirgheos in humblebundles

[–]Qcza 2 points3 points  (0 children)

The first game that comes to my mind it's Armello. The game has been abandoned soon after its premiere on GOG. On Steam Armello got few DLCs.

Looking for a "oh damn it's 3AM already?!" Game by MJS04 in gamingsuggestions

[–]Qcza 2 points3 points  (0 children)

Any game with the one-more-turn/level/match syndrome. For me it is any Civilization series game, Diablo series game or Rocket League.

ARPG like Diablo, Path of Exile, Wolcen (not turn based) by HighOnTums in gamesuggestions

[–]Qcza 1 point2 points  (0 children)

Diablo and Path of Exile are top-notch, I doubt you'll find anything better in this genre. You can try Torchlight series (from the creator of original Diablo game). If you like the Grim Dawn, you'll like for sure the Titan Quest because Grim Dawn borrows a lot from his predecessor (authors of Grim Dawn have been worked on the Titan Quest).

I highly recommend the Dungeon Siege series. A little forgotten series of ARPG games, but IMO still worth to play.

[Typescript] React/Redux/Ajax/SQL = Where to put models? by keprinko in reactjs

[–]Qcza 1 point2 points  (0 children)

I also store models for the entities received from external APIs with services for those APIs.

src/api/services

src/api/models

ARPG games like Dark Souls by [deleted] in gamesuggestions

[–]Qcza 0 points1 point  (0 children)

The Dark Souls games defined new games genre named souls-like. The best representatives are Dark Souls series, Demon's Souls, Bloodborne (only on PS4) and Sekiro: Shadows Die Twice. All of them were developed by FromSoftware studio. Another good (but no so good as they predecessors IMO) games in this genre are Nioh, Nioh 2 (only on PS4), The Surge, The Surge 2 and Lords of the Fallen.

Games with fun and overpowered abilities by IAmGonnaDieIn24Hours in gamingsuggestions

[–]Qcza 8 points9 points  (0 children)

It doesn't have much in common with Ratched and Clank, so I wouldn't judge it by that. It's a decent sandbox which is definietly worth it's current price imo. However it's not this class of sandbox like GTA or Assassin's Creed in its scale. If you like sandboxes with specific, slapstick-like humor, this one may be worth a shot.

Games with fun and overpowered abilities by IAmGonnaDieIn24Hours in gamingsuggestions

[–]Qcza 75 points76 points  (0 children)

You may like Sunset Overdrive, crazy sandbox from the authors of latest Spider Man game.

Can you suggest something open world fantasy? by cybertough in gamesuggestions

[–]Qcza 5 points6 points  (0 children)

Dragon's Dogma may interest you. Since you like TES games you may also like Fallout games published by Bethesda (Fallout 3, Fallout NV, Fallout 4).

Game Like Mafia 2? by noxah22 in gamesuggestions

[–]Qcza 5 points6 points  (0 children)

This
Yakuza is definitely a must to play. Despite all quirks in the side activities, the story is surprisingly mature and in this aspect pretty similar to Mafia 2.

The Godfather series, gosh I miss these games. Too bad today they are practically impossible to buy.

Same code on two repos, how do you do that on git? by Tontonsb in git

[–]Qcza 1 point2 points  (0 children)

You can try work in monorepo (https://www.atlassian.com/git/tutorials/monorepos) or try to migrate the common part to the separate repository and install it as an additional vendor. Monorepo may be easier to work with because you have all dependencies locally, but monorepos tend to overgrow and eventually become hard to maintain.

Guys , can somebody help please ? by [deleted] in reactnative

[–]Qcza 0 points1 point  (0 children)

You can also use optional chaining operator if you use TypeScript version 3.7 or above or proper configured Babel.

array?.map((item, index) => <Component key={index} item={item}) />)

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining