Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jdkoeck
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
jdkoeck
1y ago
Alas, that’s a common misconception! You’re confusing properties with attributes. Attributes are set through HTML and are stringly typed, but litjs properties can be any js value. For instance, I have a project with a small web component th
62.
▲
by
jdkoeck
1y ago
There’s a puzzling contradiction between your claim that developers are the problem, on one hand, and then your own anecdote on the other, not to mention the article that very convincingly debunks the idea that housing shortage is the fault
63.
▲
by
jdkoeck
1y ago
Your own example seems to show that the culprit lies with local governance, not developers, wouldn’t you agree?
64.
▲
by
jdkoeck
1y ago
I wish they had more influence, then they’d be able to build more and prices would go down.
65.
▲
by
jdkoeck
1y ago
Have you tried getting back into cardio with a softer method like biking? Maybe that combined with some strength exercices could toughen up your body enough that you can start running again! Anyway, best wishes.
66.
▲
by
jdkoeck
1y ago
Honestly, I think the Claude Code integration in VS Code is very close to the « nothing » part of the spectrum!
67.
▲
by
jdkoeck
1y ago
I'm highly skeptical, do you have a concrete example?
68.
▲
by
jdkoeck
1y ago
Which is good, right? I don’t think we want actual censorship.
69.
▲
by
jdkoeck
1y ago
On the contrary, I think this a very practical escape hatch that will let frameworks insert optimisations where they need to. I don’t know if React really Just Works these days, the VDOM has real overhead and developing with React feels lik
70.
▲
by
jdkoeck
1y ago
Just a quick answer to a point that jumped at me: for an array of signals, you wouldn’t need to map them, you’d use a specialised directive that directly takes an array of signals and binds them to the DOM, the same way lit uses the repeat(
71.
▲
What should a native DOM templating API look like?
(justinfagnani.com)
69 points
by
jdkoeck
1y ago
|
49 comments
72.
▲
by
jdkoeck
1y ago
I still think you’re misunderstanding what React is optimizing for. When you say "React has to force you into making everything an expression", you’re describing its core philosophy, not a constraint. JSX is built around the idea
73.
▲
by
jdkoeck
1y ago
It’s not an insult, if you think for loops are commonplace in modern JavaScript and React isn’t the dominant frontend framework by far (twice more used than the next in line, vue), you’re out of touch, it’s just a statement. How can you no
74.
▲
by
jdkoeck
1y ago
It’s good you ended on the one thing JSX got right: everything is an expression. It’s that simple. There’s nothing imperative about evaluating a template, it’s entirely covered by functional programming techniques. You’re just producing a v
75.
▲
by
jdkoeck
1y ago
You just discovered the concept of male expendability. https://en.m.wikipedia.org/wiki/Male_expendability
76.
▲
by
jdkoeck
1y ago
The difference is that JSX is using control flow from an actual programming language, whereas Vue is shoehorning control flow into declarative markup. This is the single reason React won the frontend framework market: they got the templatin
77.
▲
by
jdkoeck
1y ago
> Hard not to laugh out loud at "We know what good syntax for templating looks like." First of all, it's not very nice to laugh in the face of someone advocating for progress on the web platform, which benefits everyone. S
78.
▲
by
jdkoeck
1y ago
Is there really a proliferation? At this point it’s 90% React.
79.
▲
by
jdkoeck
1y ago
> Instead of having your ORM's objects, to be converted to JSON, sent, parsed, and finally manipulated to your UIs needs, you skip the whole "convert to JSON" part. You can go straight from your ORM objects (best for data
80.
▲
by
jdkoeck
2y ago
One of the things I love most about AI coding tools is how they make it easier than ever to move away from complex, fragile abstractions like ORMs. The main reason we’ve often avoided writing raw SQL repositories by hand is that it’s tediou
81.
▲
by
jdkoeck
2y ago
I wouldn’t call this a particularly crazy hack, it’s also called string interning and I reckon that’s what every language runtime does when strings are immutable (which includes javascript runtimes, also this isn’t required by the language
82.
▲
by
jdkoeck
2y ago
Git is still event sourced, it’s just there is only one kind of event (a commit), and its payload is the whole state ¯\_(ツ)_/¯
83.
▲
by
jdkoeck
2y ago
There are very few Chinese speaking English, actually. Go there and you’ll see.
84.
▲
by
jdkoeck
3y ago
I don't doubt you mean well, but you still spread FUD, right off the bat. And went on to give ok advice, I'll give you that, but still. You start off with "running/exercising is inefficient and will fuck up your joints&q
85.
▲
by
jdkoeck
3y ago
For other readers: disregard the FUD above regarding running and exercising. Exercising generally curbs hunger, boosts mood and helps solidify adherence to good eating habits. It won't fuck up your joints if you very gradually increase
86.
▲
by
jdkoeck
3y ago
You hit the nail on the head. The market of mobile platforms is in a state of "market failure": no real competition, because mobile platforms are not "homogeneous" (that is, it's hard for a buyer to change platforms
87.
▲
by
jdkoeck
3y ago
It actually is, there are plenty of services where you can pay 30% less if you go through their site instead of Apple's app store.
88.
▲
by
jdkoeck
3y ago
Your point is moot because Apple forces you to use its own app store, where using their payment platform is mandatory. If there were alternative app stores, I would have no qualm with this restriction. Let Apple's store compete with ot
89.
▲
by
jdkoeck
3y ago
Again, it’s crazy people defend Apple on this. Apple is not just providing a payment platform, it’s forcing you to use it. As a developer, you should be free to use any payment platform you want in your app, like on the web. Let the user de
90.
▲
by
jdkoeck
3y ago
Good challenge, I hope we will get a response.
More ›