🇺🇦JStify Community🇺🇦 – Telegram
🇺🇦JStify Community🇺🇦
642 subscribers
191 photos
1 video
949 links
Найсвіжіші та найактуальніші новини по тегу frontend

https://www.youtube.com/c/jstifycommunity
Download Telegram
​​Holiday season is coming 🎄
Catch up Advent React Calendar for Christmas 2020

#epamNews #epamFrontend
​​Time for our JS QUIZ in December!

Quiz rules:
1) Try to solve task below, write the program code in your repo and add comment with link to this post;
2) The first two players with intresting and optimal solutions will receive wonderful presents!
3) Our game is limited in time, we are going to wait for your answers till Monday (14th of December 2020).

Task will be in next post👇🏻
JS QUIZ TASK😍:
Every year Santa Claus faces a more and more difficult task. The number of children in the world is increasing rapidly, while Santa's old patched up sack can only accommodate a few presents at a time. And every child wants their own very special present... This means that, ever so often, once his sack is partially or completely empty, Santa has to fly back to his base in Lapland to replenish his supplies. So irksome has this become that Santa has decided to resort to modern operational research to aid him in his sack-packing and route planning. Please write a program which will guide Santa through his daily chores.

Input
The input starts with a line containing a single integer t<=100, the number of test cases. t test cases follow.

The first line of every test case consists of four integers n x y S, denoting the number of good children who will receive a present from Santa, the x and y coordinates of Santa's home base, and the amount of space in the sack, respectively (1<=n<=10000, -10000<=x,y<=10000, 1<=S<=100000). n lines follow, each consisting of three integers xi yi si - the x and y coordinates of the i-th child's home, and the amount of space taken up by this child's present when in Santa's sack, respectively (-10000<=xi,yi<=10000, 1<=si<=S).

Output
For each test case output a sequence of space separated integers, corresponding to successive actions that should be taken by Santa:

-i (1<=i<=n) signifies that Santa should travel to his base and pack the present for the i-th child into his sack (he needs to have sufficient room in his sack to do this).
i (1<=i<=n) signifies that Santa should travel to the i-th child's home and leave a present for him/her.
0 signifies that Santa should travel back to his base and end his Christmas activity (and that you want to proceed to the next test case).
Assume that Santa starts in his base and always travels between points by the shortest possible route (along straight lines). All distances are measured using the Euclidean metric.

Score
The score awarded to your program is the total of all scores obtained for its individual test cases. The score for a test case is calculated as I/P, where P stands for the distance covered by Santa in your solution, while I is a test case specific constant (I= n*d+D*(s1+...+sn)/S; d is the mean distance between two homes, while D is the mean distance between Santa's base and a child's home for the given test case).

No points are awarded for incompletely solved test cases (when not all the children receive presents). Any other violation of transport rules results in Wrong Answer.

Example
Input:
1
3 0 0 3
1 0 1
1 0 2
1 0 3

Output:
-1 -2 1 2 -3 3 0

Score:
2/(1+1+1+1)= 0.5

Good luck🤩!
​​Hi friends! Recently we've had posts about React Hooks. Todays let's read about How Not to Use React Hooks 🙅🏻‍♀️🙅🏻 You'll find out about the React hooks usage mistakes, and how to fix them.
​​👉🏻The Import On Interaction Pattern ~ Lazy-load non-critical resources (e.g components, embeds) when a user interacts with UI that needs it.

#epamFrontend #epamNews
​​Ми цінуємо ваші поради щодо ведення телеграм каналу та вашу активність під нашими постами❤️
Тому вже в середу проведемо опитування щодо якості JStify каналу та контенту!

Просимо вас долучатись до голосувань! Разом ми зможемо зробити наш телеграм канал кращим😉
​​Time for our Santa Claus Quiz is finished and we have winner🙀

Hooray!!!🎉🎊
Natali Kukulevska is our winner today! You’ve worked so hard for this! Congratulations!
We will contact you shortly🎁
​​In celebration of JavaScript’s 25th birthday, you might be wondering what’s next for one of the most popular languages in the world?

Join JavaScript experts on the 17th of December for a roundtable discussion on the challenges, opportunities and potential for innovation within the JavaScript community.

You’ll also have an opportunity to ask your own questions during a live Q&A at the end of the event☺️

#epamNews #epamJS #epamJavaScript
Друзі, як і обіцяли сьогодні проводимо невеличке опитування. Поділіться будь ласка своєю думкою про наш телеграм канал.
Чи користуєтесь ви тегами для пошуку новин?
Anonymous Poll
16%
Так
25%
Зрідка
59%
Ні
Чи завжди вам зрозуміла з описів тема статті в посиланні?
Anonymous Poll
79%
Так
21%
Ні
Чи порекомендували б ви наш телеграм канал своїм друзям, які вивчають чи працюють з JS?
Anonymous Poll
85%
Так
15%
Ні
Чи подобаються вам наші квізи?
Anonymous Poll
73%
Так
27%
Ні
Чи хотіли б ви щоб ми проводили квізи частіше?
Anonymous Poll
64%
Так
36%
Ні
Чи подобається вам можливість коментувати пости?
Anonymous Poll
82%
Так
18%
Ні
Які новини ви б хотіли бачити частіше?
Anonymous Poll
90%
JS and frameworks
1%
CSS and HTML
9%
Про нашу ком’юніті ❤️
Чи хотіли б ви мати можливість пропонувати пости?
Anonymous Poll
53%
Так
47%
Ні
Якоб мовою вам цікаво було б читати пости?
Anonymous Poll
64%
Українською
36%
Англійською
Чи підходить вам час публікацій?
Anonymous Poll
80%
Так
5%
Хотіли б раніше
15%
Хотіли б ввечері
Друзі допоможіть, будь ласка, назвати нашу рубрику із квізами. Чекаємо ваші варіанти в коментарях, найцікавіші винесемо на голосування
​​We all know that JavaScript is quite a funny language with tricky parts. Some of them can quickly turn our everyday job into hell🤮, and some of them can make us laugh out loud🤣

Let's read a list about funny and tricky JavaScript examples!

#epamNews #epamJavaScript #epamJS
​​Друзі привіт!


Сьогодні хочемо підбити підсумки нашого опитування!
Дякуємо вам за вашу активність і за те, що допомагаєте покращити наш канал!



👉🏻 Зважаючи на те, що так багато з вас користуєтесь тегами для пошуку, ми будемо старатися надалі більш старанно прописувати їх в постах, а також приділятимемо більше уваги написанню самих описів😉



👉🏻 Нам надзвичайно приємно що ви оцінили наші квізи і надалі старатимемось шукати цікаві задачки для вас, а також подарунки ☺️



👉🏻 Ми залишаємо можливість коментувати пости, а також робитимемо більше постів із такою можливістю.



👉🏻 Ми залюбки подумаємо над реалізацією можливості пропонувати новини в нашому каналі, чекайте апдейтів після свят 😉



👉🏻 Час новин у нашому каналі залишається незмінним, ми раді що вам він підходить.



👉🏻 Ми прийняли рішення перейти знову на українську мову🇺🇦, оскільки нам важливо, щоб читання постів для вас було зручним.



👉🏻 Ми ще більш ретельно будемо добирати публікації щоб покривати теми цікаві для вас.



Дякуємо усім за участь😌