Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
renerick
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
renerick
2y ago
This is not a realistic scenario whatsoever. Printers tend to print fonts pretty accurately to their on screen presentation. Even using contextual alternates, the perpetrator would have to change the font before printing. But if the perpetr
32.
▲
by
renerick
2y ago
> No, treating some letter sequences like fi and ffi so that the letters stick together in a certain way is not "by this measure". Except ligatures are not limited to fi and ffi. They can be used to change appearance of any seq
33.
▲
by
renerick
2y ago
That's ridiculous, by this measure font ligatures are also contributing to fraud. Or, heck, even fonts themselves, who stops a font from displaying A as B?
34.
▲
by
renerick
2y ago
> have options drop downs that extend outside the viewport boundaries Unless this is about something different from what you mean, unfortunately, it's not the case, as stated in the article: > Using base-select loses a number of
35.
▲
by
renerick
2y ago
Ideas are worthless. There are billions of ideas born and dying every day. It is the execution that gives idea value, it is quality of the execution that determines amount of value
36.
▲
by
renerick
2y ago
Yes, it is common for high level players to just shake hands and resign, when they know the position is lost and their opponents certainly will checkmate them
37.
▲
by
renerick
2y ago
Well, the license is a kind of contract, and I think it's technically not incorrect to prohibit execution of created binaries as a condition of the contract. I am not a lawyer though
38.
▲
by
renerick
2y ago
What helped me understand jj was concept of Changes against commits. Commits are immutable checkpoints, snapshots of the work done. Changes are mutable sets of, well, changes. Of course, commits are used by the git backend anyway, I'm
39.
▲
by
renerick
2y ago
After some experimenting I found that Tailwind works best with hybrid approach. The essay[1] is correct, that often you have one-of-a-kind blocks, like headers, footers, etc. that you can just fully implement with TW utilities, reducing cog
40.
▲
by
renerick
2y ago
Fun project, although it does seem to struggle with writing the longer it goes https://imgur.com/TntAViO
41.
▲
by
renerick
2y ago
Unless you get some magically high quality camera on your own drones, the only realistic way to follow this trail is on foot. You can't just guide artillery or missiles to the other end of the wire, and if the Drone was launched over t
42.
▲
by
renerick
2y ago
Spool on the Drone means a a bulk of gradually decreasing weight, depositing the wire as needed. Spool on the station means the Drone has to pull the entire ever increasing length of the wire, which can get stuck or even ripped by the tree
43.
▲
by
renerick
2y ago
Hypermedia.Systems does - https://dz4k.com/2024/new-hypermedia-systems/ https://hypermedia.systems
44.
▲
by
renerick
2y ago
I make TTRPG character sheets with Typst. No only they look great with perfect page layout, the programming capabilities allow to compute everything from ability scores automatically, like Excel. It's really well designed, and fast too
45.
▲
by
renerick
3y ago
I don't think there is "logic" for screwing up the output, more likely the implementation is bugged and they just didn't bother to fix those glitches, and then put it on the page as "feature". At least, I faile
46.
▲
by
renerick
3y ago
> So a static site, on neocities.org, for instance can serve files in response to requests such as the examples using hx-swap="outerHtml" Exactly. It can serve HTML partials, or utilize `hx-select` attribute to extract required
47.
▲
by
renerick
3y ago
https://zorro.management Not affiliated with them in any way, but it's made with htmx and some JS for more complex features As for "new class of web experiences", given that htmx explicitly aims to expand upon wha
48.
▲
by
renerick
3y ago
Any server-side language with your favorite web-framework and HTML templates system. Static files, PHP, Go, Ruby, ASP.NET Core, Spring etc, as long as you can send HTML pages and HTML partials, you are all set
49.
▲
by
renerick
3y ago
XPath is implementation detail, used for searching of attributes with a give prefix, and this article is just a public note of how it was done in htmx
50.
▲
by
renerick
3y ago
Because HTML's on* attributes are not generic, they are hardcoded in the spec, you can't use them to handle arbitrary events. hx-on is an attempt to fill this gap for simple cases, when managing event listeners manually or resorti
51.
▲
by
renerick
3y ago
I'm sorry, but that's just not fair comparison. You requested a minimal example and then pick the simplest one and tell me that you can implement this minimal example with minimal code. Of course you can fill a div with a random n
52.
▲
by
renerick
3y ago
These are multiple minimal examples, they are completely self contained, independent of each other and separated by h1 tags. I separated those examples to different files: https://plnkr.co/edit/0TWYrtbMGP9UAzE4 Also, y
53.
▲
by
renerick
3y ago
Here you go: https://plnkr.co/edit/DQJrBWWQFgHtpltf?open=index.html&previ... Another big aspect of allowing to handle any event is integration with other JS libraries. See this basic example of interacting with Sor
54.
▲
by
renerick
3y ago
Offline functionality naturally requires client-side code to handle storage, caching, synchronization etc, so client oriented frameworks are preferable in those scenarios. However, this comes at the cost of additional complexity, and I argu
55.
▲
by
renerick
3y ago
It is explicitly NOT a silver bullet https://htmx.org/essays/when-to-use-hypermedia/#hypermedia-n...
56.
▲
by
renerick
3y ago
You are missing the fact that html has very restricted list of events that can be defined in an attribute. Htmx allows to listen on any event, plus some extra features on top, such as event throttling, polling, synchronization between eleme
57.
▲
by
renerick
3y ago
> if you ever need more than just the web-client (i.e. a mobile app, native or otherwise) since you will now have to implement an API anyway, which you could've done in the first place Unless your new client is a hybrid/webview
58.
▲
by
renerick
3y ago
Htmx actually can be used with these restrictions, there is an extension to do client side rendering from a JSON response [1]. And you can make htmx send JSON requests instead of form data [2]. The idea is easily extendable to any template
59.
▲
by
renerick
3y ago
I'm not a developer of either of these, but here are two examples: - https://htmx.org/essays/a-real-world-react-to-htmx-port/ by https://github.com/David-Guillot - a SaaS product migrated to
60.
▲
by
renerick
3y ago
As mentioned, htmx will attach a `HX-Request: true` header to the request[1]. The server can check this header and either return a partial for swapping, or a full page/redirect like in good old days. Same with any request. This is one
More ›