Readit News logoReadit News
diiiimaaaa commented on Vite+ – Unified toolchain for the web   viteplus.dev/... · Posted by u/sangeeth96
diiiimaaaa · 2 months ago
I recently had to setup another complex monorepo with eslint/vitest/vite/tsup/turborepo and it was such a pain. All the time either eslint breaks for some file, or some build breaks because of some obscure thing in tsconfig, turborepo behaves in a weird way, adding new packages is a pain, etc.

Hopefully Evan can pull this off and we have simpler initial setup.

diiiimaaaa commented on React is winning by default and slowing innovation   lorenstew.art/blog/react-... · Posted by u/dbushell
indolering · 3 months ago
Not unless you can develop an equivalent to React Native. That's the rub here: browser tech is just way slower than what can be achieved with native code. React's primary value (now) is deduping GUI development across platforms.
diiiimaaaa · 3 months ago
Not only that.

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.

diiiimaaaa commented on Models of European metro stations   stations.albertguillaumes... · Posted by u/tcumulus
bambax · 3 months ago
This is insane. Never saw anything like it.

One minor nitpick: zooming the map is very slow (maybe Leaflet is not the best choice?). And the main station in Paris is missing: Châtelet-Les Halles.

Other than that, incredible work!! Amazing.

diiiimaaaa · 3 months ago
Leaflet should easily handle stuff like this if configured correctly. OP just slaps 3000 markers in a single layer, and each of them is an image element in dom. Should probably use some marker clustering for that.
diiiimaaaa commented on Apple introduces a universal design across platforms   apple.com/newsroom/2025/0... · Posted by u/meetpateltech
fidotron · 6 months ago
This looks tailor made to be hard to recreate easily in CSS.

Which is just going to make people try even harder.

diiiimaaaa · 6 months ago
Similar thing happened in iOS7(?) where they released glassy panels. Not far from that `-webkit-backdrop-filter` was added that allowed similar effect, I expect similar will happen. For new glassy effect it seems you need a separate filter for border, or maybe it's just gradient + blend mode.
diiiimaaaa commented on The UI future is colourful and dimensional   flarup.email/p/the-future... · Posted by u/giuliomagnifico
diiiimaaaa · 7 months ago
I think we're in a loop guys
diiiimaaaa commented on Show HN: Basecoat – shadcn/UI components, no React required    · Posted by u/hunvreus
diiiimaaaa · 7 months ago
So if I understand correctly all JS is custom-written Alpine JS components.

And all CSS is custom classes that use Tailwind @apply, I'm not sure why, can someone elaborate.

diiiimaaaa commented on Minimal CSS-only blurry image placeholders   leanrada.com/notes/css-on... · Posted by u/ChiptuneIsCool
emsixteen · 9 months ago
Forgive my ignorance, feel like it's embarrassing to ask here to be honest, but can someone explain how this helps/works? I've never actually used these placeholders, but I always imagined that they work by processing the image beforehand on the server and using something like a super low quality image or gradient or such as the placeholder. If this is done in pure CSS, does the browser not need to download the image first to figure out what's in it, before then doing the placeholder effect? Perhaps it doesn't help that I've not had my morning coffee yet, but I don't understand.
diiiimaaaa · 9 months ago
These placeholders are generated by processing the image on a server beforehand. Generally they create some html, css or svg markup that is served inline. Having to do a separate request for such placeholder is very bad idea.

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>`).

diiiimaaaa commented on Tell HN: If You Are in Russia    · Posted by u/jacquesm
gdy · 4 years ago
Dmytro, I'm Russian living in Russia and I'm devastated and terrified by this war of aggression.

I have friends in Ukraine and I can hear siren wailing while talking with them via Skype.

There are already about 30 thousand members of Russian IT-industry who signed open letter against this war. Yesterday it was about 20 thousands.

https://docs.google.com/document/d/1rSmclqedrhTASIsyXLOz39pU...

diiiimaaaa · 4 years ago
I really appreciate your position, but the letter is incredibly weak. I understand that it's aimed at government that won't read it otherwise, but:

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.

diiiimaaaa commented on Tell HN: If You Are in Russia    · Posted by u/jacquesm
diiiimaaaa · 4 years ago
I am in Ukraine right now. In a small village to the north of Kyiv. I am the author of PhotoSwipe (https://github.com/dimsemenov/photoswipe).

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.

diiiimaaaa commented on Show HN: Websites in 2018   2018.bloomca.me/... · Posted by u/bloomca
christophilus · 7 years ago
I found a few bugs: It only has one JS file, and that isn't even 3KB. Needs to be at least 3MB. uBlock only blocks 2 items, not 30. It doesn't have infinite scroll, a sticky header, a fake chat window that pops up and says, "Shana from support is here to answer any questions"... Oh, and the back button still works.
diiiimaaaa · 7 years ago
It also misses 3 web fonts with 4 weight variations each.

u/diiiimaaaa

KarmaCake day287August 11, 2011
About
Developing stuff, available for hire.

@dimsemenov

https://dimsemenov.com

View Original