Hopefully Evan can pull this off and we have simpler initial setup.
287 karma · joined August 11, 2011
@dimsemenov
https://dimsemenov.com
Hopefully Evan can pull this off and we have simpler initial setup.
My main problem with web components that you end up with a build step anyway.
Not every component is interactive and relies on JS, some are just static elements (say avatar image) that you wanna render right away (but at the same time keep styles and logic scoped). Declarative shadow DOM helps, but you end up with a bunch of duplicate code in your final output, which begs the question - why am I using web components at all.
And all CSS is custom classes that use Tailwind @apply, I'm not sure why, can someone elaborate.
It's not clear if these placeholders do actually help, especially placeholders with very low quality. In my opinion, they only add visual noise.
I'd focus more on avoiding layout shifts when images load, and serving images in a good format (avif, webp) and size (use `srcset` or `<picture>`).
You call it "operation", it's not operation, it's war.
You ask to prevent human casualties, but thousands are already dead.
A lot of people signing from companies such as Yandex - a search engine that promotes propaganda and hides evidence-based journalism. From VK - a social network that bans opposition communities and spreads misinformation. You can't have it both ways folks.
Yesterday I was filling bags with sand to make a fortification for local defenders. I hear artillery as I am writing this. And by the way, you get used to it.
In the last few days I received about 20 emails offering support, none of them were from russian devs. One asked a technical question about my lib, I answered "do you know what's happening in Ukraine right now?" - no reply.
I see a few russian companies and personalities openly condemn the aggression (such as JetBrains) and I'm very grateful to them. However most are silent, or have very weak Instagram post "no war" with a sadface, or even worse - post with "we are out of politics".
And that's IT people, which are presumably more informed. Unfortunately, due to misinformation most russian people have no idea what's happening here, that's why sanctions should affect regular people, and not just putin and his close allies.
Also, note that not many people complained about "blocking video/audio autoplay on mobile browsers", because it's good for users.
BUT:
- Passive event listener detection is horrible and it baffles me that they start thinking about proper way only now.
- The announcement of this breaking change was quite silent. Chrome has so many influencers on social media, but almost no one shared/explained this change properly.
Imho, making custom "DOM" via canvas just to make UI look fancy is not a solution. Web was always about delivering accessible content for everyone.
Though, library might be good for web apps or games that are not content oriented.
The license is MIT, you don't need to add anything else.
> The >300 open issues and what seems like tons of ignored pull-requests
Old version of PhotoSwipe was not developed me and I did not manage repository. Previous owners just passed development to me a few months ago https://twitter.com/PhotoSwipe/status/444134042787930113 and I started working on a new version.
I can assure you that all new issues and pull-requests will be managed appropriately.
Suggestion: make all navigation ajax-based and display the items right away (don't wait until all items are finished loading). This will make your site much-much more faster.
By the way, here is a good discussion related to "responsive" term - http://stackoverflow.com/questions/14831530/responsive-desig...
I don't think that it's possible to launch fullscreen YouTube video player in mobile Safari by just clicking on link.
Maybe we should just link directly to the video (not to video page), like so: http://www.youtube.com/embed/PZvi11Yy9r8
This should be tested on real users for a while to see which option is best.
http://dimsemenov.com/plugins/magnific-popup/
Also, be sure to check my article on the Smashing Magazine that explains how this plugin was made - http://coding.smashingmagazine.com/2013/05/02/truly-responsi...