Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nsonha
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
511.
▲
by
nsonha
2y ago
where is my llm-compose.yml
512.
▲
by
nsonha
2y ago
no you are not running Linux with those, if so, people would not be so excited about pKVM, or Samsung's Linux on DEX
513.
▲
by
nsonha
2y ago
is there a web standard for this kind of things? Some sort of hyper media that points the search engine to a search endpoint inside a domain?
514.
▲
by
nsonha
2y ago
is there a devcontainer to play around with it?
515.
▲
by
nsonha
2y ago
That's subjective, Idk about "MUCH more difficult". All it does is moving the declaration to the correct visual scope, instead of a dangling up-front declaration. Admittedly, I understand most coders are aready trained to rea
516.
▲
by
nsonha
2y ago
I can think of a few when hoisting is nice, stylistically: if (...) var x = ... else x = ... ///// try { var x = ...} catch (error) { x = ... } ///// for (...) { var x: NodeJS.Dict<an
517.
▲
by
nsonha
2y ago
Would love to see they tie it up to https://m.youtube.com/watch?v=6-1Ue0FFrHY
518.
▲
by
nsonha
2y ago
Just to clarify are you talking about the lllong longgg single row keyboard?
519.
▲
by
nsonha
2y ago
That's cool but people need to ship products while their ideas for improvement are endlessly debated, bikeshedded and possibly rejected eventually. At the end the standard is never what they exactly wanted. So it's kinda a futile
520.
▲
by
nsonha
2y ago
Is the plugin repo open source? If so then similar to VS Code, the community can spin up their own marketplace.
521.
▲
by
nsonha
2y ago
No it's a different point, in this, I just wanna express how ridiculous the official React docs can be sometimes. The Redux "pattern" you speak of, does nothing to manage state better than useState(). So I'm not sure why
522.
▲
by
nsonha
2y ago
Is there any platform where people don't conventionally use frameworks/UI toolkits on top? The web, arguably the most poorly designed UI target, thinks it can do without. Delusional!
523.
▲
by
nsonha
2y ago
> https://react.dev/learn/scaling-up-with-reducer-and-context I just wanna vomit reading that article (which is in official docs!!!). There is a much cleaner way of managing state with just a single `useState` per c
524.
▲
by
nsonha
2y ago
Only veteran web devs are able to come up with such a bonker idea that not managing state explicitly is somehow better. That's just basic programming but I guess they don't need that to write html.
525.
▲
by
nsonha
2y ago
You use a lot of words to respond to such a minor point. The main point is that actual "plain react" is useless. You need at least a router, some way to manage state, some way to manage style and so on. It's why nextjs is so
526.
▲
by
nsonha
2y ago
People should stop treating the dom and browser abstraction as golden standard. It's just an abstration that happens to be standardized. Sometimes it makes sense to follow the standard, sometimes "the standard" is just too sh
527.
▲
by
nsonha
2y ago
the modern version of it is called the island architecture, look it up. It may or may not use iframes.
528.
▲
by
nsonha
2y ago
> strength of htmx is to allow non JS languages and frameworks on the server side I don't see how that has anything to do with the choice of htmlx. You always have the freedom to use any languages in the backend. If anything, htmlx
529.
▲
by
nsonha
2y ago
Just step back for a second and think about programming without modeling the states. Framework or not, no amount of hacking/tooling can help you with that.
530.
▲
by
nsonha
2y ago
I notice you started by a blanket statment and use a strawman that is forms in React, a framework known for being the worst for forms (if you don't know the right library). Overall a poor criticism of SPA as a whole.
531.
▲
by
nsonha
2y ago
"Simple"
532.
▲
by
nsonha
2y ago
Does it have a Desktop mode like Samsung, tbh I don't even get the point of a Linux phone without a desktop mode. Is this even a proper Linux phone? What distribution is it?
533.
▲
by
nsonha
2y ago
I have nothing against web components with jsx, but I really don't like the API that defines web component as just a function, and exposes a bunch of magic effectful hooks (React's brilliant idea). What is the point of web compone
534.
▲
by
nsonha
2y ago
is your product roadmap empty? why would something like that even show up in the back log?
535.
▲
by
nsonha
2y ago
What's with the TST comments in this thread, this thing has more in common with PaperWM than with TST. Maybe you people should read.
536.
▲
by
nsonha
2y ago
thank you, the thing about metro bundler seem like it could make react-native less exotic and that article is really comprehensive
537.
▲
by
nsonha
2y ago
what is the added value versus just use expo directly? Also has anyone compared React Native with just React and Ionic/Capacitor, and probably https://capacitor.nativescript.org ? I used to follow this space a couple of yea
538.
▲
by
nsonha
2y ago
Hey I like React to, I'm actually complaining that often React is used as a scapegoat and and it would be a weak/not really on point criticism for htmlx. I mean people should understand that htmlx is bad because it's clunky,
539.
▲
by
nsonha
2y ago
htmlx is what you would have on the front end when you do server rendering. Server has to do quite a bit, routing among other things. In SPA server just serves a single page and routing is all done in the client.
540.
▲
by
nsonha
2y ago
I am refering to Canvas. Cursor on the other hand works by produce minimal diffs and allows you to iterate on multiple files at once, in your IDEs. There are tools of the same type that compete with Cursor, but Canvas is too bare bone to be
More ›