Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
piranha
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
piranha
6mo 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"?
2.
▲
by
piranha
1y ago
First release happened in 2019
3.
▲
by
piranha
1y 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/.
4.
▲
by
piranha
3y ago
Middle click does not work for me on a Mac. Maybe cmd+click or double click would be ok to do?
5.
▲
by
piranha
3y 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.
6.
▲
by
piranha
3y 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
7.
▲
by
piranha
3y 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...
8.
▲
by
piranha
3y ago
That's one of the reasons TwinSpark got actions, you still need little bits of client-side interactivity.
9.
▲
by
piranha
3y ago
Why do you feel the need to use lit-html? Just interested in the use-case.
10.
▲
by
piranha
3y 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?
11.
▲
by
piranha
3y ago
There is no way to render JSON as HTML right now, it expects server to return HTML. OTOH that's an interesting thought and it feels like just an addition of one command to whatever there are in actions ( https://twinspark.js
12.
▲
by
piranha
3y 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. :)
13.
▲
by
piranha
3y 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". :)
14.
▲
by
piranha
3y 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…
15.
▲
by
piranha
3y ago
Basque - sure, but Finnish and Hungarian? :-) Those were too far away for Romans even to have contacts with them. :)
16.
▲
by
piranha
3y ago
I haven't read your report completely, but it's very interesting. I would love to hear a bit more details about query selector performance. Could you maybe provide some details or a pointer where this was tested? Also about websoc
17.
▲
by
piranha
3y ago
It's not even close - it's not feasible to develop a real server application in a notebook, while you're absolutely will be doing REPL-driven development in Clojure.
18.
▲
by
piranha
4y ago
I did that with two Caddy servers (one on my host and another locally) and Tailscale (ssh tunnel at first): https://solovyov.net/blog/2022/ngrok-for-the-wicked/
19.
▲
by
piranha
4y ago
Not really, you're looking at this very superficially. It's just an unfamiliar syntax. If you're really interested, just try to get through that syntax once and you'll find that it's not that alien.
20.
▲
by
piranha
4y ago
I wrote my own unpoly (so to speak) to transition from React, for a pretty big ecommerce marketplace: https://solovyov.net/blog/2020/a-tale-of-webpage-speed-or-th...
21.
▲
Ngrok for the wicked, or expose your ports comfortably
(solovyov.net)
3 points
by
piranha
4y ago
|
0 comments
22.
▲
by
piranha
5y ago
Just in case you like this, but don't use org-mode, there is https://github.com/pashky/restclient.el
23.
▲
by
piranha
5y ago
That’s because our industry is not making choices based on merit, it makes them based on fashion.
24.
▲
by
piranha
5y ago
I disagree. Making a good site with React takes more effort than not making bad site otherwise. Also because it’s fashionable React (and similar frameworks like Angular or Vue or Ember) are used in places where they don’t belong and it stin
25.
▲
by
piranha
6y ago
What's so impressive about 2JZ?
26.
▲
by
piranha
6y ago
I use xnipapp.com right now and this looks even better in terms of editing tools, except for one thing: scrolling capture. It allows me to capture scrolling portions of the screen and it's just so damn useful!
27.
▲
by
piranha
6y ago
Well, because they don’t have enough processing power I guess? IDK, it’s hot all the time and image quality is lower than what I can get from a camera SD card.
28.
▲
by
piranha
6y ago
Latency through a cheap chinese capture card is like a 12-17 ms for me.
29.
▲
by
piranha
6y ago
This is plainly wrong. I use Sony a5100 (cheapest camera you can hook up as webcam) and in zoom meetings the difference between my image and others (even though some tried to use their phones) is just night and day. Disclaimer: I am that br
30.
▲
by
piranha
6y ago
> you can get cheap china-knockoffs for about £12, I don't know how good they are. They are so-so. Well, they are much-much better than any webcam, of course, but 1080p is almost the same as 720p on them. So as a budget thingie it&#
More ›