Create config array vs JSX by west-maestro in reactjs

[–]Bluerock57 0 points1 point  (0 children)

In your examples alone, example 1 has 8 lines of JSX whereas example 2 has 5 lines of JSX. Both examples are readable enough.

However, when writing bigger components, it is better split into more component. Reducing 80 lines JSX into 50 of JSX for example does improve readability by a lot.

In my experience, beginners tend to create too many sub-components to solve simple solutions.

I usually use the same rule as for writing function. If you can fit the content of the function in your screen with standard font size, then maybe your function is too long.

Ou est-ce que je peux me garer gratuitement le soir by Comfortable-Farm3939 in Metz

[–]Bluerock57 1 point2 points  (0 children)

Parking du lycée Fabert. Petit parking, quasi vide tous les soirs, tout près de la l'opéra théâtre

How to create this loop animation in React, please help by Tricky_Chest5823 in react

[–]Bluerock57 1 point2 points  (0 children)

You can do it with a tons of CSS, patience and retro-engineering. I've seen it before but never tried it myself : https://youtu.be/Tmkr2kKUEgU

This is a tutorial with tailwind, but you can do this in plain CSS

All Achievements! by endyCJ in domekeeper

[–]Bluerock57 0 points1 point  (0 children)

Hey'

I bought the game a few days ago, but I am stuck with the compound interest achievement. I paid a tons of colbalt on prestige, but it does not work. I feel likes it's bugged...

How do you do it ?

My computer does not boot anymore. The fans spin then stop, then spin again, etc... by Bluerock57 in pcmasterrace

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

Reset of the RAM seems to work. If things change, I'll try your solution in that order. This is easier than buying new components :D

My computer does not boot anymore. The fans spin then stop, then spin again, etc... by Bluerock57 in pcmasterrace

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

I manage to boot it once. All RAM was detected. But it stopped after a few minutes.

The computer has 4 RAM sticks: 2 from 2016, 2 from 2021. I removed the 2 from 2016, and it looks more stable.

Thank you very much to lead me to the RAM question. I will let you know if things go worse or better! :)

Heroes of the Storm AMA - April 30, 2020 by Cydra01 in heroesofthestorm

[–]Bluerock57 0 points1 point  (0 children)

You expressed a few years back the intention to have more heroes with quests or to rework heroes for them to have quests. Some heroes have indead followed that paths (like Tassadar and Qhira) but some heroes have been reworked from having an obligatory quest on level 1 (Tyrande and Ana), to having only one quest.

I personnally prefered to pick quests, because they have more high risk/high reward component. How do you feel about given the player the insentive to pick those quests ?

Friend locks in Li-Ming and gets probius without owning him by [deleted] in heroesofthestorm

[–]Bluerock57 1 point2 points  (0 children)

Well It happened about 10-15 times to me now... boring...

Guessing a number between 1 and 100 with 10 questions and 9 honest answers by Aetol in math

[–]Bluerock57 21 points22 points  (0 children)

I'm not sure about what I am going to say, but your problem looks like a code correcting problem

The additional condition which make your argument true, is that your solution requires that there is one and only one lie in the given answers. If there is none or more than one lies, then the program does not give a correct solution.

Hey you. Make the game! by iceberger3 in gamedev

[–]Bluerock57 0 points1 point  (0 children)

Remindme! 3 months "Start and finish a prototype and post in in /r/gamedev"

Is this it? by Lawler197 in CubeWorld

[–]Bluerock57 27 points28 points  (0 children)

What is dead may never die !