Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xigoi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
271.
▲
by
xigoi
5mo ago
Couldn’t you “uncurry” such a process to have only a single network?
272.
▲
by
xigoi
5mo ago
That actually makes it a great analogy. An IDE allows you to make common edits like renaming a variable, just as an airplane gets you to any big city. But when you need to make an uncommon edit, it’s better to reach for Vim – just like you
273.
▲
by
xigoi
5mo ago
They want the number of PRs to be as high as possible because that’s what investors care about. Why would they do something that decreases it?
274.
▲
by
xigoi
5mo ago
If a text editor is a car, an IDE is an airplane. You can get to more places with it, but you need a lot of space and time to even start moving and then it consumes a ridiculous amount of fuel.
275.
▲
by
xigoi
5mo ago
Indeed, it’s not periodic in the strict mathematical sense.
276.
▲
by
xigoi
5mo ago
Why not show the UI immediately and start the language server asynchronously in the background, like Neovim does it?
277.
▲
by
xigoi
5mo ago
Why would a compiler take up resources when you’re not compiling anything?
278.
▲
by
xigoi
5mo ago
How would European citizens benefit from having evil megacorporations?
279.
▲
by
xigoi
5mo ago
Trees store it extremely slowly, making them impractical for usage as batteries.
280.
▲
by
xigoi
5mo ago
You can’t make a lightweight airplane by making a heavy airplane and cutting off some parts.
281.
▲
by
xigoi
5mo ago
What’s the better alternative for letting the user input arbitrary text with an easier way to input known options?
282.
▲
by
xigoi
5mo ago
If this was the case, it wouldn’t take several seconds to open devtools on sites that use Tailwind.
283.
▲
by
xigoi
5mo ago
> HTML doesn't have a card element. I feel like this is a bad example because “card” is a presentation thing, not a content thing. On a social media site, you can have cards with submissions, in which case <article> is the pro
284.
▲
by
xigoi
5mo ago
Are you arguing that things like headers and navbars (which reader mode hides) are part of the presentation layer, not the content layer?
285.
▲
by
xigoi
5mo ago
HTML is the content layer. CSS is the presentation layer.
286.
▲
by
xigoi
5mo ago
> And even if you just copy-paste the same class strings all over the codebase, transport compression will eliminate that pretty much entirely. The client still has to decompress it and waste processing power parsing all the repeated tex
287.
▲
by
xigoi
5mo ago
> Well, instead of repeating inline class names everywhere, you end up with CSS properties repeated everywhere. Not really seeing the difference. It’s like the difference between app_name = "Foobar" print(f"Welcome t
288.
▲
by
xigoi
5mo ago
> Oh no! And what are the opening examples on any of the "proper pure-as-god-intended CSS" sites? The first example on https://developer.mozilla.org/en-US/docs/Learn_web_developme... : <p>Ins
289.
▲
by
xigoi
5mo ago
> If I look at their component library, they also do the work of including aria attributes for you Using ARIA attributes instead of semantic elements is bad for accessibility.
290.
▲
by
xigoi
5mo ago
Global state is bad because it’s mutable. Global styles are not mutable.
291.
▲
by
xigoi
5mo ago
That’s easy – just use a language that is not popular enough to have a lot of training data.
292.
▲
by
xigoi
5mo ago
Python and JS have more libraries because they are more popular, not because their users are somehow more inclined to collaborate.
293.
▲
by
xigoi
5mo ago
A lot of often valuable content is only accessible through Facebook. If you want to see the opening hours of some businesses or photos from some event, you often need a Facebook account.
294.
▲
by
xigoi
5mo ago
I love how it took three comments to arrive at a tautology.
295.
▲
by
xigoi
5mo ago
Surely there are no bugs in the 1000000 lines of code that no one has reviewed…
296.
▲
by
xigoi
5mo ago
Too bad modern computers are not capable of processing 800 paragraphs of text. That’s several hundred kilobytes! Maybe the technology will advance thanks to AI…
297.
▲
by
xigoi
5mo ago
It would only make a difference in cases that are currently UB, so there is no program valid under current C that would be pessimized by this change.
298.
▲
by
xigoi
5mo ago
> I also don't think people want to constantly talk to their computers. People don’t. Tech companies think they do.
299.
▲
by
xigoi
5mo ago
You’re just giving them ideas for AI chairs.
300.
▲
by
xigoi
5mo ago
That’s the whole point. Users who want this “feature” will give Google permission to permanently record their screen.
More ›