Andrey Sitnik

@sitnik_en
624 Followers
117 Following
2K Posts

The creator of PostCSS. I write about Barcelona, Local-First, kinky events, languages, and crazy facts from Wikipedia.

https://sitnik.ru

Russian: @sitnik_ru

Websitehttps://sitnik.es
Githubhttps://github.com/ai
Telegramhttps://t.me/sitnik
Русская версияhttps://mastodon.social/@sitnik_ru

I started migrating my open-source projects from Prettier & ESLint to oxfmt & oxlint.

oxlint works 3-4 times faster while using my JS-based third-party ESLint plugins.

https://github.com/nanostores/nanostores/commit/70217f84a7597fe4932ea8641a5f37d0295eac32
https://github.com/logux/oxc-configs

Project Hail Mary is as good as they say.

Go in totally blind for the best experience. Just go see it.

In Russia, the government occasionally restricts internet access to a limited "allow-list" of official services.

Users found methods to tunnel proxy traffic through the video calling features of the VK and Yandex platforms by hacking video frames.

https://github.com/kulikov0/whitelist-bypass

Unfortunately, I couldn't finish the first version of my social media reader without updating Logux.

So, with a big help from an LLM, I’ve implemented a binary protocol for Logux:
https://github.com/logux/docs/blob/next/protocols/ws/binary.md
https://github.com/logux/core/commit/f27b6e8a02d363003eae709ac27cf593488df575

The reader uses a local-first architecture with end-to-end encryption. Encryption results in binary data, and sending that via text would mean a massive overhead due to base64 encoding.

Next up: setting up browser-based SQLite storage in the coming days.

My colleague made a nano UI frameworks on top of Nano Stores and Web Components.

It fits perfectly the cases like small widgets on landing pages or third-party widgets.

https://psd-coder.github.io/nanotags/

What’s the current 'best practice' for accepting open-source donations in crypto?

Supply chain attack protection:

1. Version lockfiles and during update use versions that are more than 24 hours old
2. Dev Container for developer’s machine isolation
3. Split CI into jobs with different permissions and install dependencies only in some
4. Minimize dependencies (write small ones ourselves, choose dependencies based on the number of sub-dependencies)

Starting April 2, you can show an app instead of a physical ID card in Spain.

Unfortunately, it doesn’t apply to immigrants with TIE yet—waiting for citizenship.

Still, it’s cool and shows progress.

Pangrams use every letter of the alphabet:

> The quick brown fox jumps over the lazy dog.

There are also phonetic pangrams, which include every sound:

> The hungry purple dinosaur ate the kind, zingy fox, the jabbering crab, and the mad whale and started vending and quacking.