Vladimir Klepov
banner
thoughtspile.bsky.social
Vladimir Klepov
@thoughtspile.bsky.social
Some front-end, some management, lots of rumbling

https://thoughspile.github.io
LightningCSS, I don't understand.

Postcss takes 150ms for a sizable project, esbuild minifier < 100ms. Is there a situation where this is a major problem?

Also, no plugin / config compatibility with anything.

Not sure I'm sold on this one.
February 4, 2025 at 3:27 PM
Sometimes you see a post, and it's clearly engagement bait, but it's so delicious you just can't resist eating it. Yum. Really, I respect that.
February 3, 2025 at 4:52 PM
Management pro tip: we try not to call people "resources" when they're around.

If you slip, say: "oh no Piotr, we mean your *time* is a valuable resource, not you the person"
January 30, 2025 at 8:32 PM
Having completed 6 soft skills trainings, I'm ready to help you with code reviews.

Instead of:
> pointer-events: none break button

Say:
> Great job building this button! It seems to have a click issue, so you could make the button even better by fixing it. Feel free to reach out if you need help!
January 27, 2025 at 2:16 PM
OK I think I solved the barrel file problem!

1. Only expose the barrel (not 3K deep modules) in package.json exports to please TS
2. Use vite plugin to look into the barrel and rewrite barrel import to deep imports
3. Use relative imports to bypass package.json exports check

Should work
January 25, 2025 at 11:54 AM
If you remove a function from the public API, but you're 100% sure nobody used it (e.g. you can inspect all the consumer code for an internal lib, or you have telemetry), is this a breaking change?
January 25, 2025 at 10:10 AM
Ooh I'm in such a grumpy mood this evening, I could go on grumping for hours, which means it's about time to close 💻 and open 🍺
January 24, 2025 at 5:14 PM
Speaking of frontend urban legends

When someone says more SSR improves load timings people kinda go "oh but of course it does"

In fact, it's not obvious SSR always outperforms CSR, like have you never seen a slow DB query or faulty backend service, maybe my backends are especially bad?
January 24, 2025 at 4:44 PM
Everybody's saying barrel files bad, avoid barrel files, but nobody told me typescript gets very upset (like 20 seconds per autoimport upset) when you feed it 3000 separate modules
January 24, 2025 at 11:11 AM
Ever had an interview so tense you were actually ready to pay a bit extra just to never deal with the hiring manager again?
January 21, 2025 at 7:43 PM
American friends who hurt without TikTok

From Russia with love, it's time you met the mighty VPN
January 19, 2025 at 6:57 PM
One of my worst career experiences was job seeking while struggling with depression.

Nobody wants to hire someone with zero energy and a very negative attitude, and each rejection makes you more negative, and it kinda spirals.

Not recommended.
January 19, 2025 at 4:11 PM
Got some kind of a hobby, renovating this apartment. Can't say I enjoy it. But hey, at least it stops me from thinking about programming!
January 19, 2025 at 1:25 PM
If you're using JS for anything data-related, and it doesn't strictly have to be in JS for production reasons, you're really doing yourself a disservice.
January 18, 2025 at 3:47 PM
I noticed bluesky removes bot followers, but leaves them in follower count. Wonder if it's a genuine bug, or something they "overlooked" to make the place feel livelier
January 17, 2025 at 2:10 PM
Whenever I hear GPT will take over our jobs blah blah, I go to our Jira. It has feature requests like "make the wiggle do wiggle wiggle" and support requests with "app don't work please halp" and I feel pretty safe.
January 14, 2025 at 3:50 PM
Ran some vanilla community detection on npm packages, very cool how it discovers e.g. polyfills, or eslint plugins by topology only.

But now a large ecosystem can "capture" generic utilities it depends on, e.g. aws-sdk captures tslib, jest captures chalk. Maybe if I feed it more data...
January 13, 2025 at 12:04 PM
Working on something fun! This are the top 3000 npm packages and their dependencies. We can see constellations of babel (green "bush" on the right), aws (red / pink blob on top), etc. Wonder if I can scale and cleanup this to see anything useful.
January 11, 2025 at 12:09 PM
I really hope we'll leave the cjs vs esm war behind someday. It'll be something to scare junior devs, "at your age I had to wrap every file into a function so that I had something to eat" kind. Someday, just not yet.
January 10, 2025 at 3:47 PM
Ok, been on bluesky for over a week now, and I don't hate it so far.
January 8, 2025 at 6:06 PM
State of npm, p7

Finding an npm package to solve a specific problem is hard.

Npm is a trash bin, StackOverflow is dated, GPT hallucinates, social hype is gone when you need it.

GitHub — ur best bet, but not perfect.

Why is your average e-commerce better at suggestions than entire JS ecosystem?
January 8, 2025 at 2:31 PM
At last, 10 years into my career, my first open-source contribution. Tweaked some caches in browserslist, speeding it up 12x in our project's build. Thanks to @en.sitnik.ru for swift reviews and releasing it!

github.com/browserslist...
Release 4.24.4 · browserslist/browserslist
Improved performance by using caching better (by @thoughtspile).
github.com
January 8, 2025 at 12:20 PM
On a positive note, I haven't seen any BS content on whose UI framework is better in a while

Either we've moved part that, or react has won this war.
January 8, 2025 at 10:43 AM
LinkedIn is not very pleasant, but right now it has the best balance of user base size and a decent algorithm that amplifies your content, even on a free tier, so it's a platform not to ignore.
January 6, 2025 at 11:22 AM
State of npm, p6

Rockstar developer cult is strong in OSS. Once you see code in node_modules as a gift from gods of programming:
- you feel you're not good enough to contribute
- or, to *become* a god of programming, you create new projects over helping existing ones

Bad mental model.
January 6, 2025 at 11:11 AM