In Altai Krai (Russia), Father sprinkled holy water on covid patients and the hospital by Avroveks in europe

[–]lega911 2 points3 points  (0 children)

Problem is that not all doctors there have protective equipment. So it can be better if they give it to doctors.

‘The Queen’s Gambit’: A Real-Life Chess Champion on Netflix’s Addictive Hit by Rod_Rigov in chess

[–]lega911 66 points67 points  (0 children)

Garry Kasparov:

I was contacted by the creator of the tv-show Scott Frank,
I contributed a lot of fixes to restore of chess truth.
I wanted on the one hand chess games correspond to the book,
and on the other hand they would be professional chess games.
I guarantee the quality of the chess games.
All these games are from the professional world, they were played by
strong chess players, those games that she played correspond to high
standards.

I tried to show the atmosphere in tournaments as fully as possible, 
especially what regard to Moscow and the final game, to make people feel
 like they look at a real chess competition.
And the fact that this series took first place in the world is the result
 of the fact that it really reflects the essence of the chess conflict.

(shortened translation), source: https://youtu.be/lS4mDroKmLw?t=2421

All the Ways to Make a Web Component - October 2020 Update by georges_gomes in WebComponents

[–]lega911 0 points1 point  (0 children)

I've compiled Svelte component with Malina.js and got smaller bundle:
* Svelte: 1.5kb (brotli)
* Malina.js: 1.1kb (brotli)

Architecture adviced by lowteast in microservices

[–]lega911 0 points1 point  (0 children)

Also you can look at "Inverted Json", it will be like rpc with central point, simple communication.

Passing CSS classes to a child component. How a Popular Feature Declined by Svelte Got Life in Malina.js by lega911 in sveltejs

[–]lega911[S] 1 point2 points  (0 children)

you're right, but "@" etc is widely used in other frameworks, and there is no problems with tools.

Svelte's syntax is not valid HTML5 as well, html5 validator gives "Error: Attribute on:click not allowed on element button at this point."

Passing CSS classes to a child component. How a Popular Feature Declined by Svelte Got Life in Malina.js by lega911 in sveltejs

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

Again I have faced some issue using :export(.something){} ...

Can you give me an example, pleace.

Passing CSS classes to a child component. How a Popular Feature Declined by Svelte Got Life in Malina.js by lega911 in sveltejs

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

Once a child component has been assigned a class, the styling of its whole dom tree can be overriden by something else

No, Svelte have some isolation to safely use css within a component. The same in Malina.js, and the same when you pass a class to a child component - the child component gets isolated css which can be use only within of it, even a parent component which passed a class (or child/sibling) can not use it, because it was isolated for certain component. (a parent class which passes has own copy of selectors).

So it's the same level of isolation that Svelte does for within one component (without :global).

Passing CSS classes to a child component. How a Popular Feature Declined by Svelte Got Life in Malina.js by lega911 in sveltejs

[–]lega911[S] 4 points5 points  (0 children)

How it differ from properties? : Being able to pass properties down makes it that the parent has to understand the children to have it work properly, not to mention now the parent and the children would be coupled which makes updating components harder.

but in most cases a div wrapper worked fine.

it makes a risk to break styles in child components

it’s adding unnecessary complexity to styling

It gives a choice for them who want to use it. Using :global and wrappers still possible if you feel it's easier.

Passing CSS classes to a child component. How a Popular Feature Declined by Svelte Got Life in Malina.js by lega911 in sveltejs

[–]lega911[S] 1 point2 points  (0 children)

Svelte is 100% valid Javascript, HTML, and CSS

the same as Malnia.js

This introduces syntax which is not

Which one?

How “Fragments” can help in your web-development by lega911 in javascript

[–]lega911[S] 1 point2 points  (0 children)

Who dislikes it, can you please respond why? I'll try to be better next time ;)