piranha

Joined 19 years ago

Karma
829
Submissions
256
Member since
Sep 3
Personal site: https://solovyov.net

Email: o @ domain of the personal site.

https://twitter.com/asolovyov

View on Hacker News

Recent submissions

Comment · 7 months ago
> Rule 5 is often shortened to "write stupid code that uses smart objects".

This is probably the worst use of the word "shortened" ever, and it should be more like "mutilated"?

Comment · 1 year ago
First release happened in 2019
Comment · 1 year ago
That's a fantastic idea! I've made it a bit simpler for myself — basically just `source file`, so that I don't need to press enter to execute it, but also added one cute detail in the loop:

    if [[ -f "$target/.exec" ]]; then
        zsh "$target/.exec"
    fi
Comment · 2 years ago
Middle click does not work for me on a Mac. Maybe cmd+click or double click would be ok to do?
Comment · 2 years ago
Why bluetooth? Buy something like Samson Q2U, it's cheap, usb-enabled, and dynamic, so that you don't need a treated room or a house empty of noises.
Comment · 3 years ago
Actions are somewhat similar, yeah, even if much more limited.

Svelte was too js-heavy, and it requires js backend to be rendered on the server - while we had no js engineers. Plus markup was already done, as we rendered it server-side when using React.

Comment · 3 years ago
Yeah, that was the inspiration. If you know, htmx predecessor was called intercooler.js, so I just continued the automotive theme. :)

I had a reference on main page for a long time...

Comment · 3 years ago
That's one of the reasons TwinSpark got actions, you still need little bits of client-side interactivity.
Comment · 3 years ago
Why do you feel the need to use lit-html? Just interested in the use-case.
Comment · 3 years ago
Yeah it’s only the first way, since the second is effectively the same as rendering html on the server.

As for the first - it could give a way to use legacy apis and static data. Not sure if I want this in the core, but… how hard can it be?

Comment · 3 years ago
Comment · 3 years ago
Thanks for that message, it was just hard for me to decide on what to put in there :)

But your comment forced me to, so I've put something in there, even if it's not really thought through. :)

Comment · 3 years ago
It's more like an alternative implementation of htmx. Alpine is more about "let's do components in HTML", and this one is more of an idea "how do not go there, but still have practical results". :)
Comment · 3 years ago
Two reasons really: I wrote it before htmx appeared, so it already existed and a few projects were using it in production. And second one - I really hate attribute inheritance, and it’s everywhere in htmx…
Comment · 3 years ago
Basque - sure, but Finnish and Hungarian? :-) Those were too far away for Romans even to have contacts with them. :)

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton